*,*:before,*:after{box-sizing:border-box}.app-shell{min-height:100vh;display:flex;flex-direction:column}.site-main{flex:1;padding-top:20px!important;padding-bottom:32px!important}.site-footer{text-align:center;padding:16px;background:#f1f5f9;border-top:1px solid #E2E8F0;line-height:1.6}.site-footer a{white-space:nowrap}.hero-wrap{text-align:center;margin-bottom:20px}.hero-h1{margin-bottom:4px!important}.hero-h2{font-weight:400!important;color:#555!important;margin-bottom:8px!important}.hero-body{color:#777!important;max-width:560px;margin:0 auto!important;line-height:1.5}.hero-credit{display:block;margin-top:10px!important;color:#64748b!important}.header-portfolio-link{padding:4px 10px;border-radius:4px;border:1px solid #bfdbfe;background:#eff6ff;transition:background .15s,border-color .15s}.header-portfolio-link:hover{background:#dbeafe;border-color:#93c5fd}.ad-slot{display:flex;justify-content:center;align-items:center;margin:0 auto 20px;max-width:100%}.ad-slot--leaderboard,.ad-slot--inContent,.ad-slot--footer{min-height:90px;max-width:728px}.ad-slot--footer{margin-top:8px;margin-bottom:0}.ad-slot-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:inherit;padding:12px 16px;border:1px dashed #cbd5e1;border-radius:6px;background:#f8fafc;text-align:center}.ad-slot-label{font-size:10px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8!important}.ad-slot-size{font-size:11px!important}.workspace-ads-layout{display:grid;grid-template-columns:160px minmax(0,1fr) 160px;gap:16px;align-items:start;margin-bottom:32px}.workspace-ads-layout .workspace-wrap{margin-bottom:0}.ad-rail{position:sticky;top:16px;margin-bottom:0}.ad-slot--sidebarLeft,.ad-slot--sidebarRight{min-height:600px;width:160px;margin:0}.ad-slot--sidebarLeft .ad-slot-placeholder,.ad-slot--sidebarRight .ad-slot-placeholder{min-height:600px}@media(max-width:1100px){.workspace-ads-layout{grid-template-columns:1fr}.ad-rail{display:none}}.workspace-wrap{margin-bottom:32px}.canvas{background:#eef2f7;padding:24px 16px;border-radius:8px;border:1px solid #E2E8F0}.action-bar{background:#f1f5f9;padding:10px 16px;border-radius:0 0 8px 8px;margin-top:-4px;border:1px solid #E2E8F0;border-top:none}.download-btn{min-width:160px!important;padding:8px 24px!important;font-size:.9375rem!important}.invoice-sheet{background:#fff;max-width:816px;margin:0 auto;padding:40px 48px 48px;box-shadow:0 2px 8px #0000002e;font-size:14px;line-height:1.5;color:#333;position:relative}.sheet-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.logo-zone{width:140px;min-height:80px;border:2px dashed #ccc;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;flex-shrink:0;transition:border-color .15s,background .15s}.logo-zone:hover,.logo-zone.drag-over{border-color:#2563eb;background:#eff6ff}.logo-zone.has-logo{border-style:solid;border-color:#eee;cursor:default}.logo-label{font-size:13px;color:#999;text-align:center;padding:8px}.logo-img{max-width:120px;max-height:72px;object-fit:contain}.logo-remove{position:absolute!important;top:-6px;right:-6px;background:#fff!important;border:1px solid #ddd!important;width:22px!important;height:22px!important}.sheet-title-block{flex:1;text-align:right}.sheet-title input{color:#333!important}.sheet-meta{margin-top:8px}.meta-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:2px}.meta-label{font-size:13px;color:#777;min-width:36px;text-align:right}.meta-input{max-width:180px}.meta-date input{font-size:13px!important}.sheet-parties{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:20px}.party-heading{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#999;margin-bottom:6px}.optional-tag{font-weight:400;text-transform:none;letter-spacing:0;color:#bbb}.ship-block{margin-bottom:20px}.ship-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.ship-fields>:last-child{grid-column:1 / -1}.doc-field .MuiInputBase-root{background:#f8fbff;box-shadow:inset 0 0 0 1px #dbeafe}.doc-field .MuiInputBase-root:hover{box-shadow:inset 0 0 0 1px #93c5fd}.doc-field .MuiInputBase-root.Mui-focused,.doc-field .MuiInputBase-root:focus-within{background:#fff;box-shadow:inset 0 0 0 1px #2563eb}.doc-field-invalid .MuiInputBase-root,.field-wrap--error .MuiInputBase-root{background:#fef2f2!important;box-shadow:inset 0 0 0 1px #fca5a5!important}.line-items-note{margin:0 0 8px;font-size:12px;color:#64748b}.sheet-table{width:100%;border-collapse:collapse;margin-bottom:4px}.sheet-table th{background:#475569;color:#fff;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:8px 10px;text-align:left}.sheet-table td{padding:10px 12px;border-bottom:1px solid #eee;vertical-align:middle}.sheet-table td .doc-field .MuiInputBase-root{min-height:36px}.sheet-table td .doc-field .MuiInputBase-input{padding:8px 10px!important;font-size:14px!important}.sheet-table .col-qty{width:80px;text-align:center}.sheet-table .col-rate{width:120px}.rate-field-wrap{display:flex!important;align-items:stretch;gap:0;width:100%}.rate-field-wrap .rate-symbol{flex:0 0 25%;max-width:25%;display:flex;align-items:center;justify-content:center;margin:0;padding:0 2px;font-size:13px;color:#64748b;font-weight:500;background:#f8fafc;border-radius:4px 0 0 4px;box-shadow:inset 0 0 0 1px #dbeafe;box-sizing:border-box}.rate-field-wrap .rate-amount-input{flex:1 1 75%;min-width:0;max-width:75%}.rate-field-wrap .rate-amount-input .MuiInputBase-root{border-radius:0 4px 4px 0}.rate-field-wrap .rate-amount-input .MuiInputBase-input{padding:8px 6px!important;text-align:right}.sheet-table .col-amt{width:132px;min-width:132px;text-align:right;padding-right:20px!important;overflow:visible}.sheet-table .col-del{width:32px;text-align:center}.amount-cell{text-align:right;font-weight:500;color:#333;white-space:nowrap;overflow:visible;padding-right:4px}.add-line-btn{display:inline-flex;align-items:center;gap:4px;background:none;border:none;color:#2563eb;font-size:13px;font-weight:600;cursor:pointer;padding:6px 0 16px;font-family:inherit}.add-line-btn:hover{color:#1d4ed8}.sheet-totals{width:100%;max-width:400px;margin-left:auto;margin-bottom:20px;padding-left:8px;box-sizing:border-box}.totals-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px;padding:6px 0;font-size:14px;color:#555}.totals-label{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0}.totals-label--tax{gap:10px}.totals-amount{text-align:right;font-weight:500;color:#333;white-space:nowrap;flex-shrink:0;min-width:7.5rem;padding-right:4px}.totals-editable .inline-num{display:inline-flex;width:48px}.totals-editable .inline-num input{text-align:center;font-size:13px!important}.totals-editable .tax-input{display:inline-flex;width:80px;min-width:80px;margin-left:6px;vertical-align:middle}.totals-editable .tax-input .MuiInputBase-root{min-height:38px}.totals-editable .tax-input input{text-align:center;font-size:16px!important;font-weight:500;padding:8px 10px!important}.tax-percent-suffix{font-size:15px;font-weight:500;color:#64748b;margin-left:2px}.totals-row--discount{align-items:center}.totals-label--discount{gap:4px}.discount-switch{flex-shrink:0;margin-right:-6px!important;transform:scale(.82);transform-origin:center left}.discount-title{font-size:13px;color:#555;white-space:nowrap;flex-shrink:0}.discount-controls{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:4px;flex-shrink:0;margin-left:2px}.discount-type-select{width:40px!important;flex-shrink:0}.discount-type-select .MuiInputBase-root{min-height:28px!important;font-size:13px!important}.discount-type-select .MuiSelect-select{padding:2px 20px 2px 6px!important;font-size:13px!important;min-height:0!important}.discount-type-select .MuiSelect-icon{font-size:18px!important;right:0!important}.totals-row--discount .discount-value-input{display:inline-flex;width:42px;min-width:42px;flex-shrink:0}.totals-row--discount .discount-value-input .MuiInputBase-root{min-height:28px!important}.totals-row--discount .discount-value-input input{font-size:13px!important;padding:3px 6px!important;text-align:center}.total-final{font-size:18px;font-weight:700;color:#333;border-top:2px solid #333;margin-top:6px;padding-top:10px}.total-final .totals-label,.total-final .totals-amount{font-size:18px;font-weight:700;color:#333}.sheet-settings{display:flex;justify-content:flex-end;margin-bottom:12px;padding:12px 12px 4px 0;border-top:1px solid #eee}.sheet-settings .MuiAutocomplete-root{max-width:100%}.sheet-settings .MuiInputBase-root{padding-left:4px;padding-right:4px}.sheet-notes{margin-top:8px;color:#666;font-size:13px}.sheet-watermark{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:10px;color:#cbd5e1}.required-legend{margin:0 0 16px;padding:8px 12px;font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;line-height:1.45}.req-star{color:#2563eb;font-weight:700}.req-star--header{font-size:.85em;vertical-align:super}.field-wrap{margin-bottom:2px}.field-wrap--required .doc-field-required .MuiInputBase-root{background:#f8fbff;box-shadow:inset 0 0 0 1px #dbeafe}.field-error-msg{display:block;font-size:11px;color:#dc2626;margin-top:2px;padding-left:6px;line-height:1.3}.meta-label .req-star,.sheet-table th .req-star{color:#93c5fd;font-weight:700}.doc-field-invalid .MuiInputBase-input{color:#991b1b}.invoice-sheet.export-capture .doc-field .MuiInputBase-root,.invoice-sheet.export-capture .doc-field-invalid .MuiInputBase-root,.invoice-sheet.export-capture .field-wrap--error .MuiInputBase-root,.invoice-sheet.export-capture .field-wrap--required .doc-field-required .MuiInputBase-root{background:transparent!important;box-shadow:none!important;border:none!important}.invoice-sheet.export-capture .required-legend,.invoice-sheet.export-capture .line-items-note,.invoice-sheet.export-capture .field-error-msg,.invoice-sheet.export-capture .sheet-settings,.invoice-sheet.export-capture .logo-zone:not(:has(.logo-img)){display:none!important}.export-text{display:block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#333;padding:0;white-space:pre-wrap;line-height:1.5}.export-text--body{font-size:14px}.export-text--meta{font-size:13px;color:#333}.export-text--title{font-size:2rem;font-weight:700;text-align:right;color:#333;line-height:1.2;margin-bottom:8px}.export-text--heading{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#999;margin-bottom:6px}.export-capture .party-heading{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#999}.export-capture .amount-cell{font-size:14px;font-weight:500;color:#333}.export-capture .sheet-table td,.export-capture .sheet-table th{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.export-capture .meta-label{font-size:13px;color:#777}.features-section,.faq-section{margin-top:32px}.feature-card{background:#fff!important;border:1px solid #ddd!important}.faq-section .MuiAccordion-root{background:#fff}.kofi-float{position:fixed;bottom:24px;right:24px;z-index:1300;display:flex;align-items:center;gap:0;height:48px;min-width:48px;padding:0 14px 0 12px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;text-decoration:none;box-shadow:0 4px 14px #2563eb73;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,gap .2s ease,padding .2s ease}.kofi-float:hover{transform:translateY(-2px);box-shadow:0 6px 20px #2563eb8c;gap:6px}.kofi-float-icon{font-size:22px!important;flex-shrink:0}.kofi-float-label{font-size:.8125rem!important;font-weight:700!important;letter-spacing:.02em;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;transition:max-width .25s ease,opacity .2s ease}.kofi-float:hover .kofi-float-label{max-width:48px;opacity:1}@media(max-width:480px){.kofi-float{bottom:16px;right:16px;height:44px;min-width:44px}}@media(max-width:640px){.invoice-sheet{padding:24px 20px 40px}.sheet-header{flex-direction:column}.sheet-title-block{text-align:left;width:100%}.sheet-title input{text-align:left!important}.meta-row{justify-content:flex-start}.sheet-parties{grid-template-columns:1fr;gap:16px}.ship-fields{grid-template-columns:1fr}.sheet-totals{width:100%}}.limit-panel{margin-bottom:12px}@media print{.site-header,.site-footer,.hero-wrap,.features-section,.faq-section,.action-bar,.limit-panel,.canvas,.kofi-float,.ad-slot,.workspace-ads-layout .ad-rail{display:none!important}body{background:#fff!important}.invoice-sheet{box-shadow:none;padding:0;max-width:100%}}
