/* docs/site/public/shared.css */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1E293B; background: #F7F9FB; }
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
.card { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.header { border-left: 4px solid #2F7F79; padding-left: 16px; margin-bottom: 24px; }
.header h1 { font-size: 20px; margin: 0; }
.header .abn { color: #64748B; font-size: 13px; margin: 4px 0 0; }
.doc-title { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.doc-meta { color: #64748B; font-size: 14px; margin: 0 0 16px; }
.line { display: grid; grid-template-columns: 1fr 80px 120px 120px; gap: 12px; padding: 8px 0; border-bottom: 1px solid #E2E8F0; font-size: 14px; }
/* Right-align numeric columns (Qty, Unit, Total) so values line up under their
   right-anchored headers — accounting convention + matches the in-app PDF
   generator's layout. Was left-aligned which read as "headers and figures
   don't line up" (operator feedback 2026-05-15). */
.line > div:nth-child(2),
.line > div:nth-child(3),
.line > div:nth-child(4) { text-align: right; }
.line.header-row { font-weight: 600; color: #64748B; font-size: 12px; text-transform: uppercase; }
.totals { margin-top: 16px; font-size: 15px; }
.totals .row { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .row.grand { font-size: 20px; font-weight: 700; color: #2F7F79; border-top: 2px solid #1E293B; padding-top: 12px; margin-top: 8px; }
button, .btn { background: #2F7F79; color: #fff; border: 0; padding: 12px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 15px; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
input[type=text], input[type=email] { width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid #CBD5E1; border-radius: 8px; }
label { display: block; margin-top: 16px; font-weight: 600; font-size: 14px; }
.radio-row { display: flex; gap: 16px; margin-top: 8px; }
.error { color: #B91C1C; font-size: 14px; margin-top: 8px; }
.notice { padding: 16px; border-radius: 8px; margin: 16px 0; }
.notice.success { background: #DCFCE7; color: #14532D; }
.notice.warning { background: #FEF3C7; color: #78350F; }
.notice.error { background: #FEE2E2; color: #7F1D1D; }
.bank { background: #EFF6FF; border-radius: 8px; padding: 16px; font-size: 14px; }
@media (max-width: 600px) {
  .line { grid-template-columns: 1fr 60px 90px 90px; font-size: 13px; }
}

/* V36.2 polish 2026-05-24 — controls that exist for the screen UX but
   shouldn't appear in the printed / saved-as-PDF copy of the document. */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #E2E8F0; }
}
