.billingReceiptButton,
.billingReceiptAdd,
.billingReceiptDraftButton,
.billingReceiptClose {
  appearance: none;
  cursor: pointer;
  font: inherit;
}
.billingReceiptDraftButton {
  align-items: center;
  align-self: end;
  background: #fff;
  border: 1px solid #2185d0;
  border-radius: 5px;
  color: #1769a0;
  display: inline-flex;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
}
.billingReceiptDraftButton:focus-within {
  box-shadow: 0 0 0 3px rgba(33, 133, 208, 0.2);
}
.billingReceiptButton {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #31506f;
  margin-right: 6px;
  min-height: 30px;
  padding: 6px 9px;
}
.billingReceiptBackdrop {
  align-items: center;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 14px;
  position: fixed;
  z-index: 10050;
}
.billingReceiptModal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  max-height: calc(100dvh - 28px);
  max-width: 620px;
  overflow: auto;
  width: 100%;
}
.billingReceiptModal header,
.billingReceiptModal footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}
.billingReceiptModal header {
  border-bottom: 1px solid #e2e8f0;
}
.billingReceiptModal header strong,
.billingReceiptModal header small {
  display: block;
}
.billingReceiptModal header small {
  color: #64748b;
  margin-top: 3px;
}
.billingReceiptClose {
  background: transparent;
  border: 0;
  color: #475569;
  font-size: 28px;
  line-height: 1;
}
.billingReceiptList {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}
.billingReceiptTile {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  color: #31506f;
  overflow: hidden;
  text-decoration: none;
}
.billingReceiptTile img {
  display: block;
  height: 180px;
  object-fit: cover;
  width: 100%;
}
.billingReceiptTile span {
  display: block;
  overflow: hidden;
  padding: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.billingReceiptEmpty {
  color: #64748b;
  grid-column: 1 / -1;
  margin: 20px 0;
  text-align: center;
}
.billingReceiptModal footer {
  border-top: 1px solid #e2e8f0;
}
.billingReceiptModal footer > span {
  color: #64748b;
  font-size: 12px;
}
.billingReceiptAdd {
  background: #2185d0;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  min-height: 38px;
  padding: 10px 14px;
}
@media (max-width: 560px) {
  .billingReceiptList {
    grid-template-columns: minmax(0, 1fr);
  }
  .billingReceiptTile img {
    height: 220px;
  }
}
html[data-interface-theme='dark'] .billingReceiptModal {
  background: #24272d;
  color: #e4edf4;
}
html[data-interface-theme='dark'] .billingReceiptModal header,
html[data-interface-theme='dark'] .billingReceiptModal footer,
html[data-interface-theme='dark'] .billingReceiptTile {
  border-color: #3d4652;
}
html[data-interface-theme='dark'] .billingReceiptButton {
  background: #303740;
  border-color: #59636e;
  color: #d7e1ea;
}
html[data-interface-theme='dark'] .billingReceiptDraftButton {
  background: #303740;
  border-color: #4ea7e8;
  color: #d7e9f7;
}
