/* Deliverable preview cards — visual samples instead of empty placeholders */
.bbe-deliverables{background:#f3f6f8!important;padding:82px 0!important}
.bbe-section-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:34px}
.bbe-section-heading>p{max-width:520px;margin:0;color:#52616e;font-size:17px;line-height:1.6}
.bbe-portfolio-grid{align-items:stretch}
.bbe-sample-visual{overflow:hidden;border:1px solid #d8e0e6;background:#fff;box-shadow:0 12px 35px rgba(16,37,55,.08);border-radius:10px}
.bbe-sample-img{height:300px!important;background:#e7edf1!important;display:flex;align-items:center;justify-content:center;padding:18px!important;overflow:hidden}
.bbe-sample-body{padding:25px 24px 28px!important}
.sample-tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.1em;color:#e0621a;margin-bottom:9px}

/* ===== GC Estimate spreadsheet mock ===== */
.doc-window{
  width:100%;
  max-width:100%;
  background:#fff;
  border:1px solid #cdd7de;
  border-radius:7px;
  box-shadow:0 16px 28px rgba(21,43,61,.18);
  overflow:hidden;
  font-family:Arial,Helvetica,sans-serif;
  font-size:10px;
  color:#263746;
}
.doc-toolbar{
  height:32px;
  background:#173d5b;
  color:#fff;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 10px;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
}
.doc-toolbar > span:first-child{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#e0621a;
  flex:none;
}
.doc-toolbar [data-b],
.doc-toolbar > span:nth-child(2){
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:700;
  letter-spacing:.02em;
}
.doc-toolbar i{
  margin-left:auto;
  flex:none;
  font-style:normal;
  background:#fff;
  color:#173d5b;
  padding:3px 6px;
  border-radius:3px;
  font-size:8px;
  font-weight:700;
}

/* Better column proportions so description doesn't wrap mid-phrase */
.sheet-head,
.sheet-row{
  display:grid;
  grid-template-columns: 58px minmax(0,1.4fr) 36px 36px 68px;
  gap:4px;
  padding:7px 8px;
  align-items:center;
}
.sheet-head{
  background:#edf2f5;
  color:#5a6a77;
  font-size:8px;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.03em;
}
.sheet-row{
  border-top:1px solid #edf0f2;
  font-size:9.5px;
  line-height:1.25;
}
.sheet-row > span:nth-child(2){
  /* Description column — allow controlled wrap, never overflow */
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.sheet-row > span:nth-child(3),
.sheet-row > span:nth-child(4){
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.sheet-row > span:nth-child(5),
.sheet-row [data-s]{
  text-align:right;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.sheet-row.total{
  background:#fff3e9;
  font-size:9.5px;
  font-weight:700;
}
.sheet-row.total [data-s],
.sheet-row.total span:last-child{
  color:#d95711;
}

/* ===== Floor plan takeoff mock ===== */
.plan-paper{
  width:100%;
  max-width:100%;
  background:#fff;
  border:1px solid #cbd5dc;
  box-shadow:0 16px 28px rgba(21,43,61,.18);
  padding:13px;
  border-radius:6px;
  font-family:Arial,sans-serif;
}
.plan-title{
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  color:#263746;
  padding-bottom:9px;
  border-bottom:1px solid #d9e0e5;
}
.plan-body{
  height:205px;
  margin:10px 0;
  position:relative;
  background:
    linear-gradient(90deg,transparent 49.5%,#d9e0e5 49.5%,#d9e0e5 50.5%,transparent 50.5%),
    linear-gradient(0deg,transparent 49.5%,#d9e0e5 49.5%,#d9e0e5 50.5%,transparent 50.5%);
  border:3px solid #243746;
}
.room{
  position:absolute;
  border:2px solid #263746;
  background:rgba(244,247,249,.75);
  padding:8px;
  font-size:9px;
  font-weight:700;
}
.room small{font-size:8px;color:#e0621a}
.r1{left:6%;top:8%;width:48%;height:44%}
.r2{right:6%;top:8%;width:34%;height:34%}
.r3{left:6%;bottom:8%;width:37%;height:31%}
.r4{right:6%;bottom:8%;width:45%;height:40%}
.measure{position:absolute;color:#2f6fb0;font-weight:800;font-size:8px}
.m1{left:26%;top:2%}
.m2{right:1%;top:43%;writing-mode:vertical-rl}
.markup{
  position:absolute;
  right:8%;
  top:49%;
  background:#fff3e9;
  border:1px solid #e0621a;
  color:#c34e0b;
  padding:5px 7px;
  font-weight:800;
  font-size:9px;
}
.plan-legend{display:flex;gap:16px;font-size:8px;color:#5b6b78}
.swatch{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px;background:#e0621a}
.swatch.blue{background:#2f6fb0}

/* ===== Trade estimate mock ===== */
.trade-sheet{
  width:100%;
  max-width:100%;
  padding:14px;
  background:#fff;
  border:1px solid #cdd7de;
  border-radius:7px;
  box-shadow:0 16px 28px rgba(21,43,61,.18);
  font-family:Arial,sans-serif;
  font-size:10px;
  color:#263746;
}
.trade-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#173d5b;
  color:#fff;
  padding:12px;
  border-radius:4px;
}
.trade-header [data-b],
.trade-header b{
  display:block;
  font-size:11px;
  letter-spacing:.08em;
  font-weight:700;
}
.trade-header small{
  display:block;
  font-size:8px;
  margin-top:4px;
  opacity:.8;
}
.trade-header [data-s],
.trade-header strong{
  font-size:17px;
  color:#ff9a3d;
  font-weight:800;
  white-space:nowrap;
}
.trade-grid{
  display:grid;
  grid-template-columns:1.5fr .55fr .45fr .8fr .8fr;
  margin-top:10px;
}
.trade-grid > *{
  padding:7px 6px;
  border-bottom:1px solid #e5eaed;
  font-size:8px;
}
.trade-grid > span:nth-child(-n+5){
  background:#eef2f4;
  color:#5a6a77;
  font-weight:800;
  text-transform:uppercase;
}
.trade-grid > [data-b]:nth-child(5n+1){text-align:left}
.trade-grid > [data-b]:not(:nth-child(5n+1)){text-align:right}
.trade-footer{
  display:flex;
  justify-content:space-between;
  margin-top:11px;
  font-size:8px;
  color:#52616e;
  flex-wrap:wrap;
  gap:6px;
}
.trade-footer span::before{
  content:'✓';
  color:#e0621a;
  font-weight:900;
  margin-right:4px;
}

/* Responsive */
@media(max-width:900px){
  .bbe-section-heading{display:block}
  .bbe-section-heading>p{margin-top:14px}
  .bbe-sample-img{height:270px!important}
}
@media(max-width:600px){
  .bbe-deliverables{padding:58px 0!important}
  .bbe-section-heading h2{font-size:38px!important}
  .bbe-sample-img{height:250px!important;padding:12px!important}
  .sheet-head,.sheet-row{
    grid-template-columns:48px minmax(0,1.3fr) 28px 28px 54px;
    font-size:8px;
    gap:3px;
    padding:6px 6px;
  }
  .plan-body{height:180px}
}
