:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#18253e;--ink:#18253e;--muted:#56647b;--line:#e1e6ef;--blue:#234bcf;--blue-dark:#1839aa;--wash:#edf2ff;--surface:#fff;font-synthesis:none;background:#f7f8fc;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{min-width:300px;min-height:100vh;margin:0;font-size:14px}button,input,textarea,select{font:inherit}a{color:#1d43be;text-decoration:none}a:hover{text-decoration:underline}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:2px;outline:3px solid #83a1ff}h1,h2,p{margin:0}h1{letter-spacing:-.048em;font-size:clamp(1.75rem,1.3rem + 1.5vw,2.65rem);font-weight:650;line-height:1.1}h2{letter-spacing:-.022em;font-size:1.15rem;font-weight:650}small{font-size:.78rem}.sr-only,.skip-link:not(:focus){clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link:focus{z-index:1;background:#fff;padding:.6rem;position:absolute;top:1rem;left:1rem}.muted{color:var(--muted);line-height:1.5}.nowrap{white-space:nowrap}.app-shell{grid-template-columns:220px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;min-width:0;padding:27px 16px 16px;display:flex}.brand{width:fit-content;max-width:100%;padding:0 8px;display:block}.brand img{width:150px;max-width:100%;height:auto;display:block}.navigation{gap:5px;margin-top:40px;display:grid}.nav-link{color:#49566e;white-space:nowrap;border-radius:9px;align-items:center;gap:10px;min-height:44px;padding:9px 11px;font-weight:600;display:flex}.nav-link:hover{background:#f5f7fb;text-decoration:none}.nav-active,.nav-active:hover{--icon-fill:#edf2ff;background:var(--wash);color:#1d43be}.account{align-items:center;gap:8px;min-width:0;margin-top:auto;padding:18px 1px 0;display:flex}.account-name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:600}.account-name small{color:var(--muted);font-weight:400;display:block}.avatar{color:#1d43be;background:var(--wash);border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-weight:750;display:inline-grid}.workspace{min-width:0}.content{max-width:1540px;margin:auto;padding:36px clamp(20px,3.05vw,54px) 56px}.page-heading{justify-content:space-between;align-items:center;gap:18px;min-height:50px;margin-bottom:23px;display:flex}.title-with-status,.actions,.section-heading,.form-footer{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.section-heading,.form-footer{justify-content:space-between}.heading-label{color:var(--muted);margin-bottom:3px;font-size:.88rem}.heading-label:empty{display:none}.button{min-height:38px;color:var(--ink);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d5dce9;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 13px;font-weight:650;line-height:1.2;display:inline-flex}.button:hover{background:#f7f9ff;border-color:#b7c9f8;text-decoration:none}.button.primary{color:#fff;background:var(--blue);border-color:var(--blue)}.button.primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}.button.danger{color:#a9222b;border-color:#edc2c5}.button.danger:hover{background:#fff2f3;border-color:#de8f95}.button.small{min-height:31px;padding:5px 9px;font-size:.83rem}.button svg,.back-link svg{flex:none;width:17px;height:17px}.button:disabled{cursor:not-allowed;opacity:.5}.icon-button{color:#42516a;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.icon-button:hover{color:#1d43be;background:var(--wash)}.icon-button svg{width:17px;height:17px}.tabs{border-bottom:1px solid var(--line);gap:19px;margin-bottom:16px;display:flex}.tab{color:var(--muted);border-bottom:2px solid #0000;padding:8px 6px 10px;font-weight:650}.tab:hover{color:#1d43be;text-decoration:none}.tab-active{border-color:var(--blue);color:#1d43be}.panel{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;box-shadow:0 2px 5px #17254006}.section-panel{padding:clamp(14px,2vw,23px)}.section-panel>h2:first-child{margin-bottom:16px}.compact{max-width:730px}.filter-bar{grid-template-columns:minmax(135px,1.4fr) minmax(100px,1.1fr) minmax(95px,.8fr) minmax(80px,.63fr) repeat(2,minmax(114px,1fr)) auto;align-items:end;gap:10px;padding:16px;display:grid}.filter-status{color:#982834;margin:0 16px 12px;font-size:.85rem}[data-filter-export][aria-disabled=true]{opacity:.6;cursor:wait}label{color:#37465f;gap:6px;min-width:0;font-size:.82rem;font-weight:650;display:grid}label>small{color:var(--muted);margin-top:-3px;font-weight:400}label>input,label>select,label>textarea,.input-icon input{width:100%}input,select,textarea{min-width:0;min-height:38px;color:var(--ink);background:#fff;border:1px solid #d5dce9;border-radius:7px;padding:8px 10px;font-size:.9rem;font-weight:400}input::placeholder{color:#65748a}textarea{resize:vertical}.field-hint{color:var(--muted);margin-top:9px;font-size:.8rem;line-height:1.45}.input-icon{display:block;position:relative}.input-icon input{padding-left:33px}.input-icon svg{pointer-events:none;width:16px;height:16px;color:var(--muted);position:absolute;top:11px;left:10px}.table-scroll{overflow-x:auto}.table{border-collapse:collapse;text-align:left;width:100%}.table th,.table td{border-top:1px solid var(--line);padding:12px 15px}.table th{color:#4a5971;white-space:nowrap;background:#f8f9fc;font-size:.8rem;font-weight:650}.panel>.table-scroll:first-child thead th:first-child{border-top-left-radius:12px}.panel>.table-scroll:first-child thead th:last-child{border-top-right-radius:12px}.panel>.table-scroll:first-child thead th{border-top:0}.table td small,.settings-list small{color:var(--muted);margin-top:3px;display:block}.table tbody tr:hover{background:#fafbff}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.row-title{color:#203b83;white-space:nowrap;font-weight:700}.badge{white-space:nowrap;border-radius:6px;align-items:center;min-height:23px;padding:3px 8px;font-size:.75rem;font-weight:650;display:inline-flex}.badge-draft{color:#465776;background:#eef1f7}.badge-issued{color:#165940;background:#e6f5ec}.badge-void{color:#982834;background:#fcebed}.empty-state{border-top:1px solid var(--line);text-align:center;color:var(--muted);justify-items:center;gap:8px;padding:55px 15px;display:grid}.panel>.empty-state:first-child{border-top:0}.empty-state h2{color:var(--ink)}.empty-icon{background:var(--wash);color:#1d43be;border-radius:12px;place-items:center;width:44px;height:44px;margin-bottom:4px;display:grid}.empty-icon svg{width:23px;height:23px}.pagination{border-top:1px solid var(--line);min-height:54px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 15px;display:flex}.form-stack{gap:15px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.columns-three{grid-template-columns:repeat(3,minmax(0,1fr))}.full{grid-column:1/-1}.back-link{color:var(--muted);align-items:center;gap:5px;margin-bottom:13px;font-weight:600;display:inline-flex}.line-section .section-heading{margin-bottom:12px}.line-list{gap:10px;display:grid}.draft-line{border:1px solid var(--line);background:#f8f9fc;border-radius:9px;min-width:0;margin:0;padding:10px 11px 12px}.draft-line legend{color:#445470;padding:0 5px;font-size:.79rem;font-weight:650}.line-fields{grid-template-columns:minmax(145px,2fr) minmax(70px,.6fr) minmax(95px,.9fr) minmax(95px,.9fr) minmax(113px,1fr) minmax(80px,.8fr) auto;align-items:end;gap:10px;display:grid}.line-remove{align-self:end;margin-bottom:2px}.line-remove:hover{color:#a9222b;background:#fdecef}.catalog-picker{align-items:end;gap:7px;margin-bottom:15px;display:flex}.catalog-picker label{flex:0 450px}.catalog-picker .button{min-height:38px}.catalog-picker+.field-hint{margin:-5px 0 10px}.card-footer{margin-top:17px}.form-footer{padding:5px 0}.document-metadata{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:15px;display:grid}.document-metadata>div{overflow-wrap:anywhere;align-content:start;gap:3px;display:grid}.meta-label{color:#53627a;margin-bottom:3px;font-size:.78rem;font-weight:650;display:block}.document-table{min-width:540px}.line-copy{overflow-wrap:anywhere;width:44%}.document-summary{border-top:1px solid var(--line);justify-content:flex-end;gap:18px;display:flex}.document-summary>div{flex:1;min-width:0}.notes{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.55}.totals{gap:8px;width:min(100%,335px);margin:0;display:grid}.totals>div{justify-content:space-between;align-items:center;gap:12px;padding:3px 8px;display:flex}.totals dd{font-variant-numeric:tabular-nums;margin:0}.totals .grand-total{background:var(--wash);color:#1a3ca8;border-radius:7px;margin-top:3px;padding:11px 9px;font-weight:750}.void-panel{border:1px solid var(--line);background:#fff;border-radius:9px;max-width:570px;margin-top:22px;padding:12px 14px}.void-panel summary{color:#a9222b;cursor:pointer;font-weight:650}.void-panel form{margin-top:12px}.settings-tabs{flex-wrap:wrap;gap:0 18px}.settings-tabs .tab{align-items:center;min-height:44px;display:inline-flex}.settings-list{gap:0;margin:0 0 15px;padding:0;list-style:none;display:grid}.settings-list li{border-bottom:1px solid var(--line);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:7px;padding:8px 0;display:flex}.settings-user-actions{justify-content:flex-end}.user-edit{max-width:720px}.checkbox-label{align-items:center;gap:6px;display:flex}.checkbox-label input{width:auto;min-height:auto}.feedback{overflow-wrap:anywhere;border:1px solid;border-radius:8px;margin-bottom:15px;padding:11px 14px;line-height:1.45}.feedback ul{margin:0;padding-left:17px}.feedback-ok{color:#165940;background:#edf8f1;border-color:#bfe4cb}.feedback-error{color:#982834;background:#fff1f3;border-color:#f2c7cc}.feedback-warning{color:#6a450e;background:#fff8e9;border-color:#f6dfa8}.auth-page{place-items:center;min-height:100vh;padding:25px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:18px;width:min(100%,420px);padding:clamp(24px,5vw,42px);box-shadow:0 13px 45px #23355c13}.auth-card .brand{margin-bottom:28px;padding:0}.auth-card .brand img{width:170px}.auth-card h1{margin-bottom:23px;font-size:1.85rem}.auth-card .button{margin-top:4px}.auth-help{margin-top:18px;font-size:.87rem;display:inline-block}.payments-panel{margin-top:20px}.payment-figures{grid-template-columns:repeat(2,minmax(0,220px));gap:10px;margin:13px 0 18px;display:grid}.payment-figures>div{background:#f2f5fd;border-radius:8px;padding:10px 13px}.payment-figures dt{color:var(--muted);font-size:.82rem}.payment-figures dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:4px 0 0;font-size:1.12rem;font-weight:700}.payment-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.payment-history th,.payment-history td{vertical-align:top}.payment-reversal summary{cursor:pointer;color:#a9222b;font-weight:650}.payment-reversal form{min-width:180px;margin-top:9px}.report-tabs{white-space:nowrap;overflow-x:auto}.report-filter{flex-wrap:wrap;align-items:end;display:flex}.report-filter>label{flex:116px}.report-filter>.actions{flex:none}.report-date-range{border:0;flex:230px;gap:8px;min-width:0;max-width:100%;margin:0;padding:0;display:flex}.report-date-range legend{color:var(--muted);margin-bottom:4px;padding:0;font-size:.75rem}.report-date-range label{flex:1 1 0;min-width:0}.report-note{color:var(--muted);margin:0 16px 12px;font-size:.85rem}.report-summary{max-width:820px;margin-bottom:14px}.report-summary td,.report-summary th{min-width:100px}.report-summary tbody th{color:var(--ink);background:#f7f9ff}.report-detail td{vertical-align:top}@media (width<=1180px){.filter-bar{grid-template-columns:repeat(4,minmax(0,1fr))}.filter-bar .button{justify-self:start}.line-fields{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.line-description{grid-column:1/3}.line-remove{grid-area:2/4}}@media (width<=880px){.app-shell{grid-template-rows:auto 1fr;grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);flex-flow:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px}.brand{padding:0}.account{margin-top:0;padding:0}.navigation{flex:1 0 100%;order:1;margin-top:0;display:flex;overflow-x:auto}.nav-link{min-height:38px;padding:6px 9px}.nav-link svg{width:16px;height:16px}.content{padding-top:21px}}@media (width<=630px){.content{padding-inline:13px}.page-heading{flex-direction:column;align-items:flex-start;margin-bottom:14px}.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.filter-number{grid-column:1/-1}.account-name,.account>.avatar{display:none}.table th,.table td{padding:9px 10px}.columns-three,.line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.line-description{grid-column:1/-1}.line-remove{grid-area:auto;justify-self:end}.document-summary{flex-direction:column;align-items:flex-start}.totals{align-self:flex-end}.settings-content .form-grid,.user-edit .form-grid{grid-template-columns:1fr}.payment-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
