:root {
  --color-primary: #047857;
  --color-primary-hover: #065f46;
  --color-primary-light: #d1fae5;
  --color-primary-faint: #ecfdf5;

  --color-bg: #ffffff;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-text-faint: #8a919d;
  --color-surface: #f9fafb;
  --color-border: #e5e7eb;
  --color-border-strong: #d1d5db;
  --color-success: #15803d;
  --color-success-light: #dcfce7;
  --color-warning: #9a5400;
  --color-warning-light: #fef3c7;
  --color-error: #b91c1c;
  --color-error-light: #fee2e2;
  --color-btn-text: #ffffff;

  --max-width: 900px;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-2xl: 4rem;
  --section-gap: clamp(3rem, 6vw, 5rem);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 2px 4px rgba(4, 120, 87, 0.06), 0 4px 8px rgba(4, 120, 87, 0.08), 0 12px 24px rgba(4, 120, 87, 0.06);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

[data-theme="dark"] {
  --color-primary: #34d399;
  --color-primary-hover: #6ee7b7;
  --color-primary-light: #064e3b;
  --color-primary-faint: #022c22;
  --color-bg: #0f172a;
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-faint: #64748b;
  --color-surface: #1e293b;
  --color-border: #334155;
  --color-border-strong: #475569;
  --color-success: #4ade80;
  --color-success-light: #052e16;
  --color-warning: #fbbf24;
  --color-warning-light: #451a03;
  --color-error: #f87171;
  --color-error-light: #450a0a;
  --color-btn-text: #0f172a;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: 0 0 0 1px var(--color-border);
  --shadow-lg: 0 0 0 1px var(--color-border);
  --shadow-primary: 0 0 0 1px var(--color-primary);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-btn-text);
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Announcement bar */
.announcement-bar {
  background: var(--color-primary);
  color: var(--color-btn-text);
  text-align: center;
  padding: 0.5rem var(--spacing-md);
  font-size: 0.85rem;
  font-weight: 500;
}
.announcement-bar strong { font-weight: 700; }
.ann-sep { margin: 0 0.5rem; opacity: 0.6; }
.ann-cta {
  color: var(--color-btn-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Nav */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem var(--spacing-md);
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
}
.logo:hover { color: var(--color-primary); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--color-primary); text-decoration: none; }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4rem;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 1px;
  transition: all 0.2s;
  margin: 0 auto;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }

.nav-panel { display: flex; gap: 1.5rem; align-items: center; }
.nav-panel a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-panel a:hover { color: var(--color-primary); text-decoration: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 100;
    box-shadow: var(--shadow-md);
  }
  .nav-panel.nav-open { display: flex; }
  header { position: relative; }
}

/* Main */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  width: 100%;
}

/* Headings */
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: var(--spacing-md); }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 700; line-height: 1.3; margin-bottom: var(--spacing-md); margin-top: var(--section-gap); }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin-bottom: var(--spacing-sm); margin-top: var(--spacing-xl); }

/* Sections */
.hero {
  text-align: center;
  padding: var(--spacing-2xl) 0;
}
.hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.section { margin-top: var(--section-gap); }

/* Cards */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-btn-text);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Forms */
.form-group { margin-bottom: var(--spacing-md); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-section {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}
.form-section:last-child { border-bottom: none; }
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-section-title svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Toggle switch */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-slider {
  background: var(--color-primary);
}
.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* Line items table */
.line-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
}
.line-items-table th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.5rem 0.5rem;
  border-bottom: 2px solid var(--color-border);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.line-items-table td {
  padding: 0.4rem 0.5rem;
  vertical-align: middle;
}
.line-items-table input {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
}
.line-items-table input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}
.line-items-table .col-desc { width: 40%; }
.line-items-table .col-qty { width: 15%; }
.line-items-table .col-price { width: 20%; }
.line-items-table .col-amount { width: 20%; }
.line-items-table .col-action { width: 5%; }
.line-items-table .amount-cell {
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 0.5rem 0.6rem;
}
.remove-row-btn {
  background: none;
  border: none;
  color: var(--color-error);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  line-height: 1;
  border-radius: var(--radius-sm);
}
.remove-row-btn:hover { background: var(--color-error-light); }

/* Totals */
.totals-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  padding: var(--spacing-md) 0;
  border-top: 2px solid var(--color-border);
}
.totals-row {
  display: flex;
  justify-content: space-between;
  width: 250px;
  font-size: 0.95rem;
}
.totals-row span:first-child { color: var(--color-text-muted); }
.totals-row span:last-child { font-weight: 600; font-family: var(--font-mono); }
.totals-row.total-final {
  font-size: 1.1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--color-primary);
  margin-top: 0.25rem;
}
.totals-row.total-final span:last-child { color: var(--color-primary); font-weight: 700; }

