.invoice-label{color:#334155;margin-bottom:.5rem;font-size:.875rem;font-weight:500;display:block}.invoice-input,.invoice-textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:.75rem;outline:none;width:100%;min-height:48px;padding:.75rem 1rem;font-size:1rem;font-weight:500;line-height:1.35;transition:border-color .14s,box-shadow .14s}.invoice-textarea{resize:vertical;min-height:92px}.invoice-input:focus,.invoice-textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 4px #6366f124}.invoice-input-with-prefix{padding-left:2.75rem}.invoice-input-with-suffix{padding-right:2.75rem}.invoice-editor-panel .invoice-label{margin-bottom:.375rem;font-size:.8125rem}.invoice-editor-panel .invoice-input,.invoice-editor-panel .invoice-textarea{border-radius:.7rem;min-height:44px;padding:.625rem .875rem;font-size:.9375rem;line-height:1.3}.invoice-editor-panel .invoice-textarea{min-height:78px}.invoice-editor-panel .invoice-input-with-prefix{padding-left:2.5rem}.invoice-editor-panel .invoice-input-with-suffix{padding-right:2.5rem}.invoice-logo-dropzone{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:1rem;justify-content:space-between;align-items:center;gap:1rem;min-height:5.5rem;padding:1rem;transition:border-color .14s,background-color .14s;display:flex}.invoice-logo-dropzone.is-dragging{background:#eef2ff;border-color:#4f46e5}.invoice-small-button,.invoice-action-text,.invoice-action-button,.invoice-primary-action{border-radius:.75rem;justify-content:center;align-items:center;gap:.5rem;min-height:2.5rem;font-size:.875rem;font-weight:650;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.invoice-small-button,.invoice-action-text,.invoice-action-button{color:#334155;background:#fff;border:1px solid #e2e8f0;padding:0 .875rem}.invoice-action-button{width:2.5rem;padding:0}.invoice-editor-panel .invoice-small-button,.invoice-editor-panel .invoice-action-button{border-radius:.65rem;min-height:2.25rem;font-size:.8125rem}.invoice-editor-panel .invoice-small-button{padding:0 .75rem}.invoice-editor-panel .invoice-action-button{width:2.25rem}.invoice-action-text{width:100%}.invoice-primary-action{color:#fff;background:#0f172a;padding:0 1rem}.invoice-small-button:hover,.invoice-action-text:hover,.invoice-action-button:hover{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}.invoice-primary-action:hover{background:#1e293b}.invoice-swatch{border:2px solid #fff;border-radius:999px;width:1.85rem;height:1.85rem;box-shadow:0 0 0 1px #cbd5e1}.invoice-line-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:1rem;padding:1rem}.invoice-editor-panel .invoice-line-row{border-radius:.875rem;padding:.75rem}.invoice-editor-panel .invoice-line-row .invoice-textarea{min-height:64px}.invoice-line-row.is-dragging{background:#eef2ff;border-color:#818cf8}.invoice-preview{--invoice-accent:#4f46e5;color:#0f172a;border-radius:.35rem;min-height:640px;box-shadow:0 16px 45px #0f172a1f}.invoice-preview-header{border-top:8px solid var(--invoice-accent);justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:2.25rem;display:flex}.invoice-preview-header>div:first-child{align-items:flex-start;gap:1rem;min-width:0;display:flex}.print-invoice-logo{-o-object-fit:contain;object-fit:contain;max-width:9.5rem;max-height:5.25rem}.invoice-preview-header h3{color:#020617;margin-top:.25rem;font-family:Newsreader,serif;font-size:clamp(2.2rem,4vw,3.75rem);line-height:.95}.invoice-preview-label{color:#64748b;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:700}.invoice-preview-company{text-align:right;max-width:15rem}.invoice-preview-company strong,.invoice-preview-meta strong{font-size:1rem;font-weight:700;display:block}.invoice-preview-company span,.invoice-preview-meta span{white-space:pre-line;color:#64748b;margin-top:.25rem;font-size:.86rem;font-weight:500;line-height:1.5;display:block}.invoice-preview-meta{border-top:1px solid #e2e8f0;grid-template-columns:minmax(0,1fr) minmax(13rem,.62fr);gap:2rem;padding:0 2.25rem 2rem;display:grid}.invoice-preview-meta>div:last-child{background:#f8fafc;border-radius:1rem;padding:1rem}.invoice-preview-meta p{justify-content:space-between;gap:1rem;margin:0;display:flex}.invoice-preview-meta p+p{margin-top:.65rem}.invoice-preview-table{border-collapse:collapse;width:calc(100% - 4.5rem);margin:0 2.25rem;font-size:.88rem}.invoice-preview-table th{color:#475569;letter-spacing:.06em;text-align:left;text-transform:uppercase;border-bottom:1px solid #cbd5e1;padding:0 0 .8rem;font-size:.72rem;font-weight:700}.invoice-preview-table td{vertical-align:top;border-bottom:1px solid #f1f5f9;padding:.9rem 0}.invoice-preview-table th:not(:first-child),.invoice-preview-table td:not(:first-child){text-align:right}.invoice-preview-totals{max-width:22rem;margin:2rem 2.25rem 0 auto;padding-bottom:2.25rem}.invoice-preview-totals p{color:#475569;justify-content:space-between;gap:1.5rem;margin:0;padding:.45rem 0;font-size:.9rem;font-weight:500;display:flex}.invoice-preview-balance{border-top:1px solid #cbd5e1;color:#0f172a!important;margin-top:.5rem!important;font-size:1.2rem!important;font-weight:750!important}.invoice-preview-balance strong{color:var(--invoice-accent)}.print-invoice-notes{border-top:1px solid #e2e8f0;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:0 2.25rem;padding:1.25rem 0 2.25rem;display:grid}.print-invoice-notes h4{color:#0f172a;margin:0 0 .375rem;font-size:.85rem;font-weight:700}.print-invoice-notes p{color:#475569;margin:0;font-size:.82rem;font-weight:500;line-height:1.5}.invoice-print-document{display:none}@media (width<=640px){.invoice-preview-header,.invoice-preview-meta{padding-left:1.25rem;padding-right:1.25rem}.invoice-preview-meta{grid-template-columns:1fr}.invoice-preview-table{width:calc(100% - 2.5rem);margin-left:1.25rem;margin-right:1.25rem;font-size:.78rem}.invoice-preview-totals{margin-left:1.25rem;margin-right:1.25rem}}@media print{@page{size:A4;margin:12mm}body.invoice-printing>:not(main),body.invoice-printing>main>:not(#calculator),body.invoice-printing #calculator>:not(#invoice-generator),body.invoice-printing #invoice-generator>:not(#invoice-print-document){display:none!important}body.invoice-printing #invoice-generator{max-width:none!important;padding:0!important;display:block!important}body.invoice-printing #invoice-print-document{display:block!important}body.invoice-printing,body.invoice-printing main,body.invoice-printing #calculator{background:#fff!important;margin:0!important;padding:0!important}body.invoice-printing .print-invoice{width:100%!important;max-width:186mm!important;min-height:auto!important;box-shadow:none!important;margin:0 auto!important;overflow:visible!important}}
