.operations .metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.operations .metric { min-height: 78px; }
.operations .metric span { color: var(--muted); font-size: .79rem; line-height: 1.3; }
.operations .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.operations .panel-header { flex-wrap: wrap; }
.operations .panel-header h2 { margin-right: auto; }
.operations .panel-header .badge { white-space: normal; }
.operations table { white-space: normal; }
.operations th, .operations td { padding: 9px 10px; overflow-wrap: anywhere; }
.operations tr:last-child > th { border-bottom: 0; }
.operations .kv dd { overflow-wrap: anywhere; }
.operations .inline-form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.operations .inline-form .field { flex: 1 1 130px; min-width: 0; }
.operations .inline-form .field:has(input[type=number]) { flex: 0 1 105px; }
.operations-cell-label { display: none; }
.operations-stock { display: grid; grid-template-columns: max-content max-content; align-items: center; gap: 4px 8px; }
.operations-stock > span:first-child { font-variant-numeric: tabular-nums; }
.operations-stock .stock-meter { grid-column: 1 / -1; max-width: 140px; min-width: 0; }
.operations-stock-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 6px; }
.operations-stock-actions .inline-form { flex-wrap: nowrap; }
.operations-stock-actions .field { min-width: 99px; }
.operations-group { margin-block: 14px; }
.operations-group:last-child { margin-bottom: 0; }
.operations-group h3 { font-size: .82rem; margin: 0 0 7px; }
.operations-group > p { margin-bottom: 8px; overflow-wrap: anywhere; }
.operations-plan-actions { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.operations-plan-actions > .btn { justify-self: start; }
.operations .operations-event-grid > :only-child { grid-column: 1 / -1; width: min(100%, 760px); }
.operations-demo-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.operations-demo-actions .btn { width: 100%; min-height: 36px; justify-content: start; text-align: start; }
.operations-demo-actions .btn::after { content: '→'; margin-inline-start: auto; color: var(--muted); }

@media (max-width: 1050px) {
  .operations-table-stacked table { display: block; }
  .operations-table-stacked thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .operations-table-stacked tbody { display: grid; gap: 8px; }
  .operations-table-stacked tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 9px 11px; column-gap: 10px; border: 1px solid var(--line); border-radius: 10px; }
  .operations-table-stacked tbody tr > * { padding: 4px 0; border: 0; }
  .operations-table-stacked th[scope=row] { grid-column: 1 / -1; font-size: .93rem; }
  .operations-table-stacked td:last-child { grid-column: 1 / -1; }
  .operations-cell-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: .72rem; font-weight: 700; }
  .operations-inventory .operations-cell-label { display: none; }
  .operations-inventory .operations-table-stacked td:nth-child(3) .operations-cell-label,
  .operations-inventory .operations-table-stacked td:nth-child(4) .operations-cell-label { display: block; }
  .operations-inventory .operations-table-stacked td:nth-child(4) { grid-column: 1 / -1; }
  .operations-inventory .operations-stock-actions { padding-top: 8px; border-top: 1px solid var(--line); }
  .operations-suppliers .operations-table-stacked td:last-child:has(.btn) { padding-top: 8px; border-top: 1px solid var(--line); }
  .operations-table-stacked td:last-child:has(.btn) > .operations-cell-label { display: none; }
}

@media (max-width: 680px) {
  .operations .section-grid { grid-template-columns: minmax(0, 1fr); }
  .operations .metrics { gap: 8px; }
  .operations .metric { min-height: 62px; padding: 8px 9px; }
  .operations .metric span { font-size: .73rem; }
  .operations th, .operations td { padding: 7px 6px; }
  .operations-table-stacked tbody tr > * { padding: 4px 0; }
  .operations .sales-chart { gap: 4px; }
  .operations .sales-column { font-size: clamp(.57rem, 2.3vw, .7rem); overflow-wrap: anywhere; }
}
