@import "https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Prompt:wght@200;300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap";
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f6f8;--surface:#fff;--line:#d8dee8;--text:#172033;--muted:#667085;--accent:#1677ff;--accent-strong:#0f5fd5;--danger:#b42318;--success-soft:#e8f7ef;--shadow:0 10px 28px #17203314}.stock-count-session-page{flex-direction:column;gap:16px;min-height:100%;padding:22px 22px 110px;display:flex}.stock-count-session-header,.stock-count-scan-card,.stock-count-lines-card,.stock-count-summary-card{background:#fff;border:1px solid #d8e3f3;border-radius:8px;box-shadow:0 12px 30px #0f172a0a}.stock-count-session-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;display:grid}.stock-count-session-header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.stock-count-session-title h1{color:#0f172a;margin:0;font-size:24px;font-weight:650}.stock-count-session-title p,.stock-count-section-head p,.stock-count-result-main p,.stock-count-counter-meta span,.stock-count-line-meta,.stock-count-table-product span,.stock-count-table-qty span{color:#64748b;margin:0;font-size:13px}.stock-count-status-tag{border-radius:999px;margin-inline-end:0;padding:5px 10px;font-weight:600}.stock-count-notice{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 12px;font-weight:550}.stock-count-notice.success{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.stock-count-notice.warning{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.stock-count-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.stock-count-summary-card{padding:14px 16px}.stock-count-summary-card span{color:#64748b;font-size:13px;font-weight:550;display:block}.stock-count-summary-card strong{color:#0f172a;margin-top:4px;font-size:26px;line-height:1.1;display:block}.stock-count-summary-modal .ant-modal-body{padding-top:8px}.stock-count-summary-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stock-count-summary-modal-grid .stock-count-summary-card.wide{grid-column:1/-1}.stock-count-scan-card,.stock-count-lines-card{padding:16px}.stock-count-section-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.stock-count-section-head h2{color:#0f172a;margin:0 0 4px;font-size:20px;font-weight:650}.stock-count-scan-row{grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;display:grid}.stock-count-product-picker-modal .ant-modal-body{padding-top:8px}.stock-count-product-picker{gap:12px;display:grid}.stock-count-product-picker-search{width:100%}.stock-count-product-picker-list{gap:10px;max-height:min(58vh,540px);padding-right:4px;display:grid;overflow-y:auto}.stock-count-product-picker-item{cursor:pointer;background:#fff;border:1px solid #d8e3f3;border-radius:8px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;transition:border-color .12s,background .12s,box-shadow .12s;display:grid}.stock-count-product-picker-item:hover,.stock-count-product-picker-item:focus{background:#f8fbff;border-color:#91caff;outline:none;box-shadow:0 8px 20px #1677ff14}.stock-count-product-picker-thumb{color:#0f5fd5;background:#eff6ff;border-radius:8px;place-items:center;width:52px;height:52px;font-size:22px;font-weight:700;display:grid;overflow:hidden}.stock-count-product-picker-thumb img{object-fit:cover;width:100%;height:100%}.stock-count-product-picker-main{gap:4px;min-width:0;display:grid}.stock-count-product-picker-main strong,.stock-count-product-picker-main span,.stock-count-product-picker-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stock-count-product-picker-main strong{color:#0f172a;font-size:16px;font-weight:650}.stock-count-product-picker-main span{color:#64748b;font-size:12px}.stock-count-product-picker-main small{color:#0f5fd5;font-size:12px;font-weight:600}.stock-count-product-picker-units{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.stock-count-product-picker-units span{color:#1d4ed8;background:#eef4ff;border-radius:999px;max-width:140px;padding:3px 8px;font-size:11px;font-weight:600}.stock-count-result-card{background:#f8fbff;border:1px solid #cfe0f7;border-radius:8px;margin-top:14px;padding:14px}.stock-count-result-card.counted{background:#fffaf3;border-color:#fed7aa}.stock-count-result-main{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.stock-count-result-product{align-items:center;gap:8px;display:flex}.stock-count-result-product strong{color:#0f172a;font-size:18px;font-weight:650}.stock-count-unit-hint{color:#0369a1;background:#e0f2fe;border-radius:999px;margin-top:6px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-flex}.stock-count-result-expected{text-align:right;background:#fff;border:1px solid #d8e3f3;border-radius:8px;min-width:170px;padding:10px 12px}.stock-count-result-expected span,.stock-count-live-variance span{color:#64748b;font-size:12px;font-weight:600;display:block}.stock-count-result-expected strong,.stock-count-live-variance strong{color:#0f172a;margin-top:4px;font-size:20px;font-weight:700;display:block}.stock-count-duplicate-warning{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;font-weight:600;display:flex}.stock-count-entry-grid{grid-template-columns:minmax(280px,1.2fr) minmax(160px,220px) minmax(0,1fr);align-items:end;gap:12px;margin-top:14px;display:grid}.stock-count-quantity-input{width:100%}.stock-count-unit-breakdown{background:#f8fbff;border:1px solid #d8e3f3;border-radius:10px;gap:10px;padding:12px;display:grid}.stock-count-unit-breakdown-head{color:#64748b;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:650;display:flex}.stock-count-unit-breakdown-head strong{color:#0f172a;white-space:nowrap;font-size:18px}.stock-count-unit-breakdown-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.stock-count-unit-breakdown-row{grid-template-columns:minmax(74px,.8fr) minmax(110px,1fr);align-items:center;gap:8px;min-width:0;display:grid}.stock-count-unit-breakdown-row>div{min-width:0}.stock-count-unit-breakdown-row span{color:#0f172a;font-weight:700;display:block}.stock-count-unit-breakdown-row small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;display:block;overflow:hidden}.stock-count-unit-breakdown-row .ant-input-number-group-wrapper,.stock-count-unit-breakdown-row .ant-input-number{width:100%}.stock-count-live-variance{background:#fff;border:1px solid #d8e3f3;border-radius:8px;min-height:56px;padding:8px 12px}.stock-count-replace-toggle{color:#334155;align-items:center;gap:8px;margin-top:12px;font-weight:550;display:flex}.stock-count-replace-toggle input{width:18px;height:18px}.stock-count-save-row,.stock-count-session-actions{justify-content:flex-end;gap:10px;display:flex}.stock-count-save-row{margin-top:14px}.stock-count-table-product,.stock-count-table-qty,.stock-count-counter-meta{flex-direction:column;gap:2px;display:flex}.stock-count-table-product strong,.stock-count-table-qty strong,.stock-count-counter-meta strong{color:#0f172a;font-weight:650}.positive-number{color:#15803d!important}.negative-number{color:#dc2626!important}.stock-count-mobile-lines{display:none}.stock-count-line-card{background:#fff;border:1px solid #d8e3f3;border-radius:8px;padding:12px}.stock-count-line-card+.stock-count-line-card{margin-top:10px}.stock-count-line-head,.stock-count-line-meta{justify-content:space-between;gap:10px;display:flex}.stock-count-line-head div{flex-direction:column;gap:2px;display:flex}.stock-count-line-head strong{color:#0f172a}.stock-count-line-head span{color:#64748b;font-size:12px}.stock-count-line-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.stock-count-line-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.stock-count-line-grid span{color:#64748b;font-size:11px;display:block}.stock-count-line-grid strong{color:#0f172a;margin-top:2px;display:block}.stock-count-line-breakdown{color:#64748b;background:#f1f5f9;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:8px 10px;font-size:12px;display:flex}.stock-count-line-breakdown strong{color:#0f172a;text-align:right}@media (max-width:760px){.stock-count-session-page{gap:12px;padding:12px 12px 120px}.stock-count-session-header{grid-template-columns:auto minmax(0,1fr);padding:12px}.stock-count-session-header-actions{grid-column:1/-1;justify-content:space-between;width:100%}.stock-count-status-tag{grid-column:auto;justify-self:auto}.stock-count-session-title h1{font-size:19px}.stock-count-summary-grid,.stock-count-summary-modal-grid{grid-template-columns:1fr}.stock-count-summary-modal-grid .stock-count-summary-card.wide{grid-column:auto}.stock-count-summary-card{padding:12px}.stock-count-summary-card strong{font-size:22px}.stock-count-scan-card,.stock-count-lines-card{padding:12px}.stock-count-section-head{flex-direction:column;align-items:stretch;gap:10px}.stock-count-scan-row,.stock-count-result-main,.stock-count-entry-grid{grid-template-columns:1fr}.stock-count-unit-breakdown-head{flex-direction:column;align-items:flex-start}.stock-count-unit-breakdown-list,.stock-count-unit-breakdown-row{grid-template-columns:1fr}.stock-count-scan-row .ant-btn{width:100%}.stock-count-product-picker-modal{max-width:calc(100vw - 24px)}.stock-count-product-picker-list{max-height:62vh;padding-right:0}.stock-count-product-picker-item{grid-template-columns:48px minmax(0,1fr);align-items:start}.stock-count-product-picker-item .ant-btn{grid-column:1/-1;width:100%}.stock-count-product-picker-thumb{width:48px;height:48px}.stock-count-result-expected{text-align:left;min-width:0}.stock-count-save-row,.stock-count-session-actions{grid-template-columns:1fr;display:grid}.stock-count-desktop-lines{display:none}.stock-count-mobile-lines{display:block}.stock-count-line-grid{grid-template-columns:1fr}}.billing-workspace,.platform-portal-workspace{gap:12px;display:grid}.billing-hero,.platform-hero,.billing-card-heading,.billing-section-heading,.platform-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.billing-kicker{color:var(--accent-strong);align-items:center;gap:7px;margin-bottom:8px;font-size:13px;font-weight:700;display:inline-flex}.billing-grid,.platform-layout-grid,.platform-review-grid,.billing-history-grid,.billing-current-card,.billing-payment-card,.billing-plan-section,.billing-history-panel,.platform-tenants-panel,.platform-plans-panel,.platform-review-panel{gap:14px;display:grid}.billing-card-heading span,.billing-section-heading p,.platform-panel-heading p,.billing-period span,.billing-history-row span,.platform-tenant-main span,.platform-tenant-meta,.platform-plan-row span,.platform-plan-row small,.platform-review-card span,.platform-review-card small{color:var(--muted);font-size:13px}.billing-card-heading strong,.billing-section-heading h2,.platform-panel-heading h2{margin:0;font-size:18px;line-height:1.25}.billing-plan-price,.billing-plan-card-price{align-items:baseline;gap:6px;display:flex}.billing-plan-price strong,.billing-plan-card-price strong{color:var(--accent-strong);font-size:30px;line-height:1}.billing-period{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:4px;padding:10px;display:grid}.billing-usage-grid,.platform-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.billing-usage-card,.platform-metric-card{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:8px;padding:12px;display:grid}.billing-usage-card div:first-child{justify-content:space-between;gap:8px;display:flex}.billing-usage-card span,.platform-metric-card span{color:var(--muted);font-size:12px}.billing-usage-card strong,.platform-metric-card strong{font-size:18px}.billing-usage-track{background:#e9eff8;border-radius:999px;height:6px;overflow:hidden}.billing-usage-track span{border-radius:inherit;background:var(--accent);height:100%;display:block}.billing-payment-form,.billing-plan-grid{gap:10px;display:grid}.billing-payment-form label,.billing-upgrade-note{gap:6px;display:grid}.billing-payment-form label span,.billing-upgrade-note span{color:var(--muted);font-size:13px;font-weight:700}.billing-payment-form em{color:var(--danger);font-style:normal}.billing-payment-form input,.billing-payment-form select,.billing-payment-form textarea,.billing-upgrade-note textarea,.platform-search input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px}.billing-payment-form textarea,.billing-upgrade-note textarea{resize:vertical;min-height:82px;padding:10px 12px}.billing-submit-button{min-height:48px}.billing-cycle-toggle{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:6px;padding:4px;display:inline-flex}.billing-cycle-toggle button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:0 12px;font-weight:700}.billing-cycle-toggle button.active{color:#fff;background:var(--accent)}.billing-plan-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;padding:14px;display:grid;box-shadow:0 8px 22px #1720330d}.billing-plan-card.selected{border-color:#1677ff73;box-shadow:0 10px 24px #1677ff1f}.billing-ant-workspace .ant-card{border-radius:8px}.billing-hero-card .ant-card-body{padding:14px}.billing-mobile-shell{gap:10px;display:grid}.billing-mobile-overview-card .ant-card-body{padding:12px}.billing-mobile-kicker{align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.billing-mobile-current-plan{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.billing-mobile-current-plan h4{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.billing-mobile-period{border:1px solid var(--line);background:#f8fafc;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 10px;font-size:13px;display:grid}.billing-mobile-period span{color:var(--muted)}.billing-mobile-primary-actions{grid-template-columns:minmax(96px,.75fr) minmax(0,1.25fr);gap:8px;display:grid}.billing-mobile-primary-actions .ant-btn{width:100%;min-height:44px}.billing-mobile-section-tabs{scrollbar-width:none;gap:8px;padding:2px 1px 4px;display:flex;overflow-x:auto}.billing-mobile-section-tabs::-webkit-scrollbar{display:none}.billing-mobile-section-tabs button{border:1px solid var(--line);min-height:40px;color:var(--muted);font:inherit;white-space:nowrap;background:#fff;border-radius:999px;flex:none;padding:0 14px;font-size:13px;font-weight:700}.billing-mobile-section-tabs button.active{color:#fff;background:#1677ff;border-color:#1677ff8c;box-shadow:0 8px 18px #1677ff2e}.billing-mobile-section-panel{min-width:0}.billing-hero-copy{width:100%}.billing-page-title{font-size:22px!important;line-height:1.24!important}.billing-page-description{max-width:680px;line-height:1.55;display:block}.billing-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.billing-hero-actions .ant-btn{width:100%;min-height:42px}.billing-portal-tabs{margin-top:8px}.billing-portal-tabs .ant-tabs-nav{margin-bottom:10px}.billing-portal-tabs .ant-tabs-tab{padding:10px 0;font-size:13px;font-weight:600}.billing-portal-tabs .ant-tabs-nav-wrap{scrollbar-width:none;overflow-x:auto!important}.billing-portal-tabs .ant-tabs-nav-wrap::-webkit-scrollbar{display:none}.billing-portal-tabs .ant-tabs-nav-list{min-width:max-content}.billing-current-card .ant-card-body,.billing-usage-panel .ant-card-body,.billing-plan-selection-card .ant-card-body,.billing-history-card .ant-card-body{padding:12px}.billing-plan-selection-card .ant-card-head{flex-direction:column;align-items:flex-start;gap:4px;padding:12px}.billing-plan-selection-card .ant-card-extra{width:100%;color:var(--muted);margin-inline-start:0}.billing-usage-metric .ant-card-body{padding:10px}.billing-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.billing-usage-metric{min-width:0}.billing-usage-metric .ant-card-body{align-items:center;min-height:92px;display:flex}.billing-usage-metric .ant-space{width:100%}.billing-usage-metric .ant-typography{overflow-wrap:anywhere}.billing-plan-renew-lock{padding:8px 10px}.billing-ant-plan-card,.billing-wizard-plan{border-color:var(--line);border-radius:8px;height:100%;transition:border-color .18s,box-shadow .18s}.billing-ant-plan-card.selected,.billing-wizard-plan.selected{border-color:#1677ff8c;box-shadow:0 10px 24px #1677ff1f}.billing-wizard-plan{cursor:pointer}.billing-wizard-plan.disabled{cursor:not-allowed;opacity:.72;background:#f8fafc}.billing-ant-plan-card .ant-card-actions{border-radius:0 0 8px 8px}.billing-ant-plan-card .ant-card-actions .ant-btn{min-width:180px}.billing-plan-action{min-height:40px}.billing-history-card .ant-card-head{padding:0 12px}.billing-history-card .ant-list-item{align-items:flex-start;gap:10px;padding:12px 0}.billing-history-card .ant-list-item-action{margin-inline-start:0}.billing-history-card .ant-list-item-meta-title{margin-bottom:2px}.billing-wizard-modal .ant-modal-content{border-radius:10px}.billing-wizard-modal .ant-modal-footer{padding:10px 12px}.billing-wizard-modal .ant-modal-footer .ant-btn{min-height:42px}.billing-wizard-steps{margin-bottom:4px}.billing-slip-preview{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:8px;padding:10px;display:grid}.billing-slip-preview img{border:1px solid var(--line);object-fit:contain;background:#fff;border-radius:8px;width:min(100%,320px);max-height:260px}.billing-review-slip-image{border:1px solid var(--line);object-fit:contain;background:#fff;border-radius:8px;width:min(100%,240px);max-height:180px}.billing-receipt-modal .ant-modal-body{padding:0}.billing-receipt-modal-actions{justify-content:flex-end;width:100%}.billing-receipt-viewer{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.billing-receipt-viewer-toolbar{z-index:2;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex;position:sticky;top:0}.billing-receipt-viewer-toolbar .ant-btn{min-width:40px}.billing-receipt-preview-scroll{--goods-receipt-a4-scale:min(1, calc((100vw - 96px) / 794), calc((100dvh - 250px) / 1123));max-height:min(72vh,820px)}.billing-receipt-preview-scroll .goods-receipt-a4-scale-frame{width:calc(var(--goods-receipt-a4-width) * var(--goods-receipt-a4-scale));min-width:calc(var(--goods-receipt-a4-width) * var(--goods-receipt-a4-scale));min-height:calc(var(--goods-receipt-a4-height) * var(--goods-receipt-a4-scale));flex:none;position:relative}.billing-receipt-preview-scroll .goods-receipt-a4-document{width:var(--goods-receipt-a4-width);min-height:var(--goods-receipt-a4-height);transform:scale(var(--goods-receipt-a4-scale));transform-origin:0 0;margin:0;position:absolute;top:0;left:0}@media (max-width:767px){.billing-workspace{gap:10px}.billing-hero-row{gap:0}.billing-page-description{font-size:13px}.billing-portal-tabs .ant-tabs-nav:before{display:none}.billing-portal-tabs .ant-tabs-tab+.ant-tabs-tab{margin-inline-start:18px}.billing-current-card .ant-descriptions-view{overflow-x:auto}.billing-mobile-section-panel .ant-row{row-gap:10px!important;margin-left:0!important;margin-right:0!important}.billing-mobile-section-panel .ant-col{padding-left:0!important;padding-right:0!important}.billing-mobile-section-panel .ant-descriptions-view{overflow-x:auto}.billing-ant-plan-card .ant-card-body{padding:12px}.billing-ant-plan-card .ant-card-actions .ant-btn{width:calc(100% - 24px);min-width:0}.billing-history-card .ant-list-item{display:block}.billing-history-card .ant-list-item-action{grid-template-columns:1fr;width:100%;margin-top:10px;display:grid}.billing-history-card .ant-list-item-action>li{padding:0}.billing-history-card .ant-list-item-action .ant-btn{min-height:40px}.billing-payments-card .billing-history-item{padding-right:104px;position:relative}.billing-payments-card .ant-list-item-action{width:auto;margin-top:0;position:absolute;bottom:12px;right:0}.billing-payments-card .ant-list-item-action>li{width:auto}.billing-history-receipt-button{min-width:92px;padding-inline:10px;width:auto!important}.billing-wizard-modal .ant-steps-item-title{font-size:12px;line-height:1.25}.billing-wizard-modal .ant-modal-footer>.ant-space{grid-template-columns:1fr;align-items:stretch;gap:8px;display:grid}.billing-wizard-modal .ant-modal-footer>.ant-space>.ant-space-item,.billing-wizard-modal .ant-modal-footer>.ant-space>.ant-space-item>.ant-space{width:100%}.billing-wizard-modal .ant-modal-footer>.ant-space>.ant-space-item>.ant-space{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));display:grid}.billing-wizard-modal .ant-modal-footer .ant-btn{width:100%}.billing-receipt-modal .ant-modal-content{flex-direction:column;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);display:flex;overflow:hidden}.billing-receipt-modal .ant-modal-header{flex:none;padding:14px 14px 8px}.billing-receipt-modal .ant-modal-body{flex:auto;min-height:0}.billing-receipt-modal .ant-modal-footer{flex:none;padding:10px}.billing-receipt-modal-actions{justify-content:stretch}.billing-receipt-modal-actions .ant-btn{flex:140px;min-height:42px}.billing-receipt-preview-scroll{--goods-receipt-a4-scale:min(1, calc((100vw - 32px) / 794), calc((100dvh - 214px) / 1123));height:100%;max-height:none;overflow:auto}.billing-receipt-viewer{height:100%}.billing-receipt-viewer-toolbar{padding:8px 10px}.billing-receipt-viewer-toolbar .ant-space-compact{flex:none}}@media (min-width:768px){.billing-workspace,.platform-portal-workspace{gap:14px}.billing-hero-card .ant-card-body{padding:16px}.billing-page-title{font-size:28px!important}.billing-hero-actions{justify-content:flex-end;display:flex}.billing-hero-actions .ant-btn{width:auto}.billing-portal-tabs{margin-top:12px}.billing-portal-tabs .ant-tabs-nav{margin-bottom:12px}.billing-portal-tabs .ant-tabs-tab{padding:12px 0;font-size:14px}.billing-current-card .ant-card-body,.billing-usage-panel .ant-card-body,.billing-plan-selection-card .ant-card-body,.billing-history-card .ant-card-body{padding:16px}.billing-plan-selection-card .ant-card-head{flex-direction:row;align-items:center;padding:0 16px}.billing-plan-selection-card .ant-card-extra{width:auto;margin-inline-start:auto}.billing-usage-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.billing-receipt-a4-document .goods-receipt-a4-header{grid-template-columns:minmax(0,1fr) 220px}.billing-receipt-a4-table th:first-child{width:48px}.billing-receipt-a4-table th:nth-child(3){width:112px}.billing-receipt-a4-table th:nth-child(4){width:74px}.billing-receipt-a4-table th:nth-child(5){width:124px}.billing-receipt-a4-table th:nth-child(6),.billing-receipt-a4-table th:nth-child(7),.billing-receipt-a4-table th:nth-child(8){width:auto}@media print{body.billing-receipt-printing *{visibility:hidden!important}body.billing-receipt-printing [data-billing-receipt-print=true],body.billing-receipt-printing [data-billing-receipt-print=true] *{visibility:visible!important}body.billing-receipt-printing [data-billing-receipt-print=true]{width:190mm;min-height:277mm;box-shadow:none;transform-origin:0 0;margin:0;padding:10mm;position:fixed;inset:0;transform:none!important}body.billing-receipt-printing .ant-modal,body.billing-receipt-printing .ant-modal-content,body.billing-receipt-printing .ant-modal-body,body.billing-receipt-printing .billing-receipt-preview-scroll,body.billing-receipt-printing .goods-receipt-a4-scale-frame{width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;box-shadow:none!important;background:0 0!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}}.billing-plan-card-heading,.platform-tenant-card,.platform-plan-row,.platform-review-card,.billing-history-row{justify-content:space-between;gap:12px;display:flex}.billing-plan-card-heading div,.platform-tenant-main div,.platform-review-card div:first-child,.billing-history-row div{gap:3px;display:grid}.billing-plan-card ul{gap:7px;margin:0;padding:0;list-style:none;display:grid}.billing-plan-card li{color:var(--muted);align-items:flex-start;gap:7px;font-size:13px;display:flex}.billing-plan-card li svg{color:var(--accent-strong);flex:none;margin-top:2px}.billing-workspace .status-pill.active,.billing-workspace .status-pill.approved,.billing-workspace .status-pill.confirmed,.platform-portal-workspace .status-pill.active,.platform-portal-workspace .status-pill.approved,.platform-portal-workspace .status-pill.confirmed{color:#067647;background:var(--success-soft)}.billing-workspace .status-pill.pending,.billing-workspace .status-pill.trialing,.platform-portal-workspace .status-pill.pending,.platform-portal-workspace .status-pill.trialing{color:#b54708;background:#fff4e5}.billing-workspace .status-pill.rejected,.billing-workspace .status-pill.cancelled,.billing-workspace .status-pill.suspended,.platform-portal-workspace .status-pill.rejected,.platform-portal-workspace .status-pill.cancelled,.platform-portal-workspace .status-pill.suspended{color:var(--danger);background:#fff0ed}.billing-history-list,.platform-tenant-list,.platform-plan-list,.platform-review-list{gap:10px;display:grid}.billing-history-row,.platform-tenant-card,.platform-plan-row,.platform-review-card{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;padding:12px}.platform-search{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:8px;min-width:min(360px,100%);padding:0 10px;display:flex}.platform-search input{border:0;outline:0;min-height:42px;padding:0}.platform-tenant-main{align-items:center;gap:10px;min-width:0;display:flex}.platform-tenant-logo{width:42px;height:42px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;flex:none;place-items:center;display:grid}.platform-tenant-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.platform-tenant-pending,.platform-review-amount{text-align:right;gap:4px;display:grid}.platform-tenant-pending span{color:var(--muted);font-size:12px}.platform-tenant-plan-control{border-top:1px solid var(--line);flex:100%;grid-template-columns:minmax(180px,1fr) minmax(120px,.5fr) minmax(140px,.55fr) minmax(150px,auto);align-items:end;gap:8px;margin-top:4px;padding-top:10px;display:grid}.platform-tenant-plan-control label{gap:5px;display:grid}.platform-tenant-plan-control label span{color:var(--muted);font-size:12px;font-weight:700}.platform-tenant-plan-control select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--text);background:#fff;border-radius:8px;padding:0 10px}.platform-plan-save{min-height:40px}.platform-plan-editor,.platform-report-panel{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:12px;padding:12px;display:grid}.platform-plan-editor-heading,.platform-plan-editor-actions,.platform-report-summary,.platform-mini-row,.platform-due-row,.platform-reminder-rule{justify-content:space-between;align-items:center;gap:10px;display:flex}.platform-plan-editor-heading div,.platform-due-row div,.platform-reminder-rule div{gap:3px;min-width:0;display:grid}.platform-plan-editor-heading span,.platform-plan-form-grid label span,.platform-mini-row span,.platform-due-row span,.platform-reminder-rule span{color:var(--muted);font-size:12px}.platform-plan-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.platform-plan-form-grid label,.platform-plan-checks{gap:6px;display:grid}.platform-plan-form-grid input,.platform-plan-form-grid textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--text);background:#fff;border-radius:8px;padding:0 10px}.platform-plan-form-grid textarea{resize:vertical;min-height:78px;padding:10px}.platform-plan-wide{grid-column:1/-1}.platform-plan-checks{align-content:end}.platform-plan-checks label{align-items:center;gap:8px;min-height:32px;display:flex}.platform-plan-editor-actions{justify-content:flex-end}.platform-report-grid,.platform-management-workspace,.platform-quick-grid{gap:14px;display:grid}.platform-quick-card{color:inherit;text-decoration:none;display:block}.platform-quick-card .ant-card{height:100%}.platform-quick-card svg{color:var(--accent-strong);flex:none}.platform-quick-card span{color:var(--muted);font-size:13px}.platform-tenant-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.platform-tenant-form-grid label{gap:6px;display:grid}.platform-tenant-form-grid label span{color:var(--muted);font-size:12px;font-weight:700}.platform-tenant-form-grid input,.platform-tenant-form-grid select{border:1px solid var(--line);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 10px}.platform-report-summary{align-items:stretch}.platform-report-summary div{border:1px solid var(--line);background:#fff;border-radius:8px;flex:1 1 0;gap:4px;min-width:0;padding:10px;display:grid}.platform-report-summary span{color:var(--muted);font-size:12px}.platform-report-summary strong{font-size:18px}.platform-mini-list{gap:8px;display:grid}.platform-mini-row,.platform-due-row,.platform-reminder-rule{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px}.platform-due-row>div:last-child{text-align:right}.platform-overdue{font-weight:700;color:var(--danger)!important}.platform-gateway-guide-list{margin:0 0 8px;padding-left:20px}.platform-gateway-guide-list li{margin-bottom:8px}.billing-manual-bank-list.compact .billing-manual-bank-card{margin-bottom:0}.billing-manual-bank-card{background:#fafafa}.billing-manual-bank-card .ant-descriptions-item-label{width:120px}.muted-action{color:var(--muted);background:#f5f7fb}.platform-review-actions{justify-content:flex-end;gap:8px;display:flex}.secondary-action.danger{color:var(--danger);background:#fff7f5;border-color:#b4231838}@media (min-width:860px){.billing-grid,.platform-layout-grid,.platform-review-grid,.billing-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.billing-payment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-form-wide,.billing-submit-button{grid-column:1/-1}.platform-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.platform-layout-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.65fr)}.platform-report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.platform-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.billing-hero,.platform-hero,.billing-card-heading,.billing-section-heading,.platform-panel-heading,.platform-tenant-card,.platform-plan-row,.platform-review-card,.billing-history-row{flex-direction:column;align-items:stretch}.billing-plan-price strong,.billing-plan-card-price strong{font-size:24px}.platform-metric-grid{grid-template-columns:minmax(0,1fr)}.platform-tenant-meta,.platform-review-actions{justify-content:flex-start}.platform-tenant-pending,.platform-review-amount{text-align:left}.platform-tenant-plan-control,.platform-plan-form-grid,.platform-tenant-form-grid,.platform-report-grid{grid-template-columns:minmax(0,1fr)}.platform-report-summary,.platform-plan-editor-actions,.platform-due-row,.platform-reminder-rule{flex-direction:column;align-items:stretch}.platform-due-row>div:last-child{text-align:left}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:geometricprecision;-webkit-tap-highlight-color:transparent;margin:0;font-family:Prompt,Arial,sans-serif}button,input,textarea,select{font:inherit}:where(.ant-app),:where(.ant-btn),:where(.ant-input),:where(.ant-select),:where(.ant-table),:where(.ant-modal),:where(.ant-form),:where(.ant-menu),:where(.ant-typography),:where(.ant-picker),:where(.ant-picker-dropdown){font-family:Prompt,Arial,sans-serif}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;padding-bottom:88px}.app-header{z-index:20;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:10px;min-height:64px;padding:8px 12px;display:flex;position:sticky;top:0}.app-header-actions{align-items:center;gap:8px;display:flex}.app-content{padding:14px}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.page-title{margin:0 0 12px;font-size:22px;line-height:1.25}.work-surface{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:16px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.language-switch{border:1px solid var(--line);min-height:38px;color:var(--muted);background:#fbfcfe;border-radius:8px;align-items:center;gap:6px;padding:0 8px;display:inline-flex}.language-switch select{min-height:32px;color:var(--text);background:0 0;border:0;outline:0;font-weight:800}.language-switch.compact{min-height:44px;padding:0 6px}.language-switch.compact select{width:42px;font-size:12px}.mobile-menu-workspace{gap:14px;display:grid}.mobile-menu-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mobile-menu-list{gap:10px;display:grid}.mobile-menu-card{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;min-height:72px;padding:12px;display:grid;box-shadow:0 8px 20px #1720330d}.mobile-menu-card-icon{width:48px;height:48px;color:var(--accent-strong);background:#eef5ff;border-radius:10px;place-items:center;display:grid}.mobile-menu-card-copy{gap:3px;min-width:0;display:grid}.mobile-menu-card-copy strong{color:var(--text);font-size:16px;line-height:1.25}.mobile-menu-card-copy span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.mobile-menu-logout{color:#cf1322;cursor:pointer;width:100%;min-height:64px;font:inherit;text-align:left;background:#fff7f6;border:1px solid #cf132238;border-radius:10px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:12px;display:grid;box-shadow:0 8px 20px #cf13220f}.mobile-menu-logout-icon{color:#cf1322;background:#fff1f0;border-radius:10px;place-items:center;width:48px;height:48px;display:grid}.mobile-menu-logout-copy{gap:3px;min-width:0;display:grid}.mobile-menu-logout-copy strong{font-size:16px;font-weight:600;line-height:1.25}.mobile-menu-logout-copy small{color:#8c2b25;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.app-loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.brand-row{align-items:center;gap:10px;min-width:0;display:flex}.app-logo{width:var(--app-logo-size,40px);height:var(--app-logo-size,40px);flex:0 0 var(--app-logo-size,40px);place-items:center;line-height:0;display:inline-grid}.app-logo svg{width:100%;height:100%;display:block}.app-logo-bg{fill:var(--accent)}.app-logo-line{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.4px}.app-logo-accent-line{stroke-width:3px}.brand-icon,.brand-mark{place-items:center;display:grid}.brand-mark{color:#fff;background:var(--accent)}.brand-icon{background:0 0;border-radius:8px;flex:0 0 40px;width:40px;height:40px;box-shadow:0 8px 18px #1677ff2e}.brand-copy{min-width:0}.brand-name,.context-primary{text-overflow:ellipsis;white-space:nowrap;max-width:34vw;font-size:14px;font-weight:700;overflow:hidden}.brand-meta,.context-secondary{max-width:34vw;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;overflow:hidden}.context-pill{background:0 0;border:0;justify-content:center;align-items:center;gap:8px;width:min(360px,44vw);min-width:0;max-width:44vw;padding:0 4px;display:flex}.context-avatar{width:28px;height:28px;color:var(--primary);background:#1677ff14;border-radius:8px;flex:0 0 28px;place-items:center;display:inline-grid}.context-copy{flex-direction:column;flex:auto;align-items:flex-start;gap:2px;min-width:0;display:flex}.context-pill .context-primary{max-width:100%;font-size:13px;line-height:1.2}.context-pill .context-secondary{max-width:100%;font-size:11px;display:block}.context-store-select{width:100%;min-width:128px}.context-store-select.ant-select-small .ant-select-selector{background:0 0;border:0;min-height:24px;padding-inline:0 6px;box-shadow:none!important}.context-store-select.ant-select-disabled .ant-select-selector{color:var(--muted)!important;cursor:default!important;background:0 0!important}.context-store-select .ant-select-selection-item,.context-store-select .ant-select-selection-placeholder{color:var(--muted);font-size:12px;line-height:22px}.context-store-select .ant-select-arrow{color:var(--muted);font-size:10px}.context-select-option{flex-direction:column;gap:2px;min-width:0;padding-block:2px;display:flex}.context-select-option span{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.context-select-option small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.context-store-dropdown .ant-select-item-option-content{min-width:0}@media (max-width:640px){.context-pill{justify-content:flex-start;gap:4px;width:min(170px,42vw);max-width:42vw;padding:0}.context-avatar{display:none}.context-store-select{min-width:96px}.context-pill .context-primary{font-size:12px}.context-store-select .ant-select-selection-item,.context-store-select .ant-select-selection-placeholder{font-size:11px}}.icon-button{border:1px solid var(--line);min-width:44px;min-height:44px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:8px;place-items:center;display:inline-grid}.desktop-only,.side-nav{display:none}.bottom-nav{z-index:45;min-height:72px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#fffffffa;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 -8px 22px #17203314}.bottom-nav-link,.nav-link{color:var(--muted);align-items:center;text-decoration:none;display:flex}.bottom-nav-link{border-radius:14px;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:58px;padding:2px 4px;font-size:10px;font-weight:500;line-height:1.15}.bottom-nav-link span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.bottom-nav-link svg{width:21px;height:21px}.bottom-nav-link.active,.nav-link.active{color:var(--accent-strong);font-weight:600}.bottom-nav-link.active:not(.hero){background:#eef5ff}.bottom-nav-link.hero{z-index:2;min-height:70px;color:var(--accent-strong);font-size:11px;font-weight:600;position:relative;transform:translateY(-13px)}.bottom-nav-link.hero svg{box-sizing:content-box;color:#fff;background:var(--accent);border:4px solid #fff;border-radius:999px;width:28px;height:28px;padding:11px;box-shadow:0 10px 24px #1677ff57}.bottom-nav-link.hero.active svg{background:#0958d9}.login-screen{background:#f5f7fb;grid-template-rows:1fr auto;place-items:center;gap:18px;min-height:100vh;padding:20px;display:grid}.login-language-row{justify-content:flex-end;width:100%;display:flex}.login-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:min(100%,420px);padding:24px;box-shadow:0 18px 42px #0f172a14}.login-brand-block{align-items:center;gap:14px;margin:12px 0 8px;display:flex}.auth-app-logo{filter:drop-shadow(0 12px 24px #1677ff2e);border-radius:16px}.login-company{color:var(--accent-strong);letter-spacing:.08em;font-size:12px;font-weight:700}.login-title{color:var(--ink);letter-spacing:0;margin:0;font-size:30px;font-weight:700;line-height:1.15}.login-subtitle{color:var(--muted);margin:8px 0 24px;font-size:14px}.login-form{gap:10px;display:grid}.field-label{color:var(--text);font-size:13px;font-weight:700}.input-shell{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:10px;min-height:52px;padding:0 12px;display:flex}.input-shell:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.input-shell input,.input-shell select{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:16px}.input-shell select{cursor:pointer;min-height:50px}.login-secondary-link{color:var(--muted);text-align:center;margin:16px 0 0;font-size:14px}.login-secondary-link a{color:var(--accent-strong);font-weight:700}.login-footer{width:100%;color:var(--muted);flex-wrap:wrap;justify-content:center;gap:12px;padding-bottom:4px;font-size:12px;font-weight:400;display:flex}.login-footer span+span:before{color:var(--line-strong);content:"|";margin-right:12px}.register-screen{align-items:center;padding-top:20px;padding-bottom:20px}.register-panel{width:min(100%,640px)}.register-brand-block{margin-top:8px}.register-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:-10px 0 18px;display:grid}.register-benefits span{min-height:38px;color:var(--accent-strong);background:#f5f9ff;border:1px solid #1677ff2e;border-radius:8px;align-items:center;padding:8px 10px;font-size:12px;font-weight:600;line-height:1.35;display:inline-flex}.register-form{gap:8px}.register-plan-preview{background:#f5f9ff;border:1px solid #1677ff47;border-radius:8px;gap:8px;margin-top:4px;padding:12px;display:grid}.register-plan-preview strong{color:var(--text);font-size:16px}.register-plan-preview>span{color:var(--accent-strong);font-size:13px;font-weight:700}.register-plan-preview ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.register-plan-preview li{color:var(--muted);align-items:flex-start;gap:7px;font-size:13px;line-height:1.35;display:flex}.register-plan-preview li svg{color:var(--accent-strong);flex:none;margin-top:1px}@media (max-width:640px){.login-screen{padding:14px}.login-panel{padding:20px}.login-brand-block{align-items:center}.login-title{font-size:26px}.register-panel{width:100%}.register-benefits{grid-template-columns:minmax(0,1fr);margin-top:-8px}}.primary-action{color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:52px;margin-top:8px;font-size:16px;font-weight:700;display:inline-flex}.primary-action:disabled{opacity:.7;cursor:wait}.secondary-action{border:1px solid var(--line);min-height:44px;color:var(--accent-strong);cursor:pointer;background:#eef5ff;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:800;display:inline-flex}.secondary-action:disabled{opacity:.65;cursor:wait}.touch-input{border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);background:#fbfcfe;border-radius:8px;outline:0;padding:0 12px;font-size:16px}.touch-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.form-error{color:var(--danger);background:#fff4f2;border:1px solid #b4231833;border-radius:8px;padding:10px 12px;font-size:13px}.form-success{color:#067647;background:#ecfdf3;border:1px solid #06764733;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700}.section-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.section-subtitle{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.action-group,.row-action-group{align-items:center;gap:8px;display:flex}.primary-icon-action{color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 12px;font-weight:700;display:inline-flex}.product-workspace{gap:14px;display:grid}.product-app-workspace{background:0 0;border:0;min-width:0;max-width:100%;padding:0;overflow-x:hidden}.product-app-header{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:14px;display:flex}.search-control{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;align-items:center;gap:10px;min-height:52px;padding:0 12px;display:flex}.search-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.search-control input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:16px}.summary-strip{min-height:36px;color:var(--muted);align-items:center;font-size:13px;display:flex}.product-summary-grid,.dashboard-metric-grid,.recipe-cost-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.product-summary-card,.dashboard-metric-card,.recipe-cost-summary div{background:#f8fbff;border:1px solid #1677ff29;border-radius:8px;align-content:center;gap:4px;min-height:72px;padding:12px;display:grid}.product-summary-card span,.dashboard-metric-card span,.recipe-cost-summary span{color:var(--muted);font-size:12px;font-weight:700}.product-summary-card strong,.dashboard-metric-card strong,.recipe-cost-summary strong{color:var(--text);font-size:20px;font-weight:900}.product-dashboard-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.app-summary-card{grid-template-columns:36px minmax(0,1fr);align-content:center;align-items:center;min-width:0;overflow:hidden}.app-summary-card span,.app-summary-card strong{grid-column:2}.summary-icon{width:36px;height:36px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;grid-row:1/3;place-items:center;display:grid}.product-toolbar{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid;overflow:hidden}.product-search-control{min-height:50px}.product-filter-tabs{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.product-filter-tabs::-webkit-scrollbar{display:none}.product-filter-tabs button{border:1px solid var(--line);min-height:42px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;flex:none;padding:0 14px;font-weight:800}.product-filter-tabs button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff5c}.product-master-tabs{border:1px solid var(--line);scrollbar-width:none;background:#fff;border-radius:8px;gap:8px;padding:8px;display:flex;overflow-x:auto}.product-master-tabs::-webkit-scrollbar{display:none}.product-master-tabs button{border:1px solid var(--line);min-height:44px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:700;display:inline-flex}.product-master-tabs button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff5c}.product-master-panel{gap:12px;display:grid}.product-master-heading,.product-master-form,.product-master-row{border:1px solid var(--line);background:#fff;border-radius:8px}.product-master-heading{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:14px;display:grid}.product-master-heading-icon{width:44px;height:44px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;place-items:center;display:grid}.product-master-heading h2{color:var(--text);margin:0;font-size:18px}.product-master-heading p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.4}.product-master-form{gap:10px;padding:12px;display:grid}.product-master-add-button{margin-top:0}.product-master-list{gap:10px;display:grid}.product-master-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:74px;padding:12px;display:grid}.product-master-row:has(.product-master-active-toggle){grid-template-columns:minmax(110px,.7fr) minmax(180px,1fr) minmax(84px,.4fr) auto auto}.product-master-row.inactive{opacity:.76}.product-master-row-main{gap:3px;min-width:0;display:grid}.product-master-row-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.product-master-row-main small{color:var(--muted);font-size:12px}.product-master-code{color:var(--accent-strong);font-size:12px;font-weight:800}.product-master-row-meta,.product-master-actions{align-items:center;gap:8px;display:flex}.product-master-actions .primary-action,.product-master-actions .secondary-action{min-height:44px;margin-top:0}.product-master-row-meta{color:var(--muted);font-size:12px}.product-master-active-toggle{border:1px solid var(--line);min-height:46px;color:var(--text);background:#fbfcfe;border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-weight:700;display:inline-flex}.product-master-edit-modal .ant-modal-content{border-radius:10px}.product-master-edit-modal .ant-modal-title{color:var(--text);font-weight:700}.product-master-modal-form{gap:12px;display:grid}.product-master-modal-toggle{width:100%}.product-master-modal-note{color:var(--muted);margin:-2px 0 0;font-size:12px;line-height:1.45}.product-master-modal-actions{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:10px;padding-top:4px;display:grid}.product-master-active-toggle input{width:18px;height:18px}.product-master-active-toggle:has(input:disabled){color:var(--muted);background:#f8fafc}.product-master-combobox{position:relative}.product-master-combobox-input{border:1px solid var(--line);min-height:48px;color:var(--muted);background:#fff;border-radius:8px;grid-template-columns:22px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:0 8px 0 12px;transition:border-color .16s,box-shadow .16s;display:grid}.product-master-combobox-input:focus-within{border-color:#1677ff8c;box-shadow:0 0 0 3px #1677ff1f}.product-master-combobox-input input{width:100%;min-width:0;height:46px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-weight:600}.product-master-combobox-clear{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.product-master-combobox-clear:hover{color:var(--text);background:#f1f5f9}.product-master-combobox-menu{z-index:80;border:1px solid var(--line);background:#fff;border-radius:8px;gap:4px;max-height:260px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 42px #0f172a24}.product-master-combobox-menu button,.product-master-combobox-empty{text-align:left;border-radius:7px;min-height:44px}.product-master-combobox-menu button{color:var(--text);background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;display:grid}.product-master-combobox-menu button:hover,.product-master-combobox-menu button.selected{color:var(--accent-strong);background:#eef5ff}.product-master-combobox-menu button strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-master-combobox-menu button small{color:var(--muted);font-size:12px}.product-master-combobox-add{font-weight:700;color:var(--accent-strong)!important;background:#f6faff!important;border:1px solid #1677ff38!important}.product-master-combobox-empty{color:var(--muted);place-items:center;font-size:13px;display:grid}.customer-workspace{gap:14px;display:grid}.customer-card-list{gap:10px;display:grid}.customer-master-card{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:86px;padding:12px;display:grid;box-shadow:0 8px 20px #1720330d}.customer-master-icon{width:46px;height:46px;color:var(--accent-strong);background:#eef5ff;border-radius:10px;place-items:center;display:grid}.customer-master-main{gap:5px;min-width:0;display:grid}.customer-master-title-row,.customer-master-meta,.customer-master-contact{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.customer-master-title-row strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:800;overflow:hidden}.customer-master-meta,.customer-master-contact{color:var(--muted);font-size:12px;font-weight:600}.customer-master-contact span{align-items:center;gap:4px;display:inline-flex}.customer-status-badge{border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.customer-status-badge.complete{color:#067647;background:#dcfae6}.customer-status-badge.simple{color:#475467;background:#eef1f5}.customer-form-panel{grid-template-rows:auto auto minmax(0,1fr) auto;gap:0;width:min(100%,860px);max-height:min(760px,100dvh - 40px);padding:0;display:grid;overflow:hidden}.customer-form-backdrop{z-index:140;align-items:center}.customer-form-panel .sheet-header{border-bottom:1px solid var(--line);margin:0;padding:18px 20px 14px}.customer-form-panel .sheet-header h2{font-size:22px;font-weight:800}.customer-form-panel .sheet-header p{max-width:560px;font-size:13px}.customer-form-panel .sheet-header .icon-button{border-radius:10px;flex:none;width:48px;height:48px}.customer-form-mode{border:1px solid var(--line);background:#f8fafc;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 20px;padding:6px;display:grid}.customer-form-mode button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;font-weight:800}.customer-form-mode button.active{color:var(--accent-strong);background:#fff;border-color:#1677ff57;box-shadow:0 8px 18px #1720330f}.customer-form-scroll{gap:12px;min-height:0;padding:0 20px 16px;display:grid;overflow:auto}.customer-form-section{border:1px solid var(--line);background:#fff;border-radius:8px;gap:10px;padding:12px;display:grid}.customer-form-section-title{gap:2px;display:grid}.customer-form-section-title strong{color:var(--text);font-size:16px;font-weight:800}.customer-form-section-title span{color:var(--muted);font-size:12px;font-weight:500}.customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.inline-check{border:1px solid var(--border);min-height:48px;color:var(--text);background:#fff;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-weight:500;display:flex}.inline-check input{width:18px;height:18px;accent-color:var(--primary);flex:none}.customer-form-field{min-width:0;color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.customer-form-field>span{align-items:baseline;gap:4px;display:inline-flex}.required-marker{color:var(--danger);font-style:normal;font-weight:900}.customer-form-field.span-2{grid-column:1/-1}.customer-notes-input{resize:vertical;min-height:92px;padding-top:12px}.customer-form-panel .text-input,.customer-form-panel .touch-select{border-radius:9px;min-height:46px}.customer-credit-section{background:#f8fbff;border-color:#1677ff38}.customer-credit-status-card{border:1px solid var(--line);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.customer-credit-status-card>div{gap:3px;min-width:0;display:grid}.customer-credit-status-card strong{color:var(--text);font-size:15px;font-weight:800}.customer-credit-status-card span{color:var(--muted);font-size:12px;font-weight:500}.customer-credit-status-card.ready{background:#f6fef9;border-color:#12b76a47}.customer-credit-status-card.blocked{background:#fffbeb;border-color:#f59e0b4d}.customer-credit-status-pill{white-space:nowrap;background:#eaf2ff;border-radius:999px;flex:none;justify-content:center;align-items:center;min-height:32px;padding:0 10px;display:inline-flex;color:var(--accent-strong)!important;font-size:12px!important;font-weight:800!important}.customer-credit-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.customer-credit-summary-card{border:1px solid var(--line);background:#fff;border-radius:10px;gap:4px;padding:10px 12px;display:grid}.customer-credit-summary-card span{color:var(--muted);font-size:11px;font-weight:700}.customer-credit-summary-card strong{color:var(--text);font-size:18px;font-weight:800;line-height:1.1}.customer-credit-toggle{background:#f8fafc}.customer-credit-help{color:var(--muted);background:#f8fbff;border:1px dashed #1677ff52;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:600}.customer-form-actions{border-top:1px solid var(--line);background:#fff;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding:14px 20px;display:grid;box-shadow:0 -10px 24px #1720330d}.customer-form-actions .primary-action,.customer-form-actions .secondary-action{border-radius:9px;min-height:52px}@media (max-width:720px){.customer-master-card{grid-template-columns:42px minmax(0,1fr);align-items:start}.customer-master-card .row-action-group{grid-column:1/-1;justify-content:flex-end}.customer-master-icon{width:42px;height:42px}.customer-form-panel{border-radius:12px 12px 0 0;width:100%;max-height:calc(100dvh - 12px)}.customer-form-backdrop{align-items:flex-end;padding:0}.customer-form-panel .sheet-header{padding:14px 14px 10px}.customer-form-panel .sheet-header h2{font-size:20px}.customer-form-panel .sheet-header p{font-size:12px;line-height:1.35}.customer-form-panel .sheet-header .icon-button{width:44px;height:44px}.customer-form-mode{margin:10px 14px}.customer-form-scroll{gap:10px;padding:0 14px 12px}.customer-form-section{gap:8px;padding:10px}.customer-form-section-title strong{font-size:15px}.customer-form-section-title span{font-size:11px}.customer-form-grid{grid-template-columns:minmax(0,1fr);gap:9px}.customer-form-field.span-2{grid-column:auto}.customer-form-panel .text-input,.customer-form-panel .touch-select{min-height:44px}.customer-credit-status-card{flex-direction:column;align-items:flex-start;gap:8px}.customer-credit-summary-grid{grid-template-columns:minmax(0,1fr)}.customer-credit-summary-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.customer-credit-summary-card strong{font-size:16px}.customer-form-actions{padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}.customer-form-actions .primary-action,.customer-form-actions .secondary-action{min-height:52px}}.product-list{gap:10px;display:grid}.products-desktop-table{display:none}.products-antd-table{width:100%;min-width:0;font-family:Prompt,Arial,sans-serif}.products-antd-table .ant-table{border:1px solid var(--line);border-radius:8px}.products-antd-table .ant-table-thead>tr>th{color:var(--muted);background:#f8fafc;font-weight:700}.products-antd-table .ant-table-tbody>tr>td{color:var(--text);vertical-align:middle}.products-table-product{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.products-table-avatar{width:42px;height:42px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;place-items:center;display:grid;overflow:hidden}.products-table-avatar.has-image{background:#f4f7fb}.products-table-avatar img{object-fit:cover;width:100%;height:100%}.products-table-product strong,.products-table-number{color:var(--text);font-weight:700}.products-table-unit{gap:2px;min-width:0;display:grid}.products-table-unit strong{color:var(--text);font-weight:700}.products-table-unit span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.products-table-product span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;display:block;overflow:hidden}.products-table-badges,.products-table-actions{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.app-product-list{gap:12px}.app-product-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:12px;display:grid;box-shadow:0 8px 24px #1720330d}.app-product-card-main{grid-template-columns:48px minmax(0,1fr);align-items:start;gap:10px;display:grid}.app-product-avatar{width:48px;height:48px;color:var(--accent-strong);background:linear-gradient(145deg,#eef5ff,#fff);border-radius:8px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #1677ff1f}.app-product-avatar.has-image{background:#f4f7fb;overflow:hidden;box-shadow:inset 0 0 0 1px #67748e29}.app-product-avatar img{object-fit:cover;width:100%;height:100%}.app-product-copy{min-width:0}.app-product-title-row{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.app-product-title-row h2{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;line-height:1.35;overflow:hidden}.app-product-meta{color:var(--muted);flex-wrap:wrap;gap:6px;margin-top:6px;font-size:12px;display:flex}.app-product-meta span{background:#f4f6f8;border-radius:8px;align-items:center;min-height:24px;padding:0 8px;display:inline-flex}.app-product-money-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.app-product-money-grid div{background:#f8fbff;border:1px solid #1677ff24;border-radius:8px;align-content:center;gap:2px;min-height:58px;padding:8px 10px;display:grid}.app-product-money-grid span{color:var(--muted);font-size:11px;font-weight:800}.app-product-money-grid strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;overflow:hidden}.app-product-status-row{flex-wrap:wrap;gap:8px;display:flex}.stock-state{min-height:30px;color:var(--muted);background:#eef1f5;border-radius:8px;align-items:center;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.stock-state.active{color:#067647;background:var(--success-soft)}.stock-state.warning{color:#b54708;background:#fff3df}.app-product-actions{grid-template-columns:minmax(0,1fr) 48px;gap:8px;display:grid}.product-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;min-height:76px;padding:10px;display:grid}.numbering-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:86px;padding:10px;display:grid}.product-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;display:flex}.product-row-rich{align-items:start}.product-pill-stack{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.product-icon{width:44px;height:44px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;place-items:center;display:grid}.product-info{min-width:0}.product-name{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.product-meta,.product-barcode{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;line-height:1.4;display:flex}.product-sale-price{color:var(--accent-strong);margin-top:4px;font-size:14px;font-weight:800}.product-cost-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.product-cost-grid div{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;align-content:center;gap:2px;min-height:50px;padding:8px;display:grid}.product-cost-grid span{color:var(--muted);font-size:11px;font-weight:700}.product-cost-grid strong{color:var(--text);font-size:13px;font-weight:900}.document-preview{min-height:28px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;align-items:center;margin-top:4px;padding:0 8px;font-size:13px;font-weight:700;display:inline-flex}.status-pill{border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.status-pill.stock{color:#067647;background:var(--success-soft)}.status-pill.service{color:var(--muted);background:#eef1f5}.icon-button.danger{color:var(--danger)}.empty-state{min-height:140px;color:var(--muted);border:1px dashed var(--line);border-radius:8px;place-items:center;gap:8px;display:grid}.sheet-backdrop{z-index:60;background:#1720336b;justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.sheet-panel{border:1px solid var(--line);background:var(--surface);width:min(100%,520px);max-height:calc(100vh - 32px);box-shadow:var(--shadow);border-radius:8px;overflow:auto}.product-form{gap:10px;padding:16px;display:grid}.product-editor-backdrop{z-index:90;padding:10px;overflow:hidden}.product-editor-panel{grid-template-rows:auto auto minmax(0,1fr) auto;gap:0;width:min(100vw - 20px,1120px);height:min(100dvh - 20px,900px);min-height:0;max-height:none;padding:0;display:grid;overflow:hidden}.product-editor-header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.product-editor-title{align-items:center;gap:10px;min-width:0;display:flex}.product-editor-title h2{color:var(--text);margin:0;font-size:20px;line-height:1.25}.product-editor-title p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:13px;overflow:hidden}.product-editor-icon,.section-title-icon{width:42px;height:42px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;flex:0 0 42px;place-items:center;display:grid}.product-type-segment{border-bottom:1px solid var(--line);background:#fbfcfe;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 14px;display:grid}.product-type-segment button{border:1px solid var(--line);min-height:46px;color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-weight:800;display:inline-flex}.product-type-segment button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff61}.product-editor-body{overscroll-behavior:contain;background:#f7f9fb;align-content:start;gap:12px;min-height:0;padding:12px;display:grid;overflow-y:auto}.product-editor-grid{gap:12px;display:grid;overflow:visible}.product-editor-main{order:1}.product-editor-image{order:2}.product-editor-side{order:3}.product-editor-units{order:4}.product-editor-stock{order:5}.product-editor-section,.app-recipe-editor{border:1px solid var(--line);background:#fff;border-radius:8px;align-content:start;gap:12px;min-width:0;padding:12px;display:grid}.product-image-uploader{gap:10px;display:grid}.product-image-preview{aspect-ratio:16/10;background:linear-gradient(145deg,#f5f9ff,#fff);border:1px dashed #1677ff52;border-radius:10px;place-items:center;min-height:154px;display:grid;overflow:hidden}.product-image-preview img{object-fit:cover;width:100%;height:100%}.product-image-empty{color:var(--muted);justify-items:center;gap:8px;font-size:13px;font-weight:700;display:grid}.product-image-empty svg{color:var(--accent-strong)}.product-image-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.product-image-upload-button{cursor:pointer;min-height:44px}.product-image-file{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.product-section-title{align-items:flex-start;gap:10px;min-width:0;display:flex}.product-section-title>div{min-width:0}.product-section-title h3{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:900}.product-section-title p{color:var(--muted);margin:3px 0 0;font-size:12px;line-height:1.4}.product-price-grid,.product-editor-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;display:grid}.product-units-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.product-units-title-stack{gap:6px;min-width:0;display:grid}.product-unit-add-button{white-space:nowrap;align-self:start;min-height:42px}.product-unit-snapshot-note{color:#64748b;margin:0;font-size:.82rem;line-height:1.45}.product-unit-option-list{gap:10px;display:grid}.product-unit-option-card{background:#fff;border:1px solid #94a3b857;border-radius:10px;gap:12px;padding:12px;display:grid;box-shadow:0 8px 20px #0f172a0a}.product-unit-option-card.base{background:#f6faff;border-color:#1677ff47}.product-unit-option-grid{grid-template-columns:minmax(150px,.9fr) minmax(170px,1.1fr) minmax(130px,.75fr) minmax(130px,.75fr);gap:10px;display:grid}.product-unit-option-flags{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.compact-checkbox{border:1px solid var(--line);min-height:36px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:7px;padding:6px 9px;font-size:12px;font-weight:800;display:inline-flex}.compact-checkbox input{width:16px;height:16px;accent-color:var(--accent-strong);margin:0}.product-code-input-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;display:grid}.product-code-input-row .text-input{width:100%;min-width:0}.product-code-scan-button,.product-code-generate-button{min-height:52px;color:var(--accent-strong);background:#eef5ff;border-color:#1677ff3d}.product-code-field,.product-name-field,.product-barcode-field,.product-vat-field,.product-serial-field{grid-column:1/-1}.product-vat-toggle span{gap:2px;display:grid}.product-vat-toggle small{color:var(--muted);font-size:12px;font-weight:500;line-height:1.35}.product-serial-stack{gap:10px;display:grid}.product-serial-grid{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,.9fr));gap:10px;display:grid}.product-serial-note{color:#64748b;margin:0;font-size:12px;line-height:1.5}.product-code-actions{justify-content:flex-start;align-items:center;gap:8px;display:flex}.product-code-generate-button{white-space:nowrap;padding:0 12px}.product-code-scan-button{width:52px;min-width:52px}.product-barcode-input-stack{gap:6px;min-width:0;display:grid}.product-barcode-input-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;display:grid}.product-barcode-fill-button{white-space:nowrap;justify-self:flex-start;min-height:52px;padding:0 12px}.product-scan-tip{color:#64748b;margin:0;font-size:12px;line-height:1.45}.barcode-scanner-backdrop.product-barcode-scanner-backdrop{z-index:130}.mini-kpi{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;align-content:center;gap:2px;min-height:58px;padding:9px 10px;display:grid}.mini-kpi span{color:var(--muted);font-size:11px;font-weight:800}.mini-kpi strong{color:var(--text);font-size:16px;font-weight:900}.mini-kpi.good strong{color:#067647}.mini-kpi.bad strong{color:var(--danger)}.app-toggle-row{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;min-height:52px;padding:10px 12px}.product-stock-note{color:var(--muted);font-size:12px;line-height:1.45}.app-recipe-editor{background:#fff;margin:0}.app-recipe-line-list{gap:8px}.app-recipe-line-card{background:#fff}.product-editor-footer{border-top:1px solid var(--line);background:#fff;grid-template-columns:minmax(0,.45fr) minmax(0,1fr);gap:10px;padding:12px 14px;display:grid;box-shadow:0 -10px 24px #0f172a0d}.product-save-action{margin-top:0}.product-form-wide{width:min(100%,900px)}.product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.notification-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.field-stack{color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.product-stock-toggle{align-self:end}.recipe-editor{gap:12px;display:grid}.recipe-editor-header,.dashboard-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.recipe-editor-header h3,.dashboard-panel-heading h2{color:var(--text);margin:0;font-size:17px;font-weight:900}.recipe-editor-header p,.dashboard-panel-heading span{color:var(--muted);margin:3px 0 0;font-size:12px;font-weight:700}.recipe-line-list{gap:10px;display:grid}.recipe-line-card{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px;display:grid}.recipe-line-cost{background:#fff;border:1px solid #1677ff24;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:4px 10px;min-height:52px;padding:8px 10px;display:grid}.recipe-line-cost span{color:var(--muted);font-size:11px;font-weight:700}.recipe-line-cost strong{color:var(--text);font-size:13px;font-weight:900}.compact-empty{min-height:86px}.sheet-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:4px;display:flex}.sheet-header h2{margin:0;font-size:20px;line-height:1.25}.sheet-header p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.4}.text-input{border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);background:#fbfcfe;border-radius:8px;outline:0;padding:0 12px;font-size:16px}.text-area{border:1px solid var(--line);resize:vertical;width:100%;min-height:96px;color:var(--text);background:#fbfcfe;border-radius:8px;outline:0;padding:12px;font-size:16px}.text-area:focus,.text-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.toggle-row{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;align-items:center;gap:10px;min-height:52px;padding:0 12px;display:flex}.toggle-row input{width:22px;height:22px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.filter-field{color:var(--muted);gap:6px;font-size:12px;font-weight:600;display:grid}.filter-field input{border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);background:#fbfcfe;border-radius:8px;outline:0;padding:0 12px;font-size:16px}.filter-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.filter-field input:disabled,.text-input:disabled{color:var(--muted);background:#eef1f5}.ant-picker.touch-input,.ant-picker.date-range-input{border-color:var(--line);background:#fbfcfe;border-radius:8px;width:100%;min-height:52px;padding:0 12px}.ant-picker.touch-input:hover,.ant-picker.date-range-input:hover,.ant-picker-focused.touch-input,.ant-picker-focused.date-range-input{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.ant-picker.touch-input .ant-picker-input>input,.ant-picker.date-range-input .ant-picker-input>input{color:var(--text);font-family:inherit;font-size:16px;font-weight:500}.date-range-input{min-width:0}.dashboard-workspace,.notifications-workspace{gap:14px;display:grid}.dashboard-heading{margin-bottom:0}.dashboard-warning-list{gap:8px;display:grid}.dashboard-warning{min-height:40px;color:var(--danger);background:#fff4f2;border:1px solid #b4231833;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:700;display:flex}.dashboard-metric-card{position:relative;overflow:hidden}.dashboard-metric-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;line-height:1.35;overflow:hidden}.dashboard-metric-icon{width:36px;height:36px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;place-items:center;display:grid}.spin-icon{animation:.8s linear infinite dashboard-spin}@keyframes dashboard-spin{to{transform:rotate(360deg)}}.dashboard-grid{gap:12px;display:grid}.dashboard-footer{color:var(--muted);justify-content:center;gap:14px;padding:18px 12px 4px;font-size:12px;font-weight:400;display:flex}.dashboard-footer span+span:before{color:var(--line-strong);content:"|";margin-right:14px}.dashboard-panel,.notification-broadcast-panel{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;padding:12px;display:grid}.dashboard-list,.notification-list{gap:8px;display:grid}.dashboard-list-row,.notification-card{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:64px;padding:10px;display:flex}.dashboard-list-row div,.notification-card div{gap:3px;min-width:0;display:grid}.dashboard-list-row strong,.notification-card strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;overflow:hidden}.dashboard-list-row span,.notification-card span,.notification-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dashboard-notification-row{justify-content:flex-start;position:relative}.dashboard-notification-row img{border:1px solid var(--line);object-fit:cover;background:#f2f4f7;border-radius:7px;flex:0 0 54px;width:54px;height:42px}.dashboard-notification-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.dashboard-notification-row.unread{background:#f3f8ff;border-color:#1677ff42}.dashboard-notification-row i{background:var(--accent);border-radius:999px;flex:0 0 9px;width:9px;height:9px;margin-left:auto}.notification-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.notification-toolbar button{border:1px solid var(--line);min-height:44px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;font-weight:800}.notification-toolbar button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff57}.notification-card{border-color:var(--line);width:100%;color:inherit;text-align:left;cursor:pointer}.notification-card.unread{background:#f3f8ff;border-color:#1677ff52}.notification-card.read{opacity:.78}.notification-card-icon{width:40px;height:40px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;flex:0 0 40px;place-items:center;display:grid}.notification-card i{background:var(--accent);border-radius:999px;flex:0 0 10px;width:10px;height:10px}.notification-body-field{grid-column:1/-1}.notification-image-field{grid-column:1/-1;gap:8px;display:grid}.notification-image-field small{color:var(--muted);font-size:12px;font-weight:600}.notification-image-upload-button{cursor:pointer;justify-content:center;min-height:42px}.notification-image-upload-button input{display:none}.notification-image-preview{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;padding:8px;display:grid}.notification-image-preview img{object-fit:cover;background:#f2f4f7;border-radius:6px;width:72px;height:56px}.notification-image-preview div{gap:4px;min-width:0;display:grid}.notification-image-preview strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.notification-image-remove-button{min-height:30px;color:var(--danger);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:12px;font-weight:800}.notification-heading{align-items:flex-start}.notification-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.notification-metric-card{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:10px;min-width:0;min-height:72px;padding:12px;display:flex}.notification-metric-card>span{width:36px;height:36px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;flex:0 0 36px;place-items:center;display:grid}.notification-metric-card div{gap:2px;min-width:0;display:grid}.notification-metric-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.notification-metric-card strong{color:var(--text);font-size:24px;font-weight:800;line-height:1}.notification-metric-warning>span{color:#b54708;background:#fff7ed}.notification-metric-success>span{color:#047857;background:#ecfdf3}.notification-metric-neutral>span{color:#475467;background:#f2f4f7}.notification-control-panel{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.notification-filter-tabs{scrollbar-width:none;gap:8px;min-width:0;display:flex;overflow-x:auto}.notification-filter-tabs::-webkit-scrollbar{display:none}.notification-filter-tabs button{border:1px solid var(--line);min-height:38px;color:var(--muted);white-space:nowrap;cursor:pointer;background:#fbfcfe;border-radius:999px;padding:0 14px;font-size:13px;font-weight:700}.notification-filter-tabs button.active{color:#fff;background:var(--accent);border-color:#1677ff4d}.notification-unread-toggle{color:var(--muted);white-space:nowrap;flex:none;align-items:center;gap:8px;font-size:12px;font-weight:700;display:inline-flex}.notification-unread-toggle input{width:16px;height:16px;accent-color:var(--accent)}.notification-main-grid{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:12px;display:grid}.notification-feed-panel,.notification-side-panel{min-width:0}.notification-side-panel{gap:12px;display:grid}.notification-feed-panel .dashboard-panel-heading{align-items:flex-start}.notification-feed-panel .dashboard-panel-heading div{gap:2px;display:grid}.notification-feed-panel .dashboard-panel-heading span,.notification-broadcast-panel .dashboard-panel-heading span{color:var(--muted);font-size:12px;font-weight:600}.notification-card{align-items:flex-start;padding:12px}.notification-card-content{flex:auto;gap:6px;min-width:0;display:grid}.notification-card .notification-card-title-row{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.notification-card .notification-card-title-row strong{min-width:0;font-size:15px;font-weight:800}.notification-card .notification-card-content>span{color:var(--text);white-space:normal;font-size:13px;font-weight:500;line-height:1.45}.notification-card .notification-card-meta{flex-wrap:wrap;gap:6px 10px;display:flex}.notification-card .notification-card-meta small{color:var(--muted);white-space:normal;font-size:11px;font-weight:600}.notification-card-image{border:1px solid var(--line);object-fit:cover;background:#f2f4f7;border-radius:8px;width:min(280px,100%);max-height:160px}.notification-detail-backdrop{z-index:30000;background:#0f172a75;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.notification-detail-modal{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;width:min(720px,100vw - 32px);max-height:calc(100dvh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a47}.notification-detail-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 16px 12px;display:flex}.notification-detail-title{align-items:flex-start;gap:12px;min-width:0;display:flex}.notification-detail-title div{gap:3px;min-width:0;display:grid}.notification-detail-title small,.notification-detail-title p{color:var(--muted);margin:0;font-size:12px;font-weight:600}.notification-detail-title h2{color:var(--text);margin:0;font-size:20px;font-weight:800;line-height:1.25}.notification-detail-icon{width:42px;height:42px;color:var(--accent-strong);background:#eef5ff;border-radius:10px;flex:0 0 42px;place-items:center;display:grid}.notification-detail-success{color:#047857;background:#ecfdf3}.notification-detail-warning{color:#b54708;background:#fff7ed}.notification-detail-danger{color:var(--danger);background:#fff1f0}.notification-detail-body{gap:12px;min-height:0;padding:14px 16px 16px;display:grid;overflow:auto}.notification-detail-section{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;gap:8px;padding:12px;display:grid}.notification-detail-section h3{color:var(--text);margin:0;font-size:14px;font-weight:800}.notification-detail-section p{color:var(--text);margin:0;font-size:14px;font-weight:500;line-height:1.55}.notification-detail-image{border:1px solid var(--line);object-fit:contain;background:#f2f4f7;border-radius:10px;width:100%;max-height:360px}.notification-detail-grid,.notification-reference-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.notification-detail-field{border:1px solid var(--line);background:#fff;border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.notification-detail-field span{color:var(--muted);font-size:11px;font-weight:700}.notification-detail-field strong{overflow-wrap:anywhere;color:var(--text);font-size:13px;font-weight:800;line-height:1.35}.notification-detail-footer{border-top:1px solid var(--line);background:#fff;justify-content:flex-end;gap:10px;padding:12px 16px;display:flex}.notification-tone-pill{border-radius:999px;flex:none;padding:4px 8px;font-size:11px;font-weight:800}.notification-tone-success{color:#047857;background:#ecfdf3}.notification-tone-warning{color:#b54708;background:#fff7ed}.notification-tone-danger{color:var(--danger);background:#fff1f0}.notification-tone-info{color:var(--accent-strong);background:#eef5ff}.notification-card-success.unread{background:#f6fef9;border-color:#04785747}.notification-card-warning.unread{background:#fffbf5;border-color:#b5470847}.notification-card-danger.unread{background:#fff7f7;border-color:#b4231847}.notification-guidance-card ul{color:var(--muted);gap:8px;margin:0;padding-left:18px;font-size:12px;font-weight:600;line-height:1.45;display:grid}.notification-guidance-card p{color:var(--muted);margin:0;font-size:13px;font-weight:600;line-height:1.45}.notification-context-card{gap:4px}.notification-context-card span,.notification-context-card small{color:var(--muted);font-size:12px;font-weight:600}.notification-context-card strong{color:var(--text);font-size:16px;font-weight:800}.notification-empty{min-height:180px}.notification-empty strong{color:var(--text)}@media (max-width:1024px){.notification-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-main-grid{grid-template-columns:1fr}.notification-side-panel{order:-1}}@media (max-width:640px){.notification-heading{gap:10px}.notification-heading .action-group{width:100%}.notification-heading .action-group .secondary-action{flex:auto}.notification-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.notification-metric-card{min-height:64px;padding:10px}.notification-metric-card strong{font-size:20px}.notification-control-panel{gap:10px;display:grid}.notification-filter-tabs{margin:0 -2px}.notification-unread-toggle{justify-content:flex-start}.notification-card{gap:10px;padding:10px}.notification-card-icon{flex-basis:36px;width:36px;height:36px}.notification-card-title-row{align-items:flex-start}.notification-card .notification-card-title-row strong{white-space:normal;font-size:14px}.notification-card .notification-card-content>span{font-size:12px}.notification-broadcast-panel{padding:10px}.notification-detail-backdrop{align-items:end;padding:10px}.notification-detail-modal{border-radius:14px;width:100%;max-height:calc(100dvh - 20px)}.notification-detail-header{padding:12px}.notification-detail-title h2{font-size:18px}.notification-detail-body{gap:10px;padding:12px}.notification-detail-grid,.notification-reference-list{grid-template-columns:1fr}.notification-detail-footer{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.notification-detail-footer .secondary-action{justify-content:center;width:100%}}.preview-panel{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:0 12px;display:flex}.preview-panel span{color:var(--muted);font-size:13px}.preview-panel strong{text-overflow:ellipsis;white-space:nowrap;color:var(--accent-strong);font-size:16px;overflow:hidden}.settings-workspace,.settings-business-workspace,.settings-business-form{gap:14px;display:grid}.settings-shell-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-shell-heading .page-title{margin-bottom:6px}.settings-tabbar{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:8px;display:grid}.settings-tabbar button{border:1px solid var(--line);min-height:48px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-weight:800;display:inline-flex}.settings-tabbar button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff66}.settings-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:14px;padding:14px;display:grid}.settings-card-heading{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;display:grid}.settings-card-heading>svg{width:38px;height:38px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;padding:9px}.settings-card-heading h2{color:var(--text);margin:0;font-size:18px;line-height:1.25}.settings-card-heading p{color:var(--muted);margin:3px 0 0;font-size:13px;line-height:1.35}.store-reset-workspace,.store-reset-form{gap:14px;display:grid}.store-reset-warning,.store-reset-inline-warning{color:#991b1b;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;gap:10px;display:grid}.store-reset-warning{grid-template-columns:auto minmax(0,1fr);padding:12px 14px}.store-reset-warning strong{margin-bottom:3px;font-weight:750;display:block}.store-reset-warning p{color:#7f1d1d;margin:0;font-size:13px;line-height:1.45}.store-reset-inline-warning{padding:10px 12px;font-size:13px;font-weight:650}.store-reset-preview-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.store-reset-stat{background:#fff;border:1px solid #d8e3f3;border-radius:8px;gap:4px;min-width:0;padding:12px;display:grid}.store-reset-stat span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.store-reset-stat strong{color:var(--text);font-size:22px;line-height:1.1}.store-reset-option-list,.store-reset-radio-list{gap:10px;display:grid}.store-reset-check,.store-reset-radio{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.store-reset-radio{grid-template-columns:auto minmax(0,1fr)}.store-reset-check input,.store-reset-radio input{width:20px;height:20px}.store-reset-check span,.store-reset-radio span{gap:2px;min-width:0;display:grid}.store-reset-check strong,.store-reset-radio strong{color:var(--text);font-weight:750}.store-reset-check small,.store-reset-radio small{color:var(--muted);font-size:12px;line-height:1.4}.store-reset-check em{color:#0f5fd5;text-align:center;background:#eef5ff;border-radius:999px;min-width:54px;padding:5px 8px;font-style:normal;font-weight:750}.store-reset-confirm-card{grid-template-columns:minmax(220px,1fr) minmax(220px,320px) auto;align-items:end}.store-reset-confirm-card h2{color:var(--text);margin:0 0 4px;font-size:18px}.store-reset-confirm-card p{color:var(--muted);margin:0 0 8px;font-size:13px}.store-reset-confirm-card code{color:#991b1b;background:#fee2e2;border-radius:6px;padding:5px 8px;font-weight:750;display:inline-flex}.store-reset-submit{white-space:nowrap;min-height:48px}@media (max-width:760px){.store-reset-warning,.store-reset-check,.store-reset-radio,.store-reset-confirm-card{grid-template-columns:1fr}.store-reset-check{gap:8px}.store-reset-check em{width:max-content}.store-reset-confirm-card .text-input,.store-reset-submit{width:100%}}.settings-logo-editor{gap:12px;display:grid}.settings-logo-preview{min-height:148px;color:var(--accent-strong);background:#f8fbff;border:1px dashed #1677ff61;border-radius:8px;place-items:center;display:grid;overflow:hidden}.settings-logo-preview img{object-fit:contain;max-width:100%;max-height:146px}.settings-logo-actions{grid-template-columns:minmax(0,1fr) minmax(96px,auto);gap:8px;display:grid}.settings-upload-button{position:relative;overflow:hidden}.settings-upload-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.settings-form-grid{gap:10px;display:grid}.settings-form-grid.two{grid-template-columns:minmax(0,1fr)}.settings-field{gap:6px;min-width:0;display:grid}.settings-field>span{color:var(--muted);font-size:12px;font-weight:800}.settings-field-help{color:var(--muted);font-size:11px;font-weight:500;line-height:1.45}.settings-textarea{resize:vertical;min-height:88px;padding:12px;line-height:1.45}.settings-save-bar{bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:20;border:1px solid var(--line);background:#fffffff5;border-radius:8px;gap:10px;padding:10px;display:grid;position:sticky;box-shadow:0 14px 32px #1720331f}.settings-save-bar>span{color:var(--muted);font-size:12px;font-weight:800}.settings-save-bar .primary-action{width:100%;margin-top:0}.settings-tenant-admin{gap:14px;min-width:0;display:grid}.tenant-admin-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tenant-admin-header h2{color:var(--text);margin:0;font-size:20px;line-height:1.25}.tenant-admin-header p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.45}.tenant-admin-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tenant-admin-summary .ant-card-body{gap:6px;display:grid}.tenant-admin-summary span{color:var(--muted);font-size:12px;font-weight:600}.tenant-admin-summary strong{color:var(--text);font-size:24px;line-height:1}.tenant-admin-sections{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px;display:grid}.tenant-admin-sections button{border:1px solid var(--line);min-height:44px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 10px;font-weight:600;display:inline-flex}.tenant-admin-sections button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff6b}.tenant-admin-tag-list{flex-wrap:wrap;gap:4px;display:flex}.tenant-admin-desktop-table{min-width:0}.tenant-admin-mobile-list{display:none}.tenant-admin-mobile-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 8px 22px #0f172a0a}.tenant-admin-mobile-card-head{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.tenant-admin-mobile-card-head>div{gap:2px;min-width:0;display:grid}.tenant-admin-mobile-card-head strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;overflow:hidden}.tenant-admin-mobile-card-head span,.tenant-admin-mobile-card-meta{color:var(--muted);font-size:12px}.tenant-admin-mobile-card-meta,.tenant-admin-mobile-tag-list{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.tenant-admin-mobile-loading{min-height:96px;color:var(--muted);place-items:center;font-weight:600}.tenant-admin-form{padding-top:4px}.tenant-admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;display:grid}.tenant-admin-form-full{grid-column:1/-1}.tenant-admin-switch-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tenant-admin-permissions{gap:10px;width:100%;display:grid}.tenant-admin-permission-group{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:8px;padding:10px;display:grid}.tenant-admin-permission-group>strong{color:var(--text);font-size:14px}.tenant-admin-permission-group>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tenant-admin-permission-group .ant-checkbox-wrapper{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:flex-start;min-width:0;padding:8px}.tenant-admin-permission-group .ant-checkbox-wrapper span:last-child{gap:2px;min-width:0;display:grid}.tenant-admin-permission-group small{color:var(--muted);font-size:11px;line-height:1.3}.required-mark{color:#cf1322;font-weight:700}@media (max-width:720px){.tenant-admin-header{display:grid}.tenant-admin-header .ant-btn{width:100%}.tenant-admin-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tenant-admin-summary .ant-card-body{min-height:68px;padding:10px}.tenant-admin-summary span{font-size:11px;line-height:1.25}.tenant-admin-summary strong{font-size:20px}.settings-tenant-admin .ant-card{min-width:0}.settings-tenant-admin .ant-card-head{padding:0 12px}.settings-tenant-admin .ant-card-head-wrapper{flex-direction:column;align-items:stretch;gap:10px;padding:12px 0}.settings-tenant-admin .ant-card-head-title{min-height:auto;padding:0}.settings-tenant-admin .ant-card-extra{width:100%;margin-inline-start:0;padding:0}.settings-tenant-admin .ant-card-extra .ant-btn{width:100%;min-height:44px}.tenant-admin-desktop-table{display:none}.tenant-admin-mobile-list{gap:10px;display:grid}.tenant-admin-sections{-webkit-overflow-scrolling:touch;display:flex;overflow-x:auto}.tenant-admin-sections button{min-width:156px}.tenant-admin-form-grid,.tenant-admin-switch-row,.tenant-admin-permission-group>div{grid-template-columns:1fr}.tenant-admin-modal{max-width:100vw;margin:0;padding-bottom:0;top:0;width:100vw!important}.tenant-admin-modal .ant-modal-content{border-radius:0;flex-direction:column;min-height:100dvh;max-height:100dvh;display:flex}.tenant-admin-modal .ant-modal-header{padding:calc(12px + env(safe-area-inset-top,0px)) 14px 12px;border-bottom:1px solid var(--line);flex:none}.tenant-admin-modal .ant-modal-body{flex:auto;min-height:0;padding:12px 14px;overflow-y:auto}.tenant-admin-modal .ant-modal-footer{padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0;display:grid}.tenant-admin-modal .ant-modal-footer .ant-btn{min-height:44px;margin-inline-start:0}.tenant-admin-form .ant-select,.tenant-admin-form .ant-input,.tenant-admin-form .ant-input-password{min-height:42px}.tenant-admin-permission-group{padding:8px}.tenant-admin-permission-group .ant-checkbox-wrapper{width:100%;margin-inline-start:0}}.reports-workspace{gap:14px;min-width:0;max-width:100%;display:grid;overflow-x:hidden}.sales-report-workspace{align-content:start;min-width:0}.reports-tabs-surface{padding:10px}.section-action-row{align-items:center;gap:8px;display:inline-flex}.report-tabbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.report-tabbar button{border:1px solid var(--line);min-height:48px;color:var(--muted);cursor:pointer;background:#f8fafc;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-weight:900;display:inline-flex}.report-tabbar button.active{color:var(--accent-strong);background:#eaf3ff;border-color:#1677ff61}.report-filter-grid{gap:10px;display:grid}.report-quick-filter{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.report-quick-filter::-webkit-scrollbar{display:none}.report-quick-filter button{border:1px solid var(--line);min-height:42px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;flex:none;padding:0 14px;font-weight:800}.report-quick-filter button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff5c}.sales-subtabbar{border:1px solid var(--line);scrollbar-width:none;background:#fff;border-radius:8px;gap:8px;padding:8px;display:flex;overflow-x:auto}.sales-subtabbar::-webkit-scrollbar{display:none}.sales-subtabbar button{border:1px solid var(--line);min-height:42px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 16px;font-weight:800;display:inline-flex}.sales-subtabbar button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff66}.report-apply-button{width:100%;margin-top:0}.report-metric-grid{grid-template-columns:1fr;gap:10px;min-width:0;display:grid}.report-metric-card{background:linear-gradient(#fff 0%,#f5f9ff 100%);border:1px solid #1677ff29;border-radius:8px;align-content:center;gap:6px;min-width:0;min-height:86px;padding:14px;display:grid;overflow:hidden;box-shadow:0 8px 18px #1720330d}.report-metric-card span{color:var(--muted);font-size:13px;font-weight:700}.report-metric-card strong{color:var(--text);font-size:24px;font-weight:900;line-height:1}.report-metric-card.good strong,.profit-positive{color:#067647}.report-metric-card.bad strong,.profit-negative{color:var(--danger)}.report-panel{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;min-width:0;padding:12px;display:grid;overflow:hidden}.report-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.report-panel-heading h2{color:var(--text);margin:0;font-size:18px;font-weight:900}.report-panel-heading p{color:var(--muted);margin:3px 0 0;font-size:12px}.daily-profit-list{gap:8px;display:grid}.daily-profit-row{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:8px;padding:10px;display:grid}.daily-profit-row>div{gap:3px;display:grid}.daily-profit-row span{color:var(--muted);font-size:12px;font-weight:700}.daily-profit-row strong{color:var(--text);font-size:14px;font-weight:900}.profit-sale-card{gap:12px}.sale-profit-grid{grid-template-columns:1fr;gap:8px;display:grid}.sale-profit-grid div{background:#f8fbff;border:1px solid #1677ff24;border-radius:8px;align-content:center;gap:3px;min-width:0;min-height:54px;padding:8px 10px;display:grid;overflow:hidden}.sale-profit-grid span{color:var(--muted);align-items:center;gap:6px;font-size:11px;font-weight:800;display:inline-flex}.sale-profit-grid strong{color:var(--text);font-size:15px;font-weight:900}.sales-history-list{gap:10px;min-width:0;display:grid}.sales-list-filter-panel{gap:10px}.sales-list-filter-grid{gap:10px;display:grid}.sales-list-filter-grid .touch-select{width:100%}.payment-summary-grid{grid-template-columns:1fr;gap:10px;display:grid}.payment-summary-card{background:#f8fbff;border:1px solid #1677ff29;border-radius:8px;align-content:center;gap:4px;min-width:0;min-height:86px;padding:12px;display:grid}.payment-summary-card span,.payment-summary-card small{color:var(--muted);font-size:12px;font-weight:700}.payment-summary-card strong{color:var(--text);font-size:22px;font-weight:900}.sales-table-desktop{display:none}.sales-report-table{width:100%;min-width:0;font-family:Prompt,Arial,sans-serif}.sales-report-table .ant-table,.sales-report-table .ant-table-wrapper,.sales-report-table .ant-table-container,.sales-report-table .ant-table-cell{font-family:Prompt,Arial,sans-serif}.sales-report-table .ant-table{border:1px solid var(--line);border-radius:8px}.sales-report-table .ant-table-thead>tr>th{color:var(--text);background:#f8fafc;font-weight:800}.sales-report-table .ant-table-tbody>tr>td{color:var(--text);vertical-align:top}.sales-report-table .ant-table-tbody>tr.sales-row-returned>td{background:#fff7e6}.sales-report-table .ant-table-tbody>tr.sales-row-returned:hover>td{background:#fff1d6}.sales-report-table .ant-table-tbody>tr.sales-row-voided>td{background:#fff1f0}.sales-report-table .ant-table-tbody>tr.sales-row-voided:hover>td{background:#ffe4e1}.sales-document-no{color:var(--text);font-weight:800}.sales-table-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.sales-table-actions.compact{gap:6px}.sales-table-action-tooltip{display:inline-flex}.sales-table-action{border:1px solid var(--line);min-height:36px;color:var(--text);white-space:nowrap;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-family:Prompt,Arial,sans-serif;font-size:13px;font-weight:700;display:inline-flex}.sales-table-action.icon-only{width:36px;min-width:36px;height:36px;padding:0}.sales-table-action.icon-only svg{flex:none}.sales-table-action.primary{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff61}.sales-table-action.warning,.secondary-action.warning{color:#ad6800;background:#fff7e6;border-color:#fa8c1661}.sales-table-action.danger,.secondary-action.danger{color:#b42318;background:#fff1f0;border-color:#dc262647}.primary-action.danger{background:#dc2626;border-color:#dc2626}.sales-table-action:disabled{cursor:progress;opacity:.64}.sale-action-backdrop{z-index:95;justify-content:center;align-items:center;padding:18px}.sale-action-modal{width:min(96vw,620px);max-height:min(92vh,760px);overflow:hidden}.sale-return-lines{gap:10px;max-height:min(45vh,360px);padding:4px 2px;display:grid;overflow:auto}.sale-return-line{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:12px;padding:12px;display:grid}.sale-return-line strong,.sale-return-line span{display:block}.sale-return-line span{color:var(--muted);margin-top:3px;font-size:13px}.sale-return-line-copy{min-width:0}.sale-return-line.serial-tracked{grid-template-columns:minmax(0,1fr);align-items:stretch}.sale-return-serial-summary{color:var(--accent-strong);font-weight:700}.sale-return-serials{flex-wrap:wrap;gap:8px;display:flex}.sale-return-serial-chip{min-height:40px;color:var(--text);font:inherit;cursor:pointer;background:#f8fbff;border:1px solid #1677ff38;border-radius:999px;justify-content:center;align-items:center;padding:8px 12px;font-size:13px;font-weight:600;transition:border-color .18s,background .18s,color .18s;display:inline-flex}.sale-return-serial-chip.selected{color:var(--accent-strong);background:#1677ff1f;border-color:#1677ffe0}.sale-action-reason{margin-top:12px}.sale-action-reason textarea.touch-input{resize:vertical;min-height:86px}.sale-action-warning{color:#7a4d00;background:#fffbe6;border:1px solid #faad145c;border-radius:10px;margin:4px 0 14px;padding:12px}.sale-action-footer{margin-top:14px}@media (max-width:720px){.sale-action-backdrop{align-items:stretch;padding:8px}.sale-action-modal{width:100%;max-height:calc(100dvh - 16px);padding-bottom:82px}.sale-return-lines{max-height:44dvh}.sale-return-line{grid-template-columns:minmax(0,1fr) 96px;gap:8px;padding:10px}.sale-return-line.serial-tracked{grid-template-columns:minmax(0,1fr)}.sale-return-serials{gap:6px}.sale-return-serial-chip{text-align:left;justify-content:flex-start;width:100%}.sale-action-footer{background:#fff;margin:12px -2px 0;padding-top:10px;position:sticky;bottom:0}}.table-link-button{color:var(--accent-strong);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;display:inline}.table-link-button:disabled{cursor:progress;opacity:.68}.accounting-workspace{align-content:start}.accounting-filter-grid{grid-template-columns:1fr}.accounting-subtabbar{border:1px solid var(--line);scrollbar-width:none;background:#fff;border-radius:8px;gap:8px;padding:8px;display:flex;overflow-x:auto}.accounting-subtabbar::-webkit-scrollbar{display:none}.accounting-subtabbar button{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#fff;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:700;display:inline-flex}.accounting-subtabbar button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff61}.accounting-grid{gap:14px;display:grid}.accounting-panel{gap:10px;min-width:0;display:grid}.accounting-panel-heading,.journal-card-button,.trial-balance-card,.ledger-line-card,.statement-line-card,.period-card,.ledger-summary-row,.journal-line-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.accounting-panel-heading h2{color:var(--text);margin:0;font-size:17px;font-weight:900}.accounting-panel-heading span{color:var(--muted);font-size:12px;font-weight:700}.journal-card-list,.trial-balance-list,.ledger-line-list,.journal-line-list,.statement-line-list,.vat-line-list,.manual-journal-lines,.period-card-list{gap:8px;display:grid}.journal-card,.trial-balance-card,.ledger-line-card,.statement-line-card,.period-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;box-shadow:0 8px 18px #1720330d}.journal-card-button{width:100%;min-height:72px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:12px}.journal-card-button div,.trial-balance-card div,.ledger-line-card div,.statement-line-card div,.period-card div,.journal-line-row div{gap:4px;min-width:0;display:grid}.journal-card-button strong,.trial-balance-card strong,.ledger-line-card strong,.statement-line-card strong,.period-card strong,.journal-line-row strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:14px;font-weight:900;overflow:hidden}.journal-card-button span,.trial-balance-card span,.ledger-line-card span,.statement-line-card span,.period-card span,.journal-line-row span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;font-weight:700;overflow:hidden}.journal-card-amount,.trial-balance-values,.ledger-line-values,.period-card-actions,.journal-line-row>div:last-child{text-align:right;justify-items:end}.trial-balance-card,.ledger-line-card,.statement-line-card,.period-card{min-height:72px;padding:12px}.period-card-list{grid-template-columns:1fr}.period-card-actions{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.statement-summary-row,.ledger-summary-row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.statement-summary-row div,.ledger-summary-row div{background:#f8fbff;border:1px solid #1677ff29;border-radius:8px;align-content:center;gap:4px;min-height:64px;padding:12px;display:grid}.statement-summary-row span,.ledger-summary-row span{color:var(--muted);font-size:12px;font-weight:700}.statement-summary-row strong,.ledger-summary-row strong{color:var(--accent-strong);font-size:18px;font-weight:900}.accounting-document{background:#fff;border:1px solid #d9e2ef;border-radius:8px;gap:14px;min-width:0;padding:18px;display:grid;box-shadow:0 10px 28px #0f172a0d}.accounting-document-title{text-align:center;justify-items:center;gap:4px;display:grid}.accounting-document-business{text-align:left;border-bottom:1px solid #111827;grid-template-columns:44px minmax(0,1fr);justify-self:stretch;align-items:center;gap:10px;margin-bottom:6px;padding-bottom:10px;display:grid}.accounting-document-business>span,.accounting-document-business>img{width:44px;height:34px}.accounting-document-business>span{color:#1a73e8;border:1.5px solid #1a73e8;border-radius:8px 8px 2px;place-items:center;font-size:20px;font-weight:800;display:grid}.accounting-document-business>img{object-fit:contain}.accounting-document-business strong,.accounting-document-business small{word-break:break-word;display:block}.accounting-document-business strong{color:var(--text);font-size:16px;font-weight:750;line-height:1.25}.accounting-document-business small{color:var(--muted);font-size:12px;font-weight:500;line-height:1.35}.accounting-document-title h2{color:var(--text);margin:0;font-size:21px;font-weight:800;line-height:1.25}.accounting-document-title p,.accounting-document-title span{color:var(--muted);margin:0;font-size:13px;font-weight:500}.document-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.document-summary-strip div{background:#f8fbff;border:1px solid #d9e2ef;border-radius:8px;align-content:center;gap:4px;min-height:60px;padding:10px 12px;display:grid}.document-summary-strip span{color:var(--muted);font-size:12px;font-weight:600}.document-summary-strip strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:18px;font-weight:800}.accounting-table-scroll{border-radius:6px;min-width:0;overflow-x:auto}.desktop-accounting-document-view{display:block}.mobile-accounting-document-view{display:none}.accounting-document-table{border-collapse:collapse;width:100%;min-width:620px;color:var(--text);font-size:13px;line-height:1.55}.journal-table,.ledger-table{min-width:780px}.accounting-document-table th{color:#111827;text-align:left;white-space:nowrap;border-bottom:2px solid #111827;padding:8px 8px 7px;font-size:12px;font-weight:800}.accounting-document-table td{vertical-align:top;border-bottom:1px solid #e8edf5;padding:8px}.accounting-document-table td strong{color:var(--text);font-weight:650;display:block}.accounting-document-table td small{color:var(--muted);margin-top:2px;font-size:11px;font-weight:500;display:block}.accounting-document-table .amount-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.accounting-document-table .action-cell{text-align:right;white-space:nowrap;width:1%}.document-group-row td{color:#344054;letter-spacing:0;background:#f8fafc;border-bottom-color:#dce5f2;padding-top:14px;font-size:12px;font-weight:800}.document-subtotal-row td{background:#fbfcfe;border-top:1px solid #d9e2ef;font-weight:800}.document-total-row td{color:#111827;background:#fff;border-top:2px solid #111827;border-bottom:0;padding-top:10px;font-weight:900}.document-empty-row td{color:var(--muted);text-align:center;padding:24px 8px;font-weight:600}.positive-amount{color:#067647}.negative-amount{color:#d92d20}.strong-amount{color:var(--accent-strong)}.document-type-pill,.document-status-pill{border-radius:6px;align-items:center;width:fit-content;min-height:22px;margin-top:4px;padding:2px 7px;font-size:11px;font-weight:600;line-height:1.2;display:inline-flex}.document-type-pill.asset{color:#175cd3;background:#eaf4ff}.document-type-pill.liability{color:#b42318;background:#fff1f0}.document-type-pill.equity{color:#5925dc;background:#f4f3ff}.document-type-pill.revenue{color:#067647;background:#ecfdf3}.document-type-pill.expense{color:#b54708;background:#fff7e6}.document-status-pill{color:#175cd3;background:#eef4ff}.document-status-pill.posted{color:#067647;background:#ecfdf3}.document-status-pill.reversed{color:#b42318;background:#fff1f0}.document-link-button{min-height:34px;color:var(--accent-strong);cursor:pointer;background:#f4f8ff;border:1px solid #1677ff3d;border-radius:6px;padding:0 10px;font-size:12px;font-weight:700}.document-link-button:disabled{cursor:progress;opacity:.64}.mobile-document-section,.mobile-document-card-list{gap:8px;min-width:0;display:grid}.mobile-document-section{background:#fbfcfe;border:1px solid #d9e2ef;border-radius:8px;padding:10px}.mobile-document-section-heading,.mobile-document-subtotal,.mobile-document-grand-total{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.mobile-document-section-heading{border-bottom:1px solid #e8edf5;padding-bottom:8px}.mobile-document-section-heading h3{color:var(--text);margin:0;font-size:14px;font-weight:800}.mobile-document-section-heading strong,.mobile-document-subtotal strong,.mobile-document-grand-total strong{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;font-size:15px;font-weight:850}.mobile-accounting-card{background:#fff;border:1px solid #d9e2ef;border-radius:8px;gap:10px;min-width:0;padding:10px;display:grid}.mobile-accounting-main{gap:4px;min-width:0;display:grid}.mobile-accounting-main strong{color:var(--text);text-overflow:ellipsis;font-size:14px;font-weight:750;line-height:1.35;overflow:hidden}.mobile-accounting-main>span:not(.document-type-pill){color:var(--muted);text-overflow:ellipsis;font-size:12px;font-weight:500;line-height:1.35;overflow:hidden}.mobile-accounting-amount,.mobile-accounting-pair-grid div,.mobile-document-total-grid div{background:#f8fbff;border:1px solid #e8edf5;border-radius:8px;gap:3px;min-width:0;padding:8px 10px;display:grid}.mobile-accounting-amount span,.mobile-accounting-pair-grid span,.mobile-document-total-grid span,.mobile-document-subtotal span,.mobile-document-grand-total span{color:var(--muted);font-size:11px;font-weight:700}.mobile-accounting-amount strong,.mobile-accounting-pair-grid strong,.mobile-document-total-grid strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:14px;font-weight:850}.mobile-accounting-amount{text-align:right;justify-items:end}.mobile-accounting-pair-grid,.mobile-document-total-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.mobile-accounting-pair-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-document-subtotal{border-top:1px dashed #d9e2ef;padding-top:8px}.mobile-document-grand-total{background:#eef5ff;border:1px solid #1677ff3d;border-radius:8px;padding:12px}.mobile-journal-footer{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.mobile-journal-footer>span:not(.document-status-pill){color:var(--muted);font-size:12px;font-weight:600}.mobile-journal-footer .document-link-button{margin-left:auto}.mobile-document-empty{min-height:84px;color:var(--muted);text-align:center;background:#fff;border:1px dashed #d9e2ef;border-radius:8px;place-items:center;padding:14px;font-size:13px;font-weight:600;display:grid}.journal-modal{width:min(100%,560px)}.manual-journal-modal{width:min(100%,760px)}.manual-journal-line{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;grid-template-columns:1fr;gap:8px;padding:10px;display:grid}.manual-journal-totals{grid-template-columns:1fr;gap:8px;display:grid}.manual-journal-totals div{background:#f8fbff;border:1px solid #1677ff29;border-radius:8px;align-content:center;gap:4px;min-height:58px;padding:10px 12px;display:grid}.manual-journal-totals span{color:var(--muted);font-size:12px;font-weight:700}.manual-journal-totals strong{color:var(--text);font-size:17px;font-weight:900}.danger-icon{color:#d92d20}.danger-action{color:#b42318;cursor:pointer;background:#fff1f0;border:1px solid #d92d2047;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-weight:900;display:inline-flex}.journal-reversal-panel{border-top:1px solid var(--line);gap:10px;padding-top:12px;display:grid}.journal-detail-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.voucher-viewer-backdrop{z-index:88;justify-content:center;align-items:center;padding:16px}.voucher-viewer-modal{background:#f1f4f8;border:1px solid #d9e2ef;border-radius:8px;grid-template-rows:auto auto minmax(0,1fr);width:min(100%,1040px);height:min(100%,100dvh - 32px);display:grid;overflow:hidden;box-shadow:0 22px 60px #0f172a47}.voucher-viewer-toolbar{background:#fff;border-bottom:1px solid #d9e2ef;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:12px 14px;display:flex}.voucher-viewer-toolbar h2{color:var(--text);margin:0;font-size:18px;font-weight:800}.voucher-viewer-toolbar p{color:var(--muted);margin:2px 0 0;font-size:12px;font-weight:500}.voucher-viewer-actions{flex:none;align-items:center;gap:8px;display:flex}.voucher-print-settings{background:#fff;border-bottom:1px solid #d9e2ef;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 14px;display:grid}.voucher-print-settings label{gap:5px;min-width:0;display:grid}.voucher-print-settings span{color:var(--muted);font-size:11px;font-weight:700}.voucher-print-settings .touch-input{border-radius:8px;min-height:40px;font-size:13px}.voucher-viewer-frame{background-color:#e7ebf1;background-image:linear-gradient(90deg,#0f172a0a 1px,#0000 1px),linear-gradient(#0f172a0a 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:24px 24px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-width:0;padding:20px;overflow:auto}.journal-voucher-page{width:210mm;min-height:297mm;padding:var(--voucher-margin,12mm);color:#111827;font-family:var(--voucher-font-family,"Prompt", Arial, sans-serif);font-size:var(--voucher-font-size,12px);background:#fff;border:1px solid #d0d5dd;align-content:start;gap:14px;margin:0 auto;display:grid;box-shadow:0 12px 36px #0f172a2e}.journal-voucher-header{text-align:left;grid-template-columns:minmax(0,1fr) minmax(230px,auto);align-items:start;gap:4px 14px;display:grid}.journal-voucher-company{grid-row:1/span 2;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.journal-voucher-company strong{color:#111827;font-size:calc(var(--voucher-font-size,12px) * 1.2);word-break:break-word;font-weight:750;line-height:1.25;display:block}.journal-voucher-company span{color:#475467;font-size:calc(var(--voucher-font-size,12px) * .86);word-break:break-word;font-weight:500;line-height:1.35;display:block}.journal-voucher-logo-mark{color:#1a73e8;width:58px;height:44px;font-size:calc(var(--voucher-font-size,12px) * 1.7);border:1.5px solid #1a73e8;border-radius:8px 8px 2px;place-items:center;font-weight:800;display:grid}.journal-voucher-logo-image{object-fit:contain;width:58px;height:44px}.journal-voucher-header h1{font-size:calc(var(--voucher-font-size,12px) * 1.85);text-align:right;grid-column:2;margin:0;font-weight:800;line-height:1.25}.journal-voucher-header p{color:#475467;font-size:var(--voucher-font-size,12px);text-align:right;grid-column:2;margin:0;font-weight:500}.journal-voucher-info{border-top:1px solid #111827;border-left:1px solid #111827;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.journal-voucher-info div{border-bottom:1px solid #111827;border-right:1px solid #111827;min-height:44px;padding:7px 8px}.journal-voucher-info span,.journal-voucher-note span{color:#475467;font-size:calc(var(--voucher-font-size,12px) * .84);font-weight:500;display:block}.journal-voucher-info strong{color:#111827;font-size:var(--voucher-font-size,12px);word-break:break-word;margin-top:2px;font-weight:650;display:block}.journal-voucher-table{border-collapse:collapse;width:100%;font-size:var(--voucher-font-size,12px);line-height:1.5}.journal-voucher-table th,.journal-voucher-table td{vertical-align:top;border:1px solid #111827;padding:7px 8px}.journal-voucher-table th{font-size:calc(var(--voucher-font-size,12px) * .92);text-align:left;background:#f3f4f6;font-weight:800}.journal-voucher-table td strong{color:#111827;font-weight:650;display:block}.journal-voucher-table td span{color:#667085;font-size:calc(var(--voucher-font-size,12px) * .84);margin-top:2px;display:block}.journal-voucher-table .amount-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:18%;font-weight:700}.journal-voucher-table tfoot td{background:#fff;border-top-width:2px;font-weight:800}.journal-voucher-note{border:1px solid #111827;min-height:56px;padding:8px}.journal-voucher-note strong{font-size:var(--voucher-font-size,12px);margin-bottom:4px;display:block}.journal-voucher-signatures{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.journal-voucher-signatures div{text-align:center;border:1px solid #111827;align-content:end;min-height:88px;padding:10px;display:grid}.journal-voucher-signatures span{color:#475467;font-size:calc(var(--voucher-font-size,12px) * .92);border-top:1px solid #111827;padding-top:6px;display:block}.chart-account-form,.chart-account-list{gap:10px;display:grid}.chart-account-tree-shell{border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px;overflow:auto;box-shadow:0 8px 18px #1720330a}.chart-account-tree-shell .ant-tree{color:var(--text);background:0 0;font-family:Prompt,Arial,sans-serif}.chart-account-tree-shell .ant-tree-treenode{padding:2px 0}.chart-account-tree-shell .ant-tree-node-content-wrapper{border-radius:8px;align-items:center;min-height:44px;display:flex}.chart-account-tree-shell .ant-tree-node-content-wrapper:hover{background:#f4f8ff}.chart-account-tree-root-title{color:var(--accent-strong);align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.chart-account-tree-node{justify-content:space-between;align-items:center;gap:12px;width:100%;min-width:0;padding:4px 0;display:flex}.chart-account-tree-node.inactive{opacity:.68}.chart-account-tree-main{gap:2px;min-width:0;display:grid}.chart-account-tree-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;line-height:1.25;overflow:hidden}.chart-account-tree-main span,.chart-account-tree-lines,.chart-account-empty-node{color:var(--muted);font-size:12px;font-weight:500}.chart-account-tree-meta{flex:none;justify-content:flex-end;align-items:center;gap:6px;display:flex}.chart-account-tree-actions{margin-left:2px}.chart-account-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 14px;display:grid}.chart-account-form{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;padding:12px}.chart-account-row{border:1px solid var(--line);background:#fff;border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid;box-shadow:0 8px 18px #1720330d}.chart-account-row.inactive{opacity:.72}.chart-account-main{gap:4px;min-width:0;display:grid}.chart-account-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800;overflow:hidden}.chart-account-main span,.chart-account-meta{color:var(--muted);font-size:12px;font-weight:600}.chart-account-meta,.chart-account-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chart-account-actions{justify-content:flex-start}.compact-toggle{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:44px;padding:0 12px}@media (max-width:720px){.chart-account-tree-shell{padding:10px}.chart-account-tree-node{flex-direction:column;align-items:stretch;gap:6px}.chart-account-tree-meta{flex-wrap:wrap;justify-content:flex-start}.chart-account-modal-grid{grid-template-columns:minmax(0,1fr)}}.journal-line-row{border-bottom:1px solid var(--line);min-height:64px;padding:10px 0}.sale-history-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:12px;display:grid;box-shadow:0 8px 18px #1720330d}.sale-history-card.sales-row-returned{background:#fffaf0;border-color:#fa8c165c}.sale-history-card.sales-row-voided{background:#fff5f5;border-color:#dc262652}.sale-history-main,.sale-history-actions,.receipt-line-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.sale-history-action-buttons{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;display:flex}.sale-history-action-button{min-width:0}.sale-history-main strong{color:var(--accent-strong);white-space:nowrap;font-size:20px;font-weight:900}.sale-history-no{color:var(--text);font-size:16px;font-weight:900}.sale-history-meta{color:var(--muted);margin-top:2px;font-size:12px}.sale-history-detail{color:var(--muted);gap:6px;font-size:13px;display:grid}.sale-history-detail span{align-items:center;gap:8px;min-width:0;display:inline-flex}.receipt-modal{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:14px;width:min(100%,460px);max-height:calc(100vh - 32px);padding:16px;display:grid;overflow:auto;box-shadow:0 18px 40px #1720333d}.receipt-line-list{gap:8px;display:grid}.receipt-line-row{border-bottom:1px solid var(--line);min-height:58px;padding:10px 0}.receipt-line-row div{gap:2px;min-width:0;display:grid}.receipt-line-row span{color:var(--muted);font-size:12px}.inventory-workspace{gap:14px;display:grid}.inventory-workspace>.section-heading .action-group{flex-wrap:wrap;justify-content:flex-end}.inventory-workspace>.section-heading .action-group .secondary-action,.inventory-workspace>.section-heading .action-group .primary-icon-action{white-space:nowrap}.inventory-tab-strip{border:1px solid var(--line);scrollbar-width:none;background:#eef3f9;border-radius:10px;gap:8px;padding:4px;display:flex;overflow-x:auto}.inventory-tab-strip::-webkit-scrollbar{display:none}.inventory-tab-button{min-height:46px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:1 0 auto;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-weight:800;display:inline-flex}.inventory-tab-button strong{min-width:26px;height:24px;color:var(--muted);background:#67748e1f;border-radius:999px;place-items:center;padding:0 7px;font-size:12px;font-weight:900;display:inline-grid}.inventory-tab-button.active{color:var(--accent-strong);background:#fff;border-color:#1677ff33;box-shadow:0 8px 18px #0f172a0f}.inventory-tab-button.active strong{color:#fff;background:var(--accent)}.inventory-tab-panel{border:1px solid var(--line);background:#fff;border-radius:10px;gap:12px;min-width:0;max-width:100%;padding:12px;display:grid}.inventory-panel-header{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.inventory-panel-header h2{color:var(--text);margin:0;font-size:20px;line-height:1.2}.inventory-panel-header p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:700}.inventory-panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.inventory-search-control{min-height:48px}.inventory-filter-card{background:#f8fafc;border:1px solid #67748e29;border-radius:8px;min-width:0;max-width:100%;padding:10px}.inventory-movement-filter-grid{align-items:end}.inventory-product-filter-field{min-width:0}.inventory-product-select{width:100%}.inventory-product-select.ant-select-single{height:48px}.inventory-product-select .ant-select-selector{background:#fff;border-radius:8px;align-items:center;min-height:48px;height:48px!important}.inventory-product-select .ant-select-selection-search-input{height:46px!important}.inventory-product-select .ant-select-selection-placeholder,.inventory-product-select .ant-select-selection-item{align-items:center;font-weight:600;line-height:1.2;display:flex}.inventory-select-option{gap:2px;min-width:0;display:grid}.inventory-select-option strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.inventory-select-option span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.inventory-metric-grid,.inventory-filter-grid,.stock-balance-list,.stock-movement-list,.goods-receipt-list{gap:10px;display:grid}.inventory-desktop-table{width:100%;min-width:0;max-width:100%;display:none;overflow:hidden}.inventory-table-product{gap:2px;min-width:0;display:grid}.inventory-table-product strong,.inventory-table-doc-no,.inventory-table-number{color:var(--text);font-weight:700}.inventory-table-product span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.inventory-table-actions{flex-wrap:nowrap;gap:6px;display:inline-flex}.inventory-antd-table .ant-table{border:1px solid var(--line);table-layout:fixed;border-radius:8px;width:100%;max-width:100%}.inventory-antd-table,.inventory-antd-table .ant-spin-nested-loading,.inventory-antd-table .ant-spin-container,.inventory-antd-table .ant-table-wrapper,.inventory-antd-table .ant-table-container,.inventory-antd-table .ant-table-content{width:100%;min-width:0;max-width:100%}.inventory-antd-table .ant-table-content{overflow-y:hidden;overflow-x:auto!important}.inventory-antd-table .ant-table-thead>tr>th{color:var(--muted);font-weight:700}@media (min-width:900px){.inventory-desktop-table{display:block}.inventory-mobile-list{display:none}}@media (max-width:720px){.inventory-panel-header{flex-direction:column;align-items:stretch}.inventory-panel-actions{justify-content:stretch}.inventory-panel-actions>*{flex:1 1 0}.inventory-operation-modal{border-radius:12px 12px 0 0;width:100vw;max-height:100dvh}.inventory-operation-line-grid{grid-template-columns:1fr}}.stock-balance-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 8px 18px #1720330d}.goods-receipt-card,.inventory-document-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:12px;display:grid;box-shadow:0 8px 18px #1720330d}.inventory-document-card-actions{justify-content:flex-start}.inventory-icon-action-row{align-items:center}.inventory-operation-modal{width:min(980px,100vw - 24px)}.inventory-operation-line-card{background:#f8fafc}.inventory-operation-product-select{width:100%}.inventory-operation-product-select.ant-select-single{height:48px}.inventory-operation-product-select .ant-select-selector{border-radius:8px;align-items:center;min-height:48px;height:48px!important}.inventory-operation-line-grid{grid-template-columns:minmax(120px,180px) minmax(0,1fr)}.inventory-line-serial-panel{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;gap:8px;margin-top:10px;padding:10px;display:grid}.inventory-line-serial-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.inventory-line-serial-head>div{gap:2px;display:grid}.inventory-line-serial-head strong{color:var(--accent-strong);font-size:13px;font-weight:800}.inventory-line-serial-head span,.inventory-line-serial-panel small{color:var(--muted);font-size:12px;font-weight:700}.inventory-line-serial-textarea{resize:vertical;min-height:92px;line-height:1.45}.inventory-line-serial-panel .serial-count-ok{color:#047857}.inventory-line-serial-panel .serial-count-warning{color:#b45309}.inventory-serial-picker-modal{z-index:3200}.inventory-document-detail-modal{z-index:2500}.goods-receipt-main{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.goods-receipt-main strong{color:var(--accent-strong);white-space:nowrap;font-size:20px;font-weight:900}.goods-receipt-detail{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.goods-receipt-detail span{background:#f1f6ff;border-radius:8px;min-height:26px;padding:4px 8px}.goods-receipt-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.stock-balance-main{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.stock-balance-main strong{color:var(--accent-strong);white-space:nowrap;font-size:24px;font-weight:900;line-height:1}.inventory-quantity-cell{justify-items:end;gap:2px;display:grid}.inventory-quantity-cell span{max-width:160px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.stock-product-name{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;overflow:hidden}.stock-product-meta{color:var(--muted);margin-top:2px;font-size:12px}.stock-balance-detail{color:var(--muted);grid-template-columns:1fr;gap:6px;font-size:12px;display:grid}.inventory-section-header{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:4px;display:flex}.inventory-section-header h2{color:var(--text);margin:0;font-size:20px;line-height:1.2}.inventory-section-header p{color:var(--muted);margin:4px 0 0;font-size:13px}.stock-movement-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:78px;padding:10px;display:grid}.stock-move-icon{border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.stock-move-icon.in{color:#067647;background:var(--success-soft)}.stock-move-icon.out{color:var(--danger);background:#fff4f2}.stock-movement-main{min-width:0}.stock-move-qty{white-space:nowrap;font-size:18px;font-weight:900}.stock-move-qty.in{color:#067647}.stock-move-qty.out{color:var(--danger)}.receiving-modal-backdrop{z-index:92;align-items:center;padding:16px;overflow:hidden}.receiving-modal{background:#fff;border:1px solid #67748e3d;border-radius:12px;grid-template-rows:auto minmax(0,1fr) auto;width:min(100vw - 32px,1120px);height:min(100dvh - 32px,860px);max-height:none;display:grid;overflow:hidden;box-shadow:0 24px 56px #0f172a38}.receiving-modal-header{border-bottom:1px solid var(--line);background:#fff;padding:16px 18px}.receiving-modal-body{background:#f6f8fb;gap:12px;min-height:0;padding:14px;display:grid;overflow:auto}.receiving-section{background:#fff;border:1px solid #67748e29;border-radius:10px;gap:10px;min-width:0;padding:12px;display:grid}.receiving-section-title{gap:2px;display:grid}.receiving-section-title strong{color:var(--text);font-size:16px;line-height:1.2}.receiving-section-title span{color:var(--muted);font-size:12px;font-weight:600}.receiving-lines-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.compact-action{min-height:40px;padding:0 12px}.receiving-header-grid,.receiving-line-grid,.receiving-modal-grid,.receiving-lines{gap:10px;display:grid}.receiving-line-card{background:#fbfcfe;border:1px solid #1677ff24;border-radius:8px;gap:10px;padding:12px;display:grid}.receiving-product-field{min-width:0}.receiving-line-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.receiving-line-head strong{color:var(--text);font-size:15px}.receiving-serial-field{gap:8px}.receiving-serial-textarea{resize:vertical;min-height:112px;font-family:var(--font-sans,inherit)}.receiving-serial-hint{color:var(--muted);font-size:12px;line-height:1.5;display:block}.receiving-total-panel{background:#fff;border:1px solid #1677ff29;border-radius:8px;gap:10px;padding:12px;display:grid}.receiving-total-panel>div,.receiving-total-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.receiving-total-panel span{color:var(--muted);font-size:13px;font-weight:700}.receiving-total-panel strong{color:var(--text);font-size:16px;font-weight:900}.receiving-total-row{border-top:1px dashed #67748e47;padding-top:8px}.receiving-total-row strong{color:var(--accent-strong);font-size:24px}.receiving-modal-footer{border-top:1px solid var(--line);background:#fff;grid-template-columns:minmax(0,1fr) minmax(120px,auto) minmax(220px,auto);align-items:center;gap:10px;padding:12px 14px;display:grid}.receiving-footer-total{gap:2px;display:grid}.receiving-footer-total span{color:var(--muted);font-size:12px;font-weight:700}.receiving-footer-total strong{color:var(--accent-strong);font-size:22px;line-height:1.1}.goods-receipt-preview-modal{grid-template-rows:auto minmax(0,1fr);gap:0;width:min(100vw - 24px,1120px);height:min(100dvh - 24px,920px);max-height:none;padding:0;overflow:hidden}.pos-modal-backdrop:has(.goods-receipt-preview-modal){z-index:100}.goods-receipt-modal-actions{align-items:center;gap:8px;display:flex}.goods-receipt-preview-scroll{--goods-receipt-a4-width:794px;--goods-receipt-a4-height:1123px;--goods-receipt-a4-scale:1;background:#eef2f7;justify-content:center;align-items:flex-start;min-height:0;padding:18px;display:flex;overflow:auto}.goods-receipt-a4-scale-frame{width:min(100%, var(--goods-receipt-a4-width));min-height:var(--goods-receipt-a4-height)}.goods-receipt-a4-document{color:#0f172a;background:#fff;border:1px solid #111827;grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(100%,794px);min-height:1123px;margin:0 auto;padding:38px;font-size:12px;display:grid;box-shadow:0 18px 42px #0f172a24}.goods-receipt-a4-header{border-bottom:2px solid #111827;grid-template-columns:minmax(0,1fr) 210px;align-items:start;gap:28px;padding-bottom:18px;display:grid}.goods-receipt-a4-brand{grid-template-columns:64px minmax(0,1fr);align-items:start;gap:14px;display:grid}.goods-receipt-a4-brand img{object-fit:contain;width:64px;height:64px}.goods-receipt-a4-logo{border:2px solid var(--accent);width:64px;height:64px;color:var(--accent);border-radius:999px;place-items:center;font-size:28px;font-weight:800;display:grid}.goods-receipt-a4-brand h2,.goods-receipt-a4-title h1,.goods-receipt-a4-brand p{margin:0}.goods-receipt-a4-brand h2{color:#0f172a;font-size:18px;line-height:1.25}.goods-receipt-a4-brand p{color:#334155;margin-top:3px;line-height:1.35}.goods-receipt-a4-title{text-align:center;gap:10px;display:grid}.goods-receipt-a4-title span{border:1px solid #111827;border-radius:8px;justify-self:center;min-width:112px;padding:8px 14px;font-weight:800}.goods-receipt-a4-title h1{border:1px solid #111827;border-radius:8px 8px 0 0;padding:10px 14px;font-size:22px;line-height:1.15}.goods-receipt-a4-meta{border-left:1px solid #111827;border-right:1px solid #111827;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);display:grid}.goods-receipt-a4-meta>div{border-bottom:1px solid #111827;min-height:108px;padding:12px}.goods-receipt-a4-meta>div+div{border-left:1px solid #111827}.goods-receipt-a4-meta p{margin:0 0 6px;line-height:1.35}.goods-receipt-a4-table{border-collapse:collapse;table-layout:fixed;width:100%;height:100%}.goods-receipt-a4-table tbody{height:100%}.goods-receipt-a4-table th,.goods-receipt-a4-table td{vertical-align:top;word-break:break-word;padding:8px 7px}.goods-receipt-a4-table th{border:1px solid #111827}.goods-receipt-a4-table td{border-left:1px solid #111827;border-right:1px solid #111827}.goods-receipt-a4-table tbody tr:last-child td{border-bottom:1px solid #111827}.goods-receipt-a4-rule-fill{height:100%}.goods-receipt-a4-rule-fill td{border-top:0;padding:0}.goods-receipt-a4-table th{text-align:center;background:#e5e7eb;font-weight:800}.goods-receipt-a4-table th:first-child{width:42px}.goods-receipt-a4-table th:nth-child(3){width:82px}.goods-receipt-a4-table th:nth-child(4),.goods-receipt-a4-table th:nth-child(5){width:66px}.goods-receipt-a4-table th:nth-child(6),.goods-receipt-a4-table th:nth-child(7),.goods-receipt-a4-table th:nth-child(8){width:84px}.goods-receipt-a4-table td strong,.goods-receipt-a4-table td span{display:block}.goods-receipt-a4-table td span{color:#475569;font-size:11px}.goods-receipt-a4-document .center-cell{text-align:center}.goods-receipt-a4-document .amount-cell{text-align:right;white-space:nowrap}.goods-receipt-a4-bottom{border-left:1px solid #111827;border-right:1px solid #111827;grid-template-columns:minmax(0,1fr) 190px;margin-top:auto;display:grid}.goods-receipt-a4-note{border-bottom:1px solid #111827;min-height:130px;padding:12px}.goods-receipt-a4-note span{color:#334155;margin-top:8px;display:block}.goods-receipt-a4-summary{border-bottom:1px solid #111827;border-left:1px solid #111827}.goods-receipt-a4-summary div{border-bottom:1px solid #111827;justify-content:space-between;gap:14px;padding:8px 10px;display:flex}.goods-receipt-a4-summary div:last-child{border-bottom:0}.goods-receipt-a4-summary strong{white-space:nowrap}.goods-receipt-a4-grand-total{background:#e5e7eb;font-weight:800}.goods-receipt-a4-signatures{border-bottom:1px solid #111827;border-left:1px solid #111827;border-right:1px solid #111827;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.goods-receipt-a4-signatures div{place-items:end center;min-height:84px;padding:16px;display:grid}.goods-receipt-a4-signatures div+div{border-left:1px solid #111827}.goods-receipt-a4-signatures span:before{content:"";border-top:1px solid #111827;width:132px;margin:0 auto 8px;display:block}.pos-workspace{background:#f5f7fb;border:0;grid-template-rows:minmax(0,1fr);gap:10px;min-width:0;height:100%;min-height:0;padding:8px 8px 108px;display:grid;overflow:hidden}.pos-workspace:has(>.form-error){grid-template-rows:auto minmax(0,1fr)}.app-shell:has(.pos-workspace){height:100dvh;min-height:100dvh;padding-bottom:0;overflow:hidden}.app-shell:has(.pos-workspace) .app-content{height:calc(100dvh - 130px);min-height:0;padding:6px;overflow:hidden}.app-shell:has(.pos-workspace) .app-header{min-height:58px;padding:6px 10px}.app-shell:has(.pos-workspace) .brand-icon{flex-basis:36px;width:36px;height:36px}.app-shell:has(.pos-workspace) .brand-row{gap:8px}.app-shell:has(.pos-workspace) .context-pill{width:min(300px,48vw);max-width:48vw;padding:0}.app-shell:has(.pos-workspace) .context-primary{font-size:13px}.app-shell:has(.pos-workspace) .context-secondary{font-size:11px}.app-shell:has(.pos-workspace) .context-store-select .ant-select-selection-item{font-size:11px}.app-shell:has(.pos-workspace) .context-store-select .ant-select-selection-placeholder{font-size:11px}.app-shell:has(.pos-workspace) .bottom-nav{min-height:72px;padding-inline:8px}.app-shell:has(.pos-workspace) .bottom-nav-link{gap:3px;min-width:0;min-height:58px;font-size:10px}.app-shell:has(.pos-workspace) .bottom-nav-link svg{width:21px;height:21px}.app-shell:has(.pos-workspace) .bottom-nav-link.hero svg{width:28px;height:28px}.pos-summary span,.receipt-panel span{color:var(--muted);font-size:12px}.pos-layout{grid-row:1;gap:10px;min-width:0;min-height:0;display:grid;overflow:hidden}.pos-workspace>.form-error{grid-row:1}.pos-workspace:has(>.form-error) .pos-layout{grid-row:2}.pos-workspace>.receipt-panel{grid-row:auto}.pos-product-panel,.pos-cart-panel{gap:12px;min-width:0;min-height:0;display:grid}.pos-desktop-cart{display:none}.pos-product-panel{grid-template-rows:auto auto minmax(0,1fr);gap:8px;min-width:0;overflow:hidden}.pos-product-grid{overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;gap:8px;min-width:0;min-height:0;padding:1px 2px 4px;display:grid;overflow:auto}.pos-product-tile{background:var(--surface);min-width:0;min-height:104px;color:var(--text);text-align:left;cursor:pointer;border:1px solid #e5eaf2;border-radius:10px;grid-template-rows:1fr;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px;padding:10px 42px 10px 8px;display:grid;position:relative;overflow:hidden;box-shadow:0 4px 12px #1720330d}.pos-product-image{background:radial-gradient(circle at 28% 24%,#ffffffeb,#fff0 30%),linear-gradient(135deg,#eef5ff 0%,#fff 48%,#e0efff 100%);border-radius:10px;place-items:center;width:52px;height:52px;min-height:0;display:grid;overflow:hidden}.pos-product-image img{object-fit:cover;width:100%;height:100%}.pos-product-image span{width:34px;height:34px;color:var(--accent-strong);background:#ffffffe6;border-radius:9px;place-items:center;font-size:17px;font-weight:700;display:grid;box-shadow:0 6px 14px #17203314}.pos-product-body{gap:2px;min-width:0;padding:0;display:grid}.pos-product-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;line-height:1.25;overflow:hidden}.pos-product-price{color:var(--accent-strong);font-size:16px;font-weight:800;line-height:1.1}.pos-product-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.pos-add-button{width:40px;height:40px;color:var(--accent-strong);background:#eef5ff;border:1px solid #1677ff47;border-radius:999px;place-items:center;display:grid;position:absolute;bottom:8px;right:8px}.pos-product-badge{border-radius:999px;align-items:center;min-height:22px;padding:0 7px;font-size:10px;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:7px;right:7px}.pos-product-badge.primary{color:var(--accent-strong);background:#e6f4ff}.pos-product-badge.danger{color:var(--danger);background:#fff1f0}.pos-product-tile:disabled{cursor:wait;opacity:.66}.pos-product-grid.view-grid{grid-template-columns:minmax(0,1fr)}.pos-product-grid.view-grid .pos-product-tile{grid-template-columns:44px minmax(0,1fr) 38px;align-items:center;gap:8px;min-height:68px;padding:8px;display:grid}.pos-product-grid.view-grid .pos-product-image{aspect-ratio:auto;border-radius:8px;width:44px;height:44px;min-height:0}.pos-product-grid.view-grid .pos-product-image span{width:30px;height:30px;box-shadow:none;font-size:16px}.pos-product-grid.view-grid .pos-product-body{gap:1px;padding:0}.pos-product-grid.view-grid .pos-add-button{justify-self:end;width:38px;height:38px;position:static}.pos-product-grid.view-card{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;grid-auto-flow:row;row-gap:8px}.pos-product-grid.view-card .pos-product-tile{grid-template-rows:1fr;grid-template-columns:52px minmax(0,1fr);align-self:start;min-height:104px;display:grid}.pos-product-grid.view-card .pos-product-image{height:52px;min-height:0}.pos-product-grid.view-card .pos-product-body{align-content:start;min-height:0}.pos-search-control{background:#fff;border-radius:10px;gap:8px;min-height:46px;padding:0 6px 0 12px;box-shadow:0 4px 12px #1720330a}.pos-search-control input{font-size:14px}.pos-search-stack{gap:4px;display:grid}.pos-last-added{min-height:18px;color:var(--muted);align-items:center;gap:6px;padding:0 2px;font-size:11px;line-height:1.2;display:flex}.pos-last-added strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.pos-scan-button{width:38px;height:38px;color:var(--accent-strong);cursor:pointer;background:#eef5ff;border:0;border-radius:9px;flex:0 0 38px;place-items:center;display:grid}.customer-search-backdrop{z-index:78;justify-content:center;align-items:center;padding:12px}.customer-search-modal{background:#fff;border-radius:14px;gap:12px;width:min(94vw,520px);max-height:88dvh;padding:14px;display:grid;overflow:hidden;box-shadow:0 18px 46px #17203338}.customer-search-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.customer-search-control{border-radius:10px;min-height:46px}.customer-search-control input{font-size:14px}.customer-search-submit{white-space:nowrap;min-height:46px;padding-inline:14px}.customer-search-list{align-content:start;gap:8px;min-height:0;max-height:min(52dvh,420px);display:grid;overflow:auto}.customer-search-item{border:1px solid var(--line);width:100%;min-height:58px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.customer-search-item.active{background:#eef5ff;border-color:#1677ff73}.customer-search-item span{gap:2px;min-width:0;display:grid}.customer-search-item strong,.customer-search-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-search-item strong{font-size:14px;font-weight:600}.customer-search-item small{color:var(--muted);font-size:12px}.customer-search-item b{color:var(--accent-strong);flex:none;font-size:12px;font-weight:600}.pos-held-bills-modal{background:#fff;border-radius:14px;gap:12px;width:min(94vw,560px);max-height:88dvh;padding:14px;display:grid;overflow:hidden;box-shadow:0 18px 46px #17203338}.held-bill-create{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.held-bill-list{align-content:start;gap:8px;min-height:0;max-height:min(52dvh,430px);display:grid;overflow:auto}.held-bill-card{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:10px;display:grid}.held-bill-main{gap:2px;min-width:0;display:grid}.held-bill-main strong,.held-bill-main span,.held-bill-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.held-bill-main strong{color:var(--text);font-size:14px}.held-bill-main span,.held-bill-main small{color:var(--muted);font-size:12px}.held-bill-total{justify-items:end;gap:2px;display:grid}.held-bill-total span{color:var(--muted);font-size:11px}.held-bill-total strong{color:var(--text);font-size:15px}.held-bill-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 44px;gap:8px;display:grid}.barcode-scanner-backdrop{z-index:80}.barcode-scanner-modal{background:#fff;border-radius:14px;gap:14px;width:min(94vw,460px);max-height:92dvh;padding:14px;display:grid;box-shadow:0 18px 46px #17203338}.barcode-camera-frame{aspect-ratio:4/3;border:1px solid var(--line);background:#0f172a;border-radius:12px;position:relative;overflow:hidden}.barcode-camera-frame video{object-fit:cover;width:100%;height:100%;display:block}.barcode-camera-guide{border:2px solid #ffffffeb;border-radius:10px;width:min(78%,320px);height:96px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 999px #0f172a61}.barcode-camera-guide:after{content:"";background:#1677fff2;height:2px;position:absolute;top:50%;left:12px;right:12px;transform:translateY(-50%)}.barcode-scanner-actions{justify-content:flex-end;display:flex}.pos-category-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.pos-filter-tabs{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.pos-filter-tabs::-webkit-scrollbar{display:none}.pos-filter-tabs button{min-height:34px;color:var(--muted);cursor:pointer;background:#fff;border:1px solid #e5eaf2;border-radius:999px;flex:none;padding:0 13px;font-size:13px;font-weight:700}.pos-filter-tabs button.active{border-color:var(--accent);color:#fff;background:var(--accent)}.pos-view-switcher{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.pos-view-toggle{background:#fff;border:1px solid #d6e4ff;border-radius:999px;width:76px;padding:3px}.pos-view-switcher button{min-width:0;min-height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:0;padding:0;font-size:0;font-weight:800;display:inline-flex}.pos-view-switcher button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff57}.pos-view-switcher span{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.pos-control-grid,.pos-line-controls,.payment-methods{gap:10px;display:grid}.pos-control-grid{grid-template-columns:1fr 120px}.touch-select{border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);background:#fbfcfe;border-radius:8px;outline:0;padding:0 12px;font-size:16px}.customer-picker-field{grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;display:grid}.customer-search-button{width:44px;min-height:52px;color:var(--accent-strong);cursor:pointer;background:#eef5ff;border:1px solid #d6e4ff;border-radius:8px;place-items:center;display:grid}.customer-search-button:hover{background:#e6f4ff;border-color:#1677ff73}.bill-discount-control{grid-template-columns:minmax(92px,.7fr) minmax(0,1fr);gap:8px;display:grid}.bill-discount-control .touch-select,.bill-discount-control .text-input{min-height:44px;font-size:14px}.vat-default-row{justify-content:space-between;align-items:center;gap:8px;min-height:24px;padding-top:4px;display:flex}.vat-default-row small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.2;overflow:hidden}.vat-default-row button{min-height:24px;color:var(--accent-strong);cursor:pointer;background:#eef5ff;border:1px solid #d6e4ff;border-radius:999px;flex:none;padding:0 8px;font-size:11px;font-weight:500}.vat-default-row button:disabled{color:var(--muted);cursor:default;background:#f7f9fc}.pos-desktop-cart .pos-control-grid{grid-template-columns:minmax(112px,.72fr) minmax(0,1.28fr);gap:8px}.pos-desktop-cart .pos-control-grid>.filter-field:first-child{grid-column:1/-1}.pos-desktop-cart .vat-field{background:0 0;border:0;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:4px;min-width:0;padding:0}.pos-desktop-cart .vat-field>span,.pos-desktop-cart .bill-discount-field>span{color:var(--muted);align-self:auto;font-size:11px;line-height:1.15}.pos-desktop-cart .vat-field .touch-select{background:#fff;min-height:36px;padding:0 8px;font-size:13px}.pos-desktop-cart .vat-field .vat-default-row{grid-column:1/-1;justify-content:flex-start;gap:6px;min-height:22px;padding-top:0;display:flex}.pos-desktop-cart .vat-field .vat-default-row.is-default,.pos-desktop-cart .vat-field .vat-default-row small{display:none}.pos-desktop-cart .vat-field .vat-default-row button{min-height:22px;padding:0 8px;font-size:10px}.pos-desktop-cart .bill-discount-field{gap:4px;min-width:0}.pos-desktop-cart .bill-discount-control{grid-template-columns:minmax(68px,.72fr) minmax(0,1fr);gap:6px}.pos-desktop-cart .bill-discount-control .touch-select,.pos-desktop-cart .bill-discount-control .text-input{min-height:36px;padding:0 8px;font-size:13px}.pos-desktop-cart .pos-cart-list{grid-auto-rows:max-content;align-content:start;gap:8px}.pos-desktop-cart .pos-cart-line{background:#fff;border-color:#dde7f4;border-radius:12px;align-self:start;gap:8px;padding:10px;box-shadow:0 6px 14px #1720330b}.pos-desktop-cart .pos-line-head{align-items:center;gap:8px}.pos-desktop-cart .product-name{font-size:14px;line-height:1.2}.pos-desktop-cart .product-meta{font-size:11px;line-height:1.2}.pos-desktop-cart .icon-button{width:40px;height:40px}.pos-desktop-cart .pos-line-controls{grid-template-columns:114px minmax(76px,1fr) minmax(70px,.8fr);gap:7px}.pos-desktop-cart .qty-stepper{grid-template-columns:38px minmax(32px,1fr) 38px;min-height:42px}.pos-desktop-cart .money-input{color:#64748b;gap:4px;min-width:0;font-size:11px;font-weight:800}.pos-desktop-cart .money-input span{white-space:nowrap;min-height:12px;padding:0 2px;line-height:1;display:block}.pos-desktop-cart .money-input input{min-height:38px;padding:0 8px;font-size:15px}.pos-desktop-cart .pos-line-total{border-top:0;justify-content:flex-end;min-height:20px;padding-top:0}.pos-desktop-cart .pos-line-total strong{font-size:15px}.pos-desktop-cart .pos-line-total span{display:none}.pos-desktop-cart .pos-line-stock-warning{padding:6px 8px;font-size:11px;line-height:1.25}.pos-cart-list{gap:12px;display:grid}.pos-cart-line{touch-action:pan-y;background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #1677ff24;border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 8px 18px #1720330f}.pos-stock-warning{z-index:82;color:#991b1b;background:#fff2f0fa;border:1px solid #ff4d4f57;border-radius:12px;gap:8px;max-height:min(34dvh,220px);padding:10px 10px 10px 12px;display:grid;position:fixed;top:72px;left:12px;right:12px;overflow:auto;box-shadow:0 12px 30px #991b1b29}.pos-stock-warning-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.pos-stock-warning-head strong{font-size:14px;font-weight:900}.pos-stock-warning-close{color:#991b1b;cursor:pointer;background:#fff;border:1px solid #ff4d4f47;border-radius:999px;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid}.pos-stock-warning-list{gap:4px;font-size:12px;line-height:1.45;display:grid}.pos-stock-warning-message{font-size:12px;line-height:1.45}.pos-payment-notice{z-index:90;color:#a8071a;text-align:center;background:#fff1f0fa;border:1px solid #ff4d4f57;border-radius:12px;min-height:42px;padding:10px 14px;font-size:14px;font-weight:800;position:fixed;top:72px;left:16px;right:16px;box-shadow:0 12px 30px #991b1b24}.pos-line-stock-warning{color:#991b1b;background:#fff1f2;border-radius:7px;padding:7px 9px;font-size:12px;font-weight:700;line-height:1.35}.pos-line-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.pos-line-controls{grid-template-columns:132px 1fr 1fr;align-items:end}.pos-line-total{border-top:1px dashed #67748e47;justify-content:space-between;align-items:center;gap:10px;min-height:34px;padding-top:8px;display:flex}.pos-line-total span{color:var(--muted);font-size:12px;font-weight:700}.pos-line-total strong{color:var(--text);font-size:16px;font-weight:900}.qty-stepper{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;grid-template-columns:44px minmax(42px,1fr) 44px;min-height:52px;display:grid;overflow:hidden}.qty-stepper button,.qty-stepper input{min-width:0;color:var(--text);background:0 0;border:0;outline:0}.qty-stepper button{cursor:pointer;place-items:center;display:grid}.qty-stepper input{text-align:center;font-size:16px}.money-input{color:var(--muted);gap:6px;font-size:12px;font-weight:600;display:grid}.money-input.full{width:100%}.money-input input{border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);text-align:right;background:#fbfcfe;border-radius:8px;outline:0;padding:0 12px;font-size:16px}.pos-summary{background:#fff;border:1px solid #1677ff24;border-radius:8px;gap:6px;padding:12px;display:grid;box-shadow:0 8px 18px #1720330d}.pos-summary div,.receipt-panel{justify-content:space-between;align-items:center;gap:12px;display:flex}.payment-methods{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-method{border:1px solid var(--line);min-height:52px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;justify-content:center;align-items:center;gap:6px;transition:border-color .12s,background-color .12s,box-shadow .12s,color .12s,transform .12s;display:inline-flex}.payment-method.active{color:#fff;background:#1677ff;border-color:#1677ff;font-weight:800;box-shadow:0 8px 18px #1677ff3d,0 0 0 1px #1677ff2e}.payment-method.active svg{color:#fff;stroke-width:2.4px}.payment-method:focus-visible{outline-offset:2px;outline:3px solid #1677ff3d}.payment-method:active{transform:translateY(1px)}.legacy-payment-methods,.legacy-payment-amount{display:none!important}.payment-quick-methods{grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:8px}.payment-quick-methods .payment-method{min-height:44px;padding:0 10px;font-size:12px;font-weight:700;line-height:1.2}.payment-lines-header,.payment-line-head,.payment-line-extra,.payment-split-note{justify-content:space-between;align-items:center;gap:10px;display:flex}.payment-lines-header strong,.payment-line-head strong{color:var(--text);font-size:14px;font-weight:800}.compact-action{min-height:36px;padding:0 10px;font-size:12px}.payment-lines{gap:8px;display:grid}.payment-line-card{background:#fff;border:1px solid #1677ff29;border-radius:10px;gap:8px;padding:10px;display:grid;box-shadow:0 8px 18px #1720330d}.payment-line-card .icon-button{width:36px;height:36px}.payment-line-card .icon-button:disabled{opacity:.45;cursor:not-allowed}.payment-line-grid{grid-template-columns:minmax(0,1.15fr) minmax(96px,.85fr);gap:8px;display:grid}.payment-line-card .touch-select,.payment-line-card .text-input{min-height:42px;font-size:14px}.payment-line-extra{align-items:end}.payment-line-extra .filter-field{flex:auto;min-width:0}.payment-fill-button{flex:none;min-height:42px;padding:0 10px;font-size:12px}.payment-split-note{color:#0958d9;background:#eef5ff;border-radius:8px;flex-wrap:wrap;justify-content:flex-start;padding:7px 9px;font-size:12px;font-weight:700}.payment-method-settings-row,.payment-method-settings-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.payment-method-settings-row>span{color:var(--muted);font-size:12px;font-weight:700}.payment-method-settings-panel{background:#f8fbff;border:1px dashed #c9d8ee;border-radius:10px;gap:10px;padding:10px;display:grid}.payment-method-settings-head strong{color:var(--text);font-size:13px;font-weight:800}.payment-method-settings-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.payment-method-toggle{border:1px solid var(--line);min-height:40px;color:var(--text);background:#fff;border-radius:8px;align-items:center;gap:8px;padding:0 10px;font-size:12px;font-weight:700;display:flex}.payment-method-toggle input{width:18px;height:18px}.receipt-panel{background:var(--success-soft);border:1px solid #06764738;border-radius:8px;flex-wrap:wrap;min-height:64px;padding:12px}.receipt-panel-print{min-height:40px;margin-left:auto}.pos-payment-bar{right:10px;bottom:calc(104px + env(safe-area-inset-bottom,0px));z-index:35;background:#fffffffa;border:1px solid #1677ff2e;border-radius:12px;grid-template-columns:minmax(54px,.56fr) minmax(54px,.56fr) minmax(74px,.78fr) minmax(112px,1.32fr);grid-template-areas:"history hold cart pay";align-items:center;gap:8px;min-height:68px;padding:8px;display:grid;position:fixed;left:10px;box-shadow:0 10px 28px #17203329}.pos-toast{right:18px;bottom:calc(182px + env(safe-area-inset-bottom,0px));z-index:80;min-height:38px;color:var(--accent-strong);text-align:center;background:#fff;border:1px solid #1677ff33;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:700;position:fixed;left:18px;box-shadow:0 10px 26px #1720332e}.pos-bar-cart-button,.pos-hold-button,.pos-history-button,.pos-pay-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;min-height:52px;font-weight:700;display:inline-flex}.pos-history-button{color:var(--accent-strong);background:#f5f9ff;border:1px solid #d6e4ff;flex-direction:column;grid-area:history;padding:0 10px}.pos-hold-button{color:var(--accent-strong);background:#f8fbff;border:1px solid #d6e4ff;flex-direction:column;grid-area:hold;padding:0 10px}.pos-hold-button:disabled{opacity:.52;cursor:not-allowed}.pos-hold-button span,.pos-history-button span{text-overflow:ellipsis;white-space:nowrap;max-width:74px;font-size:11px;overflow:hidden}.pos-bar-cart-button{color:var(--accent-strong);background:#eef5ff;border:1px solid #d6e4ff;flex-direction:column;grid-area:cart;padding:0 10px}.pos-bar-cart-button span{font-size:11px;line-height:1}.pos-bar-cart-button strong{white-space:nowrap;font-size:13px;line-height:1.1}.pos-bar-total{grid-area:total;gap:2px;min-width:0;display:none}.pos-bar-total span{color:var(--muted);font-size:12px}.pos-bar-total strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.pos-pay-button{color:#fff;background:var(--accent);border:0;flex-direction:column;grid-area:pay;padding:0 12px;font-size:13px;box-shadow:0 10px 22px #0f5fd547}.pos-pay-button strong{white-space:nowrap;font-size:17px;line-height:1.08}.pos-bar-pay-button{display:inline-flex}.pos-pay-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.pos-drawer-backdrop,.pos-modal-backdrop{z-index:70;background:#1720336b;display:flex;position:fixed;inset:0}.pos-drawer-backdrop{justify-content:flex-end}.pos-cart-drawer{background:#f6f8fb;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:12px;width:min(100%,440px);max-height:100vh;padding:14px;display:grid;overflow:hidden;box-shadow:-12px 0 30px #1720332e}.pos-drawer-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pos-drawer-header h2{margin:0;font-size:22px;line-height:1.2}.pos-drawer-header p{color:var(--muted);margin:4px 0 0;font-size:13px}.pos-cart-header-actions{align-items:center;gap:8px;display:flex}.pos-clear-cart-button{color:#dc2626;min-height:40px;font:inherit;white-space:nowrap;background:#fff7f7;border:1px solid #fecaca;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:650;display:inline-flex}.pos-clear-cart-button:disabled{cursor:not-allowed;opacity:.45}.pos-clear-cart-button:not(:disabled):hover{background:#fee2e2;border-color:#fca5a5}.pos-cart-drawer .pos-cart-list{min-height:0;padding-right:2px;overflow:auto}.pos-cart-drawer{gap:8px;padding:10px}.pos-cart-drawer .pos-drawer-header h2{font-size:19px}.pos-cart-drawer .pos-drawer-header p{margin-top:2px;font-size:12px}.pos-cart-drawer .pos-control-grid{grid-template-columns:minmax(96px,.72fr) minmax(0,1.28fr);gap:8px}.pos-cart-drawer .pos-control-grid>.filter-field:first-child{grid-column:1/-1}.pos-cart-drawer .touch-select{min-height:44px;font-size:15px}.pos-cart-drawer .customer-picker-field{grid-template-columns:minmax(0,1fr) 44px}.pos-cart-drawer .customer-search-button{min-height:44px}.pos-cart-drawer .vat-field{background:0 0;border:0;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:4px;min-width:0;padding:0}.pos-cart-drawer .vat-field>span,.pos-cart-drawer .bill-discount-field>span{color:var(--muted);font-size:11px;line-height:1.15}.pos-cart-drawer .vat-field .touch-select,.pos-cart-drawer .bill-discount-control .touch-select,.pos-cart-drawer .bill-discount-control .text-input{min-height:36px;padding:0 8px;font-size:13px}.pos-cart-drawer .bill-discount-field{gap:4px;min-width:0}.pos-cart-drawer .bill-discount-control{grid-template-columns:minmax(64px,.72fr) minmax(0,1fr);gap:6px}.pos-cart-drawer .vat-default-row{grid-column:1/-1;justify-content:flex-start;gap:6px;min-height:22px;padding-top:0;display:flex}.pos-cart-drawer .vat-default-row.is-default,.pos-cart-drawer .vat-default-row small{display:none}.pos-cart-drawer .vat-default-row button{min-height:22px;padding:0 8px;font-size:10px}.pos-cart-drawer .filter-field{min-width:0}.pos-cart-drawer .pos-cart-list{grid-auto-rows:max-content;align-content:start;gap:8px}.pos-cart-drawer .pos-cart-line{background:#fff;border-color:#dde7f4;border-radius:12px;align-self:start;gap:8px;padding:10px;box-shadow:0 6px 14px #1720330b}.pos-cart-drawer .pos-line-head{align-items:center;gap:8px}.pos-cart-drawer .product-name{font-size:14px;line-height:1.2}.pos-cart-drawer .product-meta{font-size:11px;line-height:1.2}.pos-cart-drawer .icon-button{width:40px;height:40px}.pos-cart-drawer .pos-line-controls{grid-template-columns:114px minmax(76px,1fr) minmax(70px,.8fr);gap:7px}.pos-cart-drawer .qty-stepper{grid-template-columns:38px minmax(32px,1fr) 38px;min-height:42px}.pos-cart-drawer .money-input{color:#64748b;gap:4px;min-width:0;font-size:11px;font-weight:800}.pos-cart-drawer .money-input span{white-space:nowrap;min-height:12px;padding:0 2px;line-height:1;display:block}.pos-cart-drawer .money-input input{min-height:38px;padding:0 8px;font-size:15px}.pos-cart-drawer .pos-line-total{border-top:0;justify-content:flex-end;min-height:20px;padding-top:0}.pos-cart-drawer .pos-line-total strong{font-size:15px}.pos-cart-drawer .pos-line-total span{display:none}.pos-cart-drawer .pos-line-stock-warning{padding:6px 8px;font-size:11px;line-height:1.25}.pos-cart-drawer .pos-summary{box-shadow:none;gap:2px;padding:8px 10px}.pos-cart-drawer .pos-summary span{font-size:11px}.pos-cart-drawer .pos-summary strong{font-size:13px}.pos-cart-drawer .pos-cart-checkout{gap:7px;padding:9px 10px}.pos-cart-drawer .pos-cart-checkout-total{flex-direction:row;align-items:center;gap:8px}.pos-cart-drawer .pos-cart-checkout-total span{font-size:12px}.pos-cart-drawer .pos-cart-checkout-total strong{text-align:right;font-size:20px}.pos-cart-drawer .pos-cart-pay-button{min-height:52px}.pos-cart-checkout{background:#fff;border:1px solid #1677ff33;border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 -10px 24px #17203314}.pos-cart-checkout-total{justify-content:space-between;align-items:center;gap:12px;display:flex}.pos-cart-checkout-total span{color:var(--muted);font-size:13px;font-weight:800}.pos-cart-checkout-total strong{color:var(--accent-strong);text-align:right;white-space:nowrap;font-size:22px;font-weight:900;line-height:1}.pos-cart-pay-button{width:100%;min-height:56px;font-size:17px}.pos-modal-backdrop{justify-content:center;align-items:center;padding:16px}.receipt-print-backdrop,.voucher-viewer-backdrop{z-index:140}:is(.app-shell:has(.receipt-print-backdrop) .app-content,.app-shell:has(.voucher-viewer-backdrop) .app-content){z-index:150;position:relative}.pos-payment-modal{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:14px;width:min(100%,560px);max-height:calc(100vh - 32px);padding:16px;display:grid;overflow:auto;box-shadow:0 18px 40px #1720333d}.pos-unit-picker-modal{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:12px;width:min(100%,420px);max-height:calc(100vh - 32px);padding:16px;display:grid;overflow:auto;box-shadow:0 18px 40px #1720333d}.pos-unit-option-list{gap:8px;display:grid}.pos-unit-option-card{border:1px solid var(--line);width:100%;min-height:64px;color:var(--text);text-align:left;cursor:pointer;background:#fbfcfe;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.pos-unit-option-card.is-default{background:#f4f8ff;border-color:#1677ff61}.pos-unit-option-card>span{gap:2px;min-width:0;display:grid}@media (max-width:767px){.pos-unit-picker-backdrop{justify-content:center;align-items:flex-end;padding:10px}.pos-unit-picker-modal{width:100%;max-height:min(72dvh,520px);padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-radius:14px 14px 10px 10px}.pos-unit-option-card{min-height:58px;padding:10px 12px}}.pos-unit-option-card strong{font-size:16px}.pos-unit-option-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.pos-unit-option-card>strong{color:var(--accent-strong);white-space:nowrap}.pos-serial-picker-modal{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:12px;width:min(100%,520px);max-height:calc(100vh - 32px);padding:16px;display:grid;overflow:hidden;box-shadow:0 18px 40px #1720333d}.pos-serial-search{min-height:44px}.pos-serial-picker-list{align-content:start;gap:8px;max-height:min(48vh,420px);padding-right:2px;display:grid;overflow:auto}.pos-serial-option{border:1px solid var(--line);min-height:58px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.pos-serial-option.selected{background:#eef5ff;border-color:#1677ff94;box-shadow:inset 0 0 0 1px #1677ff24}.pos-serial-option>span:first-child{gap:2px;min-width:0;display:grid}.pos-serial-option strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;overflow:hidden}.pos-serial-option small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;overflow:hidden}.pos-serial-status{color:#0958d9;background:#f0f5ff;border-radius:999px;flex:none;padding:4px 8px;font-size:12px;font-weight:700}.pos-serial-picker-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding-top:10px;display:flex}.pos-serial-picker-footer>span{color:var(--muted);font-size:13px;font-weight:700}.pos-serial-picker-footer>div{gap:8px;display:flex}.pos-line-serials{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.pos-line-serials span{color:#0958d9;text-overflow:ellipsis;white-space:nowrap;background:#f0f5ff;border-radius:999px;max-width:100%;padding:2px 6px;font-size:11px;font-weight:700;overflow:hidden}@media (max-width:767px){.pos-serial-picker-backdrop{justify-content:center;align-items:flex-end;padding:10px}.pos-serial-picker-modal{width:100%;max-height:min(82dvh,640px);padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-radius:14px 14px 10px 10px}.pos-serial-picker-list{max-height:min(46dvh,360px)}.pos-serial-picker-footer{flex-direction:column;align-items:stretch}.pos-serial-picker-footer>div{grid-template-columns:1fr 1.4fr;display:grid}}.pos-history-modal{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;width:min(100%,520px);max-height:calc(100vh - 32px);padding:16px;display:grid;overflow:hidden;box-shadow:0 18px 40px #1720333d}.pos-history-actions{justify-content:flex-end;display:flex}.pos-history-list{gap:10px;min-height:0;padding-right:2px;display:grid;overflow:auto}.pos-history-card{background:#fff;border:1px solid #1677ff24;border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 8px 18px #1720330d}.pos-history-card.sales-row-returned{background:#fffaf0;border-color:#fa8c165c}.pos-history-card.sales-row-voided{background:#fff5f5;border-color:#dc262652}.pos-history-main,.pos-history-detail{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.pos-history-no{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;overflow:hidden}.pos-history-no-row{align-items:center;gap:8px;min-width:0;display:flex}.pos-history-no-row .status-pill{flex:none}.pos-history-meta,.pos-history-detail{color:var(--muted);font-size:12px;font-weight:700}.pos-history-main strong{color:var(--accent-strong);white-space:nowrap;font-size:18px;font-weight:900}.pos-history-print{width:100%;min-height:44px}.pos-history-card-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pos-history-card-actions .secondary-action{min-width:0;padding-inline:8px}@media (max-width:520px){.pos-history-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-history-card-actions .danger{grid-column:1/-1}}.receipt-print-modal{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:auto auto minmax(0,1fr) auto;gap:14px;width:min(100%,560px);max-height:calc(100vh - 32px);padding:16px;display:grid;overflow:hidden;box-shadow:0 18px 40px #1720333d}.pos-receipt-print-modal{grid-template-rows:auto auto auto auto minmax(0,1fr) auto}.pos-receipt-print-modal>.pos-drawer-header{grid-row:1}.pos-receipt-print-modal>.receipt-paper-switcher{grid-row:2}.pos-receipt-print-modal>.bluetooth-printer-panel{grid-row:3}.pos-receipt-print-modal>.bluetooth-printer-messages{grid-row:4}.pos-receipt-print-modal>.receipt-preview-scroll{grid-row:5}.pos-receipt-print-modal>.pos-receipt-print-actions{grid-row:6}.report-receipt-modal{width:min(100%,960px)}.report-receipt-modal-with-bluetooth{grid-template-rows:auto auto auto auto minmax(0,1fr) auto;align-content:start;gap:10px}.report-receipt-modal-with-bluetooth.report-receipt-modal-a4{grid-template-rows:auto auto auto auto minmax(0,auto) auto;height:auto;max-height:calc(100dvh - 32px)}.report-receipt-modal-with-bluetooth.report-receipt-modal-thermal{grid-template-rows:auto auto auto auto minmax(260px,auto) auto}.report-receipt-modal-thermal .receipt-preview-scroll{max-height:min(520px,100dvh - 300px)}.report-receipt-modal-with-bluetooth .receipt-preview-scroll{min-height:0}.report-receipt-modal-a4 .receipt-preview-scroll{max-height:none}@media (min-width:641px){.report-receipt-modal-thermal .receipt-preview-scroll{height:min(620px,100dvh - 272px);max-height:min(620px,100dvh - 272px)}.report-receipt-modal-a4 .receipt-preview-scroll{height:min(600px,100dvh - 272px);max-height:min(600px,100dvh - 272px)}}.report-receipt-controls{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:8px;display:grid}.report-receipt-controls.compact{gap:10px}.report-receipt-select-field{gap:4px;min-width:0;display:grid}.report-receipt-select-field>span{color:var(--muted);font-size:12px;font-weight:700;line-height:1.2}.report-receipt-select{width:100%}.report-receipt-select.ant-select-single .ant-select-selector{border-radius:8px;align-items:center;min-height:38px}.report-receipt-select .ant-select-selection-item{font-weight:800}.receipt-paper-switcher{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.pos-receipt-format-switcher{grid-template-columns:repeat(3,minmax(0,1fr))}.report-receipt-format-switcher{grid-template-columns:repeat(4,minmax(0,1fr))}.report-receipt-template-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-paper-switcher button{border:1px solid var(--line);min-height:42px;color:var(--muted);cursor:pointer;background:#fbfcfe;border-radius:8px;font-weight:800}.receipt-paper-switcher button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff57}.receipt-paper-switcher button:disabled{cursor:not-allowed;opacity:.5}.bluetooth-printer-panel{background:#f5f9ff;border:1px solid #1677ff33;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.bluetooth-printer-messages{gap:8px;display:grid}.bluetooth-printer-messages:empty{display:none}.bluetooth-printer-status{min-width:0;color:var(--accent-strong);align-items:center;gap:10px;display:flex}.bluetooth-printer-status div{gap:2px;min-width:0;display:grid}.bluetooth-printer-status strong,.bluetooth-printer-status span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bluetooth-printer-status strong{color:var(--ink);font-size:13px;font-weight:650}.bluetooth-printer-status span{color:var(--muted);font-size:12px}.bluetooth-printer-message{color:var(--accent-strong);background:#f5f9ff;border:1px solid #1677ff38;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:500}.bluetooth-printer-message.error{color:#cf1322;background:#fff1f0;border-color:#cf132238}.receipt-preview-scroll{border:1px solid var(--line);background:#eef2f7;border-radius:8px;justify-items:center;min-height:0;padding:14px;display:grid;overflow:auto}.receipt-print-paper{color:#111827;background:#fff;gap:8px;width:84mm;padding:4mm;font-family:Prompt,Arial,sans-serif;font-size:11px;line-height:1.35;display:grid;box-shadow:0 12px 26px #1720332e}.receipt-print-paper.paper-84{width:84mm}.receipt-print-paper.paper-58{width:58mm;padding:3mm;font-size:10px}.receipt-print-header,.receipt-print-footer{text-align:center;gap:2px;display:grid}.receipt-print-header strong{font-size:1.18em}.receipt-print-info,.receipt-print-lines,.receipt-print-totals,.receipt-print-payments{border-top:1px dashed #111827;gap:4px;padding-top:8px;display:grid}.receipt-print-info div,.receipt-print-totals div,.receipt-print-payments div,.receipt-line-meta{justify-content:space-between;gap:8px;display:flex}.receipt-line-name{overflow-wrap:anywhere;font-weight:800}.receipt-line-discount{color:#4b5563;font-size:.92em}.receipt-line-base{color:#64748b;font-size:.88em}.receipt-grand-total{font-size:1.18em;font-weight:900}.receipt-print-footer{border-top:1px dashed #111827;padding-top:8px}.receipt-a4-document{color:#111827;width:210mm;box-shadow:none;background:0 0;align-content:start;gap:12px;padding:0;font-family:Prompt,Arial,sans-serif;font-size:12px;line-height:1.45;display:grid}.receipt-a4-page{break-after:page;page-break-after:always;background:#fff;flex-direction:column;width:210mm;min-height:297mm;padding:14mm;display:flex;box-shadow:0 12px 26px #1720332e}.receipt-a4-page:last-child{break-after:auto;page-break-after:auto}.receipt-a4-page-spacer{flex:auto;min-height:12px}.receipt-a4-continuation-header{border-bottom:2px solid #111827;justify-content:space-between;gap:12px;padding-bottom:8px;display:flex}.receipt-a4-continuation-header div{gap:2px;display:grid}.receipt-a4-continuation-header span{color:#475467;font-weight:700}.receipt-a4-next-page-note{color:#475467;text-align:right;border-top:1px dashed #111827;align-self:stretch;padding-top:8px;font-weight:700}.receipt-a4-header{border-bottom:2px solid #111827;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding-bottom:12px;display:grid}.receipt-a4-header h1,.receipt-a4-header h2,.receipt-a4-payment-box h3{margin:0}.receipt-a4-header h2{color:#111827;font-size:20px;font-weight:800}.receipt-a4-header p{color:#475467;margin:3px 0 0}.receipt-a4-title{text-align:right}.receipt-a4-title h1{color:#111827;font-size:24px;font-weight:850}.receipt-a4-title strong{color:var(--accent-strong);margin-top:6px;font-size:16px;font-weight:850;display:block}.receipt-a4-info-grid,.receipt-a4-customer-box{border-top:1px solid #111827;border-left:1px solid #111827;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.receipt-a4-customer-box{grid-template-columns:1.4fr 1fr}.receipt-a4-info-grid div,.receipt-a4-customer-box div{border-bottom:1px solid #111827;border-right:1px solid #111827;min-height:46px;padding:8px}.receipt-a4-info-grid span,.receipt-a4-customer-box span,.receipt-a4-table td span{color:#475467;font-size:11px;display:block}.receipt-a4-info-grid strong,.receipt-a4-customer-box strong{overflow-wrap:anywhere;margin-top:2px;font-weight:700;display:block}.receipt-a4-table{border-collapse:collapse;width:100%}.receipt-a4-table th,.receipt-a4-table td{vertical-align:top;border:1px solid #111827;padding:8px}.receipt-a4-table th{text-align:left;background:#f3f4f6;font-weight:800}.receipt-a4-table td strong{font-weight:750;display:block}.receipt-a4-table .amount-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-a4-bottom{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:12px;display:grid}.receipt-a4-payment-box,.receipt-a4-totals{border:1px solid #111827;gap:6px;padding:10px;display:grid}.receipt-a4-payment-box h3{font-size:13px}.receipt-a4-payment-box div,.receipt-a4-totals div{justify-content:space-between;gap:12px;display:flex}.receipt-a4-grand-total{border-top:2px solid #111827;margin-top:4px;padding-top:8px;font-size:16px;font-weight:900}.receipt-a4-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px;display:grid}.receipt-a4-footer div{text-align:center;align-content:end;min-height:76px;display:grid}.receipt-a4-footer span{color:#475467;border-top:1px solid #111827;padding-top:8px;display:block}.receipt-a4-modern .receipt-a4-header{border-bottom-color:#d1e8dc}.receipt-a4-modern .receipt-a4-title h1{color:#30b66a}.receipt-a4-modern .receipt-a4-title strong,.receipt-a4-modern .receipt-a4-grand-total strong{color:#2b5b7d}.receipt-a4-modern .receipt-a4-table th,.receipt-a4-modern .receipt-a4-grand-total{background:#dcf3e7}.receipt-a4-classic{gap:0;font-size:10.5px;line-height:1.25}.receipt-a4-classic-page{gap:0;padding:9mm}.receipt-a4-classic-header{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 244px;align-items:start;gap:4px 8px;display:grid}.receipt-a4-classic-brand{grid-row:1/3;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;display:grid}.receipt-a4-logo-mark{color:#0f6bd8;background:#eef7ff;border-radius:999px 999px 999px 20px;place-items:center;width:64px;height:46px;font-size:30px;font-style:italic;font-weight:900;display:grid;box-shadow:inset 0 0 0 2px #2c8de8}.receipt-a4-logo-image{object-fit:contain;width:74px;height:58px}.receipt-a4-classic-brand h2{margin:0 0 4px;font-size:17px;line-height:1.15}.receipt-a4-classic-brand p{color:#111827;margin:1px 0;font-size:10px}.receipt-a4-copy-box{border:1px solid #111827;border-radius:6px;grid-area:1/2;align-content:center;justify-self:center;justify-items:center;width:116px;min-height:38px;font-weight:800;display:grid}.receipt-a4-copy-box span{font-size:10px}.receipt-a4-classic-title{border:1px solid #111827;border-radius:6px 6px 0 0;grid-area:2/2;align-self:end;place-items:center;min-height:38px;font-size:15px;font-weight:700;display:grid}.receipt-a4-classic-meta{border:1px solid #111827;border-radius:6px 6px 0 0;grid-template-columns:1.2fr .9fr;display:grid;overflow:hidden}.receipt-a4-classic-meta>div{min-height:92px;padding:8px}.receipt-a4-classic-meta>div+div{border-left:1px solid #111827}.receipt-a4-classic-meta p{margin:0 0 4px}.receipt-a4-classic-table{border-collapse:collapse;table-layout:fixed;flex:auto;width:100%;height:100%}.receipt-a4-classic-table tbody{height:100%}.receipt-a4-classic-table th,.receipt-a4-classic-table td{vertical-align:top;word-break:break-word;padding:6px}.receipt-a4-classic-table th{text-align:center;background:#d9d9d9;border:1px solid #111827;font-size:10px}.receipt-a4-classic-table td{border-left:1px solid #111827;border-right:1px solid #111827}.receipt-a4-classic-table th:first-child{width:42px}.receipt-a4-classic-table th:nth-child(3){width:54px}.receipt-a4-classic-table th:nth-child(4){width:72px}.receipt-a4-classic-table th:nth-child(5){width:84px}.receipt-a4-classic-table th:nth-child(6){width:88px}.receipt-a4-classic-table tbody tr:not(.receipt-a4-classic-table-fill){height:auto;min-height:9mm}.receipt-a4-classic-table tbody tr:last-child td{border-bottom:1px solid #111827}.receipt-a4-classic-table td span{color:#475467;margin-top:2px;font-size:9px;display:block}.receipt-a4-classic-table-fill{height:100%}.receipt-a4-classic-table-fill td{border-top:0;padding:0}.center-cell{text-align:center}.receipt-a4-classic-lower{grid-template-columns:minmax(0,1fr) 126px 172px;min-height:44mm;display:grid}.receipt-a4-classic-lower>*{border-bottom:1px solid #111827;border-left:1px solid #111827;border-right:1px solid #111827}.receipt-a4-classic-lower>*+*{border-left:0}.receipt-a4-remark-box,.receipt-a4-payment-checks{align-content:start;gap:6px;padding:8px;display:grid}.receipt-a4-check-grid{gap:4px;display:grid}.receipt-a4-classic .receipt-a4-totals{border:1px solid #111827;border-top:0;border-left:0;gap:0;padding:0}.receipt-a4-classic .receipt-a4-totals div{border-bottom:1px solid #111827;min-height:22px;padding:5px 8px}.receipt-a4-classic .receipt-a4-totals div:last-child{border-bottom:0}.receipt-a4-classic .receipt-a4-grand-total{background:#d9d9d9;border-top:0;margin-top:0;font-size:11px}.receipt-a4-amount-words{background:#eee;border:1px solid #111827;border-top:0;place-items:center;min-height:34px;font-weight:700;display:grid}.receipt-a4-classic-footer{text-align:center;border:1px solid #111827;border-top:0;align-items:end;min-height:22mm;padding:10px 18px;display:grid}.receipt-a4-classic-footer div{gap:8px;display:grid}.receipt-a4-classic-footer span:after{content:"";border-bottom:1px solid #111827;width:210px;margin-left:8px;display:inline-block;transform:translateY(-3px)}@media print{.receipt-a4-document{gap:0}.receipt-a4-page{box-shadow:none}}.receipt-print-actions{grid-template-columns:minmax(0,.45fr) minmax(0,1fr);gap:10px;display:grid}.pos-receipt-print-actions{grid-template-columns:minmax(96px,.55fr) minmax(0,1fr) minmax(0,1fr)}.report-receipt-actions{grid-template-columns:minmax(0,1fr) minmax(96px,.5fr) minmax(0,1fr);place-self:start end;align-items:center;width:min(100%,620px);padding-top:2px}.report-receipt-modal-with-bluetooth .report-receipt-actions{grid-template-columns:44px minmax(180px,260px) minmax(160px,220px);gap:8px}.report-receipt-modal-a4 .report-receipt-actions{align-self:end;height:auto;min-height:44px;padding:0}.report-receipt-actions .primary-action,.report-receipt-actions .secondary-action{width:100%;height:44px;min-height:44px;margin-top:0}.receipt-action-icon-button{width:44px;min-width:44px;padding-inline:0}.receipt-action-icon-button span{display:none}.report-receipt-modal-a4 .report-receipt-actions .primary-action,.report-receipt-modal-a4 .report-receipt-actions .secondary-action{height:42px;min-height:42px}.receipt-print-button{margin-top:0}@media (max-width:640px){.pos-receipt-print-modal{gap:10px;width:100%;max-height:calc(100dvh - 16px);padding:12px}.bluetooth-printer-panel,.pos-receipt-print-actions{grid-template-columns:minmax(0,1fr)}.pos-receipt-print-modal .bluetooth-printer-panel{padding:8px 10px}.pos-receipt-print-modal .bluetooth-printer-status span{white-space:normal}.pos-receipt-print-modal .receipt-preview-scroll{padding:10px}}.payment-change-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.payment-change-panel div{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;align-content:center;gap:4px;min-height:76px;padding:10px 12px;display:grid}.payment-change-panel span{color:var(--muted);font-size:12px}.payment-change-panel strong{color:var(--accent-strong);font-size:24px}.promotions-workspace{gap:14px;display:grid}.promotion-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.promotion-summary-card{background:#f8fbff;border:1px solid #1677ff29;border-radius:8px;align-content:center;gap:4px;min-height:74px;padding:12px;display:grid}.promotion-summary-card.success{background:#f2fbf6;border-color:#06764733}.promotion-summary-card span{color:var(--muted);font-size:12px;font-weight:700}.promotion-summary-card strong{color:var(--text);font-size:22px;font-weight:800}.promotion-filter-panel{border:1px solid var(--line);background:#fff;border-radius:8px;gap:10px;padding:12px;display:grid}.promotion-filter-grid,.promotion-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.promotion-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.promotion-field select,.promotion-filter-grid select,.promotion-field textarea{border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);background:#fbfcfe;border-radius:8px;outline:0;padding:0 12px;font-size:15px}.promotion-field textarea{resize:vertical;min-height:96px;padding:12px}.promotion-field select:focus,.promotion-filter-grid select:focus,.promotion-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #1677ff24}.promotion-list{gap:10px;display:grid}.promotion-card{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px;display:grid;box-shadow:0 8px 24px #1720330d}.promotion-card-icon{width:48px;height:48px;color:var(--accent-strong);background:#eef5ff;border-radius:8px;place-items:center;display:grid}.promotion-card-main{min-width:0}.promotion-card-title{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.promotion-card-title h2{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;line-height:1.3;overflow:hidden}.promotion-card-title p{color:var(--muted);margin:4px 0 0;font-size:12px}.promotion-status{min-height:28px;color:var(--muted);background:#eef1f5;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.promotion-status.status-active{color:#067647;background:var(--success-soft)}.promotion-status.status-draft{color:var(--accent-strong);background:#eef5ff}.promotion-status.status-expired,.promotion-status.status-inactive{color:var(--danger);background:#fff4f2}.promotion-card-meta,.promotion-date-row{color:var(--muted);flex-wrap:wrap;gap:6px;margin-top:8px;font-size:12px;display:flex}.promotion-card-meta span{background:#f4f7fb;border-radius:999px;align-items:center;min-height:24px;padding:0 8px;display:inline-flex}.promotion-rule-preview{color:var(--text);margin-top:8px;font-size:13px;font-weight:700}.promotion-card-actions{gap:6px;display:flex}.promotion-editor-backdrop{z-index:92;align-items:center;padding:16px;overflow:hidden}.promotion-editor-panel{background:#fff;border-radius:10px;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(100vw - 32px,1080px);height:min(100dvh - 32px,820px);max-height:none;display:grid;overflow:hidden}.promotion-editor-header{align-items:center;min-height:68px;padding:12px 16px}.promotion-editor-title{gap:12px}.promotion-editor-title h2{font-size:20px;font-weight:700}.promotion-editor-title p{white-space:normal;max-width:680px;margin-top:3px;line-height:1.35}.promotion-editor-icon{background:#f0f6ff;border:1px solid #1677ff2e;flex-basis:40px;width:40px;height:40px}.promotion-type-segment{border-bottom:1px solid var(--line);scrollbar-width:none;background:#fff;gap:6px;padding:10px 14px;display:flex;overflow-x:auto}.promotion-type-segment::-webkit-scrollbar{display:none}.promotion-type-segment button{border:1px solid var(--line);color:#42526e;cursor:pointer;background:#fff;border-radius:8px;flex:none;min-height:38px;padding:0 13px;font-size:13px;font-weight:600}.promotion-type-segment button.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff61}.promotion-editor-body{overscroll-behavior:contain;background:#f5f7fa;align-content:start;gap:10px;min-height:0;padding:12px 14px;display:grid;overflow-y:auto}.promotion-editor-section{border:1px solid var(--line);background:#fff;border-radius:10px;gap:10px;padding:14px;display:grid;box-shadow:0 1px 2px #0f172a08}.promotion-section-title{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding-bottom:2px;display:flex}.promotion-section-title h3{color:var(--text);margin:0;font-size:16px;font-weight:700}.promotion-section-title p{color:var(--muted);margin:3px 0 0;font-size:12px;line-height:1.4}.promotion-editor-panel .promotion-form-grid{gap:10px}.promotion-editor-panel .promotion-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.promotion-editor-panel .promotion-field{gap:5px;font-size:12px;font-weight:600}.promotion-editor-panel .promotion-field input,.promotion-editor-panel .promotion-field select,.promotion-editor-panel .promotion-field textarea,.promotion-editor-panel .ant-picker.touch-input{background:#fff;border-radius:8px;min-height:46px;font-size:14px}.promotion-editor-panel .promotion-field textarea{padding:10px 12px}.promotion-check-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.promotion-check-row label,.promotion-check-chip{border:1px solid var(--line);min-height:42px;color:var(--text);background:#fff;border-radius:8px;align-items:center;gap:8px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.promotion-check-row input,.promotion-check-chip input{width:18px;height:18px}.promotion-chip-grid{flex-wrap:wrap;gap:8px;display:flex}.promotion-chip-grid.days{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.promotion-check-chip{cursor:pointer}.promotion-check-chip.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff5c}.promotion-product-picker{gap:8px;display:grid}.promotion-field-label{color:var(--muted);font-size:12px;font-weight:700}.promotion-product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;max-height:150px;display:grid;overflow:auto}.promotion-product-chip{border:1px solid var(--line);min-height:44px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:8px;align-content:center;gap:2px;padding:7px 10px;display:grid}.promotion-product-chip span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.promotion-product-chip small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.promotion-product-chip.active{color:var(--accent-strong);background:#eef5ff;border-color:#1677ff61}.promotion-muted{color:var(--muted);font-size:13px}.promotion-editor-footer{grid-template-columns:minmax(150px,160px) minmax(200px,220px);justify-content:flex-end;padding:12px 14px}@media (max-width:420px){.customer-search-row{grid-template-columns:1fr}.payment-line-grid{grid-template-columns:minmax(0,1fr) minmax(86px,.75fr)}.payment-line-extra{flex-direction:column;align-items:stretch}.payment-fill-button{width:100%}.payment-change-panel{gap:8px}.payment-change-panel div{min-height:62px;padding:8px}.payment-change-panel strong{font-size:18px}.customer-search-submit{width:100%}.held-bill-create{grid-template-columns:1fr}.pos-cart-checkout-total{flex-direction:column;align-items:flex-start;gap:6px}.pos-cart-checkout-total strong{text-align:left;font-size:21px}}@media (max-width:899px){:is(.app-shell:has(.receiving-modal-backdrop),.app-shell:has(.goods-receipt-preview-modal)){padding-bottom:0}:is(.app-shell:has(.receiving-modal-backdrop) .bottom-nav,.app-shell:has(.goods-receipt-preview-modal) .bottom-nav){display:none}.receiving-modal-backdrop{align-items:stretch;padding:0}.receiving-modal{border:0;border-radius:0;width:100%;height:100dvh}.receiving-modal-header{padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px}.receiving-modal-body{gap:10px;padding:10px}.receiving-header-grid,.receiving-line-grid,.receiving-modal-grid{grid-template-columns:minmax(0,1fr)}.receiving-lines-title{flex-direction:column;align-items:stretch}.receiving-lines-title .secondary-action{width:100%}.receiving-line-card{padding:10px}.receiving-total-panel{gap:8px}.receiving-modal-footer{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.receiving-footer-total{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.receiving-modal-footer .primary-action,.receiving-modal-footer .secondary-action{width:100%;min-width:0}.pos-modal-backdrop:has(.goods-receipt-preview-modal){padding:0}.goods-receipt-preview-modal{border:0;border-radius:0;width:100%;height:100dvh}.goods-receipt-preview-modal .pos-drawer-header{padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px}.goods-receipt-modal-actions .secondary-action span{display:none}.goods-receipt-preview-scroll{--goods-receipt-a4-scale:min(1, calc((100vw - 20px) / 794));justify-content:center;padding:8px;overflow:auto}.goods-receipt-a4-scale-frame{width:calc(var(--goods-receipt-a4-width) * var(--goods-receipt-a4-scale));min-width:calc(var(--goods-receipt-a4-width) * var(--goods-receipt-a4-scale));min-height:calc(var(--goods-receipt-a4-height) * var(--goods-receipt-a4-scale));flex:none;position:relative}.goods-receipt-a4-document{width:var(--goods-receipt-a4-width);min-height:var(--goods-receipt-a4-height);transform:scale(var(--goods-receipt-a4-scale));transform-origin:0 0;margin:0;padding:28px;font-size:11px;position:absolute;top:0;left:0}.billing-receipt-modal .billing-receipt-preview-scroll.fit{--goods-receipt-a4-scale:min(.9, calc((100vw - 64px) / 794), calc((100dvh - 260px) / 1123));justify-content:flex-start;align-items:flex-start}.billing-receipt-modal .billing-receipt-preview-scroll.custom{justify-content:flex-start;align-items:flex-start}.app-shell:has(.product-editor-backdrop){padding-bottom:0}.app-shell:has(.product-editor-backdrop) .bottom-nav{display:none}.app-shell:has(.promotion-editor-backdrop){padding-bottom:0}.app-shell:has(.promotion-editor-backdrop) .bottom-nav{display:none}.promotion-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.promotion-filter-grid,.promotion-form-grid,.promotion-form-grid.two,.promotion-check-row{grid-template-columns:minmax(0,1fr)}.promotion-card{grid-template-columns:42px minmax(0,1fr)}.promotion-card-icon{width:42px;height:42px}.promotion-card-actions{grid-column:1/-1;justify-content:flex-end}.promotion-card-title{align-items:flex-start}.promotion-card-title h2{max-width:190px}.promotion-editor-backdrop{align-items:stretch;padding:8px}.promotion-editor-panel{width:100%;height:calc(100dvh - 16px)}.promotion-editor-header{min-height:62px;padding:10px 12px}.promotion-editor-title p{display:none}.promotion-type-segment{padding:8px 10px}.promotion-type-segment button{min-height:36px;padding:0 11px;font-size:12px}.promotion-editor-body{padding:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.promotion-editor-section{padding:12px}.promotion-chip-grid.days{grid-template-columns:repeat(4,minmax(0,1fr))}.promotion-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:152px}.promotion-editor-footer{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}.product-app-workspace,.reports-workspace,.sales-report-workspace{isolation:isolate;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.product-app-header,.section-heading{min-width:0}.product-master-tabs{padding:6px}.product-master-tabs button{min-height:40px;padding:0 12px;font-size:13px}:is(.product-master-form,.product-master-row,.product-master-row:has(.product-master-active-toggle)){grid-template-columns:minmax(0,1fr)}.product-master-row-meta,.product-master-actions{justify-content:flex-start}.product-app-header>div:first-child,.section-heading>div:first-child{min-width:0}.inventory-workspace>.section-heading{flex-direction:column}.inventory-workspace>.section-heading .action-group{justify-content:stretch;width:100%}.inventory-workspace>.section-heading .action-group .secondary-action,.inventory-workspace>.section-heading .action-group .primary-icon-action{flex:calc(50% - 4px)}.product-dashboard-strip{contain:layout paint;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.product-dashboard-strip>*,.product-toolbar,.product-list,.app-product-card,.report-metric-grid,.report-panel,.daily-profit-list,.sales-history-list,.sale-history-card,.profit-sale-card{contain:layout paint;min-width:0;max-width:100%;overflow-x:hidden}.product-app-header,.product-toolbar,.app-summary-card,.app-product-card,.report-metric-card,.report-panel,.daily-profit-row,.sale-history-card,.sale-profit-grid div{contain:layout paint;box-shadow:none;background-clip:padding-box;transform:translateZ(0)}.app-summary-card span,.app-summary-card strong,.report-metric-card span,.report-metric-card strong,.sale-profit-grid span,.sale-profit-grid strong{text-overflow:ellipsis;min-width:0;overflow:hidden}.app-summary-card span,.app-summary-card strong,.report-metric-card span,.report-metric-card strong{white-space:nowrap}.product-filter-tabs,.report-quick-filter{overscroll-behavior-x:contain;min-width:0;max-width:100%}.profit-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-profit-row,.sale-profit-grid{grid-template-columns:1fr}.sale-history-main,.sale-history-actions{min-width:0}.sale-history-card{gap:10px;padding:10px}.sale-history-main>div{min-width:0}.sale-history-main strong{font-size:18px}.sale-history-no,.sale-history-meta,.sale-history-detail span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sale-history-detail{gap:4px;font-size:12px}.sale-history-actions{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.sale-history-actions>.status-pill{justify-content:center;align-self:stretch;min-height:38px;padding-inline:12px}.sale-history-action-buttons{grid-template-columns:repeat(auto-fit,minmax(58px,1fr));justify-content:stretch;gap:6px;display:grid}.sale-history-action-button{flex-direction:column;gap:2px;min-height:38px;padding:5px 6px;font-size:11px;line-height:1.05}.sale-history-action-button svg{width:15px;height:15px}.sale-history-action-button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.profit-sale-card{gap:10px}.sale-profit-grid{gap:6px}.sale-profit-grid div{min-height:46px;padding:7px 9px}.accounting-document{min-width:0;max-width:100%;box-shadow:none;gap:10px;padding:12px;overflow:hidden}.accounting-document-business{grid-template-columns:36px minmax(0,1fr);gap:8px;margin-bottom:4px;padding-bottom:8px}.accounting-document-business>span,.accounting-document-business>img{width:36px;height:28px}.accounting-document-business strong{font-size:14px}.accounting-document-business small{font-size:11px}.accounting-document-title h2{font-size:18px}.accounting-document-title p,.accounting-document-title span{font-size:12px}.document-summary-strip{grid-template-columns:minmax(0,1fr)}.accounting-table-scroll{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}.accounting-document-table{min-width:560px;font-size:12px}.journal-table,.ledger-table{min-width:760px}.accounting-document-table th,.accounting-document-table td{padding:7px 6px}.desktop-accounting-document-view{display:none}.mobile-accounting-document-view{gap:10px;width:100%;min-width:0;max-width:100%;display:grid;overflow:visible}.mobile-document-section{padding:8px}.mobile-document-section-heading h3{font-size:13px}.mobile-document-section-heading strong,.mobile-document-subtotal strong,.mobile-document-grand-total strong{font-size:14px}.mobile-accounting-card{box-shadow:none;gap:8px;padding:9px}.mobile-accounting-main strong{font-size:13px}.mobile-accounting-pair-grid.three{grid-template-columns:minmax(0,1fr)}.mobile-document-grand-total{padding:10px}.mobile-journal-footer .document-link-button{justify-content:center;width:100%;margin-left:0}.voucher-viewer-backdrop{z-index:140;align-items:stretch;padding:0}.voucher-viewer-modal{border:0;border-radius:0;width:100%;height:100dvh}.voucher-viewer-toolbar{z-index:3;padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px;grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid;position:relative}.voucher-viewer-toolbar>div:first-child{min-width:0}.voucher-viewer-toolbar h2{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.voucher-viewer-toolbar p{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.voucher-viewer-actions .primary-action span{display:none}.voucher-print-settings{z-index:2;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 12px;position:relative}.voucher-print-settings span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.voucher-print-settings .touch-input{min-height:36px;padding:0 8px;font-size:12px}.voucher-viewer-frame{overscroll-behavior:contain;width:100%;min-width:0;max-width:100%;padding:12px;overflow:auto}.journal-voucher-page{width:100%;max-width:100%;min-height:auto;padding:clamp(14px, 4vw, var(--voucher-margin,12mm));gap:10px;margin:0;box-shadow:0 8px 28px #0f172a33}.journal-voucher-header{grid-template-columns:minmax(0,1fr);gap:8px}.journal-voucher-company{grid-row:auto;grid-template-columns:42px minmax(0,1fr)}.journal-voucher-logo-mark,.journal-voucher-logo-image{width:42px;height:34px}.journal-voucher-header h1{text-align:left;font-size:clamp(18px, 5vw, calc(var(--voucher-font-size,12px) * 1.85));grid-column:1}.journal-voucher-header p{text-align:left;grid-column:1}.journal-voucher-info{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-voucher-info div{min-height:40px;padding:6px}.journal-voucher-table{table-layout:fixed;font-size:11px;line-height:1.35}.journal-voucher-table th,.journal-voucher-table td{word-break:break-word;padding:5px}.journal-voucher-table .amount-cell{white-space:normal;width:24%}.journal-voucher-signatures{grid-template-columns:minmax(0,1fr);gap:8px}.journal-voucher-signatures div{min-height:62px;padding:8px}.receipt-print-modal.report-receipt-modal{border:0;border-radius:0;gap:0;width:100%;height:100dvh;max-height:100dvh;padding:0}.receipt-print-backdrop{z-index:140;padding:0}.receipt-print-modal.report-receipt-modal .pos-drawer-header{z-index:3;padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px;border-bottom:1px solid var(--line);background:#fff;position:relative}.receipt-print-modal.report-receipt-modal .report-receipt-controls{z-index:2;border-bottom:1px solid var(--line);background:#fff;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;padding:6px 12px;position:relative}.receipt-print-modal.report-receipt-modal .report-receipt-select-field{gap:3px}.receipt-print-modal.report-receipt-modal .report-receipt-select-field>span{font-size:11px}.receipt-print-modal.report-receipt-modal .report-receipt-select.ant-select-single .ant-select-selector{min-height:36px}.receipt-print-modal.report-receipt-modal .bluetooth-printer-panel,.receipt-print-modal.report-receipt-modal .bluetooth-printer-messages{margin:6px 12px 0}.report-receipt-format-switcher,.report-receipt-template-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}.report-receipt-actions{width:100%;padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#fff;grid-template-columns:minmax(0,1fr);justify-self:stretch}.report-receipt-modal-with-bluetooth .report-receipt-actions{grid-template-columns:46px minmax(0,1fr) minmax(0,1fr);gap:8px}.report-receipt-modal-with-bluetooth .receipt-action-icon-button{min-width:42px}.receipt-print-modal.report-receipt-modal .receipt-preview-scroll{border-left:0;border-right:0;border-radius:0}.receipt-a4-document{gap:10px;width:100%;min-height:auto;padding:0;font-size:11px}.receipt-a4-page{aspect-ratio:210/297;width:100%;min-height:auto;padding:16px}.receipt-a4-header,.receipt-a4-bottom,.receipt-a4-footer{grid-template-columns:minmax(0,1fr)}.receipt-a4-title{text-align:left}.receipt-a4-info-grid,.receipt-a4-customer-box{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-a4-table{table-layout:fixed;font-size:10px}.receipt-a4-table th,.receipt-a4-table td{word-break:break-word;padding:5px}.receipt-a4-table .amount-cell{white-space:normal}.receipt-a4-classic{gap:0;font-size:9.5px}.receipt-a4-classic-page{padding:12px}.receipt-a4-classic-header{grid-template-columns:minmax(0,1fr);gap:6px}.receipt-a4-classic-brand{grid-area:auto;grid-template-columns:48px minmax(0,1fr)}.receipt-a4-logo-mark{width:42px;height:34px;font-size:22px}.receipt-a4-logo-image{width:42px;height:34px}.receipt-a4-copy-box,.receipt-a4-classic-title{grid-area:auto;min-height:32px}.receipt-a4-copy-box{justify-self:start;width:116px}.receipt-a4-classic-meta,.receipt-a4-classic-lower{grid-template-columns:minmax(0,1fr)}.receipt-a4-classic-meta>div+div,.receipt-a4-classic-lower>*+*{border-left:1px solid #111827}.receipt-a4-classic-table{font-size:9px}.receipt-a4-classic-table th,.receipt-a4-classic-table td{padding:4px}.receipt-a4-classic-table tbody tr:not(.receipt-a4-classic-table-fill){height:auto}.receipt-a4-classic-table-fill{min-height:120px}.receipt-a4-classic-footer span:after{width:120px}.product-editor-backdrop{align-items:stretch;padding:0}.product-editor-panel{border:0;border-radius:0;width:100%;height:100dvh}.product-editor-header{align-items:center;padding:10px 12px}.product-editor-title h2{font-size:17px}.product-editor-title p{font-size:12px}.product-editor-icon,.section-title-icon{flex-basis:38px;width:38px;height:38px}.product-type-segment{gap:6px;padding:10px 12px}.product-type-segment button{min-height:42px;font-size:13px}.product-editor-body{gap:10px;padding:10px 10px 14px}.product-editor-section,.app-recipe-editor{gap:10px;padding:10px}.product-units-heading{grid-template-columns:minmax(0,1fr)}.product-unit-add-button{justify-content:center;width:100%}.product-unit-option-grid,.product-serial-grid{grid-template-columns:minmax(0,1fr)}.product-unit-option-flags{align-items:stretch}.product-form-grid{grid-template-columns:minmax(0,1fr)}.product-code-field,.product-name-field,.product-category-field,.product-unit-field,.product-barcode-field{grid-column:1/-1}.product-code-input-row,.product-barcode-input-row{grid-template-columns:minmax(0,1fr)}.product-code-actions{grid-template-columns:minmax(0,1fr) 52px;min-width:0;display:grid}.product-code-generate-button{justify-content:center}.product-barcode-fill-button{justify-content:center;width:100%}.compact-checkbox{flex:calc(50% - 6px);justify-content:center}.product-image-preview{min-height:120px}.recipe-editor-header{flex-direction:column;align-items:stretch}.recipe-editor-header .secondary-action{width:100%}.product-editor-footer{padding:10px 12px calc(14px + env(safe-area-inset-bottom,0px));z-index:2;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);position:relative}.product-master-edit-modal{max-width:calc(100vw - 20px)}.product-master-modal-actions{grid-template-columns:minmax(0,1fr)}}@media (min-width:900px){.app-shell{grid-template-rows:64px 1fr;grid-template-columns:232px 1fr;padding-bottom:0;display:grid}.app-header{grid-column:1/3;padding:8px 18px}.side-nav{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:10px;padding:14px;display:flex;overflow:auto}.side-nav-section{gap:4px;display:grid}.side-nav-section+.side-nav-section{border-top:1px solid #eef2f7;padding-top:8px}.side-nav-section-label{color:#8a96a8;padding:0 12px 2px;font-size:11px;font-weight:700;line-height:1.2}.nav-link{border-radius:8px;gap:10px;min-height:44px;padding:0 12px;font-size:14px}.nav-link:hover{background:#f1f6ff}.app-content{min-width:0;padding:20px}.mobile-menu-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.app-shell:has(.pos-workspace) .app-content{height:calc(100dvh - 64px);padding:10px 12px}.bottom-nav{display:none}.desktop-only{display:inline-grid}.brand-name,.context-primary,.brand-meta,.context-secondary{max-width:240px}.context-pill{width:280px;max-width:280px}.context-store-select{max-width:220px}.product-list{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.app-product-list{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}.products-desktop-table{display:block}.product-mobile-list{display:none}.product-dashboard-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.product-toolbar{grid-template-columns:minmax(360px,1fr) auto;align-items:center}.product-master-form{grid-template-columns:minmax(160px,.8fr) minmax(220px,1.2fr) minmax(100px,.35fr) minmax(120px,auto);align-items:end}.product-master-form.has-extra-fields{grid-template-columns:minmax(140px,.7fr) minmax(190px,1fr) minmax(150px,.6fr) minmax(92px,.35fr) minmax(120px,auto)}.product-filter-tabs{justify-content:flex-end}.product-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-metric-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.product-row{grid-template-columns:44px minmax(0,1fr) auto}.product-actions{flex-direction:column;grid-column:auto;align-items:flex-end}.sheet-backdrop{align-items:center}.product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-type-segment{grid-template-columns:repeat(4,minmax(0,1fr))}.product-editor-grid{grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-template-areas:"main image""units image""side image""stock image";align-items:start}.product-editor-main{grid-area:main}.product-editor-image{grid-area:image}.product-editor-side{grid-area:side}.product-editor-units{grid-area:units}.product-editor-stock{grid-area:stock}.product-price-grid,.product-editor-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-editor-footer{grid-template-columns:minmax(160px,auto) minmax(220px,auto);justify-content:flex-end}.recipe-cost-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.recipe-line-card,.app-recipe-line-card{grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(120px,.8fr)) minmax(150px,.8fr) 48px;align-items:end}.recipe-line-cost{min-height:52px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.notification-form-grid{grid-template-columns:minmax(150px,180px) minmax(0,1fr)}.settings-logo-editor{grid-template-columns:220px minmax(0,1fr);align-items:center}.settings-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-save-bar{grid-template-columns:minmax(0,1fr) minmax(220px,auto);align-items:center;bottom:20px}.report-filter-grid{grid-template-columns:minmax(180px,220px) minmax(180px,220px) minmax(180px,auto);align-items:end}.report-quick-filter{justify-content:flex-start}.accounting-filter-grid{grid-template-columns:minmax(150px,180px) minmax(150px,180px) minmax(240px,1fr) minmax(150px,auto)}.report-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profit-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sales-list-filter-grid{grid-template-columns:minmax(220px,1.1fr) minmax(200px,1fr) minmax(180px,.8fr) minmax(200px,1fr);align-items:end}.payment-summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.daily-profit-row{grid-template-columns:minmax(180px,1.1fr) repeat(3,minmax(130px,.8fr));align-items:center}.sale-profit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.accounting-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start}:is(.accounting-grid:has(.journal-document),.accounting-grid:has(.trial-balance-document)),.statement-grid,.accounting-single-panel,.chart-accounts-panel{grid-template-columns:minmax(0,1fr)}.chart-account-form{grid-template-columns:minmax(110px,.7fr) minmax(180px,1.2fr) minmax(130px,.7fr) minmax(180px,1fr) minmax(140px,auto) minmax(130px,auto);align-items:end}.chart-account-row{grid-template-columns:minmax(220px,1.1fr) minmax(280px,1fr) auto;align-items:center}.chart-account-row:has(.compact-toggle){grid-template-columns:minmax(120px,.6fr) minmax(200px,1fr) minmax(140px,.7fr) minmax(200px,1fr) minmax(120px,auto) minmax(110px,auto) auto;align-items:end}.chart-account-actions{justify-content:flex-end}.period-card-list{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-journal-line{grid-template-columns:minmax(220px,1.2fr) minmax(180px,1fr) minmax(120px,.6fr) minmax(120px,.6fr) 48px;align-items:end}.manual-journal-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.sale-history-card{grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr) auto;align-items:center}.sales-table-desktop{display:grid}.sales-card-list{display:none}.sale-history-actions{justify-content:flex-end}.inventory-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-tab-strip{justify-content:flex-start}.inventory-tab-button{flex:none;min-width:190px}.stock-balance-list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.goods-receipt-card{grid-template-columns:minmax(0,1.1fr) minmax(260px,.8fr) auto;align-items:center}.stock-balance-detail{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-filter-grid{grid-template-columns:minmax(220px,1fr) minmax(180px,220px) minmax(180px,220px) minmax(180px,auto);align-items:end}.inventory-movement-filter-grid{grid-template-columns:minmax(320px,460px) minmax(170px,210px) minmax(170px,210px) 180px;justify-content:start}.inventory-movement-filter-grid .report-apply-button{min-height:48px}.inventory-receipt-filter-grid{grid-template-columns:minmax(180px,220px) minmax(180px,220px) minmax(180px,auto)}.receiving-header-grid{grid-template-columns:minmax(0,1fr) 180px}.receiving-modal-grid{grid-template-columns:minmax(0,1fr) minmax(320px,360px);align-items:start}.receiving-summary-section{position:sticky;top:0}.receiving-line-grid{grid-template-columns:minmax(160px,1fr) repeat(3,minmax(120px,150px))}.receiving-total-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.receiving-total-row{grid-column:1/-1}.pos-layout{grid-template-columns:minmax(0,1fr) minmax(380px,420px);align-items:stretch}.pos-product-panel{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(230px,auto);align-items:start}.pos-product-panel>.search-control,.pos-category-row,.pos-product-grid{grid-column:1/-1}.pos-view-switcher{width:76px;min-width:76px}.pos-desktop-cart{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:auto auto minmax(0,1fr) auto;height:100%;max-height:none;padding:14px;display:grid;position:relative;top:auto;overflow:hidden;box-shadow:0 10px 28px #17203314}.pos-desktop-cart .pos-cart-list{min-height:0;padding-right:2px;overflow:auto}.pos-product-grid.view-grid{grid-template-columns:minmax(0,1fr)}.pos-product-grid.view-card{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.pos-product-grid.view-card .pos-product-tile{min-height:112px}.pos-workspace{padding-bottom:82px}.pos-payment-bar{grid-template-columns:minmax(0,1fr) minmax(112px,auto) minmax(132px,auto) minmax(180px,auto);grid-template-areas:"total hold history pay";bottom:20px;left:252px;right:20px}.pos-bar-total{display:grid}.pos-history-button,.pos-hold-button{flex-direction:row}.pos-bar-cart-button{display:none}.pos-bar-pay-button{grid-area:pay;display:inline-flex}.pos-drawer-backdrop{display:none}}.finance-workspace{flex-direction:column;gap:16px;display:flex}.finance-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.finance-tabs .ant-tabs-nav{margin-bottom:12px}.finance-panel{flex-direction:column;gap:14px;display:flex}.finance-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.finance-card{border-radius:8px}.finance-module-notice{color:#874d00;background:#fff7e6;border:1px solid #ffd591;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:600}.finance-payment-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:1fr auto;gap:8px 16px;margin-bottom:14px;padding:12px;display:grid}.finance-payment-summary span{color:#64748b;font-size:13px}.finance-cheque-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.finance-cheque-grid .ant-form-item:last-child{grid-column:1/-1}.finance-document-preview-modal{z-index:220}.finance-document-modal-actions{align-items:center;gap:8px;display:flex}.finance-a4-table th:first-child{width:46px}.finance-a4-table th:nth-child(3),.finance-a4-table th:nth-child(4){width:88px}.finance-a4-table th:nth-child(5),.finance-a4-table th:nth-child(6),.finance-a4-table th:nth-child(7){width:104px}.full-width-control{width:100%}@media (max-width:760px){.finance-header{flex-direction:column;align-items:stretch}.finance-header .ant-btn{min-height:44px}.finance-summary-grid{grid-template-columns:1fr}.finance-card .ant-card-head{flex-direction:column;align-items:flex-start;gap:8px}.finance-card .ant-card-extra{width:100%;margin-inline-start:0}.finance-card .ant-card-extra .ant-btn{width:100%;min-height:44px}.finance-payment-modal{max-width:calc(100vw - 20px);top:12px}.finance-document-preview-modal{border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;inset:0}.finance-document-preview-modal .pos-drawer-header{z-index:2;background:#fff;position:sticky;top:0}.finance-document-modal-actions .ant-btn span{display:none}.finance-cheque-grid{grid-template-columns:1fr}}.inventory-serial-filter-grid{grid-template-columns:minmax(260px,1.5fr) minmax(220px,1fr) minmax(180px,.75fr) auto}.inventory-serial-search-field{min-width:0}.compact-search-control{background:#fff;border:1px solid #d7e2f2;border-radius:8px;height:44px}.compact-search-control input{min-width:0}.serial-status-pill{color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #d7e2f2;border-radius:999px;justify-content:center;align-items:center;width:fit-content;min-height:24px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-flex}.serial-status-pill.in-stock,.serial-status-pill.returned{color:#15803d;background:#ecfdf3;border-color:#bbf7d0}.serial-status-pill.sold{color:#0f62d4;background:#eff6ff;border-color:#bfdbfe}.serial-status-pill.voided,.serial-status-pill.written-off{color:#b91c1c;background:#fff1f2;border-color:#fecaca}.serial-status-pill.in-transit,.serial-status-pill.issued-internal{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.serial-card-list{gap:10px}.serial-card{background:#fff;border:1px solid #dbe7f6;border-radius:10px;gap:10px;padding:12px;display:grid;box-shadow:0 8px 20px #0f172a0a}.serial-card-main,.serial-card-detail{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.serial-card-main>div,.serial-card-detail{min-width:0}.serial-card-main strong{color:#0f172a;font-size:15px;font-weight:700;display:block}.serial-card-main span,.serial-card-detail span{color:#64748b;font-size:12px;line-height:1.4}.serial-card-detail{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.serial-card .secondary-action{width:100%;min-height:40px}.serial-detail-modal .ant-modal-content{border-radius:12px;padding:18px}.serial-detail-title{gap:2px;display:grid}.serial-detail-title span{color:#0f172a;font-size:18px;font-weight:700}.serial-detail-title small{color:#64748b;font-size:13px}.serial-detail-content{gap:16px;display:grid}.serial-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.serial-detail-grid>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;gap:3px;min-width:0;padding:10px;display:grid}.serial-detail-wide{grid-column:1/-1}.serial-detail-grid span,.serial-detail-grid small{color:#64748b;font-size:12px}.serial-detail-grid strong{color:#0f172a;font-size:14px;font-weight:700}.serial-section-title{color:#0f172a;align-items:center;gap:8px;display:flex}.serial-timeline{gap:10px;display:grid}.serial-timeline-row{background:#fff;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:14px minmax(0,1fr);gap:10px;padding:10px;display:grid}.serial-timeline-marker{background:#1677ff;border-radius:999px;width:10px;height:10px;margin-top:5px;box-shadow:0 0 0 4px #e8f2ff}.serial-timeline-row strong,.serial-timeline-row span,.serial-timeline-row small{display:block}.serial-timeline-row strong{color:#0f172a;font-size:14px}.serial-timeline-row span,.serial-timeline-row small{color:#64748b;font-size:12px}.compact-empty-state{min-height:96px}.warranty-case-section,.warranty-case-list,.warranty-case-form{gap:12px;display:grid}.warranty-case-title{justify-content:space-between;gap:12px}.warranty-case-title>div{align-items:center;gap:8px;min-width:0;display:inline-flex}.compact-action{border-radius:8px;min-height:34px;padding:6px 10px}.warranty-case-card{background:#fff;border:1px solid #dbe7f6;border-radius:10px;gap:10px;padding:12px;display:grid;box-shadow:0 8px 20px #0f172a0a}.warranty-case-card-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.warranty-case-card-header>div{gap:2px;min-width:0;display:grid}.warranty-case-card strong{color:#0f172a;font-weight:700}.warranty-case-card span,.warranty-case-card p,.warranty-case-note{color:#64748b;font-size:12px;line-height:1.45}.warranty-case-card p{color:#334155;margin:0;font-size:13px}.warranty-case-meta,.warranty-case-note{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.warranty-case-note{background:#f8fafc;border-radius:8px;grid-template-columns:1fr;padding:8px}.serial-status-pill.case-open,.serial-status-pill.case-in-progress{color:#0f62d4;background:#eff6ff;border-color:#bfdbfe}.serial-status-pill.case-waiting-customer,.serial-status-pill.case-waiting-supplier{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.serial-status-pill.case-resolved{color:#15803d;background:#ecfdf3;border-color:#bbf7d0}.serial-status-pill.case-cancelled{color:#b91c1c;background:#fff1f2;border-color:#fecaca}.warranty-case-modal .ant-modal-content{border-radius:12px;padding:18px}.warranty-case-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.warranty-case-form-grid .ant-form-item{min-width:0;margin-bottom:0}.warranty-case-form-grid .ant-form-item-label{padding-bottom:5px}.warranty-case-form-grid .ant-form-item-label>label{color:#475569;font-size:12px;font-weight:700}.warranty-case-form-grid .ant-input,.warranty-case-form-grid .ant-picker,.warranty-case-form-grid .ant-select-selector{background:#fff;width:100%;min-height:44px;border-color:#d7e2f2!important;border-radius:8px!important}.warranty-case-form-grid .ant-select-single{height:44px}.warranty-case-date-input,.warranty-case-ant-select{width:100%}.warranty-case-textarea{resize:vertical;min-height:92px!important}.warranty-case-form-wide{grid-column:1/-1}.warranty-case-modal-actions{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding-top:4px;display:grid}@media (max-width:760px){.inventory-serial-filter-grid{grid-template-columns:1fr}.serial-detail-modal{max-width:calc(100vw - 20px)}.serial-detail-modal .ant-modal-content{max-height:calc(100dvh - 24px);overflow:auto}.serial-detail-grid{grid-template-columns:1fr}.warranty-case-card-header,.warranty-case-title{flex-direction:column;align-items:stretch}.warranty-case-meta,.warranty-case-form-grid,.warranty-case-modal-actions{grid-template-columns:1fr}.warranty-case-modal{max-width:calc(100vw - 20px)}.warranty-case-modal .ant-modal-content{max-height:calc(100dvh - 24px);overflow:auto}}
