/* A compact service picker and readable estimate, on one frosted outer surface. */
.calculator-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: 24px;
  overflow: visible;
  border-radius: 28px;
}
.calculator-workbench > * { min-width: 0; }
.calculator-workbench .calc-service-picker {
  grid-column: 1 / -1;
  padding-bottom: 24px;
}
.calculator-workbench .calc-panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}
.calculator-workbench .calc-panel-heading h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.45px;
  line-height: 1.25;
}
.calculator-workbench .calc-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  height: 31px;
  border: 1px solid #dbe1e9;
  border-radius: 10px;
  background: #ffffff;
  color: #626873;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.calculator-workbench .calc-choice-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.calculator-workbench .calc-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 145px;
  padding: 14px 12px;
  border: 1px solid #dce2ea;
  border-radius: 17px;
  background: #ffffffc9;
  color: #1d1d1f;
  box-shadow: inset 0 1px 0 #ffffff;
  font: inherit;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.calculator-workbench .calc-choice-icon {
  display: flex;
  align-items: center;
  min-height: 27px;
  color: #555e6b;
}
.calculator-workbench .calc-choice-icon .icon { width: 28px; height: 28px; }
.calculator-workbench .calc-choice-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.calculator-workbench .calc-choice-price {
  display: block;
  margin-top: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.calculator-workbench .calc-choice-price small {
  display: inline-block;
  color: #626873;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.calculator-workbench .calc-choice-check {
  position: absolute;
  top: 12px;
  right: 11px;
  display: flex;
  opacity: 0;
  color: #6e5500;
}
.calculator-workbench .calc-choice-check .icon { width: 18px; height: 18px; }
.calculator-workbench .calc-choice[aria-pressed="true"] {
  border-color: #e0b92d;
  background: #fff8dc;
  box-shadow: inset 0 0 0 1px #e0b92d, 0 4px 14px #b1851010;
}
.calculator-workbench .calc-choice[aria-pressed="true"] .calc-choice-icon { color: #7e6100; }
.calculator-workbench .calc-choice[aria-pressed="true"] .calc-choice-check { opacity: 1; }
.calculator-workbench .calc-choice:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 3px;
}
@media (hover: hover) {
  .calculator-workbench .calc-choice:hover {
    border-color: #b6becb;
    box-shadow: inset 0 1px 0 #ffffff, 0 5px 16px #2637520c;
  }
  .calculator-workbench .calc-choice[aria-pressed="true"]:hover { border-color: #b68d06; }
}
.calculator-workbench .calc-fields {
  padding: 24px 28px 8px 0;
  border-top: 1px solid #dfe4eb;
  background: transparent;
}
.calculator-workbench .calc-fields > .calc-panel-heading { margin-bottom: 25px; }
.calculator-workbench .calc-fields label:not(.checkbox-row) {
  color: #3c4149;
  font-size: 16px;
  line-height: 1.45;
}
.calculator-workbench .calc-fields :is(input, select) { font-size: 18px; background-color: #ffffff; }
.calculator-workbench #diameter-field { margin-bottom: 22px; }
.calculator-workbench .quantity-field {
  min-height: 66px;
  margin-top: 9px;
  border: 1px solid #ccd4e0;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: inset 0 2px 4px #23365104;
}
.calculator-workbench .quantity-field:focus-within {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px #0071e31a;
}
.calculator-workbench .quantity-field input {
  font-size: 28px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calculator-workbench .quantity-field button {
  flex: 0 0 51px;
  min-width: 44px;
  min-height: 54px;
  border-radius: 12px;
  color: #313b4a;
  font-size: 27px;
}
.calculator-workbench #quantity-unit { color: #626873; font-size: 15px; }
.calculator-workbench .field-help { font-size: 14px; line-height: 1.5; }
.calculator-workbench #quantity-help:empty { display: none; }
.calculator-workbench .delivery-block {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #e0e5ec;
  border-radius: 17px;
  background: #ffffff9e;
}
.calculator-workbench .checkbox-row {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 6px 10px;
  font-size: 16px;
  line-height: 1.4;
}
.calculator-workbench .checkbox-row input { margin-top: 2px; }
.calculator-workbench .checkbox-row b {
  grid-column: 2;
  margin-left: 0;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}
.calculator-workbench #distance-field { margin-top: 17px; }
.calculator-workbench .calc-receipt {
  align-self: start;
  padding: 0;
  border: 1px solid #dbe1e9;
  border-radius: 21px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 9px 25px #283b5708;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.calculator-workbench .estimate-scene {
  height: 120px;
  max-height: none;
  aspect-ratio: auto;
}
.calculator-workbench .estimate-scene img { object-position: 65% 38%; }
.calculator-workbench .estimate-scene::after { background: linear-gradient(0deg, #ffffff, #ffffff00 65%); }
.calculator-workbench .estimate-content {
  padding: 0 25px 23px;
  background: #ffffff;
}
.calculator-workbench .calc-receipt-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.calculator-workbench .calc-receipt-heading .eyebrow { font-size: 12px; color: #626873; }
.calculator-workbench .calc-receipt-heading .icon { width: 21px; height: 21px; color: #777f8b; }
.calculator-workbench .calc-summary h3 {
  max-width: none;
  margin: 0 0 15px;
  color: #1d1d1f;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.35px;
  overflow-wrap: anywhere;
}
.calculator-workbench .total-block {
  margin: 0 0 21px;
  padding: 0 0 21px;
  border-top: 0;
  border-bottom: 1px dashed #cbd3df;
}
.calculator-workbench .total-block > span { font-size: 14px; line-height: 1.4; color: #626873; }
.calculator-workbench .total-block strong {
  display: block;
  margin-top: 6px;
  color: #1d1d1f;
  font-size: clamp(38px, 4.2vw, 53px);
  font-weight: 650;
  letter-spacing: -1.8px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.calculator-workbench .estimate-lines { margin: 0; }
.calculator-workbench .estimate-lines > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 10px;
  margin: 0 0 13px;
  font-size: 15px;
  line-height: 1.4;
}
.calculator-workbench .estimate-lines dt { color: #626873; overflow-wrap: anywhere; }
.calculator-workbench .estimate-lines dd {
  max-width: none;
  color: #1d1d1f;
  font-weight: 600;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.calculator-workbench .calc-fuel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #dbe7df;
  border-radius: 10px;
  background: #f4faf5;
  color: #31563b;
  font-size: 13px;
  line-height: 1.35;
}
.calculator-workbench .calc-fuel-badge .icon { flex: 0 0 17px; width: 17px; height: 17px; }
.calculator-workbench .calc-summary .button { margin-top: 21px; min-height: 54px; font-size: 16px; }
.calculator-workbench .summary-phone { margin-top: 17px; font-size: 14px; line-height: 1.5; }
.calculator-workbench .summary-note { margin-top: 13px; font-size: 13px; line-height: 1.55; color: #626873; }

@media (max-width: 1100px) {
  .calculator-workbench .calc-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calculator-workbench .calc-choice { min-height: 133px; padding: 14px; }
  .calculator-workbench .calc-choice-name { font-size: 16px; }
}
@media (max-width: 840px) {
  .calculator-workbench { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .calculator-workbench .calc-fields { padding: 24px 0; }
  .calculator-workbench .calc-receipt { width: 100%; }
  .calculator-workbench .estimate-scene { height: 135px; }
  .calculator-workbench .estimate-content { padding: 0 24px 24px; }
  .calculator-workbench .total-block strong { font-size: 49px; }
  .calculator-workbench .summary-phone { font-size: 16px; }
}
@media (max-width: 520px) {
  .calculator-workbench { padding: 16px; border-radius: 23px; }
  .calculator-workbench .calc-service-picker { padding-bottom: 20px; }
  .calculator-workbench .calc-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .calculator-workbench .calc-choice { min-height: 141px; padding: 13px; border-radius: 15px; }
  .calculator-workbench .calc-choice-name { font-size: 15px; }
  .calculator-workbench .calc-panel-heading h3 { font-size: 20px; }
  .calculator-workbench .calc-fields { padding: 22px 0; }
  .calculator-workbench .delivery-block { padding: 14px; }
  .calculator-workbench .estimate-content { padding: 0 18px 21px; }
  .calculator-workbench .calc-summary h3 { font-size: 20px; }
  .calculator-workbench .total-block strong { font-size: 44px; }
  .calculator-workbench .estimate-lines > div { font-size: 14px; }
  .calculator-workbench .summary-phone { flex-wrap: wrap; gap: 5px; font-size: 14px; text-align: center; }
}
@media (max-width: 350px) {
  .calculator-workbench { padding: 11px; border-radius: 20px; }
  .calculator-workbench .calc-choice-grid { gap: 6px; }
  .calculator-workbench .calc-choice { padding: 11px 9px; min-height: 151px; }
  .calculator-workbench .calc-choice-name { font-size: 14px; }
  .calculator-workbench .calc-choice-price { font-size: 17px; }
  .calculator-workbench .calc-choice-check { top: 11px; right: 8px; }
  .calculator-workbench .calc-panel-heading { gap: 8px; }
  .calculator-workbench .calc-panel-heading h3 { font-size: 18px; letter-spacing: -.25px; }
  .calculator-workbench .quantity-field { min-height: 60px; }
  .calculator-workbench .quantity-field button { flex-basis: 44px; min-height: 50px; }
  .calculator-workbench .quantity-field input { font-size: 24px; }
  .calculator-workbench .delivery-block { padding: 12px; }
  .calculator-workbench .checkbox-row { font-size: 15px; gap: 6px 8px; }
  .calculator-workbench .estimate-scene { height: 110px; }
  .calculator-workbench .estimate-content { padding: 0 13px 18px; }
  .calculator-workbench .calc-summary h3 { font-size: 18px; }
  .calculator-workbench .total-block strong { font-size: 36px; letter-spacing: -1px; }
  .calculator-workbench .estimate-lines > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .calculator-workbench .estimate-lines dd { text-align: left; }
  .calculator-workbench .calc-summary .button { padding-inline: 12px; font-size: 15px; }
  .calculator-workbench .calc-fuel-badge { font-size: 12px; padding: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .calculator-workbench .calc-choice { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .calculator-workbench .calc-choice, .calculator-workbench .delivery-block { background: #ffffff; }
  .calculator-workbench .calc-choice[aria-pressed="true"] { background: #fff8dc; }
}
@media (forced-colors: active) {
  .calculator-workbench :is(.calc-choice, .calc-step-number, .calc-receipt,
      .estimate-content, .quantity-field, .delivery-block, .calc-fuel-badge) {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
  }
  .calculator-workbench .calc-choice[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -4px; }
  .calculator-workbench .calc-choice:focus-visible { outline-color: Highlight; outline-offset: 3px; }
  .calculator-workbench .calc-choice-check { color: Highlight; }
  .calculator-workbench .total-block { border-color: CanvasText; }
  .calculator-workbench .estimate-scene { display: none; }
  .calculator-workbench .estimate-content { padding-top: 22px; }
}

/* Build a quote from individually editable services. */
.calculator-workbench .calc-picker-help { margin: -4px 0 17px; color: #626873; font-size: 15px; line-height: 1.5; }
.calculator-workbench .calc-choice-add { position: absolute; top: 9px; right: 12px; color: #68707e; font-size: 26px; font-weight: 400; line-height: 1; }
.calculator-workbench .calc-choice-action { color: #715600; font-size: 13px; font-weight: 600; }
.calculator-workbench .calc-choice:active { background: #fff8dc; border-color: #cfa315; }
.calculator-workbench .calc-announcement { margin: 14px 0 0; color: #46564a; font-size: 14px; line-height: 1.5; }
.calculator-workbench .calc-announcement:empty { display: none; }
.calculator-workbench .calc-fields > .calc-panel-heading { margin-bottom: 18px; }
.calculator-workbench .order-count { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 0 6px; margin-left: 5px; border-radius: 9px; background: #fff3c1; color: #705800; font-size: 15px; letter-spacing: 0; vertical-align: middle; }
.calculator-workbench .order-items { display: grid; gap: 13px; }
.calculator-workbench .order-item { min-width: 0; padding: 18px; border: 1px solid #dce2ea; border-radius: 18px; background: #ffffffd9; }
.calculator-workbench .order-item-heading { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; margin-bottom: 17px; }
.calculator-workbench .order-item-heading > div { min-width: 0; }
.calculator-workbench .order-item-number { display: block; color: #707682; font-size: 12px; margin-bottom: 4px; }
.calculator-workbench .order-item-name { margin: 0; color: #25282e; font-size: 17px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.calculator-workbench .order-remove { display: flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 0 5px; margin-top: -7px; border: 0; border-radius: 9px; background: transparent; color: #964438; font-size: 12px; }
.calculator-workbench .order-remove > span:first-child { font-size: 24px; }
.calculator-workbench .order-remove:hover { background: #fff0ec; }
.calculator-workbench .order-item .order-diameter { margin-bottom: 17px; }
.calculator-workbench .order-item label { margin-top: 0; }
.calculator-workbench .order-item .quantity-field { min-height: 56px; margin-top: 7px; border-radius: 13px; }
.calculator-workbench .order-item .quantity-field input { font-size: 24px; min-width: 0; }
.calculator-workbench .order-item .quantity-field button { flex-basis: 44px; width: 44px; min-height: 48px; }
.calculator-workbench .order-unit { color: #626873; font-size: 14px; white-space: nowrap; }
.calculator-workbench .order-item .order-help { margin: 9px 0 13px; font-size: 14px; line-height: 1.5; }
.calculator-workbench .order-line-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; justify-content: space-between; padding-top: 12px; border-top: 1px solid #edf0f5; }
.calculator-workbench .order-rate { color: #626873; font-size: 13px; font-variant-numeric: tabular-nums; }
.calculator-workbench .order-amount { color: #25282e; font-size: 20px; font-variant-numeric: tabular-nums; }
.calculator-workbench .order-empty { padding: 25px 20px; text-align: center; border: 1px dashed #ccd4e0; border-radius: 17px; background: #ffffff8c; }
.calculator-workbench .order-empty strong { display: block; font-size: 19px; color: #343b46; }
.calculator-workbench .order-empty p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #626873; }
.calculator-workbench .add-more-service { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; margin-top: 13px; padding: 10px 14px; border: 1px solid #d6dde7; border-radius: 13px; background: #fff9e4; color: #655000; font: inherit; font-size: 15px; font-weight: 600; }
.calculator-workbench .add-more-service > span { font-size: 24px; line-height: 1; font-weight: 400; }
.calculator-workbench .add-more-service:hover { background: #fff2bd; border-color: #d8b753; }
.calculator-workbench :is(.order-remove,.add-more-service):focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; }
.calculator-workbench #prepare-request:disabled { opacity: .5; animation: none; cursor: default; }
.calculator-workbench #prepare-request:disabled::before, .calculator-workbench #prepare-request:disabled::after { animation: none; display: none; }
.request-estimate ul { margin: 10px 0; padding-left: 20px; }
.request-estimate li { margin-bottom: 7px; font-size: 14px; line-height: 1.5; }
@media (min-width: 841px) {
  .calculator-workbench .calc-receipt { position: sticky; top: 94px; }
}
@media (max-width: 520px) {
  .calculator-workbench .order-item { padding: 15px; border-radius: 15px; }
  .calculator-workbench .order-item-name { font-size: 16px; }
  .calculator-workbench .order-remove { flex-direction: column; gap: 0; line-height: 1; font-size: 11px; }
  .calculator-workbench .order-remove > span:first-child { line-height: 26px; }
  .calculator-workbench .calc-picker-help { font-size: 14px; }
  .calculator-workbench .order-item label:not(.checkbox-row) { font-size: 15px; }
}
@media (max-width: 350px) {
  .calculator-workbench .order-item { padding: 12px; }
  .calculator-workbench .order-item-name { font-size: 15px; }
  .calculator-workbench .order-item .quantity-field button { flex-basis: 36px; width: 36px; min-width: 36px; min-height: 44px; }
  .calculator-workbench .order-item .quantity-field input { font-size: 22px; }
  .calculator-workbench .order-unit { font-size: 12px; }
  .calculator-workbench .order-help { font-size: 13px; }
  .calculator-workbench .calc-choice-action { font-size: 12px; }
}
@media (prefers-reduced-transparency: reduce) {
  .calculator-workbench .order-item, .calculator-workbench .order-empty { background: #fff; }
}
@media (forced-colors: active) {
  .calculator-workbench :is(.order-item,.order-empty,.order-count,.add-more-service) { color: CanvasText; background: Canvas; border-color: CanvasText; }
  .calculator-workbench :is(.order-item-name,.order-remove,.order-amount,.order-rate,.calc-choice-add,.calc-choice-action,.order-unit) { color: CanvasText; }
}

/* The receipt mirrors every editable service, with its own remove action. */
.calculator-workbench .estimate-items { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.calculator-workbench .estimate-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 5px; padding: 15px 0; border-bottom: 1px solid #e1d6c6; min-width: 0; }
.calculator-workbench .estimate-item-name { grid-column: 1 / -1; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.calculator-workbench .estimate-item-meta { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.calculator-workbench .estimate-item-amount { align-self: center; font-size: 18px; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calculator-workbench .estimate-remove { border: 0; background: transparent; border-radius: 8px; padding: 7px 8px; margin-right: -8px; min-width: 44px; min-height: 44px; font: inherit; font-size: 13px; line-height: 1.3; }
.calculator-workbench .receipt-add-service { width: 100%; min-height: 44px; padding: 9px 12px; margin: 15px 0 22px; border: 1px solid #d0b896; border-radius: 11px; font: inherit; font-size: 14px; font-weight: 600; }
.calculator-workbench :is(.estimate-remove,.receipt-add-service):focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.calculator-workbench .calc-receipt.receipt-too-tall { position: relative; top: auto; }
@media (max-width: 350px) {
  .calculator-workbench .estimate-item-name { font-size: 14px; }
  .calculator-workbench .estimate-item-meta { font-size: 12px; }
  .calculator-workbench .estimate-item-amount { font-size: 17px; }
}

/* Compact quote editor: selection counts and one expanded service at a time. */
.calculator-workbench .calc-service-picker { padding-bottom: 18px; }
.calculator-workbench .calc-picker-help { margin-bottom: 12px; }
.calculator-workbench .calc-choice { min-height: 134px; gap: 6px; padding: 12px; }
.calculator-workbench .calc-choice-icon { min-height: 23px; }
.calculator-workbench .calc-choice-icon .icon { width: 24px; height: 24px; }
.calculator-workbench .calc-choice-name { font-size: 15px; line-height: 1.3; }
.calculator-workbench .calc-choice-price small { font-size: 14px; }
.calculator-workbench .calc-choice-action { font-size: 14px; line-height: 1.3; }
.calculator-workbench .calc-choice-status {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.calculator-workbench .calc-choice-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 7px; font-size: 14px; }
.calculator-workbench .calc-choice.has-items .calc-choice-add { display: none; }
.calculator-workbench .calc-announcement { margin-top: 10px; }
.calculator-workbench .calc-fields { padding-top: 20px; }
.calculator-workbench .calc-fields > .calc-panel-heading { margin-bottom: 12px; }
.calculator-workbench .order-items { gap: 9px; }
.calculator-workbench .order-item { padding: 13px; border-radius: 15px; }
.calculator-workbench .order-item-heading { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; gap: 6px; margin: 0; }
.calculator-workbench .order-item-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.calculator-workbench .order-item-number { align-self: center; margin: 0; font-size: 14px; line-height: 1.3; }
.calculator-workbench .order-toggle-cue { align-self: center; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.calculator-workbench .order-toggle-cue::after { display: inline-block; margin-left: 5px; content: '⌄'; font-size: 17px; line-height: 1; }
.calculator-workbench .order-item.is-active .order-toggle-cue::after { transform: rotate(180deg); }
.calculator-workbench .order-item-name { grid-column: 1 / -1; font-size: 16px; line-height: 1.4; }
.calculator-workbench .order-line-price { grid-column: 1 / -1; gap: 4px 10px; margin-top: 2px; padding: 0; border: 0; }
.calculator-workbench .order-rate { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.calculator-workbench .order-amount { font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.calculator-workbench .order-remove { min-width: 44px; width: 44px; min-height: 44px; margin: -5px -3px 0 0; padding: 0; flex-direction: row; line-height: 1; }
.calculator-workbench .order-remove > span:first-child { font-size: 27px; line-height: 1; }
.calculator-workbench .order-item-controls { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--palette-sand, #d0b896); }
.calculator-workbench .order-item .order-diameter { margin-bottom: 13px; }
.calculator-workbench .order-item label:not(.checkbox-row) { margin-top: 0; margin-bottom: 6px; font-size: 16px; }
.calculator-workbench .order-item .quantity-field { min-height: 52px; margin-top: 0; }
.calculator-workbench .order-item .quantity-field button { flex: 0 0 44px; width: 44px; min-width: 44px; min-height: 48px; }
.calculator-workbench .order-item .quantity-field input { font-size: 24px; }
.calculator-workbench .order-item .order-unit { font-size: 14px; }
.calculator-workbench .order-item .order-help { margin: 8px 0 0; font-size: 14px; line-height: 1.45; }
.calculator-workbench .order-item .order-error { margin-top: 8px; font-size: 14px; line-height: 1.45; }
.calculator-workbench .order-item.has-error { border-color: #b21815; }
.calculator-workbench .estimate-scene { height: 90px; }
.calculator-workbench .estimate-content { padding-top: 0; }
.calculator-workbench .calc-receipt-heading { margin-bottom: 8px; }
.calculator-workbench .calc-summary h3 { margin-bottom: 10px; }
.calculator-workbench .total-block { margin-bottom: 12px; padding-bottom: 14px; }
.calculator-workbench .estimate-item { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px; padding: 10px 0; }
.calculator-workbench .estimate-item-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 8px;
  min-width: 0;
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.calculator-workbench .estimate-item-name { font-size: 16px; }
.calculator-workbench .estimate-item-meta { font-size: 14px; line-height: 1.4; }
.calculator-workbench .estimate-item-amount { font-size: 18px; }
.calculator-workbench .estimate-edit-cue { align-self: center; font-size: 14px; line-height: 1.4; font-weight: 600; }
.calculator-workbench .estimate-item-edit:hover .estimate-edit-cue { text-decoration: underline; text-underline-offset: 3px; }
.calculator-workbench .estimate-remove { align-self: start; min-width: 44px; width: 44px; min-height: 44px; margin: 0; padding: 0; font-size: 27px; line-height: 1; }
.calculator-workbench .receipt-add-service { margin: 12px 0 16px; }
.calculator-workbench :is(.order-item-toggle, .estimate-item-edit):focus-visible { outline: 3px solid var(--palette-ink, #24242d); outline-offset: 3px; }
@media (max-width: 520px) {
  .calculator-workbench .calc-choice { min-height: 134px; padding: 10px; gap: 5px; }
  .calculator-workbench .calc-choice-status { top: 9px; right: 8px; }
  .calculator-workbench .order-item { padding: 12px; }
  .calculator-workbench .order-item-heading { gap: 4px; }
  .calculator-workbench .order-item-name, .calculator-workbench .estimate-item-name { font-size: 16px; }
  .calculator-workbench .estimate-scene { height: 85px; }
  .calculator-workbench .calc-choice-action { font-size: 14px; }
}
@media (max-width: 350px) {
  .calculator-workbench .calc-choice { min-height: 143px; padding: 10px 8px; }
  .calculator-workbench .calc-choice-name { font-size: 14px; }
  .calculator-workbench .order-item { padding: 10px; }
  .calculator-workbench .order-item-toggle { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .calculator-workbench .order-item-number { display: none; }
  .calculator-workbench .order-toggle-cue { grid-row: 3; justify-self: start; }
  .calculator-workbench .order-item-name { grid-row: 1; }
  .calculator-workbench .order-line-price { grid-row: 2; }
  .calculator-workbench .order-item .quantity-field input { font-size: 22px; padding-inline: 3px; }
  .calculator-workbench .order-item .order-unit { padding-right: 4px; font-size: 14px; }
  .calculator-workbench .estimate-item-edit { grid-template-columns: minmax(0, 1fr); }
  .calculator-workbench .estimate-edit-cue { justify-self: start; }
}
@media (forced-colors: active) {
  .calculator-workbench :is(.calc-choice.has-items, .order-item.is-active) { outline: 2px solid Highlight; outline-offset: -3px; }
  .calculator-workbench :is(.order-item-toggle, .estimate-item-edit):focus-visible { outline-color: Highlight; }
}

/* Full, uncropped people beside the total; text has its own grid column. */
.calculator-workbench .calc-receipt { container-type: inline-size; container-name: quote-receipt; }
.calculator-workbench .calc-receipt .estimate-content { padding-top: 21px; }
.calculator-workbench .receipt-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--palette-line, #d0b896);
}
.calculator-workbench .receipt-overview .total-block { min-width: 0; margin: 0; padding: 0; border: 0; }
.calculator-workbench .receipt-overview .total-block > span { font-size: 14px; line-height: 1.4; }
.calculator-workbench .receipt-overview .total-block strong {
  max-width: 100%;
  font-size: 40px;
  font-size: clamp(32px, 9cqi, 49px);
  letter-spacing: -1.3px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.calculator-workbench .receipt-people {
  display: block;
  width: 100%;
  max-width: 240px;
  min-width: 0;
  justify-self: end;
  pointer-events: none;
}
.calculator-workbench .receipt-people img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1374 / 1145;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px #14264012);
}
@container quote-receipt (max-width: 380px) {
  .calculator-workbench .receipt-overview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .calculator-workbench .receipt-people { width: min(100%, 220px); justify-self: center; }
  .calculator-workbench .receipt-overview .total-block strong { font-size: clamp(36px, 12cqi, 46px); letter-spacing: -1px; }
}
@media (max-width: 520px) {
  .calculator-workbench .calc-receipt .estimate-content { padding-top: 18px; }
  .calculator-workbench .receipt-overview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .calculator-workbench .receipt-people { width: min(100%, 220px); justify-self: center; }
}
@media (max-width: 350px) {
  .calculator-workbench .receipt-people { width: min(100%, 180px); }
  .calculator-workbench .receipt-overview .total-block strong { font-size: 36px; letter-spacing: -1px; }
}
@media (forced-colors: active) {
  .calculator-workbench .receipt-overview { border-color: CanvasText; }
  .calculator-workbench .receipt-people img { filter: none; }
}
