/* source block 127: local-v2-10-4-quick-add-polish; v2.19.18 line 31726 */

/* LOCAL v2.10.4 — Quick Add search + typography/alignment polish */
.quick-products-left-head{display:block!important;padding:7px 8px!important;min-height:48px!important;}
.quick-product-search{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:38px!important;min-height:38px!important;padding:6px 12px!important;font-size:.82rem!important;font-weight:600!important;}
.quick-product-row.hidden{display:none!important;}
.quick-product-copy strong{font-size:.80rem!important;font-weight:700!important;line-height:1.24!important;letter-spacing:0!important;}
.quick-product-copy small{font-size:.66rem!important;font-weight:500!important;}
.console-basket-product,.console-delivery-basket-row .console-basket-product{font-size:.86rem!important;font-weight:700!important;line-height:1.22!important;letter-spacing:0!important;}
.job-console-build .console-dark-section-head{margin-left:-10px!important;margin-right:-10px!important;}
.console-change-customer,.console-change-address-btn,.console-change-address-btn.active{box-sizing:border-box!important;min-width:150px!important;width:150px!important;height:38px!important;min-height:38px!important;padding:7px 12px!important;font-size:.88rem!important;font-weight:800!important;line-height:1!important;}
.console-totals-strip{font-weight:650!important;}
.console-totals-strip .totals-caption{font-weight:700!important;}
.console-totals-strip strong{font-size:.96rem!important;font-weight:700!important;letter-spacing:0!important;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;}
.console-total-grand{font-weight:650!important;}
.console-total-grand strong{font-size:1.06rem!important;font-weight:800!important;}

/* source block 128: dmm-v21918-driver-terms-collapse; v2.19.18 line 31743 */

/* v2.19.18 — keep the complete legal wording available while placing the
   customer name, signatures and save controls in immediate view. */
body.driver-mode #driverTermsInline details.driver-terms-copy > summary{
  cursor:pointer!important;
  list-style:none!important;
}
body.driver-mode #driverTermsInline details.driver-terms-copy > summary::-webkit-details-marker{display:none!important;}
body.driver-mode #driverTermsInline details.driver-terms-copy > summary:focus-visible{
  outline:3px solid #2f6fed!important;
  outline-offset:-3px!important;
}
body.driver-mode #driverTermsInline .driver-terms-copy-toggle .when-open{display:none!important;}
body.driver-mode #driverTermsInline details.driver-terms-copy[open] .driver-terms-copy-toggle .when-closed{display:none!important;}
body.driver-mode #driverTermsInline details.driver-terms-copy[open] .driver-terms-copy-toggle .when-open{display:inline!important;}
body.driver-mode #driverTermsInline details.driver-terms-copy:not([open]) > .driver-terms-copy-body{display:none!important;}

/* source block 129: local-v2-10-5-header-alignment; v2.19.18 line 31761 */

/* LOCAL v2.10.5 — exact Customer / Delivery Address header action alignment */
#customerPickerDialog.job-history-mode .job-console-head{
  box-sizing:border-box!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
#customerPickerDialog.job-history-mode .job-console-build{
  box-sizing:border-box!important;
}
#customerPickerDialog.job-history-mode .console-address-section .console-dark-section-head{
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
  width:100%!important;
}
#customerPickerDialog.job-history-mode .console-address-section{
  padding:0!important;
}
#customerPickerDialog.job-history-mode .console-address-inputs{
  padding:7px 7px 0!important;
}
#customerPickerDialog.job-history-mode .console-change-customer,
#customerPickerDialog.job-history-mode .console-change-address-btn,
#customerPickerDialog.job-history-mode .console-change-address-btn.active{
  box-sizing:border-box!important;
  width:158px!important;
  min-width:158px!important;
  height:40px!important;
  min-height:40px!important;
  padding:9px 16px!important;
  border:2px solid #b91c1c!important;
  border-radius:7px!important;
  background:#dc2626!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
}
#customerPickerDialog.job-history-mode .console-dark-section-head{
  min-height:52px!important;
  padding:6px 8px!important;
}

/* source block 130: local-v2-11-0-clean-quick-header-actions; v2.19.18 line 31808 */

