
  #printHeader{
      display:none;
      text-align:center;
      border-bottom:2px solid #1e4e9a;
      padding-bottom:8px;
      margin-bottom:12px;
    }
    #printHeader img{
      height:60px;
      margin-bottom:4px;
    }
    #printHeader h2{
      margin:0;
      font-size:20px;
      color:#1e4e9a;
      font-weight:800;
      letter-spacing:0.5px;
    }
    #printHeader small{
      display:block;
      font-size:13px;
      color:#444;
      margin-top:3px;
    }
    @media print{
      #printHeader{display:block !important;}
      #ctaBar,.hd-site-header,#botBtn,#bot,.actions{display:none !important;}
      body{
        print-color-adjust:exact;
        -webkit-print-color-adjust:exact;
        position:relative;
      }
      body::after{
        content:"DELECON® DESIGN CO.\A Professional Interior Designers since 2008";
        position:fixed;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%) rotate(-35deg);
        font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial;
        font-weight:800;
        font-size:46px;
        line-height:1.3;
        color:rgba(30,78,154,0.22);
        z-index:99999 !important;
        pointer-events:none;
        text-align:center;
        white-space:pre;
      }
    }

/* Home Estimator – BOQ style layout */
/* This file loads AFTER estimate.css */

.he-summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
  margin-bottom:14px;
}

.he-summary-row{
  display:flex;
  justify-content:space-between;
  padding:8px 10px;
  border-radius:10px;
  background:#f4f6fb;
  font-size:14px;
}

.he-summary-row strong{font-weight:700;color:#0b1e4f;}

.he-total-box{
  border-top:1px solid #e5e7eb;
  padding-top:10px;
  margin-top:4px;
}

.he-total-line{
  display:flex;
  justify-content:space-between;
  margin:4px 0;
  font-size:14px;
}

.he-total-grand{
  font-size:18px;
  font-weight:800;
  color:#0a0;
}

.he-out{
  font-size:20px;
  font-weight:800;
  color:#0a0;
  margin-top:10px;
}

.he-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* BOQ tables */
.he-scroll{overflow-x:auto;}

.he-boq{
  width:100%;
  border-collapse:collapse;
  min-width:640px; /* forces horizontal scroll on small screens – Excel feel */
  font-size:14px;
}

.he-boq th,
.he-boq td{
  border:1px solid #e5e7eb;
  padding:8px 10px;
  text-align:left;
}

.he-boq th{
  background:#f4f6fb;
  font-weight:600;
  white-space:nowrap;
}

.he-boq input,
.he-boq select{
  width:100%;
  padding:6px 8px;
  border-radius:8px;
  border:1px solid #d1d5db;
  font-size:14px;
}

/* Modal */
#mbg{
  position:fixed;
  inset:0;
  background:#0007;
  display:none;
  z-index:9998;
}

#modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
  place-items:center;
  padding:14px;
}

.he-sheet{
  width:min(720px,96vw);
  max-height:86vh;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 50px #0004;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.he-sheet-hd{
  padding:14px 16px;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  gap:10px;
  align-items:center;
}

.he-sheet-bd{
  padding:14px 16px;
  overflow:auto;
}

.he-close{
  margin-left:auto;
  background:#eef2ff;
  border:0;
  border-radius:10px;
  padding:8px 12px;
  cursor:pointer;
}

.he-summaryBox{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:10px 12px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  white-space:pre-wrap;
  font-size:13px;
}

.he-form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
  margin-top:12px;
}

.he-form-grid label{
  display:block;
  font-weight:600;
  margin-bottom:4px;
}

/* Bot */
#botBtn{
  position:fixed;
  right:20px;
  bottom:88px;
  width:54px;
  height:54px;
  border-radius:50%;
  background:#1e4e9a;
  color:#fff;
  border:0;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 22px #0003;
}

#bot{
  position:fixed;
  right:20px;
  bottom:154px;
  width:320px;
  max-height:62vh;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  display:none;
  flex-direction:column;
  overflow:hidden;
  box-shadow:0 18px 40px #0003;
}

#botHdr{
  background:#f4f6fb;
  padding:12px 14px;
  border-bottom:1px solid #e5e7eb;
  font-weight:800;
  color:#1e4e9a;
}

#botBody{
  padding:12px;
  overflow:auto;
  scroll-behavior:smooth;
}

#botFoot{
  display:flex;
  gap:8px;
  border-top:1px solid #e5e7eb;
  padding:10px;
}

#botFoot input{
  flex:1;
}

.qa{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:10px 12px;
  margin-bottom:10px;
  font-size:13px;
}

.qa.me{
  background:#ecf5ff;
  border-color:#cfe2ff;
}

.he-badge{
  display:inline-block;
  background:#10b981;
  color:#fff;
  font-weight:700;
  font-size:11px;
  padding:2px 7px;
  border-radius:999px;
  margin-left:6px;
}

/* Print – keep your diagonal watermark behaviour from existing Golden print styles
   (estimate.css already handles generic print for hd-page) */