/* v218: force full-width stacked estimate cards on mobile */
@media (max-width: 760px){
  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate),
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate){
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) :is(.table-wrap,.table-scroll-v173),
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) :is(.table-wrap,.table-scroll-v173){
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:visible !important;
    margin-top:12px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) :is(table,thead,tbody,tfoot,tr,th,td),
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) :is(table,thead,tbody,tfoot,tr,th,td){
    display:block !important;
    float:none !important;
    position:static !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    grid-template-columns:1fr !important;
    grid-template-areas:none !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) table,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) table{
    min-width:0 !important;
    table-layout:auto !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) thead,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) thead{
    display:none !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) tbody,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) tbody{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) tr,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) tr{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:14px 16px !important;
    border:1px solid #dfece4 !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(16,44,25,.045) !important;
    overflow:hidden !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) td,
  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(n),
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) td,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(n){
    display:block !important;
    grid-template-columns:1fr !important;
    grid-template-areas:none !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:8px 0 !important;
    border:0 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    hyphens:none !important;
    text-align:left !important;
    font-size:14px !important;
    line-height:1.42 !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) td::before,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) td::before{
    content:attr(data-label) !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 0 4px !important;
    color:#52675b !important;
    font-size:12px !important;
    line-height:1.25 !important;
    font-weight:900 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    hyphens:none !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(2),
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) td:nth-child(2){
    font-size:16px !important;
    font-weight:900 !important;
  }

  html body #results#results :is(.estimate-card,.estimate-box,.slab-estimate) tfoot tr,
  html body #calculator#calculator :is(.estimate-card,.estimate-box,.slab-estimate) tfoot tr{
    background:#f4fcf6 !important;
    font-weight:900 !important;
  }

  .calc-export-actions-v178{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }
  .calc-export-actions-v178 span{grid-column:1/-1 !important;margin:0 !important}
  .calc-export-actions-v178 .btn{width:100% !important;min-width:0 !important}
}
@media (max-width:430px){
  .calc-export-actions-v178{grid-template-columns:1fr !important}
}
