:root{color:#162019;background:#eef2f0;font-family:Microsoft YaHei,PingFang SC,Noto Sans SC,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffffd6,#eef2f0f5),#eef2f0}button,input,select{font:inherit}button{border:0;cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.58}.shell{width:min(1440px,100%);margin:0 auto;padding:22px}.appShell{padding-bottom:calc(98px + env(safe-area-inset-bottom))}.appShell:not(.detailShell){width:min(520px,100%);padding:0 14px 98px}.detailShell{width:min(1440px,100%)}.authShell{display:grid;align-content:center;gap:18px;width:min(440px,calc(100% - 28px));min-height:100vh;margin:0 auto;padding:28px 0}.authHero{display:grid;justify-items:center;gap:8px;padding:24px 16px 10px;text-align:center}.brandMark{display:grid;width:64px;height:64px;place-items:center;border-radius:18px;background:#176647;color:#fff;box-shadow:0 12px 28px #1766473d}.authHero p{color:#59665e}.authCard{display:grid;gap:16px;padding:18px;border:1px solid #dbe3df;border-radius:8px;background:#fff;box-shadow:0 18px 44px #27342c17}.authTabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px;border:1px solid #dfe7e3;border-radius:8px;background:#f3f6f4}.authTabs button{min-height:42px;border-radius:8px;background:transparent;color:#536158;font-weight:800}.authTabs button.active{background:#fff;color:#146b49;box-shadow:0 3px 12px #27342c14}.authForm{display:grid;gap:13px}.authForm button{min-height:44px;border-radius:8px;background:#146b49;color:#fff;font-weight:800}.formError{color:#c2412d;font-size:13px}.homeScreen,.mineScreen{display:grid;min-width:0;gap:12px;padding:14px 0}.homeScreen>*,.mineScreen>*{min-width:0;max-width:100%}.homeTop{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:12px}.homeLogo{display:flex;align-items:center;gap:7px;color:#202820;font-size:25px;font-weight:900}.homeLogo svg{color:#f0a11a}.homeTools{display:flex;align-items:center;gap:8px}.roundIcon,.plainIcon,.avatarButton,.backButton{display:inline-grid;place-items:center;min-width:38px;height:38px;border-radius:8px;background:#fff;color:#172119}.plainIcon{background:transparent}.notify{position:relative}.notify span{position:absolute;top:-3px;right:-5px;display:grid;min-width:18px;height:18px;place-items:center;border-radius:9px;background:#f04b36;color:#fff;font-size:11px;font-weight:800}.noticeCard{display:flex;align-items:center;gap:12px;min-height:54px;padding:12px 14px;border:1px solid #e7ece9;border-radius:8px;background:#fff;color:#243028;box-shadow:0 6px 18px #27342c0a}.noticeCard strong{flex:0 0 auto;color:#e9533d;font-size:18px}.noticeCard span{overflow:hidden;color:#36443b;text-overflow:ellipsis;white-space:nowrap}.noticeCard.closing strong{color:#146b49}.homeModuleGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:12px;padding:16px 6px 12px}.homeModule{display:grid;justify-items:center;gap:8px;min-height:104px;background:transparent;color:#27352d;font-size:14px}.homeModule span{display:grid;width:58px;height:58px;place-items:center;border-radius:18px;color:#fff;box-shadow:0 8px 18px #27342c1f}.homeModule strong{line-height:1.25}.homeNoAccess{padding:28px 16px;color:#75837c;text-align:center}.moduleTone1 span{background:#f4a118}.moduleTone2 span{background:#20a7d8}.moduleTone3 span{background:#ea546b}.moduleTone4 span{background:#4f7ee8}.quotePanel{display:grid;gap:14px;padding:16px;border:1px solid #e1e8e4;border-radius:8px;background:#fff}.quoteTitle{display:flex;align-items:center;justify-content:space-between}.quoteTitle small{color:#8a9891}.quoteGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quoteGrid div{display:grid;gap:5px;min-width:0;text-align:center}.quoteGrid span,.quoteGrid small{overflow:hidden;color:#68766f;text-overflow:ellipsis;white-space:nowrap}.quoteGrid strong{overflow:hidden;color:#146b49;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.quoteGrid div:nth-child(3) strong{color:#e54842}.promoBanner{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:120px;padding:18px;border-radius:8px;background:linear-gradient(135deg,#111f32f5,#18565beb),#142635;color:#fff;overflow:hidden}.promoBanner div{display:grid;gap:8px}.promoBanner strong{font-size:22px}.promoBanner span{color:#ffffffc7}.promoBanner button{flex:0 0 auto;min-height:38px;padding:8px 12px;border:1px solid rgba(255,255,255,.45);border-radius:8px;background:#ffffff24;color:#fff;font-weight:800}.homeTiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.homeTiles div{display:grid;gap:8px;min-height:94px;padding:14px;border:1px solid #e2e9e5;border-radius:8px;background:#fff7eb}.homeTiles div:nth-child(2){background:#edf6ff}.homeTiles strong{color:#a65110;font-size:18px}.homeTiles div:nth-child(2) strong{color:#1b67a8}.homeTiles span{color:#4d5c53}.bottomNav{position:fixed;right:0;bottom:0;left:0;z-index:20;display:grid;grid-template-columns:repeat(2,1fr);width:min(520px,100%);margin:0 auto;padding:7px 26px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e1e7e4;background:#fffffff5;box-shadow:0 -8px 24px #27342c14}.detailShell .bottomNav{width:min(720px,100%)}.bottomNav button{display:grid;justify-items:center;gap:4px;min-height:54px;background:transparent;color:#4b5a52;font-size:13px;font-weight:700}.bottomNav button.active{color:#f0821b}.detailTopbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;margin-bottom:16px}.detailTitle{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.detailTitle span{display:grid;width:36px;height:36px;place-items:center;border-radius:8px;background:#ecf8f3;color:#146b49}.detailTitle h1{overflow:hidden;font-size:24px;text-overflow:ellipsis;white-space:nowrap}.backButton{padding:0 12px;border:1px solid #d9e1dd;font-weight:800}.avatarButton{border:1px solid #d9e1dd;color:#146b49;font-size:12px;font-weight:900}.mineHeader{display:flex;align-items:center;gap:14px;min-height:138px;padding:22px;border-radius:8px;background:#18261f;color:#fff}.mineAvatar{display:grid;width:66px;height:66px;flex:0 0 auto;place-items:center;border-radius:24px;background:#f2a11b}.mineHeader p,.mineHeader span{color:#ffffffb8}.mineHeader h1{color:#fff;font-size:28px}.mineStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mineStats div,.mineActions,.mineActions button{border:1px solid #e0e8e4;border-radius:8px;background:#fff}.mineStats div{display:grid;justify-items:center;gap:4px;min-height:78px;padding:13px 8px}.mineStats strong{font-size:22px}.mineStats span{color:#65746c;font-size:13px}.mineActions{display:grid;gap:0;overflow:hidden}.mineActions button{display:flex;align-items:center;gap:10px;min-height:54px;padding:0 16px;border-width:0 0 1px;border-radius:0;color:#26342b;font-weight:800;text-align:left}.mineActions button:last-child{border-bottom:0;color:#c2412d}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px}.eyebrow{margin:0 0 4px;color:#516157;font-size:13px}h1,h2,h3,p{margin:0}h1{color:#111813;font-size:30px;font-weight:800;letter-spacing:0}h2{font-size:18px;letter-spacing:0}h3{font-size:16px}.accountControls,.toolbar,.inlineControls{display:flex;align-items:center;gap:10px}.selectLabel{display:grid;gap:4px;color:#58685e;font-size:12px}.selectLabel select,.inlineMonth input{min-width:160px}.iconButton,.tableIcon{display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid #d8e0dc;border-radius:8px;background:#fff;color:#26342b}.moduleGrid{display:grid;grid-template-columns:repeat(4,minmax(126px,1fr));gap:12px;margin:18px 0}.moduleButton{display:flex;align-items:center;gap:12px;min-height:76px;padding:14px 16px;border:1px solid #dbe3df;border-radius:8px;background:#fff;color:#334239;font-weight:700;text-align:left}.moduleButton.active{border-color:#16744e;background:#ecf8f3;color:#0c5f3e;box-shadow:inset 0 0 0 1px #16744e}.moduleIcon{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:8px;background:#f0f4f2;color:#176647}.moduleButton:nth-child(2) .moduleIcon{color:#b96318;background:#fff2e7}.moduleButton:nth-child(3) .moduleIcon{color:#2365a5;background:#edf5ff}.moduleButton:nth-child(4) .moduleIcon{color:#654da8;background:#f2efff}.metricBand,.ledgerSummary,.inventoryBlock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric,.inventoryBlock>div{display:grid;gap:6px;min-height:96px;padding:15px;border:1px solid #dce3df;border-radius:8px;background:#fff}.metric span,.inventoryBlock span{color:#58675e;font-size:13px}.metric strong,.inventoryBlock strong{color:#172018;font-size:23px}.metric small,.inventoryBlock small,.auditText small,.permissionCard small{color:#708078;font-size:12px}.syncStatus{display:inline-flex;width:fit-content;margin-top:5px;padding:3px 7px;border-radius:999px;background:#eaf7f0;color:#16744e;font-size:11px;font-weight:700}.syncStatus-syncing{background:#fff7e8;color:#a66316}.syncStatus-offline{background:#fff1ee;color:#b74636}.workspace{min-height:600px}.twoColumn{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);gap:16px}.panel,.accountPanel{border:1px solid #d7dfdb;border-radius:8px;background:#fffffff5;box-shadow:0 10px 30px #27342c0f}.panel{padding:18px}.accountPanel{display:grid;gap:14px;margin-bottom:16px;padding:16px}.sectionTitle{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#19251d}.sectionTitle.spread{justify-content:space-between;gap:16px}.sectionTitle.spread>span{display:flex;align-items:center;gap:8px}.sectionTitle.compact{margin:8px 0 12px}.formGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}label,.formField{display:grid;gap:6px;color:#536158;font-size:13px}.creatableField{align-content:start}.quickAddRow{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px}.quickAddRow button{display:grid;width:40px;min-width:40px;min-height:40px;padding:0;place-items:center;border-radius:8px;background:#146b49;color:#fff}input,select{width:100%;min-height:40px;border:1px solid #ccd6d1;border-radius:8px;background:#fff;color:#172119;padding:8px 10px;outline:none}input:focus,select:focus{border-color:#16744e;box-shadow:0 0 0 3px #16744e1f}.wide{grid-column:1 / -1}.calcStrip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;border:1px dashed #b8c7c0;border-radius:8px;background:#f6faf8;color:#21362a}.calcStrip span{min-height:24px;padding:2px 8px;border-radius:6px;background:#fff;white-space:nowrap}.formActions{display:flex;gap:10px;align-items:center}.formActions button,.inlineControls button,.newCustomer>button,.iconText,.segmented button{min-height:40px;padding:9px 14px;border-radius:8px;background:#146b49;color:#fff;font-weight:700}.ghost{border:1px solid #cbd6d0;background:#fff!important;color:#26372d!important}.dangerButton{border:1px solid #e2a59a;background:#fff5f2!important;color:#b74636!important}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;padding:4px;border:1px solid #d8e0dc;border-radius:8px;background:#f2f5f3}.segmented button{background:transparent;color:#44554b}.segmented button.active{background:#fff;color:#0f6343;box-shadow:0 2px 8px #27342c14}.photoField{padding:12px;border:1px solid #dce5e0;border-radius:8px;background:#f7faf8}.photoInputRow,.recordActions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.photoCaptureButton,.photoPreviewButton{display:inline-flex;width:fit-content;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border-radius:8px;background:#146b49;color:#fff;font-size:14px;font-weight:700;cursor:pointer}.photoCaptureButton input{position:absolute;width:1px;height:1px;min-height:1px;padding:0;opacity:0;pointer-events:none}.photoPreviewButton{border:1px solid #cad7d0;background:#fff;color:#26372d}.receiptThumbnail{width:min(220px,100%);max-height:180px;margin-top:4px;border:1px solid #d4ddd8;border-radius:6px;object-fit:contain;background:#fff}.photoModalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:grid;place-items:center;padding:18px;background:#0c1510b8}.photoModal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(820px,100%);max-height:calc(100dvh - 36px);overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 24px 70px #08110c57}.photoModal header{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #e0e7e3}.photoModal header button{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:transparent;color:#38473e}.photoModalBody{display:grid;min-height:240px;place-items:center;overflow:auto;padding:14px;background:#eef2f0;color:#59685f}.photoModalBody img{display:block;max-width:100%;max-height:calc(100dvh - 120px);object-fit:contain}.locationControl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}.locationPickerButton{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:108px;min-height:40px;padding:8px 12px;border-radius:8px;background:#146b49;color:#fff;font-weight:700;white-space:nowrap}.locationModalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#0d181294}.locationModal{display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto auto auto;width:min(720px,100%);max-height:calc(100dvh - 36px);overflow:hidden;border:1px solid #d4ddd8;border-radius:8px;background:#fff;box-shadow:0 24px 70px #11231947;color:#172119;font-size:14px}.locationModalHeader,.locationModalActions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.locationModalHeader{border-bottom:1px solid #e0e7e3}.locationModalHeader>span{display:inline-flex;align-items:center;gap:8px;color:#155f43}.locationModal button{min-height:40px;padding:8px 13px;border-radius:8px;background:#146b49;color:#fff;font-weight:700}.locationModal .modalClose{display:grid;width:40px;min-width:40px;padding:0;place-items:center;background:transparent;color:#46554c}.locationSearchRow{display:grid;grid-template-columns:minmax(0,1fr) 42px auto;gap:8px;padding:12px 16px}.locationSearchRow>button:not(.locateButton){display:grid;width:42px;padding:0;place-items:center}.locateButton{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.baiduMapWrap{position:relative;width:100%;min-height:300px;background:#e9efec}.baiduMapCanvas{position:absolute;top:0;right:0;bottom:0;left:0}.mapLoading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;background:#eef3f0;color:#5d6c64}.locationError{margin:0;padding:9px 16px;border-top:1px solid #f0d6cf;background:#fff5f2;color:#b13b27}.selectedLocation{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;min-height:48px;padding:12px 16px;border-top:1px solid #e0e7e3;color:#26372d;line-height:1.55}.selectedLocation svg{margin-top:2px;color:#16744e}.locationModalActions{justify-content:flex-end;border-top:1px solid #e0e7e3}.locationModalActions button{min-width:96px}.newCustomer,.reportFilters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.reportFilters{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.tableWrap{width:100%;overflow:auto;border:1px solid #d8e0dc;border-radius:8px}table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}th,td{border-bottom:1px solid #e4ebe7;padding:10px 11px;text-align:left;vertical-align:middle;font-size:14px;white-space:nowrap}th{position:sticky;top:0;z-index:1;background:#f3f7f5;color:#3a4b42;font-size:13px;font-weight:800}tr:last-child td{border-bottom:0}.clickableRecord{cursor:pointer}tr.clickableRecord:hover td,tr.clickableRecord:focus td{background:#eef8f3}.ledgerSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.ledgerSummary .metric{min-height:82px}.auditText{display:grid;gap:3px}.emptyCell{height:96px;color:#75837c;text-align:center}.permissionCard{display:grid;gap:12px;padding:12px;border:1px solid #dce4e0;border-radius:8px;background:#fbfdfc}.permissionIdentity{display:flex;align-items:center;justify-content:space-between;gap:14px}.permissionIdentity>span{display:grid;gap:3px}.inputPermissionToggle,.permissionOption{display:flex;align-items:center;gap:7px;color:#33483c;font-size:13px}.inputPermissionToggle{flex:0 0 auto;font-weight:700}.permissionOptions{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:7px}.permissionOption{min-height:38px;padding:7px 9px;border:1px solid #e1e9e4;border-radius:6px;background:#fff}.permissionCard input{width:18px;min-height:18px;flex:0 0 auto}.accountPasswordRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding-top:2px}.accountPasswordRow label{min-width:0}.accountPasswordRow button{min-height:40px;padding:9px 14px;border-radius:8px;background:#146b49;color:#fff;font-weight:700;white-space:nowrap}.passwordMessage{grid-column:1 / -1;color:#16744e;font-size:12px}.confirmModalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:grid;place-items:center;padding:18px;background:#0d181294}.confirmModal{display:grid;gap:12px;width:min(440px,100%);padding:22px;border:1px solid #d4ddd8;border-radius:10px;background:#fff;box-shadow:0 24px 70px #11231947}.confirmModalIcon{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#fff1ee;color:#b74636}.confirmModal h3{color:#1b261f;font-size:18px}.confirmModal p{color:#5b6961;font-size:14px;line-height:1.6}.confirmModalActions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.confirmModalActions button{min-width:92px;min-height:40px;padding:9px 14px;border-radius:8px;font-weight:700}.accountList{display:grid;grid-template-columns:1fr;gap:10px}.inlineControls input{max-width:240px}.inventoryBlock{grid-template-columns:repeat(3,minmax(0,1fr))}.inventoryBlock>div{min-height:112px}.sourceBalanceStrip{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(auto-fit,minmax(145px,1fr));gap:9px;margin-bottom:14px;padding:11px;border:1px solid #dce8e1;border-radius:8px;background:#f5faf7}.sourceBalanceHeading,.sourceBalanceItem{display:grid;align-content:center;gap:4px;min-width:0;min-height:62px;padding:9px 10px;border-radius:6px;background:#fff}.sourceBalanceHeading{background:transparent}.sourceBalanceHeading strong{color:#155f43}.sourceBalanceHeading small,.sourceBalanceItem small{color:#6b7c72;font-size:12px}.sourceBalanceItem span{overflow:hidden;color:#52635a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.sourceBalanceItem strong{color:#176647;font-size:18px}.sourceAllocationEditor{display:grid;gap:10px;padding:12px;border:1px solid #d7e4dd;border-radius:8px;background:#f7faf8}.sourceAllocationHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.sourceAllocationHeader>span{display:grid;gap:3px}.sourceAllocationHeader small{color:#6a7a71;font-size:12px}.sourceAllocationHeader button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;padding:8px 11px;border-radius:8px;background:#146b49;color:#fff;font-weight:700;white-space:nowrap}.sourceAllocationRows{display:grid;gap:8px}.sourceAllocationRow{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(110px,.7fr) 40px;align-items:end;gap:8px;padding-top:8px;border-top:1px solid #e1e9e5}.sourceAllocationRemove{display:grid;width:40px;min-height:40px;place-items:center;border:1px solid #d8e1dc;border-radius:8px;background:#fff;color:#b74636}.sourceAllocationTotal{padding:8px 10px;border-radius:6px;background:#fff1ed;color:#a53b2b;font-size:12px;font-weight:700}.sourceAllocationTotal.valid{background:#eaf6ef;color:#146b49}.invoiceManager{display:grid;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #e0e8e3}.invoiceManager .sectionTitle{margin-bottom:0}.invoiceManager .sectionTitle small{max-width:280px;color:#6b7b72;font-size:12px;font-weight:400;text-align:right}.invoiceManagerForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px}.supplierInvoiceQueue{display:grid;gap:8px;padding:12px;border:1px solid #dce7e1;border-radius:8px;background:#f8fbf9}.supplierInvoiceQueueHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#31503e;font-size:13px}.supplierInvoiceQueueHeader span{color:#a53b2b;font-weight:700}.supplierInvoiceList{display:grid;gap:7px;max-height:230px;overflow-y:auto}.supplierInvoiceRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:54px;padding:8px 10px;border:1px solid #e2e9e5;border-radius:6px;background:#fff}.supplierInvoiceRow>span{display:grid;gap:2px;min-width:0}.supplierInvoiceRow strong,.supplierInvoiceRow small{overflow-wrap:anywhere}.supplierInvoiceRow small{color:#718078;font-size:11px}.supplierInvoiceRow b{color:#31503e;font-size:13px}.supplierInvoiceRow button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 10px;border-radius:6px;background:#146b49;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.supplierInvoiceEmpty{padding:14px;border:1px dashed #cbd9d1;border-radius:6px;color:#718078;text-align:center}.invoiceManagerForm>button{min-height:40px;padding:9px 14px;border-radius:8px;background:#146b49;color:#fff;font-weight:700;white-space:nowrap}.invoiceCustomerAdd{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px;max-width:360px}.invoiceCustomerAdd button{display:grid;width:40px;min-height:40px;place-items:center;border-radius:8px;background:#eaf5ef;color:#146b49}.invoiceSummaryStrip{display:flex;flex-wrap:wrap;gap:8px}.invoiceSummaryStrip span{flex:1 1 160px;min-height:34px;padding:8px 10px;border:1px solid #dce7e1;border-radius:6px;background:#f8fbf9;color:#31503e;font-size:12px}.invoiceTable{margin-top:0}.dailySummaryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dailySummaryGrid>div{display:grid;align-content:center;gap:5px;min-height:102px;padding:13px;border:1px solid #dce6e0;border-radius:8px;background:#f8fbf9}.dailySummaryGrid span{color:#64736a;font-size:12px}.dailySummaryGrid strong{color:#173125;font-size:21px;line-height:1.15}.dailySummaryGrid strong.positive{color:#16744e}.dailySummaryGrid strong.negative{color:#bd4a35}.dailySummaryGrid small{color:#6a7970;font-size:12px}.dailyClosingMetric{border-color:#91c7ab!important;background:#eef9f2!important}.dailyClosingMetric strong{color:#126a47}.dailyBalanceStrip{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px;padding:11px;border:1px dashed #b8c7c0;border-radius:8px;background:#f6faf8;color:#31463a}.dailyBalanceStrip span{flex:1 1 170px;min-height:26px;padding:3px 8px;border-radius:6px;background:#fff;white-space:nowrap}.inlineDate{min-width:160px}.dailyExport{min-width:78px}.calculator{margin-top:14px;padding-top:12px;border-top:1px solid #e3e9e6}.inlineMonth{position:relative;min-width:164px}.inlineMonth svg{position:absolute;right:9px;bottom:12px;pointer-events:none}.positive{color:#16744e;font-weight:800}.negative{color:#c2412d;font-weight:800}.fullPanel{min-height:590px}.reportFilters{grid-template-columns:1.2fr 1fr .8fr 1.4fr;margin:0 0 14px}.iconText{display:inline-flex;align-items:center;gap:7px}.reportTable table{min-width:980px}.mobileRecordList{display:none}.recordCard{display:grid;gap:9px;padding:13px;border:1px solid #e0e8e4;border-radius:8px;background:#fff;box-shadow:0 8px 22px #27342c0d}.recordCard.clickableRecord:active{border-color:#79b899;background:#f4fbf7}.recordCardTop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.recordCardTop>div{display:grid;gap:3px;min-width:0}.recordCardTop span{overflow:hidden;color:#728179;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.recordCardTop strong{overflow:hidden;color:#172119;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.recordCardAmount{color:#146b49;font-size:24px;font-weight:900}.recordCardAmount.negative{color:#c2412d}.recordCardAmount.positive{color:#146b49}.recordCard p{color:#46554c;font-size:14px;line-height:1.45}.recordMeta{display:flex;flex-wrap:wrap;gap:7px}.recordMeta span{max-width:100%;padding:4px 8px;border-radius:6px;background:#f3f7f5;color:#59685f;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.mobileEmpty{padding:24px 12px;border:1px dashed #cad6d0;border-radius:8px;background:#fff;color:#708078;text-align:center}@media (max-width: 1080px){.metricBand,.moduleGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.twoColumn{grid-template-columns:1fr}}@media (max-width: 760px){.shell{padding:14px}.detailShell{width:min(520px,100%);padding:0 14px calc(118px + env(safe-area-inset-bottom))}.detailTopbar{position:sticky;top:0;z-index:15;min-height:58px;margin:0 -14px 12px;padding:8px 14px;border-bottom:1px solid #e2e9e5;background:#f8faf9f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.detailTitle{flex:1;justify-content:center}.detailTitle span{width:32px;height:32px}.detailTitle h1{max-width:190px;font-size:18px}.backButton,.avatarButton{min-width:46px;height:36px}.detailWorkspace{min-height:0}.detailShell .twoColumn{gap:12px}.detailShell .panel,.detailShell .accountPanel{padding:14px;border-color:#e1e8e4;box-shadow:0 8px 22px #27342c0d}.detailShell .sectionTitle{margin-bottom:12px}.topbar,.accountControls,.toolbar,.formActions,.inlineControls{align-items:stretch;flex-direction:column}h1{font-size:24px}.moduleGrid,.metricBand,.formGrid,.newCustomer,.reportFilters,.inventoryBlock,.ledgerSummary{grid-template-columns:1fr}.detailShell .ledgerSummary,.dailySummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.dailySummaryGrid .dailyClosingMetric{grid-column:1 / -1}.detailShell .metric,.detailShell .inventoryBlock>div{min-height:78px;padding:13px}.detailShell .metric strong,.detailShell .inventoryBlock strong{font-size:20px}.detailShell input,.detailShell select{min-height:46px;border-color:#d5dfda;background:#fbfdfc}.detailShell .quickAddRow button{min-height:46px}.photoInputRow{align-items:stretch;flex-direction:column}.photoCaptureButton,.photoPreviewButton{width:100%;min-height:46px}.detailShell .segmented{position:sticky;top:66px;z-index:10;background:#eef4f1}.sourceBalanceStrip{grid-template-columns:repeat(2,minmax(0,1fr))}.sourceBalanceHeading{grid-column:1 / -1;min-height:46px}.sourceAllocationHeader{align-items:stretch;flex-direction:column}.sourceAllocationHeader button{width:100%;min-height:44px}.sourceAllocationRow{grid-template-columns:minmax(0,1fr) 42px}.sourceAllocationRow label{grid-column:1}.sourceAllocationRemove{grid-column:2;grid-row:1 / 3;width:42px;min-height:46px;align-self:end}.invoiceManagerForm{grid-template-columns:1fr}.supplierInvoiceRow{grid-template-columns:minmax(0,1fr) auto}.supplierInvoiceRow button{grid-column:1 / -1;min-height:44px}.invoiceManagerForm>button,.invoiceCustomerAdd{width:100%;max-width:none}.invoiceManager .sectionTitle small{max-width:none;text-align:left}.detailShell .calcStrip{display:grid;grid-template-columns:1fr;padding:10px;background:#f2f8f5}.detailShell .calcStrip span{width:100%;min-height:34px;white-space:normal}.detailShell .formActions button,.detailShell .newCustomer>button,.detailShell .inlineControls button,.detailShell .iconText{width:100%;min-height:46px}.detailShell .tableWrap{display:none}.mobileRecordList{display:grid;gap:10px;margin-top:12px}.reportCards{margin-top:4px}.moduleButton{min-height:66px}.sectionTitle.spread{align-items:stretch;flex-direction:column}.inlineDate{min-width:0}.dailyExport{width:100%!important}.dailyBalanceStrip{display:grid;grid-template-columns:1fr}.dailyBalanceStrip span{white-space:normal}.locationPickerButton{min-width:104px}.locationModalBackdrop{padding:0}.locationModal{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}.photoModalBackdrop{padding:0}.photoModal{width:100%;height:100dvh;max-height:none;border-radius:0}.photoModalBody img{max-height:calc(100dvh - 86px)}.locationSearchRow{grid-template-columns:minmax(0,1fr) 42px;padding:10px 12px}.locationSearchRow .locateButton{grid-column:1 / -1}.locationModalHeader,.locationModalActions,.selectedLocation{padding-right:12px;padding-left:12px}}@media print{body{background:#fff}.topbar,.moduleGrid,.metricBand,.accountPanel,.reportFilters,.toolbar,.formActions,.newCustomer{display:none!important}.shell{padding:0}.panel{border:0;box-shadow:none}.tableWrap{overflow:visible}}
