:root{--bg:#f1f2f5;--white:#fff;--ink:#20232b;--muted:#848995;--line:#eceef2;--blue:#4266ed;--blue-soft:#edf1ff;--green:#18a777;--red:#dc5363;--orange:#e0a34a;--radius:20px;--shadow:0 4px 26px #28365406;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4266ed66;outline-offset:3px}button{border:0}svg{width:20px;height:20px;flex-shrink:0;stroke-width:1.7}.skip-link{position:fixed;left:12px;top:-60px;padding:12px;background:white;z-index:100}.skip-link:focus{top:10px}.app-shell{min-height:100vh;padding-left:240px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:white;display:flex;flex-direction:column;padding:31px 18px 18px;z-index:40;border-right:1px solid #e9ebf1}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:24px;letter-spacing:-1px;padding:0 13px}.brand-mark{height:34px;width:34px;display:inline-flex;align-items:center;justify-content:center;background:var(--blue);border-radius:11px;color:white;font-size:24px;font-weight:800;letter-spacing:-3px;padding-right:3px;box-shadow:0 4px 12px #4266ed28}.brand small{font-size:10px;letter-spacing:1px;background:#f1f3f9;border-radius:5px;padding:3px 5px;margin-left:auto;color:var(--muted)}.workspace{display:flex;gap:10px;align-items:center;margin:29px 8px 18px;padding:13px 8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.workspace-icon{display:grid;place-items:center;background:#f3f4f8;border-radius:9px;width:34px;height:34px;color:#727888}.workspace span{font-size:12px;color:var(--muted)}.workspace strong{font-size:12px;display:block;color:var(--ink);max-width:147px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-scroll{overflow:auto;flex:1;scrollbar-width:thin}.nav-group{margin:17px 0 9px;padding:0 16px;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#9b9fa9;font-weight:650}.nav-link{display:flex;align-items:center;gap:12px;margin:3px 0;border-radius:10px;padding:11px 15px;color:#7d828f;position:relative;font-weight:500;font-size:13px;min-height:43px}.nav-link.active{color:var(--blue);background:linear-gradient(90deg,#eaf0ff,#f6f8ff);font-weight:650}.nav-link.active:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:var(--blue);border-radius:5px}.nav-link:hover{background:#f6f7fa}.nav-badge{margin-left:auto;background:#ebeffb;color:var(--blue);padding:1px 7px;border-radius:7px;font-size:10px}.sidebar-bottom{border-top:1px solid var(--line);padding-top:10px;margin-top:13px}.profile{display:flex;align-items:center;gap:9px;padding:12px 7px 0}.avatar{height:34px;width:34px;background:#e9edfc;color:var(--blue);border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.profile-info{min-width:0;flex:1}.profile-info strong{font-size:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.profile-info small{color:var(--muted);font-size:10px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;background:transparent;color:#7b8291;border:1px solid var(--line);border-radius:10px;flex-shrink:0}.icon-btn:hover{color:var(--blue);background:var(--blue-soft)}.profile .icon-btn{border:0;width:30px}.topbar{height:82px;border-bottom:1px solid #e5e7ec;display:flex;align-items:center;gap:16px;padding:0 32px;background:var(--bg)}.breadcrumb{font-size:13px;display:flex;align-items:center;gap:10px;white-space:nowrap}.breadcrumb span{color:#9095a0}.topbar-spacer{flex:1}.searchbox{height:38px;display:flex;align-items:center;gap:9px;color:#9da2ad;background:#fff;border:1px solid #e9ebf1;padding:0 12px;border-radius:9px;width:245px}.searchbox input{border:0;background:transparent;outline:0;width:100%;min-width:0;font-size:12px;color:var(--ink)}.searchbox svg{width:16px}.searchbox kbd{font-family:inherit;font-size:10px;padding:1px 5px;border:1px solid var(--line);border-radius:4px;white-space:nowrap}.date-chip{display:flex;align-items:center;gap:7px;font-size:11px;color:#707783;white-space:nowrap}.date-chip svg{width:16px}.notification-btn{position:relative}.notification-btn:after{position:absolute;content:"";width:5px;height:5px;background:var(--blue);border:2px solid var(--bg);right:10px;top:8px;box-sizing:content-box;border-radius:50%}.mobile-menu{display:none}main{padding:29px 32px 36px;max-width:1780px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:23px}.eyebrow{font-size:10px;letter-spacing:1.35px;color:#8a91a0;text-transform:uppercase;margin:0 0 5px;font-weight:600}h1{font-weight:640;font-size:26px;letter-spacing:-.9px;line-height:1.2;margin:0 0 8px}h2{font-weight:620;font-size:15px;letter-spacing:-.25px;margin:0}h3{font-size:14px;margin:0;font-weight:600}p{margin:0}.page-head p{color:var(--muted);font-size:12px}.head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{border:1px solid #e1e5ed;border-radius:9px;background:#fff;color:#545d70;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;font-size:12px;font-weight:600;min-height:39px;white-space:nowrap}.btn svg{width:16px;height:16px}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 8px #4266ed18}.btn.primary:hover{background:#3555ce}.btn:hover{border-color:#acb9e8}.btn.subtle{background:transparent;border-color:transparent;color:#808796;padding:6px 8px}.btn.danger{color:#ca4657;background:#fff5f6;border-color:#f8d8dd}.btn.small{padding:6px 10px;min-height:31px;font-size:11px}.btn.full{width:100%}.btn:disabled{pointer-events:none}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:21px}.stat{border-radius:var(--radius);padding:20px 21px 18px;background:white;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#8e95a2;font-size:12px;gap:10px}.stat-top svg{width:17px;color:#8f97a7}.stat-value{font-size:31px;font-weight:530;letter-spacing:-1.2px;line-height:1.2;margin:17px 0 10px;white-space:nowrap}.stat-value.money{font-size:29px}.stat-bottom{display:flex;align-items:center;gap:5px;color:#9298a5;font-size:10px;min-height:19px}.stat-bottom strong{color:#65728b;font-weight:550}.mini-progress{display:flex;gap:3px;margin-top:13px;height:4px}.mini-progress i{background:#e8edfc;flex:1;border-radius:3px}.mini-progress i.on{background:#4770ee}.mini-progress.green i.on{background:#25b78b}.mini-progress.orange i.on{background:#eeb771}.grid-2{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:21px;margin-bottom:21px}.grid-even{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{background:white;border:1px solid #edf0f5;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 23px 16px}.panel-head p{font-size:11px;color:var(--muted);margin-top:4px}.panel-body{padding:5px 23px 22px}.panel-title{display:flex;align-items:center;gap:8px}.count{font-weight:500;color:#9aa2b2;font-size:12px}.legend{display:flex;align-items:center;gap:14px;font-size:10px;color:#8d95a4}.legend span{display:flex;align-items:center;gap:6px}.dot{width:6px;height:6px;border-radius:50%;background:var(--blue);display:inline-block}.dot.gray{background:#bdcbe6}.chart-meta{display:flex;gap:28px;padding:0 23px 14px}.chart-meta small{display:block;font-size:10px;color:var(--muted)}.chart-meta strong{display:block;font-weight:550;font-size:20px;letter-spacing:-.5px;margin-top:3px}.chart-wrap{position:relative;padding:0 20px 14px}.chart{height:210px;display:flex;gap:13px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;padding:0 0 22px;font-size:9px;color:#9aa1ae;min-width:31px;text-align:right}.chart-field{flex:1;position:relative;min-width:0}.chart-grid{position:absolute;inset:0 0 22px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.chart-grid i{border-top:1px dashed #edf0f5;width:100%}.chart-bars{position:relative;display:flex;justify-content:space-around;height:100%;gap:10px;align-items:flex-end}.bar-group{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;align-items:center}.bar-pair{height:calc(100% - 22px);width:70%;display:flex;align-items:flex-end;gap:5px;min-width:10px;max-width:38px}.bar{flex:1;min-height:2px;background:#5575ee;border-radius:4px 4px 0 0}.bar.expense{background:#d5dff9}.bar-label{height:22px;padding-top:7px;font-size:9px;color:#9aa1ae;white-space:nowrap}.chart-empty{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font-size:11px;color:#969eae;background:#fffE;padding:8px 14px;border-radius:8px;white-space:nowrap}.donut-row{display:flex;align-items:center;gap:22px;padding:15px 0 25px;justify-content:center}.donut{width:142px;height:142px;position:relative;border-radius:50%;background:conic-gradient(var(--blue) 0deg,var(--blue) var(--angle),#edf1fa var(--angle),#edf1fa 360deg);display:grid;place-items:center;flex-shrink:0}.donut:before{content:"";position:absolute;inset:14px;border-radius:50%;background:#fff}.donut-content{position:relative;text-align:center}.donut strong{display:block;font-size:29px;font-weight:550;letter-spacing:-1px}.donut small{font-size:9px;color:var(--muted)}.donut-legend{display:flex;flex-direction:column;gap:20px}.donut-legend p{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.donut-legend strong{font-size:20px;color:#343c50;font-weight:540;display:block;margin-top:3px}.subtle-note{border-top:1px solid var(--line);padding-top:16px;color:#939bac;font-size:10px;display:flex;gap:8px;align-items:center}.subtle-note svg{width:14px;height:14px}.onboard{background:linear-gradient(105deg,#edf1ff,#f8faff);border:1px solid #e1e7ff;border-radius:15px;padding:20px;display:flex;align-items:center;gap:17px;margin-bottom:21px}.onboard-icon{height:48px;width:48px;background:#fff;border-radius:13px;display:grid;place-items:center;color:var(--blue);flex-shrink:0;box-shadow:0 2px 10px #4266ed08}.onboard-icon svg{width:25px;height:25px}.onboard h3{font-size:13px;margin-bottom:4px}.onboard p{color:#8b94aa;font-size:11px}.onboard .btn{margin-left:auto}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.data-table th{color:#9ca3b0;font-size:10px;font-weight:500;border-top:1px solid #f0f2f6;border-bottom:1px solid #f0f2f6;background:#fcfcfd;padding:11px 21px;white-space:nowrap}.data-table td{padding:15px 21px;border-bottom:1px solid #f1f3f6;color:#6a7385;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcff}.data-table strong{color:#394153;font-weight:550}.data-table small{font-size:10px;color:#a1a8b5;display:block;margin-top:3px}.data-table .numeric{white-space:nowrap;font-variant-numeric:tabular-nums}.row-title{display:flex;align-items:center;gap:10px}.row-icon{width:35px;height:35px;display:grid;place-items:center;background:#f2f5fd;color:#8193bf;border-radius:9px;flex-shrink:0}.row-icon svg{width:18px}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:#f2f4f8;color:#8791a2;font-size:10px;white-space:nowrap}.status:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.status.green{background:#eaf8f1;color:#2aaf80}.status.orange{background:#fff5e8;color:#dba04a}.status.blue{background:#edf2ff;color:#5879de}.status.red{background:#fff0f1;color:#d76573}.row-actions{display:flex;gap:5px;justify-content:flex-end}.row-actions .icon-btn{width:29px;height:29px;border-color:transparent;background:transparent}.row-actions svg{width:15px;height:15px}.empty-state{text-align:center;padding:38px 20px;color:#939baa}.empty-state .empty-icon{height:47px;width:47px;border:1px solid #e9eefb;background:#f8faff;border-radius:13px;display:grid;place-items:center;margin:0 auto 13px;color:#91a5dc}.empty-state .empty-icon svg{width:23px;height:23px}.empty-state h3{font-size:13px;color:#556079;margin-bottom:5px}.empty-state p{font-size:11px;max-width:300px;margin:auto;line-height:1.8}.empty-state .btn{margin-top:17px}.activity-list{padding:0 23px 12px}.activity-row{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.activity-row:last-child{border:0}.activity-symbol{width:29px;height:29px;border-radius:8px;background:#f1f4fd;color:#8699cc;display:grid;place-items:center;flex-shrink:0}.activity-symbol svg{width:15px}.activity-body{flex:1;min-width:0}.activity-body strong{display:block;font-size:11px;font-weight:550;line-height:1.5}.activity-body p{font-size:10px;color:#99a2b2;margin-top:3px}.activity-row time{font-size:9px;color:#a1a8b4;white-space:nowrap;margin-top:2px}.page-footer{display:flex;align-items:center;justify-content:space-between;color:#a4abb8;font-size:9px;padding:6px 0 0}.page-footer span{display:flex;align-items:center;gap:5px}.page-footer svg{height:12px;width:12px}.toolbar{display:flex;gap:10px;align-items:center;padding:15px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar .searchbox{width:260px;background:#f9fafc;border-color:#edf0f5}.toolbar select{border:1px solid #e9edf4;border-radius:8px;padding:9px 10px;background:white;color:#8892a5;font-size:11px;max-width:100%}.toolbar-right{margin-left:auto;font-size:10px;color:#9ca4b3}.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.property-card{border-radius:var(--radius);background:#fff;border:1px solid #e9edf4;overflow:hidden}.property-art{height:106px;background:linear-gradient(120deg,#e5ebfc,#f5f7fc);display:flex;align-items:flex-end;justify-content:center;position:relative;overflow:hidden}.property-art svg{width:88px;height:90px;stroke-width:.7;color:#748cc8;opacity:.7;transform:translateY(10px)}.property-art:before{content:"";position:absolute;width:160px;height:160px;border-radius:50%;background:#ffffff65;right:25px;top:-65px}.property-art .status{position:absolute;left:17px;top:15px;background:#ffffffdd}.property-card-content{padding:18px}.property-card h3{font-size:14px;margin-bottom:4px}.property-card p{color:#98a0af;font-size:11px;min-height:18px}.property-numbers{display:flex;gap:24px;padding:17px 0 15px}.property-numbers small{display:block;font-size:9px;color:#a2a9b8}.property-numbers strong{font-size:18px;font-weight:550;letter-spacing:-.5px;display:block;margin-top:3px}.property-card-footer{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;gap:5px}.filter-tabs{display:flex;gap:5px;flex-wrap:wrap}.filter-tab{font-size:11px;padding:8px 12px;border-radius:8px;color:#8b94a5;background:transparent;display:flex;gap:8px;align-items:center}.filter-tab.active{color:var(--blue);background:var(--blue-soft)}.filter-tab b{font-size:9px;font-weight:500;background:#edf0f6;border-radius:4px;padding:0 4px}.upload-zone{border:1.5px dashed #cad5f6;background:linear-gradient(100deg,#f8faff,#fff);border-radius:16px;padding:22px;display:flex;gap:17px;align-items:center;margin-bottom:21px}.upload-zone .upload-icon{height:50px;width:50px;border-radius:13px;color:var(--blue);background:#ecf1ff;display:grid;place-items:center;flex-shrink:0}.upload-zone h3{font-size:13px;margin-bottom:5px}.upload-zone p{font-size:11px;color:#949db0;line-height:1.8}.upload-zone .head-actions{margin-left:auto}.upload-zone.dragging{background:#e7eeff;border-color:var(--blue)}.process-steps{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding:0 3px}.process-step{display:flex;gap:7px;align-items:center;color:#939db0;font-size:10px}.process-step span{height:19px;width:19px;border:1px solid #dce3f3;border-radius:50%;display:grid;place-items:center;font-size:9px;background:white;color:#8d9cc0}.process-steps>i{width:23px;height:1px;background:#dce3f3}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.report-card{padding:23px}.report-card .row-icon{margin-bottom:16px;width:41px;height:41px}.report-card p{font-size:11px;line-height:1.8;color:#98a1b1;margin:9px 0 18px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;color:#778196;font-weight:500}.field input,.field select,.field textarea{border:1px solid #e0e5ee;border-radius:8px;padding:11px 12px;width:100%;min-width:0;background:#fff;color:#404b60;outline:none;font-size:12px;min-height:41px}.field textarea{resize:vertical;min-height:85px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#849bf2;box-shadow:0 0 0 3px #4266ed0b}.field input:disabled{background:#f7f8fa;color:#9ba2b0}.field small{font-size:10px;color:#9aa3b4}.field .required{color:#a6b0c4}.field.checkbox{flex-direction:row;align-items:center;gap:8px}.field.checkbox input{min-height:0;width:16px;height:16px;accent-color:var(--blue)}.field.checkbox label{flex:1}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.form-error{background:#fff2f3;color:#c35765;font-size:12px;padding:10px 13px;border-radius:8px;margin-bottom:16px;line-height:1.7}.form-error:empty{display:none}.help-box{background:#f6f8fe;border:1px solid #e8edf9;border-radius:10px;color:#8a97b2;padding:12px;font-size:11px;line-height:1.8;margin-bottom:18px}.help-box strong{color:#617392}.offline-banner{padding:8px 15px;background:#fff2d9;color:#a97e30;font-size:11px;text-align:center}.modal-overlay{position:fixed;inset:0;background:#1c294551;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;animation:fade-in .15s ease}.modal{width:620px;max-width:100%;max-height:calc(100dvh - 50px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 30px 100px #24375d35;position:relative;overscroll-behavior:contain}.modal.wide{width:1130px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 26px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:17px}.modal-head p{font-size:11px;color:#99a2b2;margin-top:4px}.modal-head .icon-btn{border:0;width:32px;height:32px}.modal-body{padding:24px 26px}.modal-confirm{font-size:13px;color:#7a8498;line-height:1.8}.invoice-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:23px}.invoice-preview{background:#eef1f6;border:1px solid #e1e6ef;border-radius:12px;min-height:500px;position:relative;overflow:hidden;display:flex;flex-direction:column}.invoice-preview-head{padding:11px 13px;display:flex;justify-content:space-between;align-items:center;gap:6px;background:#f7f9fc;border-bottom:1px solid #e1e6ef;font-size:10px;color:#8f9cb3}.invoice-preview-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}.invoice-preview img{width:100%;height:auto;max-height:700px;object-fit:contain;display:block}.invoice-preview iframe{width:100%;height:650px;border:0;flex:1}.invoice-preview .file-fallback{padding:30px;font-size:11px;color:#8b97ad}.invoice-fields .form-grid{gap:12px}.section-label{font-size:11px;font-weight:600;color:#52617d;margin:22px 0 12px;display:flex;align-items:center;justify-content:space-between}.invoice-line{display:grid;grid-template-columns:18px minmax(0,1fr) 75px 24px;gap:8px;align-items:center;margin-bottom:8px}.invoice-line input[type=checkbox]{accent-color:var(--blue);height:16px;width:16px;margin:0}.invoice-line input:not([type=checkbox]){min-width:0;width:100%;padding:9px 8px;border:1px solid #e5eaf3;border-radius:7px;font-size:11px;color:#66738a}.invoice-line input[type=number]{text-align:right}.invoice-line .icon-btn{width:24px;height:29px;border:0}.invoice-line .icon-btn svg{width:13px}.invoice-line.unselected{opacity:.5}.invoice-totals{background:#f6f8fc;padding:14px;border-radius:10px;margin-top:15px}.invoice-total-row{display:flex;justify-content:space-between;color:#8b96aa;font-size:11px;margin:4px 0;gap:15px}.invoice-total-row.selected{font-size:14px;color:var(--blue);border-top:1px solid #e0e7f8;padding-top:9px;margin-top:10px;font-weight:650}.invoice-readonly{display:flex;gap:8px;align-items:center;background:#eefaf3;border:1px solid #d8efe3;border-radius:9px;color:#48a779;font-size:11px;padding:11px;margin-bottom:14px}.warning-list{margin:0 0 15px;padding:12px 12px 12px 29px;background:#fff8ea;border:1px solid #f6e6c5;border-radius:8px;font-size:10px;color:#b28e4a;line-height:1.8}.ocr-details{margin-top:15px;font-size:10px;color:#94a0b5}.ocr-details summary{cursor:pointer;padding:8px 0}.ocr-details pre{font:10px/1.7 ui-monospace,monospace;white-space:pre-wrap;word-break:break-word;max-height:200px;overflow:auto;background:#f6f8fc;border-radius:8px;padding:12px}.loading-row{padding:40px;text-align:center;color:#96a0b4;font-size:12px}.spinner{display:inline-block;width:18px;height:18px;border:2px solid #e2e8fa;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite;vertical-align:middle}.boot{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#8391aa}.boot strong{font-size:22px;color:#32415e}.boot p{font-size:12px}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-art{background:#eaf0fd;position:relative;overflow:hidden;padding:55px;display:flex;flex-direction:column;justify-content:space-between}.auth-art:after{content:"";width:650px;height:650px;border:1px solid #b7c7f7;border-radius:50%;position:absolute;left:-150px;bottom:-210px;box-shadow:0 0 0 80px #dce5fc55,0 0 0 160px #e1e9fd55}.auth-art .brand{padding:0;position:relative;z-index:1}.auth-copy{position:relative;z-index:1;margin:65px 0;max-width:410px}.auth-copy h1{font-size:44px;font-weight:580;line-height:1.18;letter-spacing:-2px;margin-bottom:23px;color:#2b3e6b}.auth-copy p{font-size:14px;line-height:1.9;color:#8192b5;max-width:320px}.auth-feature{display:flex;align-items:center;gap:11px;margin:18px 0;color:#687fae;font-size:12px}.auth-feature svg{width:17px}.auth-art small{font-size:10px;color:#8c9fc3;position:relative;z-index:1}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:365px;max-width:100%}.auth-form .brand{display:none;margin-bottom:40px}.auth-form h2{font-size:25px;letter-spacing:-.8px;margin-bottom:9px}.auth-form>p{font-size:12px;color:#98a0b0;line-height:1.9;margin-bottom:25px}.auth-form .field{margin-bottom:17px}.auth-note{font-size:10px!important;text-align:center;margin:22px 0 0!important;color:#a5adbb!important;line-height:1.9!important}.auth-note code{font-size:9px}.auth-form .btn{margin-top:6px}.mobile-bottom{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);z-index:200;background:#263554;color:white;border-radius:10px;padding:12px 20px;box-shadow:0 8px 30px #20314e22;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 30px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:#99a3b5}.nowrap{white-space:nowrap}.link{color:var(--blue);font-weight:500;cursor:pointer}.text-right{text-align:right}.badge-muted{background:#f1f4f9;border-radius:6px;font-size:9px;color:#939eb1;padding:4px 7px}.audit-list{max-height:290px;overflow:auto}.report-summary{padding:10px 23px 24px}.report-summary-row{display:flex;justify-content:space-between;font-size:12px;padding:13px 0;border-bottom:1px solid var(--line);gap:15px;color:#8b97ac}.report-summary-row strong{color:#526484;font-weight:550}.notice-inline{padding:12px 15px;color:#9a8c68;background:#fffcf3;border-radius:10px;font-size:11px;line-height:1.8;margin-bottom:18px}.row-clickable{cursor:pointer}.search-hint{font-size:11px;color:#9ca5b6;margin:0 0 15px}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#7d8ca6;margin:11px 0}.checkbox-label input{accent-color:var(--blue)}.auth-password-hint{font-size:10px;color:#9ba5b6;margin-top:2px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}
@media(min-width:1600px){.stats-grid{gap:22px}.stat{padding:24px}.grid-2{gap:24px}.chart{height:240px}.panel-head{padding-top:25px}}
@media(max-width:1250px){.app-shell{padding-left:215px}.sidebar{width:215px;padding-left:13px;padding-right:13px}.topbar{padding:0 24px}main{padding:24px}.stat{padding:18px 16px}.stat-value.money{font-size:24px}.stat-value{font-size:29px}.stats-grid{gap:13px}.date-chip{display:none}.grid-2{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:17px}.grid-even{grid-template-columns:repeat(2,minmax(0,1fr))}.donut-row{gap:16px}.donut{width:121px;height:121px}.donut strong{font-size:26px}.donut-legend strong{font-size:18px}.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-zone{flex-wrap:wrap}.upload-zone .head-actions{margin-left:67px}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:1fr}.grid-even{grid-template-columns:1fr}.donut-row{justify-content:flex-start;gap:38px}.donut{width:142px;height:142px}.donut-legend{flex-direction:row;gap:30px}.stat-value.money{font-size:29px}.page-head{align-items:flex-start}.page-head h1{font-size:23px}.head-actions .btn{padding:9px 11px}.page-head .head-actions{justify-content:flex-end;max-width:220px}.settings-grid{grid-template-columns:1fr}.topbar .searchbox{width:210px}.topbar .breadcrumb{font-size:11px}.chart{height:210px}.invoice-layout{grid-template-columns:1fr}.invoice-preview{min-height:200px;max-height:360px}.invoice-preview img{max-height:320px}.invoice-preview iframe{height:320px;min-height:320px}.auth-art{padding:35px}.auth-copy h1{font-size:36px}.auth-form-wrap{padding:30px}}
@media(max-width:760px){.app-shell{padding-left:0;padding-bottom:calc(73px + env(safe-area-inset-bottom))}.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px;box-shadow:20px 0 60px #1d30532b}.sidebar.open{transform:translateX(0)}.sidebar-overlay{position:fixed;inset:0;background:#26344c55;z-index:35}.mobile-menu{display:inline-flex}.topbar{height:68px;padding:0 18px;gap:10px;background:#fff;border-bottom:1px solid #edf0f5}.topbar .breadcrumb{font-size:12px}.topbar .breadcrumb span,.topbar .breadcrumb .crumb-chevron{display:none}.topbar .searchbox{display:none}.topbar .avatar{width:30px;height:30px;font-size:10px}.topbar .icon-btn{width:34px;height:34px;border:0}.topbar .notification-btn{margin-left:auto}.topbar-spacer{display:none}main{padding:24px 18px}.page-head{margin-bottom:20px;gap:14px;align-items:flex-start}.page-head h1{font-size:24px;letter-spacing:-.8px}.page-head p{font-size:11px;line-height:1.8}.page-head .head-actions{max-width:150px;gap:7px}.page-head .head-actions .btn{font-size:10px;padding:9px 10px;min-height:35px}.page-head .head-actions .btn.hide-mobile{display:none}.eyebrow{font-size:9px}.stats-grid{gap:12px;margin-bottom:18px}.stat{padding:17px 16px;border-radius:16px}.stat-top{font-size:10px;gap:7px}.stat-top svg{width:15px}.stat-value,.stat-value.money{font-size:27px;margin:14px 0 7px}.stat-bottom{font-size:9px;gap:3px;flex-wrap:wrap}.mini-progress{margin-top:10px}.grid-2{gap:18px;margin-bottom:18px}.panel{border-radius:17px}.panel-head{padding:19px 18px 15px}.panel-head h2{font-size:14px}.panel-head p{font-size:10px}.panel-body{padding:3px 18px 20px}.onboard{padding:17px;gap:12px;flex-wrap:wrap;border-radius:14px;margin-bottom:18px}.onboard h3{font-size:12px}.onboard p{font-size:10px}.onboard-icon{width:39px;height:39px;border-radius:10px}.onboard>div:not(.onboard-icon){flex:1;min-width:200px}.onboard .btn{margin:3px 0 0 51px;font-size:10px;min-height:33px}.chart-meta{padding:0 18px 15px;gap:23px}.chart-meta strong{font-size:18px}.chart{height:185px;gap:8px}.chart-wrap{padding:0 15px 13px}.bar-pair{gap:3px;width:90%}.chart-bars{gap:8px}.chart-y{font-size:8px}.bar-label{font-size:8px}.chart-empty{font-size:10px;max-width:100%;white-space:normal;text-align:center;width:230px}.legend{font-size:9px;gap:9px}.donut-row{gap:27px;justify-content:center}.donut-legend{flex-direction:column;gap:18px}.donut{width:130px;height:130px}.donut strong{font-size:27px}.donut-legend strong{font-size:19px}.data-table th{padding:10px 15px;font-size:9px}.data-table td{padding:14px 15px;font-size:11px}.data-table .mobile-hide{display:none}.data-table small{font-size:9px}.data-table .status{font-size:9px}.row-title{gap:8px}.row-icon{width:29px;height:29px}.row-icon svg{width:15px}.mobile-bottom{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;z-index:30;border-top:1px solid #e7ebf3;padding:8px 9px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #34456e04;justify-content:space-around}.mobile-bottom a,.mobile-bottom button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;color:#9ca5b6;background:transparent;min-height:44px}.mobile-bottom a svg,.mobile-bottom button svg{width:19px;height:19px}.mobile-bottom .active{color:var(--blue)}.mobile-bottom .scan-button{position:relative;width:44px;flex:none;margin:-22px 6px 0}.mobile-bottom .scan-button span{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:var(--blue);color:#fff;box-shadow:0 5px 14px #4266ed38;border:4px solid #fff;box-sizing:content-box}.mobile-bottom .scan-button small{font-size:9px;color:var(--blue);margin-top:-1px}.mobile-bottom .scan-button svg{width:22px;height:22px}.page-footer{font-size:8px;gap:10px;flex-wrap:wrap;padding-top:5px}.toolbar{padding:13px 15px;gap:9px}.toolbar .searchbox{width:100%;flex:1;min-width:150px}.toolbar select{max-width:100%;font-size:10px}.toolbar-right{font-size:9px}.property-grid{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.property-art{height:85px}.property-art svg{height:70px;width:70px}.property-card{border-radius:15px}.property-card-content{padding:14px}.property-card h3{font-size:12px}.property-card p{font-size:10px;line-height:1.6}.property-numbers{gap:15px;padding:13px 0}.property-numbers strong{font-size:17px}.property-numbers small{font-size:8px}.property-card-footer{flex-wrap:wrap}.property-card-footer .btn{font-size:9px;min-height:29px;padding:5px 7px}.upload-zone{padding:18px;gap:13px}.upload-zone .upload-icon{width:40px;height:40px}.upload-zone h3{font-size:12px}.upload-zone p{font-size:10px}.upload-zone>div:not(.upload-icon):not(.head-actions){flex:1;min-width:200px}.upload-zone .head-actions{margin:0 0 0 53px}.upload-zone .btn{font-size:10px;min-height:34px;padding:8px 10px}.process-steps{gap:7px;margin-bottom:18px;justify-content:center}.process-step{font-size:9px;gap:5px}.process-steps>i{width:12px}.process-step span{height:17px;width:17px;font-size:8px}.report-grid{grid-template-columns:1fr;gap:15px}.report-card{padding:20px}.report-card p{font-size:11px}.filter-tabs{gap:2px}.filter-tab{font-size:10px;padding:7px 9px;gap:5px}.modal-overlay{padding:12px;align-items:center}.modal{max-height:calc(100dvh - 24px);border-radius:16px}.modal-head{padding:18px 18px 15px}.modal-head h2{font-size:16px}.modal-head p{font-size:10px}.modal-body{padding:20px 18px}.form-grid{gap:14px}.field input,.field select,.field textarea{font-size:16px;padding:10px 11px;min-height:43px}.field label{font-size:11px}.field small{font-size:9px}.form-actions{margin-top:20px;gap:7px;flex-wrap:wrap}.form-actions .btn{font-size:11px;padding:10px 12px}.invoice-layout{gap:19px}.invoice-preview{max-height:240px;min-height:160px}.invoice-preview img{max-height:205px}.invoice-preview iframe{height:205px;min-height:205px}.invoice-preview-head{font-size:9px}.invoice-preview-head span{max-width:200px}.invoice-fields .field input,.invoice-fields .field select{font-size:14px}.invoice-line{gap:6px;grid-template-columns:18px minmax(0,1fr) 72px 20px}.invoice-line input:not([type=checkbox]){font-size:13px;padding:10px 7px}.invoice-fields .form-actions .btn{flex:1}.invoice-total-row{font-size:10px}.invoice-total-row.selected{font-size:13px}.auth-shell{display:block;background:#f5f7fc}.auth-art{display:none}.auth-form-wrap{min-height:100dvh;padding:35px 25px}.auth-form{width:380px;padding:0 5px}.auth-form .brand{display:flex;padding:0;margin-bottom:45px}.auth-form h2{font-size:25px}.auth-form .field input{font-size:16px}.auth-form .btn{min-height:45px;font-size:13px}.activity-list{padding:0 18px 12px}.activity-row time{font-size:8px}#toast{bottom:calc(88px + env(safe-area-inset-bottom));font-size:11px}.settings-grid .panel-body{padding-top:10px}.settings-grid .form-grid{grid-template-columns:1fr}.help-box{font-size:10px}.empty-state{padding:30px 18px}.empty-state p{font-size:10px}.empty-state .btn{font-size:10px}.audit-list{max-height:240px}}
@media(max-width:390px){main{padding:22px 14px}.topbar{padding:0 14px}.stat{padding:15px 12px}.stat-value,.stat-value.money{font-size:24px}.stat-top{font-size:9px}.stat-bottom{font-size:8px}.page-head h1{font-size:22px}.page-head .head-actions{max-width:125px}.page-head .head-actions .btn{font-size:9px;padding:8px}.page-head .head-actions .btn svg{width:14px}.property-grid{grid-template-columns:1fr}.property-art{height:100px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.invoice-fields .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-fields .field.full{grid-column:1/-1}.donut-row{gap:25px}.process-step{font-size:8px}.data-table td,.data-table th{padding-left:12px;padding-right:12px}.onboard>div:not(.onboard-icon){min-width:175px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.mobile-bottom,.head-actions,.toolbar,.page-footer{display:none!important}.app-shell{padding:0}.panel,.stat{break-inside:avoid;box-shadow:none}.page-head{margin-top:0}body{background:white}main{padding:0}.stats-grid{grid-template-columns:repeat(4,1fr)}}
/* Touch targets and reading comfort on phones. */
@media(max-width:760px){body{font-size:14px}.btn,.btn.small,.page-head .head-actions .btn,.property-card-footer .btn,.upload-zone .btn,.onboard .btn,.empty-state .btn{min-height:44px;font-size:12px}.icon-btn,.row-actions .icon-btn,.invoice-line .icon-btn,.modal-head .icon-btn,.topbar .icon-btn{min-width:44px;min-height:44px}.page-head p,.onboard p,.upload-zone p,.empty-state p,.help-box,.report-card p,.notice-inline,.subtle-note{font-size:12px;line-height:1.7}.stat-top{font-size:11px}.stat-bottom{font-size:10px}.data-table td{font-size:12px}.data-table th,.data-table small{font-size:11px}.status,.data-table .status{font-size:11px}.field label{font-size:12px}.field small,.auth-note{font-size:11px}.filter-tab{min-height:44px;font-size:11px}.toolbar select{font-size:12px;min-height:44px}.toolbar .searchbox{height:44px}.toolbar .searchbox input{font-size:16px}.invoice-line{grid-template-columns:22px minmax(0,1fr) 78px 44px;gap:5px}.invoice-line input[type=checkbox]{width:20px;height:20px}.invoice-line input:not([type=checkbox]){min-height:44px;font-size:16px}.invoice-fields .field input,.invoice-fields .field select{font-size:16px}.checkbox-label{font-size:12px;min-height:44px;line-height:1.6}.checkbox-label input{width:20px;height:20px;flex-shrink:0}.mobile-bottom a,.mobile-bottom button{font-size:10px}.property-card h3{font-size:14px}.property-card p{font-size:12px}.property-numbers small{font-size:10px}.property-card-footer{gap:8px}.head-actions .btn{white-space:normal;text-align:center}.page-head .head-actions{max-width:150px;flex-shrink:0}.row-actions{gap:0}.process-step{font-size:10px}.invoice-total-row{font-size:12px}.invoice-total-row.selected{font-size:14px}.page-footer{font-size:10px}.activity-body strong{font-size:12px}.activity-body p{font-size:11px}.activity-row time{font-size:10px}.invoice-preview-head .link{min-height:40px;display:flex;align-items:center}.invoice-preview-head span{max-width:150px}.invoice-fields .form-actions .btn{min-width:120px}.auth-form .field input{min-height:48px}}
@media(max-width:390px){.page-head{flex-wrap:wrap}.page-head .head-actions{max-width:none}.page-head .head-actions .btn{font-size:12px}.stats-grid{gap:10px}.stat-value,.stat-value.money{font-size:23px}.invoice-line{grid-template-columns:22px minmax(0,1fr) 70px 40px;gap:4px}.invoice-line .icon-btn{min-width:40px}.invoice-line input:not([type=checkbox]){font-size:14px;padding-left:5px;padding-right:5px}.form-grid{grid-template-columns:1fr}.invoice-fields .form-grid{grid-template-columns:1fr}.invoice-fields .field.full{grid-column:auto}}
.line-description{min-width:0}.line-description small{display:block;font-size:9px;color:#9ba6ba;margin:3px 2px 0}.invoice-line{margin-bottom:11px}.invoice-line>.icon-btn{align-self:start;margin-top:3px}@media(max-width:760px){.line-description small{font-size:10px;line-height:1.5}.invoice-line>.icon-btn{margin-top:0}}
/* Keep wide contact tables inside their own scroll area at every breakpoint. */
.app-shell,main{min-width:0;width:100%}.panel,.table-wrap{min-width:0;max-width:100%;width:100%}.table-wrap{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.page-head>div:first-child{min-width:0}.page-head h1,.page-head p{overflow-wrap:anywhere}.toolbar{min-width:0}.toolbar .searchbox{min-width:0;max-width:100%}
@media(max-width:1000px){.page-head{flex-wrap:wrap}.page-head .head-actions{max-width:100%;justify-content:flex-start}.page-head>div:first-child{flex:1 1 230px}.page-head .head-actions{flex:0 1 auto}}
.brand{white-space:nowrap;font-size:23px;letter-spacing:-.9px}
/* On phones each record becomes a labelled card; no sideways navigation to actions. */
@media(max-width:760px){
.table-wrap{overflow:visible}.data-table,.data-table tbody{display:block;width:100%;max-width:100%}.data-table thead{display:none}.data-table tbody{padding:0 15px 12px}.data-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;border:1px solid #e9edf5;border-radius:12px;margin:0 0 12px;padding:13px 14px;background:#fff}.data-table tbody tr:first-child{margin-top:4px}.data-table tbody tr:last-child{margin-bottom:0}.data-table td,.data-table td.numeric{display:block;min-width:0;padding:8px 0;border:0;white-space:normal;overflow-wrap:anywhere;font-size:12px}.data-table td:before{content:attr(data-label);display:block;color:#98a3b8;font-size:10px;font-weight:500;margin-bottom:5px}.data-table td[data-primary=true]{grid-column:1/-1;padding:2px 0 11px;margin-bottom:3px;border-bottom:1px solid #f0f3f8}.data-table td[data-primary=true]:before{display:none}.data-table td[data-actions=true]{grid-column:1/-1;display:flex;justify-content:flex-end;padding:7px 0 0}.data-table td[data-actions=true]:before{display:none}.data-table td[data-actions=true] .row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;width:100%}.data-table .row-title{align-items:flex-start;min-width:0}.data-table .row-title>div{min-width:0}.data-table strong{font-size:12px}.data-table .row-title strong{font-size:13px}.data-table small{white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.data-table .row-icon{width:33px;height:33px}.data-table td:empty{display:none}.data-table .status{max-width:100%;white-space:normal;line-height:1.5}.data-table td[data-actions=true] .btn{min-height:44px}.data-table td[data-actions=true] .spinner{margin-right:8px}.data-table .mobile-hide{display:none}.brand{font-size:23px}.panel .table-wrap{padding-top:5px}
}
/* Anchor screen-reader-only table labels inside the scrolling container. */
.table-wrap{position:relative}.data-table th{position:relative}.sr-only{left:0;top:0}

/* Property actions: one accessible row on narrow screens. */
.property-card-footer{flex-wrap:nowrap;align-items:center}.property-card-footer>.btn{flex:0 1 auto;min-width:0}.property-card-footer .row-actions{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:4px}
@media(max-width:600px){.property-grid{grid-template-columns:minmax(0,1fr)}.property-card-footer{gap:8px}.property-card-footer .icon-btn{width:44px;min-width:44px;height:44px}.property-card-footer>.btn{white-space:nowrap}}

/* Original document stays readable during invoice review. */
.invoice-preview{max-height:none;min-height:0}
.invoice-image-link{display:block;background:#e8ecf3;cursor:zoom-in}
.invoice-preview img{max-height:70vh;min-height:160px;object-fit:contain;width:100%}
.invoice-preview-hint{padding:10px 13px;font-size:12px;color:#626d80;background:#f7f9fc}
.invoice-preview-head{font-size:12px}.invoice-preview-head .link{white-space:nowrap;min-height:44px;display:flex;align-items:center}
@media(min-width:1100px){.invoice-layout>div:first-child{position:sticky;top:0;align-self:start}}
@media(max-width:760px){.invoice-preview img{max-height:55vh}.invoice-preview-head span{max-width:55%}}
