@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.390ncx5urfkfu.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.21jp631_3pja2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--primary:#b8924a;--primary-dark:#8e6f2d;--primary-subtle:#b8924a14;--primary-light:#b8924a0a;--bg:#faf8f3;--bg-secondary:#fff;--fg:#0a0e14;--fg-secondary:#4a5568;--fg-muted:#8a95a8;--border:#e8e2d4;--screen-bg:#d4cfc4}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{height:100%}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100%;color:var(--fg);background:var(--screen-bg);font-family:var(--font-geist-sans), Arial, Helvetica, sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-shell{max-width:1800px;margin:0 auto;padding:1.5rem}.app-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.app-header h1{color:var(--fg);letter-spacing:-.02em;font-size:1.35rem;font-weight:600}.btn-primary{background:var(--primary);color:#fff;border:1px solid var(--primary-dark);cursor:pointer;border-radius:8px;padding:.6rem 1.1rem;font-size:.9rem;font-weight:600;transition:background .15s}.btn-primary:hover{background:var(--primary-dark)}.builder-layout{flex-direction:column;align-items:flex-start;gap:2rem;display:flex}.invoice-form{flex-direction:column;gap:1.5rem;width:100%;max-width:860px;display:flex}.form-section{background:var(--bg-secondary);border:1px solid var(--border);border-radius:10px;padding:1.25rem 1.5rem 1.5rem}.form-section h2{letter-spacing:.18em;text-transform:uppercase;color:var(--primary-dark);margin-bottom:1rem;font-size:.72rem;font-weight:600}.field-grid{grid-template-columns:1fr;gap:1rem;display:grid}.field{flex-direction:column;gap:.35rem;display:flex}.field-narrow{max-width:220px}.field label{letter-spacing:.08em;text-transform:uppercase;color:var(--fg-secondary);font-size:.7rem;font-weight:600}.field input,.field textarea{border:1px solid var(--border);width:100%;min-width:0;color:var(--fg);background:var(--bg);border-radius:7px;padding:.55rem .7rem;font-family:inherit;font-size:.95rem;transition:border-color .15s}.field input:focus,.field textarea:focus{border-color:var(--primary);outline:none}.item-row{background:var(--bg);border:1px solid var(--border);border-radius:9px;margin-bottom:.85rem;padding:1rem}.item-row-main{grid-template-columns:minmax(0,1fr);align-items:end;gap:.75rem;min-width:0;display:grid}.item-row-main .field{min-width:0}.item-row-period{border-top:1px dashed var(--border);grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.75rem;padding-top:.75rem;display:grid}.btn-remove{color:#b04a3a;cursor:pointer;background:0 0;border:1px solid #e0c3bb;border-radius:7px;justify-self:start;padding:.55rem .9rem;font-size:.85rem;font-weight:600}.btn-remove:hover{color:#fff;background:#b04a3a}.btn-add{background:var(--bg-secondary);color:var(--primary-dark);border:1px solid var(--primary);cursor:pointer;border-radius:7px;padding:.55rem 1.1rem;font-size:.88rem;font-weight:600}.btn-add:hover{background:var(--primary);color:#fff}.preview-pane{width:100%;position:sticky;top:1rem;overflow-x:auto}@media (min-width:720px){.field-grid{grid-template-columns:1fr 1fr}.item-row-main{grid-template-columns:minmax(0,2fr) 70px 90px 110px auto}}@media (min-width:1200px){.builder-layout{flex-direction:row;align-items:flex-start}.invoice-form{width:680px;max-width:none}.preview-pane{width:auto}}.invoice-page{background:var(--bg);width:210mm;min-height:297mm;color:var(--fg);flex-direction:column;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:11pt;line-height:1.5;display:flex;position:relative;box-shadow:0 2px 16px #00000014}.page-inner{flex-direction:column;flex:1;padding:18mm 22mm;display:flex}.header{border-bottom:2px solid var(--primary);justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1.2rem;display:flex}.header-left{flex-direction:column;display:flex}.header-logo{width:auto;height:32mm;margin-bottom:.3rem}.header-title{letter-spacing:-.02em;color:var(--fg);font-family:inherit;font-size:22pt;font-weight:600;line-height:1}.header-subtitle{letter-spacing:.12em;text-transform:uppercase;color:var(--fg-muted);margin-top:.2rem;font-size:7.5pt}.header-right{text-align:right}.invoice-label{letter-spacing:.15em;text-transform:uppercase;color:var(--fg-muted);margin-bottom:.1rem;font-size:7pt}.invoice-number{color:var(--fg);font-size:16pt;font-weight:600;line-height:1.1}.invoice-status{background:var(--primary-subtle);color:var(--primary-dark);letter-spacing:.08em;text-transform:uppercase;border-radius:2px;margin-top:.3rem;padding:.2rem .5rem;font-size:7.5pt;font-weight:600;display:inline-block}.addresses{justify-content:space-between;gap:2rem;margin-bottom:1.5rem;display:flex}.address-block{flex:1}.address-label{letter-spacing:.12em;text-transform:uppercase;color:var(--fg-muted);margin-bottom:.35rem;font-size:7pt}.address-name{color:var(--fg);margin-bottom:.2rem;font-size:11pt;font-weight:600}.address-line{color:var(--fg-secondary);font-size:9pt;line-height:1.45}.address-tax{color:var(--fg-muted);margin-top:.2rem;font-size:8pt}.details{background:var(--bg);border:1px solid var(--border);border-radius:4px;gap:2rem;margin-bottom:1.5rem;padding:.8rem 1rem;display:flex}.detail-item{flex:1}.detail-label{letter-spacing:.1em;text-transform:uppercase;color:var(--fg-muted);margin-bottom:.1rem;font-size:7pt}.detail-value{color:var(--fg);font-size:10pt;font-weight:600}.items-table{border-collapse:collapse;width:100%;margin-bottom:1.2rem}.items-table th{letter-spacing:.12em;text-transform:uppercase;color:var(--fg-muted);border-bottom:1px solid var(--border);text-align:left;background:var(--primary-light);padding:.55rem .7rem;font-size:7pt;font-weight:600}.items-table th:last-child{text-align:right}.items-table td{border-bottom:1px solid var(--border);color:var(--fg-secondary);padding:.5rem .7rem;font-size:9.5pt}.items-table td:last-child{text-align:right;color:var(--fg);font-weight:600}.items-table .item-desc{color:var(--fg);font-weight:500}.items-table .item-sub{color:var(--fg-muted);font-size:8pt;font-weight:400}.totals{width:220px;margin-bottom:1.5rem;margin-left:auto}.totals-row{color:var(--fg-secondary);justify-content:space-between;padding:.25rem 0;font-size:9.5pt;display:flex}.totals-row.total{border-top:2px solid var(--primary);color:var(--fg);margin-top:.3rem;padding-top:.4rem;font-size:12pt;font-weight:700}.totals-row.total .amount{color:var(--primary-dark)}.payment-section{background:var(--primary-subtle);border-left:2px solid var(--primary);margin-bottom:1.5rem;padding:.8rem 1rem}.payment-section h3{letter-spacing:.12em;text-transform:uppercase;color:var(--primary-dark);margin-bottom:.4rem;font-size:8pt}.payment-details{color:var(--fg-secondary);flex-wrap:wrap;gap:.3rem 1.5rem;font-size:8.5pt;display:flex}.payment-details strong{color:var(--fg);font-weight:600}.payment-note{color:var(--fg-muted);margin-top:.3rem;font-size:8pt;font-style:italic}.notes{color:var(--fg-muted);border-top:1px solid var(--border);margin-top:auto;padding:.6rem 0;font-size:8.5pt;line-height:1.5}.footer{text-align:center;color:var(--fg-muted);letter-spacing:.05em;padding-top:1rem;font-size:7.5pt}.footer span{color:var(--primary);font-weight:600}.page-num{color:var(--fg-muted);font-size:7.5pt;position:absolute;bottom:10mm;right:22mm}@media screen and (max-width:720px){.invoice-page{width:100%;min-width:0}.page-inner{padding:14mm 16mm}.header{flex-direction:column;gap:.8rem}.header-right{text-align:left}.addresses{flex-direction:column;gap:1rem}.details{flex-wrap:wrap}.totals{width:100%}}@page{size:A4;margin:0}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}@media print{body{background:#fff;margin:0;padding:0;display:block}.app-header,.invoice-form{display:none!important}.app-shell{max-width:none;margin:0;padding:0}.builder-layout{gap:0;display:block}.preview-pane{width:100%;position:static;overflow:visible}.invoice-page{box-shadow:none;page-break-after:always;width:210mm;min-height:297mm;margin:0}}
