:root{--bg:#f6f5f2;--paper:#fff;--ink:#242422;--muted:#6b6b65;--line:#deded8;--soft:#eeeee9;--red:#a33832;--red-bg:#f7eeeb;--orange:#936023;--orange-bg:#fbf1e1;--green:#32634a;--green-bg:#edf3ed;--yellow:#faf0c9;--header:78px;--bench:170px;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:14px;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid #c9c9c2;background:#fff;color:var(--ink);min-height:44px;border-radius:5px;padding:9px 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:550;line-height:1.45}button:hover,.button:hover{background:#eeeee9;border-color:#989890}button:disabled{opacity:.48;cursor:not-allowed}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover{background:#44443f;color:white}.quiet{background:transparent;border-color:transparent}.quiet:hover{background:var(--soft);border-color:transparent}.link{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:6px 2px;text-align:left;justify-content:flex-start}.danger{color:var(--red)}:focus-visible{outline:2px solid #52524a;outline-offset:4px}.skip{position:fixed;top:-80px;left:20px;background:#fff;padding:12px;z-index:100}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.global-header{height:var(--header);display:flex;align-items:center;gap:42px;padding:0 36px;border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:30}.brand{display:flex;gap:13px;align-items:center;font-size:17px;font-weight:650;letter-spacing:.02em}.brand-symbol{font-size:27px;font-weight:800;background:var(--ink);color:white;width:37px;height:37px;display:grid;place-items:center;border-radius:4px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.04em;margin-top:5px;font-weight:450}nav{display:flex;gap:28px;align-self:stretch}nav a{display:flex;align-items:center;gap:9px;border-bottom:2px solid transparent;font-weight:600;color:var(--muted)}nav a.active{border-bottom-color:var(--ink);color:var(--ink)}nav a span{font-size:11px;background:var(--soft);padding:2px 6px;border-radius:4px}.header-end{margin-left:auto;display:flex;align-items:center;gap:22px}.header-end>a{padding:14px 0}.user-select select{border:0;background:var(--soft);width:85px;min-height:36px;padding:6px 10px}.page{max-width:1280px;padding:36px 42px 70px;margin:auto}.page-head{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{color:var(--muted);font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:600;margin-bottom:8px}h1{font-size:27px;letter-spacing:.015em;margin:0;line-height:1.4;font-weight:650}h2{font-size:17px;margin:0;line-height:1.5;font-weight:650}h3{font-size:15px;line-height:1.5;margin:0 0 7px}p{line-height:1.75;margin:6px 0 12px}.muted{color:var(--muted)}.small,small{font-size:12px}.micro{font-size:11px}.row{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.spread{justify-content:space-between}.grow{flex:1;min-width:0}.stack{display:grid;gap:12px}.num{font-variant-numeric:tabular-nums}.tag{display:inline-flex;align-items:center;gap:5px;background:var(--soft);color:#56564f;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:550;white-space:nowrap}.tag.danger{color:var(--red);background:var(--red-bg)}.tag.warn{color:var(--orange);background:var(--orange-bg)}.tag.good{color:var(--green);background:var(--green-bg)}.section-title{display:flex;align-items:center;gap:10px;margin:24px 0 13px}.section-title .end{margin-left:auto}.attention{background:var(--paper);padding:0 22px;border-radius:7px}.attention-row{display:grid;grid-template-columns:108px 1fr auto;gap:18px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;min-height:74px}.attention-row:last-child{border-bottom:0}.attention-row .label{font-weight:550;font-size:12px}.attention-row .detail{font-size:12px;color:var(--muted);margin-top:5px}.attention-row button{font-size:12px}.table-labels,.episode-row{display:grid;grid-template-columns:46px minmax(210px,1.1fr) minmax(260px,1.2fr) 120px 26px;gap:16px;align-items:center}.table-labels{color:var(--muted);font-size:11px;padding:10px 12px;border-bottom:1px solid var(--line)}.episode-row{padding:21px 12px;border-bottom:1px solid var(--line);cursor:pointer}.episode-row:hover{background:#eeeee8}.episode-no{font-size:20px;color:#797972;font-weight:500}.episode-title{font-weight:620;font-size:14px;line-height:1.65}.episode-meta{font-size:11px;color:var(--muted);margin-top:7px}.next{font-weight:550;font-size:13px;line-height:1.65}.wait{font-size:12px;color:var(--muted);margin-top:5px}.arrow{font-size:21px;color:var(--muted)}details{border-bottom:1px solid var(--line)}summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:550;line-height:1.5}details>.details-body{padding:0 0 16px}.empty{padding:44px 20px;text-align:center;color:var(--muted)}.global-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;padding:20px 36px;color:var(--muted);font-size:10px}.filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.filters label{min-width:140px}.filters .search{flex:1;min-width:220px}.field{display:grid;gap:6px;margin:12px 0}.field>span,.filters label>span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{width:100%;background:#fff;border:1px solid #c9c9c2;border-radius:4px;min-height:44px;padding:10px 12px;color:var(--ink)}textarea{min-height:105px;line-height:1.7;resize:vertical}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--ink);cursor:pointer}label.check{display:inline-flex;align-items:center;gap:9px;min-height:44px;cursor:pointer}.plan-table{width:100%;border-collapse:collapse;table-layout:fixed}.plan-table th{font-size:11px;color:var(--muted);text-align:left;font-weight:500;padding:12px 8px;background:var(--soft)}.plan-table td{padding:13px 8px;border-bottom:1px solid var(--line);vertical-align:top;font-size:12px;line-height:1.7}.plan-table .plan-name{font-size:14px;font-weight:550}.plan-title-btn{display:block;min-height:0;padding:0;background:none;border:0;text-align:left;line-height:1.65}.plan-title-btn:hover{background:none;text-decoration:underline}.plan-id{font-size:10px;color:var(--muted);margin-bottom:4px}.gist{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.7;margin-top:5px}.plan-table td:first-child label{min-height:44px;display:grid;place-items:start center;cursor:pointer}.selection-bar{position:sticky;bottom:16px;background:var(--ink);color:white;border-radius:6px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:15;margin-top:18px;box-shadow:0 4px 20px #0001}.selection-bar .primary{color:var(--ink);background:white}.selection-bar .quiet{color:white}.batch-item{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.batch-item strong{flex:1;line-height:1.6}.result-line{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.notice{padding:13px 16px;background:var(--soft);border-radius:4px;font-size:12px;line-height:1.8;margin:14px 0}.notice.warn{background:var(--orange-bg);color:#755022}.notice.good{background:var(--green-bg);color:var(--green)}
/* Workbench */
.work-page{max-width:1440px;margin:auto;padding:0 30px 50px}.bench-head{position:sticky;top:var(--header);background:var(--bg);z-index:25;padding-top:16px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-bottom:14px}.bench-title{display:flex;gap:20px;align-items:center;justify-content:space-between}.bench-title h1{font-size:22px}.bench-title .episode-no{font-size:22px;margin-right:8px}.bench-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:12px 0 15px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line)}.tabs a,.tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 2px;color:var(--muted);font-weight:550;min-height:46px}.tabs .active{border-bottom-color:var(--ink);color:var(--ink)}.work-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.workspace{min-width:0}.reference{font-size:12px;padding-top:20px;align-self:start;position:sticky;top:calc(var(--header) + var(--bench));overflow:visible}.reference h2{font-size:13px}.reference p{line-height:1.85}.reference summary{font-size:12px}.reference .ref-body{padding-bottom:14px;color:#565650;white-space:pre-wrap;line-height:1.8}.player{position:sticky;top:calc(var(--header) + var(--bench));z-index:20;background:#eeeee8;padding:12px 16px;border-bottom:1px solid var(--line)}.player-meta{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:10px;margin-bottom:9px;overflow-wrap:anywhere}.player .play{width:42px;padding:8px;background:white}.player input[type=range]{flex:1;min-width:40px;accent-color:var(--ink);height:24px}.player-time{min-width:112px;font-size:12px}.cut-tools{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.cut-tools select{width:auto;min-width:130px;font-size:12px}.cut-stats{display:flex;gap:22px;padding:14px 0;font-size:12px;flex-wrap:wrap}.cut-stats b{font-size:17px;margin-left:6px;font-weight:550}.segment{padding:19px 0;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--header) + var(--bench) + 150px)}.segment-top{display:flex;gap:10px;align-items:center;margin-bottom:9px}.tc-button{font-size:12px;min-height:30px;padding:3px 0;border:0;background:none;font-variant-numeric:tabular-nums;text-decoration:underline;text-underline-offset:4px}.segment-number{font-size:11px;color:var(--muted);margin-left:auto}.transcript{font-size:15px;line-height:1.95;overflow-wrap:anywhere}.transcript.cut{color:var(--red);text-decoration:line-through;text-decoration-color:#bb726d}.transcript.restore{color:var(--orange);text-decoration:line-through;text-decoration-color:#b89059}.transcript.shortened{background:var(--yellow)}.transcript.kept{color:var(--green);text-decoration:none}.reason{color:var(--muted);font-size:12px;line-height:1.85;margin:9px 0}.editor-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:11px}.editor-controls button{font-size:11px;min-height:36px;padding:6px 10px}.editor-controls .selected{background:var(--soft);border-color:#85857a}.editor-controls .edit-label{color:var(--muted);margin-right:6px}.segment.current{background:#eeeee7}.inspection{padding:18px 0;border-bottom:1px solid var(--line)}.inspection p{font-size:13px}.inspection .row button{font-size:12px}.upload-zone{background:#fff;padding:24px;margin:24px 0;border:1px dashed #b9b9ad;border-radius:6px}.upload-zone h3{margin-bottom:8px}.upload-zone p{font-size:12px;color:var(--muted)}.prose{font-size:14px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.prose p{margin:0 0 18px}.take-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.take-card{background:var(--soft);padding:16px;border-radius:4px}.take-card p{font-size:13px}.finish-section{padding:24px 0;border-bottom:1px solid var(--line)}.finish-section h2{margin-bottom:14px}.highlight{display:grid;grid-template-columns:75px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.highlight p{font-size:13px;margin:0}.heading-item{display:flex;gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.heading-item .heading-text{font-weight:550;font-size:13px}.heading-item details{border:0}.heading-item summary{font-size:11px;font-weight:400;padding:5px 0;min-height:30px;color:var(--muted)}.insert{padding:22px 0;border-bottom:1px solid var(--line)}.insert-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.insert p{font-size:12px;color:var(--muted)}.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.image-option{min-width:0}.placeholder{aspect-ratio:16/9;background:#e5e5e0;color:#77776f;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:3px;position:relative;width:100%;padding:0;border:1px solid transparent;font-size:14px;gap:5px}.placeholder:hover{background:#ddddD7}.placeholder small{font-size:10px}.placeholder.adopted{outline:2px solid var(--ink);outline-offset:-2px}.adopt-badge{position:absolute;top:6px;left:6px;font-size:10px;background:var(--ink);color:#fff;padding:2px 6px;border-radius:3px}.image-controls{display:flex;gap:3px;align-items:center;margin-top:5px}.image-controls button{padding:4px 8px;min-height:36px;font-size:11px}.image-controls .video-button{margin-left:auto}.video-state{font-size:10px;color:var(--muted);padding:4px 0}.instruction-list{display:grid;grid-template-columns:100px 1fr;font-size:13px;gap:10px 20px;line-height:1.8}.instruction-list dt{color:var(--muted)}.instruction-list dd{margin:0}.publish-section{padding:24px 0;border-bottom:1px solid var(--line)}.publish-section h2{margin-bottom:12px}.inventory{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin:14px 0}.inventory>div{background:var(--soft);padding:12px;font-size:12px}.inventory b{display:block;margin-top:8px}.description-text{min-height:380px!important;font-size:12px}.settings-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:36px}.settings-menu{display:grid;align-content:start;gap:3px}.settings-menu a{padding:13px;border-radius:4px;color:var(--muted)}.settings-menu a.active{background:#e8e8e1;color:var(--ink);font-weight:550}.settings-content{min-width:0;max-width:900px}.document{white-space:pre-wrap;line-height:1.85;font:12px/1.9 inherit;overflow:visible;background:#fff;padding:18px;border-radius:4px;overflow-wrap:anywhere}.job{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px}.job .grow b{display:block;margin-bottom:7px}.job small{color:var(--muted)}.spinner{display:inline-block;width:12px;height:12px;border:1.5px solid #bebeb5;border-top-color:#42423c;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid var(--line);border-radius:9px;padding:0;width:min(720px,calc(100% - 32px));color:var(--ink);background:var(--bg);box-shadow:0 22px 100px #0002}dialog::backdrop{background:#24242255}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px}.modal-body{padding:20px 24px;overflow:visible}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;max-width:calc(100% - 32px);padding:13px 22px;border-radius:5px;z-index:90;font-size:13px;box-shadow:0 3px 20px #0002;display:none}#toast.show{display:block}.error-text{color:var(--red);font-size:12px;line-height:1.7}.step-indicator{display:flex;gap:15px;font-size:11px;color:var(--muted);margin-bottom:22px}.step-indicator b{color:var(--ink)}.archive{margin-top:28px}.cut-policy summary{font-size:12px}.cut-policy p{font-size:12px}.view-only{background:var(--soft);padding:4px 7px;font-size:10px;border-radius:3px}
@media(min-width:1400px){.image-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.global-header{padding:0 22px;gap:28px}.page{padding:28px 24px 60px}.work-page{padding:0 22px 40px}.work-grid{grid-template-columns:minmax(0,1fr)}.reference{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.reference>h2,.reference>.notice{grid-column:1/-1}.episode-row,.table-labels{grid-template-columns:40px 1fr 1.1fr 90px 18px;gap:12px}.bench-title h1{font-size:19px}.plan-table .origin-col{display:none}.plan-table .title-col{width:54%!important}}
@media(max-width:620px){:root{--header:108px}.global-header{height:108px;padding:10px 16px 0;display:grid;grid-template-columns:1fr auto;gap:4px 10px}.brand{font-size:14px;gap:9px}.brand-symbol{width:30px;height:30px;font-size:22px}.brand small{font-size:8px;margin-top:3px}.header-end{gap:12px;grid-column:2;grid-row:1;font-size:12px}.user-select select{width:66px;min-height:34px;font-size:12px;padding:5px}.global-header nav{grid-row:2;grid-column:1/-1;height:42px;gap:25px;font-size:13px}.page{padding:25px 16px 45px}.page-head{align-items:flex-start;gap:12px;margin-bottom:23px}.page-head>button,.page-head>.button{font-size:12px;padding:8px 10px}h1{font-size:24px}.eyebrow{font-size:10px}h2{font-size:16px}.page-head p{font-size:12px}.attention{padding:0 14px}.attention-row{grid-template-columns:1fr;gap:5px;padding:14px 0}.attention-row .label{display:flex;gap:10px;align-items:center}.attention-row>.row{justify-content:flex-start;flex-wrap:wrap}.attention-row .detail{line-height:1.7}.attention-row button{min-height:40px}.attention-row .grow{font-size:13px;line-height:1.7}.table-labels{display:none}.episode-row{grid-template-columns:34px 1fr 18px;gap:10px;padding:18px 0}.episode-row>.episode-next{grid-column:2;grid-row:2}.episode-row>.episode-state{grid-column:2;grid-row:3}.episode-row>.arrow{grid-column:3;grid-row:1}.episode-no{font-size:17px}.episode-title{font-size:13px}.global-footer{padding:18px 16px;flex-wrap:wrap;font-size:9px}.filters{gap:8px}.filters .search{flex-basis:100%}.filters label{min-width:0;flex:1}.filters label>span{font-size:11px}.filters select{font-size:11px;padding:8px 6px}.plan-table,.plan-table tbody{display:block}.plan-table thead{display:none}.plan-table tr{display:grid;grid-template-columns:28px 1fr 80px;padding:13px 0;border-bottom:1px solid var(--line)}.plan-table td{padding:0 4px;border:0}.plan-table td:nth-child(2){grid-column:2;grid-row:1}.plan-table td:nth-child(3){grid-column:2;grid-row:2}.plan-table td:nth-child(5){display:none}.plan-table td:nth-child(6){grid-column:3;grid-row:1}.plan-table .plan-name{font-size:13px}.plan-table td .tag{font-size:10px}.selection-bar{padding:12px;bottom:10px;gap:8px}.selection-bar b{font-size:12px}.selection-bar button{font-size:11px;padding:8px}.work-page{padding:0 14px 40px}.bench-head{padding-top:10px}.breadcrumbs{font-size:10px;margin-bottom:9px}.bench-title{display:block}.bench-title h1{font-size:16px;line-height:1.65}.bench-title .episode-no{font-size:16px}.bench-title>.primary{margin-top:10px;width:100%;min-height:40px;font-size:12px}.bench-status{font-size:10px;gap:6px 12px;margin:8px 0}.tabs{gap:20px}.tabs a,.tabs button{font-size:12px;padding:10px 0;min-height:42px}.player{padding:9px 10px}.player-meta{font-size:9px;margin-bottom:5px}.player-time{font-size:10px;min-width:95px}.player .play{min-height:35px;width:35px}.cut-tools{font-size:11px;gap:4px;padding:10px 0}.cut-tools select{min-height:38px;min-width:0;font-size:11px;padding:7px}.cut-stats{gap:8px 18px;font-size:11px}.cut-stats b{font-size:15px}.transcript{font-size:14px;line-height:1.95}.segment{padding:15px 0}.segment-top{gap:7px}.segment-number{font-size:9px}.editor-controls{gap:5px}.editor-controls button{min-height:38px;font-size:10px;padding:5px 7px}.reason{font-size:11px}.reference{grid-template-columns:1fr}.take-grid{grid-template-columns:1fr}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.image-controls button{font-size:10px;min-height:38px;padding:5px 7px}.insert-head{flex-wrap:wrap}.highlight{grid-template-columns:54px 1fr;gap:8px}.highlight button:last-child{grid-column:2;justify-self:start;font-size:11px}.highlight p{font-size:12px}.heading-item{gap:10px}.heading-item .heading-text{font-size:12px}.inventory{gap:6px}.inventory>div{font-size:10px;padding:10px 8px}.settings-grid{grid-template-columns:1fr;gap:22px}.settings-menu{display:flex;flex-wrap:wrap;font-size:12px}.settings-menu a{padding:10px 12px}.document{font-size:12px}.modal-head,.modal-body{padding:16px}.modal-actions{padding:12px 16px}.modal-actions button{font-size:12px}.batch-item{gap:7px;font-size:12px}.batch-item button{padding:5px 9px}.instruction-list{grid-template-columns:65px 1fr;gap:10px;font-size:12px}.upload-zone{padding:18px}.inspection .row{flex-wrap:wrap}.bench-status .extra-status{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.kept-part{color:var(--green);text-decoration:none}.removed-part{color:var(--red);text-decoration:line-through;text-decoration-color:#bb726d}
@media(max-width:620px){.section-title .end{font-size:10px;max-width:48%;text-align:right}.bench-head .breadcrumbs .quiet{min-height:28px;padding:4px 6px}.tag{max-width:100%;white-space:normal}.document{}.reference{scroll-margin-top:calc(var(--header) + var(--bench))}}
#inspection,#delivery,#cut-upload{scroll-margin-top:calc(var(--header) + var(--bench) + 90px)}
@media(prefers-reduced-motion:reduce){.spinner{border-style:dotted}}
/* 本人確定の色規則(2026-09-20): 残す=緑 */
.transcript.keep{color:var(--green)}.transcript.shortened{background:var(--yellow);color:var(--green)}.cut-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;padding:10px 0 0}.cut-legend .lg.keep{color:var(--green)}.cut-legend .lg.shortened{background:var(--yellow);color:var(--green);padding:0 4px}.cut-legend .lg.cut{color:var(--red);text-decoration:line-through}.cut-legend .lg.restore{color:var(--orange);text-decoration:line-through}.cut-legend .lg.muted{color:var(--muted)}

/* SPEC3 — semantic color, a single page scroll, and readable horizontal groups. */
:root{--blue:#22549b;--blue-bg:#eaf1fc;--purple:#65428d;--purple-bg:#f0eafb;--amber:#795300;--amber-bg:#fff3cf;--green:#24633c;--green-bg:#e8f4eb;--red:#a33335;--red-bg:#fceced;--orange:#954509;--orange-bg:#fff0df;--teal:#246663;--teal-bg:#e7f4f1;--gray:#535c67;--gray-bg:#eef0f3}
.tone-blue{--tone:var(--blue);--tint:var(--blue-bg)}.tone-purple{--tone:var(--purple);--tint:var(--purple-bg)}.tone-green{--tone:var(--green);--tint:var(--green-bg)}.tone-amber{--tone:var(--amber);--tint:var(--amber-bg)}.tone-red{--tone:var(--red);--tint:var(--red-bg)}.tone-orange{--tone:var(--orange);--tint:var(--orange-bg)}.tone-gray{--tone:var(--gray);--tint:var(--gray-bg)}
[class*="tone-"]{color:var(--tone);background:var(--tint)}
button[class*="tone-"]:hover{background:var(--tint);border-color:var(--tone)}
button[class*="tone-"][aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--tone)}
.category-vseo{color:var(--blue);background:var(--blue-bg)}.category-other{color:var(--teal);background:var(--teal-bg)}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.page-head>div,.global-header>*,.row>*{min-width:0}.page-head>.button,.page-head>button{flex-shrink:0}
.plans-page{padding-top:24px}.plans-page .page-head{margin-bottom:18px}.plans-page .page-head p{margin-bottom:0}.plans-page h1 small{font-size:16px;font-weight:400;color:var(--muted);margin-left:10px}
.state-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.state-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:14px 12px;border:1px solid transparent;border-radius:6px;min-width:0;text-align:left}
.state-summary>span{font-size:13px}.state-summary>b{grid-column:2;grid-row:1/3;font-size:29px;align-self:center;line-height:1.2;font-variant-numeric:tabular-nums}.state-summary b small{font-size:11px;margin-left:3px;font-weight:400}.state-summary>small{grid-column:1;font-size:10px;font-weight:400;line-height:1.6}
.overview-note{margin:8px 0 12px;gap:8px}.overview-note button{font-size:11px;min-height:36px;padding:6px}
.plans-page .filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:10px}.plans-page .filters label,.plans-page .filters .search{min-width:0}.filters input,.filters select{min-width:0;font-size:12px}
.color-key{font-size:11px;display:grid;gap:7px;margin:12px 0}.color-key>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.color-key b{width:42px;font-weight:550;flex-shrink:0}.color-key .tag{font-size:10px}.color-key .small{font-size:10px}
.plan-guidance{display:flex;justify-content:space-between;align-items:center;gap:14px;position:sticky;top:var(--header);background:var(--bg);z-index:18;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.plan-guidance p{margin:3px 0 0;font-size:11px}.plan-guidance>div{min-width:0}.plan-guidance #selection{flex-shrink:0}.plan-guidance button{font-size:12px}
.selection-bar{position:static;margin:0;padding:8px 12px;box-shadow:none}.selection-bar small{display:block;font-size:11px;margin-top:3px}.selection-bar .quiet{color:white}.selection-bar .primary{background:var(--green-bg);color:var(--green);border-color:transparent}
.candidate-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px}.triage-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.triage-tabs button{font-size:12px;padding:8px 10px;border:1px solid transparent;min-height:40px}.triage-tabs span{font-weight:650}
.candidate-board{display:block}.candidate-lane,.lifecycle-section,.schedule-section{margin:0 0 28px;min-width:0}
.band-heading{padding:12px 16px;border-radius:5px}.band-heading h2,.band-heading h3{font-size:16px;margin:0;display:flex;align-items:baseline;gap:14px}.band-heading h2 span,.band-heading h3 span{font-size:14px;font-weight:500}.band-heading p{font-size:12px;line-height:1.7;margin:3px 0 0}.band-distribution{margin-left:12px;font-size:11px;white-space:nowrap}
.lane-items,.lifecycle-list,.shooting-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;padding:0;margin:0;list-style:none;overflow:visible}
.priority-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 6px;color:var(--green);font-size:13px}.priority-intro>span{font-size:11px;color:var(--muted)}.priority-intro .small{font-weight:400}.remainder-label{font-size:12px;font-weight:600;color:var(--muted);padding:16px 0 6px;margin:0}
.idea-row{display:flex;gap:10px;padding:14px 0 10px;border-bottom:1px solid var(--line);min-width:0;align-items:flex-start;break-inside:avoid}.idea-row.is-selected{background:var(--green-bg)}.idea-check{display:flex;align-items:flex-start;flex-shrink:0;padding-top:4px;min-height:44px;min-width:22px;cursor:pointer}.idea-check input{accent-color:var(--green)}.idea-body{min-width:0;flex:1}.idea-meta{font-size:11px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:6px}.idea-meta .tag{font-size:10px}.idea-row .plan-title-btn{font-size:15px;line-height:1.65;font-weight:650;overflow-wrap:anywhere;max-width:100%;min-height:44px;align-content:start}.triage-reason{font-size:12px;line-height:1.75;color:#464d48;margin:6px 0}.priority-reason{font-size:11px;line-height:1.7;color:var(--green);margin:6px 0}.priority-reason b{font-weight:600}.related{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.related-link{display:inline;min-height:0;font-size:11px;font-weight:450;line-height:1.8;overflow-wrap:anywhere}.idea-actions{display:flex;gap:4px;flex-wrap:wrap;align-items:center;margin-top:5px}.idea-actions .tag{font-size:10px}.idea-actions button{font-size:11px;padding:6px;min-height:40px}.plan-note{white-space:pre-wrap;overflow-wrap:anywhere}
.empty-inline{font-size:12px;color:var(--muted);padding:16px 0;margin:0;line-height:1.8}.undo-bar{display:flex;align-items:center;gap:12px;justify-content:space-between;font-size:12px;background:var(--green-bg);color:var(--green);padding:6px 12px;margin:8px 0}.undo-bar button{flex-shrink:0;font-size:12px}
.plan-detail-title{margin:16px 0}.triage-editor{padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.move-options{display:flex;gap:10px;flex-wrap:wrap}
/* Long details replace the page. Only the root document scrolls. */
body:has(#modal[open])>.global-header,body:has(#modal[open])>#main,body:has(#modal[open])>.global-footer,body:has(#modal[open])>.skip{display:none}
dialog{position:static;margin:0 auto;width:min(920px,100%);max-width:100%;max-height:none;height:auto;overflow:visible;border:0;border-radius:0;box-shadow:none;background:var(--bg);padding-bottom:32px}
.modal-head{position:sticky;top:0;z-index:40;background:var(--bg);gap:12px}.modal-head h2{min-width:0;overflow-wrap:anywhere;font-size:18px;margin-top:5px}.modal-head button{flex-shrink:0}.modal-body{max-height:none;overflow:visible}.modal-actions{flex-wrap:wrap;position:sticky;bottom:0;background:var(--bg);z-index:35}.modal-actions>*{min-width:0}.modal-body input,.modal-body select,.modal-body textarea{min-width:0;max-width:100%}.modal-body select{text-overflow:ellipsis}.batch-item strong{min-width:0;overflow-wrap:anywhere}.batch-item button{flex-shrink:0}
textarea{overflow:hidden;resize:none;field-sizing:content}.document{max-height:none;overflow:visible}.description-text{min-height:380px!important}.prose,.ref-body{overflow-wrap:anywhere}
.workflow-legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:11px;padding:10px 0}.workflow-legend .tag{font-size:10px}
.table-labels,.episode-row{grid-template-columns:46px minmax(0,1.15fr) minmax(0,1fr) 26px}.episode-row>div{min-width:0}.episode-next .next{display:inline-block;padding:5px 9px;border-radius:4px}.bench-status .tag{font-size:11px}.bench-status .extra-status{display:inline}.placeholder.adopted{outline-color:var(--green)}.adopt-badge{background:var(--green)}
.work-grid{display:block}.reference{position:static;max-height:none;overflow:visible;display:block;padding:0;scroll-margin-top:calc(var(--header) + var(--bench) + 12px)}.reference>summary{font-size:13px;color:var(--purple)}.reference-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:0 0 12px}.reference-content>.notice{grid-column:1/-1;margin-top:4px}.reference-content>details{min-width:0}.reference .ref-body{font-size:13px}
@media(max-width:1050px){.state-summary{padding:10px 8px;gap:5px}.state-summary>b{font-size:24px}.state-summary>span{font-size:12px}.state-summary>small{font-size:9px}.global-header{gap:22px}.brand{font-size:15px}.episode-row,.table-labels{grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) 18px;gap:12px}}
@media(max-width:800px){.state-summary{display:flex;flex-direction:column;align-items:flex-start}.priority-intro{display:block}.priority-intro>span{display:block;margin-top:5px}.candidate-heading{flex-wrap:wrap}.lane-items,.lifecycle-list,.shooting-queue{gap:0 18px}}
@media(max-width:620px){
 .global-header{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.brand{min-width:0;letter-spacing:0;font-size:13px}.brand-symbol{flex-shrink:0}.brand small{font-size:8px;letter-spacing:0}.header-end{margin-left:0;gap:10px}.header-end .user-select select{width:66px;min-height:36px;padding:5px}.global-header nav{min-width:0}.page-head{flex-wrap:wrap}.page-head>div{flex-basis:100%}.page-head>.button,.page-head>button{margin-top:0}.page-head p{overflow-wrap:anywhere}.section-title{flex-wrap:wrap}
 .plans-page{padding-top:20px}.state-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.state-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;padding:10px}.state-summary>b{font-size:25px}.state-summary>small{font-size:10px}.state-summary:last-child{grid-column:1/-1}.overview-note .row{gap:6px}.overview-note{margin-bottom:8px}.overview-note .micro{flex-basis:100%}
 .plans-page .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.plans-page .filters .search{grid-column:1/-1}.plans-page .filters label:last-child{grid-column:1/-1}.filters select{font-size:12px}.color-key{margin:12px 0}.color-key b{width:auto}.color-key>div{gap:5px}
 .plan-guidance{display:block;padding:8px 0}.plan-guidance>div:first-child>b{display:none}.plan-guidance p{margin:0 0 6px}.plan-guidance #selection>.primary{width:100%;min-height:40px}.selection-bar{gap:6px;padding:8px;flex-wrap:wrap}.selection-bar b{font-size:12px}.selection-bar .row{flex:1;gap:5px;justify-content:flex-end}.selection-bar button{min-height:40px;font-size:11px}.candidate-heading{margin-top:18px;gap:5px}.candidate-heading .small{font-size:11px}.triage-tabs{gap:5px}.triage-tabs button{font-size:11px;min-height:44px;padding:7px 9px}.band-heading{padding:12px}.band-heading p{font-size:11px}.band-distribution{display:block;margin-left:0;margin-top:3px}
 .lane-items,.lifecycle-list,.shooting-queue{grid-template-columns:minmax(0,1fr)}.idea-row .plan-title-btn{font-size:14px}.idea-actions button{min-height:44px}.idea-row{gap:8px}.idea-meta .tag{font-size:10px}.priority-intro{font-size:13px}
 .episode-row{grid-template-columns:30px minmax(0,1fr) 18px}.episode-row>.episode-next{grid-column:2;grid-row:2}.episode-row>.arrow{grid-column:3;grid-row:1}.table-labels{display:none}.reference-content{grid-template-columns:minmax(0,1fr)}.reference>summary span{display:block;font-size:11px}.bench-status .extra-status{display:block;flex-basis:100%}
 .bench-head{position:static}.player{top:var(--header)}.reference{scroll-margin-top:calc(var(--header) + 12px)}.segment,#inspection,#delivery,#cut-upload{scroll-margin-top:calc(var(--header) + 110px)}
 .modal-head{padding:12px 16px;align-items:flex-start}.modal-head h2{font-size:16px}.modal-head button{font-size:11px;padding:7px;min-height:40px}.modal-actions{position:static}.move-options{display:grid;grid-template-columns:1fr}.document{max-height:none}.modal-body{max-height:none}
}

