/* Material archive: one heading, actionable exceptions and readable field groups. */
body.layout-erp.layout-pro:has(#page-product-edit:not(.hidden)) .erp-main-chrome { display: none; }
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-workspace {
  width: 100%; max-width: 1440px; margin: 0 auto;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-workspace-head {
  padding: 0 0 22px; margin: 0; border: 0; background: transparent; box-shadow: none;
}
#page-product-edit .ped-detail-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 0; border: 0; background: transparent; color: #475569; font: inherit; font-size: 14px; cursor: pointer;
}
#page-product-edit .ped-detail-back:hover { color: #1677ff; }
#page-product-edit .ped-detail-back:focus-visible { outline: 2px solid #1677ff; outline-offset: 4px; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-header { font-size: 28px; line-height: 1.35; color: #0f172a; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-header-sub { font-size: 14px; color: #64748b; margin-top: 10px; }
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-workspace-code { font-size: 14px; }
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-title-panel { align-self: center; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-btn-edit { min-height: 40px; padding: 0 20px; font-size: 14px; }
#page-product-edit #ped-workspace-health-chip:disabled { opacity: 1; cursor: default; }
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-workspace-tabs-bar {
  border: 0; border-bottom: 1px solid #e2e8f0; border-radius: 0; background: transparent; padding: 0; margin-bottom: 20px;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-ws-tab {
  border-radius: 0; padding: 14px 20px; font-size: 15px; border: 0; border-bottom: 2px solid transparent;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-ws-tab.is-active { background: transparent; color: #1677ff; border-bottom-color: #1677ff; box-shadow: none; }
#page-product-edit .ped-workspace-tabs-hint,
#page-product-edit #ped-health-ring,
#page-product-edit #ped-health-tags,
#page-product-edit #ped-health-open-drawing,
#page-product-edit #ped-basic-card > .ped-card-head,
#page-product-edit #ped-status-banner:not(.is-disabled) { display: none !important; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-health-card:not(.hidden) {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; background: #fffaf0; border: 1px solid #fde4af; border-radius: 6px;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-health-card h3 { font-size: 15px; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-health-summary { font-size: 14px; color: #805b20; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card { padding: 24px; border-radius: 6px; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card :is(.ped-form-section--identity,.ped-form-section--classify) {
  padding: 0 0 24px; margin: 0 0 24px; background: transparent;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card :is(.ped-form-grid--identity,.ped-form-grid--classify) {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 32px; width: 100%; max-width: none;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card :is(.ped-form-grid--identity,.ped-form-grid--classify) > label {
  grid-column: auto; min-width: 0; width: auto; max-width: none; font-size: 14px; color: #64748b; gap: 8px;
}
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card .ped-form-section-head strong { font-size: 17px; color: #0f172a; }
body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card .ped-form-section-head > span { display: none; }
body.layout-erp.layout-pro .app-main #page-product-edit.page.ped-mode-view #ped-basic-card :is(.ped-form-grid--identity,.ped-form-grid--classify) :is(input,select) {
  font-size: 16px !important; line-height: 1.6 !important; font-weight: 500 !important; width: 100%; text-overflow: ellipsis;
}
@media(max-width: 1000px) {
  body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card :is(.ped-form-grid--identity,.ped-form-grid--classify) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 600px) {
  body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card { padding: 18px; }
  body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-basic-card :is(.ped-form-grid--identity,.ped-form-grid--classify) { grid-template-columns: minmax(0,1fr); gap: 18px; }
  body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-workspace-tabs { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  body.layout-erp.layout-pro .app-main #page-product-edit.page .ped-ws-tab { flex-shrink: 0; padding: 12px; }
  body.layout-erp.layout-pro .app-main #page-product-edit.page #ped-health-card:not(.hidden) { flex-direction: column; align-items: stretch; }
}
