.bz-view-documents .bz-grid-2{
  display:grid;
  grid-template-columns:minmax(300px,0.78fr) minmax(0,1.22fr);
  gap:20px;
  align-items:start;
}

.bz-view-documents .bz-card{
  overflow:hidden;
}

.bz-view-documents.is-service-mode .bz-grid-2{
  grid-template-columns:1fr;
}

.bz-view-documents.is-service-mode .bz-docPanel--form{
  order:1;
}

.bz-view-documents.is-service-mode .bz-docPanel--preview{
  order:2;
}

.bz-view-documents .bz-docPanel{
  border-color:var(--line-strong,rgba(15,23,42,.2));
}

.bz-view-documents .bz-docPanel--form,
.bz-view-documents .bz-docPanel--preview{
  position:relative;
  z-index:2;
}

.bz-view-documents .bz-docPanel--recent{
  grid-column:1 / -1;
  order:3;
  position:relative;
  z-index:1;
  margin-top:14px;
}

.bz-view-documents .bz-docPanelHint{
  font-size:12px;
  line-height:1.35;
  margin:-2px 0 10px;
}

.bz-view-documents .bz-switchTabs{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  align-items:center;
}

.bz-view-documents .bz-switchTabs .bz-tab{
  min-width:0;
  flex:0 1 auto;
  padding:9px 12px;
  border:1px solid var(--line,#d9e2ec);
  border-radius:12px;
  background:#fff;
  color:var(--ink,#1a1a1a);
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
  transition:border-color .2s ease, background-color .2s ease, color .2s ease;
}

.bz-view-documents .bz-switchTabs .bz-tab[data-doc-mode="INVOICE"]{
  flex-basis:94px;
  padding-inline:14px;
}

.bz-view-documents .bz-switchTabs .bz-tab[data-doc-mode="SERVICE"]{
  flex-basis:170px;
  padding-inline:16px;
}

.bz-view-documents .bz-switchTabs .bz-tab[data-doc-mode="CP12"]{
  flex-basis:78px;
  padding-inline:12px;
}

.bz-view-documents .bz-switchTabs .bz-tab.is-active{
  border-color:var(--brand,#003D99);
  background:rgba(0,150,255,.08);
  color:var(--brand,#003D99);
}

.bz-view-documents .bz-docActionRow{
  gap:10px;
  flex-wrap:nowrap;
  padding-top:4px;
}

.bz-view-documents .bz-docActionRow .bz-btn{
  min-width:102px;
  flex:1 1 0;
  min-height:40px;
  justify-content:center;
  text-align:center;
}

.bz-view-documents #docShareBtn[disabled],
.bz-view-documents #docShareBtn[aria-disabled="true"]{
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
}

.bz-view-documents .bz-docShareModal{
  position:relative;
  margin-top:14px;
}

.bz-view-documents .bz-docShareModal[hidden]{
  display:none;
}

.bz-view-documents .bz-docShareModalCard{
  margin-left:auto;
  width:min(100%,320px);
  border:1px solid #d9e2ec;
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 32px rgba(15,23,42,.12);
  padding:14px;
}

.bz-view-documents .bz-docShareModalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.bz-view-documents .bz-docShareModalClose{
  width:32px;
  height:32px;
  border:1px solid #d9e2ec;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.bz-view-documents .bz-docShareModalActions{
  display:grid;
  gap:10px;
  margin-top:14px;
}

.bz-view-documents .bz-docShareModalActions .bz-btn{
  justify-content:center;
}

.bz-view-documents .bz-docSearchBox{
  position:relative;
  z-index:40;
}

.bz-view-documents .bz-docSuggest{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid #d9e2ec;
  border-radius:14px;
  box-shadow:0 14px 28px rgba(15,23,42,.12);
  overflow:hidden;
}

.bz-view-documents .bz-docSuggest button{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:10px 12px;
  cursor:pointer;
}

.bz-view-documents .bz-docSuggest button + button{
  border-top:1px solid #eef2f7;
}

.bz-view-documents .bz-docSuggest button:hover{
  background:#f8fbff;
}

.bz-view-documents .bz-docInvoiceFields{
  display:grid;
  gap:12px;
  margin-top:4px;
}

.bz-view-documents .bz-docIdentityGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:
    "num date"
    "type client"
    "property property";
  gap:10px;
}

.bz-view-documents .bz-docIdentityField--number{ grid-area:num; }
.bz-view-documents .bz-docIdentityField--date{ grid-area:date; }
.bz-view-documents .bz-docIdentityField--type{ grid-area:type; }
.bz-view-documents .bz-docIdentityField--client{ grid-area:client; }
.bz-view-documents .bz-docIdentityField--property{ grid-area:property; }

.bz-view-documents .bz-docItemBuilder{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.bz-view-documents .bz-docItemEditor{
  border:1px solid #dbe4ef;
  border-radius:14px;
  padding:12px;
  background:#f8fafc;
  display:grid;
  gap:10px;
}

.bz-view-documents .bz-docItemEditor[hidden]{
  display:none;
}

.bz-view-documents .bz-docSubItemEditor{
  border:1px dashed #cbd5e1;
  border-radius:12px;
  padding:10px;
  background:#fff;
  display:grid;
  gap:8px;
}

.bz-view-documents .bz-docSubItemEditor[hidden]{
  display:none;
}

.bz-view-documents .bz-docSubItemChips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.bz-view-documents .bz-docSubItemChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #dbe4ef;
  border-radius:999px;
  padding:5px 8px;
  font-size:11px;
  color:#334155;
  background:#fff;
}

.bz-view-documents .bz-docSubItemChip button{
  border:0;
  background:transparent;
  color:#64748b;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  padding:0;
}
.bz-view-documents .bz-docSubItemChip [data-edit-sub-item]:hover{ color:#2563eb; }
.bz-view-documents .bz-docSubItemChip [data-delete-sub-item]:hover{ color:#dc2626; }

.bz-view-documents .bz-docItemEditorRow{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:10px;
}
.bz-view-documents .bz-docVatSwitch{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
}
.bz-view-documents .bz-docVatSwitch input[type="checkbox"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.bz-view-documents .bz-docToggleSlider{
  width:44px;
  height:24px;
  border-radius:999px;
  background:#cbd5e1;
  position:relative;
  transition:background-color .2s ease;
  flex:0 0 auto;
}
.bz-view-documents .bz-docToggleSlider::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 1px 3px rgba(15,23,42,.35);
  transition:transform .2s ease;
}
.bz-view-documents .bz-docVatSwitch input[type="checkbox"]:checked + .bz-docToggleSlider{
  background:#0d6efd;
}
.bz-view-documents .bz-docVatSwitch input[type="checkbox"]:checked + .bz-docToggleSlider::after{
  transform:translateX(20px);
}

.bz-view-documents .bz-docItemTab{
  display:inline-flex;
  align-items:center;
  gap:10px;
  max-width:100%;
  border:1px solid #dbe4ef;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  padding:7px 10px;
  cursor:pointer;
  font-size:12px;
}

.bz-view-documents .bz-docItemTab.is-active{
  border-color:#0d3175;
  background:rgba(13,49,117,.08);
}

.bz-view-documents .bz-docItemTabText{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bz-view-documents .bz-docItemTabDelete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#e2e8f0;
  color:#334155;
  font-size:14px;
  line-height:1;
}

.bz-view-documents .bz-docItemTabDelete:hover{
  background:#fecaca;
  color:#991b1b;
}

.bz-view-documents .bz-docItemEmpty{
  font-size:12px;
  color:#64748b;
}

.bz-view-documents .bz-docCanvas{
  min-height:760px;
  padding:14px;
  border:1px solid var(--line,#d9e2ec);
  border-radius:18px;
  background:linear-gradient(180deg,#f9fbff 0%,#f8fafc 100%);
  overflow:hidden;
}

.bz-view-documents .bz-docPreviewViewport{
  width:100%;
  min-height:760px;
  overflow:hidden;
  position:relative;
}

.bz-view-documents .bz-docPreviewStage{
  position:absolute;
  top:0;
  left:50%;
  width:720px;
  transform-origin:top center;
  will-change:transform;
}

.bz-view-documents .bz-docPreviewViewport .bz-letterhead{
  width:100%;
}

.bz-view-documents .bz-docPreviewViewport .bz-letterhead__sheet{
  width:100%;
  max-width:100%;
}

.bz-view-documents .bz-docPreviewViewport .bz-letterhead__watermark{
  opacity:.085;
}

/* Keep document preview/export logo geometry identical across devices. */
.bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__brandLogo{
  width:min(100%,396px) !important;
  margin-left:-70px !important;
  margin-top:-6px !important;
}

.bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__brandLogoImage{
  max-height:132px !important;
}

/* Service document renders in landscape sheet. */
.bz-view-documents .bz-docPreviewExportRoot.is-service .bz-letterhead__sheet{
  width:1018px !important;
  max-width:1018px !important;
  aspect-ratio:297 / 210 !important;
}

@media (max-width:1024px){
  .bz-view-documents .bz-grid-2{
    grid-template-columns:1fr;
    gap:14px;
  }
  .bz-view-documents .bz-docCanvas,
  .bz-view-documents .bz-docPreviewViewport{
    min-height:640px;
  }
}

@media (max-width:760px){
  .bz-view-documents .bz-docIdentityGrid{
    grid-template-columns:1fr;
    grid-template-areas:
      "num"
      "date"
      "type"
      "client"
      "property";
  }

  .bz-view-documents .bz-switchTabs{
    flex-wrap:wrap;
  }
  .bz-view-documents .bz-switchTabs .bz-tab{
    flex:1 1 140px !important;
  }
  .bz-view-documents .bz-docCanvas,
  .bz-view-documents .bz-docPreviewViewport{
    min-height:520px;
  }
  .bz-view-documents .bz-docActionRow .bz-btn{
    min-width:0;
    flex:1 1 0;
    padding:10px 8px;
    font-size:12px;
    white-space:nowrap;
  }
  .bz-view-documents .bz-docItemEditorRow{
    grid-template-columns:1fr;
  }
}

.bz-view-documents .bz-docLetterheadBody{
  padding:8px 20px 24px;
  display:grid;
  gap:12px;
}

.bz-view-documents .bz-docLetterheadTopline{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:end;
  gap:18px;
  padding:6px 0 10px;
  border-bottom:1px solid #dbe4ef;
}

.bz-view-documents .bz-docLetterheadToplineItem{
  display:grid;
  gap:5px;
}

.bz-view-documents .bz-docLetterheadToplineItem.is-right{
  justify-items:end;
  text-align:right;
}

.bz-view-documents .bz-docLetterheadToplineItem span{
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
}

.bz-view-documents .bz-docLetterheadToplineItem strong{
  font-size:17px;
  font-weight:900;
  color:#0d3175;
  letter-spacing:.01em;
}

.bz-view-documents .bz-docLetterheadHero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(240px,.9fr);
  gap:16px;
  align-items:start;
}

.bz-view-documents .bz-docLetterheadHeroRight{
  border:1px solid #dbe4ef;
  border-radius:16px;
  padding:16px 16px 14px;
  background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.82));
}

.bz-view-documents .bz-docLetterheadKicker{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
}

.bz-view-documents .bz-docLetterheadClient{
  margin-top:6px;
  font-size:21px;
  font-weight:900;
  color:#0f172a;
}

.bz-view-documents .bz-docLetterheadTitle{
  font-size:30px;
  font-weight:900;
  line-height:1.02;
  color:#0f172a;
}

.bz-view-documents .bz-docLetterheadMeta{
  font-size:12px;
  line-height:1.5;
  color:#475569;
}

.bz-view-documents .bz-docLetterheadPanel{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px 16px;
  background:rgba(255,255,255,.86);
}

.bz-view-documents .bz-docLetterheadNotes{
  margin-top:6px;
  white-space:pre-line;
}

.bz-view-documents .bz-docLetterheadPanelTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.bz-view-documents .bz-docClientBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:4px 10px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bz-view-documents .bz-docClientBadge.is-client{
  color:#0d3175;
  background:rgba(13,49,117,.09);
}

.bz-view-documents .bz-docClientBadge.is-business{
  color:#c2410c;
  background:rgba(249,115,22,.13);
}

.bz-view-documents .bz-docClientBadge.is-site{
  color:#0d3175;
  background:rgba(13,49,117,.09);
}

.bz-view-documents .bz-docLetterheadSiteBlock{
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed #cbd5e1;
}

.bz-view-documents .bz-docLetterheadMiniTitle,
.bz-view-documents .bz-docLetterheadSectionTitle{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#0f172a;
}

.bz-view-documents .bz-docLetterheadSection{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px 16px;
  background:rgba(255,255,255,.86);
}

.bz-view-documents .bz-docLetterheadPanel--site{
  border-color:#dbe4ef;
  background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.82));
}

.bz-view-documents .bz-docLetterheadClient--site{
  font-size:18px;
}

.bz-view-documents .bz-docInlineAddressRow{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:0;
}

.bz-view-documents .bz-docInlineAddress{
  min-width:0;
  padding:4px 0 8px;
}

.bz-view-documents .bz-docInlineAddress--site{
  text-align:right;
}

.bz-view-documents .bz-docInlineAddressLabel{
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#0d3175;
}

.bz-view-documents .bz-docInlineAddressValue{
  margin-top:4px;
  font-size:18px;
  line-height:1.15;
  font-weight:900;
  color:#0f172a;
}

.bz-view-documents .bz-docInlineAddressText{
  margin-top:6px;
  font-size:12px;
  line-height:1.6;
  color:#334155;
}

.bz-view-documents .bz-docMetaGrid{
  display:grid;
  gap:9px;
  margin-top:14px;
}

.bz-view-documents .bz-docMetaRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:#475569;
}

