:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#252b30;background:#f7f8f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f0a09c;outline-offset:2px}[hidden]{display:none!important}.sidebar{width:238px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid #e6e9e7;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;margin:0 6px 65px}.brand strong{font-size:14px;letter-spacing:.19em}.brand small,.side-bottom small{display:block;font-size:9px;letter-spacing:.14em;color:#919a98;margin-top:4px}.mark{width:48px;height:39px;object-fit:contain;flex-shrink:0}.nav-label,.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:750;color:#98a19e}.nav-label{margin:0 12px 13px}.nav{border:0;text-align:left;padding:13px;border-radius:7px;background:none;color:#616c68;font-size:13px;font-weight:650}.nav span{font-size:18px;margin-right:11px}.nav.active{background:#fdf0ee;color:#c74f48}.side-bottom{margin-top:auto;border-top:1px solid #edf0ee;padding:22px 2px 0;display:flex;align-items:center;gap:10px;font-size:11px}.side-avatar{width:34px;height:34px;object-fit:contain;flex-shrink:0}.side-bottom small{letter-spacing:0;font-size:10px}.side-bottom button{margin-left:auto;border:0;background:transparent;color:#89938f;font-size:17px}main{margin-left:238px}.top-actions{display:flex;align-items:center;gap:12px}.mobile-logout{display:none;border:0;background:transparent;color:#637069;font-size:12px}.topbar{height:76px;border-bottom:1px solid #e8ebe9;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 48px;font-size:12px;color:#4c5652;font-weight:600}.crumb{color:#a8b0ad;font-size:10px;letter-spacing:.1em}.slash{margin:0 12px;color:#ccd1cf}.primary,.secondary{border-radius:7px;padding:12px 17px;font-size:12px;font-weight:700}.primary{background:#e4554e;border:1px solid #e4554e;color:#fff}.primary:hover{background:#cb4741}.secondary{background:#fff;border:1px solid #dce1de;color:#34403a}.secondary:hover{background:#f8f9f8}.content{max-width:1440px;margin:auto;padding:53px 48px 80px}.page-heading,.editor-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.eyebrow{color:#d4615a;margin:0 0 13px}h1{font-size:34px;letter-spacing:-.045em;margin:0;font-weight:700;color:#232c28}.red{color:#e4554e}.muted{color:#87918d;font-size:13px;line-height:1.5;margin:10px 0 0}.date-label{font-size:12px;color:#8a9490;padding-bottom:4px}.overview{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #e7ebe8;border-radius:9px;margin:33px 0 48px}.overview>div{padding:23px 26px;border-right:1px solid #edf0ee}.overview>div:last-child{border:0}.overview p{font-size:10px;letter-spacing:.1em;color:#949e99;font-weight:700;margin:0 0 14px}.overview strong{font-size:27px;letter-spacing:-.05em}.overview small{font-size:11px;color:#a2aaa6;margin-left:10px}.table-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:19px}.table-heading h2,.panel h2{font-size:16px;letter-spacing:-.02em;margin:0}.table-heading .muted{margin-top:5px}.search-label{border:1px solid #e0e5e2;background:#fff;border-radius:6px;display:flex;align-items:center;padding:0 12px;color:#8c9791}.search-label span{font-size:20px}.search-label input{border:0;outline:0;padding:10px 8px;width:180px;font-size:12px;background:transparent}.table-wrap{border:1px solid #e8ece9;background:#fff;border-radius:8px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:700px}th{font-size:9px;letter-spacing:.1em;color:#9aa39e;background:#fafbfa;padding:15px 20px}td{border-top:1px solid #eff1ef;padding:18px 20px;color:#6f7974;font-size:12px}td strong{color:#35413b}.invoice-link{border:0;background:transparent;color:#29352f;font-weight:700;padding:0}.invoice-link:hover{text-decoration:underline}.row-edit{border:0;background:none;font-size:17px;color:#97a19b}.status{text-transform:capitalize;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700;background:#f0f2f1;color:#79837e}.status.sent{background:#fff5df;color:#a57a24}.status.paid{background:#eaf6ed;color:#43825a}.empty{text-align:center;padding:62px 20px 70px}.empty-icon{margin:auto;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#f7efed;color:#da5b54;font-size:22px}.empty h3{font-size:15px;margin:17px 0 6px}.empty p{font-size:12px;color:#9aa39e;margin:0 0 20px}.back{border:0;background:none;padding:0;color:#7d8982;font-size:12px;font-weight:650;margin-bottom:30px}.editor-heading{margin-bottom:26px}.actions{display:flex;gap:10px}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.panel{background:#fff;border:1px solid #e5eae7;border-radius:8px;margin-bottom:18px;padding:25px}.panel-head{display:flex;gap:12px;margin-bottom:23px;align-items:start}.panel-head p{font-size:11px;color:#9aa49e;margin:6px 0 0}.step{font-size:10px;color:#db615a;background:#fcf0ee;border-radius:5px;padding:7px;font-weight:700}.fields{display:grid;gap:16px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:block;font-size:11px;font-weight:700;color:#536059}input,select,textarea{display:block;width:100%;border:1px solid #dfe5e1;border-radius:6px;background:#fff;padding:11px 12px;color:#303b35;margin-top:8px;font-size:13px}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#b5beb8}.item-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 24px;gap:14px;align-items:start;margin-bottom:16px}.remove-item{margin-top:30px;border:0;background:transparent;color:#a9b1ac;font-size:22px}.add-item{border:0;background:none;color:#d2544d;font-size:12px;font-weight:700;padding:5px 0}.summary{position:sticky;top:20px}.summary .panel-head{margin-bottom:22px}.totals{border-top:1px solid #edf0ee;margin-top:25px;padding-top:8px}.totals>div{display:flex;justify-content:space-between;padding:11px 0;font-size:12px;color:#89938d}.totals strong{color:#3b4740}.totals .grand{border-top:1px solid #edf0ee;margin-top:8px;padding-top:20px;color:#27332c;font-weight:700}.grand strong{font-size:16px}.summary-note{font-size:11px;line-height:1.6;color:#9aa49d;margin:17px 0 0}.error{color:#b33932;font-size:12px}.success{color:#43825a;font-size:12px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(100%,390px);background:#fff;border:1px solid #e5eae7;border-radius:10px;padding:40px}.login-card .mark{margin-bottom:35px}.login-card h1{font-size:30px}.login-card label{margin-top:30px}.wide{width:100%;margin-top:15px;text-align:left;display:flex;justify-content:space-between}.preview-modal{position:fixed;inset:0;z-index:5;background:#e9ecea;overflow:auto}.preview-bar{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:space-between;padding:15px 32px}.preview-bar strong{font-size:14px}.preview-bar span{display:block;font-size:11px;color:#929d97;margin-top:4px}.preview-bar button+button{margin-left:8px}.preview-scroll{padding:35px;overflow:auto}.paper{font-family:Arial,sans-serif;color:#333;background:#fff;width:210mm;min-height:297mm;margin:auto;padding:20mm 18mm;font-size:11pt;box-shadow:0 3px 20px #0002;display:flex;flex-direction:column}.paper-top{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:start}.paper-falcon{display:block;width:46mm;height:auto}.paper-name{font-size:18pt;color:#e95555;margin:7px 0 4px}.paper-brand{line-height:1.35}.paper-title{text-align:center;padding-top:15mm;font-size:16pt}.paper-number{text-align:right;padding-top:31mm;line-height:1.4}.paper span,.paper-th{color:#e13b30}.paper-meta{display:flex;justify-content:space-between;margin-top:9mm;gap:10px;line-height:1.4}.paper-meta strong{font-weight:400}.pre,.paper-description,.paper-notes,.paper-terms{white-space:pre-wrap;overflow-wrap:anywhere}.paper-dates{display:flex;gap:14px;text-align:right;white-space:nowrap}.paper-table{margin-top:5mm;border-top:1px solid #ddd}.paper-row{display:grid;grid-template-columns:1fr 24% 24%;gap:8px;padding:12px 0}.paper-row>div:not(:first-child){text-align:right}.paper-th{font-size:10pt}.paper-totals{margin:12mm 0 0 auto;width:50%}.paper-totals>div{display:flex;justify-content:space-between;border-bottom:1px solid #ddd;padding:10px 0}.paper-totals span{color:#333}.paper-footer{border-top:1px solid #ddd;margin-top:auto;padding-top:9mm;display:flex;justify-content:space-between;align-items:end;font-size:9pt;line-height:1.4}.paper-notes{margin-bottom:5mm}.paper-terms{margin-top:5mm}.website{margin-top:10mm}.paper-sign{white-space:nowrap}@media(max-width:1000px){.mobile-logout{display:block}.sidebar{width:70px;padding:25px 12px}.brand{margin:0 3px 55px}.brand>div:nth-child(2),.nav-label,.nav.active,.side-bottom>div:not(.side-avatar),.side-bottom button{font-size:0}.nav.active span{font-size:18px;margin:0}.side-avatar{width:34px}.side-bottom{justify-content:center}.side-bottom button{display:none}main{margin-left:70px}.editor-grid{grid-template-columns:1fr}.summary{position:static}.content{padding:40px 28px}.topbar{padding:0 28px}}@media(max-width:600px){.sidebar{display:none}main{margin:0}.top-actions{display:flex;align-items:center;gap:12px}.mobile-logout{display:none;border:0;background:transparent;color:#637069;font-size:12px}.topbar{height:65px;padding:0 18px}.content{padding:32px 18px}.page-heading,.editor-heading{align-items:start;flex-direction:column}.date-label{display:none}.overview{margin:25px 0 35px}.overview>div{padding:17px 12px}.overview strong{font-size:22px}.overview small{display:block;margin:6px 0 0;font-size:10px}.overview p{font-size:9px;min-height:22px}.table-heading{gap:10px}.search-label input{width:115px}.two{grid-template-columns:1fr}.item-row{grid-template-columns:minmax(0,1fr) 90px 18px;gap:8px}.panel{padding:19px}.preview-bar{padding:12px}.preview-bar span{display:none}.preview-scroll{padding:15px}.paper{transform-origin:top left}.actions{width:100%}.actions button{flex:1}}
@media print{@page{size:A4;margin:0}body{background:#fff}#app,.preview-bar{display:none!important}.preview-modal{position:static;background:#fff;overflow:visible}.preview-scroll{padding:0;overflow:visible}.paper{box-shadow:none;margin:0;min-height:297mm;width:210mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}.paper-row,.paper-footer{break-inside:avoid}}

.import-source{background:#f6f8f6;border:1px solid #e0e7e1;border-radius:6px;color:#5f6e65;font-size:12px;line-height:1.5;padding:12px 15px;overflow-wrap:anywhere}.source-tag{display:block;font-size:10px;color:#8b9690;margin-top:6px;font-weight:400}

.field-hint{display:block;margin-top:6px;color:#68756d;font-size:10px;font-weight:400;line-height:1.4}

.signing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.asset-preview{height:110px;margin-top:10px;border:1px dashed #dfe5e1;border-radius:6px;display:flex;align-items:center;justify-content:center;padding:12px;color:#89938d;font-size:11px}.asset-preview img{max-width:100%;max-height:100%;object-fit:contain}.upload-label{display:inline-block;margin-top:12px;color:#c94f48;cursor:pointer}.upload-file{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.upload-file:focus-visible + *{outline:3px solid #f0a09c}.upload-label:has(+ .upload-file:focus-visible){outline:3px solid #f0a09c;outline-offset:2px}.asset-hint{font-size:10px;color:#89938d;margin:7px 0 0}.paper-sign{text-align:center;display:flex;flex-direction:column;align-items:center;gap:3mm}.paper-sign img{width:38mm;max-height:20mm;object-fit:contain}.paper-sign img:last-child{width:40mm;max-height:22mm}@media(max-width:600px){.signing-grid{grid-template-columns:1fr}}

.workspace-actions{display:flex;align-items:center;gap:10px}.workspace-actions button{white-space:nowrap}.source-documents{font-size:12px;margin:0 0 16px}.source-documents a,.source-link{color:#b64740;margin-right:12px}.import-review{background:#fff8ec;border:1px solid #f0d9b4;border-radius:7px;padding:16px;margin-bottom:18px;color:#594931;font-size:12px;line-height:1.5}.import-review p{white-space:pre-line;margin:8px 0 12px}.import-actions{display:flex;flex-wrap:wrap;gap:8px}.import-actions .secondary{padding:8px 11px}dialog{border:1px solid #e1e7e2;border-radius:10px;padding:28px;width:min(440px,calc(100% - 32px));box-shadow:0 14px 45px #0003;color:#27332c}dialog::backdrop{background:#17221db3}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.dialog-head h2{margin:0;font-size:19px}.dialog-head p,.export-note{font-size:12px;color:#75827a;line-height:1.5;margin:8px 0 0}.dialog-close{border:0;background:none;font-size:24px;color:#7d8982}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:22px}@media(max-width:850px){.table-heading{align-items:start;gap:16px;flex-direction:column}.workspace-actions{width:100%;flex-wrap:wrap}.workspace-actions .search-label{flex:1;min-width:150px}}

.status-select{display:inline-block;width:auto;min-width:98px;margin:0;border:0;border-radius:20px;padding:6px 24px 6px 10px;font-size:10px;font-weight:700;cursor:pointer;background-color:#f0f2f1;color:#66736b}.status-select.sent{background-color:#fff5df;color:#805a0b}.status-select.paid{background-color:#eaf6ed;color:#2c6a42}.status-select:disabled{opacity:.6;cursor:wait}

.admin-panel{max-width:600px;margin-top:28px}.admin-panel .primary{margin-top:12px}.optional-label{font-weight:400;color:#89938d}@media(max-width:600px){.top-actions{gap:6px}.top-actions .secondary{padding:10px;font-size:11px}}

/* Dashboard */
.nav{display:flex;align-items:center;gap:11px;width:100%}.nav .nav-icon{font-size:18px;margin:0;width:20px;text-align:center}.nav .nav-text{font-size:13px;margin:0}.mobile-nav{display:none}
.dashboard-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:28px 0 0}.dashboard-filters>label,.dashboard-custom label{min-width:160px}.dashboard-filters select,.dashboard-filters input{min-width:160px}.dashboard-custom{display:flex;gap:14px;flex-wrap:wrap}.dashboard-context,.dashboard-footnote{font-size:11px;line-height:1.5;color:#68766e}.dashboard-context{margin:13px 0 0}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e7ebe8;border-radius:8px;margin:22px 0;overflow:hidden}.dashboard-metrics>div{padding:21px 23px;border-right:1px solid #edf0ee}.dashboard-metrics>div:last-child{border:0}.dashboard-metrics p{font-size:10px;letter-spacing:.1em;color:#75817a;font-weight:700;margin:0 0 12px}.dashboard-metrics strong{display:block;font-size:27px;letter-spacing:-.04em}.dashboard-metrics small{display:block;font-size:11px;color:#78847d;margin-top:5px}.dashboard-panel{background:#fff;border:1px solid #e5eae7;border-radius:8px;margin-bottom:18px;padding:22px}.dashboard-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:18px}.dashboard-panel-head h2{font-size:16px;margin:0;letter-spacing:-.02em}.dashboard-panel-head p{font-size:11px;color:#748179;margin:6px 0 0;line-height:1.5}.dashboard-table-wrap{overflow-x:auto}.dashboard-amount-table{min-width:900px}.dashboard-amount-table td,.dashboard-amount-table th{white-space:nowrap;padding:13px 9px}.dashboard-recent-table td,.dashboard-recent-table th{padding:13px 12px}.dashboard-footnote{margin:14px 0 0}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dashboard-grid .dashboard-panel{margin:0 0 18px}.dashboard-bars{display:grid;gap:14px}.dashboard-bar-row>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#536159;margin-bottom:6px}.dashboard-bar-row strong{color:#303c35}.dashboard-bar-row progress{display:block;width:100%;height:8px;appearance:none;border:0;background:#edf1ee;border-radius:4px;overflow:hidden}.dashboard-bar-row progress::-webkit-progress-bar{background:#edf1ee;border-radius:4px}.dashboard-bar-row progress::-webkit-progress-value{background:#dc625b;border-radius:4px}.dashboard-bar-row progress::-moz-progress-bar{background:#dc625b;border-radius:4px}.dashboard-bar-row progress.bar-paid::-webkit-progress-value{background:#528965}.dashboard-bar-row progress.bar-sent::-webkit-progress-value{background:#bd8b32}.dashboard-bar-row progress.bar-unknown::-webkit-progress-value{background:#8c9890}.dashboard-bar-row progress.bar-paid::-moz-progress-bar{background:#528965}.dashboard-bar-row progress.bar-sent::-moz-progress-bar{background:#bd8b32}.dashboard-bar-row progress.bar-unknown::-moz-progress-bar{background:#8c9890}.dashboard-list{display:grid}.dashboard-list-item{display:flex;justify-content:space-between;gap:16px;align-items:center;width:100%;padding:12px 0;border:0;border-bottom:1px solid #eef1ef;background:none;text-align:left;color:#445249;font-size:12px}.dashboard-list-item:last-child{border-bottom:0}.dashboard-list-item small{display:block;color:#76837a;margin-top:5px;line-height:1.4}.dashboard-list-value{text-align:right;white-space:nowrap}.dashboard-empty{font-size:12px;color:#75827a;line-height:1.5;margin:16px 0}.text-action{border:0;background:none;color:#bf4d47;font-size:12px;font-weight:700;white-space:nowrap;padding:0}.dashboard-recent-table .status{text-transform:capitalize}
@media(max-width:1000px){.nav{justify-content:center}.nav .nav-text{display:none}.nav .nav-icon{font-size:18px}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metrics>div:nth-child(2){border-right:0}.dashboard-metrics>div:nth-child(-n+2){border-bottom:1px solid #edf0ee}}
@media(max-width:600px){.mobile-nav{display:block}.topbar{height:auto;min-height:65px;flex-wrap:wrap;gap:10px;padding:12px 18px}.top-actions{width:100%;justify-content:flex-end}.dashboard-grid{grid-template-columns:1fr;gap:0}.dashboard-filters>label,.dashboard-custom,.dashboard-custom label{width:100%}.dashboard-metrics>div{padding:17px 15px}.dashboard-panel{padding:17px}.dashboard-panel-head{align-items:start}.dashboard-list-value{white-space:normal}}

.dashboard-scroll-hint{display:none;font-size:11px;color:#68766e;margin:0 0 10px}@media(max-width:1300px){.dashboard-scroll-hint{display:block}}

.chart-heading label{min-width:155px}.chart-heading select{margin-top:7px}.chart-legend{display:flex;gap:20px;flex-wrap:wrap;color:#536159;font-size:11px;margin-bottom:14px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:10px;height:10px;border-radius:2px}.legend-income{background:#4f8863}.legend-tax{background:#df6b60}.monthly-chart{padding:16px 0;border-top:1px solid #edf0ee}.monthly-chart h3{font-size:13px;margin:0;color:#35443b}.monthly-chart-scroll{overflow-x:auto}.monthly-chart svg{display:block;max-width:none}.chart-grid-line{stroke:#e8eeea;stroke-width:1}.chart-axis{font-size:11px;fill:#66756c;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.chart-income{fill:#4f8863}.chart-tax{fill:#df6b60}.chart-details summary{cursor:pointer;color:#b84d45;font-size:12px;font-weight:700}.chart-data-table{min-width:500px;margin-top:12px}.chart-data-table td,.chart-data-table th{padding:10px 12px}@media(max-width:600px){.chart-heading{flex-direction:column}.chart-heading label{width:100%}.chart-heading select{width:100%}.chart-legend{gap:12px}}

.chart-scroll-hint{font-size:11px;color:#68766e;margin:0 0 10px}

.checkbox-label{display:flex;align-items:center;gap:9px}.checkbox-label input{width:auto;margin:0}

.auditor-header{height:76px;background:#fff;border-bottom:1px solid #e8ebe9;display:flex;align-items:center;justify-content:space-between;padding:0 48px}.auditor-brand{display:flex;align-items:center;gap:11px}.auditor-brand strong{font-size:14px;letter-spacing:.16em}.auditor-brand small{display:block;font-size:9px;letter-spacing:.12em;color:#849188;margin-top:4px}.auditor-main{margin:0 auto;max-width:1500px;padding:45px 48px 80px}.auditor-notice{background:#fff8ec;border:1px solid #efdcbf;border-radius:7px;padding:15px 18px;margin:28px 0 18px;color:#5f513c;font-size:12px;line-height:1.5}.auditor-notice p{margin:5px 0 0}.auditor-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.auditor-filter label{min-width:160px}.auditor-table{min-width:1050px}.auditor-table th,.auditor-table td{white-space:nowrap;padding:12px}.auditor-table td:nth-child(3){white-space:normal;min-width:170px}.auditor-table .text-action{white-space:nowrap}#auditor-bill{width:min(760px,calc(100% - 32px));max-height:90vh}.bill-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bill-facts div{min-width:0}.bill-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#738078}.bill-facts dd{margin:5px 0 0;color:#2d3932;font-size:13px;overflow-wrap:anywhere}#bill-content h3{font-size:14px;margin:24px 0 10px}.bill-items{min-width:500px}.bill-items td,.bill-items th{padding:10px}.auditor-description{white-space:pre-wrap;font-size:12px;line-height:1.5}.auditor-documents a{display:block;margin:8px 0;overflow-wrap:anywhere}@media(max-width:600px){.auditor-header{padding:0 18px}.auditor-main{padding:32px 18px 60px}.auditor-filter label{width:100%}.bill-facts{grid-template-columns:1fr}}
