@media screen {
  .customer-objects-section { min-width: 0; }
  .customer-objects-section h4 { margin: 0 0 14px; font-size: 15px; }
  .co-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 18px 0; }
  .co-toolbar .field-label { flex: 1 1 180px; }
  .co-checkbox { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; padding: 12px 0; }
  .co-checkbox input { width: 18px !important; height: 18px; min-height: 18px !important; flex: 0 0 auto; }
  .co-type-list { display: grid; gap: 16px; }
  .co-type { border: 1px solid var(--panel-border,#e3e7ed); border-radius: 12px; background: #fff; padding: 16px; min-width: 0; }
  .co-type > summary { cursor: pointer; color: var(--panel-text,#202b3c); font-weight: 600; padding: 6px 0; }
  .co-type > .field-grid { margin-top: 16px; }
  .co-field-list { display: grid; gap: 12px; margin: 14px 0; }
  .co-field-definition { border: 0; border-left: 3px solid #a8d3ec; padding: 12px; margin: 0; background: #f4f8fc; border-radius: 6px; min-width: 0; }
  .co-field-definition legend { font-size: 12px; font-weight: 600; }
  .co-field-definition .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .co-field-definition .co-toolbar { margin-bottom: 0; }
  .co-list { display: grid; gap: 8px; margin: 16px 0; }
  .co-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--panel-border,#e3e7ed); border-radius: 10px; padding: 14px; background: #fff; min-width: 0; }
  .co-row > div { min-width: 0; flex: 1 1 180px; }
  .co-row strong { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
  .co-row p { font-size: 12px; color: var(--panel-muted,#647083); margin: 5px 0 0; overflow-wrap: anywhere; }
  .co-row.is-selected { border-color: #0874b9; background: #edf6ff; }
  .co-detail, .co-editor { border-top: 1px solid var(--panel-border,#e3e7ed); margin-top: 24px; padding-top: 22px; }
  .co-current { border: 1px solid #cfe1f0; border-radius: 12px; padding: 18px; margin: 16px 0; background: #f2f8fd; }
  .co-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 16px 0 24px; }
  .co-values dt { font-size: 12px; color: var(--panel-muted,#647083); }
  .co-values dd { font-size: 14px; margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .co-values .co-wide { grid-column: 1/-1; }
  .co-history-event { border-left: 3px solid #85b7d7; }
}
@media screen and (max-width: 600px) {
  .co-values, .co-field-definition .field-grid { grid-template-columns: minmax(0,1fr); }
  .co-toolbar .field-label { flex-basis: 100%; }
  .co-type { padding: 12px; }
  .customer-objects-section .erp-detail-heading { flex-wrap: wrap; }
}
@media print {
  #customer-pane-objects, #order-pane-object, #settings-pane-objects { display: none !important; }
}
