.administration-page{position:relative}.administration-heading,.administration-tabs{margin-bottom:18px}.admin-summary-grid{display:grid;gap:14px;margin-bottom:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.admin-summary-grid article{border:1px solid #e2e7ee;border-radius:14px;padding:17px;background:#fff}.admin-summary-grid span,.admin-summary-grid strong{display:block}.admin-summary-grid span{color:#8490a2;font-size:9px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.admin-summary-grid strong{margin-top:8px;color:#1f2937;font-size:22px;letter-spacing:-.04em}.admin-data-panel{overflow:hidden}.admin-user-filters,.admin-audit-filters{display:grid;gap:10px;border-bottom:1px solid #edf0f4;padding:16px 18px}.admin-user-filters{grid-template-columns:minmax(270px,1fr) repeat(3,minmax(145px,190px))}.admin-audit-filters{grid-template-columns:minmax(250px,1fr) repeat(2,minmax(150px,190px)) repeat(2,minmax(130px,160px))}.admin-user-filters .product-search,.admin-user-filters .toolbar-select,.admin-audit-filters .product-search,.admin-audit-filters .toolbar-select{width:100%}.admin-user-table{min-width:1150px}.admin-audit-table{min-width:1050px}.admin-user-cell{display:flex;min-width:205px;align-items:center;gap:10px}.admin-user-cell>div{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:11px;color:#1d4ed8;background:#eaf1ff;font-size:12px;font-weight:800}.admin-user-cell span strong,.admin-user-cell span small{display:block}.admin-user-cell span strong{color:#334155;font-size:11px}.admin-user-cell span small{margin-top:4px;color:#94a3b8;font-size:9px}.admin-status-active{color:#047857;background:#e8f8f2}.admin-status-suspended{color:#b45309;background:#fff5e5}.admin-status-deleted{color:#be123c;background:#ffe9ef}.admin-table-actions{display:inline-flex;align-items:center;gap:8px}.admin-table-actions button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:9px;font-weight:750}.admin-table-actions button:hover{text-decoration:underline}.admin-table-actions .warning-link{color:#b45309}.admin-table-actions .danger-link{color:#dc2626}.administration-form{padding:22px}.administration-form .form-field input,.administration-form .form-field select,.administration-form .form-field textarea{width:100%;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.administration-form .form-field input,.administration-form .form-field select{height:42px}.administration-form .form-field textarea{padding-top:10px}.administration-form .form-field input:focus,.administration-form .form-field select:focus,.administration-form .form-field textarea:focus{border-color:#8cb0fa;outline:none;box-shadow:0 0 0 3px #2563eb12}.administration-form .form-field input:disabled,.administration-form .form-field select:disabled{color:#7c8797;background:#f3f5f8}.admin-target-card{display:flex;align-items:center;gap:11px;border:1px solid #dfe5ed;border-radius:12px;margin-bottom:17px;padding:13px;color:#2563eb;background:#f8fbff}.admin-target-card strong,.admin-target-card span{display:block}.admin-target-card strong{color:#334155;font-size:11px}.admin-target-card span{margin-top:4px;color:#94a3b8;font-size:9px}.admin-security-note{border:1px solid #fde68a;border-radius:10px;padding:10px 12px;color:#92400e;background:#fffbeb;font-size:9px;line-height:1.5}.admin-inline-error{border:1px solid #fecaca;border-radius:9px;margin:5px 0 12px;padding:9px 11px;color:#b42318;background:#fff7f7;font-size:9px}.admin-role-grid{display:grid;gap:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.admin-role-card{display:flex;min-height:255px;flex-direction:column;border:1px solid #e2e7ee;border-radius:15px;padding:17px;background:#fff}.admin-role-card>header{display:flex;align-items:center;justify-content:space-between}.admin-role-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;color:#6d28d9;background:#f1eaff}.admin-role-heading{margin-top:14px}.admin-role-heading strong,.admin-role-heading span{display:block}.admin-role-heading strong{color:#334155;font-size:13px}.admin-role-heading span{margin-top:4px;color:#94a3b8;font-size:9px}.admin-role-stats{display:grid;gap:10px;margin-top:15px;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-role-stats div{border:1px solid #e8ebf0;border-radius:10px;padding:10px;background:#fafbfc}.admin-role-stats span,.admin-role-stats strong{display:block}.admin-role-stats span{color:#94a3b8;font-size:8px;text-transform:uppercase}.admin-role-stats strong{margin-top:5px;color:#334155;font-size:13px}.admin-role-flags{margin-top:12px}.admin-role-flags span{display:inline-flex;border-radius:999px;padding:5px 8px;color:#526078;background:#eef2f7;font-size:8px;font-weight:700}.admin-role-card>button{display:flex;min-height:42px;cursor:pointer;align-items:center;justify-content:center;gap:7px;border-top:1px solid #edf0f4;margin:auto -17px -17px;color:#2563eb;background:transparent;font-size:10px;font-weight:750}.admin-role-card>button:hover:not(:disabled){background:#f8fbff}.admin-role-card>button:disabled{cursor:not-allowed;color:#9aa4b3}.permission-section{border-top:1px solid #edf0f4;margin-top:4px;padding-top:20px}.permission-module-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.permission-module-card{overflow:hidden;border:1px solid #e1e6ed;border-radius:12px;background:#fbfcfe}.permission-module-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e7ebf0;padding:11px 12px;background:#f6f8fb}.permission-module-card header strong,.permission-module-card header span{display:block}.permission-module-card header strong{color:#334155;font-size:10px}.permission-module-card header span{margin-top:3px;color:#94a3b8;font-size:8px}.permission-module-card header button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:8px;font-weight:750}.permission-module-card>div{display:grid;padding:5px 11px}.permission-module-card label{display:flex;cursor:pointer;align-items:flex-start;gap:9px;border-bottom:1px solid #edf0f4;padding:9px 0}.permission-module-card label:last-child{border-bottom:0}.permission-module-card input{width:15px;height:15px;margin:1px 0 0;accent-color:#2563eb}.permission-module-card label strong,.permission-module-card label small{display:block}.permission-module-card label strong{color:#475569;font-size:9px}.permission-module-card label small{margin-top:3px;color:#94a3b8;font-size:7px}.super-admin-permission-note{border:1px solid #bfdbfe;border-radius:11px;padding:13px;color:#1e40af;background:#eff6ff;font-size:10px}.admin-date-input{height:42px;border:1px solid #dfe4eb;border-radius:11px;padding:0 10px;color:#4b5563;background:#fff;font-size:10px}.audit-action-pill{display:inline-flex;border-radius:999px;padding:5px 8px;color:#4c1d95;background:#f3e8ff;font-size:8px;font-weight:750}.audit-detail{padding:22px}.audit-detail-summary{display:grid;gap:11px;margin-bottom:15px;grid-template-columns:repeat(4,minmax(0,1fr))}.audit-detail-summary div,.audit-request-meta div{border:1px solid #e4e9ef;border-radius:10px;padding:11px;background:#fafbfc}.audit-detail-summary span,.audit-detail-summary strong,.audit-request-meta span,.audit-request-meta strong{display:block}.audit-detail-summary span,.audit-request-meta span{color:#94a3b8;font-size:7px;text-transform:uppercase;letter-spacing:.05em}.audit-detail-summary strong,.audit-request-meta strong{margin-top:5px;overflow-wrap:anywhere;color:#334155;font-size:9px}.audit-json-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.audit-json-grid article{overflow:hidden;border:1px solid #e1e6ed;border-radius:11px}.audit-json-grid h3{margin:0;border-bottom:1px solid #e7ebf0;padding:10px 12px;color:#334155;background:#f7f9fb;font-size:9px}.audit-json-grid pre{min-height:180px;max-height:320px;overflow:auto;margin:0;padding:12px;color:#475569;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;line-height:1.6;white-space:pre-wrap}.audit-request-meta{display:grid;gap:11px;margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.security-page-card{width:min(100%,570px);border:1px solid #e2e7ee;border-radius:16px;padding:28px;background:#fff}.security-page-icon{display:grid;width:58px;height:58px;margin-bottom:18px;place-items:center;border-radius:17px;color:#1d4ed8;background:#eaf1ff}.security-page-card h2{margin-top:8px;color:#1f2937;font-size:24px;letter-spacing:-.04em}.security-page-card>p{margin-top:9px;color:#7c8797;font-size:11px;line-height:1.65}.security-page-card form{margin-top:22px}.security-page-card .form-field input{width:100%;height:44px;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.security-page-card form>.primary-button{width:100%;min-height:46px;margin-top:5px}@media (max-width:1120px){.admin-user-filters,.admin-audit-filters,.admin-summary-grid,.admin-role-grid,.audit-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.administration-heading{align-items:stretch;flex-direction:column}.administration-heading .primary-button{width:100%}.admin-user-filters,.admin-audit-filters,.admin-summary-grid,.admin-role-grid,.permission-module-grid,.audit-detail-summary,.audit-json-grid,.audit-request-meta{grid-template-columns:1fr}}.customer-page{position:relative}.customer-summary-grid{display:grid;gap:14px;margin-bottom:17px;grid-template-columns:repeat(4,minmax(0,1fr))}.customer-summary-grid article{border:1px solid #e2e7ee;border-radius:14px;padding:17px 18px;background:#fff}.customer-summary-grid span,.customer-summary-grid strong{display:block}.customer-summary-grid span{color:#8490a2;font-size:9px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.customer-summary-grid strong{margin-top:8px;color:#1f2937;font-size:20px;letter-spacing:-.035em}.customer-list-panel{overflow:hidden}.customer-table{min-width:1160px}.customer-name-cell{display:flex;min-width:210px;align-items:center;gap:11px}.customer-avatar{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:11px;color:#0369a1;background:#e5f7fb;font-size:13px;font-weight:800}.customer-avatar-large{width:54px;height:54px;border-radius:16px;font-size:18px}.customer-name-cell strong,.customer-name-cell span{display:block}.customer-name-cell strong{color:#273247;font-size:12px}.customer-name-cell span{margin-top:4px;color:#929baa;font-size:10px}.customer-due-positive{color:#b45309}.customer-due-zero{color:#047857}.customer-actions{display:inline-flex;align-items:center;gap:9px}.customer-actions button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:10px;font-weight:750}.customer-actions button:hover{text-decoration:underline}.customer-actions .danger-link{color:#dc2626}.customer-form,.receipt-form{padding:22px}.receipt-customer-card{display:flex;align-items:center;gap:12px;border:1px solid #dfe5ed;border-radius:13px;margin-bottom:18px;padding:13px;background:#f8fafc}.receipt-customer-card strong,.receipt-customer-card span{display:block}.receipt-customer-card strong{color:#334155;font-size:12px}.receipt-customer-card span{margin-top:4px;color:#8b95a5;font-size:10px}.customer-statement-loading{display:grid;min-height:300px;place-items:center;color:#94a3b8;font-size:12px}.customer-statement{padding:22px}.statement-customer-header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.statement-customer-header h3{color:#273247;font-size:17px}.statement-customer-header span{display:block;margin-top:5px;color:#8c96a6;font-size:10px}.statement-summary-grid{display:grid;gap:11px;margin-bottom:22px;grid-template-columns:repeat(3,minmax(0,1fr))}.statement-summary-grid article{border:1px solid #e4e9ef;border-radius:12px;padding:13px;background:#fafbfc}.statement-summary-grid span,.statement-summary-grid strong{display:block}.statement-summary-grid span{color:#94a3b8;font-size:8px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.statement-summary-grid strong{margin-top:7px;color:#334155;font-size:13px}.statement-current-balance{border-color:#bfdbfe!important;background:#eff6ff!important}.statement-current-balance strong{color:#1d4ed8;font-size:16px}.statement-section{border:1px solid #e4e9ef;border-radius:13px;margin-top:15px;overflow:hidden}.statement-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e8edf2;padding:13px 15px;background:#fafbfc}.statement-section-heading h3{color:#334155;font-size:12px}.statement-section-heading span{color:#94a3b8;font-size:9px}.statement-table{min-width:700px}@media (max-width: 1100px){.customer-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.customer-summary-grid,.statement-summary-grid{grid-template-columns:1fr}}.finance-page{position:relative}.finance-module-heading{margin-bottom:17px}.finance-heading-actions{display:flex;align-items:center;gap:10px}.finance-account-strip{display:grid;gap:14px;border:1px solid #e2e7ee;border-radius:16px;margin-bottom:18px;padding:16px;background:#fff;grid-template-columns:minmax(200px,.65fr) minmax(0,2.35fr)}.finance-account-total{display:flex;justify-content:center;flex-direction:column;border-right:1px solid #e8ecf1;padding:4px 18px 4px 4px}.finance-account-total span,.finance-account-total strong{display:block}.finance-account-total span{color:#8490a2;font-size:9px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.finance-account-total strong{margin-top:8px;color:#1d4ed8;font-size:23px;letter-spacing:-.04em}.finance-account-cards{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.finance-account-cards article{border:1px solid #e5e9ef;border-radius:12px;padding:12px;background:#fafbfc}.finance-account-cards span,.finance-account-cards strong,.finance-account-cards small{display:block}.finance-account-cards span{overflow:hidden;color:#697386;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.finance-account-cards strong{margin-top:6px;color:#334155;font-size:13px}.finance-account-cards small{margin-top:4px;color:#9aa4b3;font-size:8px}.finance-tabs{margin-bottom:18px}.finance-data-panel{overflow:hidden}.finance-filter-grid{display:grid;gap:10px;border-bottom:1px solid #edf0f4;padding:16px 18px}.expense-filter-grid{grid-template-columns:minmax(250px,1fr) repeat(3,minmax(140px,.5fr)) repeat(2,minmax(130px,.42fr))}.supplier-payment-filter-grid{grid-template-columns:repeat(2,minmax(180px,240px))}.transaction-filter-grid{grid-template-columns:repeat(4,minmax(150px,220px))}.finance-filter-grid .product-search,.finance-filter-grid .toolbar-select{width:100%}.finance-date-input{height:42px;border:1px solid #dfe4eb;border-radius:11px;padding:0 11px;color:#4b5563;background:#fff;font-size:11px}.finance-expense-table{min-width:1100px}.supplier-payment-table{min-width:1050px}.account-transaction-table{min-width:1180px}.finance-status-posted{color:#047857;background:#e8f8f2}.finance-status-cancelled{color:#be123c;background:#ffe9ef}.finance-cancel-link{cursor:pointer;padding:0;color:#dc2626;background:transparent;font-size:10px;font-weight:750}.finance-cancel-link:hover{text-decoration:underline}.finance-account-grid{display:grid;gap:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.finance-account-card{display:flex;min-height:245px;flex-direction:column;border:1px solid #e2e7ee;border-radius:15px;padding:17px;background:#fff}.finance-account-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;color:#1d4ed8;background:#eaf1ff}.finance-account-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:15px}.finance-account-card-heading strong,.finance-account-card-heading span{display:block}.finance-account-card-heading strong{color:#334155;font-size:13px}.finance-account-card-heading div span{margin-top:4px;color:#94a3b8;font-size:9px}.finance-account-balance{border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;margin:15px 0;padding:14px 0}.finance-account-balance span,.finance-account-balance strong{display:block}.finance-account-balance span{color:#94a3b8;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.finance-account-balance strong{margin-top:6px;color:#1d4ed8;font-size:21px;letter-spacing:-.035em}.finance-account-meta{display:grid;gap:5px;color:#8b95a5;font-size:9px}.finance-account-card>button{display:flex;min-height:39px;cursor:pointer;align-items:center;justify-content:center;gap:7px;border-top:1px solid #edf0f4;margin:auto -17px -17px;color:#2563eb;background:transparent;font-size:10px;font-weight:750}.finance-account-card>button:hover{background:#f8fbff}.finance-direction{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800;text-transform:capitalize}.finance-direction-credit{color:#047857;background:#e8f8f2}.finance-direction-debit{color:#be123c;background:#ffe9ef}.finance-amount-credit{color:#047857!important;font-weight:750}.finance-amount-debit{color:#be123c!important;font-weight:750}.finance-form{padding:22px}.finance-form .form-field input,.finance-form .form-field select,.finance-form .form-field textarea{width:100%;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.finance-form .form-field input,.finance-form .form-field select{height:42px}.finance-form .form-field textarea{padding-top:10px;resize:vertical}.finance-form .form-field input:focus,.finance-form .form-field select:focus,.finance-form .form-field textarea:focus{border-color:#8cb0fa;outline:none;box-shadow:0 0 0 3px #2563eb12}.finance-modal-loading{display:grid;min-height:290px;place-items:center;color:#94a3b8;font-size:11px}.supplier-statement{padding:22px}.finance-party-header{display:flex;align-items:center;gap:13px;margin-bottom:17px}.finance-party-avatar{display:grid;width:52px;height:52px;place-items:center;border-radius:15px;color:#6d28d9;background:#f1eaff;font-size:17px;font-weight:800}.finance-party-header h3{color:#273247;font-size:16px}.finance-party-header span{display:block;margin-top:4px;color:#94a3b8;font-size:9px}.finance-summary-grid{display:grid;gap:10px;margin-bottom:18px;grid-template-columns:repeat(5,minmax(0,1fr))}.finance-summary-grid article{border:1px solid #e4e9ef;border-radius:11px;padding:12px;background:#fafbfc}.finance-summary-grid span,.finance-summary-grid strong{display:block}.finance-summary-grid span{color:#94a3b8;font-size:8px;text-transform:uppercase;letter-spacing:.05em}.finance-summary-grid strong{margin-top:6px;color:#334155;font-size:12px}.finance-balance-card{border-color:#fde68a!important;background:#fffbeb!important}.finance-balance-card strong{color:#b45309;font-size:14px}.finance-statement-section{border:1px solid #e4e9ef;border-radius:12px;margin-top:14px;overflow:hidden}.finance-statement-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e8edf2;padding:12px 14px;background:#fafbfc}.finance-statement-section h3{color:#334155;font-size:11px}.finance-statement-section header span{color:#94a3b8;font-size:8px}.finance-statement-table{min-width:700px}@media (max-width: 1180px){.finance-account-strip{grid-template-columns:1fr}.finance-account-total{border-right:0;border-bottom:1px solid #e8ecf1;padding:4px 4px 14px}.expense-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 780px){.finance-module-heading,.finance-heading-actions{align-items:stretch;flex-direction:column}.finance-heading-actions,.finance-heading-actions button{width:100%}.finance-account-cards,.expense-filter-grid,.supplier-payment-filter-grid,.transaction-filter-grid,.finance-account-grid,.finance-summary-grid{grid-template-columns:1fr}}.invoice-print-page{min-height:100vh;padding:24px;color:#172033;background:#e9edf3}.invoice-print-toolbar{position:sticky;z-index:30;top:0;display:flex;width:min(100%,1180px);min-height:70px;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dfe5ed;border-radius:14px;margin:0 auto 20px;padding:12px 15px;background:#fffffff7;box-shadow:0 10px 30px #0f172a14;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.invoice-print-toolbar>div{display:flex;align-items:center;gap:10px}.invoice-print-toolbar a{display:inline-flex;align-items:center;gap:6px;color:#2563eb;font-size:10px;font-weight:750;text-decoration:none}.invoice-print-toolbar a svg{transform:rotate(180deg)}.invoice-print-toolbar>div:first-child>strong{border-left:1px solid #e1e6ed;padding-left:11px;color:#334155;font-size:12px}.invoice-print-toolbar label{display:flex;align-items:center;gap:7px}.invoice-print-toolbar label span{color:#7c8797;font-size:9px;font-weight:700}.invoice-print-toolbar select{height:38px;border:1px solid #d9dee7;border-radius:9px;padding:0 32px 0 10px;color:#334155;background:#fff;font-size:10px}.invoice-print-toolbar button{min-height:38px}.invoice-print-stage{display:flex;justify-content:center;overflow:auto;padding-bottom:30px}.invoice-print-sheet{position:relative;overflow:hidden;box-sizing:border-box;color:#111827;background:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 20px 55px #0f172a29}.invoice-paper-a4{width:210mm;min-height:297mm;padding:14mm}.invoice-paper-a5{width:148mm;min-height:210mm;padding:9mm}.invoice-paper-80{width:80mm;min-height:140mm;padding:3mm}.invoice-paper-58{width:58mm;min-height:100mm;padding:2.5mm}.invoice-watermark{position:absolute;z-index:0;top:40%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);color:#94a3b821;font-size:58px;font-weight:900;letter-spacing:.18em;pointer-events:none}.invoice-print-sheet>*:not(.invoice-watermark){position:relative;z-index:1}.invoice-print-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:2px solid #1d4ed8;padding-bottom:13px}.invoice-business-block{display:flex;min-width:0;align-items:flex-start;gap:12px}.invoice-business-logo{width:58px;height:58px;flex:0 0 auto;object-fit:contain;border-radius:8px}.invoice-business-block h1{margin:0;color:#111827;font-size:22px;line-height:1.15}.invoice-business-block p{max-width:410px;margin:3px 0 0;color:#526078;font-size:9px;line-height:1.45}.invoice-title-block{flex:0 0 auto;text-align:right}.invoice-title-block span,.invoice-title-block strong,.invoice-title-block small{display:block}.invoice-title-block span{color:#1d4ed8;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.invoice-title-block strong{margin-top:6px;color:#111827;font-size:18px}.invoice-title-block small{margin-top:5px;color:#64748b;font-size:9px}.invoice-barcode{width:190px;max-width:100%;margin:8px 0 0 auto}.invoice-barcode svg{display:block;width:100%;height:38px;overflow:visible;fill:#111827;shape-rendering:crispEdges}.invoice-barcode span{display:block;margin-top:2px;overflow:hidden;color:#334155;font-family:Courier New,Courier,monospace;font-size:7px;font-weight:700;letter-spacing:.08em;text-align:center;text-overflow:ellipsis;white-space:nowrap}.invoice-template-header-text{border-left:3px solid #60a5fa;margin-top:10px;padding:7px 9px;color:#475569;background:#eff6ff;font-size:8px;line-height:1.5;white-space:pre-line}.invoice-party-grid{display:grid;gap:13px;margin-top:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-party-grid>div{border:1px solid #dfe5ed;border-radius:9px;padding:10px}.invoice-party-grid>div>span{display:block;margin-bottom:5px;color:#64748b;font-size:7px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.invoice-party-grid strong,.invoice-party-grid small,.invoice-party-grid p{display:block;margin:0}.invoice-party-grid strong{color:#1f2937;font-size:10px}.invoice-party-grid small,.invoice-party-grid p{margin-top:3px;color:#64748b;font-size:8px;line-height:1.45}.invoice-party-grid dl{display:grid;gap:4px 9px;margin:0;grid-template-columns:auto 1fr;font-size:8px}.invoice-party-grid dt{color:#64748b}.invoice-party-grid dd{margin:0;color:#1f2937;font-weight:650;text-align:right}.invoice-items-wrap{margin-top:13px;overflow:hidden;border:1px solid #dce2e9;border-radius:9px}.invoice-items-table{width:100%;border-collapse:collapse;table-layout:auto}.invoice-items-table th{padding:7px 6px;color:#fff;background:#1d4ed8;font-size:7px;font-weight:800;letter-spacing:.04em;text-align:left;text-transform:uppercase}.invoice-items-table td{border-bottom:1px solid #e7ebf0;padding:7px 6px;color:#334155;font-size:8px;vertical-align:top}.invoice-items-table tbody tr:last-child td{border-bottom:0}.invoice-items-table td strong,.invoice-items-table td small{display:block}.invoice-items-table td strong{color:#1f2937;font-size:8px}.invoice-items-table td small{margin-top:2px;color:#8b95a5;font-size:6.5px}.invoice-number-cell{text-align:right!important;white-space:nowrap}.invoice-summary-grid{display:grid;align-items:start;gap:14px;margin-top:13px;grid-template-columns:minmax(0,1fr) minmax(230px,.72fr)}.invoice-payment-summary h3,.invoice-tax-breakdown h3,.invoice-terms h3{margin:0 0 7px;color:#334155;font-size:8px;letter-spacing:.04em;text-transform:uppercase}.invoice-payment-summary>div:not(.invoice-note-block){display:flex;max-width:300px;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px dashed #dce2e9;padding:5px 0;color:#64748b;font-size:8px}.invoice-payment-summary>p{color:#94a3b8;font-size:8px}.invoice-note-block{margin-top:10px}.invoice-note-block span{display:block;color:#64748b;font-size:7px;font-weight:800;text-transform:uppercase}.invoice-note-block p{margin:4px 0 0;color:#475569;font-size:8px;line-height:1.45}.invoice-total-table{border:1px solid #dce2e9;border-radius:9px;padding:7px 10px}.invoice-total-table>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f4;padding:5px 0;color:#64748b;font-size:8px}.invoice-total-table>div:last-child{border-bottom:0}.invoice-total-table strong{color:#1f2937}.invoice-total-grand{border-top:1px solid #bfdbfe!important;border-bottom:1px solid #bfdbfe!important;margin:3px -10px;padding:8px 10px!important;color:#1d4ed8!important;background:#eff6ff;font-size:10px!important;font-weight:800}.invoice-total-grand strong{color:#1d4ed8!important;font-size:13px}.invoice-amount-words{border:1px solid #dfe5ed;border-radius:8px;margin-top:12px;padding:8px 10px;background:#f8fafc}.invoice-amount-words span,.invoice-amount-words strong{display:block}.invoice-amount-words span{color:#64748b;font-size:6.5px;font-weight:800;text-transform:uppercase}.invoice-amount-words strong{margin-top:4px;color:#334155;font-size:8px;line-height:1.4}.invoice-tax-breakdown{margin-top:12px}.invoice-tax-breakdown table{width:100%;overflow:hidden;border:1px solid #dce2e9;border-radius:8px;border-collapse:separate;border-spacing:0}.invoice-tax-breakdown th,.invoice-tax-breakdown td{border-bottom:1px solid #e7ebf0;padding:6px 8px;color:#475569;font-size:7px;text-align:right}.invoice-tax-breakdown th{color:#334155;background:#f8fafc}.invoice-tax-breakdown tr:last-child td{border-bottom:0}.invoice-terms{border-top:1px solid #dfe5ed;margin-top:12px;padding-top:10px}.invoice-terms p{margin:0;color:#64748b;font-size:7px;line-height:1.5;white-space:pre-line}.invoice-print-footer{display:flex;min-height:70px;align-items:flex-end;justify-content:space-between;gap:20px;border-top:1px solid #dfe5ed;margin-top:16px;padding-top:12px}.invoice-print-footer p,.invoice-print-footer small{display:block;margin:0}.invoice-print-footer p{color:#334155;font-size:8px;font-weight:650;white-space:pre-line}.invoice-print-footer small{margin-top:4px;color:#94a3b8;font-size:6.5px}.invoice-signature{min-width:150px;text-align:center}.invoice-signature span{display:block;border-top:1px solid #64748b;margin-bottom:5px}.invoice-signature strong,.invoice-signature small{display:block}.invoice-signature strong{color:#334155;font-size:7.5px}.invoice-signature small{margin-top:3px;color:#94a3b8;font-size:6px}.invoice-paper-thermal{box-shadow:0 12px 35px #0f172a2e}.invoice-paper-thermal .invoice-print-header{display:block;border-bottom:1px dashed #111827;padding-bottom:2mm;text-align:center}.invoice-paper-thermal .invoice-business-block{display:block}.invoice-paper-thermal .invoice-business-logo{width:18mm;height:18mm;margin:0 auto 2mm}.invoice-paper-thermal .invoice-business-block h1{font-size:13px}.invoice-paper-thermal .invoice-business-block p{max-width:none;font-size:7px}.invoice-paper-thermal .invoice-title-block{border-top:1px dashed #111827;margin-top:2mm;padding-top:2mm;text-align:center}.invoice-paper-thermal .invoice-title-block span{font-size:8px}.invoice-paper-thermal .invoice-title-block strong{font-size:10px}.invoice-paper-thermal .invoice-title-block small{font-size:7px}.invoice-paper-thermal .invoice-barcode{width:100%;margin:2mm auto 0}.invoice-paper-thermal .invoice-barcode svg{height:9mm}.invoice-paper-thermal .invoice-barcode span{margin-top:.7mm;font-size:5.5px;letter-spacing:.04em}.invoice-paper-thermal .invoice-template-header-text{font-size:6.5px}.invoice-paper-thermal .invoice-party-grid{display:block;margin-top:2mm}.invoice-paper-thermal .invoice-party-grid>div{border:0;border-bottom:1px dashed #111827;border-radius:0;padding:1.5mm 0}.invoice-paper-thermal .invoice-party-grid>div:last-child{display:none}.invoice-paper-thermal .invoice-items-wrap{border:0;border-radius:0;margin-top:2mm}.invoice-paper-thermal .invoice-items-table th{border-top:1px dashed #111827;border-bottom:1px dashed #111827;padding:1.5mm .8mm;color:#111827;background:#fff;font-size:6px}.invoice-paper-thermal .invoice-items-table td{padding:1.5mm .8mm;font-size:6.5px}.invoice-paper-thermal .invoice-items-table td strong{font-size:6.5px}.invoice-paper-thermal .invoice-items-table td small{font-size:5.5px}.invoice-paper-thermal .invoice-summary-grid{display:block;margin-top:2mm}.invoice-paper-thermal .invoice-payment-summary{border-top:1px dashed #111827;border-bottom:1px dashed #111827;padding:1.5mm 0}.invoice-paper-thermal .invoice-payment-summary h3{font-size:6.5px}.invoice-paper-thermal .invoice-payment-summary>div:not(.invoice-note-block){max-width:none;padding:1mm 0;font-size:6.5px}.invoice-paper-thermal .invoice-total-table{border:0;border-radius:0;padding:1.5mm 0}.invoice-paper-thermal .invoice-total-table>div{padding:1mm 0;font-size:6.5px}.invoice-paper-thermal .invoice-total-grand{margin:1mm 0;padding:1.5mm 0!important;color:#111827!important;background:transparent;font-size:8px!important}.invoice-paper-thermal .invoice-total-grand strong{color:#111827!important;font-size:9px}.invoice-paper-thermal .invoice-tax-breakdown{border-top:1px dashed #111827;margin-top:1mm;padding-top:1.5mm}.invoice-paper-thermal .invoice-tax-breakdown h3{font-size:6px}.invoice-paper-thermal .invoice-tax-breakdown th,.invoice-paper-thermal .invoice-tax-breakdown td{padding:1mm;font-size:5.5px}.invoice-paper-thermal .invoice-terms{font-size:5.5px}.invoice-paper-thermal .invoice-print-footer{display:block;min-height:0;border-top:1px dashed #111827;margin-top:2mm;padding-top:2mm;text-align:center}.invoice-paper-thermal .invoice-print-footer p{font-size:6.5px}.invoice-paper-thermal .invoice-print-footer small{font-size:5.5px}.invoice-print-loading,.invoice-print-error{display:grid;width:min(100%,520px);min-height:260px;place-items:center;align-content:center;border:1px solid #dfe5ed;border-radius:16px;margin:70px auto;padding:30px;color:#64748b;background:#fff;text-align:center}.invoice-print-error h1{color:#1f2937;font-size:22px}.invoice-print-error p{margin-top:8px;font-size:11px}.invoice-print-error a{margin-top:15px;color:#2563eb;font-size:11px;font-weight:750;text-decoration:none}@media (max-width: 900px){.invoice-print-page{padding:12px}.invoice-print-toolbar,.invoice-print-toolbar>div{align-items:stretch;flex-direction:column}.invoice-print-toolbar label,.invoice-print-toolbar select,.invoice-print-toolbar button{width:100%}.invoice-print-stage{justify-content:flex-start}.invoice-print-sheet{transform-origin:top left}}.invoice-business-block h1{font-size:28px}.invoice-business-block p{font-size:11px}.invoice-title-block span{font-size:12px}.invoice-title-block strong{font-size:22px}.invoice-title-block small{font-size:11px}.invoice-barcode span{font-size:8.5px}.invoice-template-header-text{font-size:10px}.invoice-party-grid>div>span{font-size:9px}.invoice-party-grid strong{font-size:12px}.invoice-party-grid small,.invoice-party-grid p,.invoice-party-grid dl{font-size:10px}.invoice-items-table th{font-size:9px}.invoice-items-table td,.invoice-items-table td strong{font-size:10px}.invoice-items-table td small{font-size:8px}.invoice-payment-summary h3,.invoice-tax-breakdown h3,.invoice-terms h3{font-size:10px}.invoice-payment-summary>div:not(.invoice-note-block),.invoice-payment-summary>p{font-size:10px}.invoice-note-block span{font-size:9px}.invoice-note-block p{font-size:10px}.invoice-total-table>div{font-size:10px}.invoice-total-grand{font-size:12px!important}.invoice-total-grand strong{font-size:16px}.invoice-amount-words span{font-size:8px}.invoice-amount-words strong{font-size:10px}.invoice-tax-breakdown th,.invoice-tax-breakdown td,.invoice-terms p{font-size:9px}.invoice-print-footer p{font-size:10px}.invoice-print-footer small{font-size:8px}.invoice-signature strong{font-size:9px}.invoice-signature small{font-size:8px}.invoice-paper-thermal .invoice-business-block h1{font-size:16px}.invoice-paper-thermal .invoice-business-block p{font-size:8.5px}.invoice-paper-thermal .invoice-title-block span{font-size:9.5px}.invoice-paper-thermal .invoice-title-block strong{font-size:12px}.invoice-paper-thermal .invoice-title-block small{font-size:8.5px}.invoice-paper-thermal .invoice-barcode span{font-size:6.5px}.invoice-paper-thermal .invoice-template-header-text{font-size:8px}.invoice-paper-thermal .invoice-party-grid>div>span{font-size:7.5px}.invoice-paper-thermal .invoice-party-grid strong{font-size:9px}.invoice-paper-thermal .invoice-party-grid small,.invoice-paper-thermal .invoice-party-grid p{font-size:7.5px}.invoice-paper-thermal .invoice-items-table th{font-size:7px}.invoice-paper-thermal .invoice-items-table td,.invoice-paper-thermal .invoice-items-table td strong{font-size:8px}.invoice-paper-thermal .invoice-items-table td small{font-size:6.5px}.invoice-paper-thermal .invoice-payment-summary h3{font-size:8px}.invoice-paper-thermal .invoice-payment-summary>div:not(.invoice-note-block),.invoice-paper-thermal .invoice-payment-summary>p{font-size:8px}.invoice-paper-thermal .invoice-note-block span{font-size:7px}.invoice-paper-thermal .invoice-note-block p{font-size:8px}.invoice-paper-thermal .invoice-total-table>div{font-size:8px}.invoice-paper-thermal .invoice-total-grand{font-size:10px!important}.invoice-paper-thermal .invoice-total-grand strong{font-size:11px}.invoice-paper-thermal .invoice-tax-breakdown h3{font-size:7.5px}.invoice-paper-thermal .invoice-tax-breakdown th,.invoice-paper-thermal .invoice-tax-breakdown td{font-size:6.5px}.invoice-paper-thermal .invoice-terms,.invoice-paper-thermal .invoice-terms p{font-size:7px}.invoice-paper-thermal .invoice-print-footer p{font-size:8px}.invoice-paper-thermal .invoice-print-footer small{font-size:6.5px}.invoice-business-block h1{font-size:31px}.invoice-business-block p{font-size:12px}.invoice-title-block span{font-size:13px}.invoice-title-block strong{font-size:24px}.invoice-title-block small{font-size:12px}.invoice-barcode span{font-size:9.5px}.invoice-template-header-text{font-size:11px}.invoice-party-grid>div>span{font-size:10px}.invoice-party-grid strong{font-size:13px}.invoice-party-grid small,.invoice-party-grid p,.invoice-party-grid dl{font-size:11px}.invoice-items-table th{font-size:10px}.invoice-items-table td,.invoice-items-table td strong{font-size:11px}.invoice-items-table td small{font-size:9px}.invoice-payment-summary h3,.invoice-tax-breakdown h3,.invoice-terms h3{font-size:11px}.invoice-payment-summary>div:not(.invoice-note-block),.invoice-payment-summary>p{font-size:11px}.invoice-note-block span{font-size:10px}.invoice-note-block p{font-size:11px}.invoice-total-table>div{font-size:11px}.invoice-total-grand{font-size:13px!important}.invoice-total-grand strong{font-size:18px}.invoice-amount-words span{font-size:9px}.invoice-amount-words strong{font-size:11px}.invoice-tax-breakdown th,.invoice-tax-breakdown td,.invoice-terms p{font-size:10px}.invoice-print-footer p{font-size:11px}.invoice-print-footer small{font-size:9px}.invoice-signature strong{font-size:10px}.invoice-signature small{font-size:9px}.invoice-paper-thermal .invoice-business-block h1{font-size:17px}.invoice-paper-thermal .invoice-business-block p{font-size:9px}.invoice-paper-thermal .invoice-title-block span{font-size:10px}.invoice-paper-thermal .invoice-title-block strong{font-size:13px}.invoice-paper-thermal .invoice-title-block small{font-size:9px}.invoice-paper-thermal .invoice-barcode span{font-size:7px}.invoice-paper-thermal .invoice-template-header-text{font-size:8.5px}.invoice-paper-thermal .invoice-party-grid>div>span{font-size:8px}.invoice-paper-thermal .invoice-party-grid strong{font-size:9.5px}.invoice-paper-thermal .invoice-party-grid small,.invoice-paper-thermal .invoice-party-grid p{font-size:8px}.invoice-paper-thermal .invoice-items-table th{font-size:7.5px}.invoice-paper-thermal .invoice-items-table td,.invoice-paper-thermal .invoice-items-table td strong{font-size:8.5px}.invoice-paper-thermal .invoice-items-table td small{font-size:7px}.invoice-paper-thermal .invoice-payment-summary h3{font-size:8.5px}.invoice-paper-thermal .invoice-payment-summary>div:not(.invoice-note-block),.invoice-paper-thermal .invoice-payment-summary>p{font-size:8.5px}.invoice-paper-thermal .invoice-note-block span{font-size:7.5px}.invoice-paper-thermal .invoice-note-block p{font-size:8.5px}.invoice-paper-thermal .invoice-total-table>div{font-size:8.5px}.invoice-paper-thermal .invoice-total-grand{font-size:10.5px!important}.invoice-paper-thermal .invoice-total-grand strong{font-size:12px}.invoice-paper-thermal .invoice-tax-breakdown h3{font-size:8px}.invoice-paper-thermal .invoice-tax-breakdown th,.invoice-paper-thermal .invoice-tax-breakdown td{font-size:7px}.invoice-paper-thermal .invoice-terms,.invoice-paper-thermal .invoice-terms p{font-size:7.5px}.invoice-paper-thermal .invoice-print-footer p{font-size:8.5px}.invoice-paper-thermal .invoice-print-footer small{font-size:7px}.invoice-branch-gst{margin-top:3px!important;color:#111827!important;font-size:12px!important;font-weight:800;letter-spacing:.025em}.invoice-paper-thermal .invoice-branch-gst{margin-top:1mm!important;font-size:8.5px!important;letter-spacing:.015em}@media print{html,body{margin:0!important;padding:0!important;background:#fff!important}.invoice-print-page{min-height:0;padding:0!important;background:#fff!important}.invoice-print-toolbar{display:none!important}.invoice-print-stage{display:block;overflow:visible;padding:0!important}.invoice-print-sheet{width:auto;min-height:0;margin:0!important;box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-paper-a4{width:194mm;padding:0}.invoice-paper-a5{width:132mm;padding:0}.invoice-paper-80{width:76mm;padding:0}.invoice-paper-58{width:53mm;padding:0}}.login-trusted-device{display:flex;cursor:pointer;align-items:flex-start;gap:9px;margin:2px 0 15px}.login-trusted-device input{width:16px;height:16px;margin-top:2px;accent-color:#2563eb}.login-trusted-device strong,.login-trusted-device small{display:block}.login-trusted-device strong{color:#475569;font-size:10px}.login-trusted-device small{margin-top:3px;color:#94a3b8;font-size:8px;line-height:1.45}.form-success{border:1px solid #a7f3d0;border-radius:10px;margin-bottom:13px;padding:10px 11px;color:#047857;background:#ecfdf5;font-size:9px;line-height:1.5}.security-page{position:relative}.security-heading{margin-bottom:18px}.security-heading .primary-button{display:inline-flex;align-items:center;gap:7px}.security-tabs{margin-bottom:18px}.security-device-grid{display:grid;gap:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.security-device-card,.security-skeleton{min-height:300px;border:1px solid #e2e7ee;border-radius:15px;background:#fff}.security-skeleton{background:linear-gradient(90deg,#f1f3f6 25%,#f8f9fb 37%,#f1f3f6 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite}.security-device-card{display:flex;flex-direction:column;padding:17px}.security-device-card.is-current{border-color:#93b4f7;box-shadow:0 10px 30px #2563eb14}.security-device-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.security-device-icon{display:grid;width:43px;height:43px;place-items:center;border-radius:12px;color:#2563eb;background:#eaf1ff}.security-device-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.security-current-pill,.security-trusted-pill,.security-status{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:7px;font-weight:800;white-space:nowrap}.security-current-pill{color:#1d4ed8;background:#eaf1ff}.security-trusted-pill{color:#6d28d9;background:#f1eaff}.security-status-active{color:#047857;background:#e8f8f2}.security-status-revoked{color:#be123c;background:#ffe9ef}.security-status-expired{color:#b45309;background:#fff5e5}.security-device-heading{margin-top:15px}.security-device-heading strong,.security-device-heading span{display:block}.security-device-heading strong{color:#334155;font-size:13px}.security-device-heading span{margin-top:5px;color:#94a3b8;font-size:9px}.security-device-details{display:grid;gap:9px;border-top:1px solid #edf0f4;margin-top:14px;padding-top:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.security-device-details span,.security-device-details strong{display:block}.security-device-details span{color:#94a3b8;font-size:7px;text-transform:uppercase;letter-spacing:.05em}.security-device-details strong{overflow:hidden;margin-top:4px;color:#475569;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.security-revoke-reason{border-radius:8px;margin-top:12px;padding:7px 9px;color:#92400e;background:#fffbeb;font-size:8px;text-align:center}.security-device-card>button{display:flex;min-height:42px;cursor:pointer;align-items:center;justify-content:center;gap:7px;border-top:1px solid #edf0f4;margin:auto -17px -17px;color:#2563eb;background:transparent;font-size:10px;font-weight:750}.security-device-card>button:hover:not(:disabled){background:#f8fbff}.security-ended-session{border-top:1px solid #edf0f4;margin:auto -17px -17px;padding:14px;color:#94a3b8;font-size:9px;font-weight:700;text-align:center}.security-empty-state{display:grid;min-height:260px;place-items:center;border:1px dashed #d8dee7;border-radius:15px;color:#94a3b8;background:#fff;font-size:10px;grid-column:1/-1}.security-table-panel,.security-policy-form{overflow:hidden}.security-history-table{min-width:900px}.security-login-result{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800}.security-login-result.is-success{color:#047857;background:#e8f8f2}.security-login-result.is-failure{color:#be123c;background:#ffe9ef}.security-session-filters,.security-history-filters{display:grid;gap:10px;border-bottom:1px solid #edf0f4;padding:16px 18px}.security-session-filters{grid-template-columns:minmax(280px,1fr) repeat(2,minmax(170px,210px))}.security-history-filters{grid-template-columns:minmax(280px,1fr) minmax(170px,210px) repeat(2,minmax(135px,165px))}.security-session-filters .product-search,.security-session-filters .toolbar-select,.security-history-filters .product-search,.security-history-filters .toolbar-select{width:100%}.security-date-input{height:42px;border:1px solid #dfe4eb;border-radius:11px;padding:0 10px;color:#4b5563;background:#fff;font-size:10px}.security-admin-session-table{min-width:1160px}.security-admin-history-table{min-width:1080px}.security-admin-actions{display:inline-flex;align-items:center;gap:8px}.security-admin-actions button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:9px;font-weight:750}.security-admin-actions .danger-link{color:#dc2626}.security-policy-grid{display:grid;gap:14px;padding:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.security-policy-grid .form-field{border:1px solid #e3e8ef;border-radius:12px;margin:0;padding:13px;background:#fafbfc}.security-policy-grid .form-field input{width:100%;height:42px;border:1px solid #d9dee7;border-radius:10px;margin-top:7px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.security-policy-grid .form-field small{display:block;margin-top:6px;color:#94a3b8;font-size:8px;line-height:1.45}.security-policy-note{border-top:1px solid #fde68a;border-bottom:1px solid #fde68a;padding:12px 20px;color:#92400e;background:#fffbeb;font-size:9px;line-height:1.55}@media (max-width:1120px){.security-device-grid,.security-policy-grid,.security-session-filters,.security-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.security-heading{align-items:stretch;flex-direction:column}.security-heading .primary-button{width:100%}.security-device-grid,.security-policy-grid,.security-session-filters,.security-history-filters{grid-template-columns:1fr}}.products-page{position:relative}.module-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.button-plus{font-size:20px;font-weight:400;line-height:1}.toast-message{position:fixed;z-index:90;top:96px;right:28px;max-width:min(390px,calc(100vw - 32px));border:1px solid;border-radius:12px;padding:12px 15px;box-shadow:0 18px 36px #0f172a29;font-size:12px;font-weight:650}.toast-success{border-color:#a7f3d0;color:#047857;background:#ecfdf5}.toast-error{border-color:#fecaca;color:#b42318;background:#fff7f7}.product-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #dfe4eb;margin-bottom:18px;gap:4px}.product-tabs button{position:relative;min-width:max-content;cursor:pointer;padding:12px 15px;color:#788395;background:transparent;font-size:12px;font-weight:700}.product-tabs button:after{position:absolute;height:2px;content:"";right:13px;bottom:-1px;left:13px;border-radius:999px;background:transparent}.product-tabs button:hover{color:#334155}.product-tabs button.is-active{color:#1d4ed8}.product-tabs button.is-active:after{background:#2563eb}.product-list-panel{overflow:hidden}.product-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #edf0f4;padding:17px 20px}.product-search{display:flex;width:min(100%,460px);height:42px;align-items:center;gap:10px;border:1px solid #dfe4eb;border-radius:11px;padding:0 13px;color:#94a3b8;background:#fafbfc}.product-search:focus-within{border-color:#8cb0fa;box-shadow:0 0 0 3px #2563eb12}.product-search input{min-width:0;flex:1;border:0;outline:none;color:#273247;background:transparent;font-size:12px}.toolbar-select{height:42px;border:1px solid #dfe4eb;border-radius:11px;padding:0 36px 0 12px;color:#4b5563;background:#fff;font-size:12px;font-weight:650}.product-table{min-width:930px}.product-name-cell{display:flex;min-width:220px;align-items:center;gap:11px}.product-avatar{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:11px;color:#1d4ed8;background:#eaf1ff;font-size:13px;font-weight:800}.product-name-cell strong,.product-name-cell span,.table-primary,.table-secondary{display:block}.product-name-cell span,.table-secondary{margin-top:4px;color:#929baa;font-size:10px}.table-primary{color:#374151;font-size:11px}.stock-number{color:#1f2937}.status-active{color:#047857;background:#e8f8f2}.status-inactive{color:#b45309;background:#fff5e5}.status-deleted{color:#be123c;background:#ffe9ef}.table-actions{display:inline-flex;align-items:center;gap:10px}.table-actions button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:11px;font-weight:700}.table-actions button:hover{text-decoration:underline}.table-actions .danger-link{color:#dc2626}.table-pagination{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #edf0f4;padding:10px 20px;color:#8791a2;font-size:11px}.table-pagination>div{display:flex;align-items:center;gap:12px}.table-pagination .secondary-button{min-height:34px;padding:0 11px;font-size:11px}.master-list-panel{overflow:hidden}.master-card-grid{display:grid;gap:14px;padding:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.master-record-card{display:flex;min-height:145px;flex-direction:column;justify-content:space-between;border:1px solid #e2e7ee;border-radius:14px;padding:17px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.master-record-card:hover{transform:translateY(-1px);border-color:#cfd8e5;box-shadow:0 12px 22px #0f172a0d}.master-record-card>div:first-child strong,.master-record-card>div:first-child span{display:block}.master-record-card>div:first-child strong{color:#273247;font-size:13px}.master-record-card>div:first-child span{margin-top:7px;overflow:hidden;color:#8c96a6;font-size:10px;line-height:1.5;text-overflow:ellipsis}.master-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eff2f5;margin-top:18px;padding-top:13px}.master-empty{display:grid;min-height:200px;grid-column:1 / -1;place-items:center;color:#94a3b8;font-size:12px}.modal-layer{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;padding:24px;place-items:center}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;cursor:default;background:#0f172a8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{position:relative;display:flex;width:min(100%,720px);max-height:calc(100vh - 48px);flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:#fff;box-shadow:0 28px 70px #0f172a47}.modal-small{width:min(100%,520px)}.modal-large{width:min(100%,980px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #e7ebf0;padding:19px 22px}.modal-header h2{color:#1f2937;font-size:19px;letter-spacing:-.03em}.modal-header p{margin-top:5px;color:#8b95a5;font-size:11px;line-height:1.5}.modal-body{overflow-y:auto}.product-form,.master-form{padding:22px}.form-section{border-bottom:1px solid #edf0f4;margin-bottom:21px;padding-bottom:21px}.form-section:last-of-type{margin-bottom:0}.form-section-heading{margin-bottom:16px}.form-section-heading h3{color:#2d3748;font-size:13px}.form-section-heading p{margin-top:4px;color:#94a3b8;font-size:10px}.form-grid{display:grid;gap:15px}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.product-form .form-field,.master-form .form-field{margin-bottom:15px}.product-form .form-field input,.product-form .form-field select,.product-form .form-field textarea,.master-form .form-field input,.master-form .form-field select,.master-form .form-field textarea{width:100%;border:1px solid #d9dee7;border-radius:10px;padding:0 12px;color:#273247;background:#fff;font-size:12px}.product-form .form-field input,.product-form .form-field select,.master-form .form-field input,.master-form .form-field select{height:42px}.product-form .form-field textarea,.master-form .form-field textarea{padding-top:11px;resize:vertical}.product-form .form-field input:focus,.product-form .form-field select:focus,.product-form .form-field textarea:focus,.master-form .form-field input:focus,.master-form .form-field select:focus,.master-form .form-field textarea:focus{border-color:#8cb0fa;outline:none;box-shadow:0 0 0 3px #2563eb12}.toggle-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.toggle-card{display:flex;cursor:pointer;align-items:flex-start;gap:10px;border:1px solid #e2e7ee;border-radius:11px;padding:12px;background:#fafbfc}.toggle-card input{width:17px;height:17px;margin:1px 0 0;accent-color:#2563eb}.toggle-card strong,.toggle-card small{display:block}.toggle-card strong{color:#374151;font-size:11px}.toggle-card small{margin-top:3px;color:#939cab;font-size:9px;line-height:1.4}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e7ebf0;margin:22px -22px -22px;padding:15px 22px;background:#fafbfc}@media (max-width: 1050px){.master-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.module-heading,.product-toolbar,.table-pagination{align-items:stretch;flex-direction:column}.module-heading .primary-button,.product-search,.toolbar-select{width:100%}.master-card-grid,.form-grid-2,.form-grid-3,.toggle-grid{grid-template-columns:1fr}.modal-layer{padding:10px}.modal-card{max-height:calc(100vh - 20px);border-radius:14px}.toast-message{top:82px;right:16px;left:16px}}.supplier-page,.purchase-page{position:relative}.supplier-list-panel,.purchase-list-panel{overflow:hidden}.supplier-table{min-width:980px}.supplier-name-cell{display:flex;min-width:220px;align-items:center;gap:11px}.supplier-avatar{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:11px;color:#6d28d9;background:#f1eaff;font-size:13px;font-weight:800}.supplier-name-cell strong,.supplier-name-cell span{display:block}.supplier-name-cell strong{color:#273247;font-size:12px}.supplier-name-cell span{margin-top:4px;color:#929baa;font-size:10px}.supplier-due-value{color:#b45309}.supplier-form,.purchase-form{padding:22px}.purchase-filter-bar{display:grid;gap:12px;border-bottom:1px solid #edf0f4;padding:17px 20px;grid-template-columns:minmax(260px,1fr) repeat(3,minmax(150px,190px))}.purchase-filter-bar .product-search,.purchase-filter-bar .toolbar-select{width:100%}.purchase-table{min-width:1080px}.purchase-status-draft{color:#1d4ed8;background:#eaf1ff}.purchase-status-received{color:#047857;background:#e8f8f2}.purchase-status-cancelled{color:#be123c;background:#ffe9ef}.purchase-lines-list{display:grid;gap:13px}.purchase-line-card{border:1px solid #dde3eb;border-radius:13px;padding:15px;background:#fbfcfe}.purchase-line-header{display:flex;align-items:flex-start;gap:18px;margin-bottom:14px}.purchase-line-header>div:first-child{min-width:0;flex:1}.purchase-line-header strong,.purchase-line-header span{display:block}.purchase-line-header>div:first-child strong{color:#334155;font-size:12px}.purchase-line-header>div:first-child span{margin-top:3px;color:#94a3b8;font-size:9px}.purchase-line-total{text-align:right}.purchase-line-total span{color:#94a3b8;font-size:8px;text-transform:uppercase;letter-spacing:.05em}.purchase-line-total strong{margin-top:4px;color:#1f2937;font-size:12px}.purchase-line-grid{grid-template-columns:minmax(230px,1.5fr) repeat(5,minmax(100px,.65fr))}.purchase-batch-block{border-top:1px dashed #dce2ea;margin-top:2px;padding-top:13px}.purchase-total-panel{display:grid;gap:10px;border:1px solid #dfe5ed;border-radius:13px;margin:0 22px 22px;padding:15px;background:#f8fafc;grid-template-columns:repeat(5,minmax(0,1fr))}.purchase-total-panel span,.purchase-total-panel strong{display:block}.purchase-total-panel span{color:#8a94a5;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.purchase-total-panel strong{margin-top:6px;color:#334155;font-size:12px}.purchase-grand-total{border-left:1px solid #dce2ea;padding-left:15px}.purchase-grand-total strong{color:#1d4ed8;font-size:15px}.purchase-detail{padding:22px}.purchase-detail-loading{display:grid;min-height:260px;place-items:center;color:#94a3b8;font-size:12px}.purchase-detail-summary{display:grid;gap:12px;margin-bottom:17px;grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-detail-summary div{border:1px solid #e5e9ef;border-radius:11px;padding:12px;background:#fafbfc}.purchase-detail-summary span,.purchase-detail-summary strong{display:block}.purchase-detail-summary span{color:#94a3b8;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.purchase-detail-summary strong{margin-top:6px;color:#334155;font-size:11px;text-transform:capitalize}.purchase-detail-table{min-width:850px}.purchase-detail-totals{display:flex;align-items:center;justify-content:flex-end;gap:25px;border-top:1px solid #edf0f4;padding:17px 2px 0}.purchase-detail-totals span,.purchase-detail-totals strong{display:block;text-align:right}.purchase-detail-totals span{color:#94a3b8;font-size:9px;text-transform:uppercase}.purchase-detail-totals strong{margin-top:5px;color:#334155;font-size:12px}.purchase-detail-totals div:last-child strong{color:#1d4ed8;font-size:16px}.purchase-detail-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e7ebf0;margin:22px -22px -22px;padding:15px 22px;background:#fafbfc}.purchase-cancel-button{color:#b42318}@media (max-width: 1100px){.purchase-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-product-field{grid-column:span 3}.purchase-total-panel{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-grand-total{border-left:0;padding-left:0}}@media (max-width: 760px){.purchase-filter-bar,.purchase-line-grid,.purchase-total-panel{grid-template-columns:1fr}.purchase-product-field{grid-column:auto}.purchase-line-header{flex-wrap:wrap}.purchase-line-total{margin-left:auto}.purchase-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-detail-totals{align-items:stretch;flex-direction:column;gap:10px}.purchase-detail-totals span,.purchase-detail-totals strong{text-align:left}}@media (max-width: 480px){.purchase-detail-summary{grid-template-columns:1fr}.purchase-detail-actions{align-items:stretch;flex-direction:column}}.reports-page{position:relative}.reports-module-heading{margin-bottom:17px}.reports-heading-actions{display:flex;align-items:center;gap:9px}.report-filter-panel{margin-bottom:17px;padding:16px 18px 1px}.report-filter-grid{display:grid;gap:14px;align-items:end;grid-template-columns:minmax(180px,.8fr) minmax(150px,.55fr) minmax(150px,.55fr) minmax(230px,1fr)}.report-filter-panel .form-field select,.report-filter-panel .form-field input{width:100%;height:42px;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.report-filter-caption{display:flex;min-height:42px;align-items:center;justify-content:flex-end;gap:10px;color:#2563eb}.report-filter-caption strong,.report-filter-caption span{display:block;text-align:right}.report-filter-caption strong{color:#334155;font-size:11px}.report-filter-caption span{margin-top:3px;color:#94a3b8;font-size:9px}.reports-tabs{margin-bottom:18px}.report-content{display:grid;gap:17px}.report-summary-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.report-summary-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.report-summary-card{display:flex;min-height:122px;align-items:flex-start;gap:13px;border:1px solid #e2e7ee;border-radius:15px;padding:17px;background:#fff}.report-summary-icon{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:11px;color:var(--report-tone);background:var(--report-tone-soft)}.report-summary-card span,.report-summary-card strong,.report-summary-card small{display:block}.report-summary-card span{color:#748094;font-size:10px;font-weight:750}.report-summary-card strong{margin-top:7px;color:#1f2937;font-size:21px;letter-spacing:-.04em}.report-summary-card small{margin-top:6px;color:#94a3b8;font-size:8px}.report-tone-blue{--report-tone: #2563eb;--report-tone-soft: #eaf1ff}.report-tone-violet{--report-tone: #7c3aed;--report-tone-soft: #f1eaff}.report-tone-orange{--report-tone: #d97706;--report-tone-soft: #fff4df}.report-tone-green{--report-tone: #059669;--report-tone-soft: #e6f7f1}.report-tone-cyan{--report-tone: #0891b2;--report-tone-soft: #e5f7fb}.report-tone-rose{--report-tone: #e11d48;--report-tone-soft: #ffe9ef}.report-overview-grid{display:grid;gap:17px;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}.profit-preview-grid{display:grid;gap:12px;padding:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.profit-preview-grid>div{border:1px solid #e6eaf0;border-radius:12px;padding:14px;background:#fafbfc}.profit-preview-grid span,.profit-preview-grid strong{display:block}.profit-preview-grid span{color:#94a3b8;font-size:8px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.profit-preview-grid strong{margin-top:7px;color:#334155;font-size:14px}.profit-preview-net{border-color:#bfdbfe!important;background:#eff6ff!important;grid-column:span 2}.profit-preview-net strong{color:#1d4ed8;font-size:19px}.top-product-mini-list{display:grid;gap:0;padding:5px 18px 15px}.top-product-mini-list>div{display:grid;align-items:center;gap:11px;border-bottom:1px solid #edf0f4;padding:11px 0;grid-template-columns:28px minmax(0,1fr) auto}.top-product-mini-list>div:last-child{border-bottom:0}.top-product-rank{display:grid;width:26px;height:26px;place-items:center;border-radius:8px;color:#1d4ed8;background:#eaf1ff;font-size:9px;font-weight:800}.top-product-mini-list div div strong,.top-product-mini-list div div span{display:block}.top-product-mini-list div div strong{color:#334155;font-size:10px}.top-product-mini-list div div span{margin-top:3px;color:#94a3b8;font-size:8px}.top-product-mini-list>div>strong{color:#334155;font-size:10px}.report-chart-panel,.report-table-panel,.top-products-chart-panel,.profit-waterfall-panel,.profit-margin-panel{overflow:hidden}.daily-bar-chart{display:grid;gap:11px;max-height:440px;overflow-y:auto;padding:18px}.daily-bar-row{display:grid;align-items:center;gap:12px;grid-template-columns:88px minmax(0,1fr) 110px}.daily-bar-row>span{color:#64748b;font-size:9px}.daily-bar-track,.top-product-chart-track{height:9px;overflow:hidden;border-radius:999px;background:#eef2f7}.daily-bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#2563eb)}.daily-bar-row>strong{color:#334155;font-size:9px;text-align:right}.report-empty-chart{display:grid;min-height:180px;place-items:center;color:#94a3b8;font-size:10px;text-align:center}.report-daily-table{min-width:700px}.profit-report-layout{display:grid;gap:17px;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr)}.profit-calculation{display:grid;gap:0;padding:18px}.profit-calculation>div{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf0f4;padding:0 12px;color:#64748b;font-size:10px}.profit-calculation>div strong{color:#334155;font-size:11px}.profit-minus strong{color:#be123c!important}.profit-gross-row{border-radius:10px;margin:6px 0;color:#047857!important;background:#ecfdf5;font-weight:800}.profit-gross-row strong{color:#047857!important;font-size:14px!important}.profit-net-row{min-height:64px!important;border:1px solid #bfdbfe!important;border-radius:12px;margin-top:8px;color:#1d4ed8!important;background:#eff6ff;font-size:12px!important;font-weight:800}.profit-net-row strong{color:#1d4ed8!important;font-size:20px!important}.profit-ratio-list{display:grid;gap:12px;padding:18px}.profit-ratio-list>div{border:1px solid #e5e9ef;border-radius:12px;padding:15px;background:#fafbfc}.profit-ratio-list span,.profit-ratio-list strong{display:block}.profit-ratio-list span{color:#94a3b8;font-size:8px;text-transform:uppercase;letter-spacing:.05em}.profit-ratio-list strong{margin-top:7px;color:#334155;font-size:20px}.low-stock-report-table{min-width:1100px}.report-low-value{color:#be123c!important;font-weight:750}.top-products-chart{display:grid;gap:11px;max-height:520px;overflow-y:auto;padding:18px}.top-product-chart-row{display:grid;align-items:center;gap:11px;grid-template-columns:25px minmax(160px,.8fr) minmax(180px,1.4fr) 70px}.top-product-chart-row>span{display:grid;width:24px;height:24px;place-items:center;border-radius:8px;color:#1d4ed8;background:#eaf1ff;font-size:8px;font-weight:800}.top-product-chart-name strong,.top-product-chart-name small{display:block}.top-product-chart-name strong{overflow:hidden;color:#334155;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.top-product-chart-name small{margin-top:3px;color:#94a3b8;font-size:8px}.top-product-chart-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#34d399,#059669)}.top-product-chart-row>strong{color:#334155;font-size:9px;text-align:right}.top-product-report-table{min-width:780px}.report-rank{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#1d4ed8;background:#eaf1ff;font-size:9px;font-weight:800}.reports-loading-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.report-skeleton{height:125px;border:1px solid #e9ecf1;border-radius:15px;background:linear-gradient(90deg,#f1f3f6 25%,#f7f8fa 37%,#f1f3f6 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite}@media (max-width: 1120px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-caption{justify-content:flex-start}.report-filter-caption strong,.report-filter-caption span{text-align:left}.report-summary-grid,.report-summary-grid-4,.reports-loading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-overview-grid,.profit-report-layout{grid-template-columns:1fr}}@media (max-width: 760px){.reports-module-heading,.reports-heading-actions{align-items:stretch;flex-direction:column}.reports-heading-actions,.reports-heading-actions button{width:100%}.report-filter-grid,.report-summary-grid,.report-summary-grid-4,.reports-loading-grid,.profit-preview-grid{grid-template-columns:1fr}.profit-preview-net{grid-column:auto}.daily-bar-row{grid-template-columns:72px minmax(0,1fr)}.daily-bar-row>strong{grid-column:2;text-align:left}.top-product-chart-row{grid-template-columns:25px minmax(0,1fr) 55px}.top-product-chart-track{grid-column:2 / 4}}@media print{.sidebar,.topbar,.reports-module-heading,.report-filter-panel,.reports-tabs,.table-pagination{display:none!important}.main-shell{margin-left:0!important}.page-container{padding:0!important}.panel,.report-summary-card{break-inside:avoid;box-shadow:none!important}.daily-bar-chart,.top-products-chart{max-height:none!important;overflow:visible!important}}.sales-page{position:relative}.sales-tabs{margin-bottom:18px}.pos-layout{display:grid;align-items:start;gap:16px;grid-template-columns:minmax(0,1fr) minmax(360px,430px)}.pos-catalog-column{display:grid;min-width:0;gap:16px}.pos-settings-panel{padding:17px 18px 1px}.pos-settings-grid{display:grid;gap:14px;grid-template-columns:minmax(230px,1fr) minmax(150px,.45fr)}.pos-settings-panel .form-field select{width:100%;height:42px;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.pos-customer-selector{border-top:1px solid #e8edf3;margin-top:14px;padding:15px 0 16px}.pos-customer-selector-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.pos-customer-selector-heading>div:first-child span,.pos-customer-selector-heading>div:first-child small{display:block}.pos-customer-selector-heading>div:first-child span{color:#475569;font-size:10px;font-weight:750}.pos-customer-selector-heading>div:first-child small{margin-top:3px;color:#94a3b8;font-size:8px}.pos-customer-mode-switch{display:inline-flex;gap:4px;border:1px solid #dce3eb;border-radius:10px;padding:3px;background:#f5f7fa}.pos-customer-mode-switch button{min-height:32px;cursor:pointer;border-radius:7px;padding:0 12px;color:#64748b;background:transparent;font-size:9px;font-weight:750}.pos-customer-mode-switch button.is-active{color:#1d4ed8;background:#fff;box-shadow:0 2px 7px #0f172a17}.pos-customer-mode-switch button:disabled{cursor:not-allowed;opacity:.55}.pos-walk-in-card,.pos-selected-customer,.pos-customer-not-found{display:flex;align-items:center;justify-content:space-between;gap:11px;border:1px solid #dfe6ee;border-radius:11px;padding:11px 12px;background:#f8fafc}.pos-walk-in-card{justify-content:flex-start;color:#2563eb}.pos-walk-in-card strong,.pos-walk-in-card span,.pos-selected-customer strong,.pos-selected-customer span,.pos-selected-customer small,.pos-customer-not-found strong,.pos-customer-not-found span{display:block}.pos-walk-in-card strong,.pos-selected-customer strong,.pos-customer-not-found strong{color:#334155;font-size:10px}.pos-walk-in-card span,.pos-selected-customer span,.pos-customer-not-found span{margin-top:3px;color:#8490a2;font-size:8px;line-height:1.45}.pos-selected-customer small{margin-top:4px;color:#1d4ed8;font-size:8px;font-weight:750}.pos-selected-customer>button,.pos-customer-create-form header button{cursor:pointer;color:#2563eb;background:transparent;font-size:9px;font-weight:750}.pos-customer-search{width:100%}.pos-customer-search-area{display:grid;gap:9px}.pos-customer-search-help,.pos-customer-required-note{margin:0;color:#94a3b8;font-size:8px;line-height:1.5}.pos-customer-search-state{border:1px dashed #d8e0e9;border-radius:10px;padding:12px;color:#8490a2;background:#fafbfc;font-size:9px;text-align:center}.pos-customer-results{display:grid;max-height:230px;overflow-y:auto;gap:6px;border:1px solid #dfe5ed;border-radius:11px;padding:6px;background:#fff}.pos-customer-results>button{display:flex;min-height:52px;cursor:pointer;align-items:center;justify-content:space-between;gap:10px;border-radius:8px;padding:8px 10px;color:inherit;background:#fff;text-align:left}.pos-customer-results>button:hover{background:#f2f6ff}.pos-customer-results strong,.pos-customer-results span,.pos-customer-results small{display:block}.pos-customer-results strong{color:#334155;font-size:9px}.pos-customer-results span{margin-top:3px;color:#8490a2;font-size:8px}.pos-customer-results small{color:#1d4ed8;font-size:8px;font-weight:750;white-space:nowrap}.pos-customer-not-found{border-color:#fed7aa;background:#fffaf3}.pos-customer-not-found .primary-button{flex:0 0 auto;min-height:36px;padding:0 12px}.pos-customer-create-form{display:grid;gap:12px;border:1px solid #bcd0f7;border-radius:12px;padding:13px;background:#f7faff}.pos-customer-create-form header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.pos-customer-create-form header strong,.pos-customer-create-form header span{display:block}.pos-customer-create-form header strong{color:#334155;font-size:10px}.pos-customer-create-form header span{margin-top:3px;color:#8490a2;font-size:8px}.pos-customer-create-form .form-field{margin:0}.pos-customer-create-form .primary-button{justify-self:end}.pos-customer-required-note{border-left:3px solid #f59e0b;padding-left:8px;color:#92400e}.pos-product-panel{min-width:0;overflow:hidden}.pos-product-toolbar{display:flex;min-height:70px;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #edf0f4;padding:14px 18px}.pos-product-toolbar .product-search{width:min(100%,470px)}.pos-product-toolbar>span{color:#94a3b8;font-size:10px;font-weight:700}.pos-product-grid{display:grid;max-height:calc(100vh - 330px);min-height:420px;overflow-y:auto;gap:12px;padding:16px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.pos-product-card{display:flex;min-height:155px;cursor:pointer;flex-direction:column;align-items:stretch;border:1px solid #e2e7ee;border-radius:14px;padding:14px;color:inherit;background:#fff;text-align:left;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.pos-product-card:hover:not(:disabled){transform:translateY(-2px);border-color:#b9ccf5;box-shadow:0 12px 24px #2563eb14}.pos-product-card:disabled{cursor:not-allowed;opacity:.62}.pos-product-card-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:13px}.pos-product-initial{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;color:#1d4ed8;background:#eaf1ff;font-size:12px;font-weight:800}.pos-stock-tag{border-radius:999px;padding:5px 7px;color:#047857;background:#e8f8f2;font-size:8px;font-weight:750}.pos-stock-tag.empty{color:#be123c;background:#ffe9ef}.pos-stock-tag.service{color:#6d28d9;background:#f1eaff}.pos-product-card>strong{overflow:hidden;color:#2d3748;font-size:11px;line-height:1.45;text-overflow:ellipsis}.pos-product-card>span{display:block;margin-top:5px;color:#94a3b8;font-size:9px}.pos-product-price{margin-top:auto;padding-top:12px;color:#1d4ed8;font-size:14px;font-weight:800}.pos-cart-panel{position:sticky;top:104px;display:flex;height:calc(100vh - 120px);height:calc(100dvh - 120px);min-height:0;min-width:0;max-height:none;flex-direction:column;overflow:hidden}.pos-cart-header{display:flex;min-height:66px;flex:0 0 auto;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4;padding:12px 16px}.pos-cart-header h2{margin-top:4px;color:#273247;font-size:16px}.pos-cart-header button{cursor:pointer;color:#dc2626;background:transparent;font-size:10px;font-weight:750}.pos-cart-scroll-area{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.pos-cart-lines{min-height:170px;overflow:visible;padding:10px 12px}.pos-cart-line{border:1px solid #e1e6ed;border-radius:12px;margin-bottom:10px;padding:12px;background:#fbfcfe}.pos-cart-line header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.pos-cart-line header strong,.pos-cart-line header span{display:block}.pos-cart-line header strong{color:#334155;font-size:11px}.pos-cart-line header span{margin-top:3px;color:#94a3b8;font-size:8px}.pos-cart-line header button{display:grid;width:25px;height:25px;cursor:pointer;place-items:center;border-radius:8px;color:#dc2626;background:#fff1f2;font-size:16px}.pos-cart-inputs{display:grid;gap:8px;margin-top:11px;grid-template-columns:repeat(4,minmax(0,1fr))}.pos-cart-inputs label span{display:block;margin-bottom:4px;color:#94a3b8;font-size:8px;font-weight:700}.pos-cart-inputs input{width:100%;height:34px;border:1px solid #d9dee7;border-radius:8px;padding:0 8px;color:#334155;background:#fff;font-size:10px}.pos-cart-line footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px dashed #dce2e9;margin-top:10px;padding-top:9px}.pos-cart-line footer span{color:#94a3b8;font-size:8px}.pos-cart-line footer strong{color:#1f2937;font-size:11px}.pos-empty-cart{display:grid;min-height:170px;place-items:center;align-content:center;color:#9aa4b3;text-align:center}.pos-empty-cart strong,.pos-empty-cart span{display:block}.pos-empty-cart strong{margin-top:10px;color:#64748b;font-size:12px}.pos-empty-cart span{width:min(100%,230px);margin-top:5px;font-size:9px;line-height:1.5}.pos-invoice-options,.pos-payment-block,.pos-total-summary{border-top:1px solid #edf0f4;padding:13px 15px}.pos-invoice-options .form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-invoice-options .form-field,.pos-payment-block .form-field{margin-bottom:8px}.pos-invoice-options .form-field span,.pos-payment-block .form-field span{margin-bottom:5px;font-size:8px}.pos-invoice-options .form-field input,.pos-payment-block .form-field input,.pos-payment-block .form-field select{width:100%;height:34px;border:1px solid #d9dee7;border-radius:8px;padding:0 8px;color:#334155;background:#fff;font-size:9px}.pos-payment-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.pos-payment-heading strong,.pos-payment-heading span{display:block}.pos-payment-heading strong{color:#334155;font-size:10px}.pos-payment-heading span{margin-top:3px;color:#94a3b8;font-size:8px}.pos-payment-heading-actions{display:flex;gap:7px}.pos-payment-heading-actions button,.return-refund-heading button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:8px;font-weight:750}.pos-payment-list{display:grid;gap:7px}.pos-payment-row{display:grid;align-items:end;gap:7px;grid-template-columns:1fr .85fr .7fr .9fr auto}.pos-payment-remove{height:34px;cursor:pointer;padding:0 7px;color:#dc2626;background:transparent;font-size:8px;font-weight:750}.pos-total-summary{display:grid;gap:7px}.pos-total-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7c8798;font-size:9px}.pos-total-summary strong{color:#334155;font-size:10px}.pos-grand-row{border-top:1px dashed #d9e0e8;border-bottom:1px dashed #d9e0e8;margin:2px 0;padding:9px 0}.pos-grand-row span{color:#334155;font-size:11px;font-weight:800}.pos-grand-row strong{color:#1d4ed8;font-size:17px}.pos-submit-actions{position:relative;z-index:5;display:grid;flex:0 0 auto;gap:9px;border-top:1px solid #dfe5ed;padding:12px 14px;grid-template-columns:.75fr 1.25fr;background:#fff;box-shadow:0 -10px 24px #0f172a14}.pos-submit-actions button{min-height:44px}.sales-history-panel{overflow:hidden}.sales-filter-bar{display:grid;gap:12px;border-bottom:1px solid #edf0f4;padding:17px 20px;grid-template-columns:minmax(280px,1fr) minmax(150px,200px) minmax(150px,200px)}.sales-filter-bar .product-search{width:100%}.sales-history-table{min-width:1120px}.sale-return-table{min-width:980px}.sale-status-held{color:#1d4ed8;background:#eaf1ff}.sale-status-completed{color:#047857;background:#e8f8f2}.sale-status-cancelled{color:#be123c;background:#ffe9ef}.batch-picker,.held-complete-form,.return-form{padding:22px}.batch-picker-list{display:grid;gap:10px}.batch-option{display:flex;min-height:70px;cursor:pointer;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e0e6ee;border-radius:12px;padding:12px 14px;color:inherit;background:#fff;text-align:left}.batch-option:hover{border-color:#9dbaf4;background:#f8fbff}.batch-option strong,.batch-option span{display:block}.batch-option div strong{color:#334155;font-size:11px}.batch-option div span{margin-top:5px;color:#94a3b8;font-size:9px}.batch-option>strong{color:#1d4ed8;font-size:12px}.sale-modal-loading,.sale-empty-state{display:grid;min-height:230px;place-items:center;color:#94a3b8;font-size:11px;text-align:center}.invoice-detail,.return-detail{padding:22px}.invoice-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.invoice-heading>div:first-child>span{color:#94a3b8;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}.invoice-heading h3{margin-top:5px;color:#1f2937;font-size:22px}.invoice-heading p{margin-top:5px;color:#8b95a5;font-size:9px}.invoice-statuses{display:flex;gap:7px}.invoice-customer{display:grid;gap:12px;border:1px solid #e3e8ef;border-radius:12px;margin-bottom:17px;padding:13px;background:#fafbfc;grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-customer span,.invoice-customer strong,.invoice-customer small{display:block}.invoice-customer span{color:#94a3b8;font-size:8px;font-weight:750;text-transform:uppercase}.invoice-customer strong{margin-top:5px;color:#334155;font-size:11px}.invoice-customer small{margin-top:3px;color:#94a3b8;font-size:8px}.invoice-item-table{min-width:850px}.invoice-bottom-grid{display:grid;gap:18px;margin-top:17px;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr)}.invoice-payment-history{border:1px solid #e4e9ef;border-radius:12px;padding:13px}.invoice-payment-history h4{margin:0 0 9px;color:#334155;font-size:10px}.invoice-payment-history>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf0f4;padding:8px 0;color:#7e8999;font-size:9px}.invoice-payment-history>div strong{color:#334155}.invoice-payment-history p{color:#94a3b8;font-size:9px}.invoice-totals{display:grid;gap:7px}.invoice-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7e8999;font-size:9px}.invoice-totals strong{color:#334155}.invoice-grand-total{border-top:1px dashed #dce2e9;border-bottom:1px dashed #dce2e9;margin:3px 0;padding:9px 0}.invoice-grand-total span{color:#334155;font-size:10px;font-weight:750}.invoice-grand-total strong{color:#1d4ed8;font-size:15px}.invoice-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e7ebf0;margin:22px -22px -22px;padding:15px 22px;background:#fafbfc}.held-cancel-button{color:#b42318}.held-total-card{border:1px solid #bfdbfe;border-radius:13px;margin-bottom:17px;padding:15px;background:#eff6ff}.held-total-card span,.held-total-card strong,.held-total-card small{display:block}.held-total-card span{color:#64748b;font-size:9px;text-transform:uppercase}.held-total-card strong{margin-top:5px;color:#1d4ed8;font-size:23px}.held-total-card small{margin-top:5px;color:#64748b;font-size:9px}.held-complete-form>.form-field select{width:100%;height:42px;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.sale-inline-warning{border:1px solid #fde68a;border-radius:10px;margin-top:12px;padding:10px 12px;color:#92400e;background:#fffbeb;font-size:9px}.return-summary-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dce5f3;border-radius:12px;margin-bottom:15px;padding:13px;background:#f8fbff}.return-summary-banner span,.return-summary-banner strong{display:block}.return-summary-banner span{color:#94a3b8;font-size:8px;text-transform:uppercase}.return-summary-banner strong{margin-top:5px;color:#334155;font-size:13px}.return-line-list{display:grid;gap:10px}.return-line{display:grid;align-items:end;gap:12px;border:1px solid #e1e6ed;border-radius:12px;padding:12px;background:#fbfcfe;grid-template-columns:minmax(220px,1fr) minmax(130px,.45fr) minmax(180px,.8fr)}.return-line>div strong,.return-line>div span{display:block}.return-line>div strong{color:#334155;font-size:11px}.return-line>div span{margin-top:5px;color:#94a3b8;font-size:8px}.return-refund-block{border:1px solid #e1e6ed;border-radius:12px;margin:15px 0;padding:13px;background:#fafbfc}.return-refund-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.return-refund-heading strong,.return-refund-heading span{display:block}.return-refund-heading strong{color:#334155;font-size:10px}.return-refund-heading span{margin-top:4px;color:#94a3b8;font-size:8px}@media (min-width: 1021px) and (max-height: 850px){.pos-cart-header{min-height:56px;padding:9px 13px}.pos-cart-header h2{margin-top:2px;font-size:14px}.pos-cart-lines{min-height:125px;padding:8px 10px}.pos-cart-line{margin-bottom:8px;padding:10px}.pos-invoice-options,.pos-payment-block,.pos-total-summary{padding:9px 12px}.pos-invoice-options .form-field,.pos-payment-block .form-field{margin-bottom:6px}.pos-total-summary{gap:5px}.pos-grand-row{padding:6px 0}.pos-submit-actions{padding:9px 12px}.pos-submit-actions button{min-height:40px}}@media (max-width: 1020px){.pos-layout{grid-template-columns:1fr}.pos-cart-panel{position:static;height:auto;max-height:none;overflow:visible}.pos-cart-scroll-area{overflow:visible}.pos-product-grid{max-height:none}}@media (max-width: 980px){.pos-settings-grid,.sales-filter-bar{grid-template-columns:1fr}.pos-payment-row{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-payment-remove{grid-column:span 2}.invoice-bottom-grid{grid-template-columns:1fr}}@media (max-width: 700px){.pos-product-grid,.pos-invoice-options .form-grid-3,.return-line,.return-refund-block .form-grid-3{grid-template-columns:1fr}.pos-cart-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-payment-heading,.return-refund-heading,.invoice-heading,.invoice-actions,.return-summary-banner{align-items:stretch;flex-direction:column}.pos-payment-heading-actions{justify-content:flex-start}.pos-payment-row{grid-template-columns:1fr}.pos-payment-remove{grid-column:auto}.invoice-customer{grid-template-columns:1fr}.invoice-actions button{width:100%}}@media print{.sidebar,.topbar,.module-heading,.sales-tabs,.modal-backdrop,.invoice-actions{display:none!important}.main-shell,.page-container{margin:0!important;padding:0!important}.modal-layer{position:static!important;display:block!important;padding:0!important}.modal-card{width:100%!important;max-height:none!important;border:0!important;box-shadow:none!important}.modal-header{display:none!important}.modal-body{overflow:visible!important}}@media (max-width: 760px){.pos-customer-selector-heading,.pos-customer-not-found,.pos-selected-customer{align-items:stretch;flex-direction:column}.pos-customer-mode-switch{display:grid;width:100%;grid-template-columns:repeat(2,1fr)}.pos-customer-not-found .primary-button,.pos-customer-create-form .primary-button{width:100%;justify-self:stretch}}.pos-customer-create-section{border-top:1px solid #dfe7f0;padding-top:12px}.pos-customer-create-section:first-of-type{border-top:0;padding-top:0}.pos-customer-create-section-heading{margin-bottom:10px}.pos-customer-create-section-heading strong,.pos-customer-create-section-heading span{display:block}.pos-customer-create-section-heading strong{color:#334155;font-size:10px}.pos-customer-create-section-heading span{margin-top:3px;color:#8490a2;font-size:8px;line-height:1.45}.pos-customer-create-form input[readonly],.pos-customer-create-form select:disabled{color:#64748b;background:#eef2f7}.settings-page{position:relative}.settings-heading,.settings-tabs{margin-bottom:18px}.settings-loading{display:grid;min-height:420px;place-items:center;color:#94a3b8;font-size:12px}.settings-main-form{overflow:hidden}.settings-form-section{border-bottom:1px solid #e8edf2;padding:22px}.settings-form-section:last-of-type{border-bottom:0}.settings-main-form .form-field input,.settings-main-form .form-field select,.settings-main-form .form-field textarea,.settings-form .form-field input,.settings-form .form-field select,.settings-form .form-field textarea{width:100%;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.settings-main-form .form-field input,.settings-main-form .form-field select,.settings-form .form-field input,.settings-form .form-field select{height:42px}.settings-main-form .form-field textarea,.settings-form .form-field textarea{padding-top:10px;resize:vertical}.settings-main-form .form-field input:focus,.settings-main-form .form-field select:focus,.settings-main-form .form-field textarea:focus,.settings-form .form-field input:focus,.settings-form .form-field select:focus,.settings-form .form-field textarea:focus{border-color:#8cb0fa;outline:none;box-shadow:0 0 0 3px #2563eb12}.settings-form-actions{display:flex;justify-content:flex-end;border-top:1px solid #e7ebf0;padding:15px 22px;background:#fafbfc}.settings-logo-preview{display:flex;align-items:center;gap:13px;border:1px solid #dfe5ed;border-radius:12px;margin-top:4px;padding:12px;background:#f8fafc}.settings-logo-preview img{width:64px;height:64px;object-fit:contain;border:1px solid #e3e8ef;border-radius:10px;background:#fff}.settings-logo-preview strong,.settings-logo-preview span{display:block}.settings-logo-preview strong{color:#334155;font-size:11px}.settings-logo-preview span{max-width:440px;margin-top:4px;color:#8b95a5;font-size:9px;line-height:1.5}.settings-branch-grid{display:grid;gap:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.settings-branch-card{display:flex;min-height:270px;flex-direction:column;border:1px solid #e2e7ee;border-radius:15px;padding:17px;background:#fff}.settings-branch-card>header{display:flex;align-items:center;justify-content:space-between}.settings-branch-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;color:#2563eb;background:#eaf1ff}.settings-branch-title{margin-top:14px}.settings-branch-title strong,.settings-branch-title span{display:block}.settings-branch-title strong{color:#334155;font-size:13px}.settings-branch-title span{margin-top:4px;color:#94a3b8;font-size:9px}.settings-branch-details{border-top:1px solid #edf0f4;margin-top:14px;padding-top:12px}.settings-branch-details p{margin:0 0 7px;color:#748094;font-size:9px;line-height:1.5}.settings-branch-flags span{display:inline-flex;border-radius:999px;padding:5px 8px;color:#526078;background:#eef2f7;font-size:8px;font-weight:700}.settings-branch-card>button{display:flex;min-height:42px;cursor:pointer;align-items:center;justify-content:center;gap:7px;border-top:1px solid #edf0f4;margin:auto -17px -17px;color:#2563eb;background:transparent;font-size:10px;font-weight:750}.settings-branch-card>button:hover{background:#f8fbff}.settings-template-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-template-card{display:grid;overflow:hidden;border:1px solid #e2e7ee;border-radius:15px;background:#fff;grid-template-columns:145px minmax(0,1fr)}.settings-template-card.is-default{border-color:#93b4f7;box-shadow:0 10px 30px #2563eb14}.settings-template-paper{display:flex;min-height:245px;flex-direction:column;border-right:1px solid #e3e8ef;padding:18px;background:#f2f5f9}.settings-paper-logo{width:28px;height:28px;border-radius:6px;background:#9db8ef}.settings-paper-line{width:55%;height:5px;border-radius:999px;margin-top:8px;background:#c8d1df}.settings-paper-line.wide{width:85%;margin-top:12px}.settings-paper-table{display:grid;gap:6px;border-top:5px solid #5d85d8;margin-top:20px;padding-top:8px}.settings-paper-table span{height:6px;border-radius:999px;background:#d6dde7}.settings-paper-total{width:55%;height:28px;border-radius:6px;margin:auto 0 0 auto;background:#dce8fd}.settings-paper-80,.settings-paper-58{width:85px;justify-self:center}.settings-template-content{display:flex;min-width:0;flex-direction:column;padding:17px}.settings-template-content>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.settings-template-content header strong,.settings-template-content header span{display:block}.settings-template-content header strong{color:#334155;font-size:13px}.settings-template-content header div span{margin-top:4px;color:#94a3b8;font-size:9px}.settings-default-pill{border-radius:999px;padding:5px 8px;color:#1d4ed8;background:#eaf1ff;font-size:8px;font-weight:800}.settings-template-options{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #edf0f4;margin-top:15px;padding-top:12px}.settings-template-options span{border-radius:999px;padding:5px 7px;color:#526078;background:#eef2f7;font-size:8px}.settings-template-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:18px}.settings-template-actions button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:9px;font-weight:750}.settings-template-actions button:hover{text-decoration:underline}.settings-template-actions .danger-link{color:#dc2626}.settings-form{padding:22px}.settings-toggle-grid{display:grid;gap:10px;margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-toggle-grid>label{display:flex;cursor:pointer;align-items:flex-start;gap:9px;border:1px solid #e1e6ed;border-radius:11px;padding:11px;background:#fafbfc}.settings-toggle-grid input{width:16px;height:16px;margin-top:1px;accent-color:#2563eb}.settings-toggle-grid strong,.settings-toggle-grid small{display:block}.settings-toggle-grid strong{color:#475569;font-size:9px}.settings-toggle-grid small{margin-top:3px;color:#94a3b8;font-size:8px;line-height:1.4}@media (max-width: 1050px){.settings-branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-template-grid{grid-template-columns:1fr}}@media (max-width: 700px){.settings-heading{align-items:stretch;flex-direction:column}.settings-heading .primary-button{width:100%}.settings-branch-grid,.settings-toggle-grid{grid-template-columns:1fr}.settings-template-card{grid-template-columns:100px minmax(0,1fr)}.settings-template-paper{min-height:220px;padding:12px}}.settings-create-branch-section{border-bottom:1px solid #e8edf2;margin:0 -22px;padding:0 22px 20px}.settings-create-branch-section+.settings-create-branch-section{padding-top:20px}.settings-create-branch-section:last-of-type{border-bottom:0}.settings-branch-account-toggle{display:flex;cursor:pointer;align-items:flex-start;gap:10px;border:1px solid #dfe5ed;border-radius:11px;margin-bottom:13px;padding:12px;background:#f8fafc}.settings-branch-account-toggle input{width:16px;height:16px;margin-top:2px;accent-color:#2563eb}.settings-branch-account-toggle strong,.settings-branch-account-toggle small{display:block}.settings-branch-account-toggle strong{color:#475569;font-size:10px}.settings-branch-account-toggle small{margin-top:4px;color:#94a3b8;font-size:8px;line-height:1.45}.stock-transfer-panel{position:relative}.transfer-summary-grid{display:grid;gap:14px;margin-bottom:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.transfer-summary-grid article{border:1px solid #e2e7ee;border-radius:14px;padding:17px;background:#fff}.transfer-summary-grid span,.transfer-summary-grid strong{display:block}.transfer-summary-grid span{color:#8490a2;font-size:9px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.transfer-summary-grid strong{margin-top:8px;color:#1f2937;font-size:19px}.transfer-data-panel{overflow:hidden}.transfer-toolbar{display:grid;gap:10px;border-bottom:1px solid #edf0f4;padding:16px 18px;grid-template-columns:minmax(260px,1fr) repeat(2,minmax(165px,210px)) auto}.transfer-toolbar .product-search,.transfer-toolbar .toolbar-select{width:100%}.transfer-table{min-width:1240px}.transfer-status,.transfer-approval{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800}.transfer-status-draft,.transfer-approval-pending{color:#b45309;background:#fff5e5}.transfer-status-sent,.transfer-approval-approved{color:#1d4ed8;background:#eaf1ff}.transfer-status-received{color:#047857;background:#e8f8f2}.transfer-status-cancelled,.transfer-approval-rejected,.transfer-approval-cancelled{color:#be123c;background:#ffe9ef}.transfer-actions{display:inline-flex;align-items:center;gap:8px}.transfer-actions button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:9px;font-weight:750}.transfer-actions button:hover{text-decoration:underline}.transfer-actions .danger-link{color:#dc2626}.transfer-form{padding:0}.transfer-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.transfer-lines-heading h3,.transfer-lines-heading p{margin:0}.transfer-lines-heading h3{color:#334155;font-size:12px}.transfer-lines-heading p{margin-top:4px;color:#94a3b8;font-size:8px}.transfer-line-list{display:grid;gap:10px;margin-top:13px}.transfer-line{display:grid;align-items:end;gap:9px;border:1px solid #e1e6ed;border-radius:12px;padding:11px;background:#fafbfc;grid-template-columns:30px minmax(190px,1.4fr) minmax(150px,1fr) minmax(140px,.8fr) minmax(140px,1fr) auto}.transfer-line-number{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#1d4ed8;background:#eaf1ff;font-size:9px;font-weight:800}.transfer-line .form-field{margin:0}.transfer-no-batch{display:flex;height:42px;align-items:center;color:#94a3b8;font-size:8px}.transfer-remove-line{height:42px;cursor:pointer;padding:0 7px;color:#dc2626;background:transparent;font-size:8px;font-weight:750}.transfer-remove-line:disabled{cursor:not-allowed;color:#cbd5e1}.transfer-form-loading{display:grid;min-height:150px;place-items:center;color:#94a3b8;font-size:10px}.transfer-detail{padding:22px}.transfer-detail-summary{display:grid;gap:11px;margin-bottom:14px;grid-template-columns:repeat(4,minmax(0,1fr))}.transfer-detail-summary>div{border:1px solid #e4e9ef;border-radius:10px;padding:11px;background:#fafbfc}.transfer-detail-summary span,.transfer-detail-summary strong,.transfer-detail-summary small{display:block}.transfer-detail-summary span{color:#94a3b8;font-size:7px;text-transform:uppercase}.transfer-detail-summary strong{margin-top:5px;color:#334155;font-size:9px}.transfer-detail-summary small{margin-top:4px;color:#8490a2;font-size:7px;line-height:1.4}.transfer-detail-table{min-width:780px}.transfer-rejection-box{display:flex;gap:10px;border:1px solid #fecaca;border-radius:10px;margin-bottom:13px;padding:10px 12px;color:#b42318;background:#fff7f7;font-size:9px}.transfer-header-note{border:1px solid #e1e6ed;border-radius:10px;margin-top:13px;padding:11px;color:#64748b;background:#f8fafc;font-size:9px;line-height:1.5}@media (max-width: 1100px){.transfer-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-line{grid-template-columns:30px repeat(2,minmax(0,1fr))}.transfer-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.transfer-summary-grid,.transfer-toolbar,.transfer-line,.transfer-detail-summary{grid-template-columns:1fr}.transfer-line-number{display:none}.transfer-toolbar .primary-button{width:100%}}.stock-page{position:relative}.stock-heading-actions{display:flex;align-items:center;gap:10px}.stock-context-bar{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:22px;border:1px solid #e2e7ee;border-radius:15px;margin-bottom:18px;padding:14px 18px;background:#fff}.stock-context-bar>label{display:flex;align-items:center;gap:12px}.stock-context-bar>label>span{color:#64748b;font-size:11px;font-weight:750}.stock-context-bar select{min-width:270px;height:40px;border:1px solid #d9dee7;border-radius:10px;padding:0 34px 0 11px;color:#334155;background:#fff;font-size:11px;font-weight:650}.stock-warehouse-caption{display:flex;align-items:center;gap:10px;color:#2563eb}.stock-warehouse-caption strong,.stock-warehouse-caption span{display:block}.stock-warehouse-caption strong{color:#334155;font-size:12px}.stock-warehouse-caption span{margin-top:3px;color:#94a3b8;font-size:10px}.stock-tabs{margin-bottom:18px}.stock-summary-grid{display:grid;gap:14px;margin-bottom:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.stock-summary-grid article{border:1px solid #e2e7ee;border-radius:14px;padding:17px 18px;background:#fff}.stock-summary-grid span,.stock-summary-grid strong{display:block}.stock-summary-grid span{color:#8490a2;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.stock-summary-grid strong{margin-top:9px;color:#1f2937;font-size:22px;letter-spacing:-.035em}.stock-data-panel{overflow:hidden}.stock-toolbar{min-height:73px}.stock-check-filter{display:flex;cursor:pointer;align-items:center;gap:8px;color:#4b5563;font-size:11px;font-weight:700}.stock-check-filter input{width:16px;height:16px;accent-color:#2563eb}.stock-balance-table{min-width:800px}.stock-movement-table{min-width:1050px}.stock-adjustment-table{min-width:980px}.stock-quantity-value{color:#1f2937;font-size:13px}.stock-status-low{color:#b45309;background:#fff5e5}.stock-status-ok{color:#047857;background:#e8f8f2}.stock-filter-grid{display:grid;gap:14px;border-bottom:1px solid #edf0f4;padding:17px 20px 2px;grid-template-columns:repeat(3,minmax(0,220px))}.adjustment-filter-grid{grid-template-columns:minmax(0,240px)}.stock-filter-grid .form-field input,.stock-filter-grid .form-field select{width:100%;height:40px;border:1px solid #d9dee7;border-radius:10px;padding:0 11px;color:#334155;background:#fff;font-size:11px}.movement-type-pill{display:inline-flex;border-radius:999px;padding:5px 8px;color:#42526a;background:#eef2f7;font-size:9px;font-weight:750}.quantity-in{color:#047857!important;font-weight:750}.quantity-out{color:#be123c!important;font-weight:750}.stock-view-button{cursor:pointer;padding:0;color:#2563eb;background:transparent;font-size:11px;font-weight:750}.stock-view-button:hover{text-decoration:underline}.stock-entry-form{padding:22px}.stock-lines-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.stock-lines-title h3{color:#2d3748;font-size:13px}.stock-lines-title p{margin-top:4px;color:#94a3b8;font-size:10px}.stock-lines-title .secondary-button{min-height:36px;padding:0 12px;font-size:11px}.stock-lines-list{display:grid;gap:13px}.stock-line-card{border:1px solid #dde3eb;border-radius:13px;padding:15px;background:#fbfcfe}.stock-line-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.stock-line-header strong,.stock-line-header span{display:block}.stock-line-header strong{color:#334155;font-size:12px}.stock-line-header span{margin-top:3px;color:#94a3b8;font-size:9px}.stock-remove-line{cursor:pointer;padding:0;color:#dc2626;background:transparent;font-size:10px;font-weight:750}.stock-product-field{grid-column:span 1}.stock-batch-section{border-top:1px dashed #dce2ea;margin-top:2px;padding-top:13px}.stock-batch-heading{margin-bottom:12px}.stock-batch-heading strong,.stock-batch-heading span{display:block}.stock-batch-heading strong{color:#475569;font-size:10px}.stock-batch-heading span{margin-top:3px;color:#94a3b8;font-size:9px}.stock-line-notes{margin-bottom:0!important}.stock-adjustment-detail{padding:22px}.stock-detail-summary{display:grid;gap:12px;margin-bottom:17px;grid-template-columns:repeat(4,minmax(0,1fr))}.stock-detail-summary div{border:1px solid #e5e9ef;border-radius:11px;padding:12px;background:#fafbfc}.stock-detail-summary span,.stock-detail-summary strong{display:block}.stock-detail-summary span{color:#94a3b8;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.stock-detail-summary strong{margin-top:6px;color:#334155;font-size:11px}.stock-detail-note{border-left:3px solid #60a5fa;border-radius:0 9px 9px 0;margin-bottom:17px;padding:10px 12px;color:#526078;background:#eff6ff;font-size:10px;line-height:1.55}.stock-detail-table{min-width:720px}.stock-detail-loading{display:grid;min-height:250px;place-items:center;color:#94a3b8;font-size:12px}@media (max-width: 860px){.stock-context-bar,.stock-context-bar>label,.stock-heading-actions,.stock-lines-title{align-items:stretch;flex-direction:column}.stock-context-bar select{width:100%;min-width:0}.stock-heading-actions,.stock-heading-actions .primary-button,.stock-heading-actions .secondary-button{width:100%}.stock-summary-grid,.stock-filter-grid{grid-template-columns:1fr}.stock-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 520px){.stock-detail-summary{grid-template-columns:1fr}}.system-status-page{position:relative}.system-heading{margin-bottom:18px}.system-heading-actions{display:flex;align-items:center;gap:9px}.system-heading-actions button{display:inline-flex;align-items:center;gap:7px}.system-loading-grid,.system-health-grid{display:grid;gap:14px;margin-bottom:17px;grid-template-columns:repeat(3,minmax(0,1fr))}.system-skeleton{height:124px;border:1px solid #e7ebf0;border-radius:15px;background:linear-gradient(90deg,#f1f3f6 25%,#f8f9fb 37%,#f1f3f6 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite}.system-health-card{position:relative;display:flex;min-height:124px;align-items:flex-start;gap:13px;border:1px solid #e2e7ee;border-radius:15px;padding:17px;background:#fff}.system-health-icon{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border-radius:12px}.system-health-healthy .system-health-icon{color:#047857;background:#e8f8f2}.system-health-warning .system-health-icon{color:#b45309;background:#fff5e5}.system-health-critical .system-health-icon{color:#be123c;background:#ffe9ef}.system-health-card>div:nth-child(2){min-width:0}.system-health-card span,.system-health-card strong,.system-health-card small{display:block}.system-health-card>div:nth-child(2)>span{color:#7c8798;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}.system-health-card>div:nth-child(2)>strong{overflow:hidden;margin-top:7px;color:#1f2937;font-size:17px;letter-spacing:-.03em;text-overflow:ellipsis;white-space:nowrap}.system-health-card>div:nth-child(2)>small{margin-top:6px;overflow:hidden;color:#94a3b8;font-size:8px;line-height:1.45;text-overflow:ellipsis}.system-card-status{position:absolute;right:13px;bottom:12px;color:#94a3b8;font-size:7px;font-weight:800;text-transform:uppercase}.system-detail-grid{display:grid;gap:17px;margin-bottom:17px;grid-template-columns:repeat(3,minmax(0,1fr))}.system-detail-card{min-width:0;overflow:hidden}.system-status-pill{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800;white-space:nowrap}.system-status-healthy{color:#047857;background:#e8f8f2}.system-status-warning,.system-status-attention{color:#b45309;background:#fff5e5}.system-status-critical{color:#be123c;background:#ffe9ef}.system-status-unknown{color:#526078;background:#eef2f7}.system-detail-list{display:grid;gap:0;padding:8px 17px}.system-detail-list>div{display:flex;min-height:39px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f4;color:#7c8798;font-size:9px}.system-detail-list>div:last-child{border-bottom:0}.system-detail-list strong{max-width:58%;overflow:hidden;color:#334155;font-size:9px;text-align:right;text-overflow:ellipsis}.system-table-size-list{border-top:1px solid #edf0f4;padding:14px 17px 17px}.system-table-size-list h3{margin:0 0 8px;color:#334155;font-size:9px}.system-table-size-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 0;color:#64748b;font-size:8px}.system-table-size-list>div strong{color:#334155}.system-table-size-list p{color:#94a3b8;font-size:8px}.system-runtime-main{display:grid;gap:10px;padding:16px 17px 7px;grid-template-columns:repeat(2,minmax(0,1fr))}.system-runtime-main>div{border:1px solid #e4e9ef;border-radius:11px;padding:12px;background:#fafbfc}.system-runtime-main span,.system-runtime-main strong,.system-runtime-main small{display:block}.system-runtime-main span{color:#94a3b8;font-size:7px;text-transform:uppercase}.system-runtime-main strong{margin-top:6px;color:#334155;font-size:15px}.system-runtime-main small{margin-top:4px;color:#94a3b8;font-size:7px}.system-disk-meter{padding:17px 17px 5px}.system-disk-meter header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#64748b;font-size:8px}.system-disk-meter header strong{color:#334155;font-size:10px}.system-disk-meter>div{height:10px;overflow:hidden;border-radius:999px;background:#edf1f5}.system-disk-meter>div>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#2563eb)}.system-path-note{border-top:1px solid #edf0f4;padding:12px 17px 16px}.system-path-note span,.system-path-note code{display:block}.system-path-note span{color:#94a3b8;font-size:7px;text-transform:uppercase}.system-path-note code{margin-top:5px;overflow-wrap:anywhere;color:#526078;font-size:7px;line-height:1.45}.system-policy-panel,.system-backup-panel{margin-bottom:17px;overflow:hidden}.system-scheduler-state{display:flex;align-items:center;gap:8px;color:#64748b;font-size:8px}.system-policy-form{display:grid;align-items:end;gap:12px;padding:18px;grid-template-columns:minmax(220px,1.2fr) repeat(4,minmax(100px,.55fr)) auto}.system-policy-form .form-field{margin:0}.system-policy-form .form-field input{width:100%;height:42px;border:1px solid #d9dee7;border-radius:10px;padding:0 10px;color:#334155;background:#fff;font-size:10px}.system-policy-toggle{display:flex;min-height:58px;cursor:pointer;align-items:flex-start;gap:9px;border:1px solid #e1e6ed;border-radius:11px;padding:10px;background:#fafbfc}.system-policy-toggle input{width:16px;height:16px;margin-top:2px;accent-color:#2563eb}.system-policy-toggle strong,.system-policy-toggle small{display:block}.system-policy-toggle strong{color:#475569;font-size:9px}.system-policy-toggle small{margin-top:4px;color:#94a3b8;font-size:7px;line-height:1.45}.system-scheduler-error{display:flex;align-items:center;gap:10px;border-top:1px solid #fecaca;padding:11px 18px;color:#b42318;background:#fff7f7;font-size:8px}.system-scheduler-error strong{white-space:nowrap}.system-backup-table{min-width:1120px}.system-backup-name{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-backup-type{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:750;text-transform:capitalize}.system-backup-manual{color:#1d4ed8;background:#eaf1ff}.system-backup-automatic{color:#6d28d9;background:#f1eaff}.system-backup-unknown{color:#526078;background:#eef2f7}.system-checksum{color:#64748b;font-size:8px}.system-backup-actions{display:inline-flex;align-items:center;gap:6px}.system-backup-actions button{display:grid;width:30px;height:30px;cursor:pointer;place-items:center;border:1px solid #dfe5ed;border-radius:8px;color:#2563eb;background:#fff}.system-backup-actions button:hover:not(:disabled){border-color:#9dbaf4;background:#f8fbff}.system-backup-actions .system-delete-button{color:#dc2626}.system-backup-actions button:disabled{cursor:not-allowed;opacity:.5}.system-restore-note{display:flex;align-items:flex-start;gap:10px;border-top:1px solid #fde68a;padding:13px 18px;color:#92400e;background:#fffbeb}.system-restore-note strong,.system-restore-note span{display:block}.system-restore-note strong{font-size:9px}.system-restore-note span{margin-top:4px;font-size:8px;line-height:1.5}@media (max-width: 1200px){.system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-detail-grid{grid-template-columns:1fr}.system-policy-form{grid-template-columns:repeat(3,minmax(0,1fr))}.system-policy-toggle{grid-column:span 2}}@media (max-width: 760px){.system-heading,.system-heading-actions{align-items:stretch;flex-direction:column}.system-heading-actions,.system-heading-actions button{width:100%}.system-health-grid,.system-loading-grid,.system-policy-form{grid-template-columns:1fr}.system-policy-toggle{grid-column:auto}.system-scheduler-state{align-items:flex-end;flex-direction:column}.system-runtime-main{grid-template-columns:1fr}}:root{color:#172033;background:#f4f6fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--sidebar-width: 264px;--surface: #ffffff;--surface-soft: #f8fafc;--text: #172033;--muted: #6b7280;--line: #e5e7eb;--navy: #111827;--primary: #2563eb;--primary-dark: #1d4ed8;--shadow: 0 18px 42px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .04)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:#f4f6fa}body{min-width:320px;min-height:100vh;margin:0;background:#f4f6fa}body,button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}.brand-mark{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,#3b82f6,#1d4ed8);box-shadow:0 10px 24px #2563eb47;font-size:19px;font-weight:800;letter-spacing:-.03em}.brand-mark-large{width:50px;height:50px;border-radius:15px;font-size:22px}.eyebrow{color:#64748b;font-size:11px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.icon-button{display:inline-grid;width:40px;height:40px;flex:0 0 auto;cursor:pointer;place-items:center;border-radius:11px;color:#64748b;background:transparent;transition:color .16s ease,background .16s ease}.icon-button:hover{color:#172033;background:#f1f5f9}.primary-button,.secondary-button{display:inline-flex;min-height:42px;cursor:pointer;align-items:center;justify-content:center;gap:9px;border-radius:11px;padding:0 17px;font-size:14px;font-weight:700;transition:transform .15s ease,background .15s ease,border-color .15s ease,opacity .15s ease}.primary-button{color:#fff;background:var(--primary);box-shadow:0 10px 22px #2563eb38}.primary-button:hover:not(:disabled){transform:translateY(-1px);background:var(--primary-dark)}.secondary-button{border:1px solid #dbe1ea;color:#334155;background:#fff}.secondary-button:hover:not(:disabled){border-color:#cbd5e1;background:#f8fafc}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.62}.login-page{display:grid;min-height:100vh;grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);background:#fff}.login-visual{position:relative;overflow:hidden;padding:54px clamp(48px,6vw,96px);color:#fff;background:radial-gradient(circle at 12% 15%,rgba(59,130,246,.38),transparent 32%),radial-gradient(circle at 85% 88%,rgba(16,185,129,.18),transparent 36%),linear-gradient(150deg,#0f172a,#111827 55%,#172554)}.login-visual:before,.login-visual:after{position:absolute;content:"";border:1px solid rgba(255,255,255,.09);border-radius:999px}.login-visual:before{width:560px;height:560px;top:-280px;right:-170px}.login-visual:after{width:420px;height:420px;right:-210px;bottom:-170px}.login-visual-content{position:relative;z-index:1;display:flex;width:min(100%,700px);min-height:calc(100vh - 108px);flex-direction:column}.login-brand,.mobile-login-brand{display:flex;align-items:center;gap:14px}.login-brand strong,.mobile-login-brand strong{display:block;font-size:19px;letter-spacing:-.02em}.login-brand span,.mobile-login-brand span{display:block;margin-top:2px;color:#ffffff9e;font-size:12px}.login-hero-copy{margin:auto 0;padding:70px 0}.login-kicker{display:inline-flex;border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:8px 13px;color:#ffffffc7;background:#ffffff0f;font-size:12px;font-weight:650}.login-hero-copy h1{margin-top:25px;font-size:clamp(46px,5.4vw,74px);font-weight:750;letter-spacing:-.055em;line-height:.98}.login-hero-copy p{width:min(100%,590px);margin-top:29px;color:#ffffffab;font-size:16px;line-height:1.7}.login-feature-grid{display:grid;gap:12px;grid-template-columns:repeat(3,1fr)}.login-feature-grid div{border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:17px;background:#ffffff0e;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.login-feature-grid strong,.login-feature-grid span{display:block}.login-feature-grid strong{font-size:13px}.login-feature-grid span{margin-top:5px;color:#ffffff8f;font-size:11px;line-height:1.45}.login-form-panel{display:grid;padding:48px;place-items:center;background:radial-gradient(circle at 100% 0%,rgba(37,99,235,.08),transparent 28%),#fff}.login-form-card{width:min(100%,420px)}.mobile-login-brand{display:none;margin-bottom:42px}.mobile-login-brand span{color:#7c8799}.login-form-heading{margin-bottom:32px}.login-form-heading h2{margin-top:10px;color:#111827;font-size:34px;letter-spacing:-.04em}.login-form-heading p{margin-top:9px;color:#7c8799;font-size:14px}.form-field{display:block;margin-bottom:20px}.form-field>span{display:block;margin-bottom:8px;color:#374151;font-size:13px;font-weight:700}.form-field input{width:100%;height:50px;border:1px solid #d9dee7;border-radius:12px;padding:0 15px;color:#172033;background:#fff;font-size:14px;transition:border-color .15s ease,box-shadow .15s ease}.form-field input::placeholder{color:#a3aab8}.form-field input:focus{border-color:#4f7fe7;outline:none;box-shadow:0 0 0 4px #2563eb17}.password-input{position:relative}.password-input input{padding-right:70px}.password-input button{position:absolute;top:50%;right:8px;cursor:pointer;transform:translateY(-50%);border-radius:8px;padding:7px 9px;color:#64748b;background:transparent;font-size:12px;font-weight:700}.password-input button:hover{color:#1d4ed8;background:#eff6ff}.form-error{margin:2px 0 18px;border:1px solid #fecaca;border-radius:11px;padding:11px 13px;color:#b42318;background:#fff7f7;font-size:13px;line-height:1.45}.login-button{width:100%;min-height:50px;margin-top:4px}.button-spinner{width:17px;height:17px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:999px;animation:spin .75s linear infinite}.login-security-note{margin-top:23px;color:#9aa3b2;font-size:11px;line-height:1.6;text-align:center}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:40;top:0;bottom:0;left:0;display:flex;width:var(--sidebar-width);flex-direction:column;border-right:1px solid #202938;color:#d8dee9;background:linear-gradient(180deg,#111827,#0d1421)}.brand-row{display:flex;min-height:84px;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.07);padding:18px 20px}.brand-copy{min-width:0}.brand-copy strong,.brand-copy span{display:block}.brand-copy strong{color:#fff;font-size:16px;letter-spacing:-.02em}.brand-copy span{margin-top:3px;overflow:hidden;color:#8e99aa;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sidebar-close{display:none;margin-left:auto;color:#b8c0cd}.sidebar-close:hover{color:#fff;background:#ffffff14}.sidebar-nav{flex:1;overflow-y:auto;padding:25px 13px}.nav-section-label{display:block;padding:0 12px 10px;color:#687386;font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}.nav-link{display:flex;min-height:46px;align-items:center;gap:12px;border-radius:11px;margin-bottom:4px;padding:0 13px;color:#98a4b7;font-size:13px;font-weight:600;transition:color .15s ease,background .15s ease,transform .15s ease}.nav-link:hover{color:#e5eaf1;background:#ffffff0e}.nav-link.is-active{color:#fff;background:linear-gradient(100deg,#2563eb47,#2563eb21);box-shadow:inset 3px 0 #3b82f6}.nav-link.is-active svg{color:#60a5fa}.sidebar-user{display:flex;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.07);padding:16px 15px;background:#0000001f}.avatar{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:12px;color:#dbeafe;background:#253148;font-size:12px;font-weight:800}.sidebar-user-copy{min-width:0;flex:1}.sidebar-user-copy strong,.sidebar-user-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-copy strong{color:#e5e7eb;font-size:12px}.sidebar-user-copy span{margin-top:3px;color:#788499;font-size:10px;text-transform:capitalize}.logout-button{width:36px;height:36px;color:#7f8a9d}.logout-button:hover{color:#fca5a5;background:#ef444417}.main-shell{min-height:100vh;margin-left:var(--sidebar-width)}.topbar{position:sticky;z-index:20;top:0;display:flex;min-height:84px;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:13px clamp(20px,3vw,38px);background:#ffffffeb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar-left{display:flex;align-items:center;gap:12px}.topbar h1{margin-top:3px;color:#111827;font-size:24px;letter-spacing:-.035em}.mobile-menu-button{display:none}.topbar-profile{display:flex;align-items:center;gap:10px}.avatar-small{width:36px;height:36px;border-radius:11px;color:#1e3a8a;background:#dbeafe}.topbar-profile-copy strong,.topbar-profile-copy span{display:block}.topbar-profile-copy strong{color:#273044;font-size:12px}.topbar-profile-copy span{margin-top:2px;color:#8791a2;font-size:10px}.page-container{padding:27px clamp(20px,3vw,38px) 42px}.sidebar-backdrop{display:none}.page-heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.page-subtitle{color:#7b8494;font-size:13px}.metric-grid{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{position:relative;min-height:162px;overflow:hidden;border:1px solid #e3e7ee;border-radius:17px;padding:20px;background:#fff;box-shadow:0 3px 10px #0f172a06}.metric-card:after{position:absolute;width:110px;height:110px;content:"";right:-48px;bottom:-55px;border-radius:999px;background:var(--tone-soft)}.metric-card-top{display:flex;align-items:center;gap:10px}.metric-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;color:var(--tone);background:var(--tone-soft)}.metric-label{color:#677286;font-size:12px;font-weight:700}.metric-value{position:relative;z-index:1;display:block;margin-top:18px;color:#172033;font-size:clamp(23px,2.2vw,31px);letter-spacing:-.045em}.metric-detail{position:relative;z-index:1;display:block;margin-top:8px;color:#9098a7;font-size:11px}.tone-blue{--tone: #2563eb;--tone-soft: #eaf1ff}.tone-violet{--tone: #7c3aed;--tone-soft: #f1eaff}.tone-green{--tone: #059669;--tone-soft: #e6f7f1}.tone-orange{--tone: #d97706;--tone-soft: #fff4df}.tone-cyan{--tone: #0891b2;--tone-soft: #e5f7fb}.tone-rose{--tone: #e11d48;--tone-soft: #ffe9ef}.dashboard-lower-grid{display:grid;gap:18px;margin-top:18px;grid-template-columns:minmax(0,1.65fr) minmax(285px,.75fr)}.panel{min-width:0;border:1px solid #e3e7ee;border-radius:17px;background:#fff;box-shadow:0 3px 10px #0f172a06}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f4;padding:20px 22px}.panel-heading h2{margin-top:5px;color:#1b2437;font-size:17px;letter-spacing:-.025em}.record-count{border-radius:999px;padding:6px 9px;color:#697386;background:#f3f5f8;font-size:10px;font-weight:700}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.data-table th{padding:12px 20px;color:#8a94a4;background:#fafbfc;font-size:10px;font-weight:750;letter-spacing:.05em;text-align:left;text-transform:uppercase}.data-table td{border-top:1px solid #eff1f5;padding:15px 20px;color:#5f697b}.data-table tbody tr:hover td{background:#fbfcfe}.data-table td strong{color:#263047}.align-right{text-align:right!important}.amount-cell{color:#263047!important;font-weight:700}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:750;text-transform:capitalize}.status-paid{color:#047857;background:#e8f8f2}.status-partial{color:#b45309;background:#fff5e5}.status-unpaid{color:#be123c;background:#ffe9ef}.status-refunded{color:#5b21b6;background:#f1eaff}.empty-table{height:120px;color:#9aa3b2!important;text-align:center}.attention-panel{display:flex;flex-direction:column}.attention-stat{display:flex;align-items:center;gap:16px;padding:25px 22px 20px}.attention-number{display:grid;width:64px;height:64px;flex:0 0 auto;place-items:center;border-radius:18px;color:#b45309;background:#fff4df;font-size:25px;font-weight:800}.attention-stat strong,.attention-stat span{display:block}.attention-stat strong{color:#263047;font-size:13px}.attention-stat span{margin-top:5px;color:#8d96a5;font-size:11px;line-height:1.5}.attention-divider{height:1px;margin:0 22px 8px;background:#edf0f4}.mini-stat-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 22px;color:#7a8495;font-size:11px}.mini-stat-row strong{color:#2d374c;font-size:12px}.panel-link{display:flex;min-height:48px;align-items:center;justify-content:center;gap:8px;border-top:1px solid #edf0f4;margin-top:auto;color:#2563eb;font-size:12px;font-weight:750}.panel-link:hover{background:#f8fbff}.dashboard-error{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #fecaca;border-radius:15px;margin-bottom:18px;padding:15px 17px;background:#fff7f7}.dashboard-error strong,.dashboard-error span{display:block}.dashboard-error strong{color:#9f1239;font-size:13px}.dashboard-error span{margin-top:4px;color:#be475f;font-size:11px}.dashboard-skeleton{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.skeleton-card{height:162px;border:1px solid #e9ecf1;border-radius:17px;background:linear-gradient(90deg,#f1f3f6 25%,#f7f8fa 37%,#f1f3f6 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite}.spin{animation:spin .8s linear infinite}.coming-soon-card{display:grid;min-height:470px;place-items:center;align-content:center;border:1px solid #e3e7ee;border-radius:18px;padding:40px;background:radial-gradient(circle at 50% 0%,rgba(37,99,235,.07),transparent 34%),#fff;text-align:center}.coming-soon-icon{display:grid;width:74px;height:74px;margin-bottom:22px;place-items:center;border-radius:21px;color:#2563eb;background:#eaf1ff}.coming-soon-card h2{margin-top:9px;color:#1d273a;font-size:28px;letter-spacing:-.04em}.coming-soon-card>p{width:min(100%,560px);margin-top:11px;color:#7d8797;font-size:13px;line-height:1.7}.coming-soon-note{margin-top:25px;border-radius:11px;padding:11px 14px;color:#49617e;background:#f3f7fc;font-size:11px}.loading-screen{display:grid;min-height:100vh;place-items:center;align-content:center;gap:15px;color:#7b8493;background:#f6f8fb;font-size:12px}.loading-spinner{width:33px;height:33px;border:3px solid #dbe4f1;border-top-color:#2563eb;border-radius:999px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (max-width: 1180px){.metric-grid,.dashboard-skeleton{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-lower-grid{grid-template-columns:1fr}}@media (max-width: 960px){.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-form-panel{min-height:100vh;padding:36px 24px}.mobile-login-brand{display:flex}.sidebar{transform:translate(-100%);transition:transform .22s ease}.sidebar.is-open{transform:translate(0)}.sidebar-close,.mobile-menu-button{display:inline-grid}.sidebar-backdrop{position:fixed;z-index:35;top:0;right:0;bottom:0;left:0;background:#0f172a75;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sidebar-backdrop.is-visible{display:block}.main-shell{margin-left:0}}@media (max-width: 680px){.topbar{min-height:72px;padding:11px 16px}.topbar h1{font-size:20px}.topbar-profile-copy{display:none}.page-container{padding:19px 14px 30px}.page-heading-row{align-items:flex-start}.page-heading-row .secondary-button{min-height:38px;padding:0 12px}.metric-grid,.dashboard-skeleton{grid-template-columns:1fr}.metric-card{min-height:146px}.dashboard-error{align-items:flex-start;flex-direction:column}.coming-soon-card{min-height:390px;padding:28px 20px}}@media (max-width: 420px){.login-form-panel{padding:28px 18px}.login-form-heading h2{font-size:30px}.sidebar{width:min(86vw,300px)}}
