:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7f9;color:#172033;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f6f7f9;font-size:14px;overflow-x:hidden}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(110deg,rgba(15,118,110,.12),transparent 40%),linear-gradient(260deg,rgba(194,65,12,.08),transparent 45%),#f6f7f9}.login-panel{width:min(400px,100%);background:#fff;border:1px solid #dde3ea;border-radius:8px;padding:22px;box-shadow:0 24px 70px #1720331f}.login-brand,.brand,.sidebar-footer,.page-header,.panel-heading,.row-actions{display:flex;align-items:center}.login-brand{gap:12px;margin-bottom:22px}.login-brand h1,.page-header h2,.panel-heading h3{margin:0}.login-brand p,.eyebrow,.muted,small{color:#637083}.brand-mark{width:36px;height:36px;border-radius:8px;display:inline-grid;place-items:center;color:#fff;background:#0f766e;flex:0 0 auto}.nav-item svg,.icon-button svg,.primary-button svg,td button svg,.danger-button svg,.panel-heading svg,.receipt-actions svg,.row-actions svg{width:14px;height:14px}.shell{min-height:100vh;display:grid;grid-template-columns:188px minmax(0,1fr);width:100%}.sidebar{background:#fff;border-right:1px solid #dde3ea;padding:13px;display:flex;flex-direction:column;gap:14px;position:sticky;top:0;height:100vh;min-width:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.brand{gap:10px}.brand strong,.sidebar-footer strong{display:block}.brand small,.sidebar-footer small,td small{display:block;margin-top:2px;font-size:11px}.nav-list{display:grid;gap:5px;min-width:0}.nav-item,.icon-button,.primary-button,td button,.danger-button{border-radius:8px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .15s ease,color .15s ease,border-color .15s ease}.nav-item{width:100%;justify-content:flex-start;padding:0 8px;color:#344256;background:transparent;white-space:nowrap}.nav-item span{overflow:hidden;text-overflow:ellipsis}.nav-item:hover,.nav-item.active{background:#e7f5f3;color:#0f766e}.sidebar-footer{margin-top:auto;justify-content:space-between;gap:10px;border-top:1px solid #dde3ea;padding-top:13px}.icon-button,td button,.danger-button{background:#eef2f6;color:#172033;padding:0 10px}.icon-button{width:32px;padding:0}.secondary-wide-button{width:100%;padding:0 13px}.content{width:100%;min-width:0;max-width:none;padding:20px clamp(18px,2vw,32px)}.page-stack{display:grid;gap:14px;min-width:0}.page-header{justify-content:space-between;gap:13px;min-width:0}.page-header>div{min-width:0}.page-header select{max-width:176px}.eyebrow{margin:0 0 3px;text-transform:uppercase;letter-spacing:0;font-size:11px;font-weight:800}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;min-width:0}.stat-card,.panel{background:#fff;border:1px solid #dde3ea;border-radius:8px}.stat-card{min-height:90px;padding:13px;display:grid;align-content:space-between;gap:8px;min-width:0}.stat-card span{color:#637083;font-size:12px}.stat-card strong{font-size:20px;line-height:1.1;overflow-wrap:anywhere}.workspace-grid{display:grid;grid-template-columns:minmax(320px,.55fr) minmax(0,1.45fr);gap:16px;align-items:start;min-width:0}.workspace-grid.production-workspace{grid-template-columns:minmax(0,1fr)}.production-primary-stack{display:contents}.production-weekly-form{order:1}.production-report-panel{order:2}.production-weekly-history{order:3}.production-topup-list{order:4}.production-meter-list{order:5}.production-setup-stack{order:6;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.production-topup-form{order:1}.production-meter-form{order:2}.workspace-grid.payments-workspace-grid{grid-template-columns:minmax(0,1fr)}.workspace-grid.payroll-workspace-grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr);grid-auto-flow:dense;align-items:start}.payroll-workspace-grid>.page-stack{display:contents}.payroll-run-panel{grid-column:1;order:1}.payroll-review-panel{grid-column:2;grid-row:1 / span 3;order:3}.payroll-create-run{grid-column:1;order:2}.payroll-period-form{grid-column:1;order:4}.payroll-line-editor{grid-column:2;order:4}.payroll-recurring-form{grid-column:1;order:5}.payroll-recurring-register,.payroll-period-register{grid-column:1 / -1}.payroll-recurring-register{order:6}.payroll-period-register{order:7}.workspace-grid.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;min-width:0}.dashboard-chart-wide{grid-column:1 / -1}.dashboard-chart{width:100%;height:260px;min-width:0}.action-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;min-width:0}.action-group-panel{min-width:0}.action-list{display:grid;gap:8px}.action-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #dde3ea;border-radius:8px;background:#fff;min-width:0}.action-item.active{border-color:#cbd5e1;background:#fbfcfd}.action-item-main,.action-item-meta,.snapshot-list div{display:flex;align-items:center}.action-item-main{gap:9px;min-width:0}.action-item-main div{min-width:0}.action-item-main strong,.action-item-main small{display:block}.action-item-main strong{overflow-wrap:anywhere}.action-icon{width:28px;height:28px;border-radius:8px;display:inline-grid;place-items:center;flex:0 0 auto}.action-icon-high{background:#fee2e2;color:#991b1b}.action-icon-medium{background:#fef3c7;color:#92400e}.action-icon-low{background:#dbeafe;color:#1e40af}.action-icon-clear{background:#dcfce7;color:#166534}.action-item-meta{justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:150px}.action-count{font-weight:800;color:#172033}.action-open-button{min-height:30px;border-radius:8px;padding:0 9px;display:inline-flex;align-items:center;gap:6px;background:#eef2f6;color:#172033}.action-open-button:hover{background:#e7f5f3;color:#0f766e}.snapshot-list{display:grid;gap:8px}.snapshot-list div{min-height:34px;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #edf1f5}.snapshot-list div:last-child{border-bottom:0}.snapshot-list span{flex:1;color:#637083}.focus-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #cbd5e1;border-left:4px solid #0f766e;border-radius:8px;background:#f8fafc}.focus-notice strong,.focus-notice small{display:block}.focus-notice button{min-height:30px;border-radius:8px;padding:0 10px;background:#eef2f6;color:#172033;flex:0 0 auto}.workspace-grid.portal-workspace-grid{grid-template-columns:minmax(0,1fr)}.payments-entry-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}.bank-trainer-panel,.payment-import-panel{grid-column:1 / -1}.bank-trainer-panel textarea{min-height:150px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;min-width:0}.full-span{grid-column:1 / -1}.filter-bar{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr)) 36px 36px;gap:8px;align-items:end;min-width:min(100%,640px)}.statement-filter{grid-template-columns:repeat(2,minmax(120px,1fr)) minmax(120px,auto);margin-bottom:13px}.statement-preview{display:grid;gap:13px}.communication-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;padding:13px}.whatsapp-readiness-panel{display:grid;gap:4px;align-content:start;padding:10px;border:1px solid #dde3ea;border-radius:8px;background:#f8fafc}.campaign-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:10px;padding:0 13px 12px}.campaign-history-wrap table{min-width:1040px}.campaign-results-wrap table{min-width:980px}.template-preview-field{grid-column:1 / -1}.template-preview-field textarea{min-height:180px}.template-actions{grid-column:1 / -1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.template-actions .checkbox-row{margin-right:auto}.template-status-message{grid-column:1 / -1}.bulk-action-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 13px 12px;border-bottom:1px solid #edf0f4}.bulk-action-bar>div{display:grid;gap:2px;min-width:130px;margin-right:auto}.bulk-action-bar small{display:block}.communications-table-wrap{max-height:680px;overflow-x:hidden}.communications-table-wrap table{min-width:100%;table-layout:fixed}.communications-table-wrap th,.communications-table-wrap td{overflow-wrap:anywhere;vertical-align:top}.communications-table-wrap th:nth-child(1),.communications-table-wrap td:nth-child(1){width:4%}.communications-table-wrap th:nth-child(2),.communications-table-wrap td:nth-child(2){width:24%}.communications-table-wrap th:nth-child(3),.communications-table-wrap td:nth-child(3){width:11%}.communications-table-wrap th:nth-child(4),.communications-table-wrap td:nth-child(4),.communications-table-wrap th:nth-child(5),.communications-table-wrap td:nth-child(5){width:12%}.communications-table-wrap th:nth-child(6),.communications-table-wrap td:nth-child(6){width:7%}.communications-table-wrap th:nth-child(7),.communications-table-wrap td:nth-child(7),.communications-table-wrap th:nth-child(8),.communications-table-wrap td:nth-child(8){width:9%}.communications-table-wrap th:nth-child(9),.communications-table-wrap td:nth-child(9),.communications-table-wrap th:nth-child(10),.communications-table-wrap td:nth-child(10){width:6%}.communications-table-wrap td button{width:100%;min-height:30px;padding:6px 4px;display:inline-flex;align-items:center;justify-content:center;gap:4px}.compact-checkbox{display:inline-flex;font-size:11px}.compact-checkbox span{display:none}.communication-message-cell{min-width:0;max-width:none}.message-preview{white-space:pre-line;overflow-wrap:anywhere;border:1px solid #dde3ea;border-radius:8px;padding:10px;background:#f8fafc;color:#172033;font-size:12px;line-height:1.38;max-height:260px;overflow-y:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#1720336b}.modal-panel{width:min(960px,100%);max-height:min(860px,calc(100vh - 40px));overflow:auto;background:#fff;border:1px solid #dde3ea;border-radius:8px;padding:16px;box-shadow:0 24px 70px #1720332e}.audit-detail-modal{display:grid;gap:14px}.override-dialog{display:grid;gap:12px;width:min(480px,100%)}.override-dialog textarea{min-height:110px}.audit-detail-grid,.audit-snapshot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;min-width:0}.audit-detail-grid>div{display:grid;gap:3px;min-width:0;padding:10px;border:1px solid #edf0f4;border-radius:8px;background:#f8fafc}.audit-detail-grid span{color:#637083;font-size:12px}.audit-detail-grid strong,.audit-detail-grid small{overflow-wrap:anywhere}.audit-snapshot-grid h3{margin:0 0 8px}.json-block,.json-inline{margin:0;max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:Cascadia Mono,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.45}.json-block{min-height:120px;max-height:320px;padding:10px;border:1px solid #edf0f4;border-radius:8px;background:#f8fafc}.json-inline{max-height:170px}.customer-statement-print,.production-report-print{display:none}.wide-panel,.chart-panel{min-width:0}.panel{padding:16px;min-width:0}.panel-heading{justify-content:space-between;gap:10px;margin-bottom:11px;min-width:0}.panel-heading h3{overflow-wrap:anywhere}.compact-heading{margin:6px 0 0}.supporting-documents-panel{display:grid;gap:10px}.document-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.document-file-input{align-items:center;border:1px solid var(--border);border-radius:6px;cursor:pointer;display:inline-flex;flex-direction:row;gap:8px;height:40px;justify-content:center;min-width:136px;padding:0 12px}.document-file-input input{display:none}.logo-preview{width:100%;min-height:76px;display:grid;place-items:center;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;padding:10px}.logo-preview img{max-width:176px;max-height:70px;object-fit:contain}.receipt-actions{display:flex;justify-content:flex-end;gap:6px;margin-bottom:13px}.receipt-print{width:min(100%,688px);max-width:688px;margin:0 auto;overflow-x:hidden}.receipt-header{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;border-bottom:2px solid #172033;padding-bottom:13px}.receipt-header h3{margin:0 0 5px;font-size:19px}.receipt-header p,.receipt-footer p{margin:2px 0;color:#344256}.receipt-logo,.receipt-logo-mark{width:74px;height:58px;object-fit:contain}.receipt-logo-mark{display:grid;place-items:center;border-radius:8px;background:#0f766e;color:#fff;font-weight:900;font-size:19px}.receipt-title,.receipt-info-grid,.receipt-total{display:grid;gap:10px}.receipt-title{grid-template-columns:1fr 1fr;margin:14px 0}.receipt-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.receipt-title div,.receipt-info-grid div,.receipt-total{border:1px solid #dde3ea;border-radius:8px;padding:10px}.receipt-title span,.receipt-info-grid span,.receipt-total span{display:block;color:#637083;font-size:11px;font-weight:800;text-transform:uppercase}.receipt-title strong,.receipt-info-grid strong,.receipt-total strong{display:block;margin-top:3px}.receipt-table{width:100%;min-width:0;margin-top:8px;table-layout:fixed}.receipt-print table{width:100%;min-width:0;table-layout:fixed}.receipt-print th,.receipt-print td{overflow-wrap:anywhere;word-break:break-word}.receipt-total{grid-template-columns:1fr auto;align-items:center;margin-top:11px}.portal-profile-panel{overflow:hidden}.portal-statement-panel{display:grid;gap:12px}.portal-statement-panel .receipt-header,.portal-statement-panel .receipt-title,.portal-statement-panel .receipt-info-grid{margin-top:0}.portal-account-switcher{display:grid;gap:5px;min-width:min(100%,280px);color:#637083;font-size:11px;font-weight:800;text-transform:uppercase}.portal-account-switcher select{min-height:38px;text-transform:none;font-size:14px;font-weight:700;color:#172033}.portal-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.portal-profile-grid div,.empty-state{border:1px solid #dde3ea;border-radius:8px;background:#f8fafc;padding:12px}.portal-profile-grid span,.empty-state span{display:block;color:#637083;font-size:11px;font-weight:800;text-transform:uppercase}.portal-profile-grid strong,.empty-state strong{display:block;margin-top:3px}.portal-profile-grid small{display:block;color:#637083;margin-top:3px}.compact-heading{margin-bottom:8px}.compact-heading h4{margin:0;font-size:13px}.linked-account-picker{display:grid;gap:8px;grid-column:1 / -1}.linked-account-list{display:grid;gap:6px;max-height:230px;overflow:auto;padding:6px;border:1px solid #dde3ea;border-radius:8px;background:#f8fafc}.linked-account-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;margin:0;padding:8px;border:1px solid #e5e9ef;border-radius:8px;background:#fff}.linked-account-option input{width:16px;height:16px}.linked-account-option span,.linked-account-option small{min-width:0}.linked-account-option strong,.linked-account-option small{display:block}.linked-account-option small{color:#637083}.linked-account-option em{font-style:normal;font-size:11px;font-weight:800;color:#0f766e}.context-choice{grid-template-columns:minmax(0,1fr);width:100%;text-align:left;cursor:pointer}.context-choice:hover{border-color:#0ea5e9}.access-profile-panel{display:grid;gap:10px;padding-top:6px}.access-profile-row{grid-template-columns:minmax(0,1fr) auto auto}.divider-line{height:1px;background:#e5e9ef}.compact-form{gap:10px}.empty-state{display:grid;gap:4px;text-align:left}.muted-total{background:#f8fafc}.receipt-footer{margin-top:18px;border-top:1px solid #dde3ea;padding-top:11px;text-align:center}.report-print{display:grid;gap:14px}.production-report-print.report-print{display:none}.report-print-header{display:grid;grid-template-columns:74px minmax(0,1fr) minmax(144px,auto);gap:14px;align-items:center;border-bottom:2px solid #172033;padding-bottom:13px}.report-print-header h3{margin:0 0 5px;font-size:19px}.report-print-header p,.report-print-footer p{margin:2px 0;color:#344256}.report-print-meta{text-align:right}.report-print-meta span{display:block;color:#637083;font-size:11px;font-weight:800;text-transform:uppercase}.report-print-meta strong,.report-print-meta small{display:block;margin-top:3px}.report-print-footer{border-top:1px solid #dde3ea;padding-top:11px;text-align:center}.user-email-cell{max-width:220px;overflow-wrap:anywhere;word-break:break-word}.production-week-summary td{background:#f8fafc;font-weight:800}.production-week-summary small{font-weight:600}.production-print-week-list{display:grid;gap:14px}.production-print-week{display:grid;gap:6px}.production-meter-detail-table{margin-top:0}.report-print-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}.report-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.compact-report-catalog{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.report-catalog-item{align-items:flex-start;background:#fff;border:1px solid #dde3ea;border-radius:8px;color:#162033;display:grid;gap:4px;min-height:82px;padding:11px;text-align:left}.report-catalog-item:hover:not(:disabled),.report-catalog-item.active{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.report-catalog-item:disabled{cursor:default;opacity:.72}.report-catalog-item span,.report-catalog-item small{color:#637083}.report-section-collapsed{display:none}.profit-loss-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profit-loss-statement,.form-grid{display:grid;gap:10px;min-width:0}label{display:grid;gap:5px;color:#344256;font-weight:700;font-size:12px}.checkbox-row{display:inline-flex;align-items:center;gap:8px}.checkbox-row input{width:16px;min-height:16px}input,select,textarea{width:100%;max-width:100%;border:1px solid #cbd5e1;background:#fff;color:#172033;border-radius:8px;min-height:34px;padding:8px 10px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:3px solid rgba(15,118,110,.16);border-color:#0f766e}.primary-button{width:100%;background:#0f766e;color:#fff;padding:0 13px;font-weight:800}.primary-button:hover{background:#115e59}button:disabled{cursor:not-allowed;opacity:.55}.danger-button{color:#fff;background:#b42318}.form-error,.form-note,.balance-note{margin:0;padding:8px 10px;border-radius:8px;font-size:12px}.form-error{background:#fef2f2;color:#b42318}.form-note{background:#eef7ed;color:#2f6b2f}.toast-message{position:fixed;top:18px;right:clamp(12px,2vw,28px);z-index:80;width:min(420px,calc(100vw - 24px));display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:start;padding:12px 14px;border:1px solid #dde3ea;border-left:4px solid #16a34a;border-radius:8px;background:#fff;color:#172033;box-shadow:0 18px 48px #17203329;animation:toast-in .18s ease-out}.toast-message strong{font-size:12px;font-weight:800;line-height:1.2;text-transform:uppercase;color:#637083}.toast-message span{grid-column:1;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.toast-message button{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;width:28px;min-height:28px;padding:0;border:0;border-radius:8px;background:#eef2f6;color:#172033}.toast-success{border-left-color:#16a34a}.toast-error{border-left-color:#b42318}.toast-info{border-left-color:#1d4f91}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:720px){.toast-message{top:10px;right:10px;left:10px;width:auto}}.balance-note{background:#eef6ff;color:#1d4f91;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.reading-context{display:grid;gap:8px;padding:10px;border:1px solid #d7e8e5;border-radius:8px;background:#f3faf8}.reading-context div{display:grid;gap:3px}.payroll-run-context{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}.payroll-run-list{display:grid;gap:8px;max-height:320px;overflow-y:auto;padding-right:2px}.payroll-run{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #dde3ea;border-radius:8px;background:#fff;color:#172033;text-align:left}.payroll-run:hover,.payroll-run.active{border-color:#b9e6df;background:#f3faf8}.payroll-run strong,.payroll-run small{overflow-wrap:anywhere}.payroll-line-editor{grid-template-columns:repeat(5,minmax(120px,1fr))}.maintenance-expense-form{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:10px;padding:10px;border:1px solid #dde3ea;border-radius:8px;background:#f8fafc}.payroll-line-editor .panel-heading,.payroll-line-editor label:last-of-type,.payroll-line-editor button{grid-column:1 / -1}.payroll-review-panel .table-wrap{max-height:680px}.payroll-recurring-register .table-wrap,.payroll-period-register .table-wrap{max-height:420px}.reading-context span{color:#637083;font-size:11px;font-weight:800;text-transform:uppercase}.readiness-panel{margin-top:16px;padding-top:14px;border-top:1px solid #edf0f4;display:grid;gap:12px}.readiness-list{display:grid;gap:8px}.readiness-check{display:grid;grid-template-columns:minmax(0,1fr) minmax(126px,auto);gap:12px;align-items:center;padding:10px;border:1px solid #edf0f4;border-radius:8px;background:#fff}.readiness-check>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;align-items:center;min-width:0}.readiness-check strong,.readiness-check small{min-width:0;overflow-wrap:anywhere}.readiness-check small{grid-column:2;color:#637083}.readiness-check-meta{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.readiness-check-meta span{font-weight:800}.audit-panel{border:1px solid #dde3ea;border-radius:8px;padding:10px;background:#f8fafc;display:grid;gap:8px}.audit-list{display:grid;gap:7px;max-height:220px;overflow-y:auto}.audit-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px;border:1px solid #edf0f4;border-radius:8px;background:#fff}.audit-item strong,.audit-item span{overflow-wrap:anywhere}.table-wrap{overflow-x:auto;overflow-y:auto;max-width:100%;max-height:560px;-webkit-overflow-scrolling:touch}.table-wrap thead th{position:sticky;top:0;z-index:1;background:#fff}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}.filter-toolbar{justify-content:flex-start;align-items:end}.filter-toolbar label{min-width:min(100%,150px);max-width:220px}.compact-table-wrap{max-height:320px}.table-search{position:relative;flex:1 1 240px;max-width:360px}.table-search>svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#637083;pointer-events:none}.table-search input{padding-left:32px;padding-right:34px}.table-search button{position:absolute;right:5px;top:50%;width:26px;min-height:26px;padding:0;transform:translateY(-50%);border-radius:6px;background:transparent;color:#637083}.table-pager{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;color:#637083;font-size:12px}.table-pager select{width:auto;min-width:96px}.table-pager button{width:30px;min-height:30px;border-radius:8px;display:inline-grid;place-items:center;background:#eef2f6;color:#172033}.table-pager strong{color:#344256;min-width:42px;text-align:center}table{width:100%;border-collapse:collapse;min-width:520px}th,td{text-align:left;padding:8px 7px;border-bottom:1px solid #edf0f4;vertical-align:middle}th{color:#637083;font-size:11px;text-transform:uppercase;letter-spacing:0}td{color:#273449}.selected-row td{background:#eef7ff}.quality-detail-panel{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f4}.row-actions{gap:6px;flex-wrap:wrap}.status{display:inline-flex;align-items:center;min-height:24px;border-radius:8px;padding:0 8px;font-size:11px;font-weight:800;text-transform:capitalize}.status-paid{background:#dcfce7;color:#166534}.status-partial{background:#fef3c7;color:#92400e}.status-unpaid{background:#fee2e2;color:#991b1b}.status-valid,.status-ready,.status-approved,.status-sent{background:#dcfce7;color:#166534}.status-invalid,.status-rejected,.status-failed,.status-critical{background:#fee2e2;color:#991b1b}.status-open,.status-pending,.status-pending_approval,.status-held,.status-skipped{background:#dbeafe;color:#1e40af}.status-in_progress,.status-normal{background:#e0f2fe;color:#075985}.status-resolved,.status-low,.status-reapplied{background:#dcfce7;color:#166534}.status-cancelled,.status-discarded,.status-terminated,.status-replaced{background:#f4f4f5;color:#52525b}.status-high,.status-review{background:#fef3c7;color:#92400e}.status-watch{background:#dbeafe;color:#1e40af}.status-urgent{background:#fee2e2;color:#991b1b}.status-draft{background:#eef2f6;color:#344256}.status-closed,.status-locked{background:#e4e4e7;color:#3f3f46}@media(max-width:1050px){.shell{grid-template-columns:1fr}.sidebar{position:sticky;height:auto;z-index:10;border-right:0;border-bottom:1px solid #dde3ea;padding:10px 13px;gap:10px;flex-direction:row;flex-wrap:wrap;align-items:center;overflow-y:visible}.brand{order:1;flex:1 1 176px;min-width:0}.brand-mark{width:30px;height:30px}.nav-list{order:3;flex:0 0 calc(100% + 26px);display:flex;gap:6px;margin:0 -13px;padding:0 13px 3px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}.nav-item{flex:0 0 auto;width:auto;min-width:max-content;min-height:30px;padding:0 10px;background:#f8fafc;border:1px solid #edf0f4;scroll-snap-align:start}.nav-item.active{border-color:#b9e6df}.sidebar-footer{order:2;flex:0 1 auto;margin-top:0;border-top:0;padding-top:0}.content{padding:14px}.workspace-grid,.portal-profile-grid,.dashboard-chart-grid,.action-center-grid,.profit-loss-grid,.report-grid,.payroll-run-context{grid-template-columns:1fr 1fr}.communications-table-wrap{overflow-x:auto}.communications-table-wrap table{min-width:1120px}}@media(max-width:720px){.content,.sidebar{padding:11px}.nav-list{margin:0 -11px;padding:0 11px 3px}.workspace-grid,.portal-profile-grid,.dashboard-chart-grid,.action-center-grid,.profit-loss-grid,.report-grid,.payroll-run-context,.maintenance-expense-form,.payroll-line-editor,.action-item{grid-template-columns:1fr}.action-item-meta{justify-content:flex-start;min-width:0}.payroll-run-panel,.payroll-review-panel,.payroll-create-run,.payroll-period-form,.payroll-line-editor,.payroll-recurring-form,.payroll-recurring-register,.payroll-period-register{grid-column:1;grid-row:auto}.payments-entry-grid{grid-template-columns:1fr}.page-header{align-items:flex-start;flex-direction:column}.filter-bar{width:100%;grid-template-columns:1fr;min-width:0}.page-header select{max-width:none}.panel,.stat-card{padding:11px}.login-panel{padding:16px}th,td{padding:7px 6px}}@media(max-width:560px){.sidebar{gap:8px}.brand small,.sidebar-footer small{display:none}.sidebar-footer{align-items:center}.sidebar-footer>div{min-width:0}.sidebar-footer strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-item{min-height:29px;padding:0 8px}.content{padding:11px 10px}.page-stack{gap:11px}.page-header{gap:8px}.panel-heading{align-items:flex-start}.receipt-title,.receipt-info-grid,.receipt-header,.report-print-header{grid-template-columns:1fr}.receipt-print{padding:10px}.receipt-print th,.receipt-print td{padding:6px 4px;font-size:11px;line-height:1.25}.report-print-meta{text-align:left}}@media print{@page{size:A4;margin:14mm}body{background:#fff}.shell,.content{display:block;min-height:auto;padding:0}body *{visibility:hidden}.receipt-print,.receipt-print *,.active-print-surface,.active-print-surface *{visibility:visible}.receipt-print,.active-print-surface{position:static;inset:auto;width:100%;max-width:none;border:0;box-shadow:none;padding:0}.content>.page-stack>:not(.print-surface):not(.active-print-surface):not(:has(.active-print-surface)):not(:has(.receipt-print)){display:none!important}.page-stack:has(>.receipt-print)>:not(.receipt-print){display:none!important}.workspace-grid:has(.receipt-print),.page-stack:has(>.receipt-print){display:block!important}.workspace-grid:has(.receipt-print)>:not(:has(.receipt-print)),.page-stack:has(.active-print-surface)>:not(.active-print-surface):not(:has(.active-print-surface)){display:none!important}.customer-statement-print.active-print-surface,.production-report-print.active-print-surface{display:grid}.report-print:not(.active-print-surface){display:none!important}.sidebar,.page-header,.screen-only,.table-toolbar{display:none!important}.table-wrap{max-height:none;overflow:visible}.table-wrap thead th{position:static}.receipt-title div,.receipt-info-grid div,.receipt-total,.stat-card{break-inside:avoid}.report-print .panel,.report-section,.profit-loss-statement{break-inside:auto;page-break-inside:auto}.report-print-header,.report-print-footer,.panel-heading,tr{break-inside:avoid;page-break-inside:avoid}table{min-width:0;font-size:10px}th,td{padding:6px 5px}.report-grid,.stat-grid,.profit-loss-grid{grid-template-columns:1fr;gap:10px}.active-print-surface:not(.report-print-all) .report-summary-section,.active-print-surface:not(.report-print-all) .report-section,.active-print-surface:not(.report-print-all) .management-section{display:none}.active-print-surface.report-print-billingSummary .management-section-billingSummary,.active-print-surface.report-print-agingAnalysis .management-section-agingAnalysis,.active-print-surface.report-print-collections .management-section-collections,.active-print-surface.report-print-routeSummary .management-section-routeSummary,.active-print-surface.report-print-customerBalances .management-section-customerBalances,.active-print-surface.report-print-maintenanceStatus .management-section-maintenanceStatus,.active-print-surface.report-print-maintenanceCategory .management-section-maintenanceCategory,.active-print-surface.report-print-maintenanceZone .management-section-maintenanceZone,.active-print-surface.report-print-maintenanceAssignee .management-section-maintenanceAssignee,.active-print-surface.report-print-maintenanceRegister .management-section-maintenanceRegister,.active-print-surface.report-print-profitLoss .report-section-profitLoss,.active-print-surface.report-print-cashProfitLoss .report-section-profitLoss,.active-print-surface.report-print-accrualProfitLoss .report-section-profitLoss,.active-print-surface.report-print-billingStatus .report-section-billingStatus,.active-print-surface.report-print-collectionsChannel .report-section-collectionsChannel,.active-print-surface.report-print-billingZone .report-section-billingZone,.active-print-surface.report-print-billingRegister .report-section-billingRegister,.active-print-surface.report-print-receiptRegister .report-section-receiptRegister,.active-print-surface.report-print-allocationLedger .report-section-allocationLedger,.active-print-surface.report-print-agingDetail .report-section-agingDetail,.active-print-surface.report-print-depositRegister .report-section-depositRegister,.active-print-surface.report-print-expensesCategory .report-section-expensesCategory,.active-print-surface.report-print-expenseRegister .report-section-expenseRegister,.active-print-surface.report-print-contractorPayables .report-section-contractorPayables,.active-print-surface.report-print-contractorBalances .report-section-contractorBalances,.active-print-surface.report-print-contractorInvoiceRegister .report-section-contractorInvoiceRegister{display:block}.active-print-surface.report-print-cashProfitLoss .profit-loss-statement-accrual,.active-print-surface.report-print-accrualProfitLoss .profit-loss-statement-cash{display:none}.report-print-header{grid-template-columns:72px minmax(0,1fr)}.report-print-meta{grid-column:1 / -1;text-align:left}}
