/* Entry and product editor layout. The body owns vertical scrolling; the footer is a separate row. */
body:has(:is(#partsEntryModal, #partsProductEditorModal).entry-workspace:not(.hidden)) #tab-parts > .parts-control-panel {
  row-gap: 10px;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace {
  --entry-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  --entry-surface: #ffffff;
  --entry-canvas: #f6f7f7;
  --entry-text: #24292d;
  --entry-muted: #657078;
  --entry-border: #d2d8db;
  --entry-accent: #4168ca;
  --entry-control: var(--icon-button-size, 34px);
  --entry-footer-bottom-padding: 12px;
  --parts-entry-control: var(--entry-control);
  --entry-columns: minmax(148px, 2.5fr) minmax(80px, 1.25fr) minmax(42px, .55fr) minmax(46px, .6fr) minmax(64px, .9fr) minmax(46px, .6fr) minmax(64px, .9fr);
  position: fixed !important;
  inset: var(--parts-modal-top, 100px) var(--parts-modal-right, 8px) var(--parts-modal-bottom, 8px) var(--parts-modal-left, 8px) !important;
  display: block;
  padding: 0 !important;
  background: none !important;
  backdrop-filter: none !important;
  overflow: hidden !important;
  z-index: 120;
  color: var(--entry-text);
  container-type: inline-size;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace.hidden { display: none !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace * { box-sizing: border-box; letter-spacing: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-shell {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 0 !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--line);
  border-top-color: var(--entry-border);
  border-radius: 0 0 8px 8px;
  background: var(--entry-surface);
  box-shadow: none;
  transform: none !important;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace h3 { margin: 0; font-size: calc(13px + var(--app-text-size-offset, 0px)); font-weight: 600; line-height: 1.3; color: var(--entry-text); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-body {
  display: block;
  min-height: 0;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 0 var(--chrome-inline-padding, 9px) 16px;
  background: var(--entry-surface);
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section { margin: 0; padding: 8px 0 12px; border: 0; border-bottom: 1px solid var(--entry-border); background: transparent; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 38px; margin: 0 0 4px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section-body { display: grid; gap: 8px; min-width: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace [hidden] { display: none !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section-toggle { color: var(--entry-muted); border-color: transparent; background: transparent; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--entry-chevron) center / contain no-repeat;
  -webkit-mask: var(--entry-chevron) center / contain no-repeat;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section-toggle[aria-expanded="false"]::before { rotate: 180deg; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field { display: grid; gap: 3px; width: 100%; min-width: 0; margin: 0; position: relative; align-content: start; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field > span,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-total > span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(12px + var(--app-text-size-offset, 0px)); line-height: 16px; font-weight: 400; color: var(--entry-muted); }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field input:not([type="hidden"]),
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field select,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display {
  display: block;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: var(--entry-control) !important;
  min-height: var(--entry-control) !important;
  max-height: var(--entry-control) !important;
  padding: 0 9px !important;
  margin: 0 !important;
  border: 1px solid var(--entry-border) !important;
  border-radius: 4px !important;
  background-color: var(--entry-surface) !important;
  color: var(--entry-text) !important;
  font-size: calc(13px + var(--app-text-size-offset, 0px)) !important;
  font-weight: 400 !important;
  line-height: normal !important;
  text-align: left !important;
  box-shadow: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display { display: flex; align-items: center; padding-right: 28px !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-native { display: none !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-shell { position: relative; min-width: 0; width: 100%; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display { position: relative; white-space: nowrap; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display::after { content: ""; position: absolute; right: 10px; top: 50%; width: 15px; height: 15px; margin-top: -7px; background: currentColor; mask: var(--entry-chevron) center / contain no-repeat; -webkit-mask: var(--entry-chevron) center / contain no-repeat; rotate: 180deg; opacity: .7; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display[aria-expanded="true"]::after { rotate: 0deg; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field input[type="date"] { padding-right: 32px !important; background-image: none !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field:has(input[type="date"])::after { content: ""; position: absolute; right: 10px; bottom: 9px; width: 16px; height: 16px; pointer-events: none; background: var(--entry-text); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M4 10h16'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M4 10h16'/%3E%3C/svg%3E") center / contain no-repeat; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field input:disabled,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field select:disabled,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display:disabled { background: var(--entry-canvas) !important; color: var(--entry-muted) !important; opacity: 1 !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field input:focus-visible,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-field .estimate-select-display:focus-visible,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-material-row input:focus-visible { border-color: var(--entry-text) !important; outline: none !important; box-shadow: none !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-pair,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-invoice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-stock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-supplier-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-tax-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px 12px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-tax-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; min-width: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-tax-controls > .entry-field { flex: 1 0 44px; width: auto; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-tax-controls > .entry-actions { flex-wrap: wrap; max-width: 100%; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-actions,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-modes { display: flex; gap: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-modes button { display: inline-flex; justify-content: center; align-items: center; min-width: 48px; height: var(--entry-control); padding: 0 12px; margin: 0; border: 1px solid var(--entry-border); border-radius: 0 4px 4px 0; font-size: var(--button-text-size) !important; line-height: 1; background: var(--entry-surface); color: var(--entry-muted); }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-modes button:first-child { border-radius: 4px 0 0 4px; border-right: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-modes button[aria-pressed="true"] { background: var(--entry-accent) !important; border-color: var(--entry-accent) !important; color: #fff !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-file-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-file-row .entry-actions { min-width: 0; flex-wrap: wrap; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace #partsEntryInvoiceFileLabel { border-style: dashed !important; cursor: pointer; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-materials { padding: 8px 0 0; min-width: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-count { color: var(--entry-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-material-scroll { overflow-x: auto; min-width: 0; padding-bottom: 4px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-material-grid { width: 100%; min-width: 540px; margin: 0; padding: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-material-headers,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-material-row { display: grid !important; grid-template-columns: var(--entry-columns) !important; gap: 5px !important; align-items: center; min-width: 0; margin: 0 !important; padding: 4px 0 !important; border: 0 !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-material-headers { background: var(--entry-canvas); margin-bottom: 3px !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-material-headers span { min-width: 0; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--entry-muted); font-size: calc(11px + var(--app-text-size-offset, 0px)); font-weight: 400; line-height: 20px; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-material-rows { display: grid; gap: 0; height: auto; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-material-row > *,
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-search-cell { display: block; position: relative; margin: 0; padding: 0; min-width: 0; width: 100%; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-material-row input {
  width: 100% !important;
  min-width: 0 !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 5px !important;
  margin: 0 !important;
  border: 1px solid var(--entry-border) !important;
  border-radius: 3px !important;
  background: var(--entry-surface) !important;
  color: var(--entry-text) !important;
  font-size: calc(12px + var(--app-text-size-offset, 0px)) !important;
  font-weight: 400 !important;
  line-height: normal !important;
  text-align: left;
  text-overflow: ellipsis;
  box-shadow: none !important;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .parts-entry-material-row .parts-entry-number-input { text-align: right; font-variant-numeric: tabular-nums; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-footer { min-width: 0; padding: 10px var(--chrome-inline-padding, 9px) var(--entry-footer-bottom-padding); border-top: 1px solid var(--entry-border); background: var(--entry-canvas); }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-totals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-total { min-width: 0; display: grid; gap: 3px; margin: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-total input { width: 100% !important; min-width: 0 !important; height: 27px !important; min-height: 27px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; color: var(--entry-text) !important; opacity: 1 !important; font-size: calc(16px + var(--app-text-size-offset, 0px)) !important; font-weight: 500 !important; text-align: right; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-total:last-child input { color: var(--entry-text) !important; font-weight: 600 !important; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-footer-bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; min-width: 0; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-footer-currency {
  --entry-currency-bottom-gap: max(0px, calc((var(--entry-control) - 1lh) / 2));
  align-self: flex-end;
  margin: 0 auto var(--entry-currency-bottom-gap) calc(var(--entry-footer-bottom-padding) + var(--entry-currency-bottom-gap) - var(--chrome-inline-padding, 9px));
  flex: 0 0 auto;
  color: var(--entry-muted);
  font-size: var(--button-text-size);
  line-height: 1.4;
  white-space: nowrap;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-footer-actions { min-width: 0; flex-wrap: wrap; }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
.entry-product-options { position: fixed !important; z-index: 5200 !important; box-sizing: border-box; margin: 0 !important; padding: 4px !important; overflow-y: auto !important; border: 1px solid #d2d8db; border-radius: 6px; background: #fff; color: #24292d; box-shadow: 0 6px 18px #24292d26; }
.entry-product-options.hidden { display: none !important; }
.entry-product-options .entry-product-option { display: grid; gap: 3px; padding: 8px; cursor: pointer; border-radius: 3px; font-size: 13px; }
.entry-product-options .entry-product-option[aria-selected="true"],
.entry-product-options .entry-product-option:hover { background: #4168ca; color: #ffffff; }
.entry-product-options .entry-product-option strong { font-weight: 500; overflow-wrap: anywhere; }
.entry-product-options .entry-product-option small { font-size: 11px; color: #657078; }
.entry-select-options .estimate-select-option { display: block; width: 100%; min-height: 32px; margin: 0; padding: 6px 8px; border: 0; border-radius: 3px; background: #fff; color: #24292d; font: inherit; font-size: 13px; text-align: left; }
.entry-select-options .estimate-select-option:hover,
.entry-select-options .estimate-select-option:focus-visible,
.entry-select-options .estimate-select-option.selected { background: #4168ca; color: #ffffff; }
body.theme-dark :is(#partsEntryModal, #partsProductEditorModal).entry-workspace {
  --entry-surface: #242628;
  --entry-canvas: #2c2f33;
  --entry-text: #edf0f3;
  --entry-muted: #b7bdc5;
  --entry-border: #4e545c;
  --entry-accent: #4168ca;
}
body.theme-dark .entry-product-options,
body.theme-dark .entry-select-options .estimate-select-option { background: #242628; color: #edf0f3; border-color: #4e545c; }
body.theme-dark .entry-product-options .entry-product-option small { color: #b7bdc5; }
body.theme-dark .entry-product-options .entry-product-option[aria-selected="true"],
body.theme-dark .entry-product-options .entry-product-option:hover,
body.theme-dark .entry-select-options .estimate-select-option:hover,
body.theme-dark .entry-select-options .estimate-select-option:focus-visible,
body.theme-dark .entry-select-options .estimate-select-option.selected { background: #4168ca; color: #ffffff; }
@container (min-width: 720px) {
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-invoice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-stock-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container (max-width: 420px) {
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-file-row { grid-template-columns: minmax(0, 1fr); }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-actions { gap: 4px; }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-modes button { padding-inline: 8px; }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-total > span { font-size: 10px; }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-total input { font-size: 13px !important; }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-totals { gap: 6px; }
}
@container (max-width: 480px) {
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-footer-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 560px) {
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-tax-controls { display: contents; }
  :is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-tax-controls > .entry-actions { grid-column: 1 / -1; }
}

/* Reuse the application's existing section symbols; they are decorative. */
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace .entry-section-heading h3::before {
  content: "";
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--entry-section-icon) center / contain no-repeat;
  -webkit-mask: var(--entry-section-icon) center / contain no-repeat;
}
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace #entrySupplierTitle { --entry-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E"); }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace :is(#entryInvoiceTitle, #productInvoiceTitle) { --entry-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E"); }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace #entryStockTitle { --entry-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.1 18.1V6.9c0-1 .82-1.82 1.82-1.82h4.23c.58 0 1.11.27 1.46.73l.86 1.14c.35.46.88.73 1.46.73h5.72c1 0 1.82.82 1.82 1.82v2.6'/%3E%3Cpath d='M3.1 10.2h10.8'/%3E%3Cpath d='M3.1 18.1c0 1 .82 1.82 1.82 1.82h8.38'/%3E%3Ccircle cx='17.25' cy='16.65' r='3.05'/%3E%3Cpath d='m19.55 18.95 2.1 2.1'/%3E%3C/svg%3E"); }
:is(#partsEntryModal, #partsProductEditorModal).entry-workspace :is(#entryMaterialsTitle, #productEditorTitle) { --entry-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E"); }
.entry-product-options .entry-product-option[aria-selected="true"] small,
.entry-product-options .entry-product-option:hover small,
body.theme-dark .entry-product-options .entry-product-option[aria-selected="true"] small,
body.theme-dark .entry-product-options .entry-product-option:hover small { color: #ffffff; }
.entry-product-options .parts-partner-suggestion:hover { background: #4168ca; color: #ffffff; }
.entry-product-options .parts-partner-suggestion:hover .parts-partner-meta { color: #ffffff; }

#partsProductEditorModal.entry-workspace .entry-totals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#partsProductEditorModal.entry-workspace .entry-field input[inputmode="decimal"] { text-align: right !important; }
#partsProductEditorModal.entry-workspace .entry-field .estimate-select-display { display: block; line-height: calc(var(--entry-control) - 2px) !important; }
#partsProductEditorModal .product-editor-status { margin: 0; font-size: inherit; color: var(--entry-muted); }
#partsProductEditorModal .product-editor-status:empty { display: none; }
#partsProductEditorModal .product-editor-status.is-error { color: var(--danger-text); }
