.admin-shell{display:flex;min-height:100vh;background:#f4f6f8;color:#1f2933;font-size:var(--font-size-base)}.admin-sidebar{width:248px;flex-shrink:0;display:flex;flex-direction:column;height:100vh;position:sticky;top:0;background:#fff;border-right:1px solid #d9e2ec}.admin-sidebar-brand{flex-shrink:0;padding:1rem 1rem .75rem}.admin-sidebar-brand strong{display:block;font-size:.95rem}.admin-sidebar-brand span{display:block;margin-top:.15rem;color:#52606d;font-size:.75rem}.admin-sidebar-nav{flex:1 1 auto;min-height:0;padding:.35rem .7rem;overflow-y:auto}.admin-sidebar-footer{flex-shrink:0;margin-top:auto;padding:.75rem .7rem 1rem;border-top:1px solid #d9e2ec}.admin-sidebar-group{margin-bottom:.2rem}.admin-sidebar-row{display:flex;align-items:stretch;gap:.15rem}.admin-sidebar-link,.admin-sidebar-child{display:block;color:#334e68;text-decoration:none;border-radius:8px}.admin-sidebar-link{flex:1;padding:.48rem .65rem;font-size:.9rem;font-weight:700}.admin-sidebar-link:hover,.admin-sidebar-child:hover{background:#f4f8fb;color:#1d4e89}.admin-sidebar-link.active,.admin-sidebar-child.active{background:#ebf4ff;color:#1d4e89}.admin-sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;width:1.7rem;border:0;border-radius:8px;background:transparent;color:#627d98;cursor:pointer}.admin-sidebar-toggle:hover{background:#f4f8fb;color:#1d4e89}.admin-sidebar-toggle svg{display:block;transition:transform .12s ease}.admin-sidebar-toggle.open svg{transform:rotate(90deg)}.admin-sidebar-children{display:flex;flex-direction:column;gap:.1rem;padding:.1rem 0 .35rem .7rem}.admin-sidebar-child{padding:.38rem .65rem;font-size:.84rem;font-weight:600}.admin-shell-main{flex:1;min-width:0;padding:var(--space-5);overflow-x:auto}.admin-shell-main>:first-child{margin-top:0}@media (max-width: 1024px){.admin-sidebar{width:220px}}@media (max-width: 860px){.admin-shell{flex-direction:column}.admin-sidebar{width:100%;height:auto;max-height:42vh;position:relative;border-right:0;border-bottom:1px solid #d9e2ec}}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#f4f6f8;color:#1f2933}:root{--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.5rem;--space-6: 2rem;--font-size-sm: .875rem;--font-size-base: 1rem;--font-size-lg: 1.25rem;--font-size-xl: 1.5rem;--color-ok: #0f7b3a;--color-attention: #9a6700;--color-blocked: #b42318;--color-idle: #52606d;--color-running: #1d4e89;--color-waiting: #0f6a8f;--radius-card: 10px}.app{max-width:1560px;margin:0 auto;padding:var(--space-5);font-size:var(--font-size-base)}.header h1{margin:0 0 .25rem;font-size:1.5rem}.header p{margin:0;color:#52606d}.header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.user-bar{display:flex;align-items:center;gap:.75rem;font-size:.9rem}.login-panel{max-width:420px;margin:3rem auto}.login-form{border-top:none;padding-top:0}.tabs{display:flex;gap:.5rem;margin-top:1rem;flex-wrap:wrap;position:relative;z-index:2}.tab{display:inline-flex;align-items:center;border:1px solid #d9e2ec;background:#fff;color:inherit;text-decoration:none;border-radius:8px;padding:.5rem .75rem;cursor:pointer;flex-shrink:0}@media (max-width: 640px){.header-top{flex-direction:column;align-items:stretch}.user-bar{justify-content:flex-end}.tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.25rem}.admin-tab-role{font-size:.8rem}}.tab.active{border-color:#3e7cb1;background:#ebf4ff}.publish-form{margin-top:1rem;padding-top:.75rem;border-top:1px solid #e4e7eb;display:grid;gap:.5rem}.publish-form h4{margin:0;font-size:.9rem}.publish-form label{display:grid;gap:.25rem;font-size:.8rem;color:#52606d}.publish-form input{border:1px solid #d9e2ec;border-radius:6px;padding:.45rem .6rem;font:inherit}.tracking-url{display:block;margin-top:.35rem;word-break:break-all;font-size:.75rem}.analytics-panel{margin-top:1.5rem}.analytics-publications-section{margin-top:1rem;padding:1rem;border:1px solid #d9e2ec;border-radius:10px;background:#fff}.analytics-publications-section h3{margin-top:0}.analytics-filters{display:grid;grid-template-columns:repeat(4,minmax(10rem,1fr));gap:.75rem;align-items:end;margin:1rem 0}.analytics-filters select{border:1px solid #d9e2ec;border-radius:6px;padding:.45rem .6rem;font:inherit;background:#fff}.analytics-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-table-scroll{overflow-x:auto}.analytics-publications-table td:nth-child(4){min-width:18rem}.analytics-manual-stats-details{margin-top:.75rem}.summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-form{display:grid;gap:.35rem;min-width:10rem}.stats-form input{border:1px solid #d9e2ec;border-radius:6px;padding:.35rem .5rem;font:inherit;font-size:.75rem}button.produce.compact,a.produce.compact{margin-top:0;padding:.35rem .5rem;font-size:.75rem}.inline-state{font-size:.75rem}.inline-state.success{color:#0f5132}.inline-state.error{color:#9b1c1c}.system-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem}.system-head h2{margin:0}.jobs-table tr.job-failed td{background:#ffe3e3;color:#9b1c1c}.inline-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.35rem}.ai-pipeline-panel{margin-bottom:1rem}.attention-panel{margin-top:1.25rem}.attention-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.attention-item{background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:.75rem 1rem;border-left-width:4px}.attention-item.attention-error{border-left-color:#c81e1e}.attention-item.attention-warning{border-left-color:#d97706}.attention-item.attention-info{border-left-color:#3e7cb1}.attention-item-head{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.attention-badge{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}.attention-badge.attention-error{color:#c81e1e}.attention-badge.attention-warning{color:#d97706}.attention-badge.attention-info{color:#3e7cb1}.daily-report-panel,.integrations-panel,.llm-health-panel{margin-top:1.25rem}.integrations-table tr.integration-error td{background:#fff5f5}.integrations-table tr.integration-warning td{background:#fffbeb}.integrations-table tr.integration-not_configured td{color:#52606d}.analytics-table{width:100%;border-collapse:collapse;font-size:.85rem}.analytics-table th,.analytics-table td{border-bottom:1px solid #e4e7eb;padding:.5rem;text-align:left}.analytics-table th{color:#52606d;font-weight:600}.layout{display:grid;grid-template-columns:280px 1fr;gap:1rem;margin-top:1.5rem}.clips-workspace{display:grid;gap:1rem;margin-top:1.5rem;width:100%}.clips-workspace-main{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:1rem;align-items:start}.workspace-bundle-list .workspace-bundle-item{display:grid;gap:.35rem}.workspace-bundle-group{display:grid;gap:.35rem;padding-bottom:.35rem;border-bottom:1px solid #e4e7eb}.workspace-bundle-group:last-child{border-bottom:0}.workspace-bundle-variants{justify-self:start;padding:.2rem .35rem;color:#285f8f;font-size:.82rem}.clips-list-panel{position:sticky;top:.75rem;max-height:calc(100vh - 1.5rem);overflow:auto}.workspace-bundle-title{font-size:.95rem;line-height:1.35}.workspace-bundle-rubric,.workspace-bundle-meta,.workspace-bundle-next{color:#52606d;font-size:.85rem}.workspace-bundle-block{color:#9b2c2c;font-size:.85rem}.workspace-detail-head{display:grid;gap:.35rem;margin-bottom:.75rem}.workspace-detail-title{margin:0;font-size:1.05rem}.clip-script-summary{display:grid;gap:.35rem;margin:.75rem 0;padding:.75rem;border:1px solid #d9e2ec;border-radius:8px;background:#f8fafc;font-size:.9rem}.clip-script-summary h4{margin:0 0 .25rem}.clip-script-summary p{margin:0;color:#334e68}.workspace-summary .meta-card label{color:#52606d;font-size:.8rem}.panel{background:#fff;border:1px solid #d9e2ec;border-radius:10px;padding:1rem}.panel h2{margin:0 0 .75rem;font-size:1rem}.bundle-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.bundle-item{width:100%;text-align:left;border:1px solid #d9e2ec;background:#fff;border-radius:8px;padding:.75rem;cursor:pointer}.bundle-item.active{border-color:#3e7cb1;background:#ebf4ff}.bundle-item strong{display:block;font-size:.9rem}.bundle-item span{display:block;margin-top:.25rem;color:#627d98;font-size:.8rem}.meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.meta-card{background:#f7fafc;border-radius:8px;padding:.75rem}.meta-card label{display:block;font-size:.75rem;color:#627d98;margin-bottom:.25rem}.clips{display:grid;gap:.75rem}.clip-card{border:1px solid #d9e2ec;border-radius:8px;padding:.75rem}.clip-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.clip-head h3{margin:0;font-size:.95rem}.badge{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.75rem;background:#e3f8ff;color:#0b69a3}button.produce,a.produce{display:inline-flex;align-items:center;justify-content:center;margin-top:.75rem;border:none;border-radius:8px;background:#127fbf;color:#fff;padding:.5rem .75rem;cursor:pointer;font:inherit;text-decoration:none}button.produce:disabled{opacity:.6;cursor:not-allowed}.state-box{padding:1rem;border-radius:8px;background:#f7fafc;color:#52606d}.state-box.error{background:#ffe3e3;color:#9b1c1c}.state-box.success{background:#e3fcec;color:#0f5132}.discovery-toolbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:end;margin-bottom:1rem}.discovery-toolbar label{display:grid;gap:.25rem;font-size:.8rem;color:#52606d}.discovery-toolbar input[type=text],.discovery-toolbar input[type=number]{border:1px solid #d9e2ec;border-radius:6px;padding:.45rem .6rem;font:inherit;min-width:12rem}.discovery-toolbar .checkbox-label{display:flex;align-items:center;gap:.35rem;padding-bottom:.45rem}.bundle-create-form{display:grid;gap:.35rem;margin-top:.5rem;padding-top:.5rem;border-top:1px dashed #d9e2ec}.bundle-create-form input,.bundle-create-form textarea{border:1px solid #d9e2ec;border-radius:6px;padding:.35rem .5rem;font:inherit;font-size:.8rem}.bundle-create-form textarea{min-height:2.5rem;resize:vertical}.discovery-success-panel{margin-bottom:1rem;display:grid;gap:.35rem}.discovery-success-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.35rem}.discovery-rubrics-panel{margin-bottom:1rem}.discovery-rubrics-table td{vertical-align:top}.discovery-rubrics-table tr.selected-row{background:#6366f114}.factory-kanban-board{display:flex;gap:.75rem;overflow-x:auto;padding-bottom:.5rem}.factory-kanban-column{min-width:280px;max-width:320px;flex:0 0 300px;background:#0f172a59;border:1px solid rgba(148,163,184,.25);border-radius:10px;padding:.65rem}.factory-kanban-column header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.factory-kanban-column h3{margin:0;font-size:.95rem}.factory-kanban-column ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.65rem}.factory-kanban-card{border:1px solid rgba(148,163,184,.3);border-radius:8px;padding:.65rem;background:#1e293b73;display:flex;flex-direction:column;gap:.25rem}.factory-kanban-card-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.35rem}.channel-ai-decisions-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.channel-ai-decision-card{border:1px solid var(--border);border-radius:6px;padding:.5rem;background:#fff}.workspace-bundle-mode{display:inline-block;margin-top:.15rem}.workspace-bundle-summary,.workspace-bundle-offer,.workspace-bundle-stage{display:block;font-size:.88rem;color:#52606d}.bundle-hypothesis-grid{margin:.75rem 0}.bundle-hypothesis-actions{margin:.75rem 0 1rem}.decision-feed summary{cursor:pointer;font-weight:600}.decision-feed-technical{margin-top:.5rem}.channel-ai-decisions.compact h3{font-size:.95rem}.channel-pipeline-map.compact .channel-pipeline-core{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:.5rem 0 0;padding:0}.channel-pipeline-map .channel-pipeline-core{list-style:none;margin:.75rem 0 0;padding:0;display:grid;gap:.5rem}.channel-pipeline-branches{margin-top:.75rem;padding-top:.5rem;border-top:1px dashed var(--border)}.channel-pipeline-branches ul{list-style:none;margin:.35rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem}.channel-pipeline-branches li{border:1px solid var(--border);border-radius:999px;padding:.15rem .5rem;font-size:.85rem}.channel-branch-blocked{opacity:.65;text-decoration:line-through}.channel-pipeline-feedback,.v1-flowchart{margin-top:.5rem}.v1-flow-track{display:flex;flex-wrap:wrap;align-items:stretch;gap:.35rem;margin-top:.75rem}.v1-flow-track-tail{margin-top:.5rem;padding-top:.5rem;border-top:1px dashed #cbd5e1}.v1-flow-segment{display:flex;align-items:center;gap:.35rem;flex:1 1 140px;min-width:0}.v1-flow-arrow{color:#64748b;font-size:1.1rem;flex:0 0 auto;-webkit-user-select:none;user-select:none}.v1-flow-node{flex:1 1 auto;min-width:0;text-align:left;border:1px solid #e2e8f0;border-radius:10px;padding:.5rem .65rem;background:#fff;cursor:pointer}.v1-flow-node-label{display:block;font-weight:600;font-size:.88rem;margin-bottom:.2rem}.v1-flow-node-summary{display:block;font-size:.8rem;color:#475569;line-height:1.35}.v1-flow-node-emphasis{border-color:#7dd3fc;background:#f0f9ff;box-shadow:0 0 0 1px #bae6fd}.factory-pipeline-ok.v1-flow-node{border-left:3px solid #5cb85c}.factory-pipeline-attention.v1-flow-node{border-left:3px solid #f0ad4e}.factory-pipeline-blocked.v1-flow-node{border-left:3px solid #d9534f}.factory-pipeline-idle.v1-flow-node{border-left:3px solid #cbd5e1}.v1-flow-fork{margin:.75rem 0 0;padding:.65rem .75rem;border:1px dashed #94a3b8;border-radius:10px;background:#f8fafc}.v1-flow-fork-title{margin:0 0 .5rem;font-size:.88rem;color:#334155}.v1-flow-fork-options{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem}.v1-flow-fork-option{border:1px solid #e2e8f0;border-radius:999px;padding:.2rem .55rem;font-size:.82rem;background:#fff;color:#475569}.v1-flow-fork-option-active{border-color:#0369a1;background:#e0f2fe;color:#0c4a6e;font-weight:600}.v1-flow-feedback{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.5rem .65rem;border-radius:8px;background:#f1f5f9;font-size:.88rem}.v1-flow-feedback-icon{font-size:1.25rem;color:#0369a1}.channel-pipeline-map.compact .v1-flow-node-summary{font-size:.75rem}.channel-pipeline-map.compact .v1-flow-fork-title{font-size:.82rem}.admin-tab-role{margin:.25rem 0 0;color:#52606d;font-size:.9rem}.analytics-feedback-panel{margin-bottom:1rem}.analytics-ai-decisions-list{margin:.5rem 0 0;padding-left:1.25rem}.publish-execution-section{margin-bottom:.75rem}.publish-blocker-group{margin-top:.5rem}.publish-cpa-blocked{border-color:#d97706}.ops-status-summary{margin:1rem 0}.ops-status-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.5rem;margin-top:.5rem}.ops-status-card{border:1px solid var(--border);border-radius:8px;padding:.5rem;background:#fff}.ops-status-card label{display:block;font-size:.8rem;color:#52606d}.ops-status-error{border-color:#e12d39}.ops-status-warning{border-color:#f0b429}.ops-status-ok{border-color:#3ebd93}.video-production-queue-board.full-width{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.video-production-queue-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem;margin-top:.75rem}.video-production-queue-column{border:1px solid var(--border);border-radius:8px;padding:.5rem;background:var(--panel-bg, #fafafa)}.video-production-queue-column header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5rem}.video-production-queue-column h3{margin:0;font-size:.95rem}.video-production-queue-column ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.video-production-queue-card{border:1px solid var(--border);border-radius:6px;padding:.5rem;background:#fff;display:flex;flex-direction:column;gap:.25rem}.video-quality-inline{border-left:3px solid #0f766e;padding-left:.45rem}.video-quality-plan{display:grid;gap:.75rem;margin:1rem 0;border-left:4px solid #0f766e}.video-quality-plan h3{margin:0}.video-quality-plan ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;list-style:none;margin:0;padding:0}.video-quality-plan li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;border:1px solid #d8e2ee;border-radius:8px;background:#fff;padding:.75rem}.video-quality-plan li>span{display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:999px;background:#ccfbf1;color:#0f766e;font-weight:700}.video-quality-plan strong{display:block}.video-quality-plan p{margin:.3rem 0 0;color:#526276}.discovery-shortlist{display:flex;flex-direction:column;gap:1rem}.discovery-shortlist-header{display:flex;flex-direction:column;gap:.35rem}.discovery-shortlist-cards{list-style:none;margin:0;padding:0;display:grid;gap:1rem}.discovery-shortlist-card{border:1px solid rgba(148,163,184,.35);border-radius:10px;padding:1rem;background:#fff}.discovery-shortlist-card.rejected{opacity:.72}.discovery-shortlist-card-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.discovery-shortlist-card h3{margin:0 0 .35rem;font-size:1.05rem}.discovery-shortlist-badges{display:flex;flex-wrap:wrap;gap:.35rem;align-content:flex-start}.discovery-shortlist-badges .badge{border:1px solid rgba(148,163,184,.45);border-radius:999px;padding:.15rem .55rem;font-size:.8rem;white-space:nowrap}.discovery-shortlist-badges .badge.warn{border-color:#fbbf24cc;color:#fbbf24}.discovery-shortlist-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin:0 0 .75rem}.discovery-shortlist-facts dt{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;opacity:.75}.discovery-shortlist-facts dd{margin:.15rem 0 0}.discovery-shortlist-actions{display:flex;flex-direction:column;gap:.5rem}.bundle-create-form.compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem}.asset-preview-panel{margin-top:.75rem;display:grid;gap:.75rem}.asset-preview-meta{font-size:.9rem;color:#52606d}.asset-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.asset-preview-item{display:grid;gap:.35rem;padding:.5rem;border:1px solid #e4e7eb;border-radius:8px;background:#fff}.asset-preview-video{width:100%;max-height:220px;border-radius:6px;background:#000}.asset-preview-audio{width:100%}.asset-preview-cover{width:100%;max-height:180px;object-fit:cover;border-radius:6px;background:#edf2f7}.asset-download-link{font-size:.85rem;color:#3e7cb1}.package-assets{margin-top:.75rem}.package-assets h5{margin:0 0 .35rem}.ops-status-panel{margin-top:1rem}.ops-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.ops-meta{color:#52606d;font-size:.85rem}.publish-blocked-panel{margin:.75rem 0;padding:.75rem;border:1px solid #f0c36d;border-radius:8px;background:#fffaf0}.readiness-blockers,.readiness-warnings{margin:.35rem 0 0;padding-left:1.1rem;font-size:.9rem}.readiness-blockers li{color:#b91c1c}.readiness-warnings li{color:#b45309}.readiness-panel{margin-top:.75rem;padding:.5rem;border:1px solid #e4e7eb;border-radius:8px;background:#fff}.farm-handoff-panel,.produce-preflight-panel,.package-timeline-panel{margin-top:.75rem;padding:.75rem;border:1px solid #d9e2ec;border-radius:8px;background:#f8fafc}.farm-handoff-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.farm-handoff-files{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.farm-target-select{display:flex;flex-direction:column;gap:.35rem;margin:.5rem 0}@media (max-width: 800px){.layout,.clips-workspace-main{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-filters{grid-template-columns:1fr}}.factory-control-center{display:grid;gap:1.25rem}.factory-status-banner{padding:.9rem 1rem;border-radius:8px;background:#f0f4f8;display:grid;gap:.35rem}.factory-status-banner.factory-status-attention{background:#fff7e6}.factory-status-banner.factory-status-stalled{background:#ffe8e8}.factory-kpi-block h3,.factory-subsystems h3,.factory-kanban-summary h3{margin:0 0 .75rem}.factory-subsystem.factory-subsystem-warning{border-left:3px solid #f0ad4e}.factory-subsystem.factory-subsystem-error{border-left:3px solid #d9534f}.factory-kanban-summary-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem}.factory-kanban-summary-list li{display:flex;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;background:#f8fafc;border-radius:6px}.factory-pipeline-map{margin:1rem 0}.factory-mode-pill{display:inline-block;padding:.25rem .6rem;border-radius:999px;background:#e8f4fc;font-size:.85rem}.factory-pipeline-stages{list-style:none;padding:0;margin:.75rem 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem}.factory-pipeline-stage-btn{width:100%;text-align:left;border:1px solid #d8dee6;border-radius:8px;padding:.6rem .75rem;background:#fff;cursor:pointer}.factory-pipeline-stage-btn strong{display:block;margin-bottom:.25rem}.factory-pipeline-ok .factory-pipeline-stage-btn{border-left:3px solid #5cb85c}.factory-pipeline-attention .factory-pipeline-stage-btn{border-left:3px solid #f0ad4e}.factory-pipeline-blocked .factory-pipeline-stage-btn{border-left:3px solid #d9534f}.factory-pipeline-idle .factory-pipeline-stage-btn{border-left:3px solid #cbd5e1}.factory-tech-readiness{font-size:.9rem;color:#475569;margin-top:.5rem}.factory-finance-secondary{margin:1rem 0}.publication-path-steps{margin:.5rem 0 0 1rem}.publication-path-steps .blocked-step{color:#b45309;font-weight:600}.workspace-bundle-route{display:block;color:#0369a1;font-size:.9rem}.factory-job-human{max-width:280px;font-size:.9rem}.empty-state-hint .empty-state-steps{margin:.5rem 0 0 1.25rem}.demo-data-banner{padding:.5rem .75rem;border-radius:6px;background:#fff7ed;border:1px solid #fdba74}.readiness-layers-list{list-style:none;padding:0;margin:.75rem 0 0;display:grid;gap:.5rem}.readiness-layer-btn{width:100%;text-align:left;border:1px solid #e2e8f0;border-radius:8px;padding:.5rem .75rem;background:#fff;cursor:pointer}.readiness-layer-blocked .readiness-layer-btn{border-color:#fecaca;background:#fff1f2}.organic-pilot-steps,.bundle-line-stages{margin:.75rem 0 0 1rem}.organic-pilot-step,.bundle-line-stage{display:flex;flex-wrap:wrap;gap:.35rem .5rem;align-items:baseline;margin-bottom:.35rem}.bundle-line-done strong{color:#15803d}.bundle-line-current strong{color:#0369a1}.bundle-line-blocked strong{color:#b45309}.bundle-safe-next{margin-top:.75rem}.bundle-tech-details{margin-top:1rem}.discovery-fit-bullets{margin:.25rem 0 0 1rem;padding:0}.discovery-fit-bullets.warn li{color:#b45309}.discovery-shortlist-card.non-shorts{opacity:.85;border-left:3px solid #f59e0b}.workspace-bundle-item.demo-bundle{border-left:3px solid #f59e0b}.factory-control-deck{display:grid;gap:.75rem;margin-bottom:1rem}.factory-portfolio-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:start}.factory-portfolio-hero h3,.factory-portfolio-main h3,.factory-active-processes h3,.factory-process-cycle h3{margin-top:0}.section-eyebrow{display:block;color:#64748b;font-size:.82rem;font-weight:700;margin-bottom:.35rem;text-transform:uppercase}.factory-portfolio-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.9fr);gap:.75rem}.factory-portfolio-main h3{font-size:1.35rem;line-height:1.25}.factory-portfolio-summary{display:grid;gap:.75rem}.factory-portfolio-metrics{display:grid;grid-template-columns:repeat(5,minmax(72px,1fr));gap:.5rem}.factory-portfolio-metrics div{border-radius:8px;background:#f8fafc;padding:.6rem}.factory-portfolio-metrics label{display:block;color:#64748b;font-size:.78rem}.factory-portfolio-metrics strong{display:block;font-size:1.2rem;margin-top:.2rem}.factory-platform-strip{display:flex;flex-wrap:wrap;gap:.4rem}.factory-platform-strip span{border-radius:999px;background:#e8f3ff;color:#1d4f8f;padding:.2rem .55rem;font-size:.86rem}.factory-process-list{display:grid;gap:.45rem}.factory-process-row{display:grid;grid-template-columns:130px minmax(160px,1fr) minmax(160px,1.1fr) 110px minmax(180px,1.2fr);gap:.75rem;align-items:center;border:1px solid #d8e2ee;border-radius:8px;background:#fff;color:#1f2937;cursor:pointer;padding:.75rem;text-align:left}.factory-process-row:hover{border-color:#60a5fa;box-shadow:0 6px 18px #0f172a14}.factory-process-row span{color:#526276}.factory-process-row em{color:#0f766e;font-style:normal}.factory-process-cycle ol{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:.5rem;list-style:none;margin:.75rem 0;padding:0}.factory-process-cycle li{border:1px solid #d8e2ee;border-left:4px solid #60a5fa;border-radius:8px;background:#fff;font-weight:700;padding:.65rem}.factory-deck-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.factory-deck-pills .blocked{background:#fef2f2;border-color:#fecaca;color:#991b1b}.factory-startup-launch{display:grid;gap:.85rem;border-left:4px solid #0ea5e9}.factory-startup-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:start}.factory-startup-header h3{margin:0;font-size:1.35rem}.factory-startup-score{min-width:110px;border-radius:8px;background:#e8f3ff;color:#1d4f8f;padding:.65rem;text-align:center}.factory-startup-score.done{background:#dcfce7;color:#166534}.factory-startup-score strong,.factory-startup-score span{display:block}.factory-startup-score strong{font-size:1.3rem}.factory-startup-progress{height:.55rem;overflow:hidden;border-radius:999px;background:#e2e8f0}.factory-startup-progress span{display:block;height:100%;border-radius:inherit;background:#0ea5e9}.factory-startup-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;list-style:none;margin:0;padding:0}.factory-startup-steps li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;border:1px solid #d8e2ee;border-radius:8px;background:#fff;padding:.65rem}.factory-startup-steps li.done{border-color:#86efac;background:#f0fdf4}.factory-startup-step-number{display:grid;place-items:center;width:1.65rem;height:1.65rem;border-radius:999px;background:#e2e8f0;color:#334155;font-weight:700}.factory-startup-steps li.done .factory-startup-step-number{background:#22c55e;color:#fff}.factory-startup-steps strong,.factory-startup-steps em{display:block}.factory-startup-steps p{margin:.35rem 0;color:#526276;font-size:.9rem}.factory-startup-steps em{color:#0f766e;font-size:.82rem;font-style:normal}.factory-startup-next{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border-radius:8px;background:#f8fafc;padding:.75rem}.factory-startup-next p{margin:.25rem 0;color:#526276}.factory-startup-next span{color:#64748b;font-size:.9rem}.factory-next-actions{margin:.5rem 0 0 1rem;padding:0}.factory-next-action{margin-bottom:.5rem}@media (max-width: 1100px){.factory-portfolio-hero,.factory-portfolio-grid{grid-template-columns:1fr}.factory-portfolio-metrics,.factory-process-cycle ol,.factory-startup-steps,.video-quality-plan ol{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-startup-header,.factory-startup-next,.factory-process-row{grid-template-columns:1fr}}@media (max-width: 640px){.factory-startup-steps{grid-template-columns:1fr}}.placement-summary-grid{margin-top:.75rem}.placement-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;margin-top:.75rem}.placement-card{display:grid;gap:.45rem;text-align:left;border:1px solid #d8e2ee;border-left:4px solid #94a3b8;border-radius:8px;background:#fff;padding:.85rem;color:inherit;cursor:pointer}.placement-card:hover{border-color:#60a5fa;box-shadow:0 6px 18px #0f172a14}.placement-card p{margin:0;color:#526276;overflow-wrap:anywhere}.placement-card-head{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.placement-card-head span{border-radius:999px;background:#e8f3ff;color:#1d4f8f;padding:.15rem .45rem;font-size:.82rem;white-space:nowrap}.placement-card-attention{border-left-color:#f59e0b}.placement-card-waiting_metrics{border-left-color:#60a5fa}.placement-card-warmup{border-left-color:#22c55e}.placement-card-content{border-left-color:#8b5cf6}.placement-cycle-results{margin:.5rem 0 0;padding-left:1.1rem;color:#334155}.placement-cycle-results li{margin-bottom:.35rem;overflow-wrap:anywhere}.placement-portfolio-top{margin-top:.75rem}.placement-card-farm{font-size:.88rem;color:#0f766e}.placement-test-badge{justify-self:start;border-radius:999px;background:#fef3c7;color:#92400e;padding:.1rem .45rem;font-size:.78rem}.muted-inline{color:#64748b;font-size:.9rem}.placement-detail-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;justify-content:flex-end;z-index:40;padding:1rem}.placement-detail-panel{width:min(520px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:#fff;border-radius:12px;border:1px solid #d8e2ee;box-shadow:0 18px 48px #0f172a2e;padding:1rem;display:grid;gap:.85rem}.placement-detail-head{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.placement-detail-head h4{margin:0}.placement-detail-head p{margin:.25rem 0 0;color:#526276}.placement-detail-grid{display:grid;gap:.75rem}.placement-detail-grid section{border:1px solid #e8eef5;border-radius:8px;padding:.7rem .8rem;background:#f8fafc}.placement-detail-grid h5{margin:0 0 .35rem;font-size:.92rem}.placement-detail-grid p,.placement-detail-grid ul{margin:0;color:#334155;overflow-wrap:anywhere}.placement-detail-history ul{padding-left:1.1rem}.placement-detail-actions{margin-top:.25rem}@media (max-width: 720px){.placement-detail-backdrop{padding:.5rem;align-items:flex-end}.placement-detail-panel{width:100%;max-height:92vh;border-bottom-left-radius:0;border-bottom-right-radius:0}}.first-pilot-status{display:grid;gap:.75rem}.first-pilot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem}.first-pilot-grid .meta-card{min-width:0}.first-pilot-grid .meta-card span,.first-pilot-grid .meta-card div{overflow-wrap:anywhere}.factory-pipeline-stages.compact{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:.5rem 0 0;padding:0}.factory-pipeline-stages.compact .factory-pipeline-stage-btn{font-size:.85rem;padding:.25rem .5rem}.factory-secondary-details{margin-top:1rem}.kanban-finance-details{margin:.35rem 0;font-size:.9rem}.channel-readiness-checklist-list{margin:.5rem 0 0 1rem}.channel-readiness-checklist-list .pending{color:#b45309}.wizard-steps-hint{margin:.5rem 0 0 1.25rem}.wizard-form-grid{display:grid;gap:.5rem;margin-top:.75rem}.channels-control-page{display:grid;gap:1rem;margin-top:1.5rem;width:100%;min-width:0}.projects-registry-page{display:grid;gap:.75rem;width:100%;min-width:0}.registry-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%}.projects-channels-subnav{display:inline-flex;align-items:center;gap:.75rem}.projects-channels-subnav a{color:#52606d;font-size:.9rem;font-weight:700;text-decoration:none}.projects-channels-subnav a.active,.projects-channels-subnav a:hover,.projects-channels-subnav a:focus-visible{color:#1d4e89}.projects-registry-table-wrap,.channels-registry-table-wrap{width:100%;min-width:0;overflow-x:auto}.projects-registry-table,.channels-registry-table{width:100%;border-collapse:collapse;background:#fff;font-size:.82rem}.projects-registry-table{table-layout:fixed}.projects-registry-table th,.projects-registry-table td,.channels-registry-table th,.channels-registry-table td{padding:.32rem .4rem;border-bottom:1px solid #e4e7eb;text-align:left;vertical-align:middle}.projects-registry-table th,.channels-registry-table th{position:sticky;top:0;z-index:1;color:#52606d;background:#e8eef3;font-weight:600;white-space:nowrap}.projects-registry-table tbody tr:hover,.channels-registry-table tbody tr:hover{background:#f0f7ff}.channels-registry-table .col-fit{width:1%;white-space:nowrap}.projects-registry-table .col-fit{width:6%;white-space:nowrap}.projects-registry-table .col-project{width:14%}.channels-registry-table .col-medium{width:12%}.channels-registry-table .col-fill{width:22%}.projects-registry-table .col-platform{min-width:0;overflow:hidden}.projects-registry-table .col-activities{width:18%;min-width:12rem}.devices-registry-model{color:#52606d;font-size:.75rem;font-weight:600}.devices-registry-activities{display:grid;gap:.12rem;font-size:.75rem;line-height:1.25}.devices-registry-activity{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1f2933}.device-detail-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}[data-testid=device-overview] input,[data-testid=device-overview] select,[data-testid=device-overview] textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d9e2ec;border-radius:6px;padding:.35rem .5rem;font:inherit;font-size:.82rem}[data-testid=device-overview] textarea{min-height:4rem;resize:vertical}.device-activity-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.5rem 1rem}.device-activity-details span{display:block;color:#52606d;font-size:.72rem;font-weight:650}.device-activity-details strong{font-size:.82rem;word-break:break-word}.device-evidence-path{display:block;margin-top:.15rem;color:#7b8794;font-size:.72rem;font-weight:600;word-break:break-all}.registry-entity-link{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;color:inherit;font-weight:700;text-decoration:none;white-space:nowrap}.registry-entity-link:hover,.registry-entity-link:focus-visible{color:#1d4e89;text-decoration:underline;text-decoration-skip-ink:none}.registry-entity-link .registry-public-id{color:#7b8794;font-weight:600;font-variant-numeric:tabular-nums}.channels-registry-channel{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%}.registry-status-mark{display:inline-flex;margin:0;padding:0;color:#52606d;font-size:13px;font-weight:800;line-height:1}.registry-status-mark.tone-ok{color:#1b7f4a}.registry-status-mark.tone-attention{color:#c47b12}.registry-status-mark.tone-blocked{color:#c0392b}.registry-status-mark.tone-progress{color:#7b8794}.projects-registry-niche{color:#52606d;white-space:nowrap}.projects-registry-accounts{display:grid;gap:.15rem;justify-items:start;min-width:0}.projects-registry-account{display:inline-flex;align-items:center;gap:3px;max-width:100%;min-width:0;font-weight:650;white-space:nowrap}.projects-registry-handle{min-width:0;overflow:hidden;text-overflow:ellipsis;color:inherit;text-decoration:none}.projects-registry-handle:hover,.projects-registry-handle:focus-visible{color:#1d4e89;text-decoration:underline}.projects-registry-add{color:#8a97a3;background:none;border:0;padding:0;font-weight:600;text-decoration:none;cursor:pointer}.projects-registry-add:hover,.projects-registry-add:focus-visible{color:#5b6b78;text-decoration:underline}.channels-registry-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem .75rem}.channels-registry-filters label{display:grid;gap:.2rem;color:#52606d;font-size:.75rem;font-weight:650}.channels-registry-filters select,.channels-registry-filters input{min-width:9rem;padding:.28rem .4rem;border:1px solid #d9e2ec;border-radius:6px}.channels-registry-search{flex:1 1 12rem}.channels-registry-search input{width:100%}.channels-registry-status{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.channels-registry-empty{color:#7b8794}.channels-registry-table th.numeric,.channels-registry-table td.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.channels-registry-next{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-context-card{display:grid;gap:1rem;border-left:5px solid #1687c7;background:linear-gradient(135deg,#f4faff,#fff 72%)}.project-context-kicker{color:#1572a3;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.project-context-heading h3{margin:.25rem 0 0}.project-context-actions{align-items:flex-end;flex-wrap:wrap}.project-context-actions label{min-width:min(22rem,100%)}.project-context-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.project-context-summary>div,.project-inheritance-preview{display:grid;gap:.3rem;min-width:0;padding:.75rem;border:1px solid #d7e4ed;border-radius:10px;background:#fff}.project-context-summary span,.project-inheritance-preview span{color:#607488;font-size:.82rem}.project-context-summary strong{overflow:hidden;text-overflow:ellipsis}.project-editor-card,.channel-onboarding-card{border:1px solid #a9d1e7;background:#f8fcff}.project-inheritance-preview{margin-top:1rem;border-left:4px solid #169354}.channel-strategy-overrides{margin-top:1rem;padding:.75rem;border:1px solid #d8e2ef;border-radius:10px;background:#fff}.channel-strategy-overrides>summary{cursor:pointer;font-weight:700}.channel-onboarding-actions{justify-content:flex-end;margin-top:1rem}.channels-summary-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(320px,1fr);gap:1rem;align-items:stretch}.channels-list-layout{grid-template-columns:1fr}.channels-list-layout .channel-card-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.channels-main-card{min-width:0}.section-heading-row{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.channel-card-list{display:grid;gap:.75rem;margin-top:.75rem}.channel-card{display:grid;gap:.3rem;width:100%;min-height:7.5rem;padding:.85rem;text-align:left;color:inherit;background:#fff;border:1px solid #d8e2ef;border-radius:8px;cursor:pointer;text-decoration:none}.channel-card.selected{border-color:#1687c7;box-shadow:0 0 0 2px #1687c71f}.channel-card:hover{border-color:#1687c7;box-shadow:0 8px 22px #224a6817;transform:translateY(-1px)}.channel-workspace-header{display:grid;gap:1rem;overflow:hidden;border:1px solid #c9dbe8;border-radius:14px;background:#fff;box-shadow:0 8px 28px #234c6b14}.channel-workspace-back{width:fit-content;margin:1rem 1rem 0;padding:0;color:#126f9f;border:0;background:transparent;font-weight:700;cursor:pointer;text-decoration:none}.channel-workspace-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:0 1.25rem}.channel-workspace-title-row h2{margin:.2rem 0 .15rem}.channel-workspace-title-row p{margin:0;color:#607488}.channel-workspace-tabs{display:flex;gap:.25rem;overflow-x:auto;padding:0 1rem;border-top:1px solid #e2eaf0;background:#f7fafc}.channel-workspace-tabs a{display:block;flex:0 0 auto;padding:.85rem .8rem .75rem;color:#52677a;border:0;border-bottom:3px solid transparent;background:transparent;font-weight:700;cursor:pointer;text-decoration:none}a.secondary.compact{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .5rem;border:1px solid #cbd8e2;border-radius:8px;background:#fff;color:#31566d;font-size:.75rem;font-weight:700;text-decoration:none}.channel-workspace-tabs a:hover{color:#126f9f}.channel-workspace-tabs a.active{color:#0f6f9f;border-bottom-color:#1687c7;background:#fff}.channel-overview-panel,.channel-content-settings,.channel-device-panel,.channel-history-panel{display:grid;gap:1rem}.channel-overview-summary,.channel-device-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.channel-overview-summary>div,.channel-device-summary>div{display:grid;gap:.35rem;min-width:0;padding:.85rem;border:1px solid #dce7ef;border-radius:10px;background:#f8fbfd}.channel-overview-summary span,.channel-device-summary span{color:#607488;font-size:.82rem}.channel-overview-summary strong,.channel-device-summary strong{overflow-wrap:anywhere}.channel-overview-action{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #b9dbed;border-radius:12px;background:#eff9fe}.channel-overview-action>div{display:grid;gap:.25rem}.channel-overview-action span{color:#52677a;font-size:.88rem}.channel-audience-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-width:0;padding:.9rem 1rem;border:1px solid #bfe1d0;border-left:4px solid #1e9a64;border-radius:10px;background:#f3fbf7}.channel-audience-summary>div{display:grid;gap:.3rem;min-width:0}.channel-audience-summary span,.channel-audience-summary small{color:#526f61}.channel-audience-summary strong{line-height:1.45;overflow-wrap:anywhere}.channel-audience-summary a{flex:0 0 auto}.channel-device-assignment{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:.75rem;align-items:end}.channels-related-links{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;color:#607488;border:1px dashed #cbd9e4;border-radius:10px;background:#fbfdff;font-size:.88rem}.channel-card-title{font-size:1.05rem;font-weight:700}.channel-card-meta{color:#546779;font-size:.92rem}.channel-status-pill{width:fit-content;margin-top:.25rem;padding:.22rem .55rem;border-radius:999px;font-size:.82rem;font-weight:700}.channel-status-pill.ok{background:#e7f8ee;color:#11613a}.channel-status-pill.warn{background:#fff7e6;color:#9a5b00}.channel-status-pill.info{background:#e8f4fb;color:#0d628f}.channel-primary-action{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #b9dbed;border-left:5px solid #1687c7;border-radius:12px;background:#eff9fe}.channel-primary-action>div{display:grid;gap:.3rem}.channel-primary-action.warn{border-left-color:#d97706;background:#fffaf0}.channel-primary-action.ok{border-left-color:#169b62;background:#f0fbf5}.channel-offer-statuses{display:flex;flex-wrap:wrap;gap:.45rem}.channel-advanced-settings>summary{cursor:pointer;font-weight:700}.publication-workspace{display:grid;gap:1rem}.publication-workspace-tabs{display:flex;gap:.35rem;padding:.35rem;border:1px solid #d8e4ec;border-radius:12px;background:#f5f8fb}.publication-workspace-tabs a{display:block;flex:1;padding:.75rem 1rem;border:0;border-radius:9px;background:transparent;color:#52677a;font-weight:700;cursor:pointer;text-align:center;text-decoration:none}.publication-workspace-tabs a.active{color:#0f6f9f;background:#fff;box-shadow:0 2px 10px #224a681f}.publication-workspace-body{min-width:0}.publication-blocked-notice{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.9rem 1rem;border:1px solid #efc784;border-left:4px solid #d58a12;border-radius:10px;background:#fff9ee}.publication-blocked-notice>div{display:grid;gap:.3rem;min-width:0}.publication-blocked-notice span,.publication-blocked-notice small{color:#775b2a}.publication-blocked-notice strong{overflow-wrap:anywhere}.publication-blocked-notice button{flex:0 0 auto}.publication-plan-workspace{display:grid;grid-template-columns:minmax(220px,.35fr) minmax(0,1fr);gap:1rem;margin-top:1rem}.publication-clip-picker{display:grid;align-content:start;gap:.5rem;padding-right:1rem;border-right:1px solid #dbe5ec}.publication-clip-picker button{padding:.75rem;text-align:left;border:1px solid #d8e2ef;border-radius:9px;background:#fff;cursor:pointer}.publication-clip-picker button.active{border-color:#1687c7;background:#eff8fd;box-shadow:inset 3px 0 #1687c7}.publication-plan-editor{min-width:0}.publication-plan-editor>h4{margin-top:0}.publication-advanced-file{margin-top:.75rem}.publication-advanced-file summary,.publication-technical-create summary{cursor:pointer;font-weight:700}.publication-job-list{display:grid;gap:.75rem}.publication-job-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem 1rem;padding:1rem;border:1px solid #d8e4ec;border-radius:12px;background:#fff}.publication-job-card.error{border-left:4px solid #c2413b}.publication-job-card h4{margin:.45rem 0 .2rem}.publication-job-card p{margin:.2rem 0}.publication-job-card details{grid-column:1 / -1}.discovery-advanced-filters{margin:.75rem 0}.discovery-advanced-filters>summary,.discovery-candidate-details>summary{cursor:pointer;font-weight:700}.discovery-candidate-details{margin:.75rem 0}.analytics-sales-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;margin:1rem 0}.analytics-sales-funnel>div{position:relative;display:grid;gap:.25rem;min-width:0;padding:.85rem;border:1px solid #cfe1ec;border-radius:12px;background:#f5fbfe}.analytics-sales-funnel>div>span{position:absolute;top:.6rem;right:.65rem;color:#8aa1b2;font-size:.78rem}.analytics-sales-funnel label{color:#52677a;font-size:.82rem}.analytics-sales-funnel strong{font-size:1.25rem;overflow-wrap:anywhere}.analytics-sales-funnel small{color:#607488}.analytics-sales-funnel .unavailable{background:#fafafa;border-style:dashed}@media (max-width: 900px){.publication-plan-workspace{grid-template-columns:1fr}.publication-clip-picker{border-right:0;border-bottom:1px solid #dbe5ec;padding:0 0 1rem}.publication-blocked-notice{align-items:stretch;flex-direction:column}.analytics-sales-funnel{grid-template-columns:1fr 1fr}.publication-job-card{grid-template-columns:1fr}}.trend-offer-link{margin:0 0 .9rem;padding:.8rem .9rem;border:1px solid var(--border-color, #dbe4ee);border-left:4px solid #64748b;border-radius:.7rem;background:#f1f5f9b8}.trend-offer-link.strong{border-left-color:#16a34a}.trend-offer-link.medium{border-left-color:#d97706}.trend-offer-link.weak,.trend-offer-link.offer_missing,.trend-offer-link.channel_missing{border-left-color:#dc2626}.trend-offer-link-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.45rem}.trend-offer-link p{margin:.25rem 0}.channel-offer-passport{margin:.9rem 0}.channel-offer-passport summary{cursor:pointer;font-weight:700}.channel-offer-passport>div{margin-top:.65rem}.channel-offer-passport ul{margin:.35rem 0 0;padding-left:1.25rem}.warmup-operator-overview{display:grid;gap:1rem;margin-top:1rem}.channel-next-events{margin:1rem 0;padding:1rem;border:1px solid #b9d7e8;border-radius:12px;background:linear-gradient(135deg,#f5fbff,#eef8fd)}.channel-next-events-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.channel-next-events-heading h4,.channel-next-events-heading p{margin:0}.channel-next-events-heading p{margin-top:.2rem;color:#607488}.channel-next-events-heading>span{padding:.25rem .6rem;border-radius:999px;background:#e2f2fb;color:#116493;font-size:.78rem;font-weight:700;white-space:nowrap}.channel-next-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.channel-next-event-card{display:grid;align-content:start;gap:.35rem;min-width:0;padding:.85rem;border:1px solid #d7e4ed;border-top:4px solid #2a86b8;border-radius:10px;background:#fff}.channel-next-event-card.ready{border-top-color:#169354}.channel-next-event-card.active{border-top-color:#d97706}.channel-next-event-card.muted{border-top-color:#94a3b8}.channel-next-event-label{display:flex;align-items:center;justify-content:space-between;gap:.5rem;color:#425c70;font-size:.82rem;font-weight:700}.channel-next-event-label small{padding:.15rem .42rem;border-radius:999px;background:#eef4f8;color:#526b7e;font-size:.7rem;white-space:nowrap}.channel-next-event-card>strong{color:#16354a;font-size:1.05rem;line-height:1.3}.channel-next-event-card>em{color:#1572a3;font-size:.82rem;font-style:normal;font-weight:700}.channel-next-event-card.ready>em{color:#147744}.channel-next-event-card>p{display:-webkit-box;overflow:hidden;margin:.15rem 0 0;color:#607488;font-size:.8rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.warmup-focus-card,.warmup-result-card,.warmup-upcoming-steps,.warmup-recent-history,.warmup-technical-history{padding:1rem;border:1px solid #d8e2ef;border-radius:10px;background:#fff}.warmup-focus-card{border-color:#7bbbe0;background:#f5fbff}.warmup-focus-card h4,.warmup-result-card h4,.warmup-upcoming-steps h4,.warmup-recent-history h4{margin:0}.warmup-upcoming-steps ol{display:grid;gap:.6rem;margin:.75rem 0 0;padding:0;list-style:none}.warmup-upcoming-steps li{display:grid;grid-template-columns:34px minmax(220px,1fr) auto;gap:.75rem;align-items:center;padding:.7rem;border:1px solid #e1e9f1;border-radius:8px;background:#f8fafc}.warmup-upcoming-steps li>div{display:grid;gap:.2rem}.warmup-upcoming-steps li>div span,.warmup-upcoming-steps li>div small{color:#607488}.warmup-step-number{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#dff2fc;color:#116493;font-weight:800}.warmup-session-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:.75rem;margin-top:.85rem}.warmup-session-grid>div{display:grid;gap:.25rem;padding:.65rem;border-radius:8px;background:#ffffffd9}.warmup-session-grid span{color:#607488;font-size:.82rem}.warmup-recent-history ul{display:grid;gap:0;margin:.75rem 0 0;padding:0;list-style:none}.warmup-recent-history li{display:grid;grid-template-columns:130px minmax(220px,1fr) 190px;gap:.75rem;align-items:center;padding:.65rem 0;border-bottom:1px solid #e7edf4}.warmup-recent-history li:last-child{border-bottom:0}.warmup-recent-history small{grid-column:2 / -1;color:#9a5b00}.warmup-history-status{width:fit-content;padding:.2rem .5rem;border-radius:999px;background:#eef3f8;color:#40566b;font-size:.8rem;font-weight:700}.warmup-history-status.done{background:#e7f8ee;color:#11613a}.warmup-history-status.failed,.warmup-history-status.paused{background:#fff3e0;color:#8a4b00}.warmup-technical-history>summary{cursor:pointer;font-weight:700}@media (max-width: 900px){.channel-next-events-grid{grid-template-columns:1fr}.channel-next-events-heading{align-items:stretch;flex-direction:column}.channel-next-events-heading>span{width:fit-content}.warmup-session-grid,.warmup-recent-history li,.warmup-upcoming-steps li{grid-template-columns:1fr}.warmup-recent-history small{grid-column:auto}}.selected-channel-summary{display:grid;gap:.75rem}.selected-channel-summary h4{margin:0;font-size:1.2rem}.channel-details-section>summary{cursor:pointer;font-weight:700;font-size:1.05rem}.channel-details-section>summary+*{margin-top:.75rem}.channel-connect-grid,.channel-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:.75rem}.channel-connect-grid .wide-field,.channel-editor-grid .wide-field{grid-column:1 / -1}.channel-monetization-panel{display:grid;gap:1rem}.channel-monetization-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}.channel-monetization-grid .wide-field{grid-column:1 / -1}.channel-monetization-grid textarea{min-height:88px;resize:vertical}.compact-checklist{margin-bottom:1rem}.channel-readiness-checklist-list .ok{color:#11613a}.attention-box{border-left:4px solid #f59e0b}.content-videos-workspace{display:grid;gap:1rem}.content-video-summary{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.content-video-layout{display:grid;gap:1rem;align-items:start}.content-video-list,.content-video-detail{min-width:0}.content-video-list{overflow-x:auto}.content-video-table{table-layout:fixed;width:100%}.content-video-table tbody>tr:not(.content-video-publications-row){cursor:pointer}.content-video-table td{vertical-align:top}.content-video-table .selected-row{background:#eaf5ff;outline:2px solid rgba(22,135,199,.2)}.content-video-col-video{width:29%}.content-video-col-production{width:13%}.content-video-col-publications{width:18%}.content-video-col-cost{width:11%}.content-video-col-views{width:9%}.content-video-col-next{width:20%}.content-video-cost-cell{text-align:right;white-space:nowrap}.content-video-platforms-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:.1rem 0;margin:0;color:inherit;font:inherit;cursor:pointer;text-align:left;display:inline-flex;align-items:center;gap:.28rem;width:max-content;max-width:100%}.content-video-platforms-toggle:hover .content-video-platform-icon.is-active{transform:translateY(-1px)}.content-video-platforms-toggle:hover .content-video-publications-chevron{color:#1f2937}.content-video-platform-icons{display:inline-flex;align-items:center;gap:.2rem;flex-wrap:nowrap;width:max-content;min-width:0}.content-video-publications-chevron{flex:0 0 auto;color:#64748b;font-size:.78rem;line-height:1;-webkit-user-select:none;user-select:none}.content-video-platform-icons.is-empty{cursor:default;width:max-content}.content-video-platform-icon{display:inline-flex;align-items:center;justify-content:center;width:1.05rem;height:1.05rem;flex:0 0 auto;transition:opacity .12s ease,filter .12s ease,transform .12s ease}.content-video-platform-icon svg{display:block;width:100%;height:100%}.content-video-platform-icon.is-inactive{color:#cbd5e1;opacity:.72;filter:grayscale(1)}.content-video-platform-icon.is-active.platform-youtube{color:red}.content-video-platform-icon.is-active.platform-instagram{color:#e4405f}.content-video-platform-icon.is-active.platform-tiktok{color:#111}.content-video-platform-icon.is-active.platform-likee{color:#fe2c55}.content-video-platform-icon.is-active.platform-pinterest{color:#e60023}.content-video-platform-icon.is-active.platform-vk{color:#07f}.content-video-platform-icon.is-active.platform-dzen{color:#000}.content-video-platform-icon.is-active.platform-rutube{color:#1aa1f0}.content-video-table th.content-video-views-cell,.content-video-table td.content-video-views-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.content-video-publications-row{cursor:default;background:#f7fafc}.content-video-publications-row td{font-size:.92em;padding-top:.4rem;padding-bottom:.4rem}.content-video-publication-meta{display:inline-flex;align-items:center;gap:.45rem;min-width:0;white-space:nowrap}.content-video-publication-channel,.content-video-publication-channel-link{color:#334155;overflow:hidden;text-overflow:ellipsis}.content-video-publication-channel-link{text-decoration:underline;text-underline-offset:.12em}.content-video-publication-published-at{white-space:nowrap;color:#475569}.content-video-publication-status-icon{display:inline-flex;align-items:center;justify-content:center;min-width:1.1rem;font-weight:600;line-height:1}.content-video-publication-status-icon.tone-ok{color:#17633b}.content-video-publication-status-icon.tone-warn{color:#9a3412}.content-video-publication-status-icon.tone-muted{color:#64748b}body.modal-open{overflow:hidden}.content-video-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172a8c}.content-video-detail{display:grid;gap:.85rem;padding:1rem;background:#fff;border:1px solid #d8e2ef;border-radius:8px;scroll-margin-top:1rem}.content-video-modal{position:relative;width:min(960px,calc(100vw - 2rem));max-height:min(860px,calc(100vh - 2rem));overflow:auto;box-shadow:0 24px 80px #0f172a40}.content-video-modal-close{position:absolute;top:.75rem;right:.75rem;width:2rem;height:2rem;padding:0;font-size:1.2rem;line-height:1}.content-video-detail h3,.content-video-detail h4{margin:0;padding-right:2.5rem}.content-video-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.video-quality-brief{border-left:4px solid #0f766e}.video-quality-score{align-self:flex-start;border-radius:999px;background:#ccfbf1;color:#0f766e;font-weight:700;padding:.35rem .7rem;white-space:nowrap}.video-quality-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;list-style:none;margin:0;padding:0}.video-quality-checks li{display:grid;gap:.25rem;border:1px solid #d8e2ef;border-radius:8px;padding:.65rem;background:#fff}.video-quality-checks li.passed{border-left:4px solid #0f766e}.video-quality-checks li.missing{border-left:4px solid #f59e0b}.video-quality-checks span{color:#526276;overflow-wrap:anywhere}.inline-state.attention{color:#92400e}.video-script-dl{display:grid;gap:.4rem;margin:0}.video-script-dl dt{font-weight:700;color:#334155}.video-script-dl dd{margin:0;color:#475569;overflow-wrap:anywhere}@media (max-width: 900px){.channels-summary-grid,.project-context-summary,.channel-overview-summary,.channel-device-summary,.channel-device-assignment,.channel-connect-grid,.channel-editor-grid,.channel-monetization-grid,.content-video-layout{grid-template-columns:1fr}.channel-monetization-grid .wide-field{grid-column:auto}.channel-workspace-title-row,.channel-overview-action,.channels-related-links{align-items:stretch;flex-direction:column}.channel-workspace-tabs{padding:0 .5rem}.channel-workspace-tabs a{padding-inline:.65rem}.content-video-detail{position:static}.content-video-modal-backdrop{align-items:stretch;padding:.5rem}.content-video-modal{width:100%;max-height:calc(100vh - 1rem)}.video-quality-checks{grid-template-columns:1fr}.section-heading-row{flex-direction:column}}.production-workspace{display:grid;gap:1rem;margin-bottom:1.5rem}.production-workspace-layout{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(0,1.4fr);gap:1rem;align-items:start}.production-workspace-layout-list{grid-template-columns:minmax(0,1fr)}.production-selected-preview{margin-top:0}.production-selected-preview-main{display:flex;justify-content:space-between;gap:var(--space-4);align-items:center;flex-wrap:wrap}.production-selected-preview-main h3{margin:0 0 var(--space-2)}.production-workspace-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0f172a7a;display:flex;align-items:center;justify-content:center;padding:24px}.production-workspace-modal{width:min(1400px,calc(100vw - 48px));height:calc(100vh - 48px);max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);background:#f4f6f8;border-radius:12px;border:1px solid #d9e2ec;overflow:auto;outline:none;box-shadow:0 18px 48px #0f172a47}.production-detail-modal{margin:0;border:none;border-radius:0;min-height:100%;background:#f4f6f8}.production-detail-modal .production-v2-header,.production-detail-modal .production-detail-header{position:sticky;top:0;z-index:2;background:#fff;padding:var(--space-3);margin:0;border-bottom:1px solid #d9e2ec}.production-v2-aside{display:grid;gap:var(--space-3);align-content:start}.production-v2-aside>.card-block,.production-v2-aside>.orchestrator-status-panel{margin-top:0}.production-v2-layout-modal{grid-template-columns:minmax(280px,.9fr) minmax(0,1.5fr);padding:0 var(--space-3) var(--space-3)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width: 1100px){.production-workspace-modal-backdrop{padding:12px}.production-workspace-modal{width:calc(100vw - 24px);height:calc(100vh - 24px);max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);border-radius:10px}.production-v2-layout-modal{grid-template-columns:1fr}}.production-list,.production-detail,.production-detail-placeholder{min-width:0}.production-list-table-wrap{overflow-x:auto}.production-list-table{width:100%;border-collapse:collapse;font-size:.85rem}.production-list-table th,.production-list-table td{border-bottom:1px solid #e4e7eb;padding:.5rem .4rem;text-align:left;vertical-align:top}.production-list-row-selected{background:#f0f7ff}.production-list-actions{display:flex;flex-wrap:wrap;gap:.35rem}.production-detail-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem}.production-pipeline-bar{margin-bottom:1rem}.production-pipeline-stages{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0 0 .5rem}.production-pipeline-stage{display:grid;gap:.15rem;padding:.5rem .65rem;border:1px solid #d9e2ec;border-radius:8px;background:#fff;min-width:88px}.production-pipeline-stage-implemented{border-color:#9fb3c8}.production-pipeline-stage-active{box-shadow:0 0 0 2px #3182ce33}.production-pipeline-stage-planned{opacity:.72;background:#f8fafc}.production-pipeline-stage-label{font-weight:600;font-size:.82rem}.production-pipeline-stage-status{font-size:.75rem;color:#52606d}.production-pipeline-arrow{display:none}.production-pipeline-note{margin:0}.production-stage-panels{display:grid;gap:.75rem}.production-stage-panel{border:1px solid #d9e2ec;border-radius:10px;padding:.85rem 1rem;background:#fff}.production-stage-panel-active{border-color:#9fb3c8}.production-stage-panel-planned{background:#f8fafc;border-style:dashed}.production-stage-panel-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.75rem}.production-stage-panel-header h3{margin:0 0 .25rem}.production-stage-panel-actions{display:flex;gap:.35rem}.production-stage-status{display:inline-block;font-size:.75rem;padding:.15rem .45rem;border-radius:999px;background:#edf2f7;color:#334e68}.production-stage-status-ready,.production-stage-status-generated,.production-stage-status-approved{background:#e6fffa;color:#234e52}.production-stage-status-generating{background:#fefcbf;color:#744210}.production-stage-status-planned,.production-stage-status-not_started{background:#edf2f7;color:#627d98}.production-stage-status-failed,.production-stage-status-rejected{background:#fed7d7;color:#9b2c2c}.production-stage-placeholder-note{margin:.5rem 0 0;font-size:.82rem;color:#627d98}.production-placeholder-fields{margin:0;padding-left:1.1rem;color:#52606d}.production-script-summary{margin-bottom:.75rem}.production-script-text{display:grid;gap:.5rem}.production-script-text label{display:block;font-size:.78rem;color:#627d98;margin-bottom:.15rem}.production-script-text p{margin:0}.production-script-scenes ol{margin:.35rem 0 0;padding-left:1.1rem}.production-script-scenes li{margin-bottom:.35rem}.production-script-scenes li span{display:block;color:#52606d;font-size:.85rem}.production-stage-future-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.75rem}.production-asset-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.production-asset-item{display:flex;justify-content:space-between;gap:.75rem;align-items:center;padding:.5rem .65rem;border:1px solid #e4e7eb;border-radius:8px}@media (max-width: 1100px){.production-workspace-layout,.production-v2-layout,.factory-v2-columns{grid-template-columns:1fr}}.legacy-nav-details{margin-top:var(--space-2)}.ui-status-badge,.provider-mode-badge{display:inline-flex;align-items:center;padding:.15rem .5rem;border-radius:999px;font-size:var(--font-size-sm);border:1px solid #d9e2ec;background:#fff}.ui-status-completed,.ui-status-ok{color:var(--color-ok);border-color:#8fd19e;background:#f3fbf6}.ui-status-failed,.ui-status-blocked,.ui-status-error{color:var(--color-blocked);border-color:#f5c2c0;background:#fff8f7}.ui-status-waiting_operator,.ui-status-attention{color:var(--color-attention);border-color:#f0d48a;background:#fffbeb}.ui-status-running,.ui-status-retrying,.ui-status-queued{color:var(--color-running);border-color:#b6d0f0;background:#f3f7fd}.ui-status-not_started,.ui-status-cancelled{color:var(--color-idle);border-color:#d9e2ec;background:#f8fafc}.ui-status-waiting_dependency,.ui-status-waiting_ai_decision,.ui-status-waiting_provider{color:var(--color-waiting);border-color:#9ed0e6;background:#f0f9fc}.provider-mode-real{color:var(--color-ok)}.provider-mode-mock{color:var(--color-attention)}.provider-mode-dry_run{color:var(--color-running)}.provider-mode-not_configured{color:var(--color-idle)}.factory-dashboard-v2,.production-v2-layout,.card-block,.normalized-error-card,.orchestrator-status-panel,.scene-workspace-card{border:1px solid #d9e2ec;border-radius:var(--radius-card);background:#fff;padding:var(--space-4);margin-top:var(--space-4)}.factory-v2-header,.factory-v2-kpi-grid,.factory-v2-columns,.production-v2-layout,.production-v2-summary{display:grid;gap:var(--space-3)}.factory-v2-header{grid-template-columns:1fr auto;align-items:start}.factory-v2-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.factory-v2-kpi-priority .kpi-danger{border-color:#f5c2c0;background:#fff8f7}.factory-v2-kpi-priority .kpi-attention{border-color:#f0d48a;background:#fffbeb}.factory-v2-kpi-priority .kpi-primary{border-color:#b6d0f0;background:#f3f7fd}.factory-v2-kpi-priority .kpi-muted{opacity:.88}.factory-v2-kpi-priority .kpi-card{border:1px solid #d9e2ec;border-radius:var(--radius-card);padding:var(--space-3)}.factory-v2-kpi-priority .kpi-card label{display:block;font-size:var(--font-size-sm);color:var(--color-idle);margin-bottom:var(--space-1)}.factory-v2-kpi-priority .kpi-card div{font-size:var(--font-size-lg);font-weight:650}.factory-v2-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.factory-v2-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}.factory-col-priority{border-color:#f5c2c0;box-shadow:inset 3px 0 #f5c2c0}.factory-v2-columns .card-block>ul,.factory-v2-external-orders>ul{display:grid;gap:var(--space-2);margin:0;padding:0;list-style:none}.factory-v2-prod-row{display:grid;gap:var(--space-2);padding:var(--space-3);border:1px solid #d9e2ec;border-radius:var(--radius-card)}.factory-v2-prod-row progress{width:100%}.factory-v2-production-kind{color:var(--color-running);font-size:var(--font-size-sm)}.factory-v2-secondary summary{cursor:pointer;font-weight:600}.factory-v2-secondary-block{margin-top:var(--space-4)}.factory-event-body{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.production-v2-layout,.production-v2-layout-orch-first,.production-v2-layout-flat{grid-template-columns:minmax(0,1fr);align-items:start}.production-v2-meta-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);margin-top:var(--space-3)}.production-v2-meta-row>.card-block{margin-top:0}.production-v2-orch-column{display:none}.production-v2-summary{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));position:sticky;top:0;z-index:1;background:#f8fafc;border:1px solid #d9e2ec;border-radius:var(--radius-card);padding:var(--space-3);margin-top:var(--space-3)}.normalized-error-card{border-color:#f5c2c0;background:#fff8f7}.normalized-error-grid{display:grid;gap:var(--space-2);margin:0}.normalized-error-grid dt{font-size:var(--font-size-sm);color:var(--color-idle)}.normalized-error-grid dd{margin:0}.orchestrator-compact{position:static;margin-top:var(--space-3);border-color:#9dbbe5;background:linear-gradient(180deg,#f5f9ff,#fff 55%);z-index:auto}.orchestrator-compact-head{display:flex;justify-content:space-between;gap:var(--space-3);align-items:center;margin-bottom:var(--space-2)}.orchestrator-compact-head h4{margin:0}.orchestrator-compact-body{display:grid;gap:var(--space-2)}.orchestrator-compact-body strong{display:block;margin-top:var(--space-1);font-size:var(--font-size-base);line-height:1.35;word-break:break-word}.orchestrator-compact-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3);align-items:center}.orchestrator-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0f172a73;display:flex;justify-content:flex-end;align-items:stretch}.orchestrator-drawer-panel{width:min(440px,calc(100vw - 48px));max-width:calc(100vw - 48px);background:#fff;border-left:1px solid #d9e2ec;padding:var(--space-4);overflow:auto;outline:none;box-shadow:-8px 0 24px #0f172a1f}.orchestrator-drawer-head{display:flex;justify-content:space-between;gap:var(--space-3);align-items:start;margin-bottom:var(--space-3)}.orchestrator-drawer-head h3{margin:0 0 var(--space-2);font-size:var(--font-size-lg)}.orchestrator-drawer-stages{margin:var(--space-3) 0}.orchestrator-drawer-stages ul{margin:var(--space-2) 0 0;padding-left:1.1rem}.orchestrator-drawer-footer{margin-top:var(--space-4)}.orchestrator-drawer-footer .produce{width:100%}.scene-quality-row{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:flex-start;justify-content:space-between}.scene-quality-row .muted{margin:0;flex:1 1 220px}@media (max-width: 1100px){.orchestrator-drawer-backdrop{align-items:stretch;justify-content:flex-end}.orchestrator-drawer-panel{width:min(100%,calc(100vw - 48px));max-width:calc(100vw - 48px)}}.orchestrator-dl{display:grid;gap:var(--space-2);margin:0 0 var(--space-3)}.orchestrator-dl dt{font-size:var(--font-size-sm);color:var(--color-idle)}.orchestrator-dl dd{margin:0;font-weight:600}.cost-runtime-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.cost-runtime-grid label{display:block;font-size:var(--font-size-sm);color:var(--color-idle)}.production-timeline-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}.production-timeline-item{display:grid;grid-template-columns:14px 1fr;gap:var(--space-2);align-items:start}.production-timeline-marker{width:10px;height:10px;margin-top:.35rem;border-radius:50%;background:#cbd5e1}.production-timeline-item.is-done .production-timeline-marker{background:var(--color-ok)}.production-timeline-item.is-active .production-timeline-marker{background:var(--color-running)}.production-timeline-item.is-failed .production-timeline-marker{background:var(--color-blocked)}.scene-workspace-list{display:grid;gap:var(--space-3)}.scene-workspace-card{padding:var(--space-3)}.scene-workspace-card-head{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.scene-workspace-title{font-weight:650}.scene-progress-bar{position:relative;margin:var(--space-2) 0;height:1.35rem;border-radius:999px;background:#eef2f6;overflow:hidden}.scene-progress-bar-fill{height:100%;background:linear-gradient(90deg,#7eb6ef,#3b82c4)}.scene-progress-bar-label{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:.75rem;color:#243b53;font-weight:600}.scene-stage-stepper{list-style:none;margin:var(--space-2) 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:var(--space-2)}.scene-stage-chip{border:1px solid #e4eaf1;border-radius:8px;padding:var(--space-2);display:grid;gap:var(--space-1);background:#fbfcfe}.scene-stage-chip.is-done{border-color:#8fd19e;background:#f3fbf6}.scene-stage-chip.is-active{border-color:#b6d0f0;background:#f3f7fd}.scene-stage-chip.is-failed{border-color:#f5c2c0;background:#fff8f7}.scene-stage-chip-label{font-size:var(--font-size-sm);font-weight:600}.scene-narration{margin:var(--space-2) 0 0}.scene-stage-block{margin-top:var(--space-3);padding-top:var(--space-2);border-top:1px solid #eef2f6}.scene-stage-head{display:flex;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-2)}.scene-image-candidates{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.scene-image-candidate{margin:0;width:96px;padding:0;border:1px solid #d8dee6;background:#f4f6f8;cursor:pointer;text-align:left}.scene-image-candidate.is-preview{outline:2px solid #2563eb}.scene-image-candidate.is-selected{border-color:#15803d}.scene-image-candidate img{display:block;width:96px;height:128px;object-fit:cover;border:0;background:#f4f6f8}.scene-image-candidate figcaption{font-size:.75rem;margin-top:.25rem;padding:0 .25rem .25rem}.tiny-json{margin:0;max-height:160px;overflow:auto;font-size:.75rem;background:#f8fafc;padding:var(--space-2);border-radius:6px}.empty-state,.skeleton-block,.muted{color:var(--color-idle)}@media (max-width: 1280px){.factory-v2-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 1100px){.production-v2-layout,.production-v2-layout-orch-first,.production-v2-layout-flat,.factory-v2-columns,.factory-v2-columns-4,.production-v2-meta-row{grid-template-columns:1fr}}.production-lifecycle{margin:0 0 var(--space-3);padding:var(--space-3);border:1px solid #e5eaf0;background:#fbfcfd}.production-lifecycle-list{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}.production-lifecycle-btn{border:0;background:transparent;padding:0;cursor:pointer}.production-lifecycle-next{margin:.5rem 0 0}.scene-asset-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:.75rem 0}.scene-asset-tile{min-height:72px;border:1px solid #d8dee6;background:#fff;padding:.4rem;cursor:pointer;text-align:center}.scene-asset-tile:disabled{opacity:.55;cursor:not-allowed}.scene-asset-thumb{width:100%;max-height:96px;object-fit:contain;aspect-ratio:9 / 16;background:#0f172a0a}.scene-card-actions{margin:.5rem 0 0}.asset-viewer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:1rem}.asset-viewer-panel{width:min(920px,100%);max-height:min(92vh,960px);overflow:auto;background:#fff;border-radius:8px;box-shadow:0 16px 48px #0f172a40;padding:1rem 1.25rem 1.25rem}.asset-viewer-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.75rem}.asset-viewer-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(220px,.9fr);gap:1rem}.asset-viewer-media-column{display:flex;flex-direction:column;gap:.75rem;min-width:0}.asset-viewer-media{display:flex;align-items:center;justify-content:center;min-height:280px;background:#0b12201a;border:1px solid #e5eaf0;padding:.75rem}.asset-viewer-input-image{margin:0;padding:.5rem;border:1px solid #e5eaf0;background:#f8fafc}.asset-viewer-input-image img{display:block;max-width:120px;max-height:160px;object-fit:cover}.asset-viewer-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.asset-viewer-vertical{max-width:100%;max-height:min(70vh,720px);width:auto;height:auto;object-fit:contain;aspect-ratio:9 / 16}.asset-viewer-meta{margin:0}.asset-viewer-meta>div{margin-bottom:.55rem}.asset-viewer-meta dt{font-size:.75rem;color:#64748b}.asset-viewer-meta dd{margin:.1rem 0 0}.orchestrator-audit-list{list-style:none;margin:0;padding:0}.orchestrator-audit-item{border-top:1px solid #eef2f6;padding:.55rem 0}.orchestrator-audit-head{display:flex;justify-content:space-between;gap:.75rem}.orchestrator-audit-meta{display:flex;flex-wrap:wrap;gap:.5rem .85rem;font-size:.85rem;color:#475569}.legacy-transitional-ops summary{color:#64748b}@media (max-width: 900px){.asset-viewer-body{grid-template-columns:1fr}.scene-asset-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.production-list-table th{position:sticky;top:0;z-index:1;background:#fff}@media (max-width: 900px){.clips-list-panel{position:static;max-height:none}}@media (max-width: 720px){.pagination{align-items:stretch;flex-direction:column}.pagination .inline-actions button{flex:1}}.ai-director-page{padding:24px}.ai-director-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:22px}.ai-director-header h2{margin:0 0 6px}.director-auth{display:grid;gap:4px;min-width:240px;padding:14px 16px;border-radius:14px;background:#f4f7fb;border:1px solid #d8e3ef}.director-auth.ok{border-left:5px solid #17935c}.director-auth.warn{border-left:5px solid #d78b00}.director-auth span{color:#64748b;font-size:.88rem}.ai-director-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:22px}.director-sidebar{display:flex;flex-direction:column;gap:9px;padding-right:20px;border-right:1px solid #dbe5ef}.director-sidebar h3{margin:12px 0 2px}.director-new{width:100%}.director-run-item{text-align:left;display:grid;gap:5px;padding:12px;border:1px solid #d9e4ef;border-radius:12px;background:#fff;color:inherit;text-decoration:none}.director-run-item.active{border-color:#178bc6;box-shadow:inset 4px 0 #178bc6;background:#f2f9fd}.director-run-item span{color:#64748b;font-size:.82rem}.director-workspace{min-width:0}.director-create-card,.director-editor{display:grid;gap:15px;max-width:920px;padding:22px;border-radius:15px;background:#f6f9fc;border:1px solid #d8e4ef}.director-create-card label,.director-editor label{display:grid;gap:6px;font-weight:600}.director-create-card textarea,.director-create-card input,.director-create-card select,.director-editor textarea,.director-editor input{width:100%;box-sizing:border-box}.director-create-card fieldset{display:flex;flex-wrap:wrap;gap:12px;border:1px solid #d8e4ef;border-radius:10px}.director-run-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.director-run-header h3{font-size:1.45rem;margin:10px 0 5px}.director-status{display:inline-block;padding:5px 10px;border-radius:999px;background:#eaf3f9;color:#12678f;font-weight:700}.director-status.awaiting_still_approval,.director-status.awaiting_final_approval{background:#fff4d8;color:#8a5a00}.director-status.approved,.director-status.imported{background:#e5f7ec;color:#10713f}.director-status.failed,.director-status.needs_attention{background:#fdecec;color:#a52727}.director-progress{width:100%;height:12px;margin:14px 0 22px}.director-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.director-story-grid article{display:grid;gap:7px;padding:14px;border-radius:12px;background:#f5f8fb}.director-story-grid span{color:#64748b}.director-review-block{display:grid;gap:14px;padding:18px;border:2px solid #efb44d;border-radius:15px;margin:18px 0}.director-review-block img{width:100%;max-height:620px;object-fit:contain;background:#111827;border-radius:10px}.director-scenes{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}.director-scene{display:grid;gap:9px;padding:10px;border-radius:13px;border:1px solid #d8e4ef;background:#f7fafc}.director-scene img,.director-scene video,.director-scene-placeholder{width:100%;aspect-ratio:9 / 16;object-fit:cover;border-radius:9px;background:#172334}.director-scene-placeholder{display:grid;place-items:center;color:#fff;font-size:2rem}.director-scene>div{display:grid;gap:4px}.director-scene span,.director-scene small{color:#5f6f80}.director-final{margin:26px 0;display:grid;gap:14px;justify-items:start}.director-final video{width:min(430px,100%);max-height:78vh;background:#111;border-radius:14px}.director-final-scores{display:flex;gap:10px;flex-wrap:wrap}.director-final-scores span{background:#f0f5f9;padding:8px 11px;border-radius:999px}.director-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:22px 0}.director-events{margin-top:25px;padding:14px;background:#f7fafc;border-radius:12px}.director-events>div{display:grid;grid-template-columns:75px 160px 1fr;gap:10px;padding:8px 0;border-top:1px solid #e0e8ef}.director-events .error{color:#a52727}.director-events .warning{color:#8a5a00}@media (max-width: 900px){.ai-director-layout{grid-template-columns:1fr}.director-sidebar{border-right:0;border-bottom:1px solid #dbe5ef;padding:0 0 16px}.director-story-grid{grid-template-columns:1fr}.ai-director-header{flex-direction:column}}.ai-operator-page{display:grid;gap:18px}.ai-operator-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.ai-operator-header h2{margin:2px 0 6px;font-size:1.8rem}.ai-operator-header p{margin:0;max-width:760px;color:#516273}.operator-eyebrow{color:#087cb5;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;font-weight:800}.operator-state{display:grid;min-width:260px;gap:4px;padding:14px 16px;border:1px solid #cae2f0;border-left:5px solid #168bc4;border-radius:14px;background:#f2f9fd}.operator-state.error{border-left-color:#c43b3b;background:#fff5f5}.operator-state.paused{border-left-color:#8b98a4;background:#f3f5f7}.operator-state span{color:#617284;font-size:.82rem}.operator-auth-warning{display:flex;align-items:center;justify-content:space-between;gap:18px}.operator-subnav{display:flex;padding:5px;gap:5px;border-radius:12px;background:#eef4f8}.operator-subnav a{flex:1;padding:10px 14px;border:0;border-radius:9px;background:transparent;color:#425466;font-weight:700;text-align:center;text-decoration:none}.operator-subnav a.active{background:#fff;color:#087cb5;box-shadow:0 2px 8px #1e465f17}.operator-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.75fr);min-height:620px;border:1px solid #dce7ef;border-radius:16px;overflow:hidden;background:#f7fafc}.operator-conversation{display:grid;grid-template-rows:auto minmax(260px,1fr) auto;min-width:0;background:#fff}.operator-conversation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e3ebf1}.operator-conversation-head h3,.operator-conversation-head p{margin:0}.operator-conversation-head p{margin-top:5px;color:#64748b}.operator-messages{display:flex;flex-direction:column;gap:14px;padding:22px;max-height:68vh;overflow-y:auto}.operator-message{max-width:88%;padding:14px 16px;border:1px solid #dce7ef;border-radius:15px;background:#f7fafc}.operator-message.user{align-self:flex-end;background:#eaf6fc;border-color:#c1e2f2}.operator-message.assistant{align-self:flex-start;border-left:5px solid #168bc4;background:#fff;box-shadow:0 5px 18px #23485f12}.operator-message.system{align-self:center;max-width:95%;background:#f1f5f8;color:#5c6a77}.operator-message-meta{display:flex;justify-content:space-between;gap:18px;margin-bottom:8px;font-size:.82rem;color:#6a7a88}.operator-message-content{white-space:pre-wrap;line-height:1.55}.operator-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px 20px;border-top:1px solid #e3ebf1;background:#f8fbfd}.operator-composer textarea{width:100%;box-sizing:border-box;resize:vertical}.operator-decisions{display:flex;flex-direction:column;gap:13px;padding:18px;border-left:1px solid #dce7ef;overflow-y:auto;max-height:82vh}.operator-decisions>h3{margin:0 0 3px}.operator-request-card,.operator-action-card,.operator-production-card{display:grid;gap:10px;padding:16px;border-radius:14px;background:#fff;border:1px solid #d8e5ee;box-shadow:0 4px 14px #24465c0f}.operator-request-card{border-left:5px solid #df9609}.operator-action-card{border-left:5px solid #178bc6}.operator-production-card{border-left:5px solid #168bc4;background:#f8fcfe}.operator-production-card.is-failed,.operator-production-card.is-needs_attention{border-left-color:#c43b3b;background:#fff8f8}.operator-production-card.is-awaiting_still_approval,.operator-production-card.is-awaiting_final_approval{border-left-color:#df9609;background:#fffdf6}.operator-request-card h4,.operator-action-card h4,.operator-production-card h4{margin:0;font-size:1.04rem}.operator-request-card p,.operator-action-card p,.operator-production-card p{margin:0}.operator-production-heading{margin-top:8px!important;padding-top:13px;border-top:1px solid #dce7ef}.operator-production-history{display:grid;gap:10px;margin-top:8px;padding-top:12px;border-top:1px solid #dce7ef}.operator-production-history>summary{cursor:pointer;color:#526779;font-weight:700}.operator-production-stage{display:flex;justify-content:space-between;align-items:baseline;gap:12px;color:#526779;font-size:.86rem}.operator-production-stage strong{color:#17384b}.operator-production-card progress{width:100%;height:10px;accent-color:#168bc4}.operator-production-card>p{color:#5d7080;font-size:.86rem;line-height:1.4}.operator-production-card .operator-production-error{color:#a52727}.operator-card-kicker{color:#66788a;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.operator-question{font-weight:650;line-height:1.45}.operator-why{color:#64748b;font-size:.87rem}.operator-request-card textarea{width:100%;box-sizing:border-box}.operator-suggestions,.operator-entity-refs{display:flex;flex-wrap:wrap;gap:7px}.operator-entity-ref{border:1px solid #bcdcea;border-radius:999px;padding:5px 9px;background:#eff8fc;color:#14698f;font-size:.78rem;text-decoration:none}.operator-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.operator-attachments img,.operator-attachments video{width:100%;max-height:280px;object-fit:contain;border-radius:9px;background:#101820}.operator-empty{padding:18px;border:1px dashed #cbd9e3;border-radius:12px;color:#687988;text-align:center}.operator-plan{display:grid;gap:18px;padding:22px;border:1px solid #dce7ef;border-radius:15px;background:#f8fbfd}.operator-plan-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.operator-plan-head h3,.operator-plan-head p{margin:0}.operator-plan-head p{margin-top:6px;color:#5d7080}.operator-plan-next{display:grid;min-width:300px;gap:5px;padding:13px 15px;border-left:5px solid #168bc4;border-radius:12px;background:#fff}.operator-plan-next span,.operator-plan-next small{color:#687989}.operator-plan-table-wrap{overflow-x:auto;border:1px solid #dce7ef;border-radius:12px;background:#fff}.operator-plan-table{width:100%;border-collapse:collapse}.operator-plan-table th,.operator-plan-table td{padding:12px 14px;border-bottom:1px solid #e3ebf1;text-align:left;vertical-align:top}.operator-plan-table th{color:#526779;background:#f1f6f9;font-size:.82rem}.operator-plan-table td small{display:block;margin-top:5px;max-width:360px;color:#6a7a88}.operator-plan-table tr.is-overdue td{background:#fff9f0}.operator-plan-table tr.is-overdue td small{color:#a75b00}.operator-plan-notes{padding:16px;border-radius:12px;background:#fff;border:1px solid #dce7ef}.operator-plan-notes h4{margin:0 0 9px}.operator-plan-notes ul{margin:0;padding-left:20px}.operator-activity{display:grid;grid-template-columns:1fr 1fr;gap:22px}.operator-activity>section{padding:18px;border:1px solid #dce7ef;border-radius:14px;background:#f8fbfd}.operator-activity h3{margin-top:0}.operator-cycle{display:grid;gap:8px;padding:12px 0;border-top:1px solid #e2eaf0}.operator-cycle>div{display:flex;justify-content:space-between;gap:12px}.operator-cycle span,.operator-cycle time{color:#687989;font-size:.82rem}.operator-cycle p{margin:0}.operator-event-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.operator-event-list li{display:grid;grid-template-columns:145px 1fr;gap:12px;padding:9px 0;border-top:1px solid #e2eaf0}.operator-event-list time{color:#71808d;font-size:.78rem}.operator-event-list li.error{color:brown}.operator-settings{display:grid;gap:18px;max-width:980px;padding:22px;border:1px solid #dce7ef;border-radius:15px;background:#f8fbfd}.operator-settings-intro h3,.operator-settings-intro p{margin:0}.operator-settings-intro p{margin-top:6px;color:#637487}.operator-settings>label,.operator-settings-grid label{display:grid;gap:7px;font-weight:700}.operator-settings textarea,.operator-settings input,.operator-settings select{width:100%;box-sizing:border-box}.operator-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.operator-settings-grid .operator-toggle{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px 14px;border:1px solid #dce7ef;border-radius:10px;background:#fff}.operator-settings-grid .operator-toggle input{width:auto}.operator-settings-grid .operator-toggle small{grid-column:1 / -1;color:#64748b;font-weight:400}.production-mode-tabs{display:flex;gap:6px;margin:18px 0;padding:5px;border-radius:12px;background:#edf4f8}.production-mode-tabs a{flex:1;padding:10px 14px;border:0;border-radius:9px;background:transparent;font-weight:750;color:#536678;text-align:center;text-decoration:none}.production-mode-tabs a.active{background:#fff;color:#087cb5;box-shadow:0 2px 8px #1e465f17}@media (max-width: 1050px){.operator-workspace{grid-template-columns:1fr}.operator-decisions{border-left:0;border-top:1px solid #dce7ef;max-height:none}.operator-activity{grid-template-columns:1fr}}@media (max-width: 720px){.ai-operator-header,.operator-auth-warning,.operator-conversation-head{flex-direction:column}.operator-state{width:100%;box-sizing:border-box}.operator-composer{grid-template-columns:1fr}.operator-message{max-width:100%}.operator-settings-grid{grid-template-columns:1fr}.operator-plan-head{flex-direction:column}.operator-plan-next{width:100%;min-width:0;box-sizing:border-box}}.channel-development-page{display:grid;gap:20px}.channel-development-header,.channel-development-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.channel-development-header h2,.channel-development-detail-head h2{margin:4px 0 7px;font-size:1.8rem}.channel-development-header p,.channel-development-detail-head p{max-width:820px;margin:0;color:#5c6f80;line-height:1.5}.channel-development-eyebrow{color:#087cb5;font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.channel-development-updated,.channel-development-head-status{display:grid;min-width:240px;gap:5px;padding:13px 15px;border:1px solid #cfe1eb;border-radius:12px;background:#f4f9fc}.channel-development-updated span,.channel-development-head-status small{color:#687989;font-size:.82rem}.channel-development-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.channel-development-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.channel-development-kpis article,.channel-development-detail-kpis article{display:grid;gap:4px;min-height:92px;padding:16px;border:1px solid #dce7ef;border-radius:13px;background:#fff;box-shadow:0 4px 14px #24465c0a}.channel-development-kpis article.attention{border-left:5px solid #d98b00;background:#fffaf1}.channel-development-kpis article.danger{border-left:5px solid #c83b3b;background:#fff5f5}.channel-development-kpis article.ok{border-left:5px solid #168653;background:#f4fbf7}.channel-development-kpis span,.channel-development-detail-kpis span{color:#5f7181;font-size:.8rem;font-weight:750}.channel-development-kpis strong,.channel-development-detail-kpis strong{color:#18384a;font-size:1.45rem}.channel-development-kpis small,.channel-development-detail-kpis small{color:#71808d}.channel-development-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,210px)) minmax(230px,1fr);gap:12px;align-items:end;padding:15px;border:1px solid #dce7ef;border-radius:13px;background:#f7fafc}.channel-development-filters label{display:grid;gap:6px;color:#526779;font-size:.82rem;font-weight:750}.channel-development-filters select,.channel-development-filters input{width:100%;box-sizing:border-box}.channel-development-table-wrap{overflow-x:auto;border:1px solid #dce7ef;border-radius:14px;background:#fff}.channel-development-table{width:100%;min-width:1320px;border-collapse:collapse}.channel-development-table th,.channel-development-table td{padding:13px 14px;border-bottom:1px solid #e4ebf0;text-align:left;vertical-align:top}.channel-development-table th{color:#526779;background:#f1f6f9;font-size:.8rem;white-space:nowrap}.channel-development-table tbody tr{cursor:pointer;transition:background .12s ease}.channel-development-table tbody tr:hover,.channel-development-table tbody tr:focus{outline:none;background:#f2f9fd}.channel-development-table.static tbody tr{cursor:default}.channel-development-table.static tbody tr:hover{background:transparent}.channel-development-table td strong{display:block;color:#16394c}.channel-development-table td small{display:block;margin-top:5px;max-width:330px;color:#6b7b88}.channel-development-long-cell{min-width:230px;max-width:370px;color:#344f60;line-height:1.42}.channel-development-pill{display:inline-flex;align-items:center;width:fit-content;padding:5px 9px;border-radius:999px;background:#eef4f7;color:#486273;font-size:.76rem;font-weight:800;white-space:nowrap}.channel-development-pill.status-active,.channel-development-pill.technical-ready{background:#e7f7ee;color:#10713f}.channel-development-pill.status-needs-data,.channel-development-pill.status-needs-plan,.channel-development-pill.technical-in-progress,.channel-development-pill.technical-attention{background:#fff2d4;color:#875900}.channel-development-pill.status-blocked,.channel-development-pill.technical-blocked,.channel-development-pill.stage-blocked{background:#fde9e9;color:#a22929}.channel-development-pill.stage-scale{background:#e5f7ec;color:#10713f}.channel-development-pill.stage-launch,.channel-development-pill.stage-explore,.channel-development-pill.stage-validate{background:#e8f4fb;color:#126b92}.channel-development-pill.stage-paused{background:#edf0f2;color:#68747d}.channel-development-trend{font-weight:800}.channel-development-trend.up,.channel-development-trend.new{color:#168653}.channel-development-trend.down{color:#bd3535}.channel-development-trend.flat{color:#687989}.channel-development-back{width:fit-content;padding:4px 0;border:0;background:transparent;color:#087cb5;font-weight:800;text-decoration:none}.channel-development-detail{display:grid;gap:20px}.channel-development-head-status{justify-items:start}.channel-development-subnav{display:flex;gap:5px;padding:5px;overflow-x:auto;border-radius:12px;background:#edf4f8}.channel-development-subnav a{flex:1;min-width:105px;padding:10px 14px;border:0;border-radius:9px;background:transparent;color:#536678;font-weight:750;text-align:center;text-decoration:none}.channel-development-subnav a.active{background:#fff;color:#087cb5;box-shadow:0 2px 8px #1e465f17}.channel-development-row-link{color:inherit;text-decoration:none}.channel-development-row-link:hover strong{color:#087cb5;text-decoration:underline}.channel-development-overview,.channel-development-experiments{display:grid;gap:14px}.channel-development-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.channel-development-plan-grid article,.channel-development-card{padding:17px;border:1px solid #dce7ef;border-radius:13px;background:#fff}.channel-development-plan-grid article{border-left:5px solid #168bc4}.channel-development-plan-grid span{color:#607485;font-size:.78rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.channel-development-plan-grid p{margin:8px 0 0;color:#27485a;line-height:1.5}.channel-development-card h3{margin:4px 0 10px}.channel-development-card p{color:#3d5667;line-height:1.5}.channel-development-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.channel-development-card-heading h3{margin-top:0}.channel-development-card-heading time{color:#6b7b88;font-size:.82rem}.channel-development-note{color:#6b7b88!important;font-size:.86rem}.channel-development-list{display:grid;gap:7px;margin:0;padding-left:20px;color:#3d5667}.channel-development-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.channel-development-two-columns .wide{grid-column:1 / -1}.channel-development-experiments{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.channel-development-empty{margin:0;color:#6a7a88}.channel-development-empty.large{padding:28px;border:1px dashed #cbd9e3;border-radius:13px;background:#f8fafb;text-align:center}.channel-development-history{display:grid;gap:0;margin:0;padding:0;list-style:none}.channel-development-history li{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;padding:18px 0;border-bottom:1px solid #e0e9ef}.channel-development-history time{color:#687989;font-size:.82rem}.channel-development-history h3{margin:5px 0 8px}.channel-development-history p{margin:6px 0 0;color:#435d6d;line-height:1.5}@media (max-width: 1100px){.channel-development-kpis,.channel-development-detail-kpis,.channel-development-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.channel-development-header,.channel-development-detail-head{flex-direction:column}.channel-development-updated,.channel-development-head-status{width:100%;box-sizing:border-box}.channel-development-kpis,.channel-development-detail-kpis,.channel-development-plan-grid,.channel-development-two-columns,.channel-development-filters{grid-template-columns:1fr}.channel-development-two-columns .wide{grid-column:auto}.channel-development-history li{grid-template-columns:1fr;gap:7px}}
