/* CONSTRUCTOR V2 — full-width, responsive, clearly demo-priced selections */
.cta-panel:has(.quote-constructor){display:block;padding:30px 34px}
.cta-panel:has(.quote-constructor)>div:first-child{margin:0 0 20px;max-width:900px}
.cta-panel:has(.quote-constructor)>div:first-child h2{font-size:clamp(33px,3.4vw,49px)}
.cta-panel:has(.quote-constructor)>div:first-child p{margin:10px 0}
.quote-constructor{display:block;width:100%;max-width:100%;gap:0}
.quote-constructor section{width:100%;max-width:100%}
.quote-block-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:0 0 17px}
.quote-constructor h3{font-family:var(--serif);font-size:clamp(23px,2.3vw,32px);font-weight:500;margin:0 0 7px;color:#263036}
.quote-constructor .quote-block-head p{font-size:15px;line-height:1.5;color:#606d72;margin:0}
.quote-works-block{padding:22px 0 31px;border-bottom:1px solid #e0d6c4}
.quote-constructor .work-checkboxes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;max-height:none;overflow:visible;border:none;padding:0;background:transparent}
.quote-constructor .choose-work{display:flex;gap:10px;align-items:start;min-height:64px;border:1px solid #e1d7c3;background:#fffef9;border-radius:8px;padding:14px 12px;line-height:1.4;font-size:15px;font-weight:600;cursor:pointer;color:#2b3540}
.quote-constructor .choose-work:hover{border-color:#cfa653;background:#fffdf6}
.quote-constructor .choose-work:has(input:checked){background:#fff3d8;border-color:#bf8d34;box-shadow:0 0 0 1px #d6ae58}
.quote-constructor .choose-work input{flex:0 0 17px;height:17px;width:17px;margin:1px 0 0;accent-color:#b18b3d}
.quote-products-block{padding:34px 0}
.quote-constructor .product-checkboxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;padding:0}
.quote-constructor .product-choice-card{min-width:0;background:#fff;border:1px solid #e2d6be;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 14px #1b232b0a}
.quote-constructor .product-choice-card.selected{border:2px solid #c69b4d;background:#fffdf5}
.quote-constructor .product-card-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 14px 12px;min-height:64px}
.quote-constructor .product-select-label{display:flex;gap:10px;align-items:center;min-width:0;font-size:16px;line-height:1.25;font-weight:800;cursor:pointer}
.quote-constructor .product-select-label input{flex-shrink:0;width:21px;height:21px;accent-color:#b48b37}
.quote-constructor .demo-tag{background:#f1e6cd;color:#795a2c;border-radius:4px;padding:5px 7px;font-size:15px;font-weight:800;letter-spacing:.06em}
.quote-constructor .product-carousel{height:248px;position:relative;overflow:hidden;background:#f1f1ed}
.quote-constructor .product-carousel img{width:100%;height:100%;display:block;object-fit:cover;filter:none;opacity:1;mix-blend-mode:normal}
.quote-constructor .variant-arrow{position:absolute;top:50%;transform:translateY(-50%);width:41px;height:47px;border:1px solid #eee0c4;border-radius:7px;background:#fffef2e8;color:#253139;font-size:35px;line-height:1;display:flex;align-items:center;justify-content:center;z-index:2;cursor:pointer;padding:0}
.quote-constructor .variant-prev{left:9px}.quote-constructor .variant-next{right:9px}
.quote-constructor .variant-arrow:hover{background:#f9e6af}
.quote-constructor .variant-arrow:focus-visible{outline:3px solid #d9a940}
.quote-constructor .variant-bottom{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}
.quote-constructor .variant-line{display:flex;justify-content:space-between;gap:9px;font-size:15px;font-weight:800}
.quote-constructor .variant-count{color:#6a7478}
.quote-constructor .variant-status{font-size:15px;color:#805f2f;margin:0 0 4px}
.quote-constructor .variant-price-row{display:flex;align-items:baseline;gap:7px}
.quote-constructor .variant-price{font-size:25px;font-weight:800;color:#26323c}
.quote-constructor .variant-unit{font-size:15px;color:#65717a}
.quote-constructor .variant-controls{display:flex;justify-content:space-between;align-items:flex-end;gap:9px;flex-wrap:wrap;padding-top:7px;min-height:56px}
.quote-constructor .variant-quantity-label{font-size:15px;font-weight:800;display:flex;align-items:center;gap:7px}
.quote-constructor .variant-quantity{width:65px;padding:8px 5px;border:1px solid #d6c8af;border-radius:6px;font-size:15px}
.quote-constructor .variant-selected-total{font-size:15px;font-weight:800;color:#846022;max-width:160px;text-align:right}
.quote-estimate-block{background:#fff;border:1px solid #d7c397;border-radius:12px;padding:21px 24px;margin:0 0 22px}
.quote-constructor .estimate-breakdown{display:grid;gap:6px;margin:14px 0 18px}
.quote-constructor .estimate-line{display:grid;grid-template-columns:100px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #f0ece5;font-size:15px}
.quote-constructor .estimate-type{color:#9b762e;font-size:15px;text-transform:uppercase;font-weight:800}
.quote-constructor .estimate-name{font-weight:700;color:#263139}
.quote-constructor .estimate-name small{display:block;font-size:15px;color:#66717b;font-weight:400;margin-top:4px}
.quote-constructor .estimate-empty{font-size:15px;color:#64727b}
.quote-constructor .estimate-total-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:2px solid #e9d6ad;padding-top:14px;font-size:18px}
.quote-constructor .estimate-amount{font-size:clamp(23px,3vw,33px);color:#a57828}
.quote-constructor .estimate-disclaimer{font-size:15px;color:#815824;line-height:1.6;margin-top:9px}
.quote-contact-block{padding:23px 0 0;display:grid;gap:13px;border-top:1px solid #e7ddca}
.quote-constructor .quote-contact-block .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.quote-constructor .quote-submit{width:max-content}
@media(max-width:1120px){
 .quote-constructor .work-checkboxes{grid-template-columns:repeat(3,minmax(0,1fr))}
 .quote-constructor .product-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .cta-panel:has(.quote-constructor){padding:16px}
 .quote-constructor .work-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .quote-constructor .choose-work{font-size:15px;min-height:66px;padding:11px 9px}
 .quote-constructor .product-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .quote-constructor .product-carousel{height:170px}
 .quote-constructor .product-card-title{padding:9px;min-height:61px}
 .quote-constructor .product-select-label{font-size:15px;gap:6px}
 .quote-constructor .product-select-label input{width:17px;height:17px}
 .quote-constructor .variant-bottom{padding:10px}
 .quote-constructor .variant-price{font-size:21px}
 .quote-constructor .variant-arrow{width:29px;height:36px;font-size:25px}
 .quote-constructor .estimate-line{grid-template-columns:60px 1fr auto;gap:6px;font-size:15px}
 .quote-constructor .quote-contact-block .form-grid{grid-template-columns:1fr}
 .quote-estimate-block{padding:15px}
}
@media(max-width:440px){
 .quote-constructor .work-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quote-constructor .product-checkboxes{grid-template-columns:1fr}
 .quote-constructor .product-carousel{height:225px}
 .quote-constructor .product-select-label{font-size:16px}
 .quote-constructor .product-card-title{min-height:54px}
 .quote-constructor .variant-arrow{width:41px;height:47px;font-size:34px}
 .quote-constructor .variant-price{font-size:26px}
}
/* Prevent native upload control and long translated labels from widening mobile page. */
.quote-constructor .quote-contact-block,
.quote-constructor .quote-contact-block > *,
.quote-constructor .quote-contact-block .form-grid,
.quote-constructor .quote-contact-block .form-grid > *,
.quote-constructor .quote-contact-block label,
.quote-constructor .quote-contact-block .quote-block-head > *{min-width:0;max-width:100%}
.quote-constructor .quote-contact-block input[type=file]{min-width:0;max-width:100%;width:100%;font-size:15px}
.quote-constructor .quote-contact-block .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.quote-constructor .quote-contact-block .form-grid{grid-template-columns:minmax(0,1fr)}}
/* One flexible grid track: long Russian button labels must wrap instead of expanding the page. */
.quote-constructor .quote-contact-block{grid-template-columns:minmax(0,1fr)}
.quote-constructor .quote-submit{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}


/* 20261031 COMPACT WORKS: approximately one short strip, not a full-screen panel.
   Photo catalog is independent: keep images large. */
.cta-panel:has(.quote-constructor)>div:first-child{margin-bottom:10px}
.quote-constructor .quote-works-block{
  padding:8px 0 14px;
  border-bottom:1px solid #e0d6c4;
}
.quote-constructor .quote-works-block .quote-block-head{
  margin:0 0 9px;
  align-items:center;
}
.quote-constructor .quote-works-block h3{
  font-size:clamp(22px,2.1vw,27px);
  line-height:1.15;
  margin:0 0 3px;
}
.quote-constructor .quote-works-block .quote-block-head p{
  font-size:15px;
  line-height:1.3;
  margin:0;
}
.quote-constructor .work-checkboxes{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px 9px;
  max-height:none;
  overflow:visible;
}
.quote-constructor .choose-work{
  box-sizing:border-box;
  min-height:43px;
  padding:7px 9px;
  align-items:center;
  gap:8px;
  font-size:15px;
  line-height:1.27;
  font-weight:650;
  border-radius:7px;
}
.quote-constructor .choose-work input{
  flex:0 0 15px;
  width:15px;
  height:15px;
  margin:0;
}
.quote-constructor .product-carousel{height:315px}
@media (min-width:761px) and (max-width:950px){
  .quote-constructor .work-checkboxes{grid-template-columns:repeat(4,minmax(0,1fr))}
  .quote-constructor .choose-work{font-size:15px;padding:6px 7px}
}
@media (max-width:760px){
  .quote-constructor .quote-works-block{padding:6px 0 13px}
  .quote-constructor .quote-works-block .quote-block-head{margin-bottom:8px}
  .quote-constructor .quote-works-block h3{font-size:23px}
  .quote-constructor .work-checkboxes{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }
  .quote-constructor .choose-work{
    min-height:42px;
    padding:7px 8px;
    font-size:15px;
    line-height:1.22;
    gap:7px;
  }
  .quote-constructor .product-carousel{height:285px}
}
@media (max-width:440px){
  .quote-constructor .work-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quote-constructor .product-carousel{height:275px}
}
/* Further compact narrow phones without hiding selectable work items. */
@media(max-width:440px){
  .quote-constructor .quote-works-block{padding:4px 0 10px}
  .quote-constructor .quote-works-block .quote-block-head{margin-bottom:6px}
  .quote-constructor .quote-works-block .quote-block-head p{display:none}
  .quote-constructor .work-checkboxes{gap:5px}
  .quote-constructor .choose-work{
    min-height:38px;
    padding:4px 6px;
    gap:6px;
    font-size:15px;
    line-height:1.18;
  }
  .quote-constructor .choose-work input{
    width:14px;height:14px;flex-basis:14px;
  }
}

/* CONTACT_PAGE_COMPACT_FIRST_SCREEN_20261031
   Site visitor should see work choices and the start of product photos
   in one viewport; no duplicate heading banners. */
body[data-page="contact"] .quote-contact-page{
 padding-top:18px;
 padding-bottom:52px;
}
body[data-page="contact"] .cta-panel:has(.quote-constructor){
 padding:22px 26px 28px;
}
body[data-page="contact"] .quote-page-heading{
 margin:0 0 12px!important;
 max-width:100%;
}
body[data-page="contact"] .quote-page-heading .overline{
 display:block;
 margin:0 0 5px;
 font-size:15px;
 line-height:1.15;
 letter-spacing:.15em;
}
body[data-page="contact"] .quote-page-heading h1{
 font:500 clamp(30px,3vw,40px)/1.06 Georgia,serif;
 margin:0 0 7px;
 letter-spacing:-.03em;
}
body[data-page="contact"] .quote-page-heading h1 em{
 color:#bb8d37;
 font-style:italic;
}
body[data-page="contact"] .quote-page-heading p{
 margin:0;
 font-size:15px;
 line-height:1.35;
 color:#5c676a;
}
body[data-page="contact"] .quote-constructor .quote-works-block{
 padding:5px 0 11px;
}
body[data-page="contact"] .quote-constructor .quote-works-block .quote-block-head{
 margin-bottom:6px;
}
body[data-page="contact"] .quote-constructor .quote-works-block h3{
 font-size:20px;
 line-height:1.15;
 margin-bottom:2px;
}
body[data-page="contact"] .quote-constructor .quote-works-block .quote-block-head p{
 font-size:15px;
}
body[data-page="contact"] .quote-constructor .work-checkboxes{
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:6px;
}
body[data-page="contact"] .quote-constructor .choose-work{
 min-height:41px;
 padding:6px 7px;
 font-size:15px;
 line-height:1.2;
}
body[data-page="contact"] .quote-constructor .quote-products-block{
 padding-top:15px;
}
/* Keep large photographs and navigable variants unchanged. */
@media(max-width:1250px){
 body[data-page="contact"] .quote-constructor .work-checkboxes{
  grid-template-columns:repeat(4,minmax(0,1fr));
 }
}
@media(max-width:850px){
 body[data-page="contact"] .quote-constructor .work-checkboxes{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
}
@media(max-width:760px){
 body[data-page="contact"] .quote-contact-page{padding-top:10px}
 body[data-page="contact"] .cta-panel:has(.quote-constructor){padding:15px 14px 22px}
 body[data-page="contact"] .quote-page-heading h1{font-size:30px}
 body[data-page="contact"] .quote-page-heading p{font-size:15px}
 body[data-page="contact"] .quote-constructor .work-checkboxes{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
 }
 body[data-page="contact"] .quote-constructor .choose-work{
  padding:5px 7px;
  font-size:15px;
  min-height:39px;
 }
}

/* ONLY SMALL TEXT FONT +50% (20261031) */
/* Text size changes only. No changes to photos, column structure, spacing or controls. */
body[data-page="contact"] .quote-page-heading p{font-size:19.5px}
body[data-page="contact"] .quote-constructor .quote-works-block .quote-block-head p{font-size:16.5px}
body[data-page="contact"] .quote-constructor .choose-work{font-size:17.25px}
body[data-page="contact"] .quote-constructor .quote-products-block .quote-block-head p{font-size:22.5px}
@media(max-width:760px){
 body[data-page="contact"] .quote-page-heading p{font-size:18px}
 body[data-page="contact"] .quote-constructor .choose-work{font-size:16.5px}
}

/* WARNINGS_ARE_15PX_MINIMUM_20261031 */
.quote-constructor .quote-contact-block p[style]{font-size:15px!important}

/* Reference-price materials in customer calculator: distinguish non-binding prices. */
.quote-constructor .estimate-line.supplier-reference{background:#fffaf0;border-left:3px solid #d9b160;padding:9px 10px}
.quote-constructor .estimate-line.supplier-reference .estimate-name small{color:#775b29}
.quote-constructor .estimate-subtotals>div{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.quote-constructor .estimate-subtotals strong{white-space:nowrap}
.quote-constructor .labor-hint{font-size:14px;color:#486582;padding:9px 12px;background:#f0f6fb;border-left:3px solid #3976a9;line-height:1.45}


/* APG_QUOTE_SUMMARY_TEXT_LAYOUT_20261105
 * A selected item is two clean columns: readable category/name/details on
 * the left, money on the right. The type is ABOVE the name, never beside it.
 * No changes to calculations, selected items, values, or form handling.
 */
.quote-constructor .quote-estimate-block,
.quote-constructor .estimate-breakdown,
.quote-constructor .estimate-line,
.quote-constructor .estimate-total-row,
.quote-constructor .estimate-subtotals{
 min-width:0;
 max-width:100%;
 box-sizing:border-box;
}
.quote-constructor .estimate-breakdown{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:0;
 margin:12px 0 15px;
}
.quote-constructor .estimate-line,
.quote-constructor .estimate-line.supplier-reference{
 display:grid;
 grid-template-columns:minmax(0,1fr) max-content;
 grid-template-areas:
  "type amount"
  "name amount";
 column-gap:16px;
 row-gap:5px;
 align-items:center;
 padding:14px 12px;
 border-bottom:1px solid #e8e0d2;
 line-height:1.36;
 width:100%;
 min-width:0;
}
.quote-constructor .estimate-line.supplier-reference{
 padding:14px 12px;
 border-left:3px solid #d9b160;
}
.quote-constructor .estimate-line .estimate-type{
 grid-area:type;
 align-self:end;
 justify-self:start;
 display:inline-block;
 min-width:0;
 max-width:100%;
 font-size:13px;
 line-height:1.25;
 font-weight:850;
 letter-spacing:.045em;
 color:#946b25;
 text-transform:uppercase;
 overflow-wrap:anywhere;
 white-space:normal;
}
.quote-constructor .estimate-line .estimate-name{
 grid-area:name;
 display:block;
 min-width:0;
 max-width:100%;
 color:#243442;
 font-size:17px;
 line-height:1.4;
 font-weight:750;
 white-space:normal;
 overflow-wrap:anywhere;
 word-break:normal;
 hyphens:auto;
}
.quote-constructor .estimate-line .estimate-name small{
 display:block;
 min-width:0;
 max-width:100%;
 color:#596b7a;
 font-size:15px;
 line-height:1.4;
 font-weight:500;
 white-space:normal;
 overflow-wrap:anywhere;
 word-break:normal;
 margin-top:5px;
}
.quote-constructor .estimate-line.supplier-reference .estimate-name small{
 color:#775b29;
}
.quote-constructor .estimate-line > strong:last-child{
 grid-area:amount;
 align-self:center;
 justify-self:end;
 min-width:0;
 color:#172b3b;
 font-size:17px;
 line-height:1.3;
 text-align:right;
 font-variant-numeric:tabular-nums;
 white-space:nowrap;
}
.quote-constructor .estimate-subtotals{
 display:grid;
 gap:9px;
 margin:12px 0 14px;
}
.quote-constructor .estimate-subtotals > div{
 display:grid;
 grid-template-columns:minmax(0,1fr) max-content;
 gap:12px;
 align-items:start;
 min-width:0;
 padding:0;
}
.quote-constructor .estimate-subtotals > div > span{
 min-width:0;
 line-height:1.42;
 font-size:16px;
 overflow-wrap:anywhere;
}
.quote-constructor .estimate-subtotals strong{
 justify-self:end;
 text-align:right;
 font-size:17px;
 line-height:1.4;
 font-variant-numeric:tabular-nums;
 white-space:nowrap;
}
.quote-constructor .estimate-total-row{
 display:grid;
 grid-template-columns:minmax(0,1fr) max-content;
 gap:14px 18px;
 align-items:center;
 padding:16px 0 0;
 min-width:0;
}
.quote-constructor .estimate-total-row > strong:first-child{
 min-width:0;
 max-width:100%;
 font-size:clamp(20px,2.3vw,28px);
 line-height:1.2;
 letter-spacing:-.012em;
 font-weight:850;
 overflow-wrap:normal;
 white-space:normal;
}
.quote-constructor .estimate-total-row .estimate-amount{
 justify-self:end;
 min-width:0;
 max-width:100%;
 text-align:right;
 white-space:nowrap;
 font-size:clamp(24px,2.9vw,35px);
 line-height:1.2;
 font-variant-numeric:tabular-nums;
}
.quote-constructor .estimate-disclaimer{
 font-size:15px;
 line-height:1.5;
 margin-top:13px;
 overflow-wrap:anywhere;
}
@media(max-width:620px){
 .quote-constructor .estimate-line,
 .quote-constructor .estimate-line.supplier-reference{
  grid-template-columns:minmax(0,1fr) max-content;
  column-gap:10px;
  padding:12px 9px;
 }
 .quote-constructor .estimate-line .estimate-name{
  font-size:16px;
 }
 .quote-constructor .estimate-line .estimate-name small{
  font-size:14px;
 }
 .quote-constructor .estimate-line > strong:last-child{
  font-size:16px;
 }
 .quote-constructor .estimate-total-row{
  gap:8px;
 }
 .quote-constructor .estimate-total-row > strong:first-child{
  font-size:21px;
 }
 .quote-constructor .estimate-total-row .estimate-amount{
  font-size:26px;
 }
}
@media(max-width:440px){
 .quote-constructor .estimate-line,
 .quote-constructor .estimate-line.supplier-reference{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"type" "name" "amount";
  gap:5px;
 }
 .quote-constructor .estimate-line > strong:last-child{
  justify-self:start;
  text-align:left;
  margin-top:3px;
 }
 .quote-constructor .estimate-total-row{
  grid-template-columns:minmax(0,1fr);
  gap:8px;
 }
 .quote-constructor .estimate-total-row .estimate-amount{
  justify-self:start;
  text-align:left;
 }
 .quote-constructor .estimate-subtotals>div{
  grid-template-columns:minmax(0,1fr) max-content;
  gap:8px;
 }
}


/* APG_MATERIALS_MATCH_WORK_DIRECTION_20261105
   Show only real supplier categories relevant to the selected work direction.
   An empty roof category is intentional until roofing materials exist. */
.quote-constructor .apg-material-work-scope{
 margin:4px 0 13px;
 padding:8px 12px;
 border-left:3px solid #a77a2d;
 border-radius:0 7px 7px 0;
 background:#fff9e9;
 color:#6f501b;
 font-size:15px;
 line-height:1.4;
 font-weight:750;
}
.quote-constructor .apg-material-work-empty{
 grid-column:1/-1;
 width:100%;
 box-sizing:border-box;
 margin:0;
 padding:22px 16px;
 border:1px solid #b3c4cf;
 border-radius:10px;
 background:#f1f6f9;
 color:#24445d;
 font-size:16px;
 line-height:1.5;
 font-weight:600;
 overflow-wrap:anywhere;
}


/* APG_QUOTE_WORK_TEXT_COLUMNS_20261107
 * Explicit numeric grid positions fix broken named grid areas, which
 * silently generated an extra track and left the work name only 72px wide.
 * Keep category, description and amount readable without truncation.
 * Scope only to the public quotation summary; no changes to totals.
 */
.quote-constructor .estimate-line,
.quote-constructor .estimate-line.supplier-reference{
 display:grid;
 grid-template-areas:none;
 grid-template-columns:max-content minmax(0,1fr) max-content;
 grid-template-rows:auto;
 align-items:center;
 column-gap:12px;
 row-gap:4px;
 padding:11px 6px;
}
.quote-constructor .estimate-line .estimate-type{
 grid-area:auto;
 grid-column:1;
 grid-row:1;
 align-self:center;
 white-space:nowrap;
 overflow-wrap:normal;
}
.quote-constructor .estimate-line .estimate-name{
 grid-area:auto;
 grid-column:2;
 grid-row:1;
 width:auto;
 min-width:0;
 max-width:100%;
 white-space:normal;
 overflow-wrap:break-word;
 word-break:normal;
 hyphens:none;
 font-size:17px;
 line-height:1.32;
}
.quote-constructor .estimate-line .estimate-name small{
 display:block;
 font-size:14px;
 line-height:1.35;
 margin-top:4px;
}
.quote-constructor .estimate-line > strong:last-child{
 grid-area:auto;
 grid-column:3;
 grid-row:1;
 text-align:right;
 justify-self:end;
 white-space:nowrap;
}
@media(max-width:680px){
 .quote-constructor .estimate-line,
 .quote-constructor .estimate-line.supplier-reference{
  grid-template-columns:minmax(0,1fr) max-content;
  grid-template-rows:auto auto;
  grid-template-areas:none;
  column-gap:10px;
  row-gap:4px;
 }
 .quote-constructor .estimate-line .estimate-type{
  grid-column:1;grid-row:1;
 }
 .quote-constructor .estimate-line .estimate-name{
  grid-column:1;grid-row:2;
  font-size:16px;
 }
 .quote-constructor .estimate-line > strong:last-child{
  grid-column:2;grid-row:1 / 3;
  align-self:center;
 }
}
@media(max-width:440px){
 .quote-constructor .estimate-line,
 .quote-constructor .estimate-line.supplier-reference{
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto;
  grid-template-areas:none;
  row-gap:5px;
 }
 .quote-constructor .estimate-line .estimate-type{
  grid-column:1;grid-row:1;
 }
 .quote-constructor .estimate-line .estimate-name{
  grid-column:1;grid-row:2;
  font-size:16px;
 }
 .quote-constructor .estimate-line > strong:last-child{
  grid-column:1;grid-row:3;
  justify-self:end;
  text-align:right;
  margin-top:2px;
 }
}


/* APG_QUOTE_WORK_MOBILE_FLEX_FALLBACK_20261107
   Prevent implicit CSS grid tracks at narrow widths. Type and price in the
   first compact row, name with description across FULL second row. */
@media(max-width:680px){
 .quote-constructor .estimate-line,
 .quote-constructor .estimate-line.supplier-reference{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  column-gap:10px;
  row-gap:5px;
  padding:10px 7px;
 }
 .quote-constructor .estimate-line .estimate-type{
  order:1;
  flex:0 0 auto;
  width:auto;
  max-width:100%;
  align-self:center;
 }
 .quote-constructor .estimate-line > strong:last-child{
  order:2;
  flex:0 0 auto;
  width:auto;
  max-width:100%;
  margin-left:auto;
  align-self:center;
  text-align:right;
 }
 .quote-constructor .estimate-line .estimate-name{
  order:3;
  flex:1 1 100%;
  width:100%;
  max-width:100%;
  align-self:stretch;
  margin:0;
  font-size:16px;
  line-height:1.3;
 }
 .quote-constructor .estimate-line .estimate-name small{
  font-size:14px;
  margin-top:3px;
 }
}
