#teamOps { --live-border: #dce3ed; }
#teamOps > .panel { margin-top: 20px; padding: 20px 0; border: 0; border-top: 1px solid var(--live-border); border-radius: 0; background: transparent; box-shadow: none; }
#teamOps .panel-header { align-items: center; gap: 12px; flex-wrap: wrap; }
#teamOps .panel-header h3 { font-size: 17px; }
#teamTools { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; padding: 16px; }
#teamTools > label { display: grid; gap: 6px; font-size: 13px; color: #52617c; min-width: 120px; }
#teamTools > label:has(input) { flex: 1 1 220px; }
#teamTools input, #teamTools select { width: 100%; min-width: 0; }
.live-date-presets { display: flex; gap: 4px; flex-wrap: wrap; }
.live-work-queue { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 20px 0 8px; background: #fff; border: 1px solid #dce3ed; }
.live-work-queue button { border: 0; border-bottom: 3px solid transparent; border-right: 1px solid #e4e9f0; background: transparent; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #52617c; font: inherit; cursor: pointer; min-width: 0; }
.live-work-queue button:last-child { border-right: 0; }
.live-work-queue button strong { font-size: 24px; color: #192943; font-variant-numeric: tabular-nums; }
.live-work-queue button:hover, .live-work-queue button[aria-pressed="true"] { background: #eef3ff; border-bottom-color: #4463e9; color: #2446b8; }
.live-status { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 4px; font-size: 12px; line-height: 18px; background: #edf0f5; color: #59667a; white-space: nowrap; }
.live-status-submitted { background: #e9f0ff; color: #244dc1; }
.live-status-verified { background: #def5ec; color: #0d6c4b; }
.live-status-void { background: #fceaea; color: #a83131; }
#teamOps .table-wrap { max-width: 100%; overflow-x: auto; background: #fff; scrollbar-width: auto; }
#liveTable { table-layout: fixed; min-width: 100%; width: max-content; }
#liveTable th, #liveTable td { text-align: left; vertical-align: top; padding: 14px 16px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; white-space: normal; }
#liveTable th { position: relative; background: #f0f4fa; font-size: 13px; }
#liveTable .live-col-identity { position: sticky; left: 0; z-index: 2; background: #fff; }
#liveTable .live-col-actions { position: sticky; right: 0; z-index: 2; background: #fff; box-shadow: -1px 0 0 #dce3ed; }
#liveTable th.live-col-identity, #liveTable th.live-col-actions { background: #f0f4fa; z-index: 3; }
#liveTable .live-col-revenue strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.live-cell-sub, #liveTable small { display: block; font-size: 12px; color: #66758b; margin-top: 4px; }
.live-session-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.live-column-resizer { position: absolute; top: 0; right: 0; bottom: 0; width: 8px; cursor: col-resize; touch-action: none; }
.live-column-resizer:hover, .live-column-resizer:focus-visible { background: #b9c8fc; outline: 2px solid #4463e9; }
.live-column-menu { position: relative; font-size: 13px; }
#teamOps > .panel:has(#liveColumnControls) { overflow: visible; }
.live-column-menu summary { padding: 8px 12px; cursor: pointer; color: #244dc1; }
.live-column-menu > div { position: absolute; z-index: 8; right: 0; top: 100%; padding: 12px; width: 180px; background: #fff; border: 1px solid #dce3ed; box-shadow: 0 6px 24px #1729431c; }
.live-column-menu label { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.live-session-form { display: block; }
.live-session-form .live-editor-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.live-form-section { display: grid; gap: 14px; padding: 20px 0; border-top: 1px solid #e0e6ef; }
.live-form-section h3 { margin: 0; font-size: 16px; color: #172943; }
.live-session-form label { font-size: 13px; }
.live-session-form input, .live-session-form select, .live-session-form textarea { font-size: 14px; min-width: 0; max-width: 100%; }
.live-session-form textarea { resize: vertical; min-height: 76px; }
.live-session-form input[type="checkbox"], .live-column-menu input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; flex: 0 0 16px; accent-color: #4463e9; }
.live-session-form .live-checkbox { display: flex; align-items: center; gap: 8px; padding-top: 20px; }
.live-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.live-session-form .live-artist-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 12px; padding: 12px; border-radius: 4px; }
.live-artist-row > span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.live-artist-row small { color: #66758b; font-size: 12px; overflow-wrap: anywhere; }
.live-total-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-weight: 600; }
.live-total-row input { width: 160px; text-align: right; }
.live-paste summary { color: #244dc1; padding: 8px 0; cursor: pointer; font-size: 13px; }
.live-paste textarea { width: 100%; min-height: 90px; margin-bottom: 8px; }
.live-draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; font-size: 12px; color: #66758b; }
.live-draft-actions [hidden], .live-session-form [hidden] { display: none !important; }
.live-error { padding: 12px; margin-bottom: 12px; color: #a83131; background: #fff0f0; border: 1px solid #f2c8c8; border-radius: 4px; font-size: 14px; }
.live-save-actions { flex-wrap: wrap; gap: 8px; }
.live-save-actions .danger-button { border: 1px solid #e6b9b9; border-radius: 6px; background: #fff; color: #a83131; padding: 9px 12px; font: inherit; cursor: pointer; }
@media (max-width: 800px) {
  #teamOps .ops-summary-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #teamOps .ops-summary-primary > div { min-width: 0; padding: 14px 12px; }
  #teamOps .panel-header { justify-content: space-between; text-align: left; }
  .live-work-queue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-work-queue button { padding: 12px; font-size: 13px; }
  #teamTools > label { flex: 1 1 130px; }
  #liveTable .live-col-identity, #liveTable .live-col-actions { position: static; box-shadow: none; }
  #teamOps .table-wrap th:first-child, #teamOps .table-wrap td:first-child, #teamOps .table-wrap th:last-child, #teamOps .table-wrap td:last-child { position: static; box-shadow: none; }
  .live-session-form .inline { grid-template-columns: minmax(0, 1fr); }
  .live-session-form .live-checkbox { padding-top: 0; }
  .live-session-form .live-artist-row { grid-template-columns: minmax(0, 1fr) 100px; }
  .live-save-actions button { flex: 1 1 130px; white-space: normal; }
}