.bz-view-documents .bz-docMetaRow span{
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:700;
}

.bz-view-documents .bz-docMetaRow strong{
  color:#0f172a;
  font-size:12px;
  text-align:right;
}

.bz-view-documents .bz-docJobGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:10px;
}

.bz-view-documents .bz-docJobCell{
  display:grid;
  gap:6px;
}

.bz-view-documents .bz-docItemsTableWrap{
  margin-top:12px;
  border:1px solid #dbe4ef;
  border-radius:14px;
  overflow:hidden;
}

.bz-view-documents .bz-docItemsTable{
  width:100%;
  border-collapse:collapse;
}

.bz-view-documents .bz-docItemsTable th{
  padding:11px 12px;
  background:#0d3175;
  color:#fff;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  border:0;
}

.bz-view-documents .bz-docItemsTable td{
  padding:12px;
  border:0;
  border-top:1px solid #e2e8f0;
  font-size:12px;
  color:#0f172a;
  vertical-align:top;
}

.bz-view-documents .bz-docItemsTable th.is-right,
.bz-view-documents .bz-docItemsTable td.is-right{
  text-align:right;
}

.bz-view-documents .bz-docItemDesc{
  font-weight:700;
}

.bz-view-documents .bz-docItemSub{
  margin-top:4px;
  font-size:11px;
  color:#64748b;
}