/* LOCAL v2.11.0 — simplified customer header + blue icon actions + flush section bars */
#customerPickerDialog.job-history-mode .job-console-head{
  min-height:52px!important;height:auto!important;padding:7px 10px!important;border-radius:7px!important;background:#111827!important;
}
#customerPickerDialog.job-history-mode .job-console-customer{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;}
#customerPickerDialog.job-history-mode .job-console-customer>strong{font-size:1rem!important;font-weight:800!important;flex:0 0 auto!important;}
#customerPickerDialog.job-history-mode .console-contact-name{font-size:.83rem!important;font-weight:500!important;color:#fff!important;opacity:.94!important;flex:0 0 auto!important;padding-right:12px!important;border-right:1px solid rgba(255,255,255,.28)!important;}
#customerPickerDialog.job-history-mode .console-invoice-address{font-size:.84rem!important;font-weight:500!important;color:#fff!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#customerPickerDialog.job-history-mode .console-invoice-label{font-weight:800!important;margin-right:7px!important;}
#customerPickerDialog.job-history-mode .recent-eyebrow{display:none!important;}
#customerPickerDialog.job-history-mode .console-change-customer,
#customerPickerDialog.job-history-mode .console-change-address-btn,
#customerPickerDialog.job-history-mode .console-change-address-btn.active{
  width:auto!important;min-width:168px!important;max-width:none!important;height:40px!important;min-height:40px!important;padding:8px 14px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  border:1px solid #154b9f!important;border-radius:7px!important;background:#1769d2!important;color:#fff!important;
  font-size:.88rem!important;font-weight:800!important;line-height:1!important;box-shadow:0 1px 2px rgba(15,23,42,.18)!important;opacity:1!important;
}
#customerPickerDialog.job-history-mode .console-change-customer:hover,
#customerPickerDialog.job-history-mode .console-change-address-btn.active:hover{background:#1258b5!important;border-color:#104a96!important;}
#customerPickerDialog.job-history-mode .console-change-address-btn:disabled{background:#7c8aa0!important;border-color:#6f7c90!important;color:#e5e7eb!important;opacity:.62!important;cursor:not-allowed!important;}
#customerPickerDialog.job-history-mode .console-action-icon{width:17px!important;height:17px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 17px!important;}
#customerPickerDialog.job-history-mode .console-action-icon svg{width:17px!important;height:17px!important;display:block!important;fill:currentColor!important;}
/* Make dark section headers exact rectangles with no 1px/2px decorative overhangs. */
#customerPickerDialog.job-history-mode .console-address-section,
#customerPickerDialog.job-history-mode .console-products-section{overflow:hidden!important;border-radius:0!important;}
#customerPickerDialog.job-history-mode .console-address-section::before,
#customerPickerDialog.job-history-mode .console-address-section::after,
#customerPickerDialog.job-history-mode .console-products-section::before,
#customerPickerDialog.job-history-mode .console-products-section::after,
#customerPickerDialog.job-history-mode .console-dark-section-head::before,
#customerPickerDialog.job-history-mode .console-dark-section-head::after{content:none!important;display:none!important;}
#customerPickerDialog.job-history-mode .console-address-section .console-dark-section-head,
#customerPickerDialog.job-history-mode .console-products-section .console-dark-section-head{
  margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;
}

/* source block 131: local-v2-11-1-basket-reliability-spacing; v2.19.18 line 31847 */

/* LOCAL v2.11.1 — reliable address/remove actions + room for 3–4 basket rows */
#customerPickerDialog.job-history-mode .console-build-grid{
  padding:3px 5px 5px!important;
  row-gap:4px!important;
}
/* The navy header itself is the section boundary; legacy 3px anchor lines only add clutter. */
#customerPickerDialog.job-history-mode .job-console-build .console-major-section,
#customerPickerDialog.job-history-mode .job-console-build .console-product-subtotal,
#customerPickerDialog.job-history-mode .job-console-build .console-delivery-cost-row,
#customerPickerDialog.job-history-mode .job-console-build .console-job-total,
#customerPickerDialog.job-history-mode .job-console-build .console-notes-field,
#customerPickerDialog.job-history-mode .job-console-build #consoleDateField,
#customerPickerDialog.job-history-mode .job-console-build #consoleTimeField,
#customerPickerDialog.job-history-mode .job-console-build #consoleDriverField,
#customerPickerDialog.job-history-mode .job-console-build #consoleTruckField{
  border-top:0!important;
}
#customerPickerDialog.job-history-mode .console-address-section,
#customerPickerDialog.job-history-mode .console-products-section{overflow:visible!important;border:0!important;background:#fff!important;}
#customerPickerDialog.job-history-mode .console-address-section .console-dark-section-head,
#customerPickerDialog.job-history-mode .console-products-section .console-dark-section-head{
  border-radius:7px 7px 0 0!important;overflow:hidden!important;
}
#customerPickerDialog.job-history-mode .console-address-inputs{padding-top:4px!important;padding-bottom:2px!important;}
/* Make the basket a useful working area: 3 rows guaranteed visually, 4 on normal desktop heights. */
#customerPickerDialog.job-history-mode #consoleProductSummary.rich-console-basket{
  max-height:214px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
