:root{--green:#12913a;--green-dark:#0c6f2b;--soft:#eef8f1;--border:#dbece0;--text:#102018;--muted:#5b6d61;--shadow:0 20px 55px rgba(31,54,39,.10)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}body{overflow-x:hidden}.roof-hero{position:relative;min-height:520px;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.98) 28%,rgba(255,255,255,.85) 46%,rgba(255,255,255,.35) 67%,rgba(255,255,255,.05) 100%),url('roof-calc/hero-gable-roof-v1.svg');background-repeat:no-repeat;background-size:cover;background-position:center right;border-bottom:1px solid var(--border);overflow:hidden}.roof-hero:after{content:"";position:absolute;inset:auto 0 0;height:80px;background:linear-gradient(0deg,#fff,rgba(255,255,255,0));pointer-events:none}.roof-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(360px,610px) 1fr;gap:40px;align-items:center;padding:58px 0}.crumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px;color:var(--muted);font-size:14px}.crumbs a{color:var(--green);text-decoration:none}.roof-hero h1{margin:0 0 18px;font-size:clamp(38px,4.2vw,66px);line-height:.98;color:var(--text);letter-spacing:-.045em}.roof-hero p{max-width:620px;margin:0 0 26px;color:#4c5d53;font-size:18px;line-height:1.55}.hero-badges{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 28px}.hero-badges span{display:inline-flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.82);box-shadow:0 8px 22px rgba(22,45,30,.06);white-space:nowrap}.hero-badges svg{width:22px;height:22px;stroke:var(--green);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.hero-badges b{font-size:14px;color:var(--text)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:14px;text-decoration:none;border:1px solid var(--border);font-weight:800;cursor:pointer}.btn-primary{background:linear-gradient(180deg,#18a642,#0f842f);color:#fff;border-color:#0d832e;box-shadow:0 12px 26px rgba(18,145,58,.22)}.btn-secondary{background:#fff;color:#13251b}.roof-calc{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:20px;align-items:start;margin-top:28px}.calc-form,.result-card,.summary-card,.estimate-card{background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:var(--shadow)}.calc-form{padding:26px}.calc-form h2,.result-card h2,.summary-card h2,.estimate-card h2,.roof-features h2,.roof-info-grid h2{margin:0;color:var(--text);letter-spacing:-.035em}.form-note{margin:10px 0 22px;color:var(--muted);font-weight:650;line-height:1.35}.construction-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.construction-tabs button{min-height:72px;border:1px solid var(--border);background:#fff;border-radius:18px;display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:16px;font-weight:850;color:var(--text);cursor:pointer;text-align:left}.construction-tabs button.active{border-color:#91d6a5;background:#f4fcf6;color:#0c7129}.construction-tabs img{width:30px;height:30px;object-fit:contain;flex:0 0 auto}.fieldsets{display:grid;gap:16px}.field-group{border:1px solid #e4efe8;background:#fbfdfb;border-radius:20px;padding:18px}.field-group h3{margin:0 0 14px;font-size:18px;color:var(--text)}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fields-grid label{font-size:13px;font-weight:800;color:#405248;display:grid;gap:7px;min-width:0}.fields-grid input,.fields-grid select{width:100%;height:46px;border:1px solid #d8e7dc;border-radius:12px;padding:0 13px;background:#fff;color:#13251b;font-size:15px;outline:none}.fields-grid input:focus,.fields-grid select:focus{border-color:#72c889;box-shadow:0 0 0 4px rgba(18,145,58,.09)}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.only-ridge,.only-manual,.custom-rafter-field{display:none!important}body[data-roof-mode="ridge"] .only-ridge,body[data-roof-mode="manual"] .only-manual,body[data-rafter-custom="true"] .custom-rafter-field{display:grid!important}body[data-roof-mode="ridge"] .only-angle,body[data-roof-mode="manual"] .only-angle{display:none!important}.roof-calc #results{display:grid;gap:18px}.result-card{padding:24px}.result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.result-head p{margin:8px 0 0;color:var(--muted);font-weight:700;line-height:1.3}.result-status{padding:10px 18px;border:1px solid #bce7c6;border-radius:999px;background:#f4fcf6;color:#07822c;font-weight:900;white-space:nowrap}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.result-grid article{min-width:0;min-height:170px;border:1px solid var(--border);border-radius:20px;padding:18px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff}.result-grid article.total{background:#f2fcf5;border-color:#aee4bd}.result-grid img{width:46px;height:46px;object-fit:contain;margin-bottom:11px}.result-grid small{font-weight:900;color:var(--text);font-size:14px}.result-grid b{display:block;margin:9px 0 4px;font-size:clamp(24px,2.2vw,34px);line-height:1;color:#06120b;overflow-wrap:break-word}.result-grid article.total b{color:#07822c}.result-grid em{font-style:normal;color:var(--muted);font-size:13px;font-weight:700;line-height:1.25}.summary-card,.estimate-card{padding:22px}.summary-card p{margin:8px 0 14px;color:var(--muted);font-weight:650}.mini-results{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mini-results article{border:1px solid #e2eee6;border-radius:16px;padding:14px;background:#fbfdfb}.mini-results small{display:block;color:var(--muted);font-weight:800;margin-bottom:8px}.mini-results b{font-size:21px;color:var(--text);overflow-wrap:break-word}.table-wrap{width:100%;overflow-x:auto;margin-top:14px;border:1px solid #e2eee6;border-radius:16px}.estimate-card table{width:100%;border-collapse:collapse;table-layout:fixed}.estimate-card th,.estimate-card td{padding:12px 12px;border-bottom:1px solid #e8f0eb;text-align:left;vertical-align:top;word-break:normal;overflow-wrap:break-word}.estimate-card th{font-size:13px;color:#43564b;background:#f7faf8}.estimate-card td{font-size:14px;color:#17261e}.estimate-card tr:last-child td{border-bottom:0}.estimate-card th:nth-child(1),.estimate-card td:nth-child(1){width:38%}.estimate-card th:nth-child(2),.estimate-card td:nth-child(2){width:20%;font-weight:800}.estimate-card th:nth-child(3),.estimate-card td:nth-child(3){width:13%}.estimate-card th:nth-child(4),.estimate-card td:nth-child(4){width:29%;color:#576b60}.note-line{display:flex;gap:10px;margin-top:14px;padding:13px 14px;border-radius:14px;background:#f3fbf5;color:#4d6557;font-weight:700;line-height:1.35}.note-line b{color:var(--green)}.roof-features{margin-top:26px}.roof-features>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:14px}.roof-features article{display:flex;gap:14px;align-items:center;border:1px solid #e2eee6;border-radius:18px;background:#fff;padding:16px;box-shadow:0 12px 26px rgba(22,45,30,.05);min-width:0}.roof-features img{width:46px;height:46px;object-fit:contain;flex:0 0 auto}.roof-features b{display:block;color:var(--text);margin-bottom:5px}.roof-features small{display:block;color:#52675b;line-height:1.35;font-weight:650}.roof-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px;margin-bottom:34px}.roof-info-grid article{background:#fff;border:1px solid #e2eee6;border-radius:24px;padding:24px;box-shadow:var(--shadow)}.roof-info-grid ul{margin:14px 0 0;padding-left:20px;color:#4d6256;line-height:1.65}.roof-info-grid details{border-bottom:1px solid #e5f0e8;padding:13px 0}.roof-info-grid details:last-child{border-bottom:0}.roof-info-grid summary{cursor:pointer;font-weight:850;color:var(--text)}.roof-info-grid p{color:#52675b;line-height:1.55}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.footer-inner small{display:block;color:#6d7b72}.footer-inner a{color:var(--green);font-weight:850;text-decoration:none}@media(max-width:1180px){.roof-calc{grid-template-columns:1fr}.roof-features>div{grid-template-columns:repeat(2,1fr)}.roof-hero-grid{grid-template-columns:1fr}.roof-hero{background-position:center right;background-size:cover}.roof-hero h1{max-width:720px}.roof-hero p{max-width:680px}}@media(max-width:760px){body{min-width:0}.site-header .nav,.header-cta{display:none}.roof-hero{min-height:auto;background-image:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 48%,rgba(255,255,255,.78) 100%),url('roof-calc/hero-gable-roof-v1.svg');background-size:760px auto;background-position:center bottom;padding-bottom:130px}.roof-hero-grid{display:block;padding:26px 0}.roof-hero h1{font-size:34px;line-height:1.03}.roof-hero p{font-size:15px;line-height:1.45}.hero-badges{gap:8px}.hero-badges span{padding:9px 11px}.hero-badges b{font-size:12px}.hero-badges svg{width:18px;height:18px}.hero-actions .btn{width:100%}.roof-calc{margin-top:18px}.calc-form,.result-card,.summary-card,.estimate-card{border-radius:20px;padding:18px}.construction-tabs{grid-template-columns:1fr;gap:9px}.construction-tabs button{min-height:58px;padding:10px 12px;font-size:15px}.fields-grid{grid-template-columns:1fr}.field-group{padding:15px;border-radius:17px}.form-actions{display:grid;grid-template-columns:1fr;gap:10px}.result-head{display:block}.result-status{display:inline-flex;margin-top:12px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.result-grid article{min-height:145px;padding:14px 8px}.result-grid img{width:38px;height:38px}.result-grid small{font-size:12px}.result-grid b{font-size:clamp(21px,6vw,28px);white-space:normal}.result-grid em{font-size:12px}.mini-results{grid-template-columns:1fr}.roof-features>div{grid-template-columns:1fr}.roof-features article{align-items:flex-start}.roof-info-grid{grid-template-columns:1fr}.estimate-card table,.estimate-card thead,.estimate-card tbody,.estimate-card tr,.estimate-card th,.estimate-card td{display:block;width:100%!important}.estimate-card thead{display:none}.estimate-card tr{padding:12px;border-bottom:1px solid #e5f0e8}.estimate-card tr:last-child{border-bottom:0}.estimate-card td{border:0;padding:4px 0;display:grid;grid-template-columns:minmax(120px,42%) minmax(0,1fr);gap:8px;align-items:start}.estimate-card td::before{content:attr(data-label);font-weight:850;color:#52675b}.footer-inner{display:grid}}@media(max-width:430px){.wrap{padding-left:14px;padding-right:14px}.roof-hero h1{font-size:30px}.result-grid{grid-template-columns:1fr}.result-grid article{min-height:118px;display:grid;grid-template-columns:48px 1fr;grid-template-areas:"icon label" "icon value" "icon meta";text-align:left;align-items:center;column-gap:12px;justify-items:start}.result-grid img{grid-area:icon;width:44px;height:44px;margin:0}.result-grid small{grid-area:label}.result-grid b{grid-area:value;margin:4px 0}.result-grid em{grid-area:meta}.estimate-card td{grid-template-columns:1fr;gap:3px}.hero-badges{display:grid;grid-template-columns:1fr}}.roof-hero{background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.98) 30%,rgba(255,255,255,.88) 48%,rgba(255,255,255,.45) 66%,rgba(255,255,255,.06) 100%),url('roof-calc/hero-gable-roof-v2-bg.webp') !important;background-repeat:no-repeat !important;background-size:contain !important;background-position:right center !important;background-color:#fff !important;min-height:520px}@media(max-width:1180px){.roof-hero{background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.97) 34%,rgba(255,255,255,.82) 58%,rgba(255,255,255,.18) 100%),url('roof-calc/hero-gable-roof-v2-bg.webp') !important;background-size:contain !important;background-position:right bottom !important}}@media(max-width:760px){.roof-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 48%,rgba(255,255,255,.78) 100%),url('roof-calc/hero-gable-roof-v2-mobile.webp') !important;background-size:100% auto !important;background-position:center bottom !important;padding-bottom:210px !important}}@media(max-width:430px){.roof-hero{padding-bottom:185px !important}}.roof-hero{background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.98) 30%,rgba(255,255,255,.88) 48%,rgba(255,255,255,.42) 66%,rgba(255,255,255,.04) 100%),url('roof-calc/hero-gable-roof-v2-bg.webp') !important;background-repeat:no-repeat !important;background-size:contain !important;background-position:68% center !important;background-color:#fff !important;min-height:520px}@media(max-width:1180px){.roof-hero{background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.97) 34%,rgba(255,255,255,.82) 58%,rgba(255,255,255,.18) 100%),url('roof-calc/hero-gable-roof-v2-bg.webp') !important;background-size:contain !important;background-position:72% bottom !important}}@media(max-width:760px){.roof-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 48%,rgba(255,255,255,.78) 100%),url('roof-calc/hero-gable-roof-v2-mobile.webp') !important;background-size:100% auto !important;background-position:center bottom !important;padding-bottom:210px !important}}@media(max-width:430px){.roof-hero{padding-bottom:185px !important}}.roof-hero{min-height:540px !important;background-color:#fff !important;background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.99) 30%,rgba(255,255,255,.91) 48%,rgba(255,255,255,.50) 66%,rgba(255,255,255,.08) 100%),url('roof-calc/hero-gable-roof-v4-complete.webp') !important;background-repeat:no-repeat !important;background-size:auto 96% !important;background-position:78% center !important}@media (min-width:1500px){.roof-hero{background-size:auto 98% !important;background-position:80% center !important}}@media (max-width:1180px){.roof-hero{min-height:510px !important;background-image:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.98) 34%,rgba(255,255,255,.86) 58%,rgba(255,255,255,.24) 100%),url('roof-calc/hero-gable-roof-v4-complete.webp') !important;background-size:auto 90% !important;background-position:82% bottom !important}}@media (max-width:760px){.roof-hero{min-height:auto !important;background-image:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 46%,rgba(255,255,255,.78) 100%),url('roof-calc/hero-gable-roof-v4-complete-mobile.webp') !important;background-size:100% auto !important;background-position:center bottom !important;padding-bottom:210px !important}}@media (max-width:430px){.roof-hero{background-size:112% auto !important;padding-bottom:180px !important}}.construction-tabs button img[src*="/roof-mode-icons-v5-png/"]{width:42px !important;height:42px !important;object-fit:contain !important;flex:0 0 42px !important;filter:drop-shadow(0 6px 10px rgba(18,145,58,.14)) !important}@media (max-width:760px){.construction-tabs button img[src*="/roof-mode-icons-v5-png/"]{width:38px !important;height:38px !important;flex-basis:38px !important}}@media (max-width:430px){.construction-tabs button img[src*="/roof-mode-icons-v5-png/"]{width:34px !important;height:34px !important;flex-basis:34px !important}}.result-grid img[src*='roof-result-icons-v6-png']{width:56px;height:56px;object-fit:contain;filter:none;opacity:1}@media(max-width:760px){.result-grid img[src*='roof-result-icons-v6-png']{width:46px;height:46px}}@media(max-width:430px){.result-grid img[src*='roof-result-icons-v6-png']{width:48px;height:48px}}.roof-features img[src*="roof-feature-icons-v7-png"]{width:58px;height:58px;object-fit:contain;flex:0 0 58px;filter:none}@media (max-width:760px){.roof-features img[src*="roof-feature-icons-v7-png"]{width:52px;height:52px;flex-basis:52px}}.estimate-card-v8{display:block !important;width:100% !important;max-width:100% !important;min-width:0 !important}.estimate-card-v8 h2{display:block !important;width:100% !important;margin:0 0 14px !important}.estimate-card-v8 .table-wrap{display:block !important;width:100% !important;max-width:100% !important;margin:0 !important;overflow-x:hidden !important;border:1px solid #e2eee6;border-radius:16px}.estimate-card-v8 table{width:100% !important;max-width:100% !important;min-width:0 !important;table-layout:fixed !important;border-collapse:collapse}.estimate-card-v8 th,.estimate-card-v8 td{white-space:normal !important;word-break:normal !important;overflow-wrap:break-word !important;hyphens:auto}.estimate-card-v8 th:nth-child(1),.estimate-card-v8 td:nth-child(1){width:35% !important}.estimate-card-v8 th:nth-child(2),.estimate-card-v8 td:nth-child(2){width:22% !important}.estimate-card-v8 th:nth-child(3),.estimate-card-v8 td:nth-child(3){width:13% !important}.estimate-card-v8 th:nth-child(4),.estimate-card-v8 td:nth-child(4){width:30% !important}.estimate-card-v8 .note-line{margin-top:14px !important}@media (max-width:760px){.estimate-card-v8 .table-wrap{overflow-x:visible !important;border:0 !important;border-radius:0 !important}.estimate-card-v8 table,.estimate-card-v8 thead,.estimate-card-v8 tbody,.estimate-card-v8 tr,.estimate-card-v8 th,.estimate-card-v8 td{display:block !important;width:100% !important}.estimate-card-v8 thead{display:none !important}.estimate-card-v8 tr{border:1px solid #e2eee6 !important;border-radius:16px !important;padding:12px 14px !important;margin:0 0 10px !important;background:#fff !important}.estimate-card-v8 td{border:0 !important;padding:6px 0 !important;display:grid !important;grid-template-columns:minmax(110px,36%) minmax(0,1fr) !important;gap:10px !important;align-items:start !important;font-size:14px !important;line-height:1.3 !important}.estimate-card-v8 td::before{content:attr(data-label) !important;font-weight:850 !important;color:#52675b !important;text-transform:none !important;letter-spacing:0 !important}}@media (max-width:430px){.estimate-card-v8 td{grid-template-columns:1fr !important;gap:3px !important}}

/* v210: adaptive detailed estimate tables */
.estimate-card .table-wrap,
.estimate-card .table-scroll-v173{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch;
}
.estimate-card table{
  width:100% !important;
  table-layout:auto !important;
  border-collapse:collapse;
}
.estimate-card th,
.estimate-card td{
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  line-height:1.35;
}
.estimate-card th:nth-child(1),.estimate-card td:nth-child(1){width:auto !important;min-width:170px;}
.estimate-card th:nth-child(2),.estimate-card td:nth-child(2){width:auto !important;min-width:135px;}
.estimate-card th:nth-child(3),.estimate-card td:nth-child(3){width:auto !important;min-width:74px;}
.estimate-card th:nth-child(4),.estimate-card td:nth-child(4){width:auto !important;min-width:240px;}
.calc-export-actions-v178{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 14px;
}
.calc-export-actions-v178 span{
  font-weight:850;
  color:#43564b;
  margin-right:2px;
}
.calc-export-actions-v178 .btn{
  min-height:40px;
  padding:0 16px;
  white-space:nowrap;
}
@media (max-width: 980px){
  .estimate-card table{min-width:720px !important;}
  .estimate-card .table-wrap,
  .estimate-card .table-scroll-v173{padding-bottom:4px;}
}
@media (max-width: 640px){
  .estimate-card .table-wrap,
  .estimate-card .table-scroll-v173{
    overflow-x:visible !important;
    border:0 !important;
    border-radius:0 !important;
    margin-top:12px !important;
  }
  .estimate-card table,
  .estimate-card thead,
  .estimate-card tbody,
  .estimate-card tr,
  .estimate-card th,
  .estimate-card td{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  .estimate-card thead{display:none !important;}
  .estimate-card tbody{display:grid !important;gap:10px;}
  .estimate-card tr{
    border:1px solid #e2eee6 !important;
    border-radius:16px !important;
    background:#fff !important;
    padding:10px 12px !important;
    box-shadow:0 8px 20px rgba(16,31,23,.04);
  }
  .estimate-card td{
    border:0 !important;
    padding:6px 0 !important;
    display:grid !important;
    grid-template-columns:minmax(116px,38%) minmax(0,1fr) !important;
    gap:8px !important;
    align-items:start !important;
    font-size:14px !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }
  .estimate-card td::before{
    content:attr(data-label);
    font-weight:850;
    color:#52675b;
    min-width:0;
  }
  .calc-export-actions-v178{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .calc-export-actions-v178 span{
    grid-column:1/-1;
    margin:0;
  }
  .calc-export-actions-v178 .btn{
    width:100%;
  }
}
@media (max-width: 430px){
  .estimate-card td{
    grid-template-columns:1fr !important;
    gap:3px !important;
  }
  .calc-export-actions-v178{
    grid-template-columns:1fr;
  }
}

/* v210b: adaptive detailed estimate tables for all calculator estimate blocks */
:where(.estimate-card,.estimate-box,.slab-estimate) .table-wrap,
:where(.estimate-card,.estimate-box,.slab-estimate) .table-scroll-v173{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch;
}
:where(.estimate-card,.estimate-box,.slab-estimate) table{
  width:100% !important;
  table-layout:auto !important;
  border-collapse:collapse;
}
:where(.estimate-card,.estimate-box,.slab-estimate) th,
:where(.estimate-card,.estimate-box,.slab-estimate) td{
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  line-height:1.35;
}
:where(.estimate-card,.estimate-box,.slab-estimate) th:nth-child(1),:where(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(1){width:auto !important;min-width:170px;}
:where(.estimate-card,.estimate-box,.slab-estimate) th:nth-child(2),:where(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(2){width:auto !important;min-width:135px;}
:where(.estimate-card,.estimate-box,.slab-estimate) th:nth-child(3),:where(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(3){width:auto !important;min-width:74px;}
:where(.estimate-card,.estimate-box,.slab-estimate) th:nth-child(4),:where(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(4){width:auto !important;min-width:140px;}
:where(.estimate-card,.estimate-box,.slab-estimate) th:nth-child(5),:where(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(5){width:auto !important;min-width:110px;}
@media (max-width: 980px){
  :where(.estimate-card,.estimate-box,.slab-estimate) table{min-width:720px !important;}
  :where(.estimate-card,.estimate-box,.slab-estimate) .table-wrap,
  :where(.estimate-card,.estimate-box,.slab-estimate) .table-scroll-v173{padding-bottom:4px;}
}
@media (max-width: 640px){
  :where(.estimate-card,.estimate-box,.slab-estimate) .table-wrap,
  :where(.estimate-card,.estimate-box,.slab-estimate) .table-scroll-v173{
    overflow-x:visible !important;
    border:0 !important;
    border-radius:0 !important;
    margin-top:12px !important;
  }
  :where(.estimate-card,.estimate-box,.slab-estimate) table,
  :where(.estimate-card,.estimate-box,.slab-estimate) thead,
  :where(.estimate-card,.estimate-box,.slab-estimate) tbody,
  :where(.estimate-card,.estimate-box,.slab-estimate) tfoot,
  :where(.estimate-card,.estimate-box,.slab-estimate) tr,
  :where(.estimate-card,.estimate-box,.slab-estimate) th,
  :where(.estimate-card,.estimate-box,.slab-estimate) td{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  :where(.estimate-card,.estimate-box,.slab-estimate) thead{display:none !important;}
  :where(.estimate-card,.estimate-box,.slab-estimate) tbody{display:grid !important;gap:10px;}
  :where(.estimate-card,.estimate-box,.slab-estimate) tr{
    border:1px solid #e2eee6 !important;
    border-radius:16px !important;
    background:#fff !important;
    padding:10px 12px !important;
    box-shadow:0 8px 20px rgba(16,31,23,.04);
  }
  :where(.estimate-card,.estimate-box,.slab-estimate) td{
    border:0 !important;
    padding:6px 0 !important;
    display:grid !important;
    grid-template-columns:minmax(116px,38%) minmax(0,1fr) !important;
    gap:8px !important;
    align-items:start !important;
    font-size:14px !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }
  :where(.estimate-card,.estimate-box,.slab-estimate) td::before{
    content:attr(data-label);
    font-weight:850;
    color:#52675b;
    min-width:0;
  }
  :where(.estimate-card,.estimate-box,.slab-estimate) tfoot tr{
    background:#f4fcf6 !important;
    font-weight:900;
  }
}
@media (max-width: 430px){
  :where(.estimate-card,.estimate-box,.slab-estimate) td{
    grid-template-columns:1fr !important;
    gap:3px !important;
  }
}