.bz-view-documents .bz-docItemsTableEmpty{
  text-align:center;
  color:#64748b;
}

.bz-view-documents .bz-docLetterheadSummary{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,.78fr);
  gap:16px;
  align-items:start;
}

.bz-view-documents .bz-docLetterheadSummaryNotes{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px 16px;
  background:rgba(255,255,255,.86);
}

.bz-view-documents .bz-docLetterheadSummaryText{
  margin-top:10px;
  white-space:pre-line;
  font-size:12px;
  line-height:1.65;
  color:#475569;
}

.bz-view-documents .bz-docLetterheadTotals{
  border:1px solid #dbe4ef;
  border-radius:16px;
  padding:12px 14px;
  background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.84));
}

.bz-view-documents .bz-docTotalRow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  font-size:12px;
  color:#334155;
  border-bottom:1px solid #dbe4ef;
}

.bz-view-documents .bz-docTotalRow strong{
  color:#0f172a;
}

.bz-view-documents .bz-docTotalRow.is-grand{
  font-size:15px;
  font-weight:800;
}

.bz-view-documents .bz-docTotalRow.is-grand strong{
  color:#0d3175;
}

.bz-view-documents .bz-docLetterheadTotals .bz-docTotalRow:last-of-type{
  border-bottom:0;
}