#customerPickerDialog.job-history-mode .console-basket-head{padding:4px 7px!important;min-height:25px!important;}
#customerPickerDialog.job-history-mode .console-basket-row{padding:4px 7px!important;min-height:39px!important;}
#customerPickerDialog.job-history-mode .console-split-notes textarea{min-height:72px!important;height:72px!important;}
#customerPickerDialog.job-history-mode .console-save-bar{min-height:42px!important;padding:4px 5px!important;}
#customerPickerDialog.job-history-mode .console-totals-strip{min-height:36px!important;padding-top:5px!important;padding-bottom:5px!important;}
/* Larger hit target and deterministic click area for basket removal. */
#customerPickerDialog.job-history-mode .console-basket-remove{
  width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;
  z-index:80!important;pointer-events:auto!important;touch-action:manipulation!important;
}
@media(max-height:820px){
  #customerPickerDialog.job-history-mode #consoleProductSummary.rich-console-basket{max-height:174px!important;}
  #customerPickerDialog.job-history-mode .console-split-notes textarea{min-height:60px!important;height:60px!important;}
}

/* source block 132: dmm-v21337-address-delivery-polish; v2.19.18 line 31898 */

/* Delivery tab heading: only show above the allocation controls on Delivery view. */
#deliveryOverviewBar{display:none!important;grid-column:1/-1!important;}
#jobFormGrid.job-view-delivery #deliveryOverviewBar{
  display:flex!important;align-items:center!important;min-height:38px!important;padding:8px 11px!important;
  background:#111827!important;color:#fff!important;border-radius:6px!important;font-weight:950!important;
}
/* Two clearly separated full addresses. */
#jobFormGrid .paired-address-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
#jobFormGrid .paired-address-columns{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;}
#jobFormGrid .paired-address-column{border:1px solid #cbd5e1;border-radius:7px;background:#fff;overflow:hidden;padding:6px;box-sizing:border-box;}
#jobFormGrid .paired-address-column .address-mode-option{margin:0 0 6px!important;min-height:42px!important;border-radius:6px!important;}
#jobFormGrid .paired-address-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px 8px!important;}
#jobFormGrid .paired-address-fields label{margin:0!important;font-size:.72rem!important;font-weight:850!important;color:#334155!important;}
#jobFormGrid .paired-address-fields input{height:34px!important;min-height:34px!important;padding:5px 8px!important;margin-top:3px!important;font-size:.82rem!important;font-weight:750!important;}
#jobFormGrid .invoice-address-fields input{background:#f8fafc!important;color:#334155!important;}
#jobFormGrid .invoice-address-column.is-selected{border-color:#74bd80!important;background:#f6fbf7!important;box-shadow:inset 3px 0 0 #4da45d;}
#jobFormGrid .invoice-address-column:not(.is-selected){border-color:#9fc3ff!important;background:#f7fbff!important;}
#jobFormGrid .different-address-column.is-selected{border-color:#74bd80!important;background:#f6fbf7!important;box-shadow:inset 3px 0 0 #4da45d;}
#jobFormGrid .different-address-column:not(.is-selected){border-color:#9fc3ff!important;background:#f7fbff!important;}
#jobFormGrid .paired-address-column.is-selected .address-mode-option{border-color:#74bd80!important;background:#f3fbf4!important;}
#jobFormGrid .paired-address-column:not(.is-selected) .address-mode-option{border-color:#78a9ff!important;background:#f5f9ff!important;color:#2563eb!important;}
#jobFormGrid .paired-address-column:not(.is-selected) .address-mode-option strong{color:#2563eb!important;}
#jobFormGrid .different-address-column:not(.is-selected) .paired-address-fields{opacity:.62;}
@media(max-width:900px){
 #jobFormGrid .paired-address-columns{grid-template-columns:1fr!important;}
}

