:is(.customer-profile-editor, .customer-basic-editor, .customer-detail-drawer) {
  --customer-dialog-ink: #16263b;
  --customer-dialog-muted: #516473;
  --customer-dialog-edge: #dbe5e9;
  --customer-dialog-fill: #f5f8f8;
  --customer-dialog-accent: #087e68;
  --customer-dialog-inline: clamp(14px, 2.4vw, 22px);
  background: #fff;
}
[data-slot="dialog-content"]:is(.customer-profile-editor, .customer-basic-editor, .customer-detail-drawer) {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
:is(.customer-profile-editor, .customer-basic-editor, .customer-detail-drawer) > [data-slot="dialog-header"] {
  flex: none;
  margin: 0;
  padding: 15px 52px 12px var(--customer-dialog-inline);
  border-block-end: 1px solid var(--customer-dialog-edge);
}
:is(.customer-profile-editor, .customer-basic-editor, .customer-detail-drawer) > [data-slot="dialog-close"] { inset: 12px 12px auto auto; }
.customer-profile-editor > .dialog-form,
.customer-basic-editor .cm-maint-form { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
:is(.customer-profile-editor > .dialog-form, .customer-basic-editor .cm-maint-form, .customer-detail-drawer) > .dialog-body {
  flex: 1;
  min-height: 0;
  padding: 14px var(--customer-dialog-inline);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.customer-profile-editor > .dialog-form > [role="alert"],
.customer-basic-editor .cm-maint-form > [role="alert"] { flex: none; margin: 0; max-height: 96px; overflow: auto; }

:is(.customer-profile-editor, .customer-basic-editor, .customer-detail-drawer) [data-slot="dialog-title"] {
  color: var(--customer-dialog-ink);
  line-height: 1.35;
}
.customer-basic-editor [data-slot="dialog-title"],
.customer-detail-header [data-slot="dialog-title"] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.customer-dialog-context, .customer-detail-stage {
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e6f4ee;
  color: #286353;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
:is(.customer-profile-editor, .customer-basic-editor, .customer-detail-drawer) .customer-dialog-footer {
  display: flex;
  flex: none;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 10px var(--customer-dialog-inline) !important;
  background: #fff;
  border-block-start: 1px solid var(--customer-dialog-edge);
  position: static !important;
}
.customer-dialog-footer > button { min-width: 78px; min-height: 36px; white-space: nowrap; }

.customer-profile-editor .customer-profile-sections { display: grid; gap: 10px; min-width: 0; }
.customer-profile-editor :is(.customer-form-card, fieldset > .customer-form-section, fieldset > .customer-media-section),
.customer-basic-editor .cm-maint-fields > fieldset {
  margin: 0;
  padding: 12px;
  min-width: 0;
  border: 1px solid var(--customer-dialog-edge);
  border-radius: 8px;
  background: var(--customer-dialog-fill);
}
.customer-profile-editor :is(.customer-form-card, fieldset > .customer-media-section) h3,
.customer-basic-editor .cm-maint-fields > fieldset > h3 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  color: var(--customer-dialog-ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}
.customer-profile-editor .customer-profile-sections .form-grid,
.customer-basic-editor .cm-maint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
:is(.customer-profile-editor .customer-profile-sections, .customer-basic-editor) .customer-basic-fields { align-items: start; }
@media (min-width: 960px) {
  :is(.customer-profile-editor .customer-profile-sections, .customer-basic-editor) .customer-basic-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.customer-profile-editor .customer-profile-sections :is(.form-grid > label, .country-picker, .customer-zone-field),
.customer-basic-editor .cm-maint-grid > label,
.customer-basic-editor .cm-maint-grid :is(.country-picker, .customer-zone-field) {
  color: var(--customer-dialog-muted);
  font-size: 12px;
}
.customer-profile-editor .customer-profile-sections :is(.form-grid, .customer-contact-preferences) :is(input:not([type="checkbox"]):not([type="radio"]), select),
.customer-basic-editor .cm-maint-fields :is(input:not([type="checkbox"]):not([type="radio"]), select) {
  min-height: 38px;
  border-radius: 7px;
}
.customer-profile-editor .customer-form-owner { margin: 8px 0 0; font-size: 12px; color: var(--customer-dialog-muted); }
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice { display: grid; gap: 5px; min-width: 0; position: relative; }
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice > span { color: var(--customer-dialog-muted); font-size: 12px; }
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--customer-dialog-edge);
  border-radius: 7px;
  background: #fff;
  text-align: start;
}
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice-popup {
  position: absolute;
  z-index: 3;
  top: calc(100% + 4px);
  inset-inline: 0;
  padding: 6px;
  border: 1px solid var(--customer-dialog-edge);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px #213e3d20;
}
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice-options { max-height: 180px; overflow: auto; }
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice-popup button {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 30px;
  padding-inline: 6px;
  border-radius: 5px;
  text-align: start;
}
:is(.customer-profile-editor, .customer-basic-editor) .customer-choice-popup button:is(:hover, [aria-pressed="true"]) { background: #e6f4ee; }
.customer-profile-editor .customer-form-section > summary,
:is(.customer-profile-editor, .customer-basic-editor) .customer-contact-preferences > summary {
  color: var(--customer-dialog-accent);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.customer-profile-editor .customer-form-section[open] > summary { margin-block-end: 10px; }
.customer-profile-editor .customer-form-section textarea { min-height: 84px; }
.customer-profile-editor .customer-form-section .form-grid > .wide { grid-column: auto; }
.customer-profile-editor .customer-form-section .form-grid > .wide:last-child:nth-child(odd) { grid-column: 1 / -1; }
:is(.customer-profile-editor, .customer-basic-editor) .customer-contact-preferences {
  margin: 10px 0 0;
  border-block-start: 1px solid var(--customer-dialog-edge);
  padding: 8px 0 0;
}
:is(.customer-profile-editor, .customer-basic-editor) .customer-contact-preferences[open] > summary { margin-block-end: 8px; }
.customer-profile-editor .customer-media-heading > h3 { margin: 0; }
.customer-profile-editor .customer-media-drop {
  background: #fff;
  border-color: #a9c5bf;
  border-radius: 8px;
  padding: 10px 12px;
}
.customer-basic-editor > .cm-maint-editor.is-standalone {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
.customer-basic-editor .cm-maint-fields .inventory-help { margin: 8px 0 0; }

.customer-detail-drawer.customer-detail-compact > .customer-detail-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 8px 16px;
  padding-block: 12px 10px;
  padding-inline-end: 54px;
}
.customer-detail-header .customer-detail-identity { display: grid; flex: 1 1 300px; min-width: 0; gap: 5px; }
.customer-detail-header [data-slot="dialog-title"] { padding-inline-end: 0; }
.customer-detail-header .customer-detail-name { min-width: 0; overflow-wrap: anywhere; }
.customer-detail-header .customer-detail-metadata { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0; }
.customer-detail-header .customer-detail-metadata > .customer-local-time { margin: 0; }
.customer-detail-drawer .customer-detail-header > .customer-detail-actions { margin: 0; padding: 0; gap: 6px; }
.customer-detail-header .customer-detail-actions > button { min-height: 34px; white-space: nowrap; }
.customer-detail-header :is(.customer-detail-labels, .customer-header-tags) { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.customer-detail-header .customer-detail-labels .customer-label-chip {
  display: inline-block;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.customer-detail-header .customer-header-tags-toggle { min-height: 24px; padding: 0 5px; color: var(--customer-dialog-accent); }
.customer-detail-drawer > .dialog-section-tabs {
  flex: none;
  padding: 5px var(--customer-dialog-inline);
  border-block-end: 1px solid var(--customer-dialog-edge);
  background: var(--customer-dialog-fill);
}
.customer-detail-drawer .customer-detail-nav {
  flex-wrap: nowrap;
  gap: 5px;
  padding: 2px;
  border: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.customer-detail-nav > button { flex: none; min-height: 32px; white-space: nowrap; }
.customer-overview-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin: 0 0 8px;
  padding: 4px 6px;
  border: 1px solid var(--customer-dialog-edge);
  border-radius: 8px;
  background: var(--customer-dialog-fill);
}
.customer-overview-status > button { min-height: 30px; padding: 4px 8px; font-size: 12px; white-space: nowrap; }
.customer-overview-status strong { color: var(--customer-dialog-ink); font-weight: 680; }
.customer-overview-status .is-overdue { color: #a33333; }
.customer-overview-status .customer-overview-quality-toggle { margin-inline-start: auto; color: #146752; background: #e6f4ee; }
.customer-overview-quality-toggle::after { content: '▾'; margin-inline-start: 2px; }
.customer-overview-quality-toggle[aria-expanded="true"]::after { content: '▴'; }
.customer-overview-quality-panel { margin-block-end: 8px; }
.customer-overview-quality-panel .customer-workflow { margin: 0; }
.customer-overview-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 10px; align-items: start; }
.customer-overview-column { display: grid; align-content: start; gap: 8px; min-width: 0; }
.customer-overview-card,
.customer-detail-body:is([data-customer-section="analysis"], [data-customer-section="delivery"], [data-customer-section="history"]) > section {
  margin: 0;
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid var(--customer-dialog-edge);
  background: #fff;
  border-radius: 8px;
}
.customer-overview-next { background: var(--customer-dialog-fill); }
.customer-overview-heading, .customer-overview-actions, .customer-overview-hours,
.customer-overview-response { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.customer-overview-heading { justify-content: space-between; }
.customer-overview-heading > h3 { margin: 0; font-size: 14px; line-height: 1.45; color: var(--customer-dialog-ink); }
.customer-overview-heading button, .customer-overview-hours button, .customer-overview-text button { min-height: 28px; padding: 3px 6px; font-size: 12px; }
.customer-overview-section, .customer-overview-notes > div + div { border-block-start: 1px solid var(--customer-dialog-edge); margin-block-start: 7px; padding-block-start: 5px; }
.customer-overview-section:has(> p.customer-overview-muted) { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.customer-overview-section:has(> p.customer-overview-muted) > .customer-overview-heading { display: contents; }
.customer-overview-section:has(> p.customer-overview-muted) > .customer-overview-heading > h3 { order: 0; }
.customer-overview-section:has(> p.customer-overview-muted) > p { order: 1; }
.customer-overview-section:has(> p.customer-overview-muted) > .customer-overview-heading > button { order: 2; margin-inline-start: auto; }
.customer-detail-body .customer-overview-facts {
  grid-template-columns: minmax(0, 1.5fr) minmax(76px, .8fr) repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 4px 0 0;
}
.customer-overview-card .customer-contact-grid { margin-block-start: 3px; gap: 4px 10px; }
.customer-overview-card :is(.customer-overview-facts, .customer-contact-grid) > div { min-width: 0; }
.customer-overview-card :is(dt, .customer-overview-muted, .customer-overview-hours, .customer-overview-response, .customer-overview-created) {
  color: var(--customer-dialog-muted);
  font-size: 12px;
}
.customer-overview-card dd { margin: 2px 0 0; color: var(--customer-dialog-ink); overflow-wrap: anywhere; }
.customer-overview-created { display: block; }
.customer-overview-hours { margin-block-start: 4px; }
.customer-overview-card :is(.customer-overview-muted, .customer-overview-plan-title, .customer-overview-text p) { margin: 0; }
.customer-overview-plan-title { overflow-wrap: anywhere; }
.customer-overview-text p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.customer-overview-text p.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.customer-overview-text > button { color: var(--customer-dialog-accent); }
.customer-overview-response { margin: 2px 0 4px; }
.customer-overview-response > span { background: var(--customer-dialog-fill); border-radius: 4px; padding: 1px 5px; }
.customer-overview-documents { display: grid; gap: 3px; }
.customer-overview-document, .customer-overview-materials-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  padding: 4px 6px;
  background: var(--customer-dialog-fill);
  color: var(--customer-dialog-accent);
  text-align: start;
  font-size: 12px;
  cursor: pointer;
}
.customer-overview-document > span { flex: none; }
.customer-overview-document > strong { min-width: 0; color: var(--customer-dialog-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-overview-extra-documents > summary { color: var(--customer-dialog-accent); font-size: 12px; padding: 4px 0; cursor: pointer; }
.customer-overview-materials { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; }
.customer-overview-materials > .customer-overview-heading { gap: 3px 6px; }
.customer-overview-materials-link { align-items: center; }
.customer-overview-materials-link img { width: 28px; height: 28px; object-fit: cover; border-radius: 3px; }
.customer-order-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 8px 0; color: var(--customer-dialog-muted); }
.customer-order-total strong { color: var(--customer-dialog-ink); }
.customer-detail-section-toolbar, .customer-record-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin: 0 0 8px;
  padding: 5px 8px;
  border: 1px solid var(--customer-dialog-edge);
  border-radius: 8px;
  background: var(--customer-dialog-fill);
}
.customer-detail-section-toolbar .customer-detail-subnav, .customer-record-filters, .customer-detail-section-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
}
.customer-detail-section-toolbar .customer-detail-subnav > button[aria-pressed="true"] { background: #e6f4ee; color: #146752; }
.customer-detail-section-summary > .customer-order-total { margin: 0; }
.customer-detail-section-toolbar button, .customer-record-filter-bar button,
.customer-record-actions button, .customer-business-records [data-column="action"] button {
  min-height: 30px;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
}
.customer-record-filter-bar { border-color: transparent; background: transparent; padding-inline: 0; }
.customer-detail-body .customer-record-timeline { max-height: none; padding: 0; overflow: visible; }
.customer-detail-body .customer-record-list { display: grid; list-style: none; margin: 0; padding: 0; gap: 6px; }
.customer-detail-body .customer-record-timeline .customer-record,
.customer-detail-body .customer-followup-record {
  display: grid;
  grid-template-columns: minmax(110px, 142px) minmax(0, 1fr) minmax(92px, auto);
  align-items: start;
  gap: 4px 12px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--customer-dialog-edge);
  border-radius: 8px;
  background: #fff;
}
.customer-detail-body .customer-record-timeline .customer-record > div { padding: 0; border: 0; }
.customer-record-meta { display: grid; align-content: start; gap: 2px; }
.customer-record-meta :is(time, small), .customer-record-muted { color: var(--customer-dialog-muted); font-size: 12px; }
.customer-record-content { min-width: 0; }
.customer-record-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; margin: 0 0 3px; }
.customer-record-heading > strong { color: var(--customer-dialog-ink); font-size: 13px; }
.customer-record-content .customer-overview-text > p { margin: 0; }
.customer-record-badge {
  display: inline-block;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 5px;
  color: #455a6a;
  background: #edf2f5;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.customer-record-badge[data-tone="success"] { color: #146752; background: #e6f4ee; }
.customer-record-badge[data-tone="warning"] { color: #845316; background: #fff2d9; }
.customer-record-badge[data-tone="danger"] { color: #963731; background: #fbe9e7; }
.customer-detail-body .customer-record-timeline .customer-record-badge { color: #455a6a; }
.customer-record-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; max-width: 250px; }
.customer-record-actions > .row-actions { margin: 0; gap: 4px; }
.customer-record-actions > .row-actions:empty { display: none; }
.customer-record-actions .followup-edit-history { flex-basis: 100%; }
.customer-detail-body .customer-record-timeline .customer-record-actions button { padding-inline: 8px; color: var(--customer-dialog-ink); }
.customer-record-disclosure { margin: 4px 0 0; }
.customer-record-disclosure > summary, .customer-record-actions .followup-edit-history > summary {
  width: fit-content;
  padding: 2px 0;
  cursor: pointer;
  color: var(--customer-dialog-accent);
  font-size: 12px;
}
.customer-record-details { margin-top: 4px; padding: 7px 8px; border-radius: 6px; background: var(--customer-dialog-fill); }
.customer-record-details dl { display: grid; gap: 5px; margin: 0; }
.customer-record-details dt { color: var(--customer-dialog-muted); font-size: 12px; }
.customer-record-details dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-record-details dd small { display: block; color: var(--customer-dialog-muted); }
.customer-record-details .followup-event, .customer-record-history { padding: 6px 0; }
.customer-record-details :is(.followup-event, .customer-record-history) p { margin: 3px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-record-empty { margin: 0; padding: 12px; border: 1px solid var(--customer-dialog-edge); border-radius: 8px; color: var(--customer-dialog-muted); }
.customer-business-records { border: 1px solid var(--customer-dialog-edge); border-radius: 8px; overflow: hidden; }
.customer-business-records table { border-collapse: collapse; width: 100%; table-layout: auto; color: var(--customer-dialog-ink); }
.customer-business-records :is(th, td) { padding: 7px 9px; text-align: start; vertical-align: middle; }
.customer-business-records thead { background: var(--customer-dialog-fill); }
.customer-business-records th { font-size: 12px; font-weight: 650; color: var(--customer-dialog-muted); white-space: nowrap; }
.customer-business-records td { border-block-start: 1px solid var(--customer-dialog-edge); font-size: 13px; }
.customer-business-records tbody tr:hover { background: #f5faf8; }
.customer-business-records :is([data-column="amount"], [data-column="action"]) { text-align: end; white-space: nowrap; }
.customer-business-records [data-column="amount"] { font-variant-numeric: tabular-nums; }
.customer-business-records [data-column="date"] { white-space: nowrap; }
.customer-business-records .customer-business-cell-label { display: none; }
.customer-business-number { padding: 0; color: var(--customer-dialog-accent); text-align: start; font-weight: 650; overflow-wrap: anywhere; cursor: pointer; }
.customer-business-number:hover { text-decoration: underline; }
.customer-business-records .customer-business-status, .customer-business-records .delivery-status { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.customer-business-records .delivery-status > strong { padding: 1px 6px; border-radius: 5px; color: #146752; background: #e6f4ee; font-size: 12px; }
.customer-business-records .delivery-status > strong.delivery-cancelled { color: #455a6a; background: #edf2f5; }
.customer-business-records .delivery-status small { margin: 0; font-size: 12px; }
.customer-business-records .customer-record-warning { color: #845316; font-size: 12px; white-space: nowrap; }
.customer-detail-body[data-customer-section="inquiries"] > .oc-record { margin-block-start: 0 !important; border-color: var(--customer-dialog-edge); border-radius: 8px; }
.customer-detail-body[data-customer-section="inquiries"] .oc-record > .oc-toolbar { gap: 6px 8px; margin: 0 0 6px; }
.customer-detail-body[data-customer-section="inquiries"] .oc-toolbar h3 { margin: 0; font-size: 14px; }
.customer-detail-body[data-customer-section="inquiries"] .oc-record > .oc-record { margin: 6px 0; padding: 7px 9px; }
.customer-detail-body .customer-read-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin: 8px 0 0; }
.customer-detail-body .cm-maint-heading { gap: 6px 10px; margin-bottom: 7px; }
.customer-detail-body .cm-maint-heading > h3 { margin: 0; font-size: 14px; }
.customer-detail-body .cm-maint-editor { padding: 10px; margin: 7px 0 0; border-color: var(--customer-dialog-edge); background: var(--customer-dialog-fill); }
.customer-detail-body .cm-maint-actions { margin-top: 10px; padding-top: 9px; background: var(--customer-dialog-fill); }
.customer-detail-body .cm-maint-actions > button { min-height: 36px; }

@media (max-width: 850px) {
  .customer-overview-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .customer-detail-drawer.customer-detail-compact > .customer-detail-header { gap: 6px; }
  .customer-detail-header .customer-detail-actions > button { min-height: 38px; }
  .customer-detail-nav > button, .customer-dialog-footer > button { min-height: 40px; }
  .customer-profile-editor .customer-profile-sections .form-grid,
  .customer-basic-editor .cm-maint-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-detail-body .customer-overview-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-overview-status .customer-overview-quality-toggle { margin-inline-start: 0; }
  .customer-detail-body .cm-maint-actions > button { flex: none; min-height: 40px; }
  .customer-detail-body .customer-record-timeline .customer-record,
  .customer-detail-body .customer-followup-record { grid-template-columns: minmax(0, 1fr); }
  .customer-record-meta { display: flex; flex-wrap: wrap; gap: 3px 6px; }
  .customer-record-actions { max-width: none; margin-block-start: 3px; }
  .customer-business-records { border: 0; border-radius: 0; }
  .customer-business-records :is(table, tbody) { display: block; }
  .customer-business-records thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .customer-business-records tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 8px;
    margin-block-end: 7px; padding: 8px; border: 1px solid var(--customer-dialog-edge); border-radius: 8px; }
  .customer-business-records tbody td { display: grid; gap: 2px; order: 2; min-width: 0; padding: 0; border: 0; white-space: normal; text-align: start; }
  .customer-business-records td[data-column="number"] { order: 0; }
  .customer-business-records td[data-column="action"] { order: 1; justify-self: end; }
  .customer-business-records .customer-business-cell-label { display: block; color: var(--customer-dialog-muted); font-size: 11px; }
  .customer-business-records td[data-column="action"] .customer-business-cell-label { display: none; }
}