.bz-view-documents .bz-docPaymentLine{
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed #cbd5e1;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#475569;
}

.bz-view-documents .bz-docCanvas table{
  width:100%;
  border-collapse:collapse;
}

.bz-view-documents .bz-docCanvas th{
  text-align:left;
  padding:6px;
  border-bottom:2px solid #111;
}

.bz-view-documents .bz-docCanvas td{
  padding:6px;
  border-bottom:1px solid #e5e7eb;
}

.bz-view-documents .bz-docCanvas th:last-child,
.bz-view-documents .bz-docCanvas td:last-child{
  text-align:right;
}

.bz-view-documents .bz-table{
  min-width:0;
}

.bz-view-documents .bz-tableWrap{
  max-width:100%;
  overflow:auto;
}

@media (max-width:1024px){
  .bz-view-documents .bz-grid-2{
    grid-template-columns:1fr;
  }

  .bz-view-documents .bz-docCanvas{
    min-height:540px;
  }

  .bz-view-documents .bz-docPreviewViewport{
    min-height:540px;
  }
}

@media (max-width:760px){
  body.bz-device-mobile .bz-view-documents .bz-tableWrap{
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  body.bz-device-mobile .bz-view-documents .bz-table{
    min-width:760px !important;
  }

  body.bz-device-mobile .bz-view-documents .bz-table th,
  body.bz-device-mobile .bz-view-documents .bz-table td{
    white-space:nowrap !important;
    word-break:normal !important;
  }

  .bz-view-documents .bz-switchTabs{
    gap:6px;
    overflow-x:auto;
    padding-bottom:2px;
  }

  .bz-view-documents .bz-switchTabs .bz-tab{
    flex:0 0 auto;
    padding:8px 10px;
    font-size:12px;
  }

  .bz-view-documents .bz-docCanvas{
    padding:8px;
    min-height:320px;
  }

  .bz-view-documents .bz-docItemEditorRow{
    grid-template-columns:1fr;
  }

  .bz-view-documents .bz-docPreviewViewport{
    min-height:320px;
  }

  .bz-view-documents .bz-docPreviewViewport .bz-letterhead__sheet{
    border-radius:12px;
  }

  .bz-view-documents .bz-docLetterheadBody{
    padding:8px 14px 22px;
  }

  .bz-view-documents .bz-docLetterheadTopline{
    grid-template-columns:1fr;
    gap:10px;
  }

  .bz-view-documents .bz-docLetterheadToplineItem.is-right{
    justify-items:start;
    text-align:left;
  }

  .bz-view-documents .bz-docLetterheadHero{
    grid-template-columns:1fr;
  }

  .bz-view-documents .bz-docInlineAddressRow{
    grid-template-columns:1fr;
  }

  .bz-view-documents .bz-docInlineAddress--site{
    text-align:left;
  }

  .bz-view-documents .bz-docLetterheadHeroRight{
    padding:14px;
  }

  .bz-view-documents .bz-docLetterheadTitle{
    font-size:24px;
  }

  .bz-view-documents .bz-docJobGrid,
  .bz-view-documents .bz-docLetterheadSummary{
    grid-template-columns:1fr;
  }

  .bz-view-documents .bz-docMetaRow{
    flex-direction:column;
    gap:4px;
  }

  .bz-view-documents .bz-docMetaRow strong{
    text-align:left;
  }
}

/* The document sheet is fixed-format; mobile may scale the wrapper but must not reflow the sheet. */
.bz-view-documents .bz-docPreviewExportRoot{
  width:720px !important;
  max-width:720px !important;
  min-width:720px !important;
  margin:0 !important;
  transform:none !important;
  transform-origin:top left !important;
}

.bz-view-documents .bz-docPreviewExportRoot.is-service{
  width:1018px !important;
  max-width:1018px !important;
  min-width:1018px !important;
}

.bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__sheet{
  width:720px !important;
  max-width:720px !important;
  min-width:720px !important;
}

.bz-view-documents .bz-docPreviewExportRoot.is-service .bz-letterhead__sheet{
  width:1018px !important;
  max-width:1018px !important;
  min-width:1018px !important;
}

@media (max-width:980px){
  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__footerBar{
    grid-template-columns:auto 1fr auto !important;
    justify-items:stretch !important;
    gap:10px !important;
    padding:0 16px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__footerAccent{
    display:block !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__footerText{
    flex-wrap:nowrap !important;
    justify-content:center !important;
    white-space:nowrap !important;
  }
}

@media (max-width:760px){
  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__header{
    grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr) !important;
    gap:1.6% !important;
    padding:2.55% 4% .5% 4% !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__brandLogo{
    width:min(100%,396px) !important;
    margin-top:-6px !important;
    margin-left:-70px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__contactStack{
    margin-left:10px !important;
    margin-right:0 !important;
    gap:6px !important;
    justify-self:stretch !important;
    width:auto !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__contactRow{
    grid-template-columns:32px 1fr !important;
    gap:9px !important;
    min-height:28px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__contactRow--address{
    min-height:38px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__contactIcon{
    width:32px !important;
    height:32px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__contactIcon svg{
    width:15px !important;
    height:15px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-letterhead__contactText{
    font-size:10px !important;
    line-height:1.18 !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadBody{
    padding:8px 20px 24px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadTopline{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadToplineItem.is-right{
    justify-items:end !important;
    text-align:right !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadHero{
    grid-template-columns:minmax(0,1.1fr) minmax(240px,.9fr) !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docInlineAddressRow{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docInlineAddress--site{
    text-align:right !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadHeroRight{
    padding:16px 16px 14px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadTitle{
    font-size:30px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docJobGrid,
  .bz-view-documents .bz-docPreviewExportRoot .bz-docLetterheadSummary{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docMetaRow{
    flex-direction:row !important;
    gap:12px !important;
  }

  .bz-view-documents .bz-docPreviewExportRoot .bz-docMetaRow strong{
    text-align:right !important;
  }
}
