@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--border:#e3e8f2;--muted:#64748b;--bg:#f4f6fb;--surface:#fff}:root[data-theme=dark]{--border:#243050;--muted:#94a3b8;--bg:#0a1020;--surface:#111a2e;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html,body,#root{height:100%}body{background:var(--bg);margin:0;font-family:Inter,Segoe UI,system-ui,sans-serif}.muted{color:var(--muted)}.small{font-size:12px}.row-between{border-bottom:1px solid var(--border);justify-content:space-between;padding:6px 0;display:flex}.app-sider{border-right:1px solid var(--border);height:100vh;position:sticky;top:0;overflow:auto}.app-sider.overlay{z-index:60;top:0;left:0;box-shadow:8px 0 32px #00000059;position:fixed!important}.brand{cursor:pointer;align-items:center;gap:10px;height:56px;padding:0 20px;font-size:17px;font-weight:700;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#1d4ed8,#3b82f6);border-radius:8px;place-items:center;width:30px;height:30px;font-weight:700;display:inline-grid}.brand-mark.lg{border-radius:12px;width:48px;height:48px;font-size:22px}.app-header{border-bottom:1px solid var(--border);z-index:10;align-items:center;gap:8px;height:56px;padding:0 16px;line-height:56px;display:flex;position:sticky;top:0}.app-content{min-height:calc(100vh - 104px);padding:20px 24px 8px}.app-footer{text-align:center;color:var(--muted);background:0 0;padding:14px;font-size:12px}.pg-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.pg-head h1{margin:0;font-size:22px;font-weight:700}.pg-head .sub{color:var(--muted);margin-top:2px;font-size:13px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.form-grid .span-2{grid-column:1/-1}.kpi-card .ant-statistic-title{text-transform:uppercase;letter-spacing:.04em;font-size:12px}.ant-card>.ant-card-body{container-type:inline-size}.ant-card .ant-statistic{max-width:100%}.ant-card .ant-statistic-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ant-card .ant-statistic-content{white-space:nowrap;max-width:100%;line-height:1.25;overflow:hidden;font-size:clamp(12px,9.5cqw,24px)!important}.ant-card .ant-statistic-content-value,.ant-card .ant-statistic-content-value-int,.ant-card .ant-statistic-content-value-decimal,.ant-card .ant-statistic-content-prefix{font-size:inherit!important}.ant-card .ant-statistic-content-suffix{font-size:.6em!important}.fit-value{white-space:nowrap;text-overflow:ellipsis;font-size:clamp(12px,9cqw,22px);line-height:1.25;overflow:hidden}.ant-card .ant-card-head-title,.ant-card-meta-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.kpi-card.danger{border-left:3px solid #dc2626}.kpi-card.warning{border-left:3px solid #d97706}.kpi-card.success{border-left:3px solid #16a34a}.bars{align-items:flex-end;gap:12px;height:140px;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;display:flex}.bar{background:#1d4ed8;border-radius:6px 6px 0 0;width:100%;min-height:2px}.auth-bg{background:linear-gradient(145deg,#0f172a 0%,#1e3a8a 50%,#1d4ed8 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{border-radius:20px;width:100%;max-width:420px;box-shadow:0 32px 64px #00000059}.auth-head{text-align:center;margin-bottom:20px}.print-only{display:none}.tot-row td{border-top:2px solid var(--border);font-weight:700}.tb-row.l0 td{font-weight:700}.vb-doc{color:#000;background:#fff;border:1px solid #ccc;max-width:900px;margin:0 auto;padding:20px 24px;font-size:12px;line-height:1.4}.vb-doc table{border-collapse:collapse;width:100%;margin-top:10px}.vb-doc th,.vb-doc td{vertical-align:top;text-align:left;border:1px solid #999;padding:4px 6px;font-weight:400}.vb-doc th{background:#f3f3f3;font-weight:600}.vb-doc .r{text-align:right}.vb-doc .b td{font-weight:700}.vb-doc h4{margin:14px 0 0}.vb-head{text-align:center}.vb-head h2{color:#000;margin:0}.vb-head h3{letter-spacing:2px;color:#000;margin:8px 0 0}.vb-meta th{width:16%}.vb-split{align-items:flex-start;gap:16px;margin-top:10px;display:flex}.vb-split .vb-words{flex:1}.vb-split .vb-totals{width:46%;margin-top:0}.vb-totals{width:46%}.vb-sign{justify-content:space-between;gap:16px;margin-top:56px;display:flex}.vb-sign>div{text-align:center;border-top:1px solid #000;flex:1;padding-top:4px}.vb-foot{color:#555;margin-top:18px;font-size:11px}.vb-reg table{border-collapse:collapse;width:100%;font-size:11px}.vb-reg th,.vb-reg td{text-align:left;border:1px solid #999;padding:2px 5px}.vb-reg th{background:#eee}.vb-reg .num{text-align:right;white-space:nowrap}.vb-reg tfoot td{font-weight:700}.vb-reg thead{display:table-header-group}.vb-reg tr{break-inside:avoid}.inv{color:#000;background:#fff;font-size:12px;line-height:1.4}.inv table{border-collapse:collapse;width:100%;margin-top:8px}.inv th,.inv td{text-align:left;vertical-align:top;border:1px solid #999;padding:3px 6px;font-weight:400}.inv th{font-weight:600}.inv .r{text-align:right}.inv-head{text-align:center;border:1px solid #999;padding:8px}.inv-head h2{color:inherit;margin:0;font-size:18px}.inv-title{text-align:center;letter-spacing:2px;color:#000;margin:10px 0 0}.inv-tot{margin-left:auto;width:50%!important}.inv-tot .b td{font-weight:700}.inv-note,.inv-terms{margin-top:10px;font-size:11px}.inv-sign{justify-content:space-between;gap:16px;margin-top:48px;display:flex}.inv-sign>div{text-align:center;border-top:1px solid #000;flex:1;padding-top:4px}.inv-thermal{width:76mm;font-size:11px}.inv-thermal th,.inv-thermal td{border:0;border-bottom:1px dotted #666;padding:2px 3px}.inv-thermal .inv-head{border:0;padding:4px 0}.inv-thermal .inv-head h2{font-size:14px}.inv-thermal .inv-tot{width:100%!important}.inv-thermal .inv-title{letter-spacing:1px;font-size:12px}.inv-thanks{text-align:center;margin-top:8px}.inv-taxinvoice .inv-lines th,.inv-taxinvoice .inv-lines td{font-size:11px}@media print{.inv-thermal{margin:0 auto}}.barcode-sheet{gap:10px;margin-top:16px;display:grid}.barcode-label{border:1px dashed var(--border);text-align:center;break-inside:avoid;color:#000;background:#fff;border-radius:4px;padding:6px 8px;overflow:hidden}.barcode-name{text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:12px;font-weight:600;line-height:1.2;overflow:hidden}.barcode-text{letter-spacing:.08em;margin-top:2px;font-size:11px}.barcode-price{margin-top:2px;font-size:12px}@media print{.barcode-sheet{gap:6px;margin-top:0}.barcode-label{border-color:#bbb}.vb-doc{border:0;max-width:none;padding:0}.print-only{display:block!important}.ant-drawer,.ant-modal-root,.app-sider,.app-header,.app-footer,.no-print{display:none!important}.app-content{min-height:0!important;padding:0!important}body{background:#fff!important}}.audit-thread{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:10px 12px}.audit-msg+.audit-msg{border-top:1px dashed var(--border);margin-top:10px;padding-top:10px}.audit-msg-r{margin-inline-start:18px}.audit-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:2px;font-size:12px;display:flex}.audit-text{white-space:pre-wrap;word-break:break-word}.audit-objection{color:#dc2626;background:#dc262614;border-radius:6px;margin-top:10px;padding:6px 10px;font-size:13px}.audit-changed td{background:#d9770614}.audit-old{color:#c0392b;word-break:break-word}.audit-new{color:#1a7f4b;word-break:break-word}@media (width<=992px){.pos-grid{grid-template-columns:1fr!important}}@media (width<=768px){.app-content{padding:14px 12px 4px}.form-grid{grid-template-columns:1fr}.hide-sm{display:none}}.app-menu.ant-menu-inline .ant-menu-item,.app-menu.ant-menu-inline .ant-menu-submenu-title{height:38px;margin-block:1px;font-size:15px;line-height:38px}.app-menu.ant-menu-inline .ant-menu-sub .ant-menu-item{height:34px;font-size:14.5px;line-height:34px}.app-menu.ant-menu-inline .ant-menu-submenu .ant-menu-submenu .ant-menu-submenu-title{opacity:.9;height:34px;font-size:14.5px;font-weight:600;line-height:34px}.brand{height:48px;font-size:18px}.auto-fit-table .ant-table-cell{overflow-wrap:break-word;padding-inline:8px!important}.auto-fit-table .ant-table-cell.nw{white-space:nowrap}.auto-fit-table .ant-table-thead>tr>th{white-space:normal}.auto-fit-table .ant-table-thead input{min-width:0!important}.auto-fit-table td:last-child,.auto-fit-table th:last-child{white-space:nowrap;overflow-wrap:normal}.auto-fit-table .ant-table{font-size:13px}.auto-fit-table .ant-table-thead>tr>th{font-size:12px;padding-inline:6px!important}.auto-fit-table .ant-table-thead th input{width:100%!important;min-width:0!important}.auto-fit-table .ant-table-thead th>div,.auto-fit-table .ant-table-thead th .ant-table-column-sorters{min-width:0}.auto-fit-table .ant-table-tbody td.ant-table-cell:not(.nw){max-width:150px}.auto-fit-table .ant-table-container{overflow-x:auto}.auto-fit-table .ant-table-thead .ant-input-affix-wrapper{min-width:40px!important}.auto-fit-table .ant-table-tbody td.ant-table-cell:not(.nw):not(.ant-table-cell-fix-right){min-width:70px}
