.inventory-tabs{border:1px solid var(--border);background:#fff;border-radius:13px;gap:6px;padding:6px;display:flex;overflow:auto}.inventory-tabs a{min-height:42px;color:var(--muted);white-space:nowrap;border-radius:9px;align-items:center;gap:7px;padding:9px 13px;font-size:11px;font-weight:800;display:flex}.inventory-tabs a.active,.inventory-tabs a:hover{background:var(--blue-pale);color:var(--blue-deep)}.inventory-tabs svg{width:18px;height:18px}.activation-panel{border-color:#cfdae6}.inventory-form{gap:16px;display:grid}.opening-stock-grid{border:1px solid var(--border);border-radius:12px;display:grid;overflow:hidden}.opening-stock-grid>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(210px,1.2fr) minmax(130px,.45fr) minmax(190px,.8fr);align-items:center;gap:10px;padding:10px 13px;display:grid}.opening-stock-grid>div:last-child{border-bottom:0}.opening-stock-grid .opening-head{color:var(--muted);text-transform:uppercase;background:#f4f7fa;font-size:9px}.opening-stock-grid span{display:grid}.opening-stock-grid small{color:var(--muted)}.opening-stock-grid input{border:1px solid var(--border);border-radius:8px;min-width:0;min-height:39px;padding:8px 10px}.inventory-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.inventory-toolbar>input{border:1px solid var(--border);border-radius:9px;flex:1;min-width:230px;min-height:43px;padding:9px 12px}.inventory-toolbar>label{background:#f5f8fb;border-radius:9px;align-items:center;gap:7px;padding:9px 12px;font-size:11px;font-weight:750;display:flex}.inventory-transaction-form{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-transaction-form>.button{width:max-content}.inventory-two-column{grid-template-columns:minmax(380px,.85fr) minmax(420px,1.15fr);gap:16px;display:grid}.stocktake-list{margin-top:20px}.stocktake-list>div{grid-template-columns:1fr auto auto}.stocktake-list button{color:var(--blue);background:0 0;border:0;font-weight:800}.stocktake-count .opening-stock-grid>div{grid-template-columns:minmax(180px,1fr) 100px minmax(120px,.45fr)}.stocktake-count form{gap:14px;display:grid}@media (max-width:1250px){.control-kpis{grid-template-columns:repeat(3,1fr)}.quick-action-grid{grid-template-columns:repeat(5,1fr)}.business-kpis{grid-template-columns:repeat(3,1fr)}.activity-strip{grid-template-columns:1fr 1fr}.activity-strip article:nth-child(2n){border-right:0}.inventory-two-column{grid-template-columns:1fr}}@media (max-width:900px){.control-kpis,.business-kpis{grid-template-columns:1fr 1fr}.quick-action-grid{grid-template-columns:repeat(4,1fr)}.dashboard-main-grid,.business-grid,.business-grid.wide-left{grid-template-columns:1fr}.recent-grid{grid-template-columns:1fr 1fr}.compact-table{overflow:auto}.compact-table table{min-width:780px}}@media (max-width:650px){.control-kpis,.business-kpis,.recent-grid{grid-template-columns:1fr}.quick-action-grid{grid-template-columns:repeat(2,1fr)}.dashboard-panel{padding:14px}.activity-strip{grid-template-columns:1fr}.activity-strip article{border-right:0;border-bottom:1px solid var(--border)}.subscription-bars>a{grid-template-columns:1fr 42px}.subscription-bars>a>div{grid-area:2/1/auto/-1}.recent-sales-list>a{grid-template-columns:auto 1fr}.recent-sales-list>a>span:last-child{text-align:left;grid-column:2}.inventory-tabs{margin-inline:-4px}.inventory-transaction-form{grid-template-columns:1fr}.opening-stock-grid{overflow:auto}.opening-stock-grid>div,.stocktake-count .opening-stock-grid>div{min-width:650px}.inventory-toolbar>*{width:100%}.inventory-toolbar .button{justify-content:center}.inventory-two-column{grid-template-columns:minmax(0,1fr)}}.accounting-dashboard-strip{background:linear-gradient(120deg,#f7fbff,#fffaf2);border-color:#bcd5ec;grid-template-columns:minmax(0,1.4fr) auto auto;align-items:center;gap:24px;display:grid}.accounting-dashboard-strip h2{margin:3px 0 5px}.accounting-dashboard-strip p{max-width:720px;color:var(--muted)}.accounting-dashboard-facts{align-items:center;gap:10px;display:flex}.accounting-dashboard-facts>span{border:1px solid var(--border);text-align:center;background:#fff;border-radius:10px;min-width:94px;padding:10px 12px;display:grid}.accounting-dashboard-facts b{font-size:19px}.accounting-dashboard-facts small{color:var(--muted)}.accounting-safe-state{color:#188653;align-items:center;gap:8px;font-weight:800;display:flex}.accounting-dashboard-strip>.button{white-space:nowrap}.accounting-financial-widgets{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.accounting-financial-widgets>a{border:1px solid var(--border);min-height:85px;color:var(--ink);background:#fff;border-radius:13px;align-items:center;gap:11px;padding:15px;display:flex}.accounting-financial-widgets>a:hover{border-color:#9fc4e4;box-shadow:0 8px 22px #19324b12}.accounting-financial-widgets svg{background:var(--blue-pale);width:42px;height:42px;color:var(--blue);border-radius:11px;padding:9px}.accounting-financial-widgets span{gap:2px;display:grid}.accounting-financial-widgets small,.accounting-financial-widgets em{color:var(--muted);font-style:normal}.accounting-financial-widgets b{font-size:18px}.accounting-dashboard-hold{align-items:center;gap:9px;display:flex}.accounting-activation-wizard{background:linear-gradient(140deg,#f8fbff,#fffdf7);border-color:#bcd5ec;gap:18px;padding:24px;display:grid}.accounting-activation-wizard>header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.accounting-activation-wizard>header>div{gap:5px;display:grid}.accounting-activation-wizard>header svg{color:var(--blue)}.accounting-activation-wizard h2,.accounting-activation-wizard h3{margin:0}.accounting-activation-wizard p{max-width:760px;color:var(--muted)}.activation-steps{border:1px solid var(--border);background:#fff;border-radius:12px;grid-template-columns:repeat(6,1fr);gap:5px;padding:6px;display:grid}.activation-steps button{min-height:42px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;padding:7px;font-size:10px;font-weight:800;display:flex}.activation-steps button b{background:#edf2f7;border-radius:50%;flex:0 0 25px;place-items:center;height:25px;display:grid}.activation-steps button.active{background:var(--blue-pale);color:var(--blue)}.activation-steps button.active b{background:var(--blue);color:#fff}.activation-steps button.complete{color:#188653}.activation-steps button.complete b{background:#dcf5e7}.activation-stage{border:1px solid var(--border);background:#fff;border-radius:13px;min-height:290px;padding:22px}.activation-stage>div{gap:10px;display:grid}.activation-fields{grid-template-columns:1fr 1fr;gap:12px;max-width:600px;margin-top:8px;display:grid}.activation-review-list{grid-template-columns:repeat(3,1fr);gap:7px;max-height:260px;display:grid;overflow:auto}.activation-review-list>span{border:1px solid var(--border);border-radius:9px;grid-template-columns:44px 1fr auto;align-items:center;gap:7px;padding:9px;display:grid}.activation-review-list small{color:var(--muted);font-size:9px}.activation-review-list.compact{grid-template-columns:repeat(2,1fr)}.activation-confirm{background:#fffaf0;border:1px solid #e6c378;border-radius:10px;align-items:flex-start;gap:10px;padding:13px;font-weight:750;display:flex}.activation-confirm input{margin-top:3px}.accounting-activation-wizard>footer{justify-content:space-between;gap:10px;display:flex}.accounting-page{gap:16px;display:grid}.accounting-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.accounting-health-chip{color:#166b42;background:#f1fbf5;border:1px solid #bddcca;border-radius:13px;align-items:center;gap:10px;min-width:220px;padding:12px 14px;display:flex}.accounting-health-chip span{display:grid}.accounting-health-chip small{color:#47705b}.accounting-activation{background:linear-gradient(135deg,#f8fbff,#fffaf0);border-color:#bdd6ee;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);align-items:center;gap:30px;padding:28px;display:grid}.activation-copy{gap:9px;display:grid}.activation-copy>svg{color:var(--blue)}.activation-copy h2{margin:0;font-size:28px}.activation-copy p{max-width:700px;color:var(--muted)}.activation-copy ul{gap:7px;margin:8px 0 0;padding-left:19px;display:grid}.accounting-activation form{border:1px solid var(--border);background:#fff;border-radius:14px;gap:14px;padding:20px;display:grid;box-shadow:0 14px 34px #1f374e14}.accounting-activation form .button{justify-content:center}.accounting-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.accounting-metric{border:1px solid var(--border);min-height:98px;color:var(--ink);background:#fff;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:17px;transition:transform .18s,border-color .18s,box-shadow .18s;display:grid;box-shadow:0 8px 24px #19324b0b}.accounting-metric:hover{border-color:#9fc4e4;transform:translateY(-2px);box-shadow:0 12px 28px #19324b17}.accounting-metric>svg:first-child{background:var(--blue-pale);width:46px;height:46px;color:var(--blue);border-radius:12px;padding:9px}.accounting-metric>svg:last-child{color:var(--muted)}.accounting-metric span{gap:4px;display:grid}.accounting-metric small{color:var(--muted);font-weight:750}.accounting-metric strong{font-size:21px}.accounting-status-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.accounting-dl{gap:0;margin:12px 0;display:grid}.accounting-dl>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:18px;padding:11px 0;display:flex}.accounting-dl dt{color:var(--muted)}.accounting-dl dd{margin:0;font-weight:800}.compact-form{gap:14px;display:grid}.compact-form form{grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:9px;display:grid}.compact-form input,.compact-form select,.voucher-composer input,.voucher-composer select,.report-filter input,.report-filter select,.mapping-select{border:1px solid var(--border);background:#fff;border-radius:9px;min-width:0;min-height:41px;padding:9px 10px}.voucher-composer{gap:14px;display:grid}.voucher-composer form{gap:12px;display:grid}.voucher-head{grid-template-columns:170px 160px 1fr 1.5fr;gap:9px;display:grid}.voucher-lines{border:1px solid var(--border);border-radius:12px;display:grid;overflow:hidden}.voucher-lines>div{border-bottom:1px solid var(--border);grid-template-columns:34px minmax(200px,1.2fr) minmax(180px,1fr) 130px 130px;align-items:center;gap:8px;padding:9px;display:grid}.voucher-lines>div:last-child{border-bottom:0}.voucher-lines>div>span{background:var(--blue-pale);width:26px;height:26px;color:var(--blue);border-radius:50%;place-items:center;font-weight:850;display:grid}.voucher-totals{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:17px;display:flex}.voucher-totals>.button:first-child{margin-right:auto}.journal-sheet{padding:24px}.journal-sheet>header,.journal-sheet>footer{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.journal-sheet>header>div:last-child{justify-items:end;gap:8px;display:grid}.journal-sheet>footer{border-top:1px solid var(--border);padding-top:16px}.report-filter{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.report-filter label{gap:5px;min-width:150px;display:grid}.report-filter label span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:800}.report-summary{border:1px solid var(--border);background:#fff;border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;padding:13px;display:grid}.report-summary article{background:#f5f8fb;border-radius:10px;gap:5px;padding:12px;display:grid}.report-summary small{color:var(--muted);font-weight:750}.report-summary strong{font-size:20px}.report-summary.balanced{background:#f7fcf9;border-color:#b8dbc7}.report-summary>svg{color:#1c9b5f;align-self:center}.statement-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.statement-grid>div{gap:14px;display:grid}.statement{gap:0;display:grid}.statement>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:10px 0;display:flex}.statement>div:last-child{border-bottom:0}.statement a{font-weight:850}.success-text{color:#188653!important}.danger-text{color:#c43e3e!important}.danger-button{color:#b92f2f!important;background:#fff0f0!important;border-color:#e5aaaa!important}.accounting-page .master-table td small{color:var(--muted);margin-top:3px;display:block}.accounting-page .empty-state{border:1px dashed var(--border);min-height:200px;color:var(--muted);background:#fff;border-radius:14px;place-items:center;gap:9px;padding:30px;display:grid}@media (max-width:1100px){.accounting-financial-widgets,.accounting-kpis{grid-template-columns:1fr 1fr}.compact-form form{grid-template-columns:repeat(3,1fr)}.voucher-head{grid-template-columns:1fr 1fr}.voucher-lines{overflow:auto}.voucher-lines>div{min-width:820px}}@media (max-width:760px){.accounting-dashboard-strip{grid-template-columns:1fr}.accounting-dashboard-facts{grid-template-columns:repeat(3,1fr);display:grid}.accounting-financial-widgets{grid-template-columns:1fr}.accounting-dashboard-strip>.button{justify-content:center}.accounting-activation-wizard>header{display:grid}.activation-steps{display:flex;overflow:auto}.activation-steps button{min-width:120px}.activation-fields,.activation-review-list,.activation-review-list.compact{grid-template-columns:1fr}.accounting-header{display:grid}.accounting-health-chip{width:100%;min-width:0}.accounting-activation,.accounting-status-grid,.statement-grid,.accounting-kpis,.compact-form form,.voucher-head,.report-summary{grid-template-columns:1fr}.journal-sheet>header,.journal-sheet>footer{display:grid}.journal-sheet>header>div:last-child{justify-items:start}.report-filter>*{width:100%}.voucher-totals{align-items:stretch}.voucher-totals>*{justify-content:center;width:100%}.accounting-page .master-table-wrap{overflow:auto}.accounting-page .master-table{min-width:760px}}
.returns-page,.return-create-page,.settlement-page{max-width:1500px;margin:0 auto}.return-form{gap:18px;display:grid}.return-source-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.return-source-summary span,.credit-balance{background:linear-gradient(145deg,#fff,#f8fbff);border:1px solid #dbe4ef;border-radius:12px;flex-direction:column;gap:5px;padding:14px;display:flex}.return-source-summary small,.credit-balance small{color:#64748b;letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800}.return-line-table td small{color:#64748b;margin-top:3px;display:block}.return-line-table input{width:120px;max-width:100%;font:inherit;border:1px solid #cbd5e1;border-radius:9px;padding:9px 10px}.return-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.return-fields textarea{resize:vertical;min-height:92px}.return-policy{gap:15px;display:grid}.return-detail .invoice-toolbar>div{flex-wrap:wrap;gap:9px;display:flex}.return-detail .invoice-sheet{max-width:1040px}.settlement-mode{background:#eef3f9;border-radius:12px;grid-template-columns:1fr 1fr;gap:7px;padding:5px;display:grid}.settlement-mode button{color:#526177;background:0 0;border:0;border-radius:9px;min-height:40px;font-weight:800}.settlement-mode button.active{color:var(--blue);background:#fff;box-shadow:0 3px 12px #142d4a14}.credit-balance strong{color:var(--blue);font-size:30px}.settlement-policy{align-content:start}.settlement-policy>svg{color:var(--gold)}.settlement-policy ul{color:#475569;gap:12px;padding-left:20px;line-height:1.55;display:grid}.settlement-policy a{color:var(--blue);font-weight:800}.return-detail footer{justify-content:space-between;gap:15px;display:flex}.return-detail .invoice-parties a{color:var(--blue);text-decoration:none}.return-detail .invoice-toolbar .button{width:auto}.returns-page .master-table th,.returns-page .master-table td{white-space:nowrap}@media (max-width:900px){.return-source-summary{grid-template-columns:1fr 1fr}.return-fields{grid-template-columns:1fr}.returns-page .sales-actions{align-items:stretch}.returns-page .sales-actions .master-search{min-width:100%}.return-detail .invoice-toolbar{align-items:flex-start;gap:12px}.return-detail .invoice-toolbar>div{width:100%}}@media (max-width:640px){.return-source-summary{grid-template-columns:1fr}.return-line-table thead{display:none}.return-line-table,.return-line-table tbody,.return-line-table tr,.return-line-table td{width:100%;display:block}.return-line-table tr{border-bottom:1px solid #e2e8f0;padding:12px}.return-line-table td{white-space:normal;border:0;grid-template-columns:110px 1fr;gap:10px;padding:7px 0;display:grid}.return-line-table td:before{content:attr(data-label);color:#64748b;text-transform:uppercase;font-size:11px;font-weight:800}.return-line-table input{width:100%}.return-detail .invoice-toolbar>div{grid-template-columns:1fr;display:grid}.return-detail .invoice-toolbar .button{justify-content:center;width:100%}.return-detail .invoice-sheet{padding:20px 14px}.return-detail .invoice-sheet table{font-size:11px}.return-detail footer{flex-direction:column}.settlement-mode{grid-template-columns:1fr}.returns-page .sales-actions>.button{justify-content:center;width:100%}}@media print{.return-detail .invoice-sheet{box-shadow:none;border:0;max-width:none;margin:0}.return-detail .invoice-sheet a{color:inherit;text-decoration:none}.no-print{display:none!important}}
