.bz-view-documents .bz-doc-template--service .bz-letterhead__sheet{
  grid-template-rows:minmax(0,1fr);
  overflow:hidden !important;
  -webkit-text-size-adjust:none;
  text-size-adjust:none;
}

.bz-view-documents .bz-doc-template--service,
.bz-view-documents .bz-doc-template--service *{
  -webkit-text-size-adjust:none;
  text-size-adjust:none;
}

.bz-view-documents .bz-doc-template--service .bz-letterhead__body,
.bz-view-documents .bz-doc-template--service .bz-docServiceBody{
  position:absolute;
  inset:0;
  z-index:4;
}

.bz-view-documents .bz-doc-template--service .bz-letterhead__watermark{
  opacity:.02;
}

.bz-view-documents .bz-doc-template--service .bz-letterhead__header,
.bz-view-documents .bz-doc-template--service .bz-letterhead__rule,
.bz-view-documents .bz-doc-template--service .bz-letterhead__topline,
.bz-view-documents .bz-doc-template--service .bz-letterhead__bottom,
.bz-view-documents .bz-doc-template--service .bz-letterhead__footerBar{
  display:none;
}

.bz-view-documents .bz-doc-template--service .bz-letterhead__sheet::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:15%;
  background:#0b0b0b;
  z-index:2;
  pointer-events:none;
}