/* Invoice preview */
.invoice-preview-wrap {
  margin-top: var(--spacing-xl);
}
.invoice-preview-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}
.invoice-preview {
  background: #fff;
  color: #111827;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: auto;
}
.inv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid #047857;
}
.inv-logo-area { flex: 1; }
.inv-logo-area img {
  max-height: 60px;
  max-width: 200px;
  margin-bottom: 0.5rem;
}
.inv-business-name { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; }
.inv-abn { font-size: 0.8rem; color: #6b7280; }
.inv-title-area { text-align: right; }
.inv-title { font-size: 1.75rem; font-weight: 800; color: #047857; letter-spacing: -0.02em; }
.inv-meta { font-size: 0.85rem; color: #6b7280; margin-top: 0.5rem; }
.inv-meta div { margin-bottom: 0.15rem; }
.inv-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.inv-party-label { font-size: 0.75rem; font-weight: 600; color: #047857; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.inv-party-name { font-weight: 600; color: #111827; }
.inv-party-detail { font-size: 0.85rem; color: #6b7280; line-height: 1.6; }
.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.inv-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #047857;
  padding: 0.6rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.inv-table th:first-child { border-radius: 6px 0 0 0; }
.inv-table th:last-child { border-radius: 0 6px 0 0; text-align: right; }
.inv-table th.text-right { text-align: right; }
.inv-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #374151;
}
.inv-table td.text-right { text-align: right; font-family: var(--font-mono); }
.inv-table tr:last-child td { border-bottom: 2px solid #e5e7eb; }
.inv-totals {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}
.inv-totals-inner { width: 250px; }
.inv-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: #6b7280;
}
.inv-totals-row span:last-child { font-family: var(--font-mono); color: #374151; }
.inv-totals-row.inv-total-final {
  border-top: 2px solid #047857;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.inv-totals-row.inv-total-final span:last-child { color: #047857; }
.inv-payment {
  background: #ecfdf5;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.inv-payment-title { font-size: 0.75rem; font-weight: 600; color: #047857; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.inv-payment-detail { font-size: 0.85rem; color: #374151; line-height: 1.6; }
.inv-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Actions bar */
.actions-bar {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}
.feature-card h3 { margin-top: 0; font-size: 1rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* Steps */
.steps-list {
  list-style: none;
  counter-reset: steps;
  margin: var(--spacing-lg) 0;
}
.steps-list li {
  counter-increment: steps;
  padding: var(--spacing-md) 0 var(--spacing-md) 3rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: var(--spacing-md);
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: var(--color-btn-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Checklist */
.checklist { list-style: none; margin: var(--spacing-md) 0; }
.checklist li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  background: var(--color-primary-faint);
}

/* FAQ */
.faq-list { margin-top: var(--spacing-lg); }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md) 0;
}
.faq-q {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.faq-a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: var(--color-primary-faint);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  margin-top: var(--section-gap);
}
.cta-banner h2 { margin-top: 0; }
.cta-banner p { color: var(--color-text-muted); margin-bottom: var(--spacing-lg); }

/* Badge / pill */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Prose */
.prose { max-width: 700px; }
.prose p { margin-bottom: var(--spacing-md); color: var(--color-text-muted); line-height: 1.7; }
.prose ul, .prose ol { margin-bottom: var(--spacing-md); padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; color: var(--color-text-muted); line-height: 1.6; }
.prose strong { color: var(--color-text); }

/* Footer */
footer {
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-xl);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  margin-top: var(--section-gap);
}
footer a { color: var(--color-text-muted); }
footer a:hover { color: var(--color-primary); }
.disclaimer {
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
  font-size: 0.8rem;
  color: var(--color-text-faint);
  line-height: 1.5;
}
.trust-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-lg);
  max-width: 600px;
  margin: var(--spacing-lg) auto;
  text-align: left;
}
.footer-nav h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.footer-nav a { display: block; margin-bottom: 0.3rem; font-size: 0.85rem; }

/* Responsive table scroll */
@media (max-width: 600px) {
  .line-items-table { font-size: 0.85rem; }
  .line-items-table .col-desc { width: 35%; }
  .invoice-preview { padding: 1.25rem; font-size: 0.8rem; }
  .inv-header { flex-direction: column; gap: 1rem; }
  .inv-title-area { text-align: left; }
  .inv-parties { grid-template-columns: 1fr; gap: 1rem; }
  .inv-totals-inner { width: 100%; }
  .totals-row { width: 100%; }
}

/* Print styles */
@media print {
  body { min-height: auto; }
  .announcement-bar,
  header,
  .skip-link,
  .actions-bar,
  .invoice-preview-title,
  .form-section,
  .section:not(.invoice-preview-wrap),
  .cta-banner,
  footer,
  .hero,
  .features-grid,
  h2:not(.inv-title),
  .steps-list,
  .faq-list,
  #invoice-form { display: none !important; }

  main { max-width: 100%; padding: 0; margin: 0; }
  .invoice-preview-wrap { margin: 0; }
  .invoice-preview {
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .inv-header { border-bottom-color: #047857; }
  .inv-table th { background: #047857 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .inv-payment { background: #ecfdf5 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