.final-script{color:var(--green)}.tag.warn,.notice.warn{color:var(--amber);background:var(--amber-bg)}.tag.tone-orange{color:var(--orange);background:var(--orange-bg)}.video-state{display:inline-block;padding:4px 6px;border-radius:3px}.highlight button[aria-pressed=true]:not(:disabled),.image-controls button[aria-pressed=true]{color:var(--green);background:var(--green-bg)}
@media(max-width:620px){.job,.publish-section>.row,.finish-section>.row{flex-wrap:wrap}.bench-title h1,.attention-row b{overflow-wrap:anywhere}.tabs{gap:14px}.tabs a{min-width:0}.modal-head h2{max-width:100%}}

/* Remove repeated scaffolding so the first ideas follow the controls closely. */
.plans-page .page-head{margin-bottom:12px}.state-summary{padding-top:11px;padding-bottom:11px}.overview-note{margin-bottom:8px}.color-key{margin:8px 0}.triage-tabs{margin-top:14px;margin-bottom:12px}.band-heading{padding-top:10px;padding-bottom:10px}.priority-intro{padding-top:10px}.band-heading h2{flex-wrap:wrap}

.color-key .legend-more{border:0}.color-key .legend-more summary{font-size:11px;min-height:28px;padding:4px}.color-key .legend-more>div{display:flex;gap:5px;flex-wrap:wrap;padding:4px}

