#sales-channel-workspace { margin: 14px 0; }
.sales-channel { min-width: 0; overflow-wrap: anywhere; }
.sales-channel, #sales-channel-allocation-editor, #sales-channel-variance { scroll-margin-top: 100px; }
.sales-channel > summary { cursor: pointer; color: #263f35; font-weight: 650; }
.sales-channel-fields { display: grid; grid-template-columns: minmax(0, 190px) repeat(2, minmax(0, 375px)); gap: 9px 14px; }
.sales-channel-fields label { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: .84rem; }
.sales-channel-fields input, .sales-channel-fields select { min-width: 0; min-height: 39px; }
.sales-channel-form { max-width: 760px; padding: 0; border: 0; margin: 6px 0 0; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sales-channel-wide { grid-column: 1 / -1; }
.sales-channel-form p { margin: 0; }
.sales-channel-form .sales-channel-primary { background: #263f35; color: #fff; border-color: #263f35; }
.sales-channel-form .sales-channel-primary:hover { background: #34564a; }
.sales-channel-form button, .sales-channel-actions button { min-height: 42px; }
.sales-channel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }
.sales-channel-status { margin: 6px 0 0; padding: 5px 8px; background: #edf1eb; color: #263f35; }
.sales-channel-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); }
.sales-channel-status.sales-channel-error { background: #fbede6; color: var(--warning); border-inline-start: 2px solid var(--warning); }
.sales-channel-row { padding: 8px 0; border-top: 1px solid var(--line); }
.sales-channel-row h4 { margin: 0 0 6px; font-size: .95rem; }
.sales-channel-row h4 small { margin-inline-start: 9px; color: var(--muted); font-size: .8rem; font-weight: 400; }
.sales-channel-baseline { margin: 3px 0 7px; }
.sales-channel-evidence { margin-top: 6px; font-size: .86rem; }
.sales-channel-evidence summary { cursor: pointer; }
.sales-channel-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); }
.sales-channel-metrics > div { padding: 7px 9px; background: #edf1eb; }
.sales-channel-row .sales-channel-metrics > div:last-child { background: #dfe8df; }
.sales-channel-metrics dt { color: var(--muted); font-size: .78rem; }
.sales-channel-metrics dd { margin: 3px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.sales-channel-reconcile { padding: 8px 0; border-top: 1px solid var(--line); }
.sales-channel-reconcile h4 { margin: 0 0 5px; font-size: .95rem; }
.sales-channel-dispositions small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; font-weight: 400; }
.sales-channel-records { padding: 0; margin: 5px 0; list-style: none; }
.sales-channel-records li { padding: 6px 0; border-top: 1px solid var(--line); }
.sales-channel-records span { display: block; color: var(--muted); }
@media (max-width: 760px) { .sales-channel-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 450px) {
  .sales-channel, #sales-channel-allocation-editor, #sales-channel-variance { scroll-margin-top: 16px; }
  .sales-channel-fields { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  #sales-pipeline-workspace, #sales-channel-workspace { display: none; }
}
