@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--primary: #f97316;--primary-dark: #c2410c;--primary-light: #ffedd5;--success: #10b981;--danger: #ef4444;--text-primary: #111827;--text-muted: #9ca3af;--bg-body: #f0f4f8;--border-color: #e5e7eb;--navbar-height: 64px;--radius: .5rem;--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .06)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1.25rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.8125rem;font-weight:500;line-height:1.5;border-radius:.75rem;border:1.5px solid transparent;cursor:pointer;white-space:nowrap;text-decoration:none;transition:all .2s ease;position:relative;overflow:hidden}.btn:focus-visible{outline:2px solid #f97316;outline-offset:2px}.btn:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}.btn svg{width:16px;height:16px;flex-shrink:0}.btn-xs{padding:.25rem .75rem;font-size:.6875rem;border-radius:.375rem}.btn-sm{padding:.5rem 1rem;font-size:.6875rem}.btn-lg{padding:.75rem 1.5rem;font-size:.9375rem}.btn-icon{padding:.5rem;border-radius:.5rem;width:36px;height:36px}.btn-icon svg{width:18px;height:18px}.btn-primary{background:linear-gradient(135deg,#fdba74,#fb923c 55%,#f97316);color:#fff;box-shadow:0 4px 14px #f9731661}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#fb923c,#f97316 55%,#ea580c);box-shadow:0 6px 20px #f9731680;transform:translateY(-1px)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-secondary{background:#fff;color:#111827;border-color:#e5e7eb;box-shadow:0 1px 2px #0000000d}.btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.btn-outline-primary{background:transparent;color:#f97316;border-color:#f97316}.btn-outline-primary:hover:not(:disabled){background:linear-gradient(135deg,#fff7ed,#ffedd5);box-shadow:0 0 0 3px #f973161a}.btn-ghost{background:transparent;color:#6b7280;border-color:transparent}.btn-ghost:hover:not(:disabled){background:#f3f4f6;color:#111827}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#ec1e1e;box-shadow:0 4px 12px #ef444459;transform:translateY(-1px)}.btn-outline-danger{background:transparent;color:#ef4444;border-color:#ef444466}.btn-outline-danger:hover:not(:disabled){background:#ef44440f;border-color:#ef4444}.btn-success{background:#10b981;color:#fff}.btn-success:hover:not(:disabled){background:#0d9367;transform:translateY(-1px)}.btn-block{width:100%}.form-group{display:flex;flex-direction:column;gap:.25rem}.form-group.form-row{flex-direction:row;gap:1rem}.form-group.form-row>*{flex:1}.form-label{font-size:.6875rem;font-weight:500;color:#4b5563;letter-spacing:.02em}.form-label .required{color:#ef4444;margin-left:2px}.form-control{width:100%;padding:.5rem .75rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.8125rem;color:#111827;background:#fff;border:1.5px solid #e5e7eb;border-radius:.5rem;outline:none;transition:border-color .12s ease,box-shadow .12s ease;appearance:none}.form-control::placeholder{color:#9ca3af}.form-control:hover{border-color:#d1d5db}.form-control:focus{border-color:#f97316;box-shadow:0 0 0 3px #f973161f}.form-control:disabled{background:#f9fafb;cursor:not-allowed;opacity:.7}.form-control-sm{width:100%;padding:.5rem .75rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.8125rem;color:#111827;background:#fff;border:1.5px solid #e5e7eb;border-radius:.5rem;outline:none;transition:border-color .12s ease,box-shadow .12s ease;appearance:none}.form-control-sm::placeholder{color:#9ca3af}.form-control-sm:hover{border-color:#d1d5db}.form-control-sm:focus{border-color:#f97316;box-shadow:0 0 0 3px #f973161f}.form-control-sm:disabled{background:#f9fafb;cursor:not-allowed;opacity:.7}.form-control-sm{padding:.25rem .5rem;font-size:.6875rem}textarea.form-control{resize:vertical;min-height:80px;line-height:1.6}.input-group{display:flex;align-items:stretch}.input-group .input-prefix,.input-group .input-suffix{display:flex;align-items:center;justify-content:center;padding:0 .75rem;background:#f9fafb;border:1.5px solid #e5e7eb;color:#6b7280;font-size:.8125rem;white-space:nowrap}.input-group .input-prefix{border-right:none;border-radius:.5rem 0 0 .5rem}.input-group .input-suffix{border-left:none;border-radius:0 .5rem .5rem 0}.input-group .form-control{flex:1}.input-group .form-control:not(:first-child){border-radius:0}.input-group .form-control:not(:last-child){border-radius:0}.input-group .form-control:first-child{border-radius:.5rem 0 0 .5rem}.input-group .form-control:last-child{border-radius:0 .5rem .5rem 0}.form-control.is-invalid{border-color:#ef4444}.form-control.is-invalid:focus{box-shadow:0 0 0 3px #ef44441f}.form-control.is-valid{border-color:#10b981}.form-control.is-valid:focus{box-shadow:0 0 0 3px #10b9811f}.form-error{font-size:.6875rem;color:#ef4444;display:flex;align-items:center;gap:.25rem}.form-hint{font-size:.6875rem;color:#9ca3af}.form-section{display:flex;flex-direction:column;gap:1rem}.form-section+.form-section{padding-top:1.5rem;border-top:1px solid #e5e7eb;margin-top:.5rem}.form-section .form-section-title{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;display:flex;align-items:center;gap:.5rem}.form-section .form-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media(min-width:576px){.form-section .form-grid{grid-template-columns:1fr 1fr}}@media(min-width:768px){.form-section .form-grid.grid-3{grid-template-columns:1fr 1fr 1fr}}@media(min-width:576px){.form-section .form-grid .col-span-2{grid-column:span 2}}.app-shell{min-height:100vh;display:flex;flex-direction:column;background:#f0f4f8}.app-content{flex:1;padding-top:64px}.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;height:64px;background:#fffffff2;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(229,231,235,.8);box-shadow:0 1px #0000000a;display:flex;align-items:center;justify-content:space-between;padding:0 1rem}@media(min-width:992px){.navbar{padding:0 2rem}}.navbar .navbar-brand{display:flex;align-items:center;justify-content:flex-start;gap:.75rem;text-decoration:none}.navbar .navbar-brand .brand-logo{width:36px;height:36px;border-radius:.75rem;background:linear-gradient(135deg,#fdba74,#fb923c 55%,#f97316);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #f9731661;flex-shrink:0}.navbar .navbar-brand .brand-logo svg{width:20px;height:20px;color:#fff}.navbar .navbar-brand .brand-text .brand-name{font-size:.9375rem;font-weight:700;color:#111827;line-height:1.2}.navbar .navbar-brand .brand-text .brand-tag{font-size:.6875rem;color:#9ca3af;font-weight:400}.navbar .navbar-nav{display:flex;align-items:center;justify-content:flex-start;gap:.25rem;list-style:none;margin:0;padding:0;display:none}@media(min-width:768px){.navbar .navbar-nav{display:flex}}.navbar .navbar-nav a{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem .75rem;font-size:.8125rem;font-weight:500;color:#6b7280;border-radius:.5rem;text-decoration:none;transition:all .12s ease}.navbar .navbar-nav a svg{width:16px;height:16px}.navbar .navbar-nav a:hover{color:#111827;background:#f3f4f6}.navbar .navbar-nav a.active{color:#c2410c;background:linear-gradient(135deg,#fff7ed,#ffedd5);font-weight:600}.navbar .navbar-actions{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.page-container{max-width:1400px;margin:0 auto;padding:1.5rem 1rem}@media(min-width:992px){.page-container{padding:2rem 1.5rem}}.invoice-workspace{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:start}@media(min-width:1200px){.invoice-workspace{grid-template-columns:1fr 520px;gap:2rem}}.invoice-workspace .workspace-editor{display:flex;flex-direction:column;gap:1.25rem;min-width:0}.invoice-workspace .workspace-preview{display:flex;flex-direction:column;gap:1rem}@media(min-width:1200px){.invoice-workspace .workspace-preview{position:sticky;top:calc(64px + 1.5rem)}}.card{background:#fff;border-radius:1rem;box-shadow:0 4px 6px -1px #00000014,0 2px 4px -2px #0000000f;border:1px solid rgba(229,231,235,.7);padding:1.5rem}.card-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:1.25rem;margin-bottom:1.25rem;border-bottom:1px solid #e5e7eb}.card-header .card-title{font-size:1.0625rem;font-weight:600;color:#111827;display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.card-header .card-title .title-icon{width:32px;height:32px;border-radius:.5rem;background:linear-gradient(135deg,#fff7ed,#ffedd5);display:flex;align-items:center;justify-content:center;flex-shrink:0}.card-header .card-title .title-icon svg{width:16px;height:16px;color:#c2410c}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.75rem;padding:2.5rem;text-align:center;color:#9ca3af}.empty-state svg{width:40px;height:40px;opacity:.4}.empty-state h4{font-size:.9375rem;color:#6b7280;margin:0}.empty-state p{font-size:.8125rem;margin:0}.badge{display:inline-flex;align-items:center;padding:2px .5rem;font-size:.6875rem;font-weight:500;border-radius:100px}.badge.badge-primary{background:linear-gradient(135deg,#fff7ed,#ffedd5);color:#c2410c}.badge.badge-success{background:#10b9811f;color:#0c8a60}.badge.badge-warning{background:#eab3081f;color:#a07a05}.divider{height:1px;background:#e5e7eb;margin:1.25rem 0}.alert{display:flex;align-items:center;justify-content:flex-start;gap:.75rem;padding:.75rem 1rem;border-radius:.75rem;font-size:.8125rem;font-weight:500}.alert.alert-success{background:#10b9811a;color:#0b815a;border:1px solid rgba(16,185,129,.2)}.alert.alert-danger{background:#ef444414;color:#ec1e1e;border:1px solid rgba(239,68,68,.18)}.alert.alert-info{background:linear-gradient(135deg,#fff7ed,#ffedd5);color:#c2410c;border:1px solid rgba(249,115,22,.2)}.settings-header{margin-bottom:2rem}.settings-header h1{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 .5rem}.settings-header p{color:#6b7280;font-size:.8125rem;margin:0}.settings-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}@media(min-width:992px){.settings-grid{grid-template-columns:1fr 1fr}}.invoice-preview-shell{background:#f0f4f8}.invoice-preview-shell .preview-title-bar{display:flex;align-items:center;justify-content:space-between;padding:0 0 1rem}.invoice-preview-shell .preview-title-bar h3{font-size:.8125rem;font-weight:600;color:#6b7280;margin:0;text-transform:uppercase;letter-spacing:.06em}.invoice-preview-shell .preview-title-bar .preview-actions{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.invoice-doc{background:#fff;border-radius:0;box-shadow:0 20px 25px -5px #00000014,0 8px 10px -6px #0000000a;border:1px solid #e5e7eb;padding:44px 52px;max-width:794px;margin:0 auto;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;line-height:1.5;color:#374151}.invoice-doc .inv-top-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:20px}.invoice-doc .inv-top-header .inv-from{flex:1;min-width:0}.invoice-doc .inv-top-header .inv-from .inv-company-logo{max-width:120px;max-height:48px;object-fit:contain;margin-bottom:.5rem;display:block}.invoice-doc .inv-top-header .inv-from .inv-company-name{font-size:15px;font-weight:700;color:#111827;margin-bottom:4px}.invoice-doc .inv-top-header .inv-from .inv-company-meta{font-size:11px;color:#6b7280;line-height:1.7}.invoice-doc .inv-top-header .inv-from .inv-company-meta span{display:block}.invoice-doc .inv-top-header .inv-ref{text-align:right;flex-shrink:0}.invoice-doc .inv-top-header .inv-ref .inv-heading{font-size:28px;font-weight:300;color:#1f2937;letter-spacing:.08em;line-height:1;margin-bottom:8px}.invoice-doc .inv-top-header .inv-ref .inv-ref-number{font-size:14px;font-weight:600;color:#374151;letter-spacing:.02em}.invoice-doc .inv-top-header .inv-ref .inv-ref-date{font-size:12px;color:#6b7280;margin-top:4px}.invoice-doc .inv-hr{height:1px;background:#e5e7eb;margin-bottom:28px}.invoice-doc .inv-parties{display:flex;gap:36px;margin-bottom:32px;flex-wrap:wrap}.invoice-doc .inv-parties .inv-party{min-width:0}.invoice-doc .inv-parties .inv-party.inv-bill-to,.invoice-doc .inv-parties .inv-party.inv-ship-to{flex:2;min-width:160px}.invoice-doc .inv-parties .inv-party.inv-payment{flex:1;min-width:120px}.invoice-doc .inv-parties .inv-party-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#9ca3af;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #f3f4f6}.invoice-doc .inv-parties .inv-party-name{font-size:13px;font-weight:600;color:#111827;margin-bottom:4px}.invoice-doc .inv-parties .inv-party-meta{font-size:11.5px;color:#6b7280;line-height:1.75}.invoice-doc .inv-parties .inv-party-meta span{display:block;white-space:pre-line}.invoice-doc .inv-parties .inv-due-line{font-size:12px;color:#4b5563;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}.invoice-doc .inv-parties .inv-due-line .inv-due-key{color:#9ca3af}.invoice-doc .inv-parties .inv-due-line .inv-due-val{font-weight:600;color:#1f2937}.invoice-doc .inv-table{width:100%;border-collapse:collapse;margin-bottom:8px}.invoice-doc .inv-table thead tr{border-top:1px solid #d1d5db;border-bottom:1px solid #d1d5db}.invoice-doc .inv-table thead tr th{padding:9px 12px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#6b7280;text-align:left;background:transparent}.invoice-doc .inv-table thead tr th.text-right{text-align:right}.invoice-doc .inv-table thead tr th.text-center{text-align:center}.invoice-doc .inv-table thead tr th:first-child{padding-left:0}.invoice-doc .inv-table thead tr th:last-child{padding-right:0}.invoice-doc .inv-table tbody tr{border-bottom:1px solid #f3f4f6}.invoice-doc .inv-table tbody tr:last-child{border-bottom:1px solid #e5e7eb}.invoice-doc .inv-table tbody tr td{padding:13px 12px;font-size:12.5px;color:#374151;vertical-align:top}.invoice-doc .inv-table tbody tr td:first-child{padding-left:0}.invoice-doc .inv-table tbody tr td:last-child{padding-right:0}.invoice-doc .inv-table tbody tr td.text-right{text-align:right}.invoice-doc .inv-table tbody tr td.text-center{text-align:center}.invoice-doc .inv-table tbody tr td.item-desc{color:#111827;font-weight:500}.invoice-doc .inv-table tbody tr td.item-total{font-weight:600;color:#1f2937}.invoice-doc .inv-table .col-desc{width:auto}.invoice-doc .inv-table .col-qty{width:80px}.invoice-doc .inv-table .col-price,.invoice-doc .inv-table .col-total{width:100px}.invoice-doc .inv-totals{display:flex;justify-content:flex-end;margin-bottom:36px}.invoice-doc .inv-totals .totals-inner{width:260px}.invoice-doc .inv-totals .totals-inner .total-row{display:flex;justify-content:space-between;align-items:baseline;padding:5px 0;font-size:12.5px}.invoice-doc .inv-totals .totals-inner .total-row .t-label{color:#6b7280}.invoice-doc .inv-totals .totals-inner .total-row .t-value{color:#374151;font-weight:500}.invoice-doc .inv-totals .totals-inner .total-row.total-grand{border-top:2px solid #1f2937;margin-top:6px;padding-top:10px}.invoice-doc .inv-totals .totals-inner .total-row.total-grand .t-label{font-size:14px;font-weight:700;color:#111827}.invoice-doc .inv-totals .totals-inner .total-row.total-grand .t-value{font-size:15px;font-weight:700;color:#111827}.invoice-doc .inv-notes-section{margin-bottom:28px}.invoice-doc .inv-notes-section .inv-section-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#9ca3af;margin-bottom:8px}.invoice-doc .inv-notes-section .inv-notes-body{font-size:12px;color:#4b5563;line-height:1.75;white-space:pre-line}.invoice-doc .inv-bottom-row{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-top:32px;padding-top:20px;border-top:1px solid #f3f4f6;flex-wrap:wrap}.invoice-doc .inv-bottom-row.no-signature{justify-content:center}.invoice-doc .inv-bottom-row .inv-footer-text{font-size:12px;color:#9ca3af;font-style:italic;align-self:flex-end}.invoice-doc .inv-bottom-row .inv-signature{text-align:center;min-width:180px;max-width:220px}.invoice-doc .inv-bottom-row .inv-signature .inv-sig-img{max-width:180px;max-height:56px;object-fit:contain;display:block;margin:0 auto 4px}.invoice-doc .inv-bottom-row .inv-signature .inv-sig-placeholder{height:48px}.invoice-doc .inv-bottom-row .inv-signature .inv-sig-line{border-top:1px solid #9ca3af;margin-bottom:6px}.invoice-doc .inv-bottom-row .inv-signature .inv-sig-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#9ca3af}.invoice-doc .inv-bottom-row .inv-signature .inv-sig-name{font-size:11px;color:#4b5563;margin-top:3px}.placeholder-text{color:#d1d5db;font-style:italic}.items-editor .items-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.items-editor .section-title{font-size:.9375rem;font-weight:600;color:#111827;display:flex;align-items:center;justify-content:flex-start;gap:.5rem;margin:0}.items-editor .section-title .title-icon{width:28px;height:28px;border-radius:.5rem;background:linear-gradient(135deg,#fff7ed,#ffedd5);display:flex;align-items:center;justify-content:center;flex-shrink:0}.items-editor .section-title .title-icon svg{width:14px;height:14px;color:#c2410c}.items-editor .items-table-wrapper{overflow-x:auto;border-radius:.75rem;border:1px solid #e5e7eb}.items-editor table.items-table{width:100%;border-collapse:collapse;min-width:540px}.items-editor table.items-table thead tr{background:#f9fafb;border-bottom:1px solid #e5e7eb}.items-editor table.items-table thead tr th{padding:.5rem .75rem;font-size:.6875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;text-align:left;white-space:nowrap}.items-editor table.items-table thead tr th.th-right{text-align:right}.items-editor table.items-table thead tr th.th-center{text-align:center}.items-editor table.items-table tbody tr{border-bottom:1px solid #f3f4f6}.items-editor table.items-table tbody tr:last-child{border-bottom:none}.items-editor table.items-table tbody tr:hover{background:#f9fafb}.items-editor table.items-table tbody tr td{padding:.5rem .75rem;vertical-align:middle}.items-editor table.items-table tbody tr td input.td-input{width:100%;padding:.5rem .75rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.8125rem;color:#111827;background:#fff;border:1.5px solid #e5e7eb;border-radius:.5rem;outline:none;transition:border-color .12s ease,box-shadow .12s ease;appearance:none}.items-editor table.items-table tbody tr td input.td-input::placeholder{color:#9ca3af}.items-editor table.items-table tbody tr td input.td-input:hover{border-color:#d1d5db}.items-editor table.items-table tbody tr td input.td-input:focus{border-color:#f97316;box-shadow:0 0 0 3px #f973161f}.items-editor table.items-table tbody tr td input.td-input:disabled{background:#f9fafb;cursor:not-allowed;opacity:.7}.items-editor table.items-table tbody tr td input.td-input{min-width:0}.items-editor table.items-table tbody tr td.td-total{font-size:.8125rem;font-weight:600;color:#111827;white-space:nowrap;text-align:right}.items-editor table.items-table tbody tr td.td-action{text-align:center;width:40px}.items-editor table.items-table tbody tr .col-desc{min-width:180px}.items-editor table.items-table tbody tr .col-qty{width:80px}.items-editor table.items-table tbody tr .col-price{width:120px}.items-editor table.items-table tbody tr .col-total{width:110px}.items-editor table.items-table tbody tr .col-del{width:40px}.items-editor .items-footer{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f9fafb;border:1px solid #e5e7eb;border-top:none;border-radius:0 0 .75rem .75rem}.btn-del{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:.5rem;background:transparent;border:1px solid transparent;color:#9ca3af;cursor:pointer;transition:all .12s ease}.btn-del:hover{background:#ef444414;border-color:#ef444433;color:#ef4444}.btn-del svg{width:14px;height:14px}.totals-summary{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.25rem;margin-top:1rem}.totals-summary .totals-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;font-size:.8125rem;color:#6b7280;border-bottom:1px solid #f3f4f6}.totals-summary .totals-row:last-child{border-bottom:none}.totals-summary .totals-row .totals-value{font-weight:500;color:#111827}.totals-summary .totals-row.grand-total{padding-top:.75rem}.totals-summary .totals-row.grand-total .totals-label{font-size:.9375rem;font-weight:700;color:#111827}.totals-summary .totals-row.grand-total .totals-value{font-size:1.0625rem;font-weight:700;color:#f97316}.logo-upload{display:flex;align-items:center;justify-content:center;gap:.75rem;border:2px dashed #e5e7eb;border-radius:.5rem;padding:1rem 1.25rem;cursor:pointer;background:#f9fafb;color:#9ca3af;font-size:.8125rem;transition:all .2s ease}.logo-upload .logo-drop-zone{border-radius:.75rem;padding:1.25rem 1rem;text-align:center;cursor:pointer;transition:all .2s ease;background:#f9fafb}.logo-upload .logo-drop-zone:hover,.logo-upload .logo-drop-zone.drag-over{border-color:#f97316;background:linear-gradient(135deg,#fff7ed,#ffedd5)}.logo-upload .logo-drop-zone p{font-size:.8125rem;color:#9ca3af;margin:.5rem 0 0}.logo-upload .logo-preview{position:relative;display:inline-block}.logo-upload .logo-preview img{max-width:180px;max-height:80px;object-fit:contain;border-radius:.5rem;border:1px solid #e5e7eb;background:#fff;padding:.5rem}.logo-upload .logo-preview .logo-remove{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;background:#ef4444;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;font-weight:700;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.logo-upload .logo-preview .logo-remove:hover{background:#eb1515}@media print{@page{size:A4 portrait;margin:10mm 14mm 14mm}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color-adjust:exact!important}body{background:#fff!important;font-size:11pt}.navbar,.workspace-editor,.preview-title-bar,.preview-actions,.no-print,.mobile-view-toggle,.mobile-actions,.inv-page-header{display:none!important}.mobile-hidden{display:block!important}.app-content{padding-top:0!important}.page-container{padding:0!important;max-width:100%!important}.invoice-workspace{display:block!important}.workspace-preview{position:static!important;width:100%!important}.invoice-preview-shell{background:#fff!important}.invoice-doc{box-shadow:none!important;border:none!important;padding:0!important;max-width:100%!important;margin:0!important;border-radius:0!important}}*,*:before,*:after{box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.9375rem;font-weight:400;line-height:1.6;color:#111827;background:#f0f4f8;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.25;color:#111827}p{margin:0}ul,ol{padding:0;margin:0;list-style:none}a{color:#f97316;text-decoration:none}img{max-width:100%;display:block}input,textarea,select,button{font-family:inherit}button{cursor:pointer;border:none;background:none;padding:0}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}::selection{background:#f9731633;color:#111827}.text-muted{color:#9ca3af}.text-secondary{color:#6b7280}.text-primary-c{color:#f97316}.text-success{color:#10b981}.text-danger{color:#ef4444}.text-right{text-align:right}.text-center{text-align:center}.fw-medium{font-weight:500}.fw-semibold{font-weight:600}.fw-bold{font-weight:700}.d-flex{display:flex}.align-center{align-items:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mb-4{margin-bottom:1rem}.w-full{width:100%}.flex-1{flex:1}.min-w-0{min-width:0}.overflow-hidden{overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
