.tremac-finance-tabs { margin-bottom: 16px; }
.tremac-finance-host .billing-client-card {
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 16px 0;
  margin-top: 8px;
}
.tremac-finance-host .billing-client-card header {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.tremac-finance-host .billing-site-block { margin: 12px 0 20px; }
.tremac-finance-host .billing-site-block h3 { margin: 0 0 8px; font-size: 1rem; }
.billing-json-preview {
  max-height: 60vh;
  overflow: auto;
  padding: 16px;
  background: #0f172a0d;
  font-size: 12px;
  white-space: pre-wrap;
}
.job-attachment-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  width: 100%;
}
.job-attachment-card {
  display: grid;
  gap: 8px;
  padding: 8px;
  background: rgba(15, 23, 42, 0.03);
}
.job-attachment-thumb img,
.job-attachment-thumb-btn img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.job-attachment-thumb-btn {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
}
.job-attachment-filecard {
  display: grid;
  place-items: center;
  height: 120px;
  text-align: center;
  background: rgba(15, 23, 42, 0.06);
  font-size: 13px;
  padding: 8px;
}
.job-attachment-meta {
  display: grid;
  gap: 4px;
}
.job-attachment-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-preview-body {
  padding: 12px 16px;
  text-align: center;
}
.attachment-preview-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
