:root{color:#17313d;background:#f5f8fa;font-family:Segoe UI Variable,Segoe UI,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0784a2;outline-offset:2px}.history-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid #cddce1}.history-tabs button{padding:10px 14px;border:0;border-bottom:3px solid transparent;color:#536970;background:transparent;font-weight:700}.history-tabs button.active{border-bottom-color:#087d83;color:#15535b}.history-message{margin-bottom:18px;padding:12px 15px;border-radius:9px;background:#fff}.success-message{color:#24644b;background:#edf8f1}.history-toolbar{display:flex;align-items:flex-end;gap:16px;margin-bottom:22px}.history-search{flex:1;max-width:420px}.history-month{width:220px;margin:0}.history-payment-filter{display:inline-flex;padding:3px;border:1px solid #9fb7bf;border-radius:9px;background:#fff}.history-payment-filter button{min-height:36px;padding:7px 11px;border:0;border-radius:6px;color:#536970;background:transparent;font-weight:700}.history-payment-filter button.selected{color:#15535b;background:#e4f2f3}.history-show-more{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0 24px}.history-show-more span{color:#61757d;font-size:.9rem}.customer-history-header{align-items:flex-end}.customer-history-year{width:150px;margin:0}.customer-history-year select{width:100%;min-height:44px;padding:8px 10px;border:1px solid #9fb7bf;border-radius:7px;background:#fff}.customer-history-identity,.customer-history-summary,.customer-history-table-wrap{margin-bottom:20px;border:1px solid #d2e0e4;border-radius:14px;background:#fff;box-shadow:0 8px 24px #1e48560f}.customer-history-identity{padding:18px 22px}.customer-history-identity h2,.customer-history-identity p{margin:0}.customer-history-identity p{margin-top:5px;color:#61757d;white-space:pre-line}.customer-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.customer-history-summary>div{display:flex;min-width:0;flex-direction:column;gap:7px;padding:20px 22px;border-right:1px solid #e0e9ec}.customer-history-summary>div:last-child{border-right:0}.customer-history-summary span,.customer-history-rule{color:#61757d}.customer-history-summary strong{font-size:1.45rem;font-variant-numeric:tabular-nums}.customer-history-rule{margin:-8px 0 20px;font-size:.9rem}.customer-history-actions{display:flex;justify-content:flex-end;margin-bottom:18px}.customer-history-table-wrap{overflow-x:auto}.customer-history-table{width:100%;border-collapse:collapse}.customer-history-table th,.customer-history-table td{padding:13px 14px;border-bottom:1px solid #edf2f4;text-align:left;vertical-align:top}.customer-history-table th{color:#536970;font-size:.8rem}.customer-history-table tr:last-child td{border-bottom:0}.history-correction-detail,.history-paid-date{display:block;margin-top:4px;color:#61757d;white-space:nowrap}.history-month select,.year-field select{width:100%;min-height:44px;padding:8px 10px;border:1px solid #9fb7bf;border-radius:7px;color:#17313d;background:#fff}.history-batch,.year-summary,.backup-card{margin-bottom:20px;border:1px solid #d2e0e4;border-radius:14px;background:#fff;box-shadow:0 8px 24px #1e48560f}.history-batch>header,.year-summary>header,.backup-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.history-batch>header,.year-summary>header{padding:19px 22px}.history-batch h2,.year-summary h2,.backup-card h2{margin:0 0 4px;font-size:1.25rem}.history-batch header p,.year-summary header p,.backup-card p{margin:0;color:#61757d;font-size:.9rem}.history-invoice-list{border-top:1px solid #e0e9ec}.history-invoice-row{display:grid;grid-template-areas:"customer amount status" "customer actions actions";grid-template-columns:minmax(240px,1fr) max-content minmax(112px,max-content);align-items:start;gap:11px 20px;padding:15px 22px;border-bottom:1px solid #edf2f4}.history-invoice-row:last-child{border-bottom:0}.history-invoice-row.corrected{background:#f5f6f6}.history-customer{grid-area:customer;display:flex;min-width:0;flex-direction:column;gap:3px}.history-customer span,.history-customer small,.paid-state small{overflow:hidden;color:#61757d;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.history-amount{font-variant-numeric:tabular-nums}.history-amount-region{grid-area:amount;padding-top:3px;text-align:right}.paid-state{grid-area:status;display:flex;align-items:flex-start;flex-direction:column;gap:4px}.paid-badge{padding:3px 9px;border-radius:999px;color:#236044;background:#dff3e7;font-size:.78rem;font-weight:750}.not-paid{padding:3px 9px;border:1px solid #bccace;border-radius:999px;color:#65767c;background:#fff;font-size:.82rem;font-weight:650}.corrected-note,.replacement-note{width:fit-content;margin-top:3px;color:#7a6133!important;font-weight:700;white-space:normal!important}.corrected-badge{padding:3px 9px;border-radius:999px;color:#625a4a;background:#e8e5de;font-size:.78rem;font-weight:750}.history-actions,.backup-actions,.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.history-actions{grid-area:actions;flex-wrap:wrap}.history-actions button{flex:0 0 auto;white-space:nowrap}.compact-button{min-height:36px;padding:7px 11px}.history-empty{padding:45px 24px;border:1px solid #d2e0e4;border-radius:14px;color:#61757d;background:#fff;text-align:center}.history-empty h2,.history-empty h3{margin:0 0 7px;color:#29424c}.history-empty p{margin:0}.year-field{width:130px;margin:0}.summary-table{border-top:1px solid #e0e9ec}.summary-table-heading,.summary-table-row{display:grid;grid-template-columns:minmax(200px,1fr) repeat(3,minmax(130px,.7fr));gap:18px;padding:13px 22px}.summary-table-heading{color:#61757d;background:#f8fafb;font-size:.78rem;font-weight:750}.summary-table-row{border-top:1px solid #edf2f4}.summary-table-heading>:last-child,.summary-table-row>:last-child{text-align:right}.total-collected,.summary-totals{display:flex;align-items:baseline;justify-content:flex-end;gap:24px;padding:20px 22px;border-top:2px solid #bfd5d8;color:#164d51}.summary-period-controls{display:flex;align-items:flex-end;gap:12px}.summary-totals{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 22px;border-top:2px solid #bfd5d8}.summary-totals>div{display:flex;flex-direction:column;gap:4px}.summary-totals>div:nth-child(2){color:#164d51;text-align:center}.summary-totals>div:last-child{text-align:right}.summary-totals strong{font-size:1.28rem;font-variant-numeric:tabular-nums}.total-collected span{font-weight:700}.total-collected strong{font-size:1.45rem;font-variant-numeric:tabular-nums}.backup-card{margin-top:32px;padding:20px 22px;box-shadow:none}.backup-card .backup-on{margin-bottom:5px;color:#236044;font-weight:750}.backup-card .backup-off{margin-bottom:5px;color:#6a6255;font-weight:750}.backup-needed{color:#7a5d22;font-weight:700}.historical-corrected-batch{border-color:#dbcfae}.corrected-batch-note{margin:0 0 14px;padding:10px 12px;border-radius:8px;color:#66552c;background:#fff9e9}.current-correction-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:5px}.dialog-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:#122a327a}.paid-dialog{width:min(100%,430px);padding:26px;border-radius:14px;background:#fff;box-shadow:0 22px 65px #09202847}.correction-dialog{width:min(100%,650px);max-height:calc(100vh - 48px);overflow-y:auto;padding:26px;border-radius:14px;background:#fff;box-shadow:0 22px 65px #09202847}.correction-dialog>h2{margin-top:0}.correction-dialog>p{color:#536970;line-height:1.5}.correction-location{display:grid;grid-template-columns:minmax(0,1fr) 100px 130px;gap:12px}.correction-business-details{margin:20px 0;padding:17px;border:1px solid #d2e0e4;border-radius:10px;background:#f8fafb}.correction-business-details h3{margin:0 0 8px}.correction-business-details>p{margin:0 0 14px;color:#536970;line-height:1.5}.correction-detail-options{display:grid;gap:9px;margin-bottom:12px}.correction-detail-options label{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid #d2e0e4;border-radius:8px;background:#fff}.correction-detail-options input{margin-top:3px}.correction-detail-options label>span{display:grid;gap:3px}.correction-detail-options strong{font-weight:750}.correction-detail-options small{color:#536970;font-size:.84rem;font-weight:450;line-height:1.4}.correction-business-question{font-weight:750}.correction-change-summary{margin-top:15px;padding:14px;border:1px solid #d6e3e6;border-radius:9px;background:#f8fafb}.correction-change-summary h4{margin:0}.correction-detail-differences{display:grid;gap:9px;margin:10px 0 0}.correction-detail-differences>div{padding-top:9px;border-top:1px solid #dde7e9}.correction-detail-differences dt{margin-bottom:4px;font-weight:750}.correction-detail-differences dd{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;margin:0;color:#536970;white-space:pre-line}.paid-dialog>p{color:#536970;line-height:1.5}.paid-amount{display:flex;justify-content:space-between;margin:6px 0 24px;padding:13px 0;border-block:1px solid #dde7e9}@media(max-width:940px){.history-invoice-row{grid-template-areas:"customer amount" "status status" "actions actions";grid-template-columns:minmax(0,1fr) max-content}.paid-state,.history-actions{justify-self:start}.history-actions{justify-content:flex-start}}.app-shell{display:grid;min-height:100vh;place-items:center;padding:32px}.home{width:min(100%,760px)}h1,h2,p{margin-top:0}h1{margin-bottom:0;color:#102d38;font-size:clamp(2rem,6vw,3.5rem);line-height:1.05}h2{color:#102d38}.intro,.page-intro{color:#49616a;font-size:1.05rem;line-height:1.55}.intro{margin:12px 0 28px}.product-wordmark{display:block;width:min(19rem,72vw);height:auto;margin:0 0 22px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.workspace-identity{display:flex;flex-direction:column;gap:3px}.workspace-identity strong{color:#17313d;font-size:1.15rem}.destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.destination{display:flex;min-height:104px;flex-direction:column;justify-content:space-between;padding:20px;border:1px solid #aac4cc;border-radius:12px;color:#17313d;background:#fff;box-shadow:0 8px 24px #1e485614;font-size:1.05rem;font-weight:700;text-align:left}.destination span{color:#61757d;font-size:.82rem;font-weight:500}.back-button,.text-button{padding:4px;border:0;color:#076c83;background:transparent;font-weight:650}.home-secondary-actions{display:flex;align-items:center;gap:12px;margin-top:22px}.home-secondary-action{min-height:38px;padding:7px 12px;border:1px solid #aac4cc;border-radius:8px;color:#076c83;background:#fff;font-weight:650}.page-shell{width:min(1120px,100%);min-height:100vh;margin:0 auto;padding:44px 36px 56px}.narrow-page{width:min(760px,100%)}.page-header,.form-heading,.customers-header,.customer-toolbar,.import-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.page-header{margin-bottom:28px}.page-header h1{font-size:clamp(2rem,5vw,3rem)}.page-intro{max-width:650px;margin:12px 0 0}.section-label{margin-bottom:8px;color:#61757d;font-size:.78rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.form-card,.import-card,.customer-list,.import-actions{border:1px solid #d2e0e4;border-radius:14px;background:#fff;box-shadow:0 10px 30px #1e485612}.form-card,.import-card{padding:30px}.form-heading{margin-bottom:24px}.form-heading h2{margin-bottom:6px;font-size:1.55rem}.form-heading p{margin:0;color:#61757d;line-height:1.45}.field{display:block;margin-bottom:18px}.field-label{display:block;margin-bottom:7px;color:#233f49;font-size:.91rem;font-weight:700}.field input,.field textarea,.search-field input{width:100%;min-height:44px;padding:9px 11px;border:1px solid #9fb7bf;border-radius:7px;color:#17313d;background:#fff;font:inherit}.field textarea{min-height:82px;resize:vertical}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:#b74242}.field-error,.error-message{color:#9b2c2c}.field-error{display:block;margin-top:5px;font-size:.84rem;font-weight:600}.field-help{margin:0 0 12px;color:#61757d;font-size:.88rem}.payment-options-form{margin:4px 0 22px;padding:18px;border:1px solid #d2e0e4;border-radius:10px}.payment-options-form legend{padding:0 6px;color:#233f49;font-weight:750}.payment-option-toggle{margin-bottom:14px;padding:12px 14px;border-radius:8px;background:#f5f8f9}.payment-option-toggle .field{margin:12px 0 0}.checkbox-label{display:flex;align-items:center;gap:9px}.form-row{display:grid;gap:14px}.city-row{grid-template-columns:2fr .8fr 1.2fr}.logo-field{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:4px 0 24px;padding:18px;border-radius:10px;background:#f3f8f9}.logo-preview{width:104px;height:72px;object-fit:contain}.primary-button,.secondary-button{min-height:42px;padding:9px 17px;border-radius:8px;font-weight:700}.primary-button{border:1px solid #076c83;color:#fff;background:#076c83}.secondary-button{border:1px solid #8aa8b1;color:#17313d;background:#fff}button:disabled{cursor:not-allowed;opacity:.6}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:22px}.customer-form-actions{flex-wrap:wrap}.customer-delete-section{margin-top:22px;padding-top:18px;border-top:1px solid #dfe8eb}.customer-delete-section p{margin:5px 0 10px}.form-message,.notice{padding:11px 13px;border-radius:8px;background:#fff2f2}.success-message{color:#27634b;background:#edf8f2}.back-button{margin:0 0 15px -4px}.customers-header .primary-button{margin-top:36px;white-space:nowrap}.customer-toolbar{align-items:center;margin-bottom:16px}.view-tabs{display:flex;gap:5px;padding:4px;border-radius:9px;background:#e9f1f3}.view-tabs button{min-height:38px;padding:7px 13px;border:0;border-radius:7px;color:#49616a;background:transparent;font-weight:700}.view-tabs button.selected{box-shadow:0 2px 7px #1e48561c}.view-tabs button.active-selected{color:#27634b;background:#edf8f2}.view-tabs button.inactive-selected{color:#735c28;background:#fff7df}.search-field{width:min(280px,100%)}.customer-sort-field{display:grid;gap:5px;min-width:180px}.customer-sort-field select{min-height:42px}.notice{margin-bottom:16px}.customer-list{overflow:hidden}table{width:100%;border-collapse:collapse}th,td{padding:15px 17px;border-bottom:1px solid #e1eaed;text-align:left;vertical-align:top}th{color:#61757d;background:#f8fafb;font-size:.78rem;letter-spacing:.02em;text-transform:uppercase}tr:last-child td{border-bottom:0}.amount-cell{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.row-actions{width:178px}.row-actions .text-button{display:block;margin-bottom:5px;text-align:left}.empty-state{padding:42px 24px;color:#61757d;text-align:center}.empty-state h2{margin-bottom:8px}.import-actions{align-items:center;margin-top:22px;padding:17px 20px;box-shadow:none}.import-actions strong,.import-actions p{display:block}.import-actions p{margin:3px 0 0;color:#61757d;font-size:.88rem}.import-summary{padding:11px 13px;border-radius:8px;background:#edf5f7;font-weight:700}.import-rows{max-height:440px;overflow-y:auto;border:1px solid #d8e3e6;border-radius:9px}.import-row{padding:14px;border-bottom:1px solid #e1eaed}.import-row:last-child{border-bottom:0}.import-row.duplicate{background:#fff9e8}.import-row.error{background:#fff2f2}.import-row label{display:flex;gap:11px;line-height:1.45}.import-row p{margin:7px 0 0 27px;color:#9b2c2c;font-size:.87rem}.currency-input{display:flex;align-items:center;width:min(240px,100%);min-height:44px;border:1px solid #9fb7bf;border-radius:7px;background:#fff}.currency-input>span{padding-left:12px;color:#49616a}.currency-input input{min-width:0;border:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.startup-error{margin:24px 0 0;color:#9b2c2c;font-size:.9rem;font-weight:600}.invoice-day-page{width:min(1180px,100%)}.invoice-day-header{align-items:flex-end}.month-field{display:block;width:190px;flex:0 0 auto}.month-field span{display:block;margin-bottom:7px;color:#233f49;font-size:.91rem;font-weight:700}.month-field input{width:100%;min-height:44px;padding:8px 10px;border:1px solid #9fb7bf;border-radius:7px;color:#17313d;background:#fff}.invoice-summary{display:grid;grid-template-columns:minmax(280px,1.7fr) minmax(120px,.7fr) minmax(180px,.9fr);gap:22px;align-items:center;margin-bottom:20px;padding:22px 24px;border:1px solid #b9d5dc;border-radius:14px;background:#eef7f8}.summary-period,.summary-number,.summary-total{display:flex;flex-direction:column}.summary-period strong{margin-bottom:6px;color:#102d38;font-size:1.6rem}.summary-period>span:last-child{color:#49616a;font-size:.92rem}.invoice-date-field{width:min(210px,100%);margin-top:13px}.invoice-date-field span{display:block;margin-bottom:5px;color:#233f49;font-size:.84rem;font-weight:700}.invoice-date-field input{width:100%;min-height:40px;padding:7px 9px;border:1px solid #9fb7bf;border-radius:7px;color:#17313d;background:#fff}.summary-number strong,.summary-total strong{color:#102d38;font-size:1.65rem;font-variant-numeric:tabular-nums}.summary-number span,.summary-total span{color:#61757d;font-size:.9rem;font-weight:650}.summary-adjustments{grid-column:1 / -1;margin:-8px 0 0;color:#61757d;font-size:.88rem}.invoice-review-list{border:1px solid #d2e0e4;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #1e485612}.invoice-review-row{position:relative;display:grid;grid-template-columns:minmax(260px,1.8fr) minmax(200px,1fr) 175px;gap:20px;min-height:88px;align-items:center;padding:14px 22px;border-bottom:1px solid #e1eaed}.invoice-review-row:last-child{border-bottom:0}.invoice-review-row.skipped{border-left:4px solid #b7a16b;color:#66777d;background:#f3f5f5}.invoice-review-row.already-created{border-left:4px solid #7e9aa2;color:#5d7077;background:#f5f7f7}.invoice-customer h2{margin:0 0 5px;font-size:1.08rem}.invoice-customer p{margin:0;color:#61757d;font-size:.9rem;line-height:1.4}.invoice-amounts{min-width:0}.current-invoice-amount{display:flex;min-width:0;flex-direction:column;margin:0}.current-invoice-amount>span:first-child{margin-bottom:4px;color:#61757d;font-size:.78rem;font-weight:700}.invoice-amounts strong{font-variant-numeric:tabular-nums}.unchanged-invoice-amount{color:#17313d;font-size:1.15rem}.changed-amount-detail{display:flex;min-width:0;align-items:flex-start;flex-direction:column;gap:5px}.changed-amount-comparison{display:flex;align-items:flex-end;gap:9px}.changed-amount-comparison>span:not(.amount-arrow){display:flex;flex-direction:column;gap:2px}.changed-amount-comparison small{color:#61757d;font-size:.7rem;font-weight:700}.changed-amount-comparison strong{font-size:.95rem}.amount-arrow{padding-bottom:1px;color:#8b9a9f;font-size:1rem}.changed-label{width:fit-content;padding:2px 7px;border-radius:999px;color:#735c28;background:#fff3cf;font-size:.72rem}.invoice-row-actions{display:flex;align-items:flex-start;flex-direction:column;gap:6px}.skip-button{padding:5px 4px;border:0;color:#5e6e74;background:transparent;font-weight:650}.include-button{min-height:36px;padding:6px 11px}.muted-text-button{color:#5e6e74}.skipped-label{display:inline-block;margin-top:7px;padding:3px 8px;border-radius:999px;color:#65542d;background:#ebe5d6;font-size:.74rem;font-weight:700}.amount-override-form{min-width:190px}.compact-currency-input{width:150px;min-height:38px}.compact-currency-input input{min-height:36px;padding:6px 8px}.amount-override-form>div{display:flex;gap:7px;margin-top:5px}.stale-notice,.invoice-day-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 20px;border-radius:11px}.stale-notice{margin-bottom:18px;border:1px solid #e0ca8f;color:#5e4b20;background:#fff8e3}.stale-notice p,.invoice-day-footer p{margin:4px 0 0;line-height:1.4}.invoice-day-empty{padding:52px 24px;border:1px solid #d2e0e4;border-radius:14px;color:#61757d;background:#fff;text-align:center}.invoice-day-empty h2{margin-bottom:8px}.invoice-day-footer{margin-top:20px;border:1px solid #d2e0e4;background:#fff}.invoice-day-footer p{max-width:650px;color:#61757d;font-size:.9rem}.invoice-day-footer .primary-button{white-space:nowrap}.generated-batch-panel{margin:20px 0;padding:22px;border:1px solid #b9d8d1;border-radius:12px;background:#f4fbf9;box-shadow:0 8px 24px #1f534b14}.generated-batch-panel.compact{padding:17px 20px;border-color:#d3e1de;background:#fff;box-shadow:none}.generated-batch-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.generated-batch-heading h2{margin:0 0 5px;color:#1c6259;font-size:1.18rem}.generated-batch-heading p{margin:3px 0 0;color:#526b68;line-height:1.45}.generated-batch-heading .backup-success{color:#236044;font-weight:700}.print-copies-instruction{font-weight:700}.backup-warning{margin-top:10px;padding:10px 12px;border:1px solid #d8c28f;border-radius:8px;background:#fffaf0}.backup-warning p{margin:0 0 8px;color:#725a27}.generated-batch-heading .primary-button{flex:none;white-space:nowrap}.generated-invoice-list{margin-top:17px;border-top:1px solid #d3e1de;padding-top:14px}.generated-invoice-list summary{width:fit-content;color:var(--color-accent-strong);font-weight:700;cursor:pointer}.generated-invoice-list>div{display:grid;gap:6px;margin-top:12px}.generated-invoice-link{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:9px 11px;border:1px solid #dbe6e3;border-radius:8px;color:#294944;background:#fff;font:inherit;text-align:left;cursor:pointer}.generated-invoice-link:hover{border-color:#91bdb5;background:#f8fcfb}.bottom-home-action{display:flex;justify-content:flex-start;margin-top:28px;padding-top:20px;border-top:1px solid #e2ebe9}.correction-guidance{margin:0 0 18px;color:#49625e}.correct-invoice-button{white-space:nowrap}@media(max-width:760px){.app-shell,.page-shell{padding:24px}.destinations,.city-row{grid-template-columns:1fr}.destination{min-height:72px}.customers-header,.customer-toolbar,.import-actions,.invoice-day-header,.stale-notice,.invoice-day-footer,.generated-batch-heading{align-items:stretch;flex-direction:column}.history-toolbar,.history-batch>header,.year-summary>header,.backup-card{align-items:stretch;flex-direction:column}.history-search,.history-month,.history-payment-filter,.customer-history-year,.year-field{width:100%;max-width:none}.history-payment-filter button{flex:1}.customer-history-header{align-items:stretch;flex-direction:column}.customer-history-summary{grid-template-columns:1fr}.customer-history-summary>div{border-right:0;border-bottom:1px solid #e0e9ec}.customer-history-summary>div:last-child{border-bottom:0}.history-invoice-row,.summary-table-heading,.summary-table-row{grid-template-columns:1fr}.history-invoice-row{grid-template-areas:"customer" "amount" "status" "actions"}.history-amount-region{text-align:left}.summary-table-heading{display:none}.summary-table-row>:last-child{text-align:left}.backup-actions{justify-content:flex-start}.customers-header .primary-button{margin-top:0}.search-field{width:100%}.customer-list{overflow-x:auto}.month-field{width:min(240px,100%)}.invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-period,.summary-adjustments{grid-column:1 / -1}.invoice-review-row{grid-template-columns:1fr;gap:14px;padding-bottom:24px}.invoice-row-actions{flex-flow:row wrap}}:root{--color-app-background: #f0f3f4;--color-canvas: #ffffff;--color-surface-subtle: #f7f8f8;--color-surface-accent: #edf6f8;--color-sidebar: #0c2935;--color-sidebar-muted: #9db3bc;--color-sidebar-active: #173c4a;--color-text: #17313d;--color-text-strong: #0d2732;--color-text-muted: #5e727b;--color-border: #d6e0e4;--color-border-strong: #afc2c9;--color-divider: #e1e7e9;--color-accent: #087f9b;--color-accent-strong: #05677e;--color-accent-soft: #e5f5f9;--color-positive: #2d7054;--color-positive-soft: #e9f6ef;--color-warning: #755c25;--color-warning-soft: #fff7df;--color-danger: #a43a3a;--color-danger-soft: #fff0f0;--shadow-dialog: 0 24px 70px rgb(9 31 40 / 28%);--shadow-focus: 0 0 0 3px rgb(8 127 155 / 22%);--radius-small: 4px;--radius-medium: 6px;--radius-large: 9px;--control-height: 38px;--sidebar-width: 232px;--page-workspace-base: 1440px;--page-data-wide-base: 1680px;--page-form-base: 1380px;--page-compact-base: 1260px;--page-workspace-fluid: 72%;--page-data-wide-fluid: 82%;--page-form-fluid: 68%;--page-compact-fluid: 60%;--page-workspace-cap: 2300px;--page-data-wide-cap: 2800px;--page-form-cap: 2200px;--page-compact-cap: 1700px;--work-region-invoice: 1750px;--work-region-customers: 1700px;--work-region-batches: 2300px;--work-region-summary: 1750px;--work-region-customer-history: 1850px;--work-region-services: 1250px;--work-region-backup: 1000px;--form-content-cap: 1900px;--page-gutter: clamp(28px, 2.7vw, 52px);color:var(--color-text);background:var(--color-app-background)}html,body,#root{min-width:0;min-height:100%;overflow-x:hidden}body{background:var(--color-app-background);font-family:Segoe UI Variable,Segoe UI,system-ui,sans-serif;font-weight:400}button,input,select,textarea{accent-color:var(--color-accent)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px;box-shadow:var(--shadow-focus)}.startup-shell,.first-use-shell{min-height:100vh}.first-use-shell{background:linear-gradient(135deg,rgb(8 127 155 / 8%),transparent 42%),var(--color-app-background)}.first-run-welcome{display:grid;min-height:100vh;padding:clamp(28px,6vh,72px) clamp(24px,6vw,88px);place-items:center}.first-run-welcome-pane{width:min(100%,720px);padding:clamp(30px,5vw,56px);border:1px solid var(--color-border-strong);border-radius:var(--radius-large);background:var(--color-canvas);box-shadow:var(--shadow-dialog)}.first-run-product-logo{display:block;width:min(100%,260px);height:auto;margin-bottom:36px}.first-run-introduction{padding-bottom:24px;border-bottom:1px solid var(--color-divider)}.first-run-introduction h1{margin:0 0 8px;font-size:clamp(1.8rem,3vw,2.35rem);line-height:1.15}.first-run-introduction p,.first-run-footer-copy{margin:0;color:var(--color-text-secondary)}.first-run-steps{display:grid;padding:0;margin:28px 0 30px;gap:18px;list-style:none}.first-run-steps li{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:13px}.first-run-step-number{display:grid;width:30px;height:30px;border:1px solid var(--color-border-strong);border-radius:50%;color:var(--color-accent);font-weight:650;place-items:center}.first-run-steps strong,.first-run-steps small{display:block}.first-run-steps strong{margin:1px 0 3px;color:var(--color-text-strong);font-size:1rem}.first-run-steps small{color:var(--color-text-secondary);font-size:.92rem;line-height:1.45}.first-run-primary-action{min-width:168px}.first-run-footer-copy{margin-top:15px;font-size:.9rem}@media(max-width:760px){.first-run-welcome{padding:20px;place-items:start center}.first-run-welcome-pane{padding:28px 24px}.first-run-product-logo{width:min(100%,224px);margin-bottom:28px}}.application-frame{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);width:100%;min-height:100vh;overflow-x:clip;background:var(--color-app-background)}.skip-link{position:fixed;z-index:100;top:10px;left:10px;padding:10px 14px;border-radius:var(--radius-small);color:var(--color-text-strong);background:var(--color-canvas);box-shadow:var(--shadow-dialog);transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.application-sidebar{position:sticky;top:0;display:flex;width:var(--sidebar-width);height:100vh;min-height:600px;flex-direction:column;padding:24px 16px 18px;overflow-y:auto;color:#fff;background:var(--color-sidebar)}.application-brand{padding:2px 8px 25px;border-bottom:1px solid rgb(255 255 255 / 12%)}.application-brand img{display:block;width:min(100%,164px);height:auto}.application-navigation{display:grid;gap:4px;padding:20px 0}.navigation-item{position:relative;display:grid;grid-template-columns:4px minmax(0,1fr);gap:12px;align-items:center;width:100%;min-height:43px;padding:8px 10px 8px 8px;border:0;border-radius:7px;color:#dce9ee;background:transparent;font-size:.91rem;font-weight:650;text-align:left}.navigation-item:hover{background:#ffffff12}.navigation-item[aria-current=page]{color:#fff;background:var(--color-sidebar-active)}.navigation-indicator{width:4px;height:22px;border-radius:4px;background:transparent}.navigation-item[aria-current=page] .navigation-indicator{background:#31c2e4}.navigation-divider{height:1px;margin:12px 8px;background:#ffffff1f}.sidebar-workspace{display:grid;gap:8px;margin-top:auto;padding:16px 8px 2px;border-top:1px solid rgb(255 255 255 / 12%)}.sidebar-workspace>span{color:var(--color-sidebar-muted);font-size:.68rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.sidebar-workspace>div{display:flex;align-items:center;gap:10px;min-width:0}.sidebar-workspace img{width:32px;height:32px;flex:0 0 auto;border-radius:5px;object-fit:contain;background:#fff}.sidebar-workspace strong{min-width:0;overflow:hidden;font-size:.83rem;line-height:1.3;text-overflow:ellipsis}.application-content{min-width:0;overflow-x:clip;outline:none}.application-content>.page-shell{width:100%;max-width:var(--page-workspace-base);min-height:auto;margin:0 auto 0 0;padding:38px var(--page-gutter) 68px}.application-content>.page--workspace{max-width:var(--page-workspace-base)}.application-content>.page--data-wide{max-width:var(--page-data-wide-base)}.application-content>.page--form{max-width:var(--page-form-base)}.application-content>.page--compact{max-width:var(--page-compact-base)}.application-frame .back-button,.application-frame .bottom-home-action{display:none}h1,h2,h3,h4{color:var(--color-text-strong)}.page-header{align-items:flex-end;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--color-border)}.page-header h1{font-size:clamp(1.75rem,2.4vw,2.2rem);font-weight:650;letter-spacing:-.025em}.page-intro,.intro{color:var(--color-text-muted);font-size:.97rem}.eyebrow,.section-label{display:block;margin-bottom:7px;color:var(--color-accent-strong);font-size:.78rem;font-weight:650;letter-spacing:0;text-transform:none}.workspace-header .eyebrow{font-size:.7rem;font-weight:750;letter-spacing:.075em;text-transform:uppercase}.primary-button,.secondary-button,.home-secondary-action{min-height:var(--control-height);border-radius:var(--radius-small);box-shadow:none}.primary-button{border-color:var(--color-accent-strong);background:var(--color-accent-strong)}.primary-button:hover:not(:disabled){border-color:#04566a;background:#04566a}.secondary-button,.home-secondary-action{border-color:var(--color-border-strong);color:var(--color-text);background:var(--color-canvas)}.secondary-button:hover:not(:disabled),.home-secondary-action:hover:not(:disabled){border-color:#7e9ba5;background:var(--color-surface-subtle)}.text-button,.back-button{color:var(--color-accent-strong)}.form-card,.import-card,.customer-list,.invoice-review-list,.history-batch,.year-summary,.backup-card,.customer-history-identity,.customer-history-summary{border-color:var(--color-border);border-radius:var(--radius-medium);background:var(--color-canvas);box-shadow:none}.form-card,.import-card{padding:28px}.import-steps{display:flex;gap:8px;margin:0 0 24px;padding:0;list-style:none}.import-steps li{display:flex;align-items:center;gap:8px;color:var(--color-text-muted);font-size:.78rem;font-weight:750}.import-steps li:not(:last-child):after{width:24px;height:1px;content:"";background:var(--color-border-strong)}.import-steps li.complete,.import-steps li[aria-current=step]{color:var(--color-accent-strong)}.field input,.field textarea,.field select,.search-field input,.customer-sort-field select,.month-field input,.invoice-date-field input{border-color:var(--color-border-strong);border-radius:var(--radius-small)}.field select{width:100%;min-height:44px;padding:9px 11px;color:var(--color-text);background:var(--color-canvas);font:inherit}.field input:hover,.field textarea:hover,.field select:hover,.search-field input:hover,.customer-sort-field select:hover{border-color:#829fa9}.field-label{color:#28434d;font-size:.84rem}.field-help,.form-heading p{color:var(--color-text-muted)}.notice,.form-message{border:1px solid transparent}.success-message{border-color:#c6e3d2;color:var(--color-positive);background:var(--color-positive-soft)}.export-completion{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:15px 0;border-block:1px solid var(--color-border)}.export-completion>div:first-child{display:grid;min-width:0;gap:3px}.export-completion strong{color:var(--color-positive)}.export-completion span,.export-completion small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-completion small{color:var(--color-text-muted)}.export-completion-actions{display:flex;flex:0 0 auto;gap:10px}.error-message,.field-error{color:var(--color-danger)}.notice.error-message,.form-message.error-message{border-color:#ebc5c5;background:var(--color-danger-soft)}.home-workspace{display:grid;gap:28px}.workspace-header{display:flex;min-width:0;align-items:center;gap:28px;min-height:150px;padding:10px 0 8px}.workspace-header-copy{min-width:0}.workspace-header h1{overflow-wrap:anywhere;margin:0;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}.workspace-header p{margin:9px 0 0;color:var(--color-text-muted)}.workspace-logo-wrap{display:grid;width:154px;height:136px;flex:0 0 auto;place-items:center;padding:10px;border:1px solid var(--color-border);border-radius:var(--radius-medium);background:var(--color-canvas)}.workspace-logo-wrap img{max-width:100%;max-height:100%;object-fit:contain}.workspace-logo-fallback{display:grid;width:100%;height:100%;place-items:center;border-radius:calc(var(--radius-medium) - 2px);color:var(--color-accent-strong);background:var(--color-accent-soft);font-size:2rem;font-weight:800;letter-spacing:.04em}.home-financial-section,.home-actions{max-width:2200px;padding:24px 0;border-block:1px solid var(--color-border);background:transparent}.home-actions{border-top:0}.section-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.section-heading-row h2{margin:0;font-size:1.32rem;font-weight:650}.section-context{margin:4px 0 0;color:var(--color-text-muted);font-size:.88rem}.financial-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--color-divider)}.financial-metric{display:flex;min-width:0;flex-direction:column;gap:7px;padding:22px 24px;border-right:1px solid var(--color-divider)}.financial-metric:first-child{padding-left:4px}.financial-metric:last-child{border-right:0}.financial-metric span{color:var(--color-text-muted);font-size:.82rem;font-weight:700}.financial-metric strong{overflow-wrap:anywhere;font-size:clamp(1.55rem,3vw,2.25rem);font-variant-numeric:tabular-nums;letter-spacing:-.035em}.financial-metric.positive strong{color:var(--color-positive)}.customer-count-note{color:var(--color-text-muted);font-size:.85rem;font-weight:700}.workflow-actions{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:0;border:1px solid var(--color-border);border-radius:var(--radius-small);overflow:hidden;background:var(--color-canvas)}.workflow-action{display:flex;min-width:0;min-height:84px;flex-direction:column;gap:9px;justify-content:center;padding:14px 17px;border:0;border-right:1px solid var(--color-divider);border-radius:0;color:var(--color-text);background:var(--color-canvas);text-align:left}.workflow-action:hover{background:var(--color-surface-subtle)}.workflow-action-primary{border-left:4px solid var(--color-accent);color:#103d4a;background:var(--color-canvas)}.workflow-action:last-child{border-right:0}.workflow-action strong{font-size:1.03rem}.workflow-action span{color:var(--color-text-muted);font-size:.84rem;line-height:1.45}.home-backup-status{display:grid;grid-template-columns:9px auto 1fr;gap:9px;align-items:center;width:fit-content;min-height:36px;padding:7px 11px;border:1px solid var(--color-border);border-radius:var(--radius-small);color:var(--color-text);background:transparent}.home-backup-status>span{width:8px;height:8px;border-radius:50%;background:var(--color-positive)}.home-backup-status.needs-attention>span{background:#b38123}.home-backup-status small{color:var(--color-text-muted)}.invoice-summary{grid-template-columns:minmax(260px,1.4fr) minmax(110px,.5fr) minmax(150px,.7fr);padding-inline:0;border-width:1px 0;border-color:var(--color-border-strong);border-radius:0;background:transparent}.summary-label{display:block;margin-bottom:6px;color:var(--color-text-muted);font-size:.82rem;font-weight:650}.invoice-review-row{grid-template-columns:minmax(230px,1.6fr) minmax(170px,.8fr) minmax(180px,.8fr);padding:13px 18px}.customers-page .customer-list th:first-child,.customers-page .customer-list td:first-child{width:23%}.customers-page .customer-list th:nth-child(2),.customers-page .customer-list td:nth-child(2){width:37%}.customers-page .customer-list th:nth-child(3),.customers-page .customer-list td:nth-child(3){width:15%}.customers-page .customer-list th:last-child,.customers-page .customer-list td:last-child{width:25%}.invoice-review-row:hover:not(.skipped):not(.already-created){background:#fbfcfd}.invoice-row-actions{align-items:flex-start}.invoice-day-footer{position:sticky;z-index:5;bottom:0;border-color:var(--color-border-strong);border-radius:var(--radius-small);background:#fffffff5;box-shadow:0 -8px 25px #18394614;backdrop-filter:blur(8px)}.customer-toolbar,.history-toolbar{padding:12px 0;border-block:1px solid var(--color-border);background:transparent}.customer-list{overflow:hidden;border-width:1px 0;border-radius:0}th{color:#536a73;background:transparent;text-transform:none}tbody tr:hover{background:#fafcfd}.active-status,.paid-badge{color:var(--color-positive);background:var(--color-positive-soft)}.inactive-status{color:var(--color-warning);background:var(--color-warning-soft)}.not-paid{border-color:#bdc9ce;color:#5f7077;background:#fff}.history-batch{margin-bottom:18px}.history-batch>header{border-bottom-color:var(--color-border);background:#fafbfb}.history-invoice-row{grid-template-columns:minmax(210px,1.4fr) minmax(90px,.45fr) minmax(105px,.55fr) minmax(250px,1fr);gap:16px}.history-actions{gap:7px}.history-actions .text-button,.invoice-row-actions .text-button{min-height:34px;padding:6px 7px}.year-summary,.backup-card{overflow:hidden}.backup-overview{min-width:0;padding-right:30px;border-right:1px solid var(--color-border)}.backup-overview p{overflow-wrap:anywhere}.year-summary>header{padding:20px 0;background:transparent}.summary-totals,.customer-history-summary{background:transparent}.backup-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.65fr);gap:32px;margin-top:0;padding:26px 0;border-width:1px 0;border-radius:0;background:transparent}.backup-card h2{margin-bottom:18px}.backup-actions{align-content:start;align-items:stretch;flex-direction:column}.backup-actions button{width:100%}.backup-actions .muted-text-button{margin-top:10px;padding-top:16px;border-top:1px solid var(--color-border)}.paid-dialog,.correction-dialog{border:1px solid var(--color-border);border-radius:var(--radius-large);box-shadow:var(--shadow-dialog)}.dialog-backdrop{background:#081d258a}.customer-history-identity{padding:18px 0;border-width:0 0 1px;border-radius:0;background:transparent}.customer-history-summary{border-width:1px 0;border-color:var(--color-border);border-radius:0}.customer-history-table-wrap{border-width:1px 0;border-radius:0;box-shadow:none}.customer-history-actions{margin-block:18px}.payment-options-form{border-color:var(--color-border);background:transparent}.payment-option-toggle{border:0;border-left:3px solid transparent;border-bottom:1px solid var(--color-divider);border-radius:0;background:transparent}.payment-option-toggle:has(input:checked){border-left-color:var(--color-accent);border-bottom-color:var(--color-divider);background:transparent}.logo-field{border:1px solid var(--color-border);border-radius:var(--radius-small);background:var(--color-canvas)}.form-section{margin:0 0 26px;padding:0 0 24px;border:0;border-bottom:1px solid var(--color-border)}.form-section:last-of-type{border-bottom:0}.form-section-heading{margin-top:28px;margin-bottom:18px;padding:0 0 10px;border-bottom:1px solid var(--color-border);color:var(--color-text-strong);font-size:1.05rem;font-weight:650}.form-section>legend{margin:0 0 18px;padding:0;color:var(--color-text-strong);font-size:1.05rem;font-weight:650}.form-card>.form-section-heading:first-child{margin-top:0}.business-details-grid{display:grid;grid-template-columns:1fr;gap:34px}.business-details-column{min-width:0}.business-details-column>.form-section-heading:first-child{margin-top:0}.business-details-form>.form-actions{margin-top:26px;padding-top:22px;border-top:1px solid var(--color-border)}.services-page .customer-list{min-height:190px}.business-details-form{max-width:var(--form-content-cap);padding:0;border:0;border-radius:0;background:transparent}.invoice-day-page .invoice-summary,.invoice-day-page .invoice-review-list,.invoice-day-page .invoice-day-footer{max-width:var(--work-region-invoice)}.customers-page .customer-toolbar,.customers-page .customer-list,.customers-page .import-actions{max-width:var(--work-region-customers)}.history-toolbar,.history-batch{max-width:var(--work-region-batches)}.year-summary{max-width:var(--work-region-summary)}.customer-history-page .customer-history-identity,.customer-history-page .customer-history-summary,.customer-history-page .customer-history-rule,.customer-history-page .customer-history-actions,.customer-history-page .customer-history-table-wrap{max-width:var(--work-region-customer-history)}.services-page .customer-list{max-width:var(--work-region-services)}.invoice-review-list{border-width:1px;border-radius:var(--radius-small);box-shadow:none}.year-summary{border-width:1px;border-radius:var(--radius-small);background:var(--color-canvas)}.summary-table-heading{background:transparent}@media(min-width:1280px){.business-details-grid{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(38px,4vw,64px)}.business-details-column+.business-details-column{padding-left:clamp(32px,3vw,52px);border-left:1px solid var(--color-border)}}@media(min-width:1500px){.invoice-review-row{grid-template-columns:minmax(360px,1fr) minmax(230px,320px) minmax(280px,380px);gap:24px;padding-inline:22px}.history-invoice-row{grid-template-columns:minmax(340px,680px) 140px 150px minmax(390px,520px);gap:24px;justify-content:start;padding-inline:22px}.summary-table-heading,.summary-table-row{grid-template-columns:minmax(320px,1.35fr) repeat(3,minmax(190px,.72fr));gap:24px;padding-inline:28px}.summary-table-row>span{display:grid;gap:3px}.summary-table-row>span small{display:block}}@media(max-width:1180px){:root{--sidebar-width: 205px}.application-content>.page-shell{padding-inline:28px}.invoice-review-row{grid-template-columns:minmax(210px,1.4fr) minmax(150px,.8fr);grid-template-areas:"customer amount" "customer actions"}.invoice-customer{grid-area:customer}.invoice-amounts{grid-area:amount}.invoice-row-actions{grid-area:actions;flex-flow:row wrap}.history-invoice-row{grid-template-areas:"customer amount status" "customer actions actions";grid-template-columns:minmax(210px,1.4fr) max-content minmax(105px,.5fr)}.history-actions{justify-content:flex-start}.workflow-actions{grid-template-columns:1fr 1fr}.workflow-action-primary{grid-row:span 2}}@media(max-width:980px){:root{--sidebar-width: 184px}.application-sidebar{padding-inline:11px}.navigation-item{gap:8px;padding-right:6px;font-size:.82rem}.sidebar-workspace strong{font-size:.76rem}.application-content>.page-shell{padding:28px 24px 56px}.page-header,.customers-header,.customer-toolbar,.history-toolbar,.year-summary>header,.generated-batch-heading{align-items:stretch;flex-direction:column}.customers-header .primary-button{width:fit-content;margin-top:0}.customer-toolbar,.history-toolbar{display:grid;grid-template-columns:1fr 1fr}.view-tabs,.history-payment-filter{grid-column:1 / -1}.search-field,.history-search,.history-month,.customer-sort-field{width:100%;min-width:0;max-width:none}.invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-period,.summary-adjustments{grid-column:1 / -1}.backup-card{grid-template-columns:1fr}.backup-overview{padding-right:0;padding-bottom:24px;border-right:0;border-bottom:1px solid var(--color-border)}.financial-strip{grid-template-columns:1fr}.financial-metric,.financial-metric:first-child{display:grid;grid-template-columns:1fr auto;align-items:baseline;padding:14px 4px;border-right:0;border-bottom:1px solid var(--color-border)}.financial-metric:last-child{border-bottom:0}.financial-metric strong{font-size:1.55rem}.workflow-actions{grid-template-columns:1fr}.workflow-action,.workflow-action-primary{min-height:88px;grid-row:auto}.customer-history-table-wrap,.customer-list{overflow:visible}.customer-history-table thead,.customer-list thead{display:none}.customer-history-table,.customer-history-table tbody,.customer-list table,.customer-list tbody{display:block;width:100%}.customer-history-table tr,.customer-list tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:16px 18px;border-bottom:1px solid var(--color-border)}.customer-history-table td,.customers-page .customer-list td:nth-child(n){display:grid;gap:4px;width:auto;padding:0;border:0}.customer-history-table td:before,.customer-list td:before{content:attr(data-label);color:var(--color-text-muted);font-size:.7rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.customer-history-table td:empty:before,.customer-list td:empty:before{display:none}.row-actions{display:flex!important;align-items:center;flex-wrap:wrap;grid-column:1 / -1}.row-actions:before{width:100%}.row-actions .text-button{display:inline-flex;margin:0 10px 0 0}.summary-table-heading,.summary-table-row{grid-template-columns:minmax(120px,1fr) repeat(3,minmax(90px,.7fr));gap:10px;padding-inline:16px}}@media(max-width:800px){:root{--sidebar-width: 168px}.application-brand{padding-inline:4px}.sidebar-workspace img{display:none}.application-content>.page-shell{padding-inline:20px}.workspace-header,.section-heading-row,.invoice-day-header,.stale-notice,.invoice-day-footer,.import-actions{align-items:stretch;flex-direction:column}.workspace-logo-wrap{width:132px;height:112px}.home-financial-section,.home-actions{padding:20px}.home-backup-status{width:100%}.invoice-review-row,.history-invoice-row{grid-template-areas:"customer" "amount" "status" "actions";grid-template-columns:minmax(0,1fr)}.history-amount-region{text-align:left}.paid-state,.history-actions{justify-self:start}.city-row,.correction-location,.summary-totals,.customer-history-summary{grid-template-columns:1fr}.summary-totals>div,.summary-totals>div:nth-child(2),.summary-totals>div:last-child{padding-block:7px;text-align:left}.customer-history-summary>div{border-right:0;border-bottom:1px solid var(--color-border)}.customer-history-table tr,.customer-list tr{grid-template-columns:1fr}.customer-history-table td,.customer-list td,.row-actions{grid-column:1}.form-card,.import-card,.correction-dialog{padding:20px}.form-heading,.logo-field,.form-actions,.backup-actions{align-items:stretch;flex-direction:column}.form-actions button,.backup-actions button{width:100%}}.view-tabs,.history-payment-filter{gap:0;padding:0;border:0;border-bottom:1px solid var(--color-border-strong);border-radius:0;background:transparent}.view-tabs button,.history-payment-filter button{min-height:var(--control-height);padding:7px 13px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-weight:600}.view-tabs button.selected,.view-tabs button.active-selected,.view-tabs button.inactive-selected,.history-payment-filter button.selected{border-bottom-color:var(--color-accent);color:var(--color-accent-strong);background:transparent}.customer-toolbar,.history-toolbar,.customers-page .customer-list,.invoice-review-list,.customer-history-table-wrap,.year-summary,.backup-card{box-shadow:none}.services-page .page-header,.services-page .customer-list,.services-page .bottom-home-action{max-width:var(--work-region-services)}.services-page .customer-list{border-width:1px;border-radius:var(--radius-small);box-shadow:none}.backup-card{max-width:var(--work-region-backup)}.backup-actions{align-items:flex-start}.backup-actions button{width:min(100%,280px)}.history-tabs{gap:0}.history-tabs button{font-weight:600}.active-status,.inactive-status,.paid-badge,.not-paid,.skipped-label{border-radius:var(--radius-small)}th,.summary-table-heading{font-weight:650}td,.summary-table-row,.history-invoice-row,.invoice-review-row{border-bottom-color:var(--color-divider)}.form-card:not(.business-details-form),.import-card{border-radius:var(--radius-small)}.desktop-command-bar{padding:12px 14px;border:1px solid var(--color-border);border-radius:var(--radius-small);background:#f8fafb}.desktop-list-pane{border:1px solid var(--color-border);border-radius:var(--radius-small);overflow:hidden;background:var(--color-canvas);box-shadow:none}.summary-command-bar{border-width:0 0 1px;border-radius:0}.desktop-list-pane th,.summary-table-heading{background:#f6f8f9}.desktop-list-pane td,.summary-table-row,.history-invoice-row,.invoice-review-row{font-size:.92rem}.desktop-list-pane td>strong,.history-customer>strong,.invoice-customer h2,.summary-table-row>strong{font-weight:650}.customer-toolbar-add{flex:0 0 auto;margin-left:auto;white-space:nowrap}.invoice-summary{grid-template-columns:minmax(640px,1.6fr) minmax(110px,.5fr) minmax(150px,.7fr)}.summary-period{display:grid;grid-template-columns:170px minmax(280px,1fr) 165px;gap:12px;align-items:end}.invoice-summary-month,.invoice-date-field{width:100%;margin:0}.service-period-field{min-width:0;padding-bottom:6px}.summary-period .service-period-value{display:block;margin:0;color:var(--color-text);font-size:.94rem;font-weight:600;line-height:1.4}.customer-history-command-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.customer-history-command-bar.customer-history-identity{padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-small);background:#f8fafb}.customer-history-identity-copy{min-width:0}.customer-history-command-controls{display:flex;flex:0 0 auto;align-items:flex-end;gap:12px}.customer-history-command-controls .secondary-button{white-space:nowrap}.amount-cell,.history-amount,.history-amount-region,.current-invoice-amount,.summary-table-row>span,.customer-history-table td:nth-child(5){font-variant-numeric:tabular-nums}.desktop-utility-pane{border:1px solid var(--color-border);border-radius:var(--radius-small);background:var(--color-canvas)}.backup-card.desktop-utility-pane{grid-template-columns:minmax(0,1fr) 300px;gap:26px;padding:22px}.backup-actions{display:grid;gap:10px;align-content:start;align-items:stretch}.backup-actions h3,.restore-command h3{margin:0;font-size:.94rem;font-weight:650}.backup-command-buttons{display:grid;gap:8px}.backup-command-buttons button,.restore-command button{width:100%}.restore-command{display:grid;gap:8px;margin-top:8px;padding-top:16px;border-top:1px solid var(--color-border)}.backup-actions .restore-command .muted-text-button{margin-top:0;padding-top:8px;border-top:0;text-align:left}@media(min-width:981px){.customers-page .customer-list th:nth-child(3),.customers-page .customer-list td:nth-child(3),.summary-table-heading>span:not(:first-child),.summary-table-row>span,.customer-history-table th:nth-child(5),.customer-history-table td:nth-child(5){text-align:right}}@media(min-width:1280px){.business-details-form .field select,.business-details-form .field input{max-width:720px}.business-details-form .city-row{grid-template-columns:minmax(220px,1fr) 110px 150px}.business-details-form .city-row .field input,.business-details-form .city-row .field select{max-width:none}.business-details-form textarea{max-width:820px}.business-details-form .field>.field-help,.business-details-form .field>.field-error{display:block;max-width:820px}}@media(max-width:1180px){.invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-period,.summary-adjustments{grid-column:1 / -1}.summary-period{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-summary-month{grid-row:1;grid-column:1}.invoice-date-field{grid-row:1;grid-column:2}.service-period-field{grid-row:2;grid-column:1 / -1}}@media(min-width:2100px){.application-content>.page--workspace{width:clamp(var(--page-workspace-base),var(--page-workspace-fluid),var(--page-workspace-cap));max-width:var(--page-workspace-cap)}.application-content>.page--data-wide{width:clamp(var(--page-data-wide-base),var(--page-data-wide-fluid),var(--page-data-wide-cap));max-width:var(--page-data-wide-cap)}.application-content>.page--form{width:clamp(var(--page-form-base),var(--page-form-fluid),var(--page-form-cap));max-width:var(--page-form-cap)}.application-content>.page--compact{width:clamp(var(--page-compact-base),var(--page-compact-fluid),var(--page-compact-cap));max-width:var(--page-compact-cap)}.home-workspace{padding-top:54px}.invoice-review-row{grid-template-columns:minmax(390px,1fr) minmax(240px,320px) minmax(280px,380px)}.customers-page .customer-list th:first-child,.customers-page .customer-list td:first-child{width:24%}.customers-page .customer-list th:nth-child(2),.customers-page .customer-list td:nth-child(2){width:40%}.customers-page .customer-list th:nth-child(3),.customers-page .customer-list td:nth-child(3){width:14%}.customers-page .customer-list th:last-child,.customers-page .customer-list td:last-child{width:22%}.history-invoice-row{grid-template-columns:minmax(380px,720px) 140px 150px minmax(430px,540px)}.summary-table-heading,.summary-table-row{grid-template-columns:minmax(380px,1.35fr) repeat(3,minmax(210px,.72fr));gap:26px}}@media(max-width:980px){.customer-toolbar,.history-toolbar{padding:12px}.customer-toolbar-add{grid-column:2;margin-left:0;justify-self:end}.customer-history-command-bar{align-items:stretch;flex-direction:column}.customer-history-command-controls{justify-content:flex-end}.view-tabs,.history-payment-filter{border:1px solid var(--color-border)}.home-financial-section,.home-actions{padding-inline:0}.workflow-action{border-right:0;border-bottom:1px solid var(--color-divider)}.workflow-action:last-child{border-bottom:0}.backup-card.desktop-utility-pane{grid-template-columns:1fr;padding:18px}.customer-history-table td:before,.customer-list td:before{font-weight:650;letter-spacing:0;text-transform:none}}@media(max-width:800px){.export-completion{align-items:stretch;flex-direction:column}.export-completion-actions{flex-wrap:wrap}.customer-toolbar-add{grid-column:1 / -1;justify-self:start}.customer-history-command-controls{align-items:stretch;flex-direction:column}.backup-actions{align-items:stretch}.backup-actions button{width:100%}}.port-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 20px;background:#102e43;color:#fff;font-size:12px;min-height:40px}.port-banner button{margin-left:16px;border:1px solid #9fcbdc;background:transparent;color:#fff;border-radius:4px;padding:4px 10px}.port-login-stage{min-height:calc(100vh - 40px);display:grid;place-items:center;padding:48px 24px;background:radial-gradient(ellipse at 85% 15%,#086e91 0%,transparent 50%),radial-gradient(ellipse at 0% 100%,#123f86 0%,transparent 55%),#091e34}.port-login{width:100%;max-width:490px;background:#fff;border:1px solid #badbe8;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px #00132665}.port-login-brand{padding:30px 38px;background:#0b293e;border-bottom:4px solid #15c7e7}.port-login img{display:block;width:100%;max-width:320px;margin:auto}.port-login-body{padding:32px 38px;display:grid;gap:20px}.port-login h1{font-size:26px;line-height:1.25;margin:0;color:#102e43}.port-login p{margin:0;line-height:1.6;color:#4b6374}.port-login .primary-button{background:linear-gradient(110deg,#1353bd,#087899);color:#fff;border:0;border-radius:8px;min-height:48px;font-weight:700;box-shadow:0 5px 14px #145eb322}.port-login .primary-button:hover:not(:disabled){background:#124e9f}.port-login .primary-button:disabled{opacity:.6;cursor:default}.port-login input:focus-visible{outline:3px solid #12aace;outline-offset:2px}@media(max-width:520px){.port-login-stage{padding:24px 16px}.port-login-body,.port-login-brand{padding:26px 24px}}.port-downloads{position:fixed;bottom:20px;right:20px;z-index:1000;padding:20px;background:#fff;border:1px solid #b7cdd6;box-shadow:0 4px 24px #17313d25;display:grid;gap:10px;max-width:450px}.port-downloads a{color:#065c80;overflow-wrap:anywhere}.application-frame{min-height:calc(100vh - 40px)}.port-auth-form,.port-auth-form label{display:grid;gap:10px}.port-auth-form{gap:20px}.port-auth-form input{padding:12px;border:1px solid #b7cdd6;border-radius:5px;font:inherit}.port-preview-note{font-size:12px;color:#526775}:root{--color-app-background: #edf5f9;--color-canvas: #fbfdff;--color-surface-subtle: #edf6fa;--color-surface-accent: #e4f3f9;--color-text: #173746;--color-text-strong: #0c2935;--color-text-muted: #506b7b;--color-text-secondary: #506b7b;--color-border: #cddfe8;--color-border-strong: #a1bdcc;--color-divider: #dae7ee;--color-accent: #087f9b;--color-accent-strong: #05677e;--color-accent-soft: #e2f3f9;--browser-panel: linear-gradient(145deg, #fbfdff, #eef7fc);--browser-panel-shadow: 0 2px 7px rgb(12 41 53 / 3%);background:var(--color-app-background)}.application-frame{background:var(--color-app-background)}.application-content{background:linear-gradient(135deg,#f4f9fc,#edf5f9)}.port-banner{position:sticky;top:0;z-index:100;background:var(--color-sidebar)}.port-login-body{background:linear-gradient(145deg,#fcfeff 10%,#eaf5fc)}.port-login-brand{background:var(--color-sidebar)}.port-auth-form input{background:#fff;color:var(--color-text)}.application-content :is(.desktop-command-bar,.customer-history-command-bar.customer-history-identity,.form-card,.import-card,.desktop-utility-pane,.empty-state,.customer-history-summary,.year-summary,.desktop-list-pane,.invoice-review-list,.history-batch,.workflow-actions,.financial-strip){background:var(--browser-panel);border-color:var(--color-border);box-shadow:var(--browser-panel-shadow)}.application-content :is(.desktop-command-bar,.empty-state,.desktop-utility-pane){border-radius:10px}.application-content :is(.desktop-list-pane th,.summary-table-heading,.history-batch>header){background:var(--color-surface-subtle);color:var(--color-text);border-color:var(--color-border)}.application-content :is(.workflow-action,.workflow-action-primary){background:transparent}.application-content :is(.workflow-action:hover,tbody tr:hover,.invoice-review-row:hover:not(.skipped):not(.already-created)){background:var(--color-accent-soft)}.application-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff;color:var(--color-text);border-color:var(--color-border-strong)}.application-content :is(input,textarea)::placeholder{color:#617b8a;opacity:1}.application-content :is(.secondary-button,.history-filter-button){background:var(--color-canvas);border-color:var(--color-border-strong);color:var(--color-text)}.application-content .secondary-button:hover:not(:disabled){background:var(--color-accent-soft)}.application-content .primary-button{background:linear-gradient(110deg,#1353a3,#086f88);border-color:#125a85;color:#fff}.application-content .primary-button:hover:not(:disabled){background:#125774}.application-content .invoice-day-footer{background:#f4fafdf7;border-color:var(--color-border-strong)}.application-content .workspace-logo-wrap{background:#fff}@media(prefers-reduced-motion:no-preference){.application-frame :is(button,input,select,textarea),.port-login :is(button,input),.port-banner button{transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,color .14s ease,transform .12s ease}.application-frame :is(.primary-button,.secondary-button):active:not(:disabled),.port-login button:active:not(:disabled),.port-banner button:active:not(:disabled){transform:translateY(1px)}.application-content,.port-login,.port-downloads{animation:bb-appear .18s ease-out}.application-content .success-message{animation:bb-appear .16s ease-out}.application-content :is(tbody tr,.workflow-action,.history-invoice-row){transition:background-color .14s ease}}@keyframes bb-appear{0%{opacity:.65}to{opacity:1}}@media(hover:hover){.application-content .primary-button:hover:not(:disabled),.port-login .primary-button:hover:not(:disabled){box-shadow:0 3px 12px #086f8833}.application-frame .navigation-item:hover:not([aria-current=page]){background:#123441}}.application-content :is(input,select,textarea):focus-visible,.port-login input:focus-visible{box-shadow:0 0 0 4px #087f9b1a}@media print{.application-content,.port-login,.port-downloads{animation:none}}.brand-home-button{display:block;width:100%;padding:0;border:0;border-radius:5px;background:transparent;text-align:left}.brand-home-button:focus-visible{outline:2px solid #28c5e4;outline-offset:6px}.brand-home-button:hover{filter:brightness(1.08)}.application-content .financial-metric.neutral strong{color:var(--color-text-strong)}.application-content .financial-metric.outstanding strong{color:#8a580d}.mobile-menu-button{display:none}.browser-dialog{position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;overflow:auto;border:1px solid #bfd3df;border-radius:12px;background:#f7fbfe;color:#123441;box-shadow:0 24px 80px #061e3680}.browser-dialog::backdrop{background:#061828a6}.browser-dialog h2{margin-top:0}.browser-dialog.document-dialog{width:min(1100px,calc(100vw - 32px))}.document-dialog iframe{width:100%;height:65dvh;margin-top:16px;border:1px solid #bfd3df;background:#fff}.document-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px}.document-actions a{color:#086b86;font-weight:650}.review-tools{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:20px 0 12px}.review-tools label{display:grid;gap:6px;min-width:180px;font-weight:600}.review-tools input,.review-tools select{min-height:40px}.review-tools p{flex:1 1 240px;font-size:.85rem;margin:0 0 7px;color:#476477}.application-content .invoice-review-row{padding:12px 16px;gap:12px;grid-template-columns:minmax(180px,1.6fr) minmax(140px,.8fr) minmax(210px,1fr)}.application-content .invoice-row-actions{flex-direction:row;flex-wrap:wrap;gap:6px 12px;align-items:center}.application-content .invoice-customer p{margin:3px 0}@media(max-width:1000px){.application-content .invoice-review-row{grid-template-columns:minmax(0,1fr) minmax(120px,.6fr)}.application-content .invoice-row-actions{grid-column:1 / -1}}@media(max-width:760px){.application-frame{display:block}.application-frame .application-sidebar{position:relative;width:100%;height:auto;min-height:0;padding:14px 16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.application-sidebar .application-brand{padding:0;border:0}.application-sidebar .application-brand img{width:148px}.mobile-menu-button{display:block;padding:9px 14px;color:#fff;border:1px solid #608591;border-radius:6px;background:#183d4b}.application-sidebar .application-navigation{display:none;grid-column:1 / -1;padding:6px 0}.application-sidebar.mobile-open .application-navigation{display:grid;grid-template-columns:1fr 1fr}.application-navigation .navigation-divider,.application-sidebar .sidebar-workspace{display:none}.application-content>.page-shell{padding:24px 16px 40px;width:100%;max-width:100%}.application-content .invoice-summary{display:flex;flex-wrap:wrap;gap:16px}.application-content .summary-period{width:100%;display:grid;grid-template-columns:1fr}.application-content .invoice-review-row{grid-template-columns:minmax(0,1fr);padding:16px}.application-content .invoice-amounts{justify-content:flex-start}.application-content .invoice-row-actions{grid-column:auto}.application-content .invoice-day-footer{position:static}.application-content .review-tools{display:grid;grid-template-columns:1fr}.application-content .review-tools label{min-width:0}.application-content :is(.form-grid,.address-grid,.financial-metrics,.home-action-grid,.history-toolbar,.customer-toolbar){grid-template-columns:minmax(0,1fr)}.application-content :is(input,select,textarea){max-width:100%;min-width:0}.application-content :is(button,.text-button){min-height:40px}.port-downloads{left:12px;right:12px;max-width:calc(100vw - 24px)}.browser-dialog{padding:18px}.document-dialog iframe{height:55dvh}.port-banner{gap:12px;flex-wrap:wrap}}.pdf-page-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.pdf-page-controls span{text-align:center}.pdf-page-scroll{max-height:65dvh;overflow:auto;background:#dce6ec}.pdf-page-scroll canvas{display:block;max-width:100%;height:auto;margin:0 auto;background:#fff}@media(max-width:760px){.application-content .summary-period>*{grid-column:auto;grid-row:auto;min-width:0;width:100%}.application-content .summary-period input{width:100%}.application-content .summary-period{display:flex;flex-direction:column}.pdf-page-controls{font-size:.85rem;gap:8px}}.pdf-page-scroll canvas[hidden]{display:none}.application-content .summary-table-heading,.application-content .summary-table-row{grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,.8fr))}.application-content .summary-table-heading{display:grid}.application-content .summary-table-row>*{min-width:0;overflow-wrap:anywhere}.application-content .summary-value-label{display:none}.application-content .summary-figure{display:grid;gap:3px}.application-content .summary-figure small{display:block}@media(max-width:760px){.application-content .summary-table-heading{display:none}.application-content .summary-table-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.application-content .summary-table-row>span{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;text-align:left}.application-content .summary-value-label{display:block;color:var(--color-text-muted)}.application-content .summary-figure{text-align:right}}.pilot-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;background:#eaf6fb;color:#153e51;border-bottom:1px solid #b8d8e6;font-size:13px;line-height:1.5}.pilot-notice>div{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:2px}.pilot-notice strong{font-weight:700}.pilot-notice button{flex-shrink:0;background:transparent;color:#075e7a;border:1px solid #9abecd;border-radius:6px;padding:6px 10px;font:inherit;cursor:pointer}.pilot-notice button:focus-visible{outline:3px solid #1278a0;outline-offset:2px}.pilot-notice-limited{background:#fff6e6;color:#674d1d;border-color:#e8d7af}@media(max-width:640px){.pilot-notice{align-items:flex-start;gap:12px;padding:12px 16px}.pilot-notice>div{display:block}.pilot-notice strong,.pilot-notice span{display:block}}.application-sidebar .account-signout{margin-top:auto;padding-top:18px;border-top:1px solid rgb(255 255 255 / 14%)}.account-signout button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}.application-sidebar .account-signout button{color:#dceaf0}.application-sidebar .account-signout button:hover{background:#173c4a;color:#fff}.account-signout button:focus-visible{outline:2px solid #20bdda;outline-offset:2px}.account-unsaved{display:block;padding:0 14px 8px;font-size:12px}.first-use-shell>.account-signout{margin-left:auto;width:max-content;color:#075e7a}@media(max-width:760px){.application-sidebar .account-signout{display:none;grid-column:1/-1;margin-top:0;padding-top:10px}.application-sidebar.mobile-open .account-signout{display:block}}@media(min-width:761px){.application-frame .application-sidebar{height:calc(100dvh - var(--pilot-notice-height,64px));min-height:540px}}
