: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}.screed-hero{position:relative;min-height:520px;display:flex;align-items:center;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 42%,rgba(255,255,255,.72) 68%,rgba(255,255,255,.18) 100%);border-bottom:1px solid var(--border);overflow:hidden}.screed-hero:after{content:"";position:absolute;inset:auto 0 0;height:80px;background:linear-gradient(0deg,#fff,rgba(255,255,255,0));pointer-events:none}.screed-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(360px,680px) 1fr;gap:44px;align-items:center;padding:58px 0}.screed-hero-copy h1{margin:0 0 18px;font-size:clamp(38px,4.2vw,66px);line-height:.98;color:var(--text);letter-spacing:-.045em}.screed-hero-copy p{max-width:650px;margin:0 0 26px;color:#4c5d53;font-size:18px;line-height:1.55}.screed-hero-art{display:flex;justify-content:center;align-items:center}.screed-hero-art img{max-width:420px;width:100%;height:auto;filter:drop-shadow(0 24px 36px rgba(22,45,30,.14))}.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}.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}.screed-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,.screed-features h2,.screed-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}.mode-tabs,.material-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.mode-tabs button,.material-tabs button{min-height:66px;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}.material-tabs button{justify-content:center;min-height:50px}.mode-tabs button.active,.material-tabs button.active{border-color:#91d6a5;background:#f4fcf6;color:#0c7129}.mode-tabs img{width:42px;height:42px;object-fit:contain;flex:0 0 42px;filter:drop-shadow(0 6px 10px rgba(18,145,58,.14))}.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)}.field-hint{margin:12px 0 0;color:var(--muted);font-size:13px;font-weight:700;line-height:1.45}.only-area{display:none!important}body[data-screed-mode="area"] .only-area{display:block!important}body[data-screed-mode="area"] .only-area .fields-grid{display:grid!important}body[data-screed-mode="area"] .only-size{display:none!important}.material-cps{display:none!important}body[data-screed-material="cps"] .material-cps{display:grid!important}body[data-screed-material="cps"] .material-mix{display:none!important}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.screed-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:68px;height:68px;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:20px;color:var(--text);overflow-wrap:break-word}.table-wrap{width:100%;max-width:none;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)}.screed-features{margin-top:26px}.screed-features>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:14px}.screed-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}.screed-features img{width:88px;height:88px;object-fit:contain;flex:0 0 88px}.screed-features b{display:block;color:var(--text);margin-bottom:5px}.screed-features small{display:block;color:#52675b;line-height:1.35;font-weight:650}.screed-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px;margin-bottom:34px}.screed-info-grid article{background:#fff;border:1px solid #e2eee6;border-radius:24px;padding:24px;box-shadow:var(--shadow)}.screed-info-grid ul{margin:14px 0 0;padding-left:20px;color:#4d6256;line-height:1.65}.screed-info-grid details{border-bottom:1px solid #e5f0e8;padding:13px 0}.screed-info-grid details:last-child{border-bottom:0}.screed-info-grid summary{cursor:pointer;font-weight:850;color:var(--text)}.screed-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}.screed-calc #results .estimate-card{display:block !important;width:100%}.screed-calc #results .estimate-card h2{display:block !important;width:100%;margin:0 0 14px !important}.screed-calc #results .estimate-card .table-wrap{display:block !important;clear:both;width:100% !important;max-width:none !important;margin:0 0 14px !important}.screed-calc #results .estimate-card table{width:100% !important;min-width:100%}.screed-calc #results .estimate-card .note-line{width:100%}@media(max-width:1180px){.screed-calc{grid-template-columns:1fr}.screed-features>div{grid-template-columns:repeat(2,1fr)}.screed-hero-grid{grid-template-columns:1fr}.screed-hero-art{opacity:.9}.screed-hero-art img{max-width:340px}.screed-hero-copy h1{max-width:760px}.screed-hero-copy p{max-width:680px}}@media(max-width:760px){body{min-width:0}.site-header .nav,.header-cta{display:none}.screed-hero{min-height:auto}.screed-hero-grid{display:block;padding:26px 0}.screed-hero-copy h1{font-size:34px;line-height:1.03}.screed-hero-copy p{font-size:15px;line-height:1.45}.screed-hero-art{margin-top:20px}.screed-hero-art img{max-width:260px}.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%}.screed-calc{margin-top:18px}.calc-form,.result-card,.summary-card,.estimate-card{border-radius:20px;padding:18px}.mode-tabs,.material-tabs{grid-template-columns:1fr;gap:9px}.mode-tabs button{min-height:58px;padding:10px 12px;font-size:15px}.mode-tabs img{width:38px;height:38px;flex-basis:38px}.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:50px;height:50px}.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}.screed-features>div{grid-template-columns:1fr}.screed-features article{align-items:flex-start}.screed-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}.screed-hero-copy 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:52px;height:52px;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}}@media(max-width:520px){.screed-features img{width:72px;height:72px;flex-basis:72px}}

/* 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;
  }
}

/* v872: size feature cards by their available width. */
.screed-features>div{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))}
.screed-features article>div{min-width:0;overflow-wrap:anywhere}