/* SPEC3 appendix / revision 4: Word-like cut table. Scoped to the cut workspace. */
.cut-workbench{max-width:none;padding:0 16px 32px}
.cut-workbench .bench-head{position:static;padding-top:8px}
.cut-workbench .breadcrumbs{margin-bottom:4px}
.cut-workbench .bench-title{gap:12px}
.cut-workbench .bench-title h1{font-size:17px;line-height:1.4}
.cut-workbench .bench-title h1 .episode-no{font-size:17px}
.cut-workbench .bench-title>.primary{font-size:11px;min-height:30px;padding:5px 10px}
.cut-workbench .bench-status{margin:4px 0;font-size:10px;gap:6px 12px}
.cut-workbench .bench-status button{min-height:24px;padding:2px 5px;font-size:10px}
.cut-workbench .tabs a{padding:6px 0;min-height:30px;font-size:12px}
.cut-workbench .reference{margin:0;border-bottom:0}
.cut-workbench .reference>summary,.cut-workbench .cut-policy>summary{padding:3px 0;font-size:11px;min-height:22px}
.cut-workbench .cut-policy{margin:0;border:0}
.cut-dock{position:sticky;top:var(--header);z-index:25;background:var(--bg);border-bottom:1px solid var(--line)}
.cut-dock .player{position:static;padding:4px 0;margin:0;border:0;background:var(--bg);display:flex;gap:12px;align-items:center}
.cut-dock .player-meta{font-size:9px;margin:0;max-width:29%;line-height:1.4;display:block}
.cut-dock .player-meta>span{display:block;overflow-wrap:anywhere}
.cut-dock .player>.row{flex:1;gap:8px;min-width:0}
.cut-dock .player .play{min-height:26px;width:28px;padding:3px}
.cut-dock .player .quiet{min-height:26px;padding:3px 6px;font-size:11px}
.cut-dock .player-time{font-size:11px;min-width:90px}
.cut-dock .cut-legend{padding:3px 0;gap:6px 12px;font-size:10px;line-height:1.5}
.cut-dock .cut-legend .lg{padding:1px 5px;text-decoration:none}
.cut-dock .lg.keep{background:var(--green-bg)}.cut-dock .lg.cut{background:var(--red-bg)}.cut-dock .lg.restore{background:var(--orange-bg)}
.cut-dock .cut-stats{padding:3px 0;margin:0;gap:5px 16px;font-size:11px;line-height:1.5}
.cut-dock .cut-stats b{font-size:12px;font-variant-numeric:tabular-nums}
.cut-dock .cut-stats small{font-size:10px;margin-left:5px;color:var(--muted)}
.cut-dock .cut-tools{padding:3px 0;gap:6px;font-size:11px;margin:0;flex-wrap:wrap}
.cut-dock .cut-tools button,.cut-dock .cut-tools select{font-size:11px;min-height:28px;padding:3px 7px}
.cut-dock .cut-tools .check{gap:5px}.cut-dock .cut-tools input{width:14px;height:14px}
.preview-width-label{display:flex;align-items:center;gap:5px;margin-left:auto;font-size:10px}
.cut-split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:14px;align-items:start}
.cut-split.preview-narrow{grid-template-columns:minmax(0,76fr) minmax(0,24fr)}
.cut-split.preview-wide{grid-template-columns:minmax(0,62fr) minmax(0,38fr)}
.cut-table-pane{min-width:0}
.cut-table{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0;font-size:11px;margin:0}
.cut-table .col-time{width:109px}.cut-table .col-verdict{width:50px}.cut-table .col-reason{width:104px}.cut-table .col-edit{width:157px}
.cut-table th{position:sticky;top:calc(var(--header) + var(--cut-dock));z-index:20;text-align:left;background:#f2f3ef;color:var(--ink);padding:5px 5px;font-size:10px;font-weight:600;border-bottom:1px solid #ccd2ca;line-height:1.4}
.cut-table th small{font-size:9px;font-weight:400;color:var(--muted)}
.cut-table .segment{padding:0;scroll-margin-top:calc(var(--header) + var(--cut-dock) + 40px)}
.cut-table td{padding:3px 5px;border:0;border-bottom:1px solid #cdd5cc;vertical-align:top;overflow-wrap:anywhere}
.cut-table .keep>td{background:#e3f1e5}.cut-table .shortened>td{background:#fff2c9}.cut-table .cut>td{background:#fbe5e5}.cut-table .restore>td{background:#ffe9d3}
.cut-table .segment.current>td{box-shadow:inset 0 2px #315da4,inset 0 -2px #315da4}
.cut-table .cut-time{font-size:9px;line-height:1.35;color:var(--muted);position:relative;padding-left:20px}
.cut-time .row-index{position:absolute;left:3px;top:5px;font-size:9px;color:var(--ink);white-space:nowrap}
.cut-time .tc-button{font-size:9px;line-height:1.3;min-height:0;padding:0;background:none;text-align:left;border:0;color:var(--muted);display:block;font-variant-numeric:tabular-nums}
.cut-time small{display:block;font-size:8px;line-height:1.4;white-space:normal}
.cut-verdict b{font-size:10px;line-height:1.5;font-weight:600}.cut-verdict small{display:block;font-size:9px}
.cut-table .keep .cut-verdict{color:var(--green)}.cut-table .shortened .cut-verdict{color:var(--amber)}.cut-table .cut .cut-verdict{color:var(--red)}.cut-table .restore .cut-verdict{color:var(--orange)}
.cut-content .transcript-toggle{display:block;position:relative;text-align:left;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:none;font-weight:400}
.cut-table .transcript{font-size:13px;line-height:1.5;padding:0;margin:0;display:block;background:transparent}
.cut-table .transcript.keep,.cut-table .transcript.kept,.cut-table .transcript.shortened{color:var(--green);text-decoration:none}
.cut-table .transcript.cut{color:var(--red);text-decoration:line-through}.cut-table .transcript.restore{color:var(--orange);text-decoration:line-through}
.cut-table .transcript.text-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-right:17px}
.expand-hint{position:absolute;bottom:0;right:0;font-size:9px;line-height:14px;color:var(--blue);background:#fff9;padding:0 1px}
.cut-table .cut-reason details{padding:0;margin:0;border:0;font-size:10px;line-height:1.5}
.cut-reason summary{display:block;min-height:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#535950;cursor:pointer}
.cut-reason summary::before{content:'▸ ';font-size:9px}.cut-reason details[open] summary::before{content:'▾ '}
.cut-reason p{margin:4px 0;line-height:1.5;color:#535950;font-size:11px}
.cut-reason button{font-size:10px;min-height:26px;padding:2px}
.audio-label{font-size:9px;color:var(--amber);line-height:1.5;display:block}
.cut-table .editor-controls{display:flex;flex-wrap:nowrap;gap:2px;align-items:center;margin:0;padding:0;border:0}
.cut-table .editor-controls button{font-size:10px;line-height:1.4;min-height:26px;padding:3px 4px;white-space:nowrap;border:1px solid #b9c0b5;border-radius:3px;background:#fff9;color:#343b34;font-weight:400}
.cut-table .editor-controls button[aria-pressed=true]{background:#263d30;color:#fff;border-color:#263d30;font-weight:600}
.cut-table .editor-controls button:focus-visible{outline-offset:1px}
.cut-preview{position:sticky;top:calc(var(--header) + var(--cut-dock) + 6px);padding:8px 0 0;min-width:0;align-self:start;color:var(--green)}
.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.preview-heading h2{font-size:13px;margin:0}.preview-heading>span{font-size:10px;white-space:nowrap}
.preview-help{font-size:10px;line-height:1.5;margin:4px 0 7px;color:var(--muted)}
.preview-cut-note{font-size:10px;line-height:1.5;margin:5px 0;padding:4px 6px;color:var(--red);background:var(--red-bg)}
.preview-script{font-size:13px;line-height:1.5}.preview-part{display:block;width:100%;background:#f1f7f0;border:0;border-bottom:1px solid #d1dfcf;border-radius:0;text-align:left;padding:6px 7px;font-size:13px;line-height:1.5;font-weight:400;min-height:0;color:var(--green);overflow-wrap:anywhere}
.preview-part:hover{background:#e3f1e5}.preview-part.current{background:#e3f1e5;box-shadow:inset 0 2px #315da4,inset 0 -2px #315da4}
.preview-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;color:#57634f;font-size:9px;line-height:1.5;margin-bottom:2px}.preview-meta>span{font-size:9px}
.preview-nav{display:flex;gap:8px;justify-content:space-between;margin-top:5px}.preview-nav button{font-size:10px;min-height:28px;padding:3px 5px;color:var(--green)}
.cut-split.reading-full .cut-preview{position:static}
.cut-workbench .upload-zone{margin-top:14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1100px){
 .cut-table .col-time{width:96px}.cut-table .col-verdict{width:42px}.cut-table .col-reason{width:78px}.cut-table .col-edit{width:144px}
 .cut-table .editor-controls button{font-size:9px;padding:3px}
 .cut-table th small{display:none}
}
@media(max-width:800px){
 .cut-workbench{padding:0 10px 30px}
 .cut-split,.cut-split.preview-narrow,.cut-split.preview-wide{grid-template-columns:minmax(0,1fr)}
 .cut-preview{position:static;grid-row:1;padding:5px 0}.preview-width-label{display:none}
 .cut-table{display:block}.cut-table colgroup,.cut-table thead{display:none}.cut-table tbody{display:block}
 .cut-table .segment{display:grid;grid-template-columns:112px 1fr;gap:0;border-bottom:1px solid #bfc9ba}
 .cut-table td{border:0;padding:4px 6px;min-width:0}
 .cut-table .cut-time{grid-row:1;grid-column:1;padding-left:22px}
 .cut-table .cut-verdict{grid-row:1;grid-column:2;padding-left:6px;display:flex;align-items:center;gap:5px}
 .cut-table .cut-content{grid-row:2;grid-column:1/-1}
 .cut-table .cut-reason{grid-row:3;grid-column:1/-1}
 .cut-table .cut-edit{grid-row:4;grid-column:1/-1}
 .cut-table .editor-controls button{font-size:11px;padding:5px 10px;min-height:32px}
 .cut-table .segment.current{outline:2px solid var(--blue);outline-offset:-2px}.cut-table .segment.current>td{box-shadow:none}
 .cut-table .transcript.text-clamp{-webkit-line-clamp:3}
 .cut-workbench .bench-title>.primary{width:auto;margin-top:4px}
 .cut-dock .player{gap:5px}.cut-dock .player-meta{display:none}.cut-dock .player>.row{width:100%}
 .cut-dock .cut-legend{font-size:9px;gap:3px 5px}.cut-dock .cut-legend .lg{padding:0 2px}
 .cut-dock .cut-stats{gap:1px 8px;font-size:10px}.cut-dock .cut-stats b{font-size:11px}.cut-dock .cut-stats small{font-size:9px}
 .cut-dock .cut-tools{gap:4px;font-size:10px}.cut-dock .cut-tools button,.cut-dock .cut-tools select{font-size:10px;min-height:28px;padding:3px 5px}
 .cut-workbench .reference>summary span{display:none}
}

.cut-dock .cut-tools .check{min-height:28px}
.cut-dock .cut-tools select{min-width:0;width:auto}
.cut-preview.preview-long{position:static}
/* Give the first ten rows room without changing navigation on other screens. */
body:has(.cut-workbench){--header:56px}
.cut-workbench .breadcrumbs{display:none}
.cut-workbench .bench-status .tag{font-size:10px;padding:2px 5px}
@media(max-width:620px){body:has(.cut-workbench){--header:108px}}
/* Review 8: compact navigation, one document scroll, task-focused controls. */
body.review8{--header:56px;background:#fafaf8}
.review8 .global-header{height:56px;padding:0 20px;gap:26px}
.review8 .brand{font-size:14px;gap:9px}.review8 .brand-symbol{width:30px;height:30px;font-size:23px}.review8 .brand small{font-size:10px;margin-top:2px}
.review8 .header-end{gap:14px}.review8 .global-header nav{gap:22px}
.review8 .plans-page{padding:18px 24px 60px;max-width:1280px}
.review8 .plans-page .page-head{margin:0 0 12px;gap:12px;align-items:center;flex-wrap:nowrap}
.review8 .plans-page .page-head>div{flex-basis:auto}.review8 .plans-page h1{font-size:24px}.review8 .plans-page .page-head p{margin:3px 0 0}
.review8 .state-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 10px}
.review8 .state-summary{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;min-height:44px;border-radius:4px}
.review8 .state-summary>b{font-size:19px}.review8 .state-summary>span{font-size:12px}.review8 .state-summary:last-child{grid-column:auto}
.plan-search-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
.plan-search-line input{min-height:40px;margin:0;width:100%}.plan-search-line label{min-width:0}
.plan-options{padding:0;margin:0;border:0}.plan-options>summary{padding:10px 0;font-size:12px;min-height:40px;cursor:pointer}
.plan-options[open]{grid-column:1/-1}.plan-options .filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0}.plan-options .filters label{grid-column:auto!important}
.review8 .plan-guidance{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 0;margin:0;position:static;background:#fafaf8}
.review8 .plan-guidance>div:first-child{flex:1}.review8 .plan-guidance p{margin:0;font-size:12px}.review8 .plan-guidance>button{font-size:11px;min-height:32px;padding:4px 6px}
.review8 .plan-guidance:has(.selection-bar){position:sticky;top:var(--header);z-index:22}
.review8 .selection-bar{padding:0;background:none}.review8 .selection-bar button{font-size:12px;min-height:36px;padding:6px 10px}
.review8 .triage-tabs{gap:5px;margin:4px 0 10px}.review8 .triage-tabs button{min-height:34px;padding:5px 10px;font-size:12px}
.review8 .band-heading{padding:7px 10px;min-height:0}.review8 .band-heading h2,.review8 .band-heading h3{font-size:14px;margin:0}.review8 .band-heading h3 span{font-size:12px}.review8 .band-heading p{margin:4px 0 0}
.review8 .priority-intro{padding:8px 0 2px;font-size:12px}.review8 .priority-intro .small{font-size:11px}
.review8 .lane-items{gap:0 26px}.review8 .idea-row{padding:9px 0;gap:8px}.review8 .idea-meta{margin-bottom:2px;font-size:11px}
.review8 .idea-row .plan-title-btn{font-size:14px;line-height:1.5;min-height:30px;padding:0;justify-content:flex-start;text-align:left}
.review8 .triage-reason{font-size:12px;line-height:1.6;margin:4px 0}.review8 .idea-actions{margin:2px 0 0}.review8 .idea-actions button{min-height:30px;padding:3px 6px}
.review8 .priority-reason{border:0;padding:0;margin:0}.review8 .priority-reason summary{padding:2px 0;font-size:11px;min-height:22px;cursor:pointer}.review8 .priority-reason p{margin:4px 0}
.review8 .cut-workbench{padding:0 16px 32px}
.review8 .cut-workbench .bench-title h1,.review8 .cut-workbench .bench-title h1 .episode-no{font-size:16px}
.review8 .cut-workbench .bench-title>.primary{background:transparent;color:var(--ink);border-color:#bbb}
.review8 .cut-workbench .bench-status{font-size:11px;gap:5px 10px}.review8 .cut-workbench .bench-status button{font-size:11px}
.review8 .cut-workbench .reference>summary,.review8 .cut-policy>summary{font-size:11px;padding:3px 0;min-height:22px}
.review8 .cut-dock{background:#fafaf8;padding:4px 0}
.review8 .cut-dock .player{padding:0 0 3px;min-height:32px}
.review8 .cut-legend{font-size:11px;padding:2px 0}.review8 .cut-legend .lg{padding:2px 8px;font-size:11px}
.review8 .cut-stats{display:flex;gap:6px 18px;align-items:center;font-size:12px;padding:3px 0}
.review8 .cut-stats b{font-size:12px}.review8 .cut-stats small{font-size:10px;color:var(--muted)}
.stats-detail{border:0;margin:0;padding:0;font-size:11px}.stats-detail summary{padding:0;cursor:pointer;min-height:20px}.stats-detail>span{display:block;padding:3px 0}
.review8 .cut-dock .cut-tools{padding:3px 0;font-size:12px;gap:6px}.review8 .cut-dock .cut-tools button,.review8 .cut-dock .cut-tools select{font-size:12px;min-height:30px}
.review8 .cut-table .col-time{width:120px}.review8 .cut-table .col-verdict{width:52px}.review8 .cut-table .col-reason{width:108px}.review8 .cut-table .col-edit{width:106px}
.review8 .cut-table th{font-size:11px;padding:4px 5px}.review8 .cut-table th small{display:none}
.review8 .cut-table .cut-time{font-size:10px;padding-left:23px}.review8 .cut-time .row-index{font-size:10px;top:5px}
.review8 .cut-time .tc-button{font-size:10px;line-height:1.2}.review8 .cut-time small{font-size:9px;line-height:1.2}
.review8 .cut-verdict b{font-size:11px}.review8 .cut-table .cut-reason details{font-size:11px}.review8 .cut-reason summary{padding:0;min-height:24px}
.review8 .cut-table .editor-controls{justify-content:flex-end;gap:5px}
.review8 .cut-table .editor-controls button{font-size:11px;min-height:30px;padding:4px 8px}
.review8 .cut-table .editor-controls button[aria-pressed=false]{background:#fff7;color:#4f5550;border-color:#b4bcb5}
.review8 .cut-table .editor-controls button[aria-pressed=true]{background:#fff;color:#244c35;border-color:#648871}
.review8 .cut-table .segment.done .row-index{font-weight:700;color:#245a3a}
.review8 .cut-preview{position:sticky;top:calc(var(--header) + var(--cut-dock) + 6px);padding:6px 0;background:#fafaf8}
.review8 .preview-heading h2{font-size:14px}.review8 .preview-help{font-size:11px;line-height:1.5;margin:5px 0}
.review8 .preview-cut-note{font-size:11px}.review8 .preview-part{font-size:13px;line-height:1.6;padding:8px}.review8 .preview-meta,.review8 .preview-meta>span{font-size:10px}
.review8 .preview-nav{gap:3px}.review8 .preview-nav button{font-size:11px;min-height:32px;padding:5px}
.review8 .cut-split.reading-full{display:block}.review8 .reading-full .cut-table-pane{display:none}
.review8 .reading-full .cut-preview{position:static;max-width:820px;margin:0 auto;display:block}
.review8 .reading-full .preview-part{font-size:14px;line-height:1.85;padding:14px}.review8 .preview-part{scroll-margin-top:calc(var(--header) + var(--cut-dock) + 12px)}
.review8 .mobile-context{display:none!important}
.review8 #toast{max-width:calc(100vw - 24px);font-size:12px}
@media(min-width:801px){
 .review8 .cut-dock{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 14px}
 .review8 .cut-dock .player,.review8 .cut-dock .cut-tools{grid-column:1/-1}
 .review8 .cut-stats{justify-content:flex-end}
}
@media(max-width:800px){
 .review8 .cut-split:not(.reading-full) .cut-preview{display:none}
 .review8 .mobile-context{display:inline-flex!important;margin-right:auto}
 .review8 .cut-table .editor-controls{justify-content:flex-end}
 .review8 .cut-table .editor-controls button{min-height:40px;padding:7px 12px;font-size:12px}
 .review8 .cut-table .cut-time{padding-left:27px}.review8 .cut-time .row-index{font-size:11px}
 .review8 .cut-time .tc-button{font-size:11px}.review8 .cut-time small{font-size:10px}
 .review8 .cut-reason summary{min-height:34px;padding:5px 0;font-size:12px}
 .review8 .cut-verdict b{font-size:12px}.review8 .cut-table .segment{grid-template-columns:135px 1fr}
 .review8 .cut-table .transcript{font-size:14px;line-height:1.6}.review8 .cut-table .transcript.text-clamp{-webkit-line-clamp:3}
 .review8 .cut-table td{padding:4px 7px}
 .review8 .cut-stats{gap:3px 10px}.review8 .cut-stats small{display:block}
 .review8 .stats-detail{display:none}
}
@media(max-width:620px){
 body.review8,body.review8:has(.cut-workbench){--header:90px}
 .review8 .global-header{height:90px;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:8px 12px 0;gap:0 12px}
 .review8 .global-header nav{grid-row:2;grid-column:1/-1;gap:24px;height:34px;align-self:end;font-size:12px}
 .review8 .brand{font-size:13px}.review8 .brand-symbol{width:27px;height:27px;font-size:21px}.review8 .brand small{font-size:9px}
 .review8 .header-end{gap:10px;font-size:12px}.review8 .header-end .user-select select{width:64px;min-height:32px;font-size:12px}
 .review8 .plans-page{padding:12px 12px 40px}.review8 .plans-page h1{font-size:21px}
 .review8 .plans-page .page-head p{font-size:11px}.review8 .plans-page .page-head>button{min-height:40px;padding:7px 10px;white-space:nowrap;font-size:12px}
 .review8 .state-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:8px}
 .review8 .state-summary{padding:6px;gap:4px;min-height:44px}.review8 .state-summary>span{font-size:11px}.review8 .state-summary>b{font-size:16px}
 .review8 .state-summary:last-child{grid-column:2/4;justify-content:flex-start;gap:12px}
 .plan-search-line{grid-template-columns:1fr;gap:0}.plan-options>summary{min-height:36px;padding:7px 0;font-size:12px}
 .review8 .plan-options .filters{grid-template-columns:1fr;gap:8px}.review8 .plan-options .filters label{grid-column:1}
 .review8 .plan-guidance{gap:4px;font-size:11px}.review8 .plan-guidance p{font-size:11px}.review8 .plan-guidance #selection>.small{font-size:10px}
 .review8 .triage-tabs{gap:5px;margin:4px 0 8px}.review8 .triage-tabs button{min-height:40px;padding:6px 8px;font-size:11px}
 .review8 .priority-intro{padding:6px 0 2px}.review8 .idea-row{padding:8px 0}.review8 .idea-actions button{min-height:40px}
 .review8 .idea-check{min-width:28px}.review8 .priority-reason summary{min-height:32px;padding:5px 0}
 .review8 .cut-workbench{padding:0 10px 32px}.review8 .cut-workbench .bench-title{align-items:flex-start;gap:4px}
 .review8 .cut-workbench .bench-title h1{font-size:15px;line-height:1.5}.review8 .cut-workbench .bench-title>.primary{font-size:11px;min-height:34px}
 .review8 .cut-workbench .bench-status{font-size:10px;margin:3px 0;gap:3px 8px}
 .review8 .cut-workbench .bench-status .extra-status{flex-basis:auto}.review8 .cut-workbench .bench-status button{font-size:10px;min-height:28px}
 .review8 .cut-dock .cut-tools{gap:4px;font-size:11px}.review8 .cut-dock .cut-tools button,.review8 .cut-dock .cut-tools select{font-size:11px;min-height:36px;padding:5px 6px}
 .review8 .cut-dock .cut-tools .check{min-height:36px}.review8 .cut-dock .cut-legend{font-size:10px;gap:4px}.review8 .cut-dock .cut-legend .lg{font-size:10px;padding:1px 5px}
 .review8 .cut-stats{font-size:11px;padding:2px 0}.review8 .cut-stats b{font-size:11px}.review8 .cut-stats small{font-size:9px}
}

/* Confirmed public title stays distinct from the internal working name. */
.work-name-label{display:block;font-size:11px;line-height:1.2;color:var(--muted);font-weight:400;margin-bottom:3px}
.confirmed-title{margin:8px 0 10px;padding:8px 12px;border-left:3px solid #708960;background:#f3f5ef;min-width:0}
.confirmed-title-label{display:flex;align-items:center;gap:12px;font-size:11px;color:#4d6240}
.confirmed-title-label button{font-size:11px;min-height:28px;padding:2px 8px}
.confirmed-title p{font-size:14px;line-height:1.55;font-weight:600;margin:2px 0 0;overflow-wrap:anywhere}
.episode-work-name{font-size:12px;color:var(--muted);margin:4px 0}
.plan-work-name{margin:5px 0}
@media(max-width:650px){.confirmed-title{padding:7px 10px;margin:7px 0}.confirmed-title p{font-size:13px}.confirmed-title-label button{min-height:36px}}

/* One episode, one stable shell, three retained task panels. */
.review8 .episode-shell{max-width:none;padding:0 16px 40px}
.review8 .episode-shell .bench-head{position:static;padding:10px 0 0}
.review8 .episode-shell .bench-title{display:flex;align-items:center;gap:16px;min-height:44px}
.review8 .episode-shell .bench-title h1{display:flex;align-items:center;gap:12px;font-size:16px;line-height:1.45}
.review8 .episode-shell .bench-title h1 .episode-no{font-size:19px;margin:0;flex:none}
.review8 .episode-back{font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;white-space:nowrap;padding:10px 0}
.review8 .episode-shell .bench-status{margin:6px 0;font-size:11px;min-height:23px;gap:6px 16px}
.review8 .episode-shell .reference{margin-bottom:4px;scroll-margin-top:calc(var(--header) + 10px)}
.review8 .episode-shell .reference>summary{font-size:12px;min-height:32px;padding:6px 0}
.review8 .stage-nav{position:sticky;top:var(--header);z-index:27;background:#fafaf8;gap:24px;border-bottom:1px solid #c8cac4;box-shadow:0 2px 0 #fafaf8}
.review8 .episode-shell .stage-nav a{font-size:13px;min-height:44px;padding:10px 4px;white-space:nowrap}
.review8 .stage-nav .active{border-bottom:3px solid #303e32;color:#263d2d}
.review8 .stage-panel[hidden]{display:none!important}
.review8 .stage-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;min-height:54px}
.review8 .stage-intro p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.review8 .stage-intro button{font-size:12px;min-height:34px;padding:6px 10px;flex:none}
.review8 .episode-shell .cut-dock{top:calc(var(--header) + var(--stage-nav))}
.review8 .episode-shell .cut-table th{top:calc(var(--header) + var(--stage-nav) + var(--cut-dock))}
.review8 .episode-shell .cut-preview{top:calc(var(--header) + var(--stage-nav) + var(--cut-dock) + 6px)}
.review8 .episode-shell .preview-part,.review8 .episode-shell .segment{scroll-margin-top:calc(var(--header) + var(--stage-nav) + var(--cut-dock) + 32px)}
.review8 .section-jumps{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:0 0 10px;border-bottom:1px solid var(--line)}
.review8 .section-jumps button{font-size:12px;min-height:36px;padding:5px 12px;background:#eef0e9;border:1px solid #d9ded1}
.review8 .stage-panel>.finish-section,.review8 .stage-panel>.publish-section{padding:20px 0;scroll-margin-top:calc(var(--header) + var(--stage-nav) + 16px)}
.review8 .stage-panel>.finish-section>p,.review8 .stage-panel>.publish-section>p{max-width:80ch}
.review8 .finish-section.tone-red,.review8 .stage-panel>.empty{margin:8px 0;padding:20px;border:1px solid var(--line);border-radius:5px;text-align:left}
.review8 .highlight{grid-template-columns:85px minmax(0,78ch) auto;justify-content:start;gap:18px}
.review8 .highlight p{font-size:13px;line-height:1.7}
.review8 .description-disclosure{margin-top:8px;max-width:940px}
.review8 .description-disclosure>summary{font-size:12px;min-height:40px;padding:10px 0}
.review8 .description-text{font-size:13px;line-height:1.8}
.review8 .publish-section .stack{gap:16px}
.review8 .stage-panel .upload-zone{scroll-margin-top:calc(var(--header) + var(--stage-nav) + 16px)}
@media(max-width:620px){
 .review8 .episode-shell{padding:0 10px 32px}
 .review8 .episode-shell .bench-title{align-items:flex-start;gap:8px}
 .review8 .episode-shell .bench-title h1{font-size:14px;gap:8px;align-items:flex-start;flex:1}
 .review8 .episode-shell .bench-title h1 .episode-no{font-size:16px;margin-top:10px}
 .review8 .episode-back{font-size:11px;padding:8px 0}
 .review8 .episode-shell .bench-status{font-size:10px;gap:5px 10px}
 .review8 .episode-shell .stage-nav{display:grid;grid-template-columns:1.15fr .85fr 1.15fr;gap:0}
 .review8 .episode-shell .stage-nav a{font-size:12px;justify-content:center;min-height:44px;padding:10px 2px}
 .review8 .stage-intro{align-items:flex-start;flex-wrap:wrap;gap:6px;padding:9px 0;min-height:48px}
 .review8 .stage-intro p{font-size:11px;flex-basis:100%}
 .review8 .stage-intro button{min-height:40px;font-size:11px}
 .review8 .section-jumps{gap:5px}
 .review8 .section-jumps button{min-height:40px;font-size:11px;padding:5px 8px}
 .review8 .highlight{grid-template-columns:58px minmax(0,1fr);gap:10px}
 .review8 .highlight button:last-child{grid-column:2;justify-self:start}
 .review8 .stage-panel>.finish-section,.review8 .stage-panel>.publish-section{padding:16px 0}
}
.review8 .stage-panel{min-height:calc(100dvh - var(--header) - var(--stage-nav))}

.review8 .insert{padding:0;border-bottom:1px solid var(--line)}
.review8 .insert>summary{padding:14px 0;min-height:50px}
.review8 .insert-summary{display:inline-grid;grid-template-columns:185px minmax(0,1fr) auto;gap:14px;width:calc(100% - 22px);align-items:center;vertical-align:middle}
.review8 .insert-summary strong{font-size:13px;font-weight:550}
.review8 .insert[open] .image-grid{padding-bottom:20px}
@media(max-width:620px){.review8 .insert-summary{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px}.review8 .insert-summary>span:first-child{grid-column:1/-1;font-size:10px}}

.review8 .cut-task-line{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;padding:7px 0}
.review8 .cut-task-line .cut-policy{flex:1;min-width:0}
.review8 .cut-task-line button{flex:none;font-size:11px;min-height:34px;padding:5px 10px}
@media(max-width:620px){.review8 .cut-task-line{gap:6px}.review8 .cut-task-line button{font-size:10px;min-height:40px;padding:5px 7px}.review8 .cut-task-line .cut-policy summary{font-size:10px;min-height:40px;display:flex;align-items:center}.review8 .cut-task-line .cut-policy summary::before{content:'▸';margin-right:4px}.review8 .cut-task-line .cut-policy[open] summary::before{content:'▾'}}

.asset-filter{display:flex;gap:6px;margin:10px 0;flex-wrap:wrap}.asset-filter button{font-size:12px;min-height:36px;padding:6px 12px}.asset-filter button[aria-pressed=true]{background:#e8eee5;border-color:#73866a;color:#30492b}.insert-summary .tag{white-space:nowrap}
@media(max-width:620px){.asset-filter button{min-height:40px}}

.draft-status{color:#775d29}.draft-status:empty{display:none}

.instruction-content{padding:0 12px 12px 22px}.instruction-content p{font-size:13px;line-height:1.85;max-width:95ch}.instruction-content button{font-size:12px;min-height:36px}.instruction-insert[open]:has(.tag.warn){background:#fff9eb}

.save-recovery{margin:16px auto;padding:16px;max-width:1180px;background:#fff4dc;border:1px solid #c59134;border-radius:8px}.save-recovery p{margin:0 0 12px}.save-recovery button{margin:4px 8px 4px 0}

[hidden]{display:none!important}
