.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.product-card{display:block;width:100%;border:1px solid var(--line);border-top:2px solid var(--ink);border-radius:0;background:#fff;color:var(--ink);text-align:left;padding:16px;cursor:pointer}.product-card:hover,.product-card.selected{border-color:var(--accent);background:#f2f8f5}.product-card-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:12px}.product-card-head span{font-size:11px;color:var(--accent)}.product-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;color:var(--muted);font-size:11px}.product-stats strong{display:block;color:var(--ink);font-size:18px;margin-top:2px}.mini-layers{display:flex;gap:4px}.mini-layers i{font-style:normal;font-size:10px;color:var(--muted);border:1px solid var(--line);padding:3px 5px}.mini-layers i.filled{color:var(--accent);border-color:var(--accent);background:#eef8f3}@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.product-grid{grid-template-columns:1fr}}
.drawer.diff-drawer{justify-content:center;padding:5vh 0}.drawer.diff-drawer .drawer-content{width:min(1100px,90vw);height:90vh}.drawer.diff-drawer .diff-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.drawer.diff-drawer .diff-grid>div{min-width:0}.drawer.diff-drawer .diff-grid .preview{height:calc(90vh - 150px);max-height:none;overflow:auto}@media(max-width:640px){.drawer.diff-drawer{padding:0}.drawer.diff-drawer .drawer-content{width:100%;height:100%}.drawer.diff-drawer .diff-grid{grid-template-columns:1fr}.drawer.diff-drawer .diff-grid .preview{height:auto;max-height:38vh}}
.owner-html-preview{width:100%;height:70vh;border:1px solid var(--line);background:#fff}

.asset-title{border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:pointer;font:inherit}.asset-title:hover{text-decoration:underline}.asset-title:focus-visible{outline:2px solid var(--accent,#587c6f);outline-offset:2px}

.semantic-json{display:grid;gap:14px}.semantic-summary,.semantic-fields{display:grid;gap:8px}.semantic-section{border-top:1px solid var(--line);padding-top:12px}.semantic-section h3{margin:0 0 8px;font-size:15px}.semantic-list{display:grid;gap:8px}.semantic-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px 11px}.semantic-card>summary{cursor:pointer;font-weight:600}.semantic-field{display:grid;grid-template-columns:minmax(88px,150px) 1fr;gap:8px;padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 60%,transparent);line-height:1.5}.semantic-field:last-child{border-bottom:0}.semantic-field b{color:var(--muted);font-weight:600}.semantic-field span{white-space:pre-wrap;word-break:break-word}.semantic-value{line-height:1.6}
.business-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.business-card{display:flex;flex-direction:column;gap:6px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px;cursor:pointer;color:var(--ink)}.business-card:hover{border-color:var(--accent);background:#f3f8f5}.business-card span,.business-row small{display:block;color:var(--muted);font-size:12px}.business-list{display:grid;gap:0}.business-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.business-row>div:last-child{display:flex;align-items:center;gap:8px;white-space:nowrap}.business-empty{padding:22px 0;color:var(--muted);border:1px dashed var(--line);padding-left:16px}.business-empty b{color:var(--ink)}.business-empty p{margin:5px 0 0}@media(max-width:700px){.business-row{align-items:flex-start;flex-direction:column}.business-row>div:last-child{width:100%;flex-wrap:wrap}.business-row>div:last-child .btn{margin-left:auto}}
.side{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.side .scope{flex:0 0 auto}.side nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin}.side-foot{position:static;flex:0 0 auto;margin:12px 12px 0;padding-top:10px;border-top:1px solid #36534a}
.owner-source-table{display:grid;gap:16px}.source-record{border-top:1px solid var(--line);padding-top:12px}.source-record h3{margin:0 0 5px;font-size:14px}.source-table-wrap{overflow:auto}.source-table{width:100%;border-collapse:collapse;font-size:12px}.source-table th,.source-table td{border:1px solid var(--line);padding:7px 9px;text-align:left;vertical-align:top;white-space:pre-wrap}.source-table th{background:#f3f7f5;color:var(--muted);font-weight:600}.source-loading{padding:18px 0;color:var(--muted)}
.source-table details{cursor:pointer}.source-table details summary{cursor:pointer}.source-cell-detail{margin-top:6px;padding:7px;background:#f4f7f5;color:var(--muted);line-height:1.55;white-space:pre-wrap}.source-table h4{margin:12px 0 6px;font-size:13px}

.nav-item{display:flex;align-items:center;justify-content:space-between;gap:6px}.nav-availability{font-size:9px;font-weight:400;white-space:nowrap;color:#8ea59c}.nav-availability.demo{color:#d9b27d}.nav-availability.partial{color:#9fc4b6}.page-availability{display:inline-block;margin-top:10px;padding:4px 8px;border-radius:4px;font-size:11px}.page-availability.demo{background:#fff1de;color:#9a6027}.page-availability.partial{background:#eef8f3;color:#28735e}.business-demo-badge{display:inline-block;padding:4px 8px;background:#fff1de;color:#9a6027;border-radius:4px;font-size:11px}

/* Current content plan and task view */
.production-view { display: block; }
.production-summary { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:18px; padding:16px 18px; border:1px solid var(--line,#d9e1dc); border-radius:12px; background:var(--panel,#fff); }
.production-summary h2 { margin:0 0 6px; }
.production-summary p { margin:0 0 5px; color:var(--ink,#20332b); }
.production-summary small, .production-task-actions small, .production-plan-card small, .production-history-row small { display:block; color:var(--muted,#728078); margin-top:5px; }
.production-plan-docs { margin-bottom:24px; }
.production-plan-card, .production-history-row { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 14px; border-bottom:1px solid var(--line,#e4e9e6); }
.production-plan-card:first-of-type, .production-history-row:first-of-type { border-top:1px solid var(--line,#e4e9e6); }
.production-task-list { display:grid; gap:10px; }
.production-task { display:flex; justify-content:space-between; gap:18px; align-items:center; padding:14px 16px; border:1px solid var(--line,#dfe7e2); border-radius:10px; background:var(--panel,#fff); }
.production-task-main { display:flex; gap:12px; min-width:0; align-items:flex-start; }
.production-task-number { flex:0 0 auto; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:#e5efe9; color:#216046; font-size:12px; }
.production-task h3 { margin:0; font-size:15px; }
.production-task-meta { margin:5px 0 0; color:var(--muted,#728078); font-size:13px; }
.production-gaps { display:flex; flex-wrap:wrap; gap:7px; margin-top:9px; }
.production-gaps span { padding:3px 8px; border-radius:99px; background:#f2f5f3; color:#65736b; font-size:12px; }
.production-task-actions { display:flex; align-items:flex-end; flex-direction:column; gap:8px; flex:0 0 auto; }
.production-open { white-space:nowrap; }
.production-history { margin-top:20px; border-top:1px solid var(--line,#dfe7e2); padding-top:12px; }
.production-history summary { cursor:pointer; color:var(--ink,#31473c); font-weight:600; }
@media (max-width:700px) { .production-task, .production-summary { display:block; } .production-task-actions { align-items:flex-start; margin-top:12px; } }
.production-title { border:0; padding:0; background:transparent; color:inherit; font:inherit; font-weight:700; text-align:left; cursor:pointer; }
.production-title:hover { color:#216046; text-decoration:underline; }
.production-warning { margin:8px 0 0; color:#9a5b00; }

/* Owner sidebar accordion */
.nav-direct{display:grid;gap:2px;margin-bottom:6px}
.nav-group{margin:0 0 2px}
.nav-group-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer;background:transparent;border:0;color:inherit;padding:9px 12px;font:inherit;font-weight:650}
.nav-group-toggle:hover{background:rgba(255,255,255,.06)}
.nav-group-chevron{font-size:14px;line-height:1;transition:transform .15s ease;color:var(--muted,#8ea59c)}
.nav-group-toggle[aria-expanded="false"] .nav-group-chevron{transform:rotate(-90deg)}
.nav-group-items{display:grid;gap:2px;padding:0 0 4px}
.nav-group-items[hidden]{display:none}
.nav-group-toggle:focus-visible,.nav-item:focus-visible{outline:2px solid var(--accent,#79b89d);outline-offset:-2px}

.scheduled-calendar-host{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:14px;align-items:start;min-height:520px}.scheduled-calendar-toolbar{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;align-items:center}.scheduled-calendar-nav,.scheduled-calendar-views{display:flex;gap:6px;flex-wrap:wrap}.scheduled-calendar-toolbar button,.scheduled-task-detail button{border:1px solid var(--line);background:var(--panel,#fff);color:var(--ink);padding:7px 10px;border-radius:6px;cursor:pointer}.scheduled-calendar-toolbar button:hover,.scheduled-task-detail button:hover{border-color:var(--accent)}.scheduled-calendar-grid{min-width:0;border:1px solid var(--line);background:var(--panel,#fff);padding:8px}.scheduled-task-detail-slot{border:1px solid var(--line);background:var(--panel,#fff);padding:12px;min-height:180px}.scheduled-task-detail h3{margin:0;font-size:16px}.scheduled-task-detail-head{display:flex;justify-content:space-between;gap:8px;align-items:start}.scheduled-task-detail dl{display:grid;grid-template-columns:80px 1fr;gap:7px;margin:14px 0;font-size:13px}.scheduled-task-detail dt{color:var(--muted);font-weight:600}.scheduled-task-detail dd{margin:0;word-break:break-word}.scheduled-task-detail button{margin:5px 6px 0 0}.scheduled-status{font-size:12px;color:var(--accent)}.scheduled-task-error{color:#a34f3f;padding:10px 0;grid-column:1/-1}.scheduled-task-error button{margin-left:8px}.scheduled-unassigned{grid-column:1/-1;margin-top:16px}@media(max-width:800px){.scheduled-calendar-host{grid-template-columns:1fr;min-height:0}.scheduled-calendar-toolbar{grid-column:auto}.scheduled-calendar-grid{overflow-x:auto}.scheduled-task-detail-slot{min-height:0}}

.scheduled-page-head{padding:14px 20px 10px;border-top:2px solid var(--ink);background:var(--panel,#fff);margin-bottom:10px}.scheduled-page-head .eyebrow{margin-bottom:4px}.scheduled-page-head .page-title{margin:0 0 4px;font-size:26px}.scheduled-page-head .desc{margin:0}.scheduled-calendar-host{grid-template-columns:1fr;min-height:0}.scheduled-calendar-host.has-detail{grid-template-columns:minmax(0,1fr) minmax(220px,280px)}.scheduled-task-detail-slot:empty{display:none}.scheduled-calendar-grid{height:560px;overflow:hidden}.scheduled-calendar-grid .fc{height:100%}.scheduled-calendar-grid .fc-scroller{overflow:auto!important}.scheduled-calendar-range{font-weight:600;color:var(--ink);margin-right:8px}.scheduled-calendar-empty{padding:14px;color:var(--muted);border:1px dashed var(--line);margin:10px 0}.scheduled-task-detail-slot{min-height:0}.scheduled-calendar-toolbar{padding:0 0 8px}

.scheduled-calendar-host{grid-template-columns:1fr;min-height:0}.scheduled-calendar-host.has-detail{grid-template-columns:minmax(0,1fr) minmax(220px,280px)}.scheduled-calendar-grid{height:auto;overflow:visible}.scheduled-calendar-grid .fc{font-size:12px}.scheduled-calendar-grid .fc-daygrid-day-frame{min-height:88px}.scheduled-calendar-grid .fc-daygrid-event{font-size:11px;white-space:normal}.scheduled-calendar-range{font-weight:600;color:var(--ink);margin-right:8px}.scheduled-calendar-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:4px 0 8px}.scheduled-calendar-legend span{display:inline-flex;align-items:center;gap:4px}.scheduled-calendar-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor}.legend-succeeded{color:#287d67}.legend-pending{color:#5c9ad1}.legend-running{color:#c27a26}.legend-error{color:#bd4d47}.legend-cancelled{color:#8b9290}.scheduled-calendar-grid .status-succeeded{--fc-event-bg-color:#287d67;--fc-event-border-color:#287d67}.scheduled-calendar-grid .status-draft,.scheduled-calendar-grid .status-scheduled{--fc-event-bg-color:#5c9ad1;--fc-event-border-color:#5c9ad1}.scheduled-calendar-grid .status-running{--fc-event-bg-color:#c27a26;--fc-event-border-color:#c27a26}.scheduled-calendar-grid .status-failed,.scheduled-calendar-grid .status-interrupted,.scheduled-calendar-grid .status-missed{--fc-event-bg-color:#bd4d47;--fc-event-border-color:#bd4d47}.scheduled-calendar-grid .status-cancelled{--fc-event-bg-color:#8b9290;--fc-event-border-color:#8b9290}
.scheduled-unscheduled{grid-column:1/-1;border:1px solid var(--line);background:var(--panel,#fff);padding:14px}.scheduled-unscheduled h2{font-size:16px;margin:0 0 4px}.scheduled-unscheduled h2 small{color:var(--muted);font-size:12px}.scheduled-unscheduled p,.scheduled-task-no-content{font-size:12px;color:var(--muted);margin:0 0 10px}.scheduled-unscheduled-list{display:grid;gap:6px}.scheduled-unscheduled-list button{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 10px;text-align:left;border:1px solid var(--line);background:transparent;border-radius:6px;color:var(--ink);cursor:pointer}.scheduled-unscheduled-list button:hover{border-color:var(--accent)}.scheduled-unscheduled-list small{color:var(--muted);white-space:nowrap}.scheduled-task-links{display:grid;gap:6px}.scheduled-task-links strong{font-size:12px}.scheduled-task-links button{text-align:left;margin:0}
