.invoice-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.inv-header { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.inv-biz { display: flex; gap: 12px; align-items: flex-start; }
.inv-logo {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 24px; overflow: hidden; flex-shrink: 0;
}
.inv-logo img { width: 100%; height: 100%; object-fit: cover; }
.inv-biz-name { font-size: 20px; font-weight: 700; margin-bottom: 2px; }
.inv-biz-meta { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.inv-meta { text-align: right; }
.inv-meta-title { font-size: 22px; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.inv-meta-num { font-size: 15px; font-weight: 600; margin-top: 4px; }
.inv-meta-date { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.inv-section { margin-top: 20px; }
.inv-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
}
.inv-billto-name { font-weight: 600; }
.inv-billto-meta { font-size: 13px; color: var(--text-muted); }

.inv-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.inv-table th, .inv-table td {
  padding: 8px 10px; text-align: left; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.inv-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted); font-weight: 600;
}
.inv-table .num { text-align: right; white-space: nowrap; }

.inv-totals { margin-top: 16px; margin-left: auto; max-width: 320px; }
.inv-totals .row-between { padding: 4px 0; }
.inv-totals .grand {
  border-top: 2px solid var(--text); margin-top: 8px; padding-top: 10px;
  font-size: 17px; font-weight: 700;
}
.inv-totals .paid-row { font-weight: 600; }
.inv-totals .bal-row { color: var(--error); font-weight: 700; }

.inv-status { margin-top: 12px; text-align: right; }

.inv-payments { margin-top: 24px; }
.inv-payments .pay-row {
  display: flex; justify-content: space-between; padding: 6px 0;
  border-bottom: 1px dashed var(--border); font-size: 13px;
}

.inv-footer {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted); text-align: center;
}

.inv-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  max-width: 820px; margin: 0 auto 16px;
}

/* Print */
@media print {
  body { background: #fff; }
  .sidebar, .topbar, .drawer-backdrop, .toasts, .modal-backdrop, .no-print {
    display: none !important;
  }
  .app-shell { display: block !important; }
  .page { padding: 0 !important; }
  .invoice-sheet { border: none !important; box-shadow: none !important; padding: 0 !important; max-width: none; }
  @page { margin: 12mm; }
}