.bz-view-documents .bz-doc-template--service .bz-letterhead__sheet::after{
  content:"";
  position:absolute;
  top:6px;
  left:10px;
  height:calc(15% - 12px);
  width:92px;
  background-image:url("../../../assets/images/gas-safe-register.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  z-index:3;
  pointer-events:none;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonText{
  position:absolute;
  top:0;
  left:116px;
  right:184px;
  height:15%;
  z-index:6;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  pointer-events:none;
  gap:1px;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonTitle{
  color:#bae6fd;
  font-size:23px;
  font-weight:900;
  letter-spacing:.03em;
  line-height:1;
  text-transform:uppercase;
  margin-bottom:8px;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonSub{
  color:#f8fafc;
  font-size:8.4px;
  line-height:1.05;
  max-width:100%;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonSub span{
  display:block;
  white-space:nowrap;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonMeta{
  position:absolute;
  top:11px;
  right:10px;
  width:166px;
  z-index:6;
  display:grid;
  gap:4px;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonMetaRow{
  min-height:22px;
  border-radius:7px;
  background:var(--bz-service-paper,#ffffff);
  color:#111827;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  align-items:center;
  gap:5px;
  padding:2px 7px;
  box-shadow:0 2px 6px rgba(15,23,42,.18);
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonMetaRow span{
  font-size:7.6px;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
  line-height:1.05;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonMetaRow strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:8.7px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
  text-align:right;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonMetaRow--due span,
.bz-view-documents .bz-doc-template--service .bz-docServiceRibbonMetaRow--due strong{
  color:#dc2626;
}

.bz-view-documents .bz-doc-template--service .bz-docServiceMap{
  position:absolute;
  left:8px;
  right:8px;
  top:calc(15% + 4px);
  bottom:7px;
  z-index:5;
}

.bz-view-documents .bz-doc-template--service .bz-mapCell{
  position:absolute;
  min-width:0;
  border:1.2px solid rgba(2,132,199,.88);
  border-radius:8px;
  background:rgba(255,255,255,.92);
  box-sizing:border-box;
  overflow:hidden;
}

.bz-view-documents .bz-doc-template--service .bz-mapCell--business{ left:.6%; top:.6%; width:39.2%; height:19.8%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--site{ left:40.5%; top:.6%; width:28.9%; height:19.8%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--customer{ left:70.1%; top:.6%; width:29.3%; height:19.8%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--appliance{ left:.6%; top:21%; width:72%; height:18.5%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--inspection{ left:.6%; top:40.4%; width:72%; height:18.5%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--record{ left:73.4%; top:21%; width:26%; height:37.4%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--defects{ left:.6%; top:59.1%; width:72%; height:17%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--work{ left:37.2%; top:76.8%; width:35.4%; height:20.1%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--remedial{ left:.6%; top:76.8%; width:35.8%; height:20.1%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--count{ left:73.4%; top:59.1%; width:26%; height:5.2%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--outcomes{ left:73.4%; top:65.1%; width:26%; height:14.8%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--optional{ left:73.4%; top:80.7%; width:26%; height:16.2%; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--attention{ left:50.4%; top:93.7%; width:18%; height:2%; background:#262626; border-color:#262626; display:none; }
.bz-view-documents .bz-doc-template--service .bz-mapCell--reorder{
  left:.6%;
  right:.6%;
  bottom:0;
  height:2.5%;
  background:#38bdf8;
  color:#1f2937;
  font-size:8.2px;
  font-weight:800;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.bz-view-documents .bz-doc-template--service .bz-mapTitle,
.bz-view-documents .bz-doc-template--service .bz-mapHeadBar{
  background:#38bdf8;
  color:#111827;
  font-size:11.5px;
  font-weight:900;
  letter-spacing:0;
  line-height:1.05;
  padding:3px 6px;
  text-transform:none;
  border-bottom:1.4px solid #0369a1;
}

.bz-view-documents .bz-doc-template--service .bz-mapTitle small{
  font-size:8.5px;
  font-weight:800;
}

.bz-view-documents .bz-doc-template--service .bz-mapCell--customer .bz-mapTitle{
  white-space:nowrap;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows{
  display:grid;
  gap:2px;
  padding:4px 6px 5px;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows div{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:5px;
  align-items:end;
  font-size:10.4px;
  line-height:1.1;
  color:#1f2937;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--business{
  gap:1px;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--business .bz-mapField{
  grid-template-columns:137px minmax(0,1fr);
  gap:6px;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--detail{
  gap:2px;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--detail .bz-mapField{
  grid-template-columns:90px minmax(0,1fr);
  gap:5px;
}

.bz-view-documents .bz-doc-template--service .bz-mapField b{
  min-width:0;
  font-size:9.5px;
  font-weight:800;
  line-height:1.08;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows span{
  display:block;
  min-height:10px;
  border-bottom:1px solid rgba(31,41,55,.38);
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--business .bz-mapField span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9.8px;
  line-height:1.08;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--detail .bz-mapField span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9.8px;
  line-height:1.08;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--business .bz-mapField--address{
  align-items:start;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--detail .bz-mapField--address{
  align-items:start;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--business .bz-mapField--address span{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  min-height:24px;
  overflow:hidden;
}

.bz-view-documents .bz-doc-template--service .bz-mapRows--detail .bz-mapField--address span{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  min-height:24px;
  overflow:hidden;
}

.bz-view-documents .bz-doc-template--service .bz-mapCell--count .bz-mapTitle{
  height:100%;
  display:flex;
  align-items:center;
  border-bottom:0;
  padding-right:38px;
}

.bz-view-documents .bz-doc-template--service .bz-mapCountValue{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  color:#111827;
  font-size:17.3px;
  font-weight:900;
  line-height:1;
}

.bz-view-documents .bz-doc-template--service .bz-mapCell--outcomes{
  display:grid;
  grid-template-rows:repeat(5,minmax(0,1fr));
}

.bz-view-documents .bz-doc-template--service .bz-mapOutcomeRow{
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:center;
  gap:4px;
  padding:0 6px;
  border-top:1px solid rgba(31,41,55,.22);
  min-width:0;
}

.bz-view-documents .bz-doc-template--service .bz-mapOutcomeRow:first-child{
  border-top:0;
}

.bz-view-documents .bz-doc-template--service .bz-mapOutcomeRow span{
  font-size:9.5px;
  line-height:1.15;
  color:#1f2937;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bz-view-documents .bz-doc-template--service .bz-mapOutcomeRow strong{
  min-height:11px;
  border-bottom:1px solid rgba(31,41,55,.38);
  font-size:9.5px;
  font-weight:800;
  color:#374151;
  white-space:nowrap;
  text-align:right;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable{
  width:100%;
  height:calc(100% - 23px);
  border-collapse:collapse;
  table-layout:fixed;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable th,
.bz-view-documents .bz-doc-template--service .bz-mapTable td{
  border:1px solid rgba(31,41,55,.28);
  color:#1f2937;
  font-size:8.3px;
  line-height:1.05;
  padding:2px;
  text-align:center;
  vertical-align:middle;
  word-break:break-word;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable th:first-child,
.bz-view-documents .bz-doc-template--service .bz-mapTable td:first-child{
  width:16px;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--appliance{
  height:calc(100% - 22px);
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--inspection{
  height:calc(100% - 22px);
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--appliance thead tr{
  height:32%;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--appliance tbody tr{
  height:17%;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--inspection thead tr{
  height:32%;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--inspection tbody tr{
  height:17%;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--inspection tbody td{
  height:auto;
  max-height:none;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--inspection th{
  line-height:1.1;
  padding:3px 2px;
  word-break:normal;
  overflow-wrap:break-word;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--inspection td{
  padding:1px 2px;
  line-height:1.05;
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--small{
  height:calc(100% - 23px);
}

.bz-view-documents .bz-doc-template--service .bz-mapTable--small th{
  width:48%;
  font-weight:800;
}

.bz-view-documents .bz-doc-template--service .bz-mapLined{
  height:calc(100% - 23px);
  background:repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.88) 0,
    rgba(255,255,255,.88) 18px,
    rgba(31,41,55,.2) 19px
  );
}

.bz-view-documents .bz-doc-template--service .bz-mapAttention{
  height:100%;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:25.9px;
  font-weight:900;
  letter-spacing:0;
}

.bz-view-documents .bz-doc-template--service.is-engineer-copy{
  --bz-service-paper:#ffffff;
}

.bz-view-documents .bz-doc-template--service.is-landlord-copy{
  --bz-service-paper:#ffffff;
}

.bz-view-documents .bz-doc-template--service.is-tenant-copy{
  --bz-service-paper:#ffffff;
}

.bz-view-documents .bz-doc-template--service.is-engineer-copy .bz-letterhead__paper{
  background:#ffffff !important;
}

.bz-view-documents .bz-doc-template--service.is-landlord-copy .bz-letterhead__paper{
  background:#ffffff !important;
}

.bz-view-documents .bz-doc-template--service.is-tenant-copy .bz-letterhead__paper{
  background:#ffffff !important;
}
