@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";.searchable-select-container{position:relative;width:100%;font-size:13px;outline:none}.searchable-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;height:36px;min-height:36px;padding:0 10px;background:#fff;border:1px solid #d1d5db;border-radius:7px;color:#1e202f;cursor:pointer;transition:all .18s ease;-webkit-user-select:none;user-select:none;box-sizing:border-box}.searchable-select-container:focus .searchable-select-trigger,.searchable-select-container.is-open .searchable-select-trigger{border-color:#6366f1;box-shadow:0 0 0 2px #6366f11f}.searchable-select-trigger.is-placeholder{color:#94a3b8}.searchable-select-label{display:inline-flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:500}.select-badge-prefix{font-size:10px;font-weight:700;color:#6366f1;background:#eef2ff;padding:2px 6px;border-radius:4px;white-space:nowrap;flex-shrink:0}.select-sublabel{font-size:11px;color:#64748b;font-weight:400;white-space:nowrap}.searchable-select-icons{display:flex;align-items:center;gap:5px;flex-shrink:0}.select-clear-btn{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;border:0;background:#f1f5f9;color:#64748b;cursor:pointer;padding:0;transition:all .15s}.select-clear-btn:hover{background:#e2e8f0;color:#0f172a}.select-chevron{color:#94a3b8;transition:transform .2s ease}.select-chevron.rotate-180{transform:rotate(180deg);color:#6366f1}.searchable-select-container.is-disabled{opacity:.6;cursor:not-allowed}.searchable-select-container.is-disabled .searchable-select-trigger{cursor:not-allowed;background:#f8fafc}.searchable-select-dropdown{position:fixed;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 20px 45px #0f172a38,0 4px 14px #00000014;z-index:99999;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box;animation:deleteModalPopIn .18s cubic-bezier(.16,1,.3,1)}.searchable-select-search{display:flex;align-items:center;gap:9px;padding:10px 14px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.searchable-select-search .search-icon{color:#94a3b8;flex-shrink:0}.searchable-select-search .search-input{flex:1;border:0;outline:none;background:transparent;font-size:13px;color:#0f172a;padding:2px 0;font-weight:500}.searchable-select-search .search-clear{background:none;border:0;color:#94a3b8;cursor:pointer;display:grid;place-items:center;padding:2px}.searchable-select-search .search-clear:hover{color:#475569}.searchable-select-list{flex:1 1 auto;min-height:40px;overflow-y:auto;padding:6px;overscroll-behavior:contain}.searchable-select-list::-webkit-scrollbar{width:6px}.searchable-select-list::-webkit-scrollbar-track{background:#f8fafc;border-radius:3px}.searchable-select-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.searchable-select-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.searchable-select-empty{padding:20px;text-align:center;font-size:13px;color:#94a3b8}.select-optgroup{margin-bottom:6px}.select-optgroup-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#4338ca;padding:8px 12px 4px;background:#f1f5f9;border-radius:6px;margin:4px 0 3px}.select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:8px;cursor:pointer;transition:all .15s ease;font-size:13px;color:#1e293b;margin-bottom:2px}.select-option:hover,.select-option.is-highlighted{background:#f1f5f9;color:#0f172a}.select-option.is-selected{background:#eef2ff;color:#3730a3;font-weight:600}.option-text-wrap{display:flex;flex-direction:column;gap:3px;min-width:0}.option-main-label{font-size:13px;font-weight:600;color:#0f172a;line-height:1.4;overflow:hidden;text-overflow:ellipsis}.option-sublabel{font-size:11px;font-weight:700;color:#4f46e5;background:#eef2ff;padding:2px 8px;border-radius:5px;width:fit-content;margin-top:2px;display:inline-block}.option-check{color:#4f46e5;flex-shrink:0}.popup-table-footer{flex:0 0 auto;position:sticky;bottom:0;z-index:5;background:#fffffff7;border-top:1px solid #e5e4eb;box-shadow:0 -5px 16px #2c304e14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.popup-table-footer__scrollbar{height:15px;overflow-x:auto;overflow-y:hidden;padding:2px 5px 0;scrollbar-width:thin;scrollbar-color:#aaa7c1 #f1f0f7}.popup-table-footer__scrollbar::-webkit-scrollbar{height:10px}.popup-table-footer__scrollbar::-webkit-scrollbar-track{background:#f1f0f7;border-radius:6px}.popup-table-footer__scrollbar::-webkit-scrollbar-thumb{background:#aaa7c1;border-radius:6px}.popup-table-footer__scrollbar::-webkit-scrollbar-thumb:hover{background:#7c7897}.popup-table-footer__scrollbar-spacer{height:1px;min-width:100%}.popup-table-footer__pagination{padding:10px 16px}.deposit-table-scroll,.receivable-due-table-scroll{scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.deposit-table-scroll::-webkit-scrollbar,.receivable-due-table-scroll::-webkit-scrollbar{width:8px;height:8px}.deposit-table-scroll::-webkit-scrollbar-track,.receivable-due-table-scroll::-webkit-scrollbar-track{background:#f8fafc;border-radius:4px}.deposit-table-scroll::-webkit-scrollbar-thumb,.receivable-due-table-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.deposit-table-scroll::-webkit-scrollbar-thumb:hover,.receivable-due-table-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}.excel-menu{position:fixed;z-index:99999;width:320px;max-height:calc(100vh - 24px);background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 25px -5px #0f172a2e,0 8px 10px -6px #0f172a1a;font-family:inherit;font-size:13px;color:#1e293b;display:flex;flex-direction:column;overflow:hidden;animation:excelMenuFadeIn .15s cubic-bezier(.16,1,.3,1)}.excel-th{position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;transition:background .15s}.excel-th:hover{background:#3b82f614!important}.excel-th__inner{display:inline-flex;align-items:center;gap:6px;width:100%;justify-content:space-between}.excel-th__label{flex:1;white-space:nowrap}.excel-th__icons{display:inline-flex;align-items:center;gap:3px;flex-shrink:0}.excel-th__sort{color:#3b82f6;display:inline-flex;align-items:center}.excel-th__filter{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;color:#94a3b8;border:none;background:transparent;cursor:pointer;padding:0;transition:all .15s}.excel-th__filter:hover{background:#3b82f626;color:#2563eb}.excel-th__filter.is-filtered{background:#3b82f6;color:#fff;box-shadow:0 1px 4px #3b82f666}.excel-quick-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#fff;border-bottom:1px solid var(--border-color, #e2e8f0);gap:12px;flex-wrap:wrap}.sales-detail-ledger-status-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:8px 16px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:12px;color:#475569}.excel-status-bar__left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.excel-status-bar__right{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-family:inherit}.excel-status-bar__stat{display:inline-flex;align-items:center;gap:4px}.excel-status-bar__stat strong{color:#0f172a;font-weight:600}.excel-status-bar__clear-btn{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:4px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:11px;cursor:pointer;transition:all .15s}.excel-status-bar__clear-btn:hover{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.debt-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:20px 0}.debt-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px}.debt-filters input,.debt-filters select{padding:9px;border:1px solid var(--border-color,#ccc);border-radius:6px;background:var(--bg-card,#fff);color:var(--text-primary,inherit)}.debt-filters select{max-width:360px}.debt-paper-scroll{overflow:auto}.debt-paper{min-width:1100px;background:#fff;color:#000;padding:24px;font:16px Times New Roman,serif}.debt-banner{display:block;width:85%;max-width:1100px;margin:0 auto 8px}.debt-paper h2{text-align:center;font-size:24px;margin:8px}.debt-customer{text-align:center;line-height:1.5}.debt-opening{margin-top:20px;font-style:italic;font-weight:700}.debt-paper table{border-collapse:collapse;width:100%;margin-top:16px;font-size:14px}.debt-paper th,.debt-paper td{border:1px solid #bbb;padding:5px;color:#000}.debt-paper th{background:#ffffed;white-space:nowrap}.debt-category{background:#fffbd0;font-weight:700}.debt-group{background:#efffff;font-weight:700}.debt-number{text-align:right;white-space:nowrap}.debt-sales-total{background:#ddd;font-weight:700}.debt-category-total{background:#fffbd0;font-weight:700}.debt-summary{display:grid;grid-template-columns:250px 130px;gap:6px 12px;margin-top:18px;font-weight:700;font-style:italic}.debt-summary strong{text-align:right}.debt-customer-filter{display:flex;flex-direction:column;gap:6px;min-width:320px;font-size:13px}.legacy-page-scope .modal-overlay.cdm-overlay,.cdm-overlay{padding:8px}.legacy-page-scope .modal-content.cdm-modal,.cdm-modal{width:calc(100vw - 16px);max-width:none;height:calc(100vh - 16px);max-height:none;display:flex;flex-direction:column;overflow:hidden}.cdm-page-shell{width:100%}.cdm-page{width:100%;min-height:calc(100vh - 190px);background:#fff;border:1px solid var(--border-color);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.cdm-page .cdm-close{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700}.cdm-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 26px 16px;border-bottom:1px solid var(--border-color)}.cdm-title{font-size:1.2rem;font-weight:800;color:var(--text-primary)}.cdm-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.cdm-badge-icon{display:inline-flex;align-items:center;gap:4px}.cdm-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.cdm-btn-edit{display:flex;align-items:center;gap:6px;font-size:.78rem;padding:6px 12px;color:#60a5fa}.cdm-close{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:4px;line-height:0}.cdm-close:hover{color:var(--text-primary)}.cdm-tabs{display:flex;gap:2px;padding:0 18px;border-bottom:1px solid var(--border-color);overflow-x:auto;scrollbar-width:none}.cdm-tabs::-webkit-scrollbar{display:none}.cdm-tab{background:transparent;border:none;border-bottom:2px solid transparent;color:var(--text-secondary);font:inherit;font-size:.83rem;font-weight:600;padding:12px 14px;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:6px}.cdm-tab:hover{color:var(--text-primary)}.cdm-tab.is-active{color:#60a5fa;border-bottom-color:#3b82f6}.cdm-tab-count{background:#3b82f633;color:#93c5fd;border-radius:10px;padding:1px 7px;font-size:.7rem;font-weight:700}.cdm-body{padding:22px 30px 30px;overflow-y:auto;flex:1}.cdm-loading{text-align:center;padding:48px 0;color:var(--text-muted)}.cdm-loading p{margin-top:10px;font-size:.86rem}.cdm-section-title{display:flex;align-items:center;gap:8px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#38bdf8;margin:22px 0 12px}.cdm-body>.cdm-section-title:first-child{margin-top:0}.cdm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px 18px}.cdm-grid--4{grid-template-columns:repeat(4,1fr)}.cdm-field{min-width:0}.cdm-field-wide{grid-column:1 / -1}.cdm-field-label{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;font-weight:700;letter-spacing:.03em}.cdm-field-value{font-size:.9rem;font-weight:600;color:var(--text-primary);margin-top:3px;word-break:break-word}.cdm-note{font-weight:400;line-height:1.5;white-space:pre-wrap}.cdm-empty{color:var(--text-muted);font-weight:400;font-style:italic}.cdm-muted{color:var(--text-muted);font-size:.8rem}.cdm-right{text-align:right}.cdm-amount{color:#34d399;font-weight:700}.cdm-link-text{color:#60a5fa}.cdm-chip-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:4px}.cdm-placeholder{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;padding:22px;color:var(--text-muted);font-size:.84rem;background:#ffffff05;border:1px dashed var(--border-color);border-radius:var(--radius-sm)}.cdm-table-wrap{overflow-x:auto;border:1px solid var(--border-color);border-radius:var(--radius-sm)}.cdm-table{width:100%;border-collapse:collapse;font-size:.82rem;min-width:720px}.cdm-table th{text-align:left;padding:9px 12px;background:#ffffff0a;color:var(--text-muted);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.cdm-table td{padding:10px 12px;border-top:1px solid rgba(255,255,255,.05);color:var(--text-primary);vertical-align:top}.cdm-table tbody tr:hover{background:#ffffff05}.cdm-col-actions{width:76px;white-space:nowrap;text-align:right}.cdm-icon-btn{background:transparent;border:1px solid var(--border-color);border-radius:6px;color:var(--text-secondary);cursor:pointer;padding:4px 6px;line-height:0;margin-left:4px}.cdm-icon-btn:hover{color:#60a5fa;border-color:#3b82f680}.cdm-icon-btn--danger:hover{color:#f87171;border-color:#f8717180}.cdm-link{display:inline-flex;align-items:center;gap:4px;color:#60a5fa;text-decoration:none}.cdm-link:hover{text-decoration:underline}.cdm-form-card{margin-top:20px;padding:16px 18px;background:#ffffff05;border:1px solid var(--border-color);border-radius:var(--radius-sm)}.cdm-form-card .cdm-section-title{margin-top:0}.cdm-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.cdm-form-wide{grid-column:1 / -1}.cdm-form-grid label{display:flex;flex-direction:column;gap:4px;min-width:0}.cdm-form-grid label>span{font-size:.7rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.cdm-form-grid input,.cdm-form-grid select{background:#ffffff0a;border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);font:inherit;font-size:.85rem;padding:8px 10px;width:100%}.cdm-form-grid input:focus,.cdm-form-grid select:focus{outline:none;border-color:var(--border-color-glow)}.cdm-form-grid select option{background:#111827}.cdm-form-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px}.cdm-check{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;color:var(--text-secondary);cursor:pointer}.cdm-form-actions{margin-left:auto;display:flex;gap:8px}.cdm-form-actions .btn{display:inline-flex;align-items:center;gap:2px}.cdm-error{margin-top:10px;color:#fca5a5;font-size:.82rem}.cdm-address-list{display:flex;flex-direction:column;gap:10px}.cdm-address{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px 14px;background:#ffffff05;border:1px solid var(--border-color);border-radius:6px}.cdm-address-text{font-size:.85rem;line-height:1.45;margin-top:5px;color:var(--text-primary)}.cdm-alert{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:var(--radius-sm);font-size:.85rem;margin-bottom:16px}.cdm-alert--danger{background:#ef444426;border:1px solid rgba(239,68,68,.4);color:#fca5a5}.cdm-alert--warn{background:#f59e0b26;border:1px solid rgba(245,158,11,.4);color:#fcd34d}.cdm-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cdm-kpi{padding:16px;border-radius:var(--radius-sm);border:1px solid var(--border-color)}.cdm-kpi--indigo{background:linear-gradient(135deg,#6366f11a,#6366f105);border-color:#6366f140}.cdm-kpi--green{background:linear-gradient(135deg,#10b9811a,#10b98105);border-color:#10b98140}.cdm-kpi--red{background:linear-gradient(135deg,#ef44441a,#ef444405);border-color:#ef444440}.cdm-kpi-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary)}.cdm-kpi-value{font-size:1.2rem;font-weight:800;margin-top:4px;color:var(--text-primary)}.cdm-kpi--indigo .cdm-kpi-value{color:#a5b4fc}.cdm-kpi--green .cdm-kpi-value{color:#34d399}.cdm-kpi--red .cdm-kpi-value{color:#f87171}.cdm-timeline{display:flex;flex-direction:column;gap:10px}.cdm-timeline .customer-timeline-item{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;background:#ffffff05;border:1px solid var(--border-color);border-radius:var(--radius-sm)}.cdm-timeline-icon{padding:6px;border-radius:6px;background:#3b82f626;color:#60a5fa;line-height:0}.cdm-timeline-body{flex:1;min-width:0}.cdm-timeline-title{font-weight:700;font-size:.87rem;color:var(--text-primary)}.cdm-timeline-title--order{display:flex;align-items:center;justify-content:space-between;gap:12px}.cdm-open-order-hint{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:#60a5fa;font-size:.75rem;font-weight:600}.cdm-timeline-time{font-size:.72rem;color:var(--text-muted);margin-top:4px}.cdm-referrer{padding:12px 14px;background:#ffffff05;border:1px solid var(--border-color);border-radius:6px;font-size:.85rem;margin-bottom:14px}@media(min-width:1500px){.cdm-address-list{display:grid;grid-template-columns:1fr 1fr}}@media(max-width:1100px){.legacy-page-scope .modal-content.cdm-modal,.cdm-modal{width:calc(100vw - 8px);height:calc(100vh - 8px);border-radius:10px}}@media(max-width:860px){.cdm-overlay{padding:0}.cdm-modal{height:100vh;border-radius:0}.cdm-header{padding:16px 18px 12px}.cdm-body{padding:16px 18px 22px}.cdm-grid--4{grid-template-columns:repeat(2,1fr)}.cdm-kpis,.cdm-address{grid-template-columns:1fr}}.customer-table{min-width:1080px;table-layout:fixed}.customer-table .customer-col-code{width:11%}.customer-table .customer-col-name{width:16%}.customer-table .customer-col-owner,.customer-table .customer-col-sales{width:12%}.customer-table .customer-col-address{width:26%}.customer-table .customer-col-status{width:10%}.customer-table .customer-col-actions{width:13%}.legacy-page-scope .data-table.customer-table th{padding:13px 16px;background:#f9f9fc;border-bottom:1px solid var(--line);color:#858899;font-size:10px;font-weight:700;letter-spacing:.05em}.legacy-page-scope .data-table.customer-table td{padding:13px 16px;border-bottom:1px solid #f0f0f5;color:var(--text-primary);font-size:12px;vertical-align:middle}.legacy-page-scope .data-table.customer-table tbody tr{transition:background .15s ease}.legacy-page-scope .data-table.customer-table tbody tr:hover{background:#fbfbfd}.customer-code{color:#4338ca;font-family:monospace;font-size:13px;font-weight:700}.customer-sort-button{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;cursor:pointer}.customer-sort-button svg{flex:0 0 auto;opacity:.5}.customer-sort-button:hover,.customer-sort-button:focus-visible,.customer-sort-button--active{color:#4338ca}.customer-sort-button:focus-visible{border-radius:3px;outline:2px solid rgba(67,56,202,.35);outline-offset:3px}.customer-sort-button--active svg{opacity:1}.customer-status-heading .customer-sort-button{margin-left:auto}.customer-table .customer-status-heading,.customer-table .customer-status-cell{padding-right:8px;text-align:right}.customer-table .customer-status-cell{white-space:nowrap}.customer-table .customer-actions-heading,.customer-table .customer-actions-cell{padding-left:8px;text-align:left}.legacy-page-scope .data-table.customer-table .customer-status-heading,.legacy-page-scope .data-table.customer-table .customer-status-cell{padding-right:8px}.legacy-page-scope .data-table.customer-table .customer-actions-heading,.legacy-page-scope .data-table.customer-table .customer-actions-cell{padding-left:8px}.customer-table .customer-status-badge{padding:4px 7px!important;font-size:10px!important;font-weight:700;letter-spacing:0}.customer-table .customer-status-badge.badge-green{border:1px solid #a7f3d0;background:#ecfdf5;color:#065f46}.customer-table .customer-status-badge.badge-amber{border:1px solid #fde68a;background:#fef3c7;color:#92400e}.customer-table .customer-status-badge.badge-rose{border:1px solid #fecdd3;background:#ffe4e6;color:#9f1239}.customer-table .customer-status-badge.badge-purple{border:1px solid #e2e8f0;background:#f1f5f9;color:#475569}.customer-action-grid{display:inline-grid;grid-template-columns:repeat(2,max-content);gap:6px}.legacy-page-scope .customer-table .customer-action-grid .btn{min-width:38px;padding:7px 12px;border-radius:7px;font-size:12px;font-weight:600}.customer-timeline-item--order{cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.customer-timeline-item--order:hover,.customer-timeline-item--order:focus-visible{background:#3b82f614!important;border-color:#3b82f666!important;outline:none;transform:translateY(-1px)}.customer-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #e2e8f0;color:#475569;font-size:13px}.customer-pagination-actions{display:flex;align-items:center;gap:12px}.customer-pagination-actions>span{color:#1e293b;font-weight:600;white-space:nowrap}@media(max-width:520px){.customer-pagination{align-items:stretch;flex-direction:column}.customer-pagination-actions .btn{flex:1}}@media(min-width:1440px){.customer-table{min-width:1160px}.customer-table .customer-col-code{width:12%}.customer-table .customer-col-name{width:15%}.customer-table .customer-col-sales{width:11%}.customer-table .customer-col-address{width:28%}.customer-table .customer-col-status{width:9%}.customer-table .customer-col-actions{width:13%}}.cust-profile-box{padding:16px;margin-top:16px;background:#ffffff05;border:1px solid var(--border-color);border-radius:var(--radius-sm)}.cust-profile-title{display:flex;align-items:center;gap:6px;font-weight:700;font-size:.85rem;color:#38bdf8;margin-bottom:12px}.cust-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 16px}.cust-profile-grid .form-group{margin-bottom:0}.cust-profile-wide{grid-column:1 / -1}.qf-page{display:flex;flex-direction:column;gap:22px;width:100%;max-width:1780px;margin:0 auto;padding-bottom:96px;animation:qf-fade-in .25s ease-out}@keyframes qf-fade-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.qf-hero{position:relative;overflow:hidden;border-radius:16px;padding:24px 28px;background:linear-gradient(130deg,#3b82f6,#4f46e5,#7c3aed);color:#fff;box-shadow:0 12px 32px #4f46e538;display:flex;align-items:center;gap:20px}.qf-hero:before{content:"";position:absolute;right:-50px;top:-70px;width:240px;height:240px;border-radius:50%;background:#ffffff1f;pointer-events:none}.qf-hero:after{content:"";position:absolute;right:120px;bottom:-90px;width:180px;height:180px;border-radius:50%;background:#ffffff14;pointer-events:none}.qf-hero-icon{width:54px;height:54px;border-radius:15px;background:#ffffff2e;border:1px solid rgba(255,255,255,.32);display:grid;place-items:center;flex:0 0 auto;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 6px 18px #00000014}.qf-hero-text{min-width:0;position:relative;z-index:1}.qf-hero-breadcrumb{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#ffffffc2;margin-bottom:6px}.qf-hero-breadcrumb button{background:none;border:0;padding:0;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;transition:color .15s ease}.qf-hero-breadcrumb button:hover{color:#fff;text-decoration:underline}.qf-hero-title-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.qf-hero-title{margin:0;font-size:23px;font-weight:800;letter-spacing:-.025em;color:#fff}.qf-hero-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;background:#ffffff38;border:1px solid rgba(255,255,255,.35);font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.qf-hero-badge-dot{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 8px #34d399;animation:qf-pulse 2s infinite ease-in-out}@keyframes qf-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.85)}}.qf-hero-desc{margin:5px 0 0;font-size:13px;color:#ffffffd9;line-height:1.45}.qf-hero-actions{margin-left:auto;position:relative;z-index:1;display:flex;align-items:center;gap:10px}.qf-hero-btn-back{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 16px;border-radius:10px;border:1px solid rgba(255,255,255,.35);background:#ffffff24;color:#fff;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:all .18s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.qf-hero-btn-back:hover{background:#ffffff42;transform:translate(-2px)}.qf-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:22px}@media(min-width:1600px){.qf-layout{grid-template-columns:minmax(0,1fr) 380px;gap:26px}}@media(max-width:1180px){.qf-layout{grid-template-columns:1fr}}.qf-main{display:flex;flex-direction:column;gap:20px;min-width:0}.qf-chips-wrapper{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:6px}.qf-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:11.5px;font-weight:600;cursor:pointer;transition:all .15s ease;-webkit-user-select:none;user-select:none}.qf-chip:hover{border-color:#cbd5e1;background:#fff;color:#2563eb;transform:translateY(-1px)}.qf-chip.is-active{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8;font-weight:700;box-shadow:0 2px 6px #3b82f626}.qf-table-container{overflow-x:auto;border:1px solid #e8eaf2;border-radius:12px;background:#fff;box-shadow:0 1px 4px #2c304e08}.qf-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;text-align:left}.qf-table thead th{background:#f8fafc;color:#475569;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:12px 14px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.qf-table tbody tr{transition:background-color .15s ease}.qf-table tbody tr:hover{background-color:#f8fafc}.qf-table tbody td{padding:10px 12px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.qf-table tbody tr:last-child td{border-bottom:none}.qf-col-index{width:44px;text-align:center;font-weight:700;color:#94a3b8;font-size:12px}.qf-col-sku{min-width:320px}.qf-uom-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:6px;background:#f1f5f9;border:1px solid #e2e8f0;color:#334155;font-size:12px;font-weight:700;white-space:nowrap;min-width:56px}.qf-input-num{width:100%;height:38px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:13px;font-weight:600;text-align:right;box-sizing:border-box;transition:all .15s ease}.qf-input-num:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}.qf-input-num--qty{min-width:72px;text-align:center;font-weight:700}.qf-input-num--price{min-width:115px}.qf-input-num--pct{min-width:64px;text-align:center}.qf-col-total{min-width:125px;text-align:right;font-weight:800;font-size:13.5px;color:#1e1b4b;white-space:nowrap}.qf-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}.qf-btn-icon{width:32px;height:32px;border-radius:8px;border:1px solid transparent;background:transparent;display:grid;place-items:center;color:#64748b;cursor:pointer;transition:all .15s ease}.qf-btn-icon:hover:not(:disabled){background:#f1f5f9;color:#1e293b}.qf-btn-icon--delete:hover:not(:disabled){background:#fee2e2;color:#ef4444;border-color:#fecaca}.qf-btn-icon:disabled{opacity:.35;cursor:not-allowed}.qf-table-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:#fcfcfd;border-top:1px solid #f1f5f9;border-radius:0 0 12px 12px}.qf-btn-add-line{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 16px;border-radius:9px;border:1.5px dashed #6366f1;background:#eef2ff;color:#4f46e5;font-size:13px;font-weight:700;cursor:pointer;transition:all .18s ease}.qf-btn-add-line:hover{background:#4f46e5;border-color:#4f46e5;color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #4f46e533}.qf-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center;color:#64748b}.qf-empty-icon{width:58px;height:58px;border-radius:16px;background:#f1f5f9;display:grid;place-items:center;color:#94a3b8;margin-bottom:12px}.qf-empty-title{font-size:14.5px;font-weight:700;color:#1e293b;margin:0 0 4px}.qf-empty-desc{font-size:12.5px;color:#64748b;margin:0 0 16px}.qf-aside{position:sticky;top:18px;display:flex;flex-direction:column;gap:16px}.qf-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 20px #0f172a0f;overflow:hidden;transition:box-shadow .2s ease}.qf-summary-head{padding:16px 20px;background:linear-gradient(135deg,#f8fafc,#edf2f7);border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.qf-summary-title{display:flex;align-items:center;gap:9px;font-size:14.5px;font-weight:800;color:#0f172a}.qf-summary-pill{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:#e2e8f0;color:#334155}.qf-summary-partner{padding:14px 20px;border-bottom:1px solid #f1f5f9;background:#fbfcfe;display:flex;flex-direction:column;gap:8px}.qf-summary-partner-item{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#64748b}.qf-summary-partner-item strong{color:#1e293b;font-weight:700;word-break:break-word}.qf-summary-body{padding:18px 20px;display:flex;flex-direction:column;gap:12px}.qf-summary-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#475569}.qf-summary-row span:first-child{display:flex;align-items:center;gap:6px}.qf-summary-row strong{font-weight:700;color:#0f172a}.qf-summary-row--discount strong{color:#059669}.qf-summary-row--tax strong{color:#d97706}.qf-summary-divider{height:1px;background:#e2e8f0;margin:4px 0}.qf-summary-grand{padding:14px;border-radius:12px;background:linear-gradient(135deg,#eef2ff,#faf5ff);border:1px solid #c7d2fe;display:flex;flex-direction:column;gap:4px}.qf-summary-grand-label{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#4338ca}.qf-summary-grand-amount{font-size:24px;font-weight:900;color:#312e81;letter-spacing:-.02em}.qf-summary-actions{padding:0 20px 20px;display:flex;flex-direction:column;gap:10px}.qf-btn-submit{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;height:44px;border-radius:11px;border:none;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 6px 18px #4f46e547;transition:all .2s ease}.qf-btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#4338ca,#4f46e5);transform:translateY(-2px);box-shadow:0 8px 24px #4f46e559}.qf-btn-submit:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.qf-btn-cancel{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;height:40px;border-radius:11px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:13px;font-weight:700;cursor:pointer;transition:all .16s ease}.qf-btn-cancel:hover{background:#f8fafc;color:#0f172a;border-color:#94a3b8}.qf-hint-box{padding:14px 16px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;color:#64748b;line-height:1.5}.qf-hint-box strong{color:#1e293b;display:block;margin-bottom:4px;font-size:12.5px}.qf-bottom-bar{position:fixed;bottom:0;left:var(--sidebar-width);right:0;z-index:25;display:flex;align-items:center;justify-content:space-between;padding:14px 36px;background:#ffffffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #e2e8f0;box-shadow:0 -4px 20px #0000000d;animation:qf-slide-up .25s ease-out}@keyframes qf-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.app-shell--collapsed .qf-bottom-bar{left:64px}@media(max-width:992px){.qf-bottom-bar{padding:12px 20px}}@media(max-width:760px){.qf-bottom-bar,.app-shell--collapsed .qf-bottom-bar{left:0}}.qf-bottom-bar-info{display:flex;align-items:center;gap:16px}.qf-bottom-bar-total{font-size:13px;color:#475569}.qf-bottom-bar-total strong{font-size:18px;font-weight:900;color:#4f46e5;margin-left:6px}.qf-bottom-bar-actions{display:flex;align-items:center;gap:10px}.qf-print-details{margin-top:24px;padding-top:20px;border-top:1px solid #e2e8f0}.qf-print-details h4{margin:0 0 4px;color:#1e293b;font-size:14px}.qf-print-details p{margin:0 0 16px;color:#64748b;font-size:12px}.qf-vat-controls{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.qf-vat-controls label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#334155}.qf-vat-controls input[type=number]{width:92px}.qf-customer-mode{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:10px}.qf-customer-mode label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#334155}.layout-page{display:grid;gap:18px}.layout-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.layout-toolbar .form-input,.layout-toolbar .form-select{width:auto;min-width:190px}.layout-toolbar-spacer{margin-left:auto}.layout-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.layout-card{display:grid;gap:10px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);cursor:pointer;text-align:left;font:inherit}.layout-card:hover{border-color:var(--primary)}.layout-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.layout-card-head h3{margin:0 0 3px;font-size:.98rem}.layout-card-head small{color:var(--text-secondary);font-size:.76rem}.layout-card-meta{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--text-secondary);font-size:.76rem}.layout-card-actions{display:flex;gap:6px}.layout-editor{position:relative;height:calc(100vh - 208px);min-height:440px}.layout-editor>.layout-canvas-wrap{height:100%}.layout-float{position:absolute;z-index:20;top:14px;width:236px;max-height:calc(100% - 28px);display:flex;flex-direction:column;background:#ffffffed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:13px;box-shadow:0 10px 30px #26284429;overflow:hidden}.layout-float-left{left:14px}.layout-float-right{right:14px}.layout-float-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #f0f0f5;background:transparent;color:var(--text-secondary);font:inherit;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;cursor:pointer}.layout-float-head.as-static{cursor:default}.layout-float-head span{display:inline-flex;align-items:center;gap:7px}.layout-float-head:not(.as-static):hover{color:var(--primary);background:#f8f7fe}.layout-float-close{display:grid;place-items:center;padding:3px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}.layout-float-close:hover{background:#fde9ec;color:#c04d5c}.layout-float-body{padding:12px;overflow-y:auto}.layout-float.is-collapsed .layout-float-body{display:none}.layout-float.is-collapsed{border-bottom-left-radius:13px;border-bottom-right-radius:13px}.layout-float.is-collapsed .layout-float-head{border-bottom:0}.layout-panel{padding:14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.layout-panel h4{margin:0 0 10px;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary)}.layout-palette{display:grid;grid-template-columns:1fr 1fr;gap:7px}.layout-palette-item{display:flex;align-items:center;gap:7px;padding:8px 9px;background:#f9f9fc;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:.74rem;font-weight:600;line-height:1.25;cursor:grab;text-align:left}.layout-palette-item svg{flex:none}.layout-palette-item:hover{border-color:var(--primary);background:#fff}.layout-palette-hint{margin-top:10px;color:var(--text-muted);font-size:.7rem;line-height:1.5}.layout-canvas-wrap{overflow:auto;padding:14px;background:#eef0f6;border:1px solid var(--line);border-radius:14px}.layout-editor>.layout-canvas-wrap{padding:0}.layout-editor>.layout-canvas-wrap>.layout-canvas{margin:14px auto}.layout-canvas{position:relative;margin:0 auto;background:#fff no-repeat center / 100% 100%;background-image:linear-gradient(#f1f2f7 1px,transparent 1px),linear-gradient(90deg,#f1f2f7 1px,transparent 1px);background-size:40px 40px;border:1px solid #d8dae5;transform-origin:top left}.layout-canvas.has-bg{background-image:none}.layout-canvas-bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.layout-item{position:absolute;display:grid;place-items:center;gap:2px;padding:4px;border:2px solid currentColor;border-radius:8px;background:#fff;overflow:hidden;cursor:move;-webkit-user-select:none;user-select:none}.layout-item.is-zone{background:transparent;border-style:dashed}.layout-item.is-readonly{cursor:pointer}.layout-item.is-selected{outline:2px solid var(--primary);outline-offset:2px}.layout-item.is-highlighted{animation:layout-pulse 1.1s ease-in-out infinite}.layout-item.is-unassigned{border-style:dotted;opacity:.75}.layout-item-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;color:var(--text-primary)}.layout-item-sub{font-size:9px;color:var(--text-secondary)}.layout-handle{position:absolute;width:10px;height:10px;background:#fff;border:2px solid var(--primary);border-radius:3px}.layout-handle-nw{top:-6px;left:-6px;cursor:nwse-resize}.layout-handle-ne{top:-6px;right:-6px;cursor:nesw-resize}.layout-handle-sw{bottom:-6px;left:-6px;cursor:nesw-resize}.layout-handle-se{bottom:-6px;right:-6px;cursor:nwse-resize}@keyframes layout-pulse{0%,to{box-shadow:0 0 #6558d38c}50%{box-shadow:0 0 0 10px #6558d300}}.layout-props{display:grid;gap:12px}.layout-props-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.layout-color-row{display:flex;flex-wrap:wrap;gap:6px}.layout-color-dot{width:22px;height:22px;border:2px solid transparent;border-radius:50%;cursor:pointer}.layout-color-dot.is-active{border-color:var(--text-primary)}.layout-ref-box{display:grid;gap:6px;padding:10px;background:#f9f9fc;border:1px solid var(--line);border-radius:9px;font-size:.78rem}.layout-ref-box strong{font-size:.85rem}.layout-editor-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.layout-dirty-flag{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#fff1db;color:#b67522;font-size:.74rem;font-weight:700}.layout-zoom{display:inline-flex;align-items:center;gap:4px}.layout-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px;background:#17192873}.layout-modal{width:min(560px,100%);max-height:86vh;overflow:auto;padding:22px;background:#fff;border-radius:16px;box-shadow:0 22px 60px #1e203c47}.layout-modal h3{margin:0 0 4px;font-size:1.05rem}.layout-modal p.layout-modal-sub{margin:0 0 16px;color:var(--text-secondary);font-size:.82rem}.layout-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.layout-bin-list{display:grid;gap:6px;max-height:300px;overflow:auto;margin-top:10px}.layout-bin-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;background:#f9f9fc;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:.8rem;cursor:pointer;text-align:left}.layout-bin-option:hover,.layout-bin-option.is-active{border-color:var(--primary);background:#fff}.layout-bin-option small{color:var(--text-secondary)}.layout-empty{display:grid;justify-items:center;gap:8px;padding:46px 20px;color:var(--text-secondary);text-align:center}@media(max-width:760px){.layout-editor{height:auto;display:grid;gap:12px}.layout-editor>.layout-canvas-wrap{height:62vh}.layout-float{position:static;width:auto;max-height:none;-webkit-backdrop-filter:none;backdrop-filter:none}}.layout-context-menu{position:fixed;z-index:70;min-width:210px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 40px #1e203c38}.layout-context-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:7px 10px 8px;border-bottom:1px solid #f0f0f5;margin-bottom:4px;font-size:.78rem;font-weight:700}.layout-context-title small{color:var(--text-muted);font-weight:600;white-space:nowrap}.layout-context-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:var(--text-primary);font:inherit;font-size:.8rem;text-align:left;cursor:pointer}.layout-context-menu button:hover:not(:disabled){background:#f4f3fd;color:var(--primary)}.layout-context-menu button:disabled{color:#b9bcca;cursor:default}.layout-context-menu button.is-danger:hover:not(:disabled){background:#fde9ec;color:#c04d5c}.layout-context-sep{height:1px;margin:4px 0;background:#f0f0f5}.layout-zoom-value{min-width:52px;padding:6px 4px;border:0;border-radius:7px;background:transparent;color:var(--text-primary);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.layout-zoom-value:hover{background:#f4f3fd;color:var(--primary)}.layout-page kbd,.layout-modal kbd{padding:1px 5px;border:1px solid #d8dae5;border-bottom-width:2px;border-radius:4px;background:#f9f9fc;font-family:inherit;font-size:.92em;font-weight:700}.layout-editor.is-dragging .layout-float{opacity:.28;pointer-events:none}.layout-float{transition:opacity .12s ease}.layout-guide{position:absolute;z-index:30;background:#e0457b;pointer-events:none}.layout-guide-x{top:0;bottom:0;width:1px}.layout-guide-y{left:0;right:0;height:1px}.layout-marquee{position:absolute;z-index:29;border:1px solid var(--primary);background:#6558d31f;pointer-events:none}.layout-item.is-heat .layout-item-label{color:#23253a}.layout-heat-legend{position:absolute;z-index:20;left:14px;bottom:14px;display:flex;align-items:center;gap:12px;padding:8px 12px;background:#ffffffed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:11px;box-shadow:0 8px 24px #26284424;font-size:.74rem}.layout-heat-legend span{display:inline-flex;align-items:center;gap:5px;color:var(--text-secondary)}.layout-heat-legend i{width:13px;height:13px;border:1px solid rgba(0,0,0,.09);border-radius:3px}.layout-heat-legend small{color:var(--text-muted)}.layout-align-row{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.layout-align-row button{display:grid;place-items:center;padding:7px 0;border:1px solid var(--line);border-radius:7px;background:#f9f9fc;color:var(--text-secondary);cursor:pointer}.layout-align-row button:hover{border-color:var(--primary);background:#fff;color:var(--primary)}.layout-props-actions{display:grid;grid-template-columns:1fr auto;gap:6px}.layout-shortcuts{display:grid;gap:3px;margin-top:10px;padding-top:10px;border-top:1px solid #f0f0f5;color:var(--text-muted);font-size:.68rem;line-height:1.5}.layout-context-menu button small{margin-left:auto;color:var(--text-muted);font-size:.7rem;font-weight:600}.inventory-page{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.inventory-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:4px 2px}.inventory-heading-title-group{display:flex;flex-direction:column;gap:4px;min-width:0}.inventory-heading h2{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:800;color:#1e1b4b;letter-spacing:-.025em;margin:0}.inventory-heading h2 svg{color:#6366f1;flex-shrink:0}.inventory-heading p{font-size:13px;color:#64748b;margin:0;line-height:1.4}.inventory-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.inventory-heading-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 16px;border-radius:9px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);box-sizing:border-box}.inventory-heading-actions .btn-secondary{background:#fff;color:#475569;border:1px solid #cbd5e1;box-shadow:0 1px 3px #0f172a0d}.inventory-heading-actions .btn-secondary:hover{background:#f8fafc;color:#0f172a;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 4px 10px #0f172a14}.inventory-heading-actions .btn-secondary svg{transition:transform .3s ease}.inventory-heading-actions .btn-secondary:hover svg{transform:rotate(90deg)}.inventory-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;min-width:0;box-sizing:border-box}.inventory-kpis>div{position:relative;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:14px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 2px 12px -2px #0f172a0a;transition:all .25s cubic-bezier(.4,0,.2,1);overflow:hidden;box-sizing:border-box}.inventory-kpis>div:hover{transform:translateY(-2px);box-shadow:0 10px 24px -4px #0f172a14;border-color:#cbd5e1}.inventory-kpis>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:currentColor;border-top-left-radius:16px;border-bottom-left-radius:16px}.inventory-kpis i{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;transition:transform .2s ease;flex-shrink:0}.inventory-kpis>div:hover i{transform:scale(1.06)}.inventory-kpis i svg{width:22px;height:22px}.inventory-kpis span{display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:700;color:#334155;min-width:0}.inventory-kpis span small{font-size:11px;font-weight:500;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-kpis strong{font-size:23px;font-weight:800;font-variant-numeric:tabular-nums;color:#0f172a;letter-spacing:-.02em;padding-left:6px;text-align:right}.tone-violet{color:#6366f1}.tone-violet i{background:#eef2ff;color:#6366f1}.tone-blue{color:#0284c7}.tone-blue i{background:#e0f2fe;color:#0284c7}.tone-amber{color:#d97706}.tone-amber i{background:#fef3c7;color:#d97706}.tone-green{color:#16a34a}.tone-green i{background:#dcfce7;color:#16a34a}.stock-filters{padding:18px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 2px 14px -2px #0f172a0a;display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:12px;align-items:end;width:100%;min-width:0;box-sizing:border-box}.stock-filter-title{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;color:#1e1b4b;margin-bottom:2px}.stock-filter-title-label{display:inline-flex;align-items:center;gap:8px}.stock-filter-title-label svg{color:#6366f1}.stock-filter-reset-btn{border:1px solid #e0e7ff;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:7px;transition:all .15s ease}.stock-filter-reset-btn:hover{background:#e0e7ff;border-color:#c7d2fe;color:#3730a3}.stock-filters label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b;min-width:0}.stock-filters .form-input,.stock-filters .form-select{height:38px;width:100%;min-width:0;box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:9px;padding:0 11px;font-size:12px;color:#1e293b;transition:all .15s ease}.stock-filters .form-input:focus,.stock-filters .form-select:focus{background:#fff;border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f126}.stock-filter-warehouse-fixed{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9px;font-size:12px;font-weight:600;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.stock-filter-warehouse-fixed svg{color:#6366f1;flex-shrink:0}.stock-filter-note{grid-column:1 / -1;display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:9px;font-size:12px;color:#64748b}.inventory-table-card{width:100%!important;max-width:100%!important;min-width:0!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:16px!important;box-shadow:0 4px 20px -2px #0f172a0d!important;overflow:hidden!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important}.inventory-card-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 20px;background:#fff;border-bottom:1px solid #f1f5f9;box-sizing:border-box}.inventory-card-head h3{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 2px}.inventory-card-head span{font-size:12px;color:#64748b}.live-indicator{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;background:#ecfdf5;color:#059669!important;font-size:11px;font-weight:700;border:1px solid #a7f3d0;flex-shrink:0}.live-indicator i{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px #10b98133}.stock-table-wrap{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;position:relative!important;box-sizing:border-box!important;scrollbar-width:none!important;-ms-overflow-style:none!important}.stock-table-wrap::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.stock-detail-table{width:100%;min-width:1700px;border-collapse:separate;border-spacing:0;text-align:left}.stock-detail-table th{padding:12px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569;border-bottom:1px solid #e2e8f0;border-right:1px solid #f1f5f9;white-space:nowrap;background:#f8fafc;box-sizing:border-box}.stock-detail-table thead tr:first-child th{background:#f8fafc;color:#334155}.stock-detail-table thead tr:first-child th[colspan]{text-align:center;background:#f5f3ff;color:#4f46e5;border-bottom:1px solid #e0e7ff}.stock-detail-table thead tr:nth-child(2) th{background:#fbfbfe;color:#6366f1;border-bottom:2px solid #e0e7ff;font-size:10px}.stock-detail-table td{padding:12px 14px;font-size:12px;color:#1e293b;border-bottom:1px solid #f1f5f9;border-right:1px solid #f8fafc;white-space:nowrap;background:#fff;box-sizing:border-box}.stock-detail-table tbody tr:hover td{background:#f8fafc!important}.stock-col-checkbox{position:sticky!important;left:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center!important;box-sizing:border-box!important}.stock-col-name{position:sticky!important;left:44px!important;min-width:240px!important;max-width:320px!important;box-sizing:border-box!important;box-shadow:4px 0 10px -3px #0f172a14;border-right:2px solid #e2e8f0!important}.stock-detail-table thead th.stock-col-sticky{background:#f8fafc!important;z-index:6!important}.stock-detail-table thead tr:nth-child(2) th.stock-col-sticky{background:#fbfbfe!important}.stock-detail-table tbody td.stock-col-sticky{background:#fff!important;z-index:4!important}.stock-detail-table tbody tr:hover td.stock-col-sticky{background:#f8fafc!important}.stock-product-cell{display:flex;flex-direction:column;gap:2px;min-width:0}.stock-product-name{font-weight:600;color:#0f172a;white-space:normal;line-height:1.35;font-size:12px}.stock-product-code{font-size:10px;font-weight:700;color:#6366f1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.number-cell{text-align:right;font-variant-numeric:tabular-nums}.available-cell{color:#15803d!important;background:#f0fdf4!important;font-weight:700}.stock-detail-table tbody tr:hover td.available-cell{background:#dcfce7!important}.location-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;border:1px solid #bfdbfe;transition:all .15s ease}.location-pill:hover{background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px)}.table-action{display:inline-flex;align-items:center;gap:4px;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:8px;padding:5px 9px;margin:0 3px;font-size:11px;font-weight:600;cursor:pointer;transition:all .15s ease}.table-action:hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.table-action.primary{background:#eef2ff;color:#4f46e5;border-color:#c7d2fe}.table-action.primary:hover{background:#e0e7ff;border-color:#a5b4fc;color:#4338ca}.stock-sticky-footer{position:sticky;bottom:0;z-index:15;background:#fffffff5;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid #e2e8f0;border-bottom-left-radius:16px;border-bottom-right-radius:16px;box-shadow:0 -4px 18px #0f172a0d;display:flex;flex-direction:column;width:100%;min-width:0;box-sizing:border-box}.stock-sticky-scrollbar{overflow-x:auto;overflow-y:hidden;height:12px;width:100%;padding:0 4px;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f1f5f9;box-sizing:border-box}.stock-sticky-scrollbar::-webkit-scrollbar{height:8px}.stock-sticky-scrollbar::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.stock-sticky-scrollbar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.stock-sticky-scrollbar::-webkit-scrollbar-thumb:hover{background:#94a3b8}.stock-pagination{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;padding:12px 20px!important;color:#475569!important;font-size:13px!important;box-sizing:border-box!important;border-top:none!important}.stock-pagination-info{position:static!important;font-size:12px!important;color:#64748b!important;font-variant-numeric:tabular-nums!important}.stock-pagination-controls{margin:0!important;display:flex!important;align-items:center!important;gap:8px!important}.stock-pager{display:grid!important;grid-template-columns:34px auto auto auto 34px!important;align-items:center!important;gap:4px!important;padding:3px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#f8fafc!important}.stock-pager__button{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#475569;font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s ease}.stock-pager__button--edge{width:32px;padding:0}.stock-pager__button:hover:not(:disabled){background:#eef2ff;color:#4f46e5}.stock-pager__button:disabled{opacity:.35;cursor:not-allowed}.stock-pager__status{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:80px;height:32px;padding:0 8px;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0;color:#64748b;font-size:12px;font-variant-numeric:tabular-nums}.stock-pager__status strong{color:#0f172a;font-weight:700}.stock-selection{position:fixed;z-index:30;left:50%;bottom:24px;transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:14px;background:#1e1b4b;color:#fff;box-shadow:0 16px 40px -4px #0f172a66;border:1px solid rgba(255,255,255,.1);max-width:min(calc(100vw - 32px),640px);box-sizing:border-box}.inventory-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0f172a99;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;padding:16px;box-sizing:border-box}.inventory-modal{width:min(680px,100%);max-width:100%;max-height:90vh;display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 25px 60px -10px #0f172a40;overflow:hidden;box-sizing:border-box}.inventory-modal-header{display:flex;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0;box-sizing:border-box}.inventory-modal-header>i{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;flex-shrink:0}.inventory-modal-header div{flex:1;min-width:0}.inventory-modal-header h3{font-size:16px;font-weight:700;color:#0f172a;margin:0 0 2px}.inventory-modal-header p{font-size:12px;color:#64748b;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-modal-header>button{width:32px;height:32px;border-radius:8px;border:none;background:#f1f5f9;color:#64748b;cursor:pointer;display:grid;place-items:center;transition:all .15s ease;flex-shrink:0}.inventory-modal-header>button:hover{background:#e2e8f0;color:#0f172a}.inventory-modal-body{padding:20px 22px;overflow-y:auto;flex:1;box-sizing:border-box}.inventory-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:12px}.inventory-detail-grid>div{padding:10px 14px;background:#f8fafc;border-radius:10px;border:1px solid #f1f5f9;min-width:0}.inventory-detail-grid span{color:#64748b;display:block;font-size:10px;font-weight:700;letter-spacing:.03em;margin-bottom:2px}.inventory-detail-grid strong{font-size:13px;color:#0f172a;word-break:break-word}.inventory-detail-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;font-size:12px;margin-top:8px}.inventory-detail-quantities>div{padding:12px;border-radius:12px;min-width:0}.inventory-detail-quantities span{font-size:10px;font-weight:700;display:block;letter-spacing:.03em;margin-bottom:4px}.inventory-detail-quantities strong{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}.inventory-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px;border-top:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box}@media(max-width:1180px){.inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){.inventory-heading{flex-direction:column;align-items:stretch;gap:12px}.inventory-heading-actions{width:100%;justify-content:stretch}.inventory-heading-actions>*{flex:1 1 auto;text-align:center;justify-content:center}.stock-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 16px}.inventory-card-head{padding:14px 16px}.stock-pagination{flex-direction:column;align-items:center;text-align:center;padding:12px 16px!important}.stock-pagination-controls{width:100%;justify-content:center}.stock-pager__button--step span{display:none}.stock-pager{grid-template-columns:32px 32px auto 32px 32px!important}.stock-selection{flex-wrap:wrap;justify-content:center;bottom:16px;padding:10px 14px;gap:8px;width:calc(100vw - 32px)}.stock-selection button{flex:1 1 auto;font-size:11px;padding:7px 10px}}@media(max-width:580px){.inventory-kpis{grid-template-columns:1fr;gap:10px}.inventory-kpis>div{padding:14px 16px;grid-template-columns:42px 1fr auto}.stock-filters,.inventory-detail-grid{grid-template-columns:1fr}.inventory-detail-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-modal-actions{flex-direction:column-reverse;align-items:stretch}.inventory-modal-actions button{width:100%;justify-content:center}}@keyframes adj-spin{to{transform:rotate(360deg)}}.spin{animation:adj-spin 1s linear infinite}.adjustment-flash{display:flex;align-items:center;gap:8px;padding:10px 14px;margin-bottom:14px;color:#15803d;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;font-size:13px}.adjustment-flash button{margin-left:auto;border:0;background:transparent;color:inherit;cursor:pointer}.legacy-page-scope .inventory-modal.adjustment-modal{width:min(1080px,100%);max-height:92vh;display:flex;flex-direction:column}.legacy-page-scope .adjustment-modal .inventory-modal-body{overflow:auto;flex:1}.legacy-page-scope .adjustment-modal .inventory-modal-actions{display:flex;align-items:center;gap:8px}.adjustment-count{margin-right:auto;font-size:12px;color:#77798a}.adjustment-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.adjustment-mode-tabs button{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;text-align:left;border:1px solid #e4e4ec;border-radius:12px;background:#fafafd;cursor:pointer;color:#55576a}.adjustment-mode-tabs button:hover{border-color:#c9c2ee;background:#f6f4ff}.adjustment-mode-tabs button.active{border-color:#6758c5;background:#eeeafd;color:#4b3fa5;box-shadow:0 0 0 3px #6558d31f}.adjustment-mode-tabs button.active>svg{color:#6758c5}.adjustment-mode-tabs button.active small{color:#6a5fb0}.adjustment-mode-tabs button span{display:grid;gap:2px}.adjustment-mode-tabs button strong{font-size:13px}.adjustment-mode-tabs button small{font-size:11px;color:#8f91a0}.adjustment-head-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.adjustment-head-grid .form-label{margin-top:0!important}.adjustment-hint{display:block;margin-top:5px;font-size:11px;color:#8f91a0}.adjustment-picker{position:relative;margin-top:14px}.adjustment-suggestions{position:absolute;z-index:5;left:0;right:0;margin-top:4px;background:#fff;border:1px solid #e4e4ec;border-radius:10px;box-shadow:0 14px 40px #1b192f29;overflow:hidden;max-height:260px;overflow-y:auto}.adjustment-suggestions button{display:grid;grid-template-columns:130px 1fr auto;gap:10px;align-items:center;width:100%;padding:9px 12px;border:0;border-bottom:1px solid #f1f1f6;background:#fff;text-align:left;cursor:pointer;font-size:12px}.adjustment-suggestions button:hover{background:#f6f4ff}.adjustment-suggestions em{font-style:normal;color:#8f91a0;font-size:11px}.adjustment-lines{margin-top:14px;max-height:46vh;overflow:auto}.adjustment-lines table{font-size:12px}.adjustment-lines th.num,.adjustment-lines td.num{text-align:right}.adjustment-lines td small{color:#8f91a0}.adjustment-lines .form-input.qty{width:110px;padding:5px 8px;text-align:right}.adjustment-lines .delta-up{color:#15803d;font-weight:600}.adjustment-lines .delta-down{color:#b91c1c;font-weight:600}.adjustment-lines tr.row-invalid{background:#fff1f2}.adjustment-lines .icon-btn{border:0;background:transparent;color:#b91c1c;cursor:pointer;padding:4px}.adjustment-placeholder{display:flex;align-items:center;justify-content:center;gap:8px;padding:22px;color:#8f91a0;font-size:12px}.adjustment-error{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 13px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:12px}.adjustment-picker .form-label small{font-weight:500;color:#9a9dac}.adjustment-suggestions-close{justify-content:center;text-align:center!important;color:#77798a;font-weight:600;display:block!important;grid-template-columns:none!important;border-bottom:0!important;background:#fafafd!important}.print-sheet{width:210mm;min-height:297mm;padding:12mm 14mm;margin:0 auto;background:#fff;color:#111;font-family:Times New Roman,Tinos,serif;font-size:12.5pt;line-height:1.35}.print-sheet *{box-sizing:border-box}.print-head{display:flex;justify-content:space-between;gap:16px;border-bottom:1.5px solid #111;padding-bottom:6px}.print-company-name{font-weight:700;text-transform:uppercase;font-size:12.5pt}.print-company-line{font-size:10.5pt}.print-doc-meta{text-align:right;font-size:10.5pt;white-space:nowrap}.print-title{text-align:center;font-size:17pt;font-weight:700;text-transform:uppercase;margin:14px 0 2px;letter-spacing:.5px}.print-subtitle{text-align:center;font-size:11pt;margin-bottom:12px}.print-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px;margin-bottom:10px}.print-info-grid.one-col{grid-template-columns:1fr}.print-field{display:flex;gap:6px;font-size:11.5pt}.print-field>span:first-child{color:#333;white-space:nowrap}.print-field>span:last-child{font-weight:600;overflow-wrap:anywhere}.print-block{border:1px solid #111;padding:6px 8px;margin-bottom:10px;font-size:11.5pt}.print-block-title{font-weight:700;margin-bottom:4px}.print-table{width:100%;border-collapse:collapse;font-size:11pt;margin-bottom:12px}.print-table th,.print-table td{border:1px solid #111;padding:4px 6px;vertical-align:top}.print-table th{background:#eaeaea;font-weight:700;text-align:center;font-size:10.5pt}.print-table td.num{text-align:right;white-space:nowrap}.print-table td.center{text-align:center}.print-table tfoot td{font-weight:700;background:#f4f4f4}.print-blank-cell{height:28px}.print-notes{font-size:11.5pt;margin-bottom:10px}.print-signatures{display:grid;gap:10px;margin-top:18px;text-align:center;font-size:11.5pt}.print-signature-role{font-weight:700}.print-signature-hint{font-size:10pt;font-style:italic;color:#333}.print-signature-space{height:62px}.print-footer{margin-top:14px;font-size:9.5pt;font-style:italic;color:#333;display:flex;justify-content:space-between}.form-sheet{position:relative;width:210mm;height:279.4mm;margin:0 auto 16px;overflow:hidden;background:#fdfdfb;color:#000;font-family:Arial,Liberation Sans,Helvetica,sans-serif;font-size:10pt;page:preprinted;box-shadow:0 12px 40px #00000080}.form-sheet *{box-sizing:border-box}.form-tractor{position:absolute;top:0;bottom:0;width:12.7mm;background-image:radial-gradient(circle at 6.35mm 6.35mm,#9aa3ad 0 2mm,transparent 2.1mm);background-size:12.7mm 12.7mm}.form-tractor.left{left:0;border-right:1px dashed #b8bec6}.form-tractor.right{right:0;border-left:1px dashed #b8bec6}.form-guide{position:absolute;top:0;right:0;bottom:0;left:0;color:#6b7280;font-family:Times New Roman,Tinos,serif}.form-rule-h{border-top:.3mm solid #6b7280}.form-rule-h.dashed{border-top-style:dashed;border-top-width:.2mm}.form-rule-v{border-left:.3mm solid #6b7280}.form-label{white-space:nowrap;font-size:10pt}.form-label.bold{font-weight:700;font-size:10pt}.form-series{font-size:15pt;font-weight:700;line-height:1}.form-title{text-align:center;font-size:20pt;font-weight:700;line-height:1.2}.form-options.hide-guide .form-guide,.form-options.hide-guide .form-tractor{visibility:hidden}.form-data{position:absolute;top:0;right:0;bottom:0;left:0}.form-value{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;overflow-wrap:anywhere}.form-value.strong{font-weight:700}.form-value.compact{font-size:8.5pt;line-height:3.6mm!important;overflow-wrap:normal}.form-value.right{text-align:right}.form-cell{display:flex;align-items:center;padding:0 1.2mm;font-size:9.5pt;line-height:3.4mm}.form-cell>span{width:100%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.form-cell.center{text-align:center}.form-cell.right{text-align:right}.form-footer{display:flex;justify-content:space-between;font-size:8pt;font-style:italic}@page preprinted{size:210mm 279.4mm;margin:0}.print-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:#020617d1;display:flex;flex-direction:column}.print-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#0f172a;border-bottom:1px solid rgba(255,255,255,.1);color:#f8fafc;flex-wrap:wrap}.print-preview-scroll{flex:1;overflow:auto;padding:20px;display:flex;justify-content:center;align-items:flex-start}.print-preview-scroll .print-sheet{box-shadow:0 12px 40px #00000080}@media print{@page{size:A4 portrait;margin:0}body>#root{display:none!important}.no-print{display:none!important}html,body{background:#fff!important;overflow:visible!important}body>#print-root{display:block!important}.print-preview-backdrop{position:static;inset:auto;background:none;display:block}.print-preview-toolbar{display:none!important}.print-preview-scroll{overflow:visible;padding:0;display:block}.print-sheet{box-shadow:none!important;width:auto;min-height:auto;margin:0}.form-sheet{margin:0;box-shadow:none!important;background:none;break-after:page}.form-sheet:last-child{break-after:auto}.form-tractor,.form-guide{display:none!important}.form-data{transform:translate(var(--form-dx, 0mm),var(--form-dy, 0mm))}.print-table th,.print-table tfoot td{-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-table{page-break-inside:auto}.print-table tr{page-break-inside:avoid}.print-table thead{display:table-header-group}.print-signatures{page-break-inside:avoid}}.transfer-create-modal{--transfer-surface: var(--surface, var(--bg-main, #fff));--transfer-text: var(--ink, var(--text-primary, #303247));--transfer-muted: var(--text-secondary, var(--muted, #68738a));--transfer-border: var(--line, var(--border-color, #e5e7ef))}.transfer-create-modal .transfer-warehouse-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:center;margin-bottom:20px}.transfer-create-modal .transfer-products-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.transfer-create-modal .transfer-products-heading h4{margin:0;color:var(--transfer-text);font-size:14px;font-weight:750}.transfer-create-modal .transfer-selected-count{padding:5px 10px;border-radius:20px;background:color-mix(in srgb,var(--primary, #6558d3) 10%,var(--transfer-surface));color:var(--primary, #6558d3);font-size:12px;font-weight:650;white-space:nowrap}.transfer-create-modal .transfer-product-picker{min-width:0;margin-bottom:18px}.transfer-create-modal .transfer-product-search{display:flex;align-items:center;gap:10px;box-sizing:border-box;width:100%;min-height:46px;padding:6px 10px 6px 14px;border:1px solid var(--transfer-border);border-radius:10px;color:var(--transfer-muted);background:var(--transfer-surface);transition:border-color .15s,box-shadow .15s}.transfer-create-modal .transfer-product-search:focus-within{border-color:var(--primary, #6558d3);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary, #6558d3) 15%,transparent)}.transfer-create-modal .transfer-product-search>svg{flex-shrink:0}.transfer-create-modal .transfer-product-search input{flex:1;min-width:0;width:100%;margin:0;padding:6px 0;border:0;outline:none;box-shadow:none;background:transparent;color:var(--transfer-text);font:inherit;font-size:13px;line-height:1.5}.transfer-create-modal .transfer-product-search input::placeholder{color:var(--transfer-muted)}.transfer-create-modal .transfer-product-search button{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;padding:0;border:0;border-radius:7px;color:var(--transfer-muted);background:transparent;cursor:pointer}.transfer-create-modal .transfer-product-search button:hover{background:color-mix(in srgb,var(--primary, #6558d3) 10%,var(--transfer-surface))}.transfer-create-modal .transfer-product-hint{margin:7px 2px 10px;color:var(--transfer-muted);font-size:12px;line-height:1.5}.transfer-create-modal .transfer-product-results{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--transfer-border);border-radius:10px;background:var(--transfer-surface)}.transfer-create-modal .transfer-product-results-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding:10px 14px;border-bottom:1px solid var(--transfer-border);color:var(--transfer-muted);font-size:11px;font-weight:600;line-height:1.5}.transfer-create-modal .transfer-product-result{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;box-sizing:border-box;margin:0;padding:12px 14px;border-bottom:1px solid var(--transfer-border);cursor:pointer;text-transform:none;letter-spacing:normal;transition:background .15s}.transfer-create-modal .transfer-product-result:last-child{border-bottom:0}.transfer-create-modal .transfer-product-result:hover,.transfer-create-modal .transfer-product-result.is-selected{background:color-mix(in srgb,var(--primary, #6558d3) 7%,var(--transfer-surface))}.transfer-create-modal .transfer-product-result:focus-within{outline:2px solid var(--primary, #6558d3);outline-offset:-2px}.transfer-create-modal .transfer-product-result input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--primary, #6558d3);cursor:pointer}.transfer-create-modal .transfer-product-info,.transfer-create-modal .transfer-selected-product{display:grid;min-width:0;gap:4px;line-height:1.5;overflow-wrap:anywhere}.transfer-create-modal .transfer-product-info strong,.transfer-create-modal .transfer-selected-product strong{color:var(--transfer-text);font-size:13px;font-weight:700}.transfer-create-modal .transfer-product-info small,.transfer-create-modal .transfer-selected-product span{color:var(--transfer-muted);font-size:12px;font-weight:400}.transfer-create-modal .transfer-product-stock{display:inline-flex;align-items:center;justify-self:end;gap:5px;padding:5px 9px;border-radius:7px;background:#f1f3f6;color:#616c7d;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.transfer-create-modal .transfer-product-stock.has-stock{background:#e9f7f0;color:#16734d}.transfer-create-modal .transfer-product-empty,.transfer-create-modal .transfer-no-products{padding:24px 16px;text-align:center;color:var(--transfer-muted);font-size:13px;line-height:1.6;white-space:normal}@media(max-width:560px){.transfer-create-modal .transfer-warehouse-fields{grid-template-columns:minmax(0,1fr);gap:10px}.transfer-create-modal .transfer-warehouse-fields>div:nth-child(2){display:none}.transfer-create-modal .transfer-product-result{grid-template-columns:18px minmax(0,1fr);gap:7px 10px}.transfer-create-modal .transfer-product-result input{grid-row:1 / 3;align-self:start;margin-top:3px}.transfer-create-modal .transfer-product-stock{grid-column:2;justify-self:start;white-space:normal;overflow-wrap:anywhere}.transfer-create-modal .transfer-product-results-heading>span:last-child{display:none}}.gi-row-interactive{transition:background-color .15s ease}.gi-row-interactive:hover{background:#ffffff0a!important}tr.gi-row-linked{background:#f59e0b14!important}tr.gi-row-linked td{border-top:2px solid #F59E0B!important;border-bottom:2px solid #F59E0B!important}tr.gi-row-linked td:first-child{border-left:2px solid #F59E0B!important}tr.gi-row-linked td:last-child{border-right:2px solid #F59E0B!important}.count-page{display:grid;gap:18px;min-width:1020px}.count-list-head,.count-topbar{display:flex;align-items:center;gap:18px}.count-list-head{justify-content:space-between}.count-list-head h2{display:flex;align-items:center;gap:9px;font-size:1.3rem}.count-list-head p,.count-topbar p{color:var(--text-secondary);font-size:.82rem;margin-top:5px}.count-list{overflow:hidden}.count-list .data-table{min-width:1050px}.session-code{color:#d97706;font-weight:700}.count-empty{padding:42px;text-align:center;color:var(--text-muted);display:flex;gap:8px;justify-content:center}.count-row-action,.count-back{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:7px 10px;cursor:pointer;white-space:nowrap}.count-back{border:1px solid var(--border-color);background:#ffffff0d;color:var(--text-primary)}.count-row-action{border:1px solid #f59e0b;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#422006;font-weight:800;box-shadow:0 3px 10px #f59e0b38}.count-row-action:hover{background:linear-gradient(135deg,#fde68a,#fbbf24);border-color:#fde68a;color:#451a03;transform:translateY(-1px);box-shadow:0 5px 15px #f59e0b57}.count-back:hover{border-color:#f59e0b;color:#fbbf24}.count-back{align-self:flex-start;margin-top:3px}.count-topbar>div:nth-child(2){flex:1}.count-topbar h2{font-size:1.35rem}.count-actions{display:flex!important;gap:8px!important;flex:initial!important}.count-status,.entry-state{display:inline-flex;align-items:center;border:1px solid;border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:750;white-space:nowrap}.status-preparing{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.status-in_progress{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.status-pending_approval{color:#d97706;background:#fffbeb;border-color:#fde68a}.status-completed{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.status-cancelled{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.count-kpis{display:grid;grid-template-columns:repeat(4,1fr) 1.45fr;gap:12px}.count-kpis>div{display:flex;align-items:center;gap:12px;min-height:84px;padding:15px 17px;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md)}.count-kpis>div>svg{padding:9px;width:42px;height:42px;border-radius:11px;color:#2563eb;background:#eff6ff}.count-kpis .green>svg{color:#059669;background:#ecfdf5}.count-kpis .amber>svg{color:#d97706;background:#fffbeb}.count-kpis .red>svg{color:#dc2626;background:#fef2f2}.count-kpis span{display:grid;gap:4px;color:var(--text-secondary);font-size:.72rem}.count-kpis strong{display:block;color:var(--text-primary);font-size:1.3rem}.count-kpis .progress-card{display:grid;grid-template-columns:1fr auto;gap:6px}.progress-card>strong{font-size:1.05rem}.progress-card i{grid-column:1/-1;height:7px;border-radius:9px;background:#e2e8f0;overflow:hidden}.progress-card b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#fbbf24)}.count-board{overflow:hidden}.count-toolbar{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border-color)}.count-search{display:flex;align-items:center;gap:8px;min-width:300px;padding:9px 11px;border:1px solid var(--border-color);border-radius:8px;color:var(--text-muted)}.count-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text-primary)}.count-tabs{display:flex;gap:5px}.count-tabs button{border:1px solid transparent;border-radius:7px;padding:7px 10px;background:transparent;color:var(--text-secondary);cursor:pointer;font-weight:600}.count-tabs button.active{color:#6b3de8;border-color:#ddd6fe;background:#f5f3ff}.count-table{min-width:1120px}.count-table td:first-child strong,.conflict-card>div strong{display:block;color:#2563eb}.count-table td:first-child span,.conflict-card>div span{display:block;color:var(--text-secondary);font-size:.74rem;margin-top:3px}.blind{display:inline-flex;align-items:center;gap:5px;color:#7c3aed}.state-missing{color:#64748b;border-color:#cbd5e1;background:#f1f5f9}.state-match{color:#059669;border-color:#a7f3d0;background:#ecfdf5}.state-conflict,.state-under{color:#dc2626;border-color:#fecaca;background:#fef2f2}.state-unverified{color:#d97706;border-color:#fde68a;background:#fffbeb}.state-over{color:#2563eb;border-color:#bfdbfe;background:#eff6ff}.variance-over{color:#2563eb;font-weight:700}.variance-under,.variance-conflict{color:#dc2626;font-weight:700}.variance-match{color:#059669;font-weight:700}.upload-required{display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px dashed #f59e0b;border-radius:12px;background:#fffbeb;color:#b45309}.upload-required>div{flex:1}.upload-required p{color:#78350f;font-size:.78rem;margin-top:4px}.count-conflicts{padding:17px}.count-section-title{display:flex;align-items:center;gap:10px;color:#dc2626}.count-section-title h3{font-size:.96rem}.count-section-title p{color:var(--text-secondary);font-size:.75rem;margin-top:3px}.conflict-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:13px}.conflict-card{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:13px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2}.conflict-card p{font-size:.75rem;color:#7f1d1d}.conflict-card>b{grid-row:1/3;grid-column:2;font-size:1.25rem}.conflict-card button{grid-column:1/-1;margin-top:4px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px}.count-modal,.create-count-modal{width:960px;max-height:88vh;overflow:auto;background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 25px 60px -15px #0000004d}.count-modal header,.create-count-modal header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.count-modal header span,.create-count-modal header span{font-size:.7rem;letter-spacing:.08em;color:#6b3de8;font-weight:800}.count-modal header h3,.create-count-modal header h3{font-size:1.12rem;font-weight:700;color:#0f172a;margin-top:4px}.count-modal header button,.create-count-modal header button,.lot-title button{border:0;background:transparent;color:#64748b;cursor:pointer;padding:4px;border-radius:6px;display:grid;place-items:center}.count-modal header button:hover,.create-count-modal header button:hover{background:#f1f5f9;color:#0f172a}.blind-banner{display:flex;gap:11px;margin:16px 22px 0;padding:14px;border:1px solid #ddd6fe;border-radius:10px;background:#f5f3ff;color:#6d28d9}.blind-banner strong{color:#4c1d95}.blind-banner p{font-size:.76rem;color:#5b21b6;margin-top:3px}.lot-list{display:grid;gap:12px;padding:16px 22px}.lot-card{padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.lot-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;color:#0f172a}.lot-title strong{font-weight:700;color:#0f172a}.lot-title button{color:#dc2626}.lot-title button:hover{background:#fee2e2}.quantity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quantity-grid label,.lot-meta label,.entry-note,.create-count-body label{display:grid;gap:6px;color:#334155;font-size:.75rem;font-weight:650}.quantity-grid small{color:#64748b;font-weight:400}.quantity-grid input{height:46px;font-size:1.05rem;font-weight:800}.quantity-grid input,.lot-meta input,.entry-note input,.create-count-body input,.create-count-body textarea,.create-count-body select{width:100%;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;outline:0;font-family:inherit}.quantity-grid input:focus,.lot-meta input:focus,.entry-note input:focus,.create-count-body input:focus,.create-count-body textarea:focus,.create-count-body select:focus{border-color:#6b3de8;box-shadow:0 0 0 3px #6b3de81f}.lot-meta{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:10px;margin-top:11px}.add-lot{display:flex;align-items:center;gap:6px;margin:0 22px;border:1px dashed #8b5cf6;border-radius:8px;background:#f5f3ff;color:#6d28d9;font-weight:600;padding:9px 13px;cursor:pointer}.add-lot:hover{background:#ede9fe;border-color:#7c3aed}.entry-note{margin:14px 22px}.confirm-zero{margin:0 22px 14px;display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #f59e0b;border-radius:9px;background:#fffbeb;color:#92400e;font-size:12px;font-weight:600}.confirm-zero input{width:16px;height:16px;accent-color:#6b3de8}.count-modal footer,.create-count-modal footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:15px 22px;border-top:1px solid #e2e8f0;background:#f8fafc}.count-modal footer>div{display:grid;margin-right:auto}.count-modal footer>div span{font-size:.72rem;color:#64748b}.count-modal footer>div strong{font-size:1.3rem;color:#0f172a;font-weight:800}.count-modal footer svg,.create-count-modal footer svg{width:16px}.create-count-modal{width:560px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 25px 60px -15px #0000004d}.create-count-body{display:grid;gap:15px;padding:21px 22px;background:#fff}.create-count-body textarea{height:85px;resize:vertical}.snapshot-note{display:flex;gap:9px;padding:12px;border-radius:9px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-size:.78rem;line-height:1.5}.old-count-flow{max-width:1050px}.count-session-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.count-session-stats>div{display:grid;text-align:center;gap:3px;padding:17px;border:1px solid var(--border-color);border-radius:13px;background:var(--bg-card)}.count-session-stats strong{font-size:26px;color:#6b3de8;font-weight:800}.count-session-stats span{font-size:12px;color:var(--text-secondary)}.session-card-list{display:grid;gap:10px}.session-flow-card{display:block;width:100%;padding:17px 20px;text-align:left;border:1px solid var(--border-color);border-radius:13px;background:var(--bg-card);color:var(--text-primary);cursor:pointer;box-shadow:var(--shadow-card)}.session-flow-card:hover{border-color:#8b5cf677;transform:translateY(-1px)}.session-flow-card>div:first-child{display:flex;justify-content:space-between;align-items:flex-start}.session-flow-card>div:first-child>strong{font-size:15px;color:var(--text-primary)}.session-flow-card>p{font-size:12px;color:var(--text-muted);margin:6px 0}.session-flow-card footer{display:flex;align-items:center;gap:16px;margin-top:9px;font-size:12px;color:var(--text-muted)}.session-flow-card footer b{padding:3px 8px;border-radius:5px;background:#ecfdf5;color:#059669;font-weight:700}.session-flow-card footer svg{margin-left:auto;width:17px}.session-staff{display:flex;gap:6px;flex-wrap:wrap}.session-staff i{font-style:normal;padding:3px 9px;border-radius:5px;background:#f5f3ff;color:#6b3de8;font-size:11px;font-weight:700}.staff-picker>span{display:block;color:#334155;font-size:12px;font-weight:700;margin-bottom:7px}.staff-picker>div{display:flex;gap:7px;flex-wrap:wrap}.staff-picker button{padding:7px 11px;border:1px solid #cbd5e1;border-radius:20px;background:#f8fafc;color:#334155;cursor:pointer;font-size:12px;font-weight:500}.staff-picker button:hover{background:#f1f5f9;border-color:#94a3b8}.staff-picker button.selected{background:#ede9fe;border-color:#7c3aed;color:#5b21b6;font-weight:700}.detail-action-row{display:flex;gap:9px}.detail-action-row svg,.status-flow svg{width:16px}.detail-card{padding:18px 20px;border:1px solid var(--border-color);border-radius:13px;background:var(--bg-card);box-shadow:var(--shadow-card);overflow:auto}.detail-card>h3{display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:12px;color:var(--text-primary)}.detail-card>h3>b{padding:3px 8px;border-radius:5px;background:#ecfdf5;color:#059669;font-size:11px}.detail-card>h3>button{margin-left:auto;border:1px solid var(--border-color);border-radius:15px;background:transparent;color:var(--text-secondary);padding:4px 10px;cursor:pointer}.status-flow,.upload-buttons{display:flex;align-items:center;gap:9px}.close-checklist{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.close-checklist span{padding:5px 8px;border-radius:999px;font-size:11px}.close-checklist .ready{color:#047857;background:#ecfdf5}.close-checklist .blocked{color:#b91c1c;background:#fef2f2}.stock-edit-hint{margin:10px 0 12px;padding:9px 11px;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:12px}.import-mode{display:grid;gap:4px;font-size:11px;color:var(--text-muted)}.import-mode select{min-width:210px;padding:8px 10px;border:1px solid var(--border-color);border-radius:8px;background:#fff;color:var(--text-primary)}.status-flow button{padding:9px 14px;border:1px solid #8b5cf666;border-radius:8px;background:#f5f3ff;color:#6b3de8;cursor:pointer;font-weight:700}.status-flow button:hover{background:#ede9fe;border-color:#7c3aed}.upload-buttons>span{font-size:12px;color:var(--text-muted)}.count-stage-banner{display:flex;align-items:center;gap:11px;margin-bottom:12px;padding:12px 14px;border:1px solid #fbbf24;border-radius:10px;background:#fffbeb;color:#92400e}.count-stage-banner>svg{flex:0 0 auto;width:21px}.count-stage-banner>div{display:grid;gap:2px;flex:1}.count-stage-banner strong{font-size:13px}.count-stage-banner span{font-size:12px}.inline-count-action{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:6px 9px;border:1px solid #7c3aed;border-radius:7px;background:#7c3aed;color:#fff;cursor:pointer;font-size:11px;font-weight:700}.inline-count-action:hover{background:#6d28d9}.inline-count-action.conflict{border-color:#dc2626;background:#dc2626}.inline-count-action.conflict:hover{background:#b91c1c}.inline-count-action svg{width:14px}.compare-action-state{white-space:nowrap;color:#92400e;font-size:11px;font-weight:700}.compare-action-state.done{color:#047857}.count-conflict-banner{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #fca5a5;border-radius:10px;background:#fef2f2;color:#991b1b}.count-conflict-banner>svg{flex:0 0 auto;width:21px}.count-conflict-banner>div{display:grid;gap:2px;flex:1}.count-conflict-banner strong{font-size:13px}.count-conflict-banner span{font-size:12px}.stock-preview table,.compare-card table{width:100%;border-collapse:collapse;font-size:12px}.stock-preview th,.compare-card th{padding:9px 10px;text-align:left;color:#6b3de8;background:#f5f3ff;font-weight:700}.stock-preview td,.compare-card td{padding:8px 10px;border-top:1px solid var(--border-color);color:var(--text-primary)}.stock-preview tr.unverified td{background:#fffbeb}.stock-preview input{padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#0f172a}.stock-preview td:nth-child(3) input{width:100px;text-align:right}.stock-preview td:last-child button{display:flex;align-items:center;gap:5px;border:1px solid #8b5cf666;border-radius:6px;background:#f5f3ff;color:#6b3de8;padding:6px 9px;cursor:pointer;font-weight:600}.stock-preview td:last-child button:hover{background:#ede9fe}.stock-preview td:last-child svg{width:13px}.compare-card .under td,.compare-card .conflict td{background:#fef2f2}.compare-card .over td{background:#eff6ff}.compare-card .match td{background:#f0fdf4}.entry-log{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--border-color)}.entry-log>div{display:grid;gap:2px}.entry-log code{color:#6b3de8;font-weight:700}.entry-log div>span{font-size:11px;color:var(--text-muted)}.entry-log.conflict{color:#dc2626}.muted{color:var(--text-muted);font-size:12px}.state-recount{color:#d97706;border-color:#fde68a;background:#fffbeb}.state-done{color:#059669;border-color:#a7f3d0;background:#ecfdf5}.state-pending{color:#64748b;border-color:#cbd5e1;background:#f1f5f9}.old-progress-card{padding:15px 17px;border:1px solid var(--border-color);border-radius:13px;background:var(--bg-card)}.old-progress-card>div{display:flex;justify-content:space-between;font-size:13px}.old-progress-card>i,.old-progress-card p>i{display:block;height:6px;margin:8px 0;background:#e2e8f0;border-radius:9px;overflow:hidden}.old-progress-card i>b{display:block;height:100%;background:#6b3de8}.old-progress-card p{display:grid;grid-template-columns:120px 1fr 55px;align-items:center;gap:9px;margin-top:5px;font-size:11px;color:var(--text-secondary)}.old-progress-card p>i{margin:0;height:5px}.old-progress-card p>em{text-align:right;font-style:normal}.count-search.full{width:100%;background:var(--bg-card)}.sku-section-heading{display:flex;align-items:center;gap:8px;padding:9px 4px 6px;font-size:13px;font-weight:800}.sku-section-heading b{padding:2px 8px;border-radius:5px;font-size:11px}.sku-section-heading.todo{color:#6b3de8}.sku-section-heading.todo b{background:#f5f3ff;color:#6b3de8}.sku-section-heading.warn{color:#d97706}.sku-section-heading.warn b{background:#fffbeb;color:#d97706}.sku-section-heading.done{color:#059669;cursor:pointer}.sku-section-heading.done b{background:#ecfdf5;color:#059669}.sku-section-heading.done svg{width:15px;transition:.2s}.sku-section-heading.done svg.rotated{transform:rotate(180deg)}.old-sku-rows{display:grid;gap:7px}.old-sku-rows>button{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;width:100%;padding:12px 14px;border:0;border-left:3px solid;border-radius:10px;text-align:left;color:var(--text-primary);cursor:pointer}.old-sku-rows>button.todo{background:#f5f3ff;border-color:#6b3de8}.old-sku-rows>button.warn{background:#fffbeb;border-color:#f59e0b}.old-sku-rows>button.done{background:#ecfdf5;border-color:#10b981;opacity:.9}.old-sku-rows>button:disabled{cursor:default}.compare-card td.expiry-soon{color:#b45309;background:#fffbeb;font-weight:700}.compare-card td.expiry-expired{color:#b91c1c;background:#fef2f2;font-weight:700}.old-sku-rows>button>div{display:grid;gap:2px}.old-sku-rows code{width:max-content;color:#6b3de8;font-size:11px;font-weight:700}.old-sku-rows strong{font-size:13px}.old-sku-rows span{font-size:11px;color:var(--text-muted)}.old-sku-rows>button>i{padding:4px 8px;border-radius:5px;background:#0000000d;font-style:normal;font-size:11px;color:var(--text-secondary)}.old-sku-rows svg{width:15px}.old-count-modal header p{font-size:11px;color:var(--text-muted);margin-top:5px}.stepper-field{display:grid;gap:6px}.stepper-field>span{display:flex;justify-content:space-between;font-size:12px;color:#334155;font-weight:600}.stepper-field small{color:#64748b}.stepper-field>div{display:grid;grid-template-columns:38px 1fr 38px;height:46px}.stepper-field button{display:grid;place-items:center;border:1px solid #cbd5e1;background:#f1f5f9;color:#475569;cursor:pointer}.stepper-field button:hover{background:#e2e8f0;color:#0f172a}.stepper-field button:first-child{border-radius:8px 0 0 8px}.stepper-field button:last-child{border-radius:0 8px 8px 0}.stepper-field button svg{width:15px}.stepper-field input{width:100%;border:1px solid #cbd5e1;border-left:0;border-right:0;background:#fff;color:#0f172a;text-align:center;font-size:16px;font-weight:800}.lot-conversion{margin-top:9px;padding:8px 10px;border-radius:7px;background:#eff6ff;color:#1e40af;font-size:12px;font-weight:600;border:1px solid #bfdbfe}.old-count-modal footer>div small{font-size:11px}.old-count-modal footer>div small.match{color:#059669}.old-count-modal footer>div small.over{color:#2563eb}.old-count-modal footer>div small.under{color:#dc2626}.conflict-empty{display:grid;place-items:center;gap:7px;padding:60px;border:1px solid #a7f3d0;border-radius:14px;background:#ecfdf5;color:#059669}.conflict-empty svg{width:36px;height:36px}.conflict-empty span{font-size:12px;color:var(--text-secondary)}.old-conflict-list{display:grid;gap:13px}.old-conflict-list>section{padding:17px;border:1px solid #fde68a;border-radius:13px;background:#fff;color:#0f172a}.old-conflict-list>section>header{display:flex;justify-content:space-between}.old-conflict-list header>div{display:grid}.old-conflict-list header code{color:#d97706;font-weight:700}.old-conflict-list header span{font-size:11px;color:#d97706;font-weight:700}.conflict-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:13px 0}.conflict-options article{display:grid;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#0f172a}.conflict-options article>div:first-child{display:grid}.conflict-options article>div:first-child strong{display:flex;align-items:center;gap:5px;color:#0f172a}.conflict-options article>div:first-child svg{width:14px}.conflict-options article>div:first-child span{font-size:10px;color:#64748b}.conflict-qty{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.conflict-qty span{display:grid;font-size:10px;color:#64748b}.conflict-qty b{font-size:15px;color:#0f172a}.conflict-qty>strong{grid-column:1/-1;padding-top:7px;border-top:1px solid #e2e8f0;color:#6b3de8}.old-conflict-list>section>input{width:100%;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a}@media(max-width:768px){.count-page{gap:12px;padding-bottom:88px;font-size:15px}.count-topbar,.count-list-head{align-items:stretch;flex-direction:column}.count-topbar button,.count-list-head button,.count-tabs button,.detail-action-row button,.status-flow button,.upload-buttons button,.staff-picker button,.inline-count-action,.add-lot,.old-sku-rows>button{min-height:44px}.detail-action-row,.status-flow,.upload-buttons{align-items:stretch;flex-direction:column}.count-session-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.count-session-stats>div{padding:12px 6px}.session-flow-card{min-height:96px;padding:16px}.session-flow-card>div:first-child{gap:8px}.session-flow-card footer{flex-wrap:wrap;gap:8px 12px}.old-sku-rows>button{padding:14px 12px;font-size:15px}.old-sku-rows strong{font-size:15px;line-height:1.35}.old-sku-rows code,.old-sku-rows span,.old-sku-rows>button>i{font-size:12px}.count-search.full{min-height:48px}.count-search.full input{min-height:46px;font-size:16px}.count-modal.old-count-modal{width:100vw;max-width:none;min-height:100dvh;max-height:100dvh;border:0;border-radius:0;overflow-y:auto;padding-bottom:104px}.old-count-modal header{position:sticky;top:0;z-index:4;padding:14px 16px;background:#fff}.old-count-modal header>button{min-width:44px;min-height:44px}.quantity-grid,.lot-meta{grid-template-columns:1fr}.lot-card{margin:0 12px}.stepper-field>div{grid-template-columns:48px 1fr 48px;height:52px}.stepper-field button{min-width:48px;min-height:48px}.stepper-field input{min-height:48px;font-size:18px}.add-lot,.entry-note,.confirm-zero{margin-left:12px;margin-right:12px}.count-modal footer{position:fixed;z-index:50;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#fffffff5;box-shadow:0 -6px 20px #0f172a1f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.count-modal footer>div{grid-column:1 / -1;grid-row:1;margin:0}.count-modal footer>button{min-height:48px;width:100%;justify-content:center;font-size:15px;font-weight:750}.create-count-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.create-count-modal footer button{min-height:44px}.detail-card{padding:16px}.detail-card table{min-width:780px}.conflict-options{grid-template-columns:1fr}}.batch-page{display:grid;gap:20px;color:#1e293b}.batch-page button,.batch-page input,.batch-page select{font:inherit}.batch-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;padding:25px 28px;border:1px solid #ddd9f5;border-radius:18px;background:radial-gradient(circle at 88% 20%,rgba(255,255,255,.24) 0 7%,transparent 7.5%),linear-gradient(118deg,#f7f5ff,#eeebff 52%,#e4f6f0);box-shadow:0 12px 35px #3f367812}.batch-hero:after{content:"";position:absolute;width:190px;height:190px;right:18%;top:-120px;border:34px solid rgba(101,88,211,.06);border-radius:50%;pointer-events:none}.batch-hero__content,.batch-hero__actions{position:relative;z-index:1;display:flex;align-items:center}.batch-hero__content{gap:16px;min-width:0}.batch-hero__actions{gap:10px;flex:0 0 auto}.batch-hero__icon{width:52px;height:52px;flex:0 0 auto;display:grid;place-items:center;color:#fff;border-radius:15px;background:linear-gradient(145deg,#7567df,#5548ba);box-shadow:0 10px 24px #6558d347}.batch-eyebrow{display:block;margin-bottom:5px;color:#6558d3;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.batch-hero h2{margin:0 0 5px;color:#25233c;font-size:25px;letter-spacing:-.035em}.batch-hero p{margin:0;color:#737589;font-size:12.5px;line-height:1.5}.batch-button{height:41px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border-radius:10px;border:1px solid transparent;cursor:pointer;font-size:12px;font-weight:750}.batch-button:hover:not(:disabled){transform:translateY(-1px)}.batch-button:disabled{opacity:.5;cursor:not-allowed}.batch-button--secondary{color:#5548ba;border-color:#dcd7f3;background:#ffffffdb}.batch-button--secondary:hover:not(:disabled){border-color:#bdb5e7;box-shadow:0 7px 17px #4d419d17}.batch-button--primary{color:#fff;background:linear-gradient(135deg,#6f61dc,#5548ba);box-shadow:0 7px 18px #6558d33b}.batch-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.batch-stat{--stat-color: #6558d3;--stat-soft: #eeebff;min-width:0;display:flex;align-items:center;gap:13px;padding:17px 18px;border:1px solid #e9e9f0;border-radius:14px;background:#fff;box-shadow:0 7px 22px #262a460b}.batch-stat--green{--stat-color: #168765;--stat-soft: #e1f6ee}.batch-stat--amber{--stat-color: #b7751e;--stat-soft: #fff1d9}.batch-stat--rose{--stat-color: #c1495e;--stat-soft: #fde8ec}.batch-stat__icon{width:39px;height:39px;flex:0 0 auto;display:grid;place-items:center;color:var(--stat-color);border-radius:11px;background:var(--stat-soft)}.batch-stat>div{min-width:0;display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:8px}.batch-stat small{color:#777a8c;font-size:10px;font-weight:700;white-space:nowrap}.batch-stat strong{grid-row:1 / 3;grid-column:2;color:#25263a;font-size:22px;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.batch-stat p{margin:4px 0 0;overflow:hidden;color:#a0a2af;font-size:9.5px;white-space:nowrap;text-overflow:ellipsis}.batch-workspace{overflow:hidden;border:1px solid #e7e7ee;border-radius:17px;background:#fff;box-shadow:0 12px 36px #2a2d4a0e}.batch-tabs{display:flex;gap:5px;padding:8px 11px 0;border-bottom:1px solid #ececf2;background:#fbfbfd}.batch-tabs button{position:relative;min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:0 14px;border:0;background:transparent;color:#858899;cursor:pointer;font-size:11.5px;font-weight:650}.batch-tabs button:after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:transparent}.batch-tabs button:hover{color:#6558d3}.batch-tabs button.is-active{color:#5548ba}.batch-tabs button.is-active:after{background:#6558d3}.batch-tabs b{min-width:20px;padding:3px 6px;border-radius:999px;color:#b6532e;background:#ffeadf;font-size:9px;text-align:center}.batch-filterbar{display:flex;align-items:flex-end;gap:11px;padding:16px 18px;border-bottom:1px solid #f0f0f5}.batch-field{min-width:235px;display:grid;gap:6px}.batch-field--period{min-width:155px}.batch-field--search{min-width:230px;flex:1}.batch-field>span{color:#858899;font-size:9.5px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.batch-control{height:39px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dedee8;border-radius:9px;background:#fff;color:#a0a2af;transition:.18s}.batch-control:focus-within{color:#6558d3;border-color:#a89fe3;box-shadow:0 0 0 3px #6558d317}.batch-control input,.batch-control select{width:100%;min-width:0;height:100%;border:0;outline:0;color:#37394d;background:transparent;font-size:11.5px}.batch-control button{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:6px;background:#f2f1f7;color:#888a9b;cursor:pointer}.batch-refresh{width:39px;height:39px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #dedee8;border-radius:9px;background:#f8f8fb;color:#686b7c;cursor:pointer}.batch-refresh:hover:not(:disabled){color:#6558d3;border-color:#bcb5e5;background:#f5f3ff}.batch-refresh:disabled{cursor:wait;opacity:.7}.is-spinning{animation:batch-spin .8s linear infinite}@keyframes batch-spin{to{transform:rotate(360deg)}}.batch-error{display:flex;align-items:center;gap:9px;margin:14px 18px 0;padding:10px 12px;border:1px solid #fecdd3;border-radius:9px;color:#b4233f;background:#fff1f3;font-size:11.5px}.batch-error span{flex:1}.batch-error button{display:grid;place-items:center;border:0;background:transparent;color:inherit;cursor:pointer}.batch-table-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 14px}.batch-table-heading h3{margin:0 0 3px;color:#292b3e;font-size:14px}.batch-table-heading p{margin:0;color:#999ba8;font-size:10px}.batch-table-note{display:inline-flex;align-items:center;gap:7px;color:#999ba8;font-size:9.5px}.batch-table-note>span{width:7px;height:7px;border:2px solid #caeee2;border-radius:50%;background:#2eae83;box-shadow:0 0 0 3px #e9f8f3}.batch-table-wrap{width:100%;overflow-x:auto;border-top:1px solid #efeff4}.batch-table{width:100%;min-width:1060px;border-collapse:separate;border-spacing:0;text-align:left}.batch-table th{padding:11px 13px;border-bottom:1px solid #e9e9f0;color:#888b9b;background:#fafafd;font-size:9px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}.batch-table th:first-child,.batch-table td:first-child{padding-left:20px}.batch-table th:last-child,.batch-table td:last-child{padding-right:16px}.batch-table th.is-right{text-align:right}.batch-table td{height:65px;padding:10px 13px;border-bottom:1px solid #f1f1f5;color:#3d4052;font-size:11px;vertical-align:middle}.batch-table tbody tr:last-child td{border-bottom:0}.batch-table tbody tr{transition:background .15s}.batch-table tbody tr:hover{background:#fafafe}.batch-product{display:flex;align-items:center;gap:10px;min-width:135px}.batch-product>span{width:33px;height:33px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;color:#6558d3;background:#eeebff;font-size:9px;font-weight:800}.batch-product>div{min-width:0;display:grid;gap:3px}.batch-product strong{overflow:hidden;color:#313247;font-size:11.5px;text-overflow:ellipsis}.batch-product small{color:#a0a2af;font-size:8.5px}.batch-lot-code{display:inline-block;padding:5px 8px;border:1px solid #e6e4ef;border-radius:6px;color:#5548a9;background:#f8f7fd;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:700;white-space:nowrap}.batch-expiry{display:flex;align-items:center;gap:8px;min-width:130px}.batch-expiry>span{width:28px;height:28px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px}.batch-expiry>div{display:grid;gap:2px}.batch-expiry strong{color:#46485a;font-size:10.5px;white-space:nowrap}.batch-expiry small{font-size:8.5px;white-space:nowrap}.batch-expiry--success>span{color:#248866;background:#e4f6ef}.batch-expiry--success small{color:#238963}.batch-expiry--warning>span{color:#b57521;background:#fff1db}.batch-expiry--warning small{color:#b57521}.batch-expiry--danger>span{color:#bd4659;background:#fde9ec}.batch-expiry--danger small{color:#bd4659}.batch-expiry--neutral>span{color:#7d8091;background:#f0f1f5}.batch-expiry--neutral small{color:#9295a3}.batch-number{text-align:right;color:#4e5061!important;font-variant-numeric:tabular-nums;white-space:nowrap}.batch-number svg{display:inline;margin-right:3px;vertical-align:-2px}.batch-number--muted{color:#9294a3!important}.batch-number--strong{color:#1c7e60!important;font-size:12px!important;font-weight:800}.batch-number--in{color:#208867!important}.batch-number--out{color:#c14d60!important}.batch-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:8.5px;font-weight:750;white-space:nowrap}.batch-status i{width:5px;height:5px;border-radius:50%}.batch-status--active{color:#237e60;background:#e6f6f0}.batch-status--active i{background:#2aa77e;box-shadow:0 0 0 2px #c8ecdf}.batch-status--blocked{color:#b34458;background:#fdebee}.batch-status--blocked i{background:#d9556b;box-shadow:0 0 0 2px #f8cdd5}.batch-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:82px}.batch-actions button{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e5e5ed;border-radius:8px;color:#777a8c;background:#fff;cursor:pointer}.batch-actions button:hover:not(:disabled){color:#6558d3;border-color:#c9c3e9;background:#f6f4ff}.batch-actions button.is-lock:hover:not(:disabled){color:#bd4659;border-color:#f2bdc7;background:#fff2f4}.batch-actions button.is-unlock:hover:not(:disabled){color:#238963;border-color:#bce5d7;background:#edf9f5}.batch-actions button:disabled{opacity:.45;cursor:wait}.batch-row-chevron{color:#c9cad3}.batch-loading,.batch-empty{min-height:275px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#858899;text-align:center}.batch-loading strong,.batch-empty strong{margin-top:4px;color:#555769;font-size:12px}.batch-loading small,.batch-empty p{margin:0;color:#a0a2af;font-size:10px}.batch-loading__spinner{width:28px;height:28px;border:3px solid #e8e5f8;border-top-color:#6558d3;border-radius:50%;animation:batch-spin .8s linear infinite}.batch-empty>span{width:52px;height:52px;display:grid;place-items:center;color:#8b80d6;border-radius:15px;background:#f1effc}.batch-trace-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120}.batch-trace-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:#1c1b2f73;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:default}.batch-trace{position:absolute;inset:0 0 0 auto;width:min(520px,100vw);display:flex;flex-direction:column;color:#303247;background:#fff;box-shadow:-20px 0 55px #1a192f2e;animation:batch-drawer-in .22s ease-out}@keyframes batch-drawer-in{0%{transform:translate(100%)}}.batch-trace>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e9e9f0;background:linear-gradient(120deg,#f8f6ff,#eff9f6)}.batch-trace__title{display:flex;align-items:center;gap:11px}.batch-trace__title>span{width:40px;height:40px;display:grid;place-items:center;color:#6558d3;border-radius:11px;background:#e9e6fb}.batch-trace__title small{color:#6558d3;font-size:8px;font-weight:800;letter-spacing:.1em}.batch-trace__title h3{margin:3px 0 0;font-size:17px;letter-spacing:-.02em}.batch-trace__close{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dedee8;border-radius:9px;color:#76798a;background:#ffffffd9;cursor:pointer}.batch-trace__body{flex:1;overflow-y:auto;padding:20px 22px 26px}.batch-trace__summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.batch-trace__summary>div{min-height:69px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:7px;padding:12px 14px;border:1px solid #e7e7ee;border-radius:11px;background:#fafafd}.batch-trace__summary small{color:#9698a6;font-size:8.5px;font-weight:700;text-transform:uppercase}.batch-trace__summary strong{font-size:12px}.batch-trace__section+.batch-trace__section{margin-top:24px}.batch-trace__section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:#7771b8}.batch-trace__section-title h4{margin:0 0 3px;color:#333548;font-size:12.5px}.batch-trace__section-title p{margin:0;color:#9b9daa;font-size:9px}.batch-balance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.batch-balance-grid article{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;padding:12px;border:1px solid #e5eee9;border-radius:10px;color:#348d70;background:#f6fbf9}.batch-balance-grid small{align-self:center;overflow:hidden;color:#7f8c88;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.batch-balance-grid strong{grid-column:1 / -1;margin-top:4px;color:#267b5f;font-size:18px}.batch-balance-grid span{grid-column:1 / -1;color:#8a9792;font-size:8.5px}.batch-timeline{position:relative}.batch-timeline:before{content:"";position:absolute;left:15px;top:14px;bottom:15px;width:1px;background:#e4e4eb}.batch-timeline article{position:relative;display:grid;grid-template-columns:31px 1fr;gap:10px;padding:0 0 17px}.batch-timeline__marker{z-index:1;width:31px;height:31px;display:grid;place-items:center;border:4px solid #fff;border-radius:50%}.batch-timeline .is-receipt .batch-timeline__marker{color:#238963;background:#dff3eb}.batch-timeline .is-issue .batch-timeline__marker{color:#c04d5f;background:#fbe3e7}.batch-timeline article>div{padding:9px 11px;border:1px solid #ebebf0;border-radius:9px;background:#fcfcfd}.batch-timeline__top{display:flex;justify-content:space-between;gap:10px}.batch-timeline__top strong{overflow:hidden;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.batch-timeline__top b{font-size:11px;font-variant-numeric:tabular-nums}.batch-timeline .is-receipt b{color:#208867}.batch-timeline .is-issue b{color:#c04d5f}.batch-timeline p{margin:4px 0;color:#777a8b;font-size:9px}.batch-timeline small{display:flex;align-items:center;gap:4px;color:#a0a2af;font-size:8px}.batch-trace__empty{padding:30px;border:1px dashed #dddde6;border-radius:10px;color:#999ba8;text-align:center;font-size:10px}.batch-trace>footer{display:flex;align-items:center;justify-content:center;gap:7px;padding:13px;border-top:1px solid #e9e9f0;color:#638878;background:#f8fbfa;font-size:9px}@media(max-width:1120px){.batch-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-filterbar{flex-wrap:wrap}.batch-field{flex:1}.batch-field--search{flex-basis:45%}}@media(max-width:720px){.batch-page{gap:14px}.batch-hero{align-items:stretch;flex-direction:column;padding:20px}.batch-hero__actions .batch-button{flex:1}.batch-stat-grid{grid-template-columns:1fr 1fr;gap:9px}.batch-stat{align-items:flex-start;padding:13px}.batch-stat__icon{width:34px;height:34px}.batch-stat>div{display:flex;align-items:flex-start;flex-direction:column}.batch-stat strong{order:-1;font-size:19px}.batch-stat p{display:none}.batch-tabs{overflow-x:auto}.batch-tabs button{flex:0 0 auto}.batch-filterbar{align-items:stretch;flex-direction:column}.batch-field{min-width:0;width:100%}.batch-refresh{align-self:flex-end}.batch-table-note{display:none}.batch-table-heading{padding-left:16px;padding-right:16px}}@media(max-width:460px){.batch-hero__content{align-items:flex-start}.batch-hero__icon{width:44px;height:44px}.batch-hero h2{font-size:21px}.batch-hero__actions{align-items:stretch;flex-direction:column}.batch-stat-grid{grid-template-columns:1fr}.batch-stat{align-items:center}.batch-stat>div{display:grid}.batch-stat strong{grid-row:1 / 3;order:initial}.batch-trace__body{padding-left:16px;padding-right:16px}.batch-balance-grid{grid-template-columns:1fr}}.journal-page{--jr-danger: var(--color-danger, #f43f5e);--jr-danger-soft: rgba(239, 68, 68, .07);--jr-warning: var(--color-warning, #f59e0b);--jr-warning-soft: rgba(245, 158, 11, .06);--jr-success: var(--color-success, #10b981);--jr-border: var(--color-border, var(--line, rgba(148, 163, 184, .2)));--jr-surface: var(--color-surface-1, var(--bg-card, #0d1424));--jr-surface-muted: var(--color-surface-2, rgba(148, 163, 184, .08));--jr-primary: var(--color-primary, var(--primary, #6366f1));min-width:0;display:flex;flex-direction:column;gap:16px}.journal-page .journal-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.journal-page .journal-heading h2{margin:0 0 6px;font-size:1.25rem;font-weight:800}.journal-page .journal-heading p{margin:0;max-width:740px;color:var(--text-secondary);font-size:.8rem;line-height:1.6}.journal-page .journal-heading>.btn{flex-shrink:0;white-space:nowrap}.journal-page .journal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.journal-page .journal-stat{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--jr-surface);border:1px solid var(--jr-border);border-radius:12px;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.journal-page .journal-stat:hover{border-color:var(--jr-primary);box-shadow:0 2px 10px #0f172a0f}.journal-page .journal-stat-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:var(--jr-surface-muted);color:var(--jr-primary)}.journal-page .journal-stat.is-danger .journal-stat-icon{background:var(--jr-danger-soft);color:var(--jr-danger)}.journal-page .journal-stat.is-warning .journal-stat-icon{background:var(--jr-warning-soft);color:var(--jr-warning)}.journal-page .journal-stat.is-success .journal-stat-icon{background:#10b9811a;color:var(--jr-success)}.journal-page .journal-stat.is-alert{border-color:var(--jr-danger);background:var(--jr-danger-soft)}.journal-page .journal-stat-label{display:block;color:var(--text-secondary);font-size:.72rem;font-weight:600}.journal-page .journal-stat strong{display:block;font-size:1.3rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.3}.journal-page .journal-stat.is-alert strong{color:var(--jr-danger)}.journal-page .journal-alert{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(239,68,68,.3);border-radius:10px;background:var(--jr-danger-soft);color:var(--jr-danger);font-size:.8rem}.journal-page .journal-alert svg{flex-shrink:0}.journal-page .journal-list{overflow:hidden}.journal-page .journal-tabs{display:flex;gap:4px;padding:10px 12px 0;border-bottom:1px solid var(--jr-border);overflow-x:auto;scrollbar-width:thin}.journal-page .journal-tab{display:inline-flex;align-items:center;gap:6px;padding:8px 12px 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-secondary);font:inherit;font-size:.8rem;font-weight:600;white-space:nowrap;cursor:pointer}.journal-page .journal-tab:hover{color:var(--text-primary)}.journal-page .journal-tab.active{color:var(--jr-primary);border-bottom-color:var(--jr-primary)}.journal-page .journal-tab-count{min-width:20px;padding:1px 6px;border-radius:999px;background:var(--jr-surface-muted);color:inherit;font-size:.7rem;font-variant-numeric:tabular-nums;text-align:center}.journal-page .journal-tab.has-pending .journal-tab-count{background:var(--jr-warning);color:#fff}.journal-page .journal-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--jr-border)}.journal-page .journal-filters .form-select,.journal-page .journal-filters .form-input{width:auto;height:36px;min-height:36px;margin:0;padding-top:0;padding-bottom:0;font-size:.8rem}.journal-page .journal-filters .btn{height:36px;font-size:.8rem}.journal-page .journal-search{display:flex;align-items:center;gap:8px;flex:1 1 260px;height:36px;padding:0 10px;border:1px solid var(--jr-border);border-radius:8px;background:var(--jr-surface);color:var(--text-muted)}.journal-page .journal-search:focus-within{border-color:var(--jr-primary)}.journal-page .journal-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text-primary);font:inherit;font-size:.8rem}.journal-page .journal-date-range{display:flex;align-items:center;gap:6px;color:var(--text-muted)}.journal-page .journal-refresh{margin-left:auto}.journal-page .journal-load-error{padding:10px 14px;background:var(--jr-danger-soft);color:var(--jr-danger);font-size:.8rem}.journal-page .journal-table-wrap{border:0;border-radius:0}.journal-page .journal-table{table-layout:fixed;min-width:980px;text-align:left}.journal-page .journal-table th{padding:10px 12px;white-space:nowrap;font-size:10px;letter-spacing:.03em;text-transform:uppercase}.journal-page .journal-table td{padding:10px 12px;vertical-align:middle;font-size:12px;line-height:1.5;white-space:nowrap}.journal-page .journal-table tbody tr:last-child td{border-bottom:0}.journal-page .journal-table tbody.is-refreshing{opacity:.55;transition:opacity .15s}.journal-page .journal-table tr.row-pending td:first-child{box-shadow:inset 3px 0 0 var(--jr-warning)}.journal-page .journal-table tr.row-pending td{background:var(--jr-warning-soft)}.journal-page .journal-table tr.row-danger td:first-child{box-shadow:inset 3px 0 0 var(--jr-danger)}.journal-page .journal-table tr.row-danger td{background:var(--jr-danger-soft)}.journal-page .journal-entry-number{padding:0;border:0;background:none;color:var(--jr-primary);font:inherit;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;cursor:pointer}.journal-page .journal-entry-number:hover{text-decoration:underline}.journal-page .journal-table .badge{max-width:100%;padding:3px 8px;font-size:10.5px;line-height:1.4;white-space:nowrap}.journal-page .journal-source{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--text-secondary);font-size:11.5px}.journal-page .journal-date{color:var(--text-secondary);font-variant-numeric:tabular-nums}.journal-page .journal-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}.journal-page .journal-amount{color:var(--text-primary);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.journal-page .journal-amount span{color:var(--text-muted);font-weight:500}.journal-page .journal-flag{margin-top:3px;color:var(--jr-danger);font-size:10.5px;font-weight:700}.journal-page .journal-empty{padding:40px 12px!important;color:var(--text-muted);text-align:center!important}.journal-page .journal-actions-col{position:sticky;right:0;z-index:1;background:var(--jr-surface);box-shadow:inset 1px 0 0 var(--jr-border)}.journal-page .journal-table thead .journal-actions-col{z-index:2}.journal-page .journal-table tr.row-pending td.journal-actions-col{background:linear-gradient(var(--jr-warning-soft),var(--jr-warning-soft)),var(--jr-surface)}.journal-page .journal-table tr.row-danger td.journal-actions-col{background:linear-gradient(var(--jr-danger-soft),var(--jr-danger-soft)),var(--jr-surface)}.journal-page .journal-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.journal-page .journal-actions .btn{flex-shrink:0;min-height:30px;padding:6px 10px;font-size:11.5px;gap:4px;white-space:nowrap;border-radius:7px}.journal-page .btn-icon{width:30px;min-width:30px;padding:0!important;justify-content:center}.journal-page .journal-actions svg{flex-shrink:0}.journal-page .journal-actions .btn-danger{background:#f43f5e14;border:1px solid rgba(244,63,94,.2);color:#e0526b}.journal-page .journal-actions .btn-danger:hover{background:#f43f5e26}.journal-page .journal-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid var(--jr-border);font-size:.78rem;color:var(--text-secondary)}.journal-page .journal-pager-controls{display:flex;align-items:center;gap:8px}.journal-page .journal-pager-controls label{display:flex;align-items:center;gap:6px}.journal-page .journal-pager .form-select{width:auto;height:30px;min-height:30px;margin:0;padding-top:0;padding-bottom:0;font-size:.78rem}.journal-page .journal-pager .btn-icon{height:30px}.journal-page .journal-pager-page{min-width:90px;text-align:center;font-variant-numeric:tabular-nums}@media(max-width:1100px){.journal-page .journal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.journal-page .journal-heading{flex-direction:column;align-items:flex-start;gap:12px}.journal-page .journal-date-range{flex:1 1 100%}.journal-page .journal-date-range .form-input{flex:1;min-width:0}.journal-page .journal-refresh{margin-left:0}}.staff-filter{min-width:170px;flex:0 1 200px}.sortable-header{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;text-align:left}.sortable-header>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sortable-header svg{flex:none;opacity:.35}.sortable-header:hover svg,.sortable-header.is-active svg{opacity:1}.sortable-header.is-active{color:#4c3fc0}.sortable-header:focus-visible{outline:2px solid #8b7fe0;outline-offset:2px;border-radius:3px}@media(max-width:760px){.staff-filter{flex:1 1 140px;min-width:130px}}.sales-payments{color:#26334d;min-width:0}.sales-payments *{box-sizing:border-box}.sp-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.sp-heading p{margin:0 0 5px;color:#64748b;font-size:13px}.sp-heading h2{margin:0;font-size:24px;outline:none}.sp-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce2eb;border-radius:8px;background:#fff;color:#475569;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.sp-button:hover{background:#f5f3ff;border-color:#bcb3ee}.sp-button:disabled{opacity:.5;cursor:default}.sp-primary{background:#6558d3;color:#fff;border-color:#6558d3}.sp-primary:hover{background:#5549bd}.sp-card{background:#fff;border:1px solid #e4e8f0;border-radius:12px;padding:22px;min-width:0}.sp-list{padding:0;overflow:hidden}.sp-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}.sales-payments label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#475569;min-width:0}.sp-search{flex:1;min-width:180px!important}.sp-search span{display:flex;align-items:center;gap:6px}.sales-payments input,.sales-payments select,.sales-payments textarea{width:100%;min-width:0;border:1px solid #dce2eb;background:#fff;border-radius:7px;padding:10px 11px;color:#26334d;font:inherit;font-weight:400}.sales-payments textarea{min-height:72px;resize:vertical}.sales-payments :is(input,select,textarea,button):focus-visible{outline:2px solid #8b7fe0;outline-offset:2px}.sp-table-scroll{overflow-x:auto}.sales-payments table{border-collapse:collapse;width:100%;font-size:13px}.sales-payments th{text-align:left;background:#f8fafc;color:#64748b;font-weight:600;white-space:nowrap}.sales-payments td,.sales-payments th{padding:13px 16px;border-bottom:1px solid #edf0f5}.sales-payments td{vertical-align:middle}.sp-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.sp-link{border:0;background:none;color:#6558d3;font:inherit;font-weight:600;cursor:pointer;text-align:left}.sp-status{display:inline-block;border-radius:20px;background:#f1f0fc;color:#6155b0;padding:4px 9px;white-space:nowrap;font-size:12px}.sp-empty{text-align:center;padding:42px!important;color:#64748b}.sp-pagination,.sp-line-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;font-size:13px}.sp-pagination>div{display:flex;gap:8px}.sp-form h3{margin-top:0}.sp-form fieldset{padding:0;margin:0;border:0;min-width:0}.sp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}.sp-wide{grid-column:1/-1}.sp-lines{min-width:730px}.sp-lines td{padding:10px 8px}.sp-lines td:first-child{min-width:200px}.sp-lines td:nth-child(2){min-width:220px;max-width:300px}.sp-lines input[type=number]{min-width:120px;text-align:right}.sp-lines input[type=date]{min-width:145px}.sp-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #edf0f5;padding-top:18px}.sp-message{padding:13px 16px;border-radius:8px;background:#eff6ff;color:#365a85;margin-bottom:16px;font-size:13px}.sp-error{background:#fff1f2;color:#b42338}.sp-success{background:#ecfdf5;color:#16704a}.sp-total{text-align:right;font-weight:700}.sp-hint{font-size:13px;color:#64748b}.sp-line-footer{padding:16px 0;flex-wrap:wrap}@media(max-width:760px){.sp-heading{align-items:flex-start;flex-direction:column}.sp-form-grid{grid-template-columns:1fr}.sp-card{padding:14px}.sp-list{padding:0}.sp-filters>label{flex:1;min-width:130px}.sp-pagination{flex-wrap:wrap}.sp-heading h2{font-size:21px}}.sp-allocation{padding:16px;margin:16px 0;background:#f8f7ff;border:1px solid #e1dcf5;border-radius:10px}.sp-allocation>label{max-width:480px}.sp-allocation h4{margin:0 0 12px}.sp-allocation-totals{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:12px;font-size:14px}.sp-allocation .sp-hint{line-height:1.6}.sp-allocation td{white-space:nowrap}.sp-other-lines th,.sp-other-lines td{padding:8px;vertical-align:top}.sp-other-lines input,.sp-other-lines select{padding:7px 8px;font-size:13px}.sp-detail-table th,.sp-detail-table td{padding:8px;vertical-align:top}.sp-detail-table input,.sp-detail-table select{padding:7px 8px;font-size:13px}.sp-other-vouchers-table th,.sp-other-vouchers-table td{padding:12px;white-space:nowrap}.sp-resizable-table{width:max-content!important;min-width:100%;table-layout:fixed;border:1px solid #000}.sp-resizable-table th,.sp-resizable-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #000}.sp-resizable-table th{position:relative;padding-right:20px;-webkit-user-select:none;user-select:none}.sp-resizable-table td{max-width:0}.sp-resizable-table .sp-column-label,.sp-resizable-table .sp-cell-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-resizable-table .sp-link{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-column-resize{position:absolute;z-index:1;top:0;right:-5px;width:10px;height:100%;padding:0;border:0;background:transparent;cursor:col-resize}.sp-column-resize:after{content:"";position:absolute;top:21%;bottom:21%;left:4px;width:1px;background:transparent}.sp-column-resize:hover:after,.sp-column-resize:focus-visible:after{background:#6558d3}.sp-column-resize:focus-visible{outline:2px solid #8b7fe0;outline-offset:-2px}.sp-form .sp-resizable-table{border:1px solid #94a3b8;background:#fff;margin-bottom:6px}.sp-form .sp-resizable-table th{background:#f1f5f9;color:#1e293b;font-weight:600;border:1px solid #94a3b8;padding:8px 10px}.sp-form .sp-resizable-table td{border:1px solid #cbd5e1;padding:0!important;max-width:none!important;overflow:visible!important;background:#fff}.sp-form .sp-resizable-table .sp-grid-input,.sp-form .sp-resizable-table .sp-grid-select{width:100%!important;height:38px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;padding:8px 10px!important;background:transparent!important;font-size:13px!important;color:#1e293b!important;outline:none!important}.sp-form .sp-resizable-table .sp-grid-input:focus,.sp-form .sp-resizable-table .sp-grid-select:focus{background:#f0fdf4!important;outline:2px solid #10b981!important;outline-offset:-2px!important}.sp-form .sp-resizable-table .sp-grid-delete{display:inline-flex;align-items:center;justify-content:center;width:100%;height:38px;border:0;background:transparent;color:#ef4444;cursor:pointer;padding:0;transition:background .15s ease,color .15s ease}.sp-form .sp-resizable-table .sp-grid-delete:hover:not(:disabled){background:#fee2e2;color:#b91c1c}.sp-form .sp-resizable-table .sp-grid-delete:disabled{color:#cbd5e1;cursor:not-allowed}.sp-form .sp-resizable-table .searchable-select-container{width:100%!important;height:38px!important}.sp-form .sp-resizable-table .searchable-select-trigger{height:38px!important;min-height:38px!important;border:0!important;border-radius:0!important;padding:0 8px!important;background:transparent!important;font-size:13px!important;color:#1e293b!important;box-shadow:none!important}.sp-form .sp-resizable-table .searchable-select-container:focus .searchable-select-trigger,.sp-form .sp-resizable-table .searchable-select-container.is-open .searchable-select-trigger{background:#f0fdf4!important;outline:2px solid #10b981!important;outline-offset:-2px!important;box-shadow:none!important;border:0!important}.sp-center{text-align:center}.sp-document-detail{display:grid;gap:20px}.sp-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px;border-bottom:1px solid #edf0f5}.sp-detail-header h3{margin:4px 0 5px;font-size:24px}.sp-detail-header p{margin:0;color:#64748b;font-size:13px}.sp-detail-kicker{color:#6558d3;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.sp-detail-section{display:grid;gap:12px}.sp-detail-section h4,.sp-detail-table-title{margin:0;font-size:15px;color:#334155}.sp-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e8f0;border-radius:10px;overflow:hidden}.sp-detail-item{display:flex;flex-direction:column;gap:6px;min-width:0;padding:13px 15px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5;background:#fff}.sp-detail-item:nth-child(4n){border-right:0}.sp-detail-item-wide{grid-column:span 2}.sp-detail-item span,.sp-detail-summary span{color:#64748b;font-size:12px}.sp-detail-item strong{color:#26334d;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.sp-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sp-detail-summary>div{display:flex;flex-direction:column;gap:7px;padding:14px 16px;border:1px solid #e1dcf5;border-radius:10px;background:#f8f7ff}.sp-detail-summary strong{color:#4537a5;font-size:18px;font-variant-numeric:tabular-nums}.sp-detail-timeline{display:flex;gap:0;overflow-x:auto;border:1px solid #e4e8f0;border-radius:10px}.sp-detail-timeline .sp-detail-item{flex:1 0 160px;border-bottom:0}.sp-detail-lines{border:1px solid #e4e8f0;border-radius:10px}.sp-detail-lines tr:last-child td{border-bottom:0}.sp-detail-table-title{margin-bottom:-8px}@media(max-width:1000px){.sp-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-detail-item:nth-child(4n){border-right:1px solid #edf0f5}.sp-detail-item:nth-child(2n){border-right:0}.sp-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sp-detail-header{align-items:flex-start;flex-wrap:wrap}.sp-detail-grid,.sp-detail-summary{grid-template-columns:1fr}.sp-detail-item,.sp-detail-item:nth-child(4n),.sp-detail-item:nth-child(2n){border-right:0}.sp-detail-item-wide{grid-column:auto}}.sp-receipt-line-detail{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:8px 10px}.sp-receipt-line-detail small{color:#64748b;line-height:1.5;font-size:12px}.sp-receipt-dialog{width:min(1180px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:16px;background:#fff;box-shadow:0 24px 80px #0f172a45;color:#26334d}.sp-receipt-dialog[open]{display:flex;flex-direction:column}.sp-receipt-dialog::backdrop{background:#0f172a80}.sp-receipt-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;border-bottom:1px solid #e4e8f0}.sp-receipt-dialog-header h3{margin:4px 0 6px;font-size:22px}.sp-receipt-dialog-header p{margin:0;color:#6558d3;font-size:13px;font-weight:600}.sp-receipt-dialog-header span{font-size:14px;color:#64748b}.sp-receipt-dialog-body{padding:20px 24px;overflow:auto;min-height:0}.sp-receipt-dialog fieldset{margin:0;padding:0;border:0;min-width:0}.sp-receipt-budget{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sp-receipt-budget>div{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #e1dcf5;border-radius:10px;background:#f8f7ff}.sp-receipt-budget span{font-size:13px;color:#64748b}.sp-receipt-budget strong{font-size:22px;color:#4537a5}.sp-receipt-selection-actions,.sp-receipt-row-actions{display:flex;gap:8px;flex-wrap:wrap}.sp-receipt-selection-actions{margin:0 0 12px}.sp-receipt-candidates{max-height:300px;border:1px solid #e4e8f0;border-radius:8px}.sp-receipt-candidates th{position:sticky;top:0;z-index:1}.sp-receipt-dialog td small{display:block;color:#64748b;margin-top:5px;font-size:12px}.sp-receipt-dialog input[type=checkbox]{width:17px;height:17px;accent-color:#6558d3}.sp-receipt-dialog input.sp-receipt-amount{width:150px;text-align:right}.sp-receipt-dialog h4{margin:24px 0 12px}.sp-receipt-dialog .sp-number{font-variant-numeric:tabular-nums}.sp-receipt-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid #e4e8f0;background:#f8fafc}.sp-receipt-dialog-footer p{max-width:520px;margin:0;font-size:13px;color:#64748b;line-height:1.5}.sp-receipt-dialog-header,.sp-receipt-dialog-footer{flex-shrink:0}@media(max-width:640px){.sp-receipt-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.sp-receipt-dialog-header,.sp-receipt-dialog-body,.sp-receipt-dialog-footer{padding:16px}.sp-receipt-budget{gap:6px}.sp-receipt-budget>div{padding:10px}.sp-receipt-budget strong{font-size:16px}.sp-receipt-dialog-footer{align-items:stretch;flex-direction:column}.sp-receipt-dialog-footer .sp-receipt-row-actions{justify-content:flex-end}}.sp-offset{display:grid;gap:16px}.sp-offset .sp-heading{margin-bottom:0}.sp-offset .sp-message,.sp-offset-filter .sp-filters{margin:0}.sp-offset-filter .sp-search{min-width:280px!important}.sp-offset-section{padding:0;overflow:hidden}.sp-offset-section h3{display:flex;align-items:center;gap:10px;margin:0;padding:16px 18px;font-size:16px;border-bottom:1px solid #edf0f5}.sp-offset-section>.sp-hint{margin:12px 18px 0}.sp-offset-no{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#6558d3;color:#fff;font-size:13px}.sp-offset td,.sp-offset th{padding:10px 12px}.sp-offset input[type=checkbox]{width:17px;height:17px;accent-color:#6558d3}.sales-payments input.sp-offset-amount{width:130px;text-align:right;padding:7px 9px}.sp-offset td strong,.sp-offset td,.sp-offset th{white-space:nowrap}.sp-offset-desc{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-offset-sub{display:block;color:#64748b;font-size:12px;margin-top:3px}.sp-offset tfoot td{background:#f8fafc;border-bottom:0}.sp-offset-711{display:block;padding:0;margin-top:3px;font-size:12px}.sp-offset-payment{background:#fff7ed;color:#b45309}.sp-offset-balance{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;border-color:#f3c6cc;background:#fff8f8}.sp-offset-balance.is-balanced{border-color:#bfe6d3;background:#f3fbf7}.sp-offset-balance>div{display:flex;flex-direction:column;gap:6px;min-width:170px}.sp-offset-balance span{font-size:12px;color:#64748b}.sp-offset-balance strong{font-size:18px;color:#26334d;font-variant-numeric:tabular-nums}.sp-offset-balance label{width:170px}.sp-offset-rule{flex-basis:100%;margin:0}.sp-offset-dialog{width:min(560px,calc(100vw - 32px))}.sp-offset-dialog-amount{grid-template-columns:1fr;margin-bottom:12px}@media(max-width:640px){.sp-offset-filter .sp-search{min-width:0!important;flex-basis:100%}.sp-offset-balance>div,.sp-offset-balance label{min-width:0;width:100%}}.sp-row-clickable{cursor:pointer}.sp-row-clickable:hover td{background:#faf9ff}.sp-icon-button{padding:7px 9px}.sp-note-dialog{width:min(960px,calc(100vw - 32px))}.sp-note-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:0 0 8px}.sp-note-summary div{background:#f8fafc;border:1px solid #edf0f5;border-radius:8px;padding:10px 12px}.sp-note-summary dt{font-size:12px;color:#64748b;margin-bottom:4px}.sp-note-summary dd{margin:0;font-weight:600;font-size:14px}.sp-note-summary .sp-note-wide{grid-column:1/-1}.sp-note-summary .sp-note-wide dd{font-weight:400}.sp-note-muted{display:block;color:#64748b;margin-top:4px;font-size:12px}.sp-note-dialog tfoot td{background:#f8fafc}.xl-sink{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0;resize:none}.xl-grid{display:flex;flex-direction:column;min-width:0;min-height:0}.xl-scroll{--sel:#1a73e8;--sel-fill:rgba(26,115,232,.11);--grid:#e3e5ec;position:relative;outline:none;flex:1;min-height:0;overflow:auto}.xl-scroll:not(.is-focused){--sel:#7d8aa6;--sel-fill:rgba(110,122,150,.1)}.xl-scroll.is-dragging,.xl-scroll.is-dragging *{-webkit-user-select:none!important;user-select:none!important;cursor:cell!important}.xl-scroll .xl-table tbody td[data-c]{cursor:cell;-webkit-user-select:none;user-select:none;scroll-margin:40px 8px 8px 52px}.xl-scroll .xl-table tbody td[data-c]:not(.xl-rowhead){position:relative}.xl-scroll .xl-table th[data-hc]{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s,color .12s}.xl-scroll .xl-table th[data-hc]:hover{filter:brightness(.97)}.xl-scroll .xl-table th.is-on{background:#e3ecfb!important;color:#1a56c4!important;box-shadow:inset 0 -2px 0 var(--sel)}.xl-col-letter{display:block;font-size:9px;font-weight:700;letter-spacing:.08em;color:#b4b8c7;line-height:1.1;margin-bottom:1px}.xl-scroll .xl-table th.is-on .xl-col-letter{color:#1a56c4}.xl-table th.sv-num .xl-col-letter,.xl-table th.num .xl-col-letter{text-align:right}.xl-scroll .xl-table th.xl-corner,.xl-scroll .xl-table td.xl-rowhead{position:sticky;left:0;width:44px;min-width:44px;max-width:44px;text-align:center!important;padding-left:2px!important;padding-right:2px!important}.xl-scroll .xl-table th.xl-corner{z-index:12;cursor:se-resize;color:#9aa0b4}.xl-scroll .xl-table td.xl-rowhead{z-index:2;background:#f7f8fb;color:#8a8fa3;font-weight:600;font-size:11px;cursor:e-resize;font-family:inherit}.xl-scroll .xl-table tr.is-row-on>td.xl-rowhead{background:#e3ecfb;color:#1a56c4;box-shadow:inset -2px 0 0 var(--sel)}.xl-scroll .xl-table tbody tr>td.sd-sel:not(.xl-rowhead){background-image:linear-gradient(var(--sel-fill),var(--sel-fill))}.xl-scroll .xl-table tbody tr>td.sd-sel.sd-active{background-image:none}.xl-scroll .xl-table tbody tr>td.sd-sel:not(.xl-rowhead){box-shadow:inset var(--sl,0px) 0 0 0 var(--sel),inset calc(var(--sr,0px) * -1) 0 0 0 var(--sel),inset 0 var(--st,0px) 0 0 var(--sel),inset 0 calc(var(--sb,0px) * -1) 0 0 var(--sel)}.xl-scroll .xl-table td.sd-sel-l{--sl:2px}.xl-scroll .xl-table td.sd-sel-r{--sr:2px}.xl-scroll .xl-table td.sd-sel-t{--st:2px}.xl-scroll .xl-table td.sd-sel-b{--sb:2px}.xl-scroll .xl-table td.sd-active{outline:2px solid var(--sel);outline-offset:-2px}.xl-formula-bar{display:flex;align-items:center;gap:0;border-bottom:1px solid var(--grid,#e3e5ec);background:#fbfbfd;font-size:12px;min-height:32px}.xl-name-box{min-width:92px;padding:0 10px;height:32px;display:flex;align-items:center;justify-content:center;border-right:1px solid #e3e5ec;font-weight:700;color:#1a56c4;font-variant-numeric:tabular-nums;background:#fff}.xl-fx{padding:0 10px;font-style:italic;font-weight:700;color:#9aa0b4;font-family:Georgia,serif;border-right:1px solid #e3e5ec;height:32px;display:flex;align-items:center}.xl-formula-text{padding:0 12px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2c3040}.xl-formula-text em{font-style:normal;color:#8a8fa3;margin-right:4px}.xl-statusbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:6px 12px;border-top:1px solid #e3e5ec;background:linear-gradient(#fafbfd,#f3f5f9);font-size:11.5px;color:#5f6475;min-height:30px}.xl-statusbar__mode{font-weight:700;color:#238963}.xl-statusbar__clip{display:inline-flex;align-items:center;gap:5px;padding:2px 4px 2px 8px;border:1px dashed #8fb1ef;border-radius:5px;background:#eef4ff;color:#1a56c4;font-weight:600}.xl-statusbar__clip button{display:inline-flex;border:0;background:none;color:inherit;cursor:pointer;padding:2px;border-radius:3px}.xl-statusbar__clip button:hover{background:#dbe7ff}.xl-statusbar__stats{margin-left:auto;display:flex;gap:16px;font-variant-numeric:tabular-nums}.xl-statusbar__stats b{color:#1f2333}.xl-statusbar__hint{margin-left:auto;display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;color:#8a8fa3}.xl-statusbar kbd,.xl-menu kbd{font-family:inherit;font-size:10px;padding:0 4px;border:1px solid #d8dbe5;border-bottom-width:2px;border-radius:4px;background:#fff;color:#4c5165}.xl-menu{position:fixed;z-index:1200;min-width:250px;background:#fff;border:1px solid #e1e4ec;border-radius:10px;box-shadow:0 14px 34px -8px #14182847,0 2px 6px #14182814;padding:5px;display:flex;flex-direction:column;animation:xl-menu-in .12s ease-out}@keyframes xl-menu-in{0%{opacity:0;transform:translateY(-3px) scale(.98)}to{opacity:1;transform:none}}.xl-menu__head{padding:5px 10px 6px;font-size:11px;font-weight:700;color:#8a8fa3;text-transform:uppercase;letter-spacing:.04em}.xl-menu__item{display:flex;align-items:center;gap:9px;border:0;background:none;padding:7px 10px;border-radius:6px;font:inherit;font-size:12.5px;color:#2c3040;cursor:pointer;text-align:left}.xl-menu__item span{flex:1}.xl-menu__item svg{color:#6b7086}.xl-menu__item:hover:not(:disabled){background:#eef3fd;color:#1a56c4}.xl-menu__item:hover:not(:disabled) svg{color:#1a56c4}.xl-menu__item:disabled{opacity:.45;cursor:not-allowed}.xl-menu__item.danger,.xl-menu__item.danger svg{color:#c04d5c}.xl-menu__item.danger:hover{background:#fde9ec;color:#a53f4d}.xl-menu__sep{height:1px;background:#eef0f4;margin:4px 6px}.xl-muted{color:#9aa0b4}.sales-vouchers-container{display:flex;flex-direction:column;height:calc(100vh - 120px);min-height:760px;background:#fff;border:1px solid #d1d5db;border-radius:8px;overflow:hidden;font-family:inherit;font-size:12.5px;color:#1f2937;-webkit-user-select:text;user-select:text}.sv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.sv-toolbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sv-search-box{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 10px;min-width:260px}.sv-search-box input{border:none;outline:none;background:transparent;width:100%;font-size:12px;color:#1e293b}.sv-filter-select{border:1px solid #cbd5e1;border-radius:6px;padding:5px 10px;background:#fff;font-size:12px;color:#1e293b;outline:none;cursor:pointer}.sv-filter-select:focus{border-color:#6366f1}.sv-toolbar-right{display:flex;align-items:center;gap:8px}.sv-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:12px;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .15s ease}.sv-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.sv-btn-primary{background:#2563eb;color:#fff;border-color:#1d4ed8}.sv-btn-primary:hover:not(:disabled){background:#1d4ed8;color:#fff}.sv-master-panel{display:flex;flex-direction:column;overflow:hidden;transition:flex .2s ease}.sv-table-wrap{flex:1;overflow:auto;position:relative;background:#fff}.sv-table{width:100%;min-width:1050px;border-collapse:collapse;table-layout:fixed;font-size:12.5px}.sv-table th,.sv-table td{border:1px solid #e2e8f0;padding:7px 10px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;-webkit-user-select:text;user-select:text}.sv-table th{background:#f8fafc;color:#475569;font-weight:600;position:sticky;top:0;z-index:10;-webkit-user-select:none;user-select:none}.sv-table th.sv-th-highlight{background:#fef08a!important;color:#854d0e!important;font-weight:700!important}.sv-group-row{background:#f8fafc!important;font-weight:700;color:#991b1b;cursor:pointer}.sv-group-row:hover{background:#f1f5f9!important}.sv-group-toggle{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;margin-right:8px;font-family:monospace;font-size:12px;font-weight:700;color:#475569;-webkit-user-select:none;user-select:none}.sv-row{cursor:pointer;transition:background .1s ease}.sv-row:hover{background:#f8fafc}.sv-row-selected{background:#e0f2fe!important;color:#0369a1;font-weight:500}.sv-row-selected td:first-child{border-left:3px solid #0284c7}.sv-order-number{color:#1d4ed8;font-family:Consolas,Courier New,monospace;font-weight:700;cursor:text;text-decoration:none;-webkit-user-select:text;user-select:text}.sv-order-number:hover{text-decoration:underline;color:#1e40af}.sv-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:9999px;font-size:11px;font-weight:600;white-space:nowrap}.sv-badge-gray{background:#f1f5f9;color:#475569}.sv-badge-blue{background:#dbeafe;color:#1e40af}.sv-badge-green{background:#dcfce7;color:#15803d}.sv-badge-amber{background:#fef3c7;color:#b45309}.sv-badge-red{background:#fee2e2;color:#b91c1c}.sv-badge-purple{background:#f3e8ff;color:#6b21a8}.sv-num{text-align:right;font-variant-numeric:tabular-nums;font-family:Consolas,monospace}.sv-pagination-bar{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:12px;color:#64748b}.sv-pager-btns{display:flex;align-items:center;gap:4px}.sv-pager-btn{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 6px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#334155;font-size:12px;cursor:pointer}.sv-pager-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.sv-pager-btn:disabled{opacity:.4;cursor:not-allowed}.sv-pager-btn.active{background:#2563eb;border-color:#1d4ed8;color:#fff;font-weight:700}.sv-splitter{height:6px;background:#e2e8f0;cursor:row-resize;position:relative;transition:background .15s ease;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.sv-splitter:hover{background:#cbd5e1}.sv-splitter-handle{width:32px;height:3px;background:#94a3b8;border-radius:2px}.sv-ar-summary-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;padding:8px 12px;background:#f0fdf4;border-top:1px solid #bbf7d0;border-bottom:1px solid #bbf7d0;font-size:12px}.sv-ar-item{display:flex;flex-direction:column;gap:2px}.sv-ar-label{font-size:11px;color:#15803d;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.sv-ar-value{font-size:14px;font-weight:700;color:#14532d;font-family:Consolas,monospace}.sv-ar-value.danger{color:#b91c1c}.sv-ar-value.warning{color:#b45309}.sv-detail-panel{display:flex;flex-direction:column;overflow:hidden;background:#fff;transition:flex .2s ease}.sv-tabs-header{display:flex;align-items:center;justify-content:space-between;background:#f1f5f9;border-top:1px solid #e2e8f0;border-bottom:1px solid #cbd5e1;padding:0 8px;gap:2px;overflow-x:auto}.sv-tabs-list{display:flex;align-items:center;gap:2px}.sv-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:transparent;border:1px solid transparent;border-bottom:none;border-radius:6px 6px 0 0;font-size:12px;font-weight:600;color:#64748b;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:all .15s ease}.sv-tab-btn:hover{color:#1e293b;background:#e2e8f0}.sv-tab-btn.active{background:#fff;color:#0f172a;border-color:#cbd5e1;border-top:2px solid #2563eb;margin-bottom:-1px;padding-top:7px;box-shadow:0 -2px 6px #0000000a}.sv-tab-actions{display:flex;align-items:center;gap:4px}.sv-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#475569;cursor:pointer}.sv-icon-btn:hover{background:#f1f5f9;color:#0f172a}.sv-tab-body{flex:1;overflow:auto;padding:10px 12px;background:#fff;-webkit-user-select:text;user-select:text}.sv-sub-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:auto}.sv-sub-table th,.sv-sub-table td{border:1px solid #e2e8f0;padding:6px 10px;text-align:left;white-space:nowrap;-webkit-user-select:text;user-select:text}.sv-sub-table th{background:#f8fafc;color:#475569;font-weight:600;position:sticky;top:0;z-index:5;-webkit-user-select:none;user-select:none}.sv-sub-table th.sv-th-highlight{background:#fef08a!important;color:#854d0e!important;font-weight:700!important}.sv-sub-table tr:hover{background:#f8fafc}.sv-sub-table tfoot td{background:#f8fafc;font-weight:700;border-top:2px solid #cbd5e1}.sv-deposit-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:12px}.sv-deposit-card{padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}.sv-deposit-card span{font-size:11px;color:#64748b;font-weight:600}.sv-deposit-card strong{font-size:16px;font-weight:700;color:#0f172a;font-family:Consolas,monospace}.sv-timeline{display:flex;flex-direction:column;gap:12px;position:relative;padding-left:20px;margin:8px 0}.sv-timeline:before{content:"";position:absolute;top:6px;bottom:6px;left:6px;width:2px;background:#e2e8f0}.sv-timeline-item{position:relative;display:flex;flex-direction:column;gap:4px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px}.sv-timeline-item:before{content:"";position:absolute;left:-19px;top:12px;width:10px;height:10px;border-radius:50%;background:#2563eb;border:2px solid #ffffff}.sv-timeline-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.sv-timeline-title{font-weight:600;color:#1e293b}.sv-timeline-time{font-size:11px;color:#64748b}.sv-timeline-details{font-size:12px;color:#475569}.sv-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 16px;color:#94a3b8;gap:8px;font-size:13px}.sv-staff-filter{display:flex;align-items:center;gap:6px;flex:none;min-width:0;font-size:12px}.sv-staff-label{flex:none;color:#475569;font-weight:600;white-space:nowrap}.sv-staff-filter>:last-child{flex:none;width:150px;min-width:0}.sv-toolbar{align-items:flex-start}.sv-toolbar-left{flex:1 1 640px;min-width:0;gap:8px 12px}.sv-toolbar-right{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.sv-search-box{box-sizing:border-box;height:30px;flex:1 1 260px;max-width:340px;min-width:220px}.sv-filter-select,.sv-toolbar .sv-btn{box-sizing:border-box;height:30px}.sv-toolbar .searchable-select-trigger{height:30px;min-height:30px;border-color:#cbd5e1;border-radius:6px;font-size:12px}.sv-toolbar .rd-date-filter input{box-sizing:border-box;height:30px}.sv-master-panel>.sv-sheet-fill{flex:1;min-height:0}.sv-tab-body{display:flex;flex-direction:column}.sv-tab-body>.sv-tab-grid,.sv-tab-stack>.sv-tab-grid{flex:1;min-height:160px;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.sv-tab-stack{display:flex;flex-direction:column;flex:1;min-height:0}.sv-loading-cell{text-align:center!important;padding:30px!important}.xl-table.sv-table td.xl-rowhead,.xl-table.sv-sub-table td.xl-rowhead{font-family:inherit}.sv-row-selected td.xl-rowhead{border-left:0!important}.sv-splitter{height:8px;flex:none}.sv-splitter:active{background:#93b4f0}.sv-master-panel .xl-statusbar__hint{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;justify-content:flex-end}.sv-master-panel .xl-statusbar{flex-wrap:nowrap}.rd-date-filter{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#475569}.rd-date-filter input{border:1px solid #cbd5e1;border-radius:6px;padding:4px 8px;font-size:12px;color:#1e293b;background:#fff}.sv-btn.rd-btn-approve{background:#15803d;border-color:#166534;color:#fff}.sv-btn.rd-btn-approve:hover:not(:disabled){background:#166534;color:#fff}.sv-btn.rd-btn-danger{color:#b91c1c;border-color:#fecaca}.sv-btn.rd-btn-danger:hover:not(:disabled){background:#fef2f2;border-color:#f87171;color:#991b1b}.sv-btn:disabled{opacity:.55;cursor:not-allowed}.rd-progress{list-style:none;margin:0;padding:16px 20px;display:grid;gap:0;font-size:12.5px;color:#1f2937}.rd-progress li{display:grid;grid-template-columns:28px 1fr;gap:12px;position:relative;padding-bottom:18px}.rd-progress li:not(:last-child):before{content:"";position:absolute;left:13px;top:28px;bottom:2px;width:2px;background:#e2e8f0}.rd-progress li.is-done:not(:last-child):before{background:#86efac}.rd-progress__dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:12px;background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1}.rd-progress li.is-done .rd-progress__dot{background:#dcfce7;color:#15803d;border-color:#86efac}.rd-progress strong{display:block;font-size:13px;margin-top:4px}.rd-progress p{margin:2px 0;color:#334155}.rd-progress small{color:#64748b}.rd-progress__link{margin-top:6px;padding:3px 8px;font-size:11.5px}.rd-reason{display:grid;gap:6px;margin:4px 0 12px;font-size:12.5px;color:#334155}.rd-reason textarea{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;font:inherit;resize:vertical}.rd-form{display:flex;flex-direction:column;gap:12px;font-size:12.5px;color:#1f2937;padding-bottom:84px}.rd-form__head{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}.rd-form__head h2{margin:0;font-size:18px;font-weight:700;color:#0f172a;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rd-form__head p{margin:4px 0 0;color:#64748b}.rd-form__head-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.rd-panel{background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:14px 16px}.rd-alert,.rd-loading{display:flex;align-items:center;gap:10px;color:#92400e;background:#fffbeb;border-color:#fde68a}.rd-loading{color:#334155;background:#fff;border-color:#d1d5db}.rd-section-title{margin:0 0 10px;font-size:13px;font-weight:700;color:#1e3a8a;display:flex;align-items:center;gap:6px;text-transform:uppercase;letter-spacing:.02em}.rd-header-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}.rd-field{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0}.rd-field>*{min-width:0}.rd-field>span{font-size:11.5px;font-weight:600;color:#475569}.rd-field>span b{color:#dc2626}.rd-field--wide{grid-column:span 2}.rd-field--full{grid-column:1 / -1}.rd-input{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:7px 10px;font:inherit;color:#0f172a;background:#fff}.rd-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.rd-input:disabled{background:#f1f5f9;color:#64748b}textarea.rd-input{resize:vertical}.rd-fetch{display:flex;align-items:center;gap:8px;border:1px dashed #93c5fd;background:#eff6ff;color:#1e40af;border-radius:6px;padding:5px 6px 5px 10px;cursor:pointer;-webkit-user-select:none;user-select:none;min-height:36px}.rd-fetch span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rd-fetch:hover{background:#dbeafe}.rd-fetch:focus-visible{outline:2px solid #6366f1;outline-offset:1px}.rd-fetch.is-disabled{border-color:#cbd5e1;background:#f8fafc;color:#94a3b8;cursor:not-allowed}.rd-receipt-facts{margin:12px 0 0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.rd-receipt-facts--view{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}.rd-receipt-facts dt{font-size:11px;color:#64748b}.rd-receipt-facts dd{margin:2px 0 0;font-weight:600;color:#0f172a;overflow-wrap:anywhere}.rd-span-2{grid-column:span 2}.rd-lines__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.rd-muted{color:#64748b}.rd-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:6px}.rd-table{width:100%;min-width:1540px;border-collapse:collapse;table-layout:fixed}.rd-table th,.rd-table td{border:1px solid #e2e8f0;padding:6px 8px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.rd-table th{background:#f1f5f9;color:#334155;font-weight:600;font-size:12px;position:sticky;top:0;z-index:1}.rd-table .num{text-align:right;font-variant-numeric:tabular-nums}.rd-table th.rd-th-edit{background:#fef9c3;color:#854d0e}.rd-table tbody tr:hover{background:#f8fafc}.rd-table tbody tr.has-error{background:#fef2f2}.rd-table tfoot td{background:#f8fafc;font-weight:700}.rd-total{color:#15803d}.rd-qty{width:100%;text-align:right;border:1px solid #facc15;background:#fefce8;border-radius:4px;padding:4px 6px;font:inherit;font-weight:700}.rd-qty:focus{outline:none;border-color:#6366f1;background:#fff;box-shadow:0 0 0 2px #6366f133}.rd-qty[aria-invalid=true]{border-color:#ef4444;background:#fff}.rd-err{display:block;color:#b91c1c;font-size:10.5px;white-space:normal;text-align:right;margin-top:2px}.rd-icon-btn{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:2px;border-radius:4px}.rd-icon-btn:hover{color:#dc2626;background:#fee2e2}.rd-empty{text-align:center!important;white-space:normal!important;color:#64748b;padding:28px 12px!important}.rd-empty svg{display:block;margin:0 auto 8px;color:#94a3b8}.rd-note{display:flex;gap:10px;align-items:flex-start;margin-top:10px;padding:9px 12px;border-radius:6px;background:#eff6ff;color:#1e3a8a}.rd-note p{margin:0}.rd-note p+p{margin-top:4px}.rd-note--warn{background:#fffbeb;color:#92400e}.rd-note svg{flex-shrink:0;margin-top:1px}.rd-form__footer{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 16px;background:#fffe;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid #d1d5db;border-radius:8px;box-shadow:0 -4px 14px #0f172a0f}.rd-footer-total{display:flex;gap:18px;flex-wrap:wrap;color:#475569}.rd-footer-total strong{color:#0f172a;margin-left:4px;font-variant-numeric:tabular-nums}.rd-grand strong{color:#b91c1c;font-size:14px}.rd-footer-actions{display:flex;gap:8px;flex-wrap:wrap}.rd-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.rd-kpis div{display:grid;gap:4px;padding:8px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.rd-kpis span{font-size:11.5px;color:#64748b}.rd-kpis strong{font-size:15px;font-variant-numeric:tabular-nums}.rd-danger{color:#b91c1c}.rd-ok{color:#15803d}.rd-info{color:#2563eb}.rd-view-tabs{padding:0;overflow:hidden}.rd-view-body{height:360px;display:flex;flex-direction:column}.rd-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0f172a73;display:grid;place-items:center;padding:24px}.rd-picker-window{width:min(1320px,100%);height:min(760px,100%);background:#f6f6fa;border-radius:10px;overflow:hidden;box-shadow:0 24px 60px #0f172a59;display:flex;flex-direction:column}.rd-picker-window>.dlp{flex:1;min-height:0}@media(max-width:1100px){.rd-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-receipt-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.rd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.rd-header-grid,.rd-receipt-facts,.rd-receipt-facts--view{grid-template-columns:1fr}.rd-field--wide,.rd-span-2{grid-column:1 / -1}.rd-picker-overlay{padding:0}.rd-picker-window{height:100%;border-radius:0}}.excel-menu{position:fixed;z-index:99999;width:320px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 25px -5px #0f172a2e,0 8px 10px -6px #0f172a1a;font-family:inherit;font-size:13px;color:#1e293b;display:flex;flex-direction:column;overflow:hidden;animation:excelMenuFadeIn .15s cubic-bezier(.16,1,.3,1);max-height:calc(100vh - 24px)}@keyframes excelMenuFadeIn{0%{opacity:0;transform:scale(.96) translateY(-4px)}to{opacity:1;transform:scale(1) translateY(0)}}.excel-menu__header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0}.excel-menu__col-info{display:flex;align-items:center;gap:6px;font-size:12px;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excel-menu__col-icon{color:#3b82f6;flex-shrink:0}.excel-menu__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excel-menu__title strong{color:#0f172a;font-weight:600}.excel-menu__close{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:3px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .15s}.excel-menu__close:hover{background:#e2e8f0;color:#0f172a}.excel-menu__actions,.excel-menu__cell-actions{display:flex;flex-direction:column;padding:6px 8px;flex-shrink:0}.excel-menu__divider{height:1px;background:#e2e8f0;margin:4px 0}.excel-menu__action-btn{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:none;background:transparent;border-radius:6px;font-size:12px;color:#334155;cursor:pointer;text-align:left;transition:background .12s,color .12s}.excel-menu__action-btn:hover{background:#f1f5f9;color:#0f172a}.excel-menu__action-btn.is-active{background:#eff6ff;color:#2563eb;font-weight:600}.excel-menu__action-btn--muted{color:#64748b}.excel-menu__action-btn--muted:hover{color:#ef4444}.excel-menu__check-icon{margin-left:auto;color:#2563eb}.excel-menu__truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:250px}.excel-menu__tabs{display:flex;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#f8fafc;flex-shrink:0}.excel-menu__tab{flex:1;padding:8px 10px;border:none;background:transparent;font-size:11px;font-weight:600;color:#64748b;cursor:pointer;text-align:center;transition:all .15s;border-bottom:2px solid transparent}.excel-menu__tab:hover{color:#0f172a}.excel-menu__tab.is-active{color:#2563eb;border-bottom-color:#2563eb;background:#fff}.excel-menu__tab-body{padding:8px 10px;display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-height:0;max-height:280px;overflow-y:auto}.excel-menu__search{display:flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#64748b}.excel-menu__search input{border:none;background:transparent;outline:none;font-size:12px;width:100%;color:#0f172a}.excel-menu__clear-search{border:none;background:transparent;cursor:pointer;color:#94a3b8;padding:0;display:flex}.excel-menu__clear-search:hover{color:#334155}.excel-menu__list-container{overflow-y:auto;max-height:170px;border:1px solid #e2e8f0;border-radius:6px;padding:4px;display:flex;flex-direction:column;gap:2px;background:#fff}.excel-menu__item{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:4px;font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .1s}.excel-menu__item:hover{background:#f1f5f9}.excel-menu__item--all{border-bottom:1px solid #f1f5f9;padding-bottom:5px;margin-bottom:2px}.excel-menu__item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excel-menu__item-count{font-size:11px;color:#94a3b8;flex-shrink:0}.excel-menu__no-results{padding:16px;text-align:center;font-size:12px;color:#94a3b8}.excel-menu__tab-body--condition{padding:10px}.excel-menu__cond-label{font-size:11px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.03em}.excel-menu__select,.excel-menu__input{width:100%;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:12px;color:#0f172a;background:#fff;outline:none;box-sizing:border-box;transition:border-color .15s}.excel-menu__select:focus,.excel-menu__input:focus{border-color:#3b82f6}.excel-menu__cond-inputs{display:flex;flex-direction:column;gap:6px}.excel-menu__between-box{display:flex;align-items:center;gap:6px}.excel-menu__between-label{font-size:12px;color:#64748b;flex-shrink:0}.excel-menu__footer{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0}.excel-menu__footer-left,.excel-menu__footer-right{display:flex;align-items:center;gap:6px}.excel-menu__footer-btn{padding:5px 10px;font-size:12px;font-weight:500;border-radius:6px;border:1px solid #cbd5e1;background:#fff;color:#334155;cursor:pointer;transition:all .12s}.excel-menu__footer-btn:hover{background:#f1f5f9;color:#0f172a}.excel-menu__footer-btn--primary{background:#2563eb;border-color:#2563eb;color:#fff;font-weight:600}.excel-menu__footer-btn--primary:hover{background:#1d4ed8;border-color:#1d4ed8}.excel-menu__footer-btn--link{border:none;background:transparent;color:#ef4444;padding:4px 6px}.excel-menu__footer-btn--link:hover{background:#fee2e2;color:#b91c1c}.dlp-th{position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;transition:background .15s}.dlp-th:hover{background:#0000000a}.dlp-th__inner{display:inline-flex;align-items:center;gap:5px;width:100%}.dlp-th__label{flex:1}.dlp-th__icons{display:inline-flex;align-items:center;gap:3px;flex-shrink:0}.dlp-th__sort{color:#2563eb;display:inline-flex;align-items:center}.dlp-th__filter{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;color:#94a3b8;border:none;background:transparent;cursor:pointer;padding:0;transition:all .15s}.dlp-th__filter:hover{background:#e2e8f0;color:#1e293b}.dlp-th__filter.is-filtered{background:#eff6ff;color:#2563eb;font-weight:700}.dlp-status-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:8px 16px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:12px;color:#475569}.dlp-status-bar__left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dlp-status-bar__right{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-family:inherit}.dlp-status-bar__stat{display:inline-flex;align-items:center;gap:4px}.dlp-status-bar__stat strong{color:#0f172a;font-weight:600}.dlp-status-bar__clear-btn{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:4px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:11px;cursor:pointer;transition:all .15s}.dlp-status-bar__clear-btn:hover{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.dlp{display:flex;flex-direction:column;height:100%;min-height:0;background:#f6f6fa;color:#303247}.dlp__header{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;padding:14px 20px;background:#fff;border-bottom:1px solid #ececf2;position:sticky;top:0;z-index:3}.dlp__header h1{margin:0;font-size:18px;font-weight:800}.dlp__subtitle{margin-top:3px;font-size:12px;color:#777b8e}.dlp__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.dlp__search{display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #dedee8;border-radius:8px;background:#fff;color:#9a9dac}.dlp__search input{border:0;outline:0;font:inherit;font-size:13px;min-width:240px;color:#303247;background:transparent}.dlp__count{font-size:12px;color:#777b8e}.dlp__filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;padding:10px 20px;background:#fff;border-bottom:1px solid #ececf2}.dlp__filters label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:600;color:#777b8e}.dlp__body{flex:1;min-height:0;overflow:auto;padding:14px 20px 20px}.dlp__state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:70px 20px;color:#777b8e;text-align:center;background:#fff;border:1px solid #ececf2;border-radius:13px}.dlp__state h3{margin:0;color:#303247}.dlp__state p{margin:0}.dlp__state--error{color:#c04d5c}.dlp__table-wrap{background:#fff;border:1px solid #ececf2;border-radius:13px;overflow:auto;max-height:calc(100vh - 120px)}.dlp__table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.dlp__table th{position:sticky;top:0;z-index:2;background:#f9f9fc;color:#858899;font-size:10px;text-transform:uppercase;letter-spacing:.04em;padding:10px;border-bottom:1px solid #ececf2;white-space:nowrap;text-align:left}.dlp__table td{padding:8px 10px;border-bottom:1px solid #f0f0f5;white-space:nowrap}.dlp__table tbody tr:hover{background:#fbfbfd}.dlp__table tr.is-selected{background:#f1effd}.dlp__table tr.is-disabled{color:#b3b5c2}.dlp__table tr.is-group-start td{border-top:1px solid #e3e2ee}.dlp__check{width:74px}.dlp__check input{width:15px;height:15px;vertical-align:middle;cursor:pointer}.dlp__group-btn{margin-left:6px;padding:1px 6px;border:1px solid #dcdae9;border-radius:6px;background:#fff;color:#6758c5;font-size:10px;cursor:pointer}.dlp__no-match{text-align:center;padding:28px;color:#777b8e}.legacy-workbook-page{--wb-topbar: 56px;--wb-gap: 12px;display:flex;flex-direction:column;width:100%;min-width:0;height:calc(100vh - var(--wb-topbar) - 2 * var(--wb-gap));height:calc(100dvh - var(--wb-topbar) - 2 * var(--wb-gap));min-height:480px;background:#f8fafc;color:#1e293b;overflow:hidden;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 3px #0f172a0d;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.content:has(.legacy-workbook-page){max-width:none;padding:12px 16px}.module-workspace:has(.legacy-workbook-page)>.module-heading{display:none}@media(max-width:760px){.legacy-workbook-page{--wb-topbar: 76px;--wb-gap: 0px;border-radius:0;border-left:0;border-right:0}.content:has(.legacy-workbook-page){padding:0}}.legacy-workbook-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:10px 18px;display:flex;flex-direction:column;gap:10px;flex-shrink:0;box-shadow:0 1px 2px #00000008}.legacy-header-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.legacy-title-area{display:flex;align-items:center;gap:12px;min-width:0}.legacy-title-area>div{min-width:0}.excel-icon-box{width:36px;height:36px;background:#107c41;color:#fff;border-radius:6px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #107c4140;flex-shrink:0}.legacy-title-area h2{font-size:17px;font-weight:700;color:#0f172a;margin:0;display:flex;align-items:center;gap:8px}.legacy-file-badge{font-size:11px;background:#f1f5f9;color:#475569;border:1px solid #cbd5e1;padding:1px 7px;border-radius:4px;font-family:monospace;font-weight:400}.legacy-title-area p{margin:2px 0 0;font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-header-actions{display:flex;align-items:center;gap:8px}.legacy-time-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;background:#f1f5f9;padding:6px 12px;border-radius:6px;border:1px solid #e2e8f0}.time-presets-group{display:flex;align-items:center;gap:4px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:thin}.time-preset-btn{font-size:12px;font-weight:500;padding:4px 10px;border-radius:4px;border:1px solid transparent;background:transparent;color:#475569;cursor:pointer;transition:all .15s ease;white-space:nowrap}.time-preset-btn:hover{background:#e2e8f0;color:#1e293b}.time-preset-btn.is-active{background:#107c41;color:#fff;font-weight:600;box-shadow:0 1px 2px #107c4133}.custom-range-inputs{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:12px;color:#475569}.custom-range-inputs input[type=date]{font-size:12px;padding:3px 8px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#0f172a}.btn-apply-date{font-size:12px;background:#0f172a;color:#fff;border:none;padding:4px 10px;border-radius:4px;cursor:pointer}.legacy-workbook-body{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.legacy-sheet-container{display:flex;flex-direction:column;height:100%;overflow:hidden}.legacy-table-wrapper{flex:1;overflow:auto;background:#fff;position:relative}.excel-grid-container{border-top:1px solid #cbd5e1}.excel-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px;color:#1e293b}.excel-table th,.excel-table td{border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:6px 10px;white-space:nowrap}.excel-table thead tr th{position:sticky;top:0;background:#f8fafc;color:#334155;font-weight:600;z-index:10;box-shadow:0 1px #cbd5e1}.excel-table thead tr.header-row-super th{top:0;z-index:11;background:#edf2f7;color:#0f172a;padding:7px 10px;border-bottom:1px solid #cbd5e1}.excel-table thead tr.header-row-sub th{top:31px;z-index:10;background:#f8fafc}.sticky-col,.sticky-hierarchy-td{position:sticky;background:#fff;z-index:5}thead tr th.sticky-col,thead tr th.sticky-hierarchy-td{z-index:15}thead tr.header-row-super th.sticky-hierarchy-super{position:sticky;left:0;z-index:16;background:#edf2f7}.last-hierarchy-col{border-right:2px solid #94a3b8!important;box-shadow:2px 0 4px #00000008}.cell-num{text-align:right;font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.cell-zero{color:#94a3b8}.cell-neg{color:#b91c1c;background:#fef2f2!important;font-weight:500}.cell-center{text-align:center}.cell-right{text-align:right;font-variant-numeric:tabular-nums}.font-mono{font-family:ui-monospace,monospace}.col-total{background:#f8fafc}.grand-sum{background:#e2e8f0;color:#0f172a}.excel-grand-total-row td{background:#f1f5f9;font-weight:700;border-top:2px solid #94a3b8;border-bottom:2px solid #94a3b8;color:#0f172a}.excel-tree-row:hover td{background:#f0fdf4!important}.depth-0 td{font-weight:600;background:#fff}.depth-1 td{background:#fcfcfd}.depth-2 td{background:#fafafc}.hierarchy-cell-inner{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}.excel-pivot-table .hierarchy-label-wrap{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.excel-pivot-table .hierarchy-label,.excel-pivot-table .hierarchy-code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excel-pivot-table .customer-name-cell .hierarchy-label{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}.excel-expand-btn{background:#f1f5f9;border:1px solid #cbd5e1;color:#475569;width:18px;height:18px;border-radius:3px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;flex-shrink:0}.excel-expand-btn:hover{background:#e2e8f0;color:#0f172a}.hierarchy-dot{width:6px;height:6px;background:#cbd5e1;border-radius:50%;margin:0 6px;flex-shrink:0}.children-badge{font-size:10px;background:#e2e8f0;color:#475569;padding:1px 5px;border-radius:8px;margin-left:auto}.subtotal-indicator{font-size:11px;color:#94a3b8;font-style:italic}.excel-pivot-filter-banner{background:#fff;padding:8px 14px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.excel-filter-items{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.excel-filter-dropdown{display:flex;align-items:center;gap:6px;font-size:12px}.filter-label{font-weight:600;color:#475569}.filter-details{position:relative}.filter-details summary{list-style:none;font-size:12px;padding:3px 8px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:6px;color:#0f172a}.filter-details summary::-webkit-details-marker{display:none}.filter-popover{position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border:1px solid #cbd5e1;box-shadow:0 4px 12px #0000001a;border-radius:6px;width:240px;max-height:280px;overflow-y:auto;z-index:50;padding:8px}.popover-clear{width:100%;text-align:left;font-size:11px;color:#b91c1c;background:none;border:none;padding:3px 4px;cursor:pointer;margin-bottom:6px;border-bottom:1px solid #f1f5f9}.popover-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;padding:4px;cursor:pointer;border-radius:4px}.popover-checkbox:hover{background:#f1f5f9}.excel-tree-controls{display:flex;align-items:center;gap:12px}.level-btn-group{display:flex;align-items:center;gap:3px;background:#f1f5f9;padding:2px 4px;border-radius:4px;font-size:11px}.level-title{color:#64748b;margin-right:4px;font-weight:500}.level-btn{border:none;background:transparent;color:#475569;width:22px;height:22px;border-radius:3px;font-size:11px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center}.level-btn.btn-all{width:auto;padding:0 6px}.level-btn:hover{background:#e2e8f0}.level-btn.is-active{background:#107c41;color:#fff}.legacy-sheet-toolbar{background:#fff;padding:8px 14px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:12px}.legacy-search-box{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:5px;padding:4px 10px;width:380px;max-width:100%}.legacy-search-box input{border:none;background:transparent;outline:none;font-size:12px;flex:1}.legacy-btn-search{background:#107c41;color:#fff;border:none;border-radius:3px;font-size:11px;padding:3px 8px;cursor:pointer}.legacy-toolbar-actions{display:flex;align-items:center;gap:12px}.record-count-badge{font-size:12px;color:#64748b}.legacy-export-btn{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #107c41;color:#107c41;font-size:12px;font-weight:600;padding:5px 12px;border-radius:4px;cursor:pointer;transition:all .15s ease}.legacy-export-btn:hover{background:#107c41;color:#fff}.legacy-export-btn:disabled{opacity:.5;cursor:not-allowed}.excel-detail-table th{font-size:11px}.col-stt{width:45px;min-width:45px;left:0}.col-thang{width:75px;min-width:75px;left:45px}.col-ngay{width:85px;min-width:85px;left:120px}.col-so{width:110px;min-width:110px;left:205px;border-right:2px solid #94a3b8!important}.col-highlight{background:#f0fdf4!important;font-weight:600}.legacy-pagination-bar{background:#fff;border-top:1px solid #e2e8f0;padding:6px 14px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#475569}.pagination-buttons{display:flex;align-items:center;gap:4px}.page-btn{border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:11px;padding:3px 8px;border-radius:3px;cursor:pointer}.page-btn:hover:not(:disabled){background:#f1f5f9}.page-btn:disabled{opacity:.4;cursor:not-allowed}.current-page-num{font-weight:700;padding:0 6px;color:#0f172a}.legacy-competition-sheet{padding:16px;overflow-y:auto;gap:16px}.competition-banner{background:linear-gradient(135deg,#107c41,#064e26);color:#fff;border-radius:8px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 4px 6px -1px #0000001a}.banner-badge{display:inline-flex;align-items:center;gap:6px;background:#fff3;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600;letter-spacing:.5px;margin-bottom:6px}.banner-info h3{font-size:18px;font-weight:700;margin:0}.banner-info p{margin:4px 0 0;font-size:13px;color:#e2e8f0}.podium-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.podium-card{background:#fff;border-radius:8px;padding:14px 16px;border:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000a;position:relative;overflow:hidden}.podium-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px}.podium-card--1:before{background:#eab308}.podium-card--2:before{background:#94a3b8}.podium-card--3:before{background:#d97706}.podium-rank-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.podium-rank-text{font-size:12px;font-weight:600;text-transform:uppercase;color:#64748b}.podium-rep-name{font-size:15px;font-weight:700;color:#0f172a;margin:0}.podium-rep-code{font-size:11px;color:#64748b}.podium-stats{display:flex;gap:14px;margin-top:10px;padding-top:10px;border-top:1px solid #f1f5f9}.stat-box{display:flex;flex-direction:column}.stat-label{font-size:10px;color:#64748b;text-transform:uppercase}.stat-val{font-size:14px;font-weight:700;color:#0f172a}.reward-val{color:#107c41}.rank-badge{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:24px;height:24px;border-radius:50%;font-size:11px;font-weight:700}.rank-gold{background:#fef08a;color:#854d0e;border:1px solid #eab308}.rank-silver{background:#f1f5f9;color:#475569;border:1px solid #94a3b8}.rank-bronze{background:#fed7aa;color:#9a3412;border:1px solid #f97316}.rank-default{background:#f8fafc;color:#64748b;font-weight:400}.top-1 td{background:#fffbeb!important}.top-2 td{background:#f8fafc!important}.top-3 td{background:#fff7ed!important}.progress-bar-wrap{width:100%;max-width:120px;height:14px;background:#e2e8f0;border-radius:7px;position:relative;overflow:hidden;margin:0 auto}.progress-bar-fill{height:100%;background:#107c41;border-radius:7px}.progress-text{position:absolute;top:0;left:0;right:0;bottom:0;font-size:9px;font-weight:700;color:#0f172a;display:flex;align-items:center;justify-content:center}.excel-workbook-footer{background:#f1f5f9;border-top:1px solid #cbd5e1;height:38px;display:flex;align-items:center;flex-shrink:0;-webkit-user-select:none;user-select:none}.excel-sheet-nav-controls{display:flex;align-items:center;padding:0 4px;border-right:1px solid #cbd5e1;height:100%}.excel-nav-arrow{width:26px;height:26px;background:transparent;border:none;color:#475569;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px}.excel-nav-arrow:hover{background:#e2e8f0;color:#0f172a}.excel-sheet-tabs-scroll{flex:1;overflow-x:auto;overflow-y:hidden;height:100%;scrollbar-width:none}.excel-sheet-tabs-scroll::-webkit-scrollbar{display:none}.excel-sheet-tabs-list{display:flex;align-items:flex-end;height:100%;padding:0 4px;gap:2px}.excel-sheet-tab{height:32px;display:flex;align-items:center;gap:6px;padding:0 12px;background:#e2e8f0;color:#475569;border:1px solid #cbd5e1;border-bottom:none;border-top-left-radius:4px;border-top-right-radius:4px;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .15s ease}.excel-sheet-tab:hover:not(.is-active){background:#f1f5f9;color:#0f172a}.excel-sheet-tab.is-active{background:#fff;color:#107c41;font-weight:700;height:34px;border-color:#cbd5e1;box-shadow:0 -2px #107c41 inset}.sheet-tab-icon{color:#64748b}.sheet-tab-icon.trophy{color:#eab308}.sheet-tab-icon.award{color:#f97316}.sheet-tab-icon.silicone,.is-active .sheet-tab-icon{color:#107c41}.excel-sheet-num{font-size:10px;background:#0000000f;padding:1px 4px;border-radius:3px;color:inherit}.excel-status-bar{display:flex;align-items:center;gap:16px;padding:0 16px;border-left:1px solid #cbd5e1;height:100%;font-size:11px;color:#64748b;background:#f8fafc}.status-item{display:flex;align-items:center;gap:5px;white-space:nowrap}.db-status{font-weight:600;color:#107c41}.legacy-loading-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:60px 20px;color:#64748b}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.legacy-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center;color:#94a3b8}.legacy-empty-state h4{font-size:16px;color:#475569;margin:12px 0 4px}.legacy-empty-state p{font-size:13px;margin:0}.drilldown-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;display:flex;justify-content:flex-end}.drilldown-drawer{width:850px;max-width:95vw;background:#fff;height:100%;display:flex;flex-direction:column;box-shadow:-4px 0 24px #00000026;animation:slideLeft .2s ease-out}@keyframes slideLeft{0%{transform:translate(100%)}to{transform:translate(0)}}.drilldown-drawer-header{padding:16px 20px;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.drilldown-drawer-header h3{font-size:16px;font-weight:700;margin:0;color:#0f172a}.drilldown-drawer-header p{font-size:12px;color:#64748b;margin:2px 0 0}.btn-close-drawer{background:transparent;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:4px}.btn-close-drawer:hover{background:#e2e8f0;color:#0f172a}.drilldown-drawer-body{flex:1;overflow:auto;padding:16px 20px}.excel-pivot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:6px 14px;border-bottom:1px solid #cbd5e1;flex-shrink:0;flex-wrap:wrap}.level-btn-group{display:flex;align-items:center;gap:4px}.level-title{font-size:11px;font-weight:600;color:#64748b;margin-right:2px}.level-btn{font-size:11px;font-weight:600;padding:3px 8px;border:1px solid #cbd5e1;background:#f8fafc;color:#475569;border-radius:3px;cursor:pointer;transition:all .15s ease}.level-btn:hover{background:#e2e8f0;color:#1e293b}.level-btn.is-active{background:#1f4e78;border-color:#163b5c;color:#fff}.level-btn.btn-all{font-weight:500}.active-filters-summary{flex:1;display:flex;align-items:center;overflow-x:auto}.no-filter-hint{font-size:11px;color:#94a3b8;font-style:italic}.filter-chips-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.filter-chips-label{font-size:11px;font-weight:600;color:#0f172a}.active-chip{display:inline-flex;align-items:center;gap:4px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;font-size:11px;font-weight:600;padding:2px 7px;border-radius:12px}.active-chip small{color:#60a5fa;font-weight:500}.active-chip button{background:transparent;border:none;color:#3b82f6;cursor:pointer;padding:1px;display:flex;align-items:center;border-radius:999px}.active-chip button:hover{background:#dbeafe;color:#1d4ed8}.btn-clear-all-chips{display:inline-flex;align-items:center;gap:3px;background:#fef2f2;border:1px solid #fecaca;color:#dc2626;font-size:10px;font-weight:600;padding:2px 6px;border-radius:4px;cursor:pointer;transition:all .15s ease}.btn-clear-all-chips:hover{background:#fee2e2;border-color:#f87171}.toolbar-right-actions{display:flex;align-items:center;gap:8px}.btn-toggle-slicer{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:5px 11px;border-radius:4px;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;cursor:pointer;transition:all .15s ease}.btn-toggle-slicer:hover{background:#e2e8f0;color:#0f172a}.btn-toggle-slicer.is-active{background:#e0f2fe;border-color:#7dd3fc;color:#0369a1}.slicer-active-badge{background:#2563eb;color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:999px}.excel-pivot-workspace{display:flex;flex:1;min-height:0;overflow:hidden;position:relative}.excel-pivot-main-area{flex:1;overflow:auto;background:#fff;min-width:0}.excel-slicers-sidebar{width:100%;min-width:0;height:clamp(96px,14vh,136px);background:#f1f5f9;border-bottom:1px solid #cbd5e1;display:grid;grid-template-columns:156px minmax(0,1fr);gap:8px;padding:6px 12px;overflow:hidden;flex-shrink:0}.slicer-dimension-tabs{display:flex;flex-direction:column;gap:5px;min-width:0;background:#e2e8f0;padding:5px;border-radius:6px}.slicer-tab{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:32px;padding:6px 9px;font-size:11px;font-weight:600;border-radius:4px;border:none;background:transparent;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s ease}.slicer-tab:hover{background:#f8fafc;color:#0f172a}.slicer-tab.is-active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0000001a;font-weight:700}.tab-badge{background:#2563eb;color:#fff;font-size:10px;font-weight:700;padding:0 5px;border-radius:10px}.slicer-active-container{min-width:0;min-height:0;display:flex;flex-direction:column}.excel-slicer-card{background:#fff;border:1px solid #a6b9d0;border-radius:3px;box-shadow:0 2px 5px #0000000f;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.excel-slicer-header{background:linear-gradient(to bottom,#fff,#f1f5f9);border-bottom:1px solid #b5c7db;padding:6px 8px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.slicer-title-area{display:flex;align-items:center;gap:6px}.slicer-title{font-size:12px;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.3px}.slicer-badge{font-size:10px;background:#dbeafe;color:#1d4ed8;padding:1px 6px;border-radius:10px;font-weight:600}.slicer-actions{display:flex;align-items:center;gap:3px}.slicer-action-btn{width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:3px;color:#64748b;cursor:pointer;padding:0}.slicer-action-btn:hover{background:#e2e8f0;color:#0f172a}.slicer-action-btn.is-active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.btn-clear-filter.can-clear{color:#dc2626}.btn-clear-filter.can-clear:hover{background:#fee2e2;border-color:#fca5a5}.btn-clear-filter.is-disabled{color:#cbd5e1;cursor:not-allowed}.slicer-body{padding:6px;min-height:0;overflow-y:auto;flex:1;background:#fff}.slicer-tiles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),1fr));gap:5px}.slicer-tile{min-height:32px;border-radius:2px;border:1px solid #b8c5d3;background:#dce2e8;color:#1e293b;font-size:11px;font-weight:500;padding:4px 6px;cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;transition:all .1s ease;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px #fff9}.slicer-tile:hover{background:#ccd7e4;border-color:#94a7bc;color:#0f172a}.slicer-tile.is-selected{background:#1f62b8;border-color:#13498a;color:#fff;font-weight:700;box-shadow:inset 0 1px 2px #0000004d}.slicer-tile-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media(max-width:700px){.excel-slicers-sidebar{height:clamp(155px,27vh,195px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:6px}.slicer-dimension-tabs{flex-direction:row;overflow-x:auto}.slicer-tab{flex-shrink:0;min-height:30px}}.slicer-footer{padding:5px 8px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:10px;color:#64748b;text-align:center;flex-shrink:0}.slicer-empty{padding:20px;text-align:center;font-size:11px;color:#94a3b8}.excel-pivot-table{table-layout:fixed;min-width:0}.excel-pivot-table .sticky-hierarchy-td{overflow:hidden}.excel-pivot-table thead tr.header-row-sub th.sticky-hierarchy-td{z-index:15}.excel-pivot-table thead .header-row-super th{background:#1f4e78!important;color:#fff!important;border-right:1px solid #366092!important;border-bottom:1px solid #366092!important;font-weight:700;font-size:12px}.excel-pivot-table thead .header-row-sub th{background:#2b579a!important;color:#fff!important;border-right:1px solid #366092!important;border-bottom:1px solid #366092!important;font-weight:600;font-size:11px}.excel-header-arrow{font-size:8px;margin-left:3px;opacity:.85}.col-month-dropdown{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px}.excel-expand-btn{width:13px;height:13px;min-width:13px;max-width:13px;background:#fff;border:1px solid #7f9db9;border-radius:1px;display:inline-flex;align-items:center;justify-content:center;font-family:monospace,sans-serif;font-size:11px;font-weight:700;line-height:1;color:#1e293b;cursor:pointer;margin-right:6px;padding:0;box-shadow:0 1px 1px #0000001a}.excel-expand-btn:hover{background:#eef4fb;border-color:#2b78e4;color:#1d4ed8}.excel-grid-hint{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:5px 14px;background:#f8fafc;border-bottom:1px solid #cbd5e1;color:#64748b;font-size:11px}.excel-selection-total{margin-left:auto;color:#1e293b;white-space:nowrap;font-variant-numeric:tabular-nums}.excel-selection-total strong{color:#107c41;font-size:13px}.excel-pivot-table{outline:none;-webkit-user-select:none;user-select:none}.excel-pivot-table th,.excel-pivot-table td{padding:7px 10px;border-right-color:#cbd5e1;border-bottom-color:#cbd5e1}.excel-pivot-table td.grid-selected,.excel-pivot-table tr:hover td.grid-selected{background:#dbeafe!important}.excel-pivot-table td.grid-active,.excel-pivot-table tr:hover td.grid-active{background:#bfdbfe!important;box-shadow:inset 0 0 0 2px #2563eb}.excel-pivot-table .customer-name-cell{box-sizing:border-box;white-space:normal}.excel-pivot-table .customer-name-cell .hierarchy-cell-inner{width:100%;min-width:0}.excel-pivot-table .customer-name-cell .hierarchy-label-wrap{min-width:0;overflow:hidden}.excel-pivot-table .customer-name-cell .hierarchy-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.excel-pivot-table .sticky-total-col{position:sticky;right:0;z-index:4;border-left:2px solid #94a3b8;box-shadow:-3px 0 5px #0f172a0f}.excel-pivot-table tbody td.sticky-total-col{background:#f1f5f9}.excel-pivot-table thead th.sticky-total-col{z-index:16;vertical-align:middle}.excel-pivot-table .excel-grand-total-row td{position:sticky;bottom:0;z-index:6;box-shadow:0 -2px 4px #0f172a0f}.excel-pivot-table .excel-grand-total-row td.sticky-hierarchy-td,.excel-pivot-table .excel-grand-total-row td.sticky-total-col{z-index:8}.excel-pivot-table .excel-grand-total-row td.sticky-total-col{background:#e2e8f0}.level-divider{width:1px;height:16px;margin:0 6px;background:#cbd5e1}.excel-pivot-toolbar .level-btn-group{flex-wrap:wrap}.excel-detail-table td{max-width:280px;overflow:hidden;text-overflow:ellipsis}.excel-detail-table .col-diengiai,.excel-detail-table .col-diachi,.excel-detail-table .col-tenhang{max-width:240px}.excel-detail-table tbody tr:nth-child(2n) td{background-color:#fcfdfe}.excel-detail-table tbody tr:hover td{background-color:#f0fdf4}.excel-competition-table .col-stt{width:52px;min-width:52px;left:0}.excel-competition-table .col-tennv{left:52px;min-width:220px;max-width:260px;border-right:2px solid #94a3b8!important;box-shadow:2px 0 4px #0f172a0a}.excel-competition-table .rep-name-cell{display:flex;flex-direction:column;line-height:1.3}.excel-competition-table .rep-name-cell span{overflow:hidden;text-overflow:ellipsis}.excel-competition-table .rep-name-cell small{font-size:10px;color:#64748b}.excel-competition-table .excel-grand-total-row td{position:sticky;bottom:0;z-index:6}.excel-competition-table .excel-grand-total-row td.sticky-col{z-index:8}.legacy-competition-sheet .legacy-table-wrapper{flex:1 1 0;min-height:320px;border:1px solid #e2e8f0;border-radius:6px}.excel-status-bar{flex-shrink:0}.excel-sheet-tabs-scroll{min-width:0}@media(max-width:1280px){.legacy-file-badge,.excel-status-bar .db-status,.excel-sheet-tab .excel-sheet-num{display:none}}@media(max-width:1100px){.legacy-title-area p{display:none}.legacy-time-bar{flex-wrap:wrap}.time-presets-group{flex-basis:100%}.excel-status-bar .sheet-pos{display:none}.excel-grid-hint>span:first-child,.no-filter-hint{display:none}}@media(max-width:760px){.legacy-workbook-header{padding:8px 10px;gap:8px}.legacy-title-area h2{font-size:15px}.excel-icon-box{width:30px;height:30px}.legacy-export-btn span{display:none}.custom-range-inputs{flex-wrap:wrap}.legacy-sheet-toolbar{flex-wrap:wrap;padding:6px 10px}.legacy-search-box{width:100%}.excel-status-bar{display:none}.legacy-pagination-bar{flex-wrap:wrap;gap:6px}.legacy-competition-sheet{padding:10px}.competition-banner{flex-direction:column;align-items:flex-start;gap:10px}.excel-pivot-table .sticky-total-col{position:static;box-shadow:none}.excel-pivot-table .excel-grand-total-row td.sticky-total-col,.excel-pivot-table thead th.sticky-total-col{position:sticky;right:auto}.excel-detail-table .col-thang,.excel-detail-table .col-ngay{position:static}.excel-detail-table .col-so{left:45px}}.excel-pivot-table .hierarchy-code{font-size:10px;font-weight:400;color:#64748b}.excel-pivot-table.is-compact{min-width:100%}.excel-slicers-sidebar .slicer-dimension-tabs{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(0,1fr);gap:3px;padding:3px}.excel-slicers-sidebar .slicer-tab{min-height:0;padding:2px 6px;justify-content:center}.excel-slicers-sidebar .excel-slicer-header{padding:3px 8px}.excel-slicers-sidebar .slicer-body{padding:4px}.excel-slicers-sidebar .slicer-tiles-grid{gap:4px}.excel-slicers-sidebar .slicer-tile{min-height:24px;padding:2px 6px}.excel-slicers-sidebar .slicer-footer{display:none}.excel-pivot-toolbar{padding:4px 14px}.toolbar-right-actions .excel-selection-total{margin-left:0;font-size:11px}@media(max-width:700px){.excel-slicers-sidebar{height:clamp(130px,22vh,170px)}.excel-slicers-sidebar .slicer-dimension-tabs{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto}.excel-slicers-sidebar .slicer-tab{min-height:26px}}.legacy-workbook-header{padding:8px 16px;gap:6px}.legacy-time-bar{padding:3px 10px}.overview-page{width:100%;min-width:0;padding:20px;background:#f3f7f5;color:#20342d}.overview-intro{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.overview-eyebrow{font-size:10px;font-weight:800;letter-spacing:.1em;color:#18805a}.overview-intro h3{margin:4px 0;font-size:24px}.overview-intro p,.overview-card-heading p,.overview-footnote{margin:0;color:#667b72;font-size:12px}.overview-unit-picker{display:grid;gap:5px;font-size:11px;font-weight:700}.overview-unit-picker select{min-width:150px;padding:8px 10px;border:1px solid #bed3c9;border-radius:7px;background:#fff;color:#20342d}.overview-unit-note{padding:10px 12px;border:1px solid #cbe4d7;border-radius:8px;background:#eaf6ee;font-size:12px}.overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.overview-kpis article,.overview-card{min-width:0;border:1px solid #dce8e1;border-radius:12px;background:#fff;box-shadow:0 2px 8px #12462e0a}.overview-kpis article{display:grid;justify-items:start;gap:7px;padding:14px}.overview-kpis svg{color:#18805a}.overview-kpis span{font-size:11px;color:#667b72}.overview-kpis strong{max-width:100%;overflow-wrap:anywhere;font-size:clamp(17px,2vw,23px);font-variant-numeric:tabular-nums}.overview-card{padding:16px}.overview-card-heading{margin-bottom:14px}.overview-card-heading h3{margin:0 0 3px;font-size:15px}.overview-trend-card{margin-bottom:14px}.overview-trend-scroll{overflow-x:auto}.overview-trend{width:100%;min-width:550px;height:230px}.overview-trend text{fill:#71857a;font-size:11px}.overview-gridline{stroke:#e4ebe7;stroke-dasharray:4 4}.overview-line{fill:none;stroke:#18805a;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.overview-point{fill:#fff;stroke:#18805a;stroke-width:3}.overview-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.overview-bars{display:grid;gap:12px}.overview-bar-row{display:grid;grid-template-columns:18px minmax(80px,1.3fr) minmax(60px,1fr) auto;align-items:center;gap:8px;font-size:11px}.overview-rank{color:#82958b;font-weight:800}.overview-bar-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-bar-track{height:9px;border-radius:9px;background:#edf3ef;overflow:hidden}.overview-bar-fill{height:100%;border-radius:9px}.overview-bar-row strong{min-width:55px;text-align:right;font-variant-numeric:tabular-nums}.overview-empty{color:#82958b;font-size:12px}.overview-footnote{margin-top:14px}@media(max-width:900px){.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-chart-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.overview-page{padding:12px}.overview-kpis{gap:8px}.overview-kpis article{padding:10px}.overview-bar-row{grid-template-columns:14px minmax(70px,1fr) minmax(40px,.8fr) auto;gap:5px}}.overview-date-bar{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-bottom:16px}.overview-date-bar label{display:grid;gap:4px;font-size:11px;font-weight:700}.overview-date-bar input,.overview-date-bar button{min-height:36px;padding:7px 10px;border:1px solid #bed3c9;border-radius:7px;background:#fff;color:#20342d;font:inherit}.overview-date-bar button{display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:700}.overview-date-bar button:hover{background:#eaf6ee}.overview-feedback{display:grid;justify-items:center;gap:8px;padding:70px 20px;color:#667b72;text-align:center}.overview-feedback h4,.overview-feedback p{margin:0}.overview-feedback button{padding:7px 12px;border:1px solid #bed3c9;border-radius:7px;background:#fff;cursor:pointer}.overview-region-scroll,.overview-heatmap-scroll{overflow-x:auto}.overview-region-chart{display:flex;align-items:stretch;gap:12px;min-width:390px;height:215px}.overview-region-item{display:grid;grid-template-rows:24px 1fr 38px;justify-items:center;flex:1;min-width:0;gap:4px;font-size:10px}.overview-region-item strong{align-self:end;font-variant-numeric:tabular-nums}.overview-region-column-area{display:flex;align-items:end;width:100%;max-width:48px;border-bottom:1px solid #c7d7cd}.overview-region-column-area span{width:100%;border-radius:5px 5px 0 0}.overview-region-label{width:100%;text-align:center;overflow:hidden;line-height:1.2;overflow-wrap:anywhere}.overview-sku-list{display:grid;gap:13px}.overview-sku-row{display:grid;grid-template-columns:minmax(100px,1.3fr) minmax(75px,1fr) auto;align-items:center;gap:10px;font-size:11px}.overview-sku-name{display:grid;min-width:0}.overview-sku-name strong,.overview-sku-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-sku-name span{color:#71857a;font-size:10px}.overview-sku-line{position:relative;height:2px;background:#e4ece7}.overview-sku-line span{position:absolute;height:2px;left:0;top:0;background:#ba7131}.overview-sku-line span:after{content:"";position:absolute;right:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:#ba7131;box-shadow:0 0 0 3px #fff}.overview-sku-row b{min-width:48px;text-align:right;font-variant-numeric:tabular-nums}.overview-share-layout{display:flex;align-items:center;gap:22px;min-height:220px}.overview-donut{width:180px;height:180px;flex:0 0 180px;border-radius:50%;display:grid;place-items:center}.overview-donut>div{width:122px;height:122px;border-radius:50%;background:#fff;display:grid;align-content:center;justify-items:center}.overview-donut strong{font-size:25px;font-variant-numeric:tabular-nums}.overview-donut span{color:#71857a;font-size:11px}.overview-share-legend{min-width:0;flex:1;display:grid;gap:9px}.overview-share-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:7px;font-size:11px}.overview-share-legend i{width:10px;height:10px;border-radius:3px}.overview-share-legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-share-legend strong{font-variant-numeric:tabular-nums}.overview-heatmap-card{margin-top:14px}.overview-heatmap{display:grid;gap:5px;min-width:max-content}.overview-heat-header{color:#71857a;text-align:center;font-size:10px;font-weight:700;padding:4px}.overview-heat-header:first-child{text-align:left}.overview-heat-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center;font-size:11px;font-weight:700}.overview-heat-cell{min-height:34px;display:grid;place-items:center;padding:4px;border-radius:5px;background:#f2f6f3;font-size:10px;font-variant-numeric:tabular-nums}.overview-heat-cell.is-negative{background:#fce8e8;color:#ae3838}@media(max-width:620px){.overview-share-layout{flex-direction:column;align-items:stretch;gap:12px}.overview-donut{align-self:center}.overview-sku-row{grid-template-columns:minmax(90px,1fr) minmax(50px,1fr) auto;gap:6px}}.overview-section-title{margin:24px 0 12px}.overview-section-title span{color:#18805a;font-size:10px;font-weight:800;letter-spacing:.1em}.overview-section-title h3{margin:4px 0 0;font-size:19px}.overview-mini-scroll{overflow-x:auto}.overview-mini-bars,.overview-dual-bars{display:flex;align-items:stretch;gap:7px;height:215px}.overview-mini-item,.overview-dual-item{flex:1;min-width:0;display:grid;grid-template-rows:24px 1fr 38px;justify-items:center;gap:4px;font-size:10px}.overview-mini-item strong{align-self:end;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.overview-mini-item>span,.overview-dual-item small{align-self:start;text-align:center}.overview-mini-track{width:100%;max-width:35px;display:flex;align-items:end;border-bottom:1px solid #c7d7cd}.overview-mini-track span{width:100%;border-radius:4px 4px 0 0}.overview-extra-line text{fill:#71857a;font-size:10px}.overview-dual-item{grid-template-rows:1fr 38px}.overview-dual-track{display:flex;align-items:end;justify-content:center;gap:2px;width:100%;border-bottom:1px solid #c7d7cd}.overview-dual-track span{width:18px;max-width:45%;border-radius:4px 4px 0 0;background:#18805a}.overview-dual-track span+span{background:#d36b79}.overview-dual-legend{display:flex;justify-content:center;gap:16px;margin-top:8px;font-size:11px}.overview-dual-legend span{display:inline-flex;align-items:center;gap:5px}.overview-dual-legend i{width:9px;height:9px;border-radius:2px;background:#18805a}.overview-dual-legend span+span i{background:#d36b79}.overview-province-list{display:grid;gap:12px}.overview-province-row{display:grid;grid-template-columns:minmax(80px,1.25fr) minmax(80px,1fr) auto;align-items:center;gap:8px;font-size:11px}.overview-province-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-province-row>div{height:9px;overflow:hidden;border-radius:9px;background:#edf3ef}.overview-province-row i{display:block;height:100%;border-radius:9px}.overview-province-row strong{min-width:48px;text-align:right;font-variant-numeric:tabular-nums}.overview-chart-grid .overview-card,.overview-heatmap-card{content-visibility:auto;contain-intrinsic-size:auto 300px}.sd-page{display:grid;gap:14px;min-width:0}.sd-page .num{text-align:right;font-variant-numeric:tabular-nums}.sd-page .center{text-align:center}.sd-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:14px 18px}.sd-toolbar__title h2{margin:0;font-size:17px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sd-toolbar__title p{margin:4px 0 0;font-size:12px;color:var(--text-secondary)}.sd-toolbar__buttons{display:flex;flex-wrap:wrap;gap:8px}.sd-back{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:var(--text-secondary);font-size:12px;cursor:pointer;padding:0;margin-bottom:4px}.sd-filters,.sd-header-grid{display:grid;gap:12px;padding:14px 18px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}.sd-field{display:flex;flex-direction:column;min-width:0}.sd-field .form-label{margin-bottom:5px}.sd-field--grow{grid-column:span 2}.sd-field--customer{grid-column:span 2;min-width:240px}.sd-field--wide{grid-column:1/-2}.sd-field--action{justify-content:flex-end}.sd-field--action .btn{height:40px}.sd-input-icon{display:flex;align-items:center;gap:6px;position:relative}.sd-input-icon svg{position:absolute;left:10px;color:var(--text-muted)}.legacy-page-scope .sd-input-icon .form-input{padding-left:30px}.sd-table-panel,.sd-lines-panel{padding:0;overflow:hidden}.sd-page .data-table th.num{text-align:right}.sd-muted{color:var(--text-muted)}.sd-muted-block{display:block;color:var(--text-muted);font-size:11px;margin-top:2px}.sd-wrap{white-space:normal;max-width:220px}.sd-desc{max-width:260px;white-space:normal}.sd-link{border:0;background:none;padding:0;color:#594cc2;font-weight:700;cursor:pointer;font:inherit}.sd-row-actions{display:flex;gap:4px}.sd-row-actions button,.sd-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #e5e4eb;border-radius:7px;background:#fff;color:#5f6273;cursor:pointer}.sd-row-actions button:disabled{opacity:.4;cursor:not-allowed}.sd-row-actions button.danger,.sd-icon-btn.danger{color:#c04d5c}.sd-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;font-size:12px;color:var(--text-secondary);border-top:1px solid #f0f0f5}.sd-pagination div{display:flex;align-items:center;gap:10px}.sd-alert{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 16px;background:#fde9ec;color:#a53f4d;font-size:12px}.sd-loading{display:flex;align-items:center;gap:10px;padding:40px;justify-content:center;color:var(--text-secondary)}.sd-bulk{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 18px}.sd-bulk .form-label{margin:0}.legacy-page-scope .sd-bulk .form-select,.legacy-page-scope .sd-bulk .form-input{width:auto;min-width:130px;padding:7px 10px}.sd-status-DRAFT{background:#eeeafd;color:#6758c5}.sd-status-SUBMITTED{background:#fff1db;color:#b67522}.sd-status-APPROVED{background:#e4f6ef;color:#238963}.sd-status-CANCELLED{background:#fde9ec;color:#c04d5c}.sd-status-POSTED{background:#e9efff;color:#5072c9}.sd-status-REVERSED{background:#fde9ec;color:#c04d5c}.sd-lines-scroll{overflow:auto;max-height:calc(100vh - 260px)}.sd-lines{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;font-variant-numeric:tabular-nums}.sd-lines th{position:sticky;top:0;z-index:2;background:#f9f9fc;color:#858899;font-size:10px;text-transform:uppercase;letter-spacing:.04em;padding:10px 8px;border-bottom:1px solid #ececf2;white-space:nowrap;text-align:left}.sd-lines td{padding:7px 8px;border-bottom:1px solid #f0f0f5;white-space:nowrap;background:#fff;vertical-align:middle}.sd-lines tfoot td{position:sticky;bottom:0;background:#f9f9fc;border-top:1px solid #ececf2;z-index:1}.sd-lines .sd-sticky-1{position:sticky;left:0;z-index:1;min-width:58px}.sd-lines .sd-sticky-2{position:sticky;left:58px;z-index:1;box-shadow:1px 0 #ececf2}.sd-lines th.sd-sticky-1,.sd-lines th.sd-sticky-2{z-index:3}.sd-lines tr.has-error>td{background:#fff7f8}.sd-lines input[type=checkbox]{width:15px;height:15px}.sd-expand{display:inline-flex;border:0;background:none;padding:0 3px 0 0;cursor:pointer;color:#777b8e;vertical-align:middle}.sd-cell-input{width:78px;padding:5px 7px;border:1px solid #dedee8;border-radius:6px;font:inherit;font-size:12px;text-align:right;background:#fff}.sd-cell-input:disabled{background:#f6f6f9;color:#b3b5c2}.sd-cell-input--money{width:110px}.sd-cell-input--text{width:180px;text-align:left}.sd-empty{text-align:center;padding:34px!important;color:var(--text-secondary)}.sd-detail-row>td{background:#fbfbfd!important;white-space:normal;padding:10px 14px 14px 58px!important}.sd-line-error{display:flex;align-items:center;gap:6px;color:#b0404f;font-size:12px;margin-bottom:6px}.sd-alloc__meta{font-size:12px;color:var(--text-secondary);margin-bottom:8px}.sd-alloc table{border-collapse:collapse;min-width:760px;background:#fff;border:1px solid #ececf2;border-radius:8px}.sd-alloc th{position:static;background:#f4f4f8;padding:7px 8px}.sd-alloc td{padding:5px 8px;border-bottom:1px solid #f0f0f5}.legacy-page-scope .sd-alloc .form-select{padding:5px 8px;font-size:12px;width:auto}.sd-alloc__add{display:flex;gap:8px;margin-top:8px}.sd-total-discount{text-align:right;color:#594cc2}.sd-picker-window{min-height:100vh;height:100vh;background:#f6f6fa}.sd-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#f6f6fa}.sd-picker-banner{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#fde9ec;color:#a53f4d;font-size:13px}.sd-picker-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100vh;text-align:center;padding:20px}.sd-picker-notice h2{margin:0;font-size:18px}.sd-picker-notice p{margin:0;color:#777b8e}.sd-picker-notice--success{color:#238963}.sd-picker-notice--error{color:#c04d5c}.sd-cancel-summary{display:grid;gap:6px;margin:0 0 10px;font-size:13px}.sd-cancel-summary div{display:flex;justify-content:space-between;gap:10px}.sd-cancel-summary dt{color:var(--text-secondary)}.sd-cancel-summary dd{margin:0;font-weight:700}.sd-cancel-warning{background:#fff4e5;border-radius:8px;padding:10px 12px;font-size:12px;color:#8a5a14}.sd-cancel-dialog textarea{width:100%;margin-bottom:12px}@media(max-width:900px){.sd-field--grow,.sd-field--customer,.sd-field--wide{grid-column:1/-1}}.sd-order-panel{padding:0;overflow:hidden}.sd-order-panel__head{padding:14px 18px 8px}.sd-order-panel__head h3{margin:0;font-size:15px}.sd-order-panel__head p{margin:4px 0 0;font-size:12px;color:var(--text-secondary)}.sd-order-row--error td{background:#fff7f8}.sd-order-error{display:block;color:#b0404f;font-size:11px;margin-top:3px}.sd-refund-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.sd-order-panel__head h3 .sd-muted{font-size:12px;font-weight:500}.confirm-dialog.sd-cancel-dialog>p.sd-cancel-warning{margin:10px 0 12px}.sd-lines tr.sd-band-0>td{background:#fff}.sd-lines tr.sd-band-1>td{background:#eef3fb}.sd-lines tr.sd-detail-row.sd-band-0>td{background:#fbfbfd!important}.sd-lines tr.sd-detail-row.sd-band-1>td{background:#e6edf8!important}.sd-lines tr.sd-line-row.has-error>td{background:#fff1f3}.sd-ck-list{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:260px}.sd-ck-pair{display:flex;gap:4px;align-items:center}.legacy-page-scope .sd-ck-pair .form-select,.sd-ck-pair .form-select{width:190px;min-width:190px;height:auto;padding:5px 26px 5px 8px;font-size:12px;line-height:1.4;text-align:left}.sd-ck-list .sd-link{display:inline-flex;align-items:center;gap:3px;font-size:12px}.sd-item-preview{font-size:11px;color:#2563eb;background:#eff6ff;padding:2px 6px;border-radius:4px;white-space:nowrap;font-weight:600}.sd-ck-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:3px}.sd-copy-btn{display:inline-flex;align-items:center;gap:3px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:11px;font-weight:500;padding:2px 7px;border-radius:5px;cursor:pointer;transition:all .15s}.sd-copy-btn:hover{background:#f8fafc;color:#1e293b;border-color:#cbd5e1}.sd-paste-btn{display:inline-flex;align-items:center;gap:3px;border:1px solid #c7d2fe;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:600;padding:2px 7px;border-radius:5px;cursor:pointer;transition:all .15s}.sd-paste-btn:hover{background:#e0e7ff;color:#3730a3}.sd-popover-container{position:relative;display:inline-block}.sd-popover-menu{position:absolute;left:0;top:calc(100% + 4px);z-index:50;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;border-radius:6px;padding:4px;min-width:190px;display:flex;flex-direction:column;gap:2px}.sd-popover-item{border:0;background:none;padding:6px 10px;text-align:left;font-size:12px;color:#334155;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:6px;white-space:nowrap}.sd-popover-item:hover{background:#f1f5f9;color:#0f172a}.sd-clipboard-indicator{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;background:#eef2ff;border:1px solid #c7d2fe;border-radius:6px;font-size:11px;color:#4338ca}.cust-multi{position:relative;width:100%}.cust-multi__trigger{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:4px 8px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer;transition:border-color .15s,box-shadow .15s;gap:6px}.cust-multi__trigger:hover{border-color:#94a3b8}.cust-multi.is-disabled .cust-multi__trigger{background:#f8fafc;cursor:not-allowed;opacity:.7}.cust-multi__chips{display:flex;align-items:center;gap:4px;flex-wrap:wrap;flex:1;overflow:hidden}.cust-multi__placeholder{color:#94a3b8;font-size:13px}.cust-multi__chip{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:4px;font-size:12px;max-width:240px}.cust-multi__chip-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cust-multi__chip-remove{border:none;background:transparent;color:#3b82f6;cursor:pointer;padding:0;display:flex;align-items:center;border-radius:2px}.cust-multi__chip-remove:hover{color:#1d4ed8;background:#3b82f626}.cust-multi__chip--summary{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.cust-multi__icons{display:flex;align-items:center;gap:4px;color:#64748b}.cust-multi__clear-all{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:2px;display:flex;align-items:center;border-radius:3px}.cust-multi__clear-all:hover{color:#ef4444;background:#fee2e2}.cust-multi__arrow{transition:transform .15s}.cust-multi__arrow.is-open{transform:rotate(180deg)}.cust-multi__dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:100;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 25px -5px #00000026;padding:6px;display:flex;flex-direction:column;gap:6px;min-width:320px}.cust-multi__search-box{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc}.cust-multi__search-icon{color:#94a3b8;flex-shrink:0}.cust-multi__search-input{border:none;background:transparent;outline:none;font-size:12px;width:100%;color:#1e293b}.cust-multi__loading{color:#3b82f6;flex-shrink:0}.cust-multi__actions-bar{display:flex;align-items:center;justify-content:space-between;padding:0 2px}.cust-multi__action-btn{border:none;background:transparent;font-size:11px;color:#2563eb;font-weight:600;cursor:pointer;padding:2px 4px;border-radius:3px}.cust-multi__action-btn:hover{background:#eff6ff}.cust-multi__action-btn--danger{color:#ef4444}.cust-multi__action-btn--danger:hover{background:#fee2e2}.cust-multi__list{overflow-y:auto;max-height:200px;display:flex;flex-direction:column;gap:2px}.cust-multi__item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:5px;cursor:pointer;transition:background .1s}.cust-multi__item:hover{background:#f1f5f9}.cust-multi__item.is-selected{background:#eff6ff}.cust-multi__item-body{flex:1;overflow:hidden}.cust-multi__item-title{font-size:12px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cust-multi__item-code{color:#2563eb}.cust-multi__item-sub{font-size:11px;color:#64748b}.cust-multi__item-check{color:#2563eb;flex-shrink:0}.cust-multi__empty{padding:16px;text-align:center;font-size:12px;color:#94a3b8}.cust-multi__footer{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 2px;border-top:1px solid #f1f5f9;font-size:11px;color:#64748b}.cust-multi__done-btn{padding:4px 10px;font-size:12px;font-weight:600;border-radius:4px;border:none;background:#2563eb;color:#fff;cursor:pointer}.cust-multi__done-btn:hover{background:#1d4ed8}.sd-lines tbody tr.sd-line-row{cursor:pointer}.confirm-dialog.sd-detail-dialog{width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 48px);display:flex;flex-direction:column}.sd-detail-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:14px 0 12px;font-size:12px}.sd-detail-summary div{background:#f6f6fa;border-radius:8px;padding:8px 10px}.sd-detail-summary dt{color:var(--text-secondary);margin-bottom:2px}.sd-detail-summary dd{margin:0;font-weight:700;font-size:13px}.sd-detail-summary dd.sd-detail-accent{color:#594cc2}.sd-detail-scroll{overflow:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;margin-bottom:12px;padding-right:2px}.sd-detail-line{border:1px solid #ececf2;border-radius:10px;padding:10px 12px;background:#fff}.sd-detail-line.is-focus{border-color:#8b80e0;box-shadow:0 0 0 2px #594cc226}.sd-detail-line__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:13px}.sd-detail-line__no{font-size:11px;font-weight:700;color:#594cc2;background:#efedfb;border-radius:6px;padding:1px 6px}.sd-detail-line__meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--text-secondary);margin:6px 0 8px}.sd-detail-line table{width:100%;border-collapse:collapse;font-size:12px}.sd-detail-line th{background:#f4f4f8;padding:6px 8px;text-align:left;font-weight:600}.sd-detail-line td{padding:5px 8px;border-bottom:1px solid #f0f0f5}.sd-detail-line th.num,.sd-detail-line td.num{text-align:right}.sd-detail-line tfoot td{border-bottom:0;background:#fafafd}.sd-detail-line__desc{margin:6px 0 0;font-size:12px;color:var(--text-secondary)}.sd-page .data-table .badge{white-space:nowrap}.sd-sheet{--sel:#1a73e8;--sel-fill:rgba(26,115,232,.11);--grid:#e3e5ec;position:relative;outline:none}.sd-sheet:not(.is-focused){--sel:#7d8aa6;--sel-fill:rgba(110,122,150,.1)}.sd-sheet.is-dragging,.sd-sheet.is-dragging *{-webkit-user-select:none;user-select:none;cursor:cell}.sd-sheet .sd-lines td,.sd-sheet .sd-lines th{border-right:1px solid var(--grid);border-bottom:1px solid var(--grid)}.sd-sheet .sd-lines tbody td{cursor:cell;padding:6px 8px;scroll-margin:44px 8px 44px 200px}.sd-sheet .sd-lines tbody td:not(.sd-sticky-1):not(.sd-sticky-2){position:relative}.sd-sheet .sd-lines td.sd-sticky-1,.sd-sheet .sd-lines td.sd-sticky-2{scroll-margin-left:0}.sd-sheet .sd-lines td.sd-actions-cell{cursor:default;border-right:0}.sd-sheet .sd-lines td input,.sd-sheet .sd-lines td select{cursor:auto}.sd-sheet .sd-lines td button{cursor:pointer}.sd-sheet .sd-lines th{cursor:pointer;-webkit-user-select:none;user-select:none;padding-top:6px;transition:background .12s,color .12s}.sd-sheet .sd-lines th:hover{background:#f0f2f8}.sd-col-letter{display:flex;align-items:center;gap:3px;font-size:9px;font-weight:700;letter-spacing:.08em;color:#b4b8c7;margin-bottom:2px}.sd-sort-label{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;padding:0;cursor:pointer}.sd-sort-label:hover{text-decoration:underline}.sd-sort-label:focus-visible{outline:2px solid var(--sel);outline-offset:2px;border-radius:2px}.sd-sheet .sd-lines th.num .sd-col-letter{justify-content:flex-end}.sd-sheet .sd-lines th.sd-col-edit{box-shadow:inset 0 -2px #c9d6f2}.sd-sheet .sd-lines th.is-on{background:#e3ecfb;color:#1a56c4;box-shadow:inset 0 -2px 0 var(--sel)}.sd-sheet .sd-lines th.is-on .sd-col-letter{color:#1a56c4}.sd-sheet .sd-lines th.sd-corner{cursor:se-resize}.sd-sheet .sd-lines td.sd-rowhead{background:#f7f8fb!important;color:#6b7086;font-weight:600;cursor:e-resize}.sd-sheet .sd-lines tr.is-row-on>td.sd-rowhead{background:#e3ecfb!important;color:#1a56c4;box-shadow:inset -2px 0 0 var(--sel)}.sd-sheet .sd-lines td.sd-rowhead.sd-sel{background-image:none}.sd-sheet .sd-lines tr.sd-line-row>td.sd-editable{background-color:#fffdf6}.sd-sheet .sd-lines tr.sd-line-row.sd-band-1>td.sd-editable{background-color:#f3f6fb}.sd-sheet .sd-lines tr.sd-line-row.has-error>td.sd-editable{background-color:#fff1f3}.sd-sheet .sd-cell-input{border-color:transparent;background:transparent;transition:border-color .12s,background .12s,box-shadow .12s}.sd-sheet .sd-lines td:hover .sd-cell-input:not(:disabled),.sd-sheet .sd-cell-input:focus{border-color:#cfd6e6;background:#fff}.sd-sheet .sd-cell-input:focus{outline:none;border-color:var(--sel);box-shadow:0 0 0 2px #1a73e82e}.sd-sheet .sd-lines tr>td.sd-sel{background-image:linear-gradient(var(--sel-fill),var(--sel-fill))}.sd-sheet .sd-lines tr>td.sd-sel.sd-active{background-image:none}.sd-sheet .sd-lines td.sd-sel{box-shadow:inset var(--sl,0px) 0 0 0 var(--sel),inset calc(var(--sr,0px) * -1) 0 0 0 var(--sel),inset 0 var(--st,0px) 0 0 var(--sel),inset 0 calc(var(--sb,0px) * -1) 0 0 var(--sel)}.sd-sheet .sd-lines td.sd-sel-l{--sl:2px}.sd-sheet .sd-lines td.sd-sel-r{--sr:2px}.sd-sheet .sd-lines td.sd-sel-t{--st:2px}.sd-sheet .sd-lines td.sd-sel-b{--sb:2px}.sd-sheet .sd-lines td.sd-active{outline:2px solid var(--sel);outline-offset:-2px}.sd-sheet .sd-lines tr>td.sd-fill-preview{background-image:repeating-linear-gradient(135deg,rgba(26,115,232,.1) 0 5px,transparent 5px 10px);outline:1px dashed var(--sel);outline-offset:-1px}.sd-fill-handle{position:absolute;right:-4px;bottom:-4px;width:8px;height:8px;background:var(--sel);border:1.5px solid #fff;border-radius:1px;cursor:crosshair;z-index:6;box-shadow:0 0 0 1px #1a73e840}.sd-fill-handle:hover{transform:scale(1.25)}.sd-findbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--grid,#e3e5ec);background:#fffbeb;font-size:12px}.sd-findbar__col{font-size:12px;padding:3px 6px;border:1px solid #d4d4d8;border-radius:4px;background:#fff}.sd-findbar__input{flex:0 1 280px;min-width:160px;font-size:13px;padding:4px 8px;border:1px solid #f59e0b;border-radius:4px;outline:none;background:#fff}.sd-findbar__input:focus{box-shadow:0 0 0 2px #f59e0b40}.sd-findbar__chip{display:inline-flex;align-items:center;gap:2px;border:1px solid #fcd34d;background:#fef3c7;border-radius:999px;padding:1px 4px 1px 8px}.sd-findbar__chip button{border:0;background:none;cursor:pointer;padding:1px 2px;font-size:12px;display:inline-flex;align-items:center}.sd-findbar__count{margin-left:auto;color:var(--text-secondary)}.sd-col-filtered{margin-left:4px;color:#d97706;vertical-align:-1px}.spa-page{padding:24px;color:#1e293b}.spa-header,.spa-detail-title,.spa-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.spa-header{margin-bottom:20px}.spa-header h1{font-size:24px;margin:0 0 4px}.spa-header p{margin:0;color:#64748b}.spa-layout{display:grid;grid-template-columns:minmax(420px,1fr) minmax(560px,1.25fr);gap:16px;align-items:start}.spa-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px;min-width:0}.spa-panel h2{font-size:18px;margin:0 0 14px}.spa-panel h3{font-size:15px;margin:22px 0 12px}.spa-list{max-height:calc(100vh - 190px);overflow:auto}.spa-search{display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;margin-bottom:12px;color:#64748b}.spa-search input{border:0;outline:0;width:100%;padding:10px 0;font:inherit}.spa-table-wrap{overflow:auto}.spa-page table{width:100%;border-collapse:collapse;font-size:13px}.spa-page th,.spa-page td{padding:10px;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap}.spa-page th{background:#f8fafc;color:#475569;font-weight:600}.spa-list tbody tr{cursor:pointer}.spa-list tbody tr:hover,.spa-selected{background:#eff6ff}.spa-page td:nth-child(3){max-width:220px;overflow:hidden;text-overflow:ellipsis}.spa-number{text-align:right!important}.spa-status{display:inline-block;background:#fef3c7;color:#92400e;border-radius:99px;padding:4px 8px;font-size:12px}.spa-status.published{background:#dcfce7;color:#166534}.spa-primary,.spa-plain,.spa-icon{display:inline-flex;align-items:center;gap:6px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px 12px;cursor:pointer;font:inherit}.spa-primary{background:#2563eb;color:#fff;border-color:#2563eb}.spa-icon{border:0;padding:5px;color:#be123c}.spa-primary:disabled,.spa-plain:disabled{opacity:.5;cursor:default}.spa-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.spa-fields label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:6px}.spa-fields input{border:1px solid #cbd5e1;border-radius:7px;padding:9px;font:inherit}.spa-wide{grid-column:1/-1}.spa-price{width:125px;border:1px solid #cbd5e1;border-radius:6px;padding:7px;text-align:right}.spa-sku-results{max-height:210px;overflow:auto;border:1px solid #e2e8f0;border-radius:8px;margin-top:-8px;margin-bottom:12px}.spa-sku-results button{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:9px 12px;background:#fff;border:0;border-bottom:1px solid #f1f5f9;cursor:pointer}.spa-sku-results button:hover{background:#eff6ff}.spa-empty{color:#64748b;text-align:center;padding:24px}.spa-summary{display:flex;gap:24px;margin:18px 0;flex-wrap:wrap}.spa-summary div{display:flex;flex-direction:column;gap:4px}.spa-summary small{color:#64748b}.spa-actions{justify-content:flex-end;flex-wrap:wrap;margin-top:16px}@media(max-width:1100px){.spa-layout{grid-template-columns:1fr}.spa-list{max-height:350px}}@media(max-width:600px){.spa-page{padding:12px}.spa-fields{grid-template-columns:1fr}.spa-header{align-items:flex-start}.spa-header h1{font-size:20px}}.ppr-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.ppr-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.ppr-filters input{border:1px solid #cbd5e1;border-radius:7px;padding:9px;font:inherit;min-width:190px}.ppr-filters label:nth-child(2){flex:1;max-width:420px}.ppr-help{font-size:13px;color:#64748b;margin:16px 0}.ppr-error{color:#b91c1c}.ppr-summary{font-size:14px;font-weight:600;margin:20px 0 12px}.ppr-table-wrap{max-height:65vh}.ppr-page table{min-width:1200px}.ppr-page th,.ppr-page td{border:1px solid #d9dee7;padding:7px 10px}.ppr-page th{background:#fff6cf;text-align:center;color:#1e293b}.ppr-page td:nth-child(2){white-space:normal;min-width:300px;max-width:440px}.ppr-page td:nth-child(3){max-width:none;overflow:visible}.ppr-group td{background:#fff5e4;font-weight:700}.ppr-group button{display:flex;gap:6px;align-items:center;background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left}.ppr-group button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.ppr-caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.ppr-product-row{cursor:pointer}.ppr-product-row:hover,.ppr-product-row:focus-visible{background:#eff6ff}.ppr-dialog{width:min(1100px,94vw);max-height:88vh;padding:0;border:1px solid #cbd5e1;border-radius:12px;color:#1e293b;background:#fff;box-shadow:0 20px 60px #0003}.ppr-dialog::backdrop{background:#0f172a80}.ppr-dialog-content{padding:24px}.ppr-dialog h2{margin:0;font-size:20px}.ppr-dialog h3{font-size:15px}.ppr-dialog table{min-width:750px}.ppr-dialog th{background:#f8fafc;text-align:left}.ppr-dialog .spa-table-wrap{max-height:50vh}.ppr-dialog td:nth-child(3){max-width:none}.ppr-dialog .ppr-current-product{background:#eff6ff;font-weight:600}.ppr-current-label{display:block;color:#2563eb;font-weight:400;margin-top:4px}.ppr-dialog .spa-summary{overflow-wrap:anywhere}@media(max-width:600px){.ppr-dialog-content{padding:14px}.ppr-dialog .spa-detail-title{align-items:flex-start}.ppr-dialog h2{font-size:17px}}:root{--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-size-xs: 11px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-subheading: 15px;--font-size-heading: 18px;--font-size-title: 22px;--font-size-display: 28px;--space-xs: 4px;--space-sm: 8px;--space-md: 16px;--space-lg: 24px;--space-xl: 32px;--space-2xl: 48px;--space-3xl: 64px;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-full: 9999px;--color-primary: #594cc2;--color-primary-hover: #4b3eb0;--color-primary-soft: #f0edff;--color-primary-border: #ded8f8;--color-success: #16a34a;--color-success-soft: #dcfce7;--color-success-border: #bbf7d0;--color-warning: #d97706;--color-warning-soft: #fef3c7;--color-warning-border: #fde68a;--color-danger: #dc2626;--color-danger-soft: #fee2e2;--color-danger-border: #fecaca;--color-info: #2563eb;--color-info-soft: #dbeafe;--color-info-border: #bfdbfe;--color-surface-0: #f8fafc;--color-surface-1: #ffffff;--color-surface-2: #f1f5f9;--color-surface-3: #e2e8f0;--color-text-primary: #0f172a;--color-text-secondary: #475569;--color-text-muted: #94a3b8;--color-text-disabled: #cbd5e1;--color-border: #e2e8f0;--color-border-strong: #cbd5e1;--color-border-focus: #594cc2;--shadow-sm: 0 1px 2px rgb(15 23 42 / 5%);--shadow-md: 0 4px 8px -2px rgb(15 23 42 / 10%);--shadow-lg: 0 14px 30px -8px rgb(15 23 42 / 18%);--transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--transition-normal: .25s cubic-bezier(.4, 0, .2, 1);--primary: var(--color-primary);--primary-soft: var(--color-primary-soft);--ink: var(--color-text-primary);--muted: var(--color-text-muted);--line: var(--color-border);--surface: var(--color-surface-1);--text-main: var(--color-text-primary);--text-primary: var(--color-text-primary);--text-secondary: var(--color-text-secondary);--text-muted: var(--color-text-muted)}.tabular-num,.money-cell,.qty-cell,table td:has(.order-code),input[type=number]{font-variant-numeric:tabular-nums}.money-cell,.qty-cell{text-align:right}:root{font-family:Inter,system-ui,sans-serif;color:#303247;background:#f7f8fc;font-synthesis:none;--primary:#6558d3;--primary-soft:#e8e5f8;--ink:#303247;--muted:#8b8e9d;--line:#ececf2;--surface:#fff;--shadow:0 12px 38px rgba(44,48,78,.06);--sidebar-width:232px;--sidebar-pad:16px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button,a{transition:.2s ease}a{text-decoration:none;color:inherit}.icon-button{border:0;background:none;color:inherit;cursor:pointer;display:grid;place-items:center}.eyebrow{display:flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--primary)}.app-loader{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}.spinner{width:32px;height:32px;border:3px solid var(--primary-soft);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:#fff;border-right:1px solid var(--line);padding:18px var(--sidebar-pad) 14px;display:flex;flex-direction:column;z-index:30}.brand,.login-brand{display:flex;align-items:center;gap:12px}.brand-link{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;background:linear-gradient(145deg,#7769e9,#5145b6);border-radius:13px;color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:0 8px 18px #6558d33a}.brand-logo{width:32px;height:32px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 7px 10px rgba(51,55,92,.16))}.brand-logo--large{width:58px;height:58px}.brand>div,.brand-link>div{display:flex;flex-direction:column}.brand strong,.login-brand strong,.brand-link strong{font-size:17px;letter-spacing:-.04em}.brand strong span,.brand-link strong span{color:var(--primary)}.brand small,.brand-link small{font-size:10px;color:#a0a2af;margin-top:2px}.sidebar-app-header{margin-top:14px;margin-bottom:6px;padding-bottom:10px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.sidebar-back-lobby-btn{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--primary);background:var(--primary-soft);padding:5px 10px;border-radius:8px;text-decoration:none;transition:all .18s ease;width:fit-content}.sidebar-back-lobby-btn:hover{background:var(--primary);color:#fff;transform:translate(-2px)}.sidebar-current-app{display:flex;align-items:center;gap:9px}.sidebar-current-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#fff;flex-shrink:0}.sidebar-current-icon--sales{background:linear-gradient(135deg,#7567df,#594cc2);box-shadow:0 4px 12px #6558d340}.sidebar-current-icon--analytics{background:linear-gradient(135deg,#0ea5e9,#0284c7);box-shadow:0 4px 12px #0ea5e940}.sidebar-current-icon--warehouse{background:linear-gradient(135deg,#29a884,#1e876a);box-shadow:0 4px 12px #29a88440}.receipt-wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.receipt-wizard-steps div{display:flex;align-items:center;gap:9px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;color:var(--text-muted);background:#fff;font-size:.82rem}.receipt-wizard-steps span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#f1f5f9;font-size:.7rem}.receipt-wizard-steps .is-active{color:var(--text-primary);border-color:#fcd34d;background:#fffbeb}.receipt-wizard-steps .is-active span{background:#f59e0b;color:#111827}.receipt-allocation-list{display:grid;gap:14px}.receipt-allocation-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#f8fafc}.receipt-allocation-card header{display:flex;justify-content:space-between;gap:15px;padding:15px 18px;border-bottom:1px solid var(--line)}.receipt-allocation-card header div{display:grid;gap:4px}.receipt-allocation-card header small{color:var(--text-secondary)}.receipt-allocation-card header>span{height:fit-content;padding:5px 9px;border-radius:999px;font-size:.75rem;font-weight:700}.receipt-allocation-card .is-match{color:#047857;background:#d1fae5}.receipt-allocation-card .is-difference{color:#b45309;background:#fef3c7}.receipt-allocation-rows{display:grid;gap:9px;padding:14px 18px}.receipt-allocation-row{display:grid;grid-template-columns:minmax(240px,2fr) minmax(140px,1fr) auto;align-items:end;gap:10px}.receipt-allocation-row label{display:grid;gap:5px}.receipt-allocation-row label>span{color:var(--text-secondary);font-size:.72rem;font-weight:700;text-transform:uppercase}.receipt-add-allocation{display:inline-flex;align-items:center;gap:6px;margin:0 18px 14px;padding:0;border:0;background:transparent;color:#b45309;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.receipt-create-page{width:100%}.receipt-create-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.receipt-back-button{display:inline-flex;align-items:center;gap:7px;padding:0;margin-bottom:16px;border:0;background:transparent;color:var(--text-secondary);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.receipt-back-button:hover{color:var(--primary)}.receipt-create-title{display:flex;align-items:center;gap:14px}.receipt-create-title h2{font-size:1.55rem;margin:0 0 4px}.receipt-create-title p,.receipt-section-heading p{color:var(--text-secondary);font-size:.83rem;margin:0}.receipt-create-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:#059669;background:#d1fae5;border:1px solid #a7f3d0}.receipt-create-status{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;color:#b45309;background:#fffbeb;border:1px solid #fde68a;font-size:.78rem;font-weight:700}.receipt-create-form{display:grid;gap:18px}.receipt-form-section{padding:24px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.receipt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.receipt-section-heading>div{display:flex;align-items:center;gap:11px}.receipt-section-heading>div>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#b45309;background:#fef3c7;font-size:.75rem;font-weight:800}.receipt-section-heading h3{font-size:1rem;margin:0 0 3px}.receipt-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.receipt-info-notes{grid-column:1/-1}.receipt-required{color:#e11d48}.receipt-lines-section{padding-left:0;padding-right:0}.receipt-lines-section .receipt-section-heading{padding:0 24px}.receipt-lines-table{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.receipt-lines-table .form-input,.receipt-lines-table .form-select{min-width:105px;padding:8px 10px}.receipt-lines-table .form-select{min-width:210px}.receipt-lines-table td{vertical-align:middle}.receipt-number-input{text-align:right;font-weight:700}.receipt-line-total{text-align:right;white-space:nowrap;color:#059669!important;font-weight:800}.receipt-remove-line{padding:7px;color:#e11d48}.receipt-empty-lines{display:grid;justify-items:center;gap:10px;padding:38px;color:var(--text-secondary)}.receipt-create-footer{position:sticky;bottom:14px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;background:#fffffff5;border:1px solid var(--line);border-radius:15px;box-shadow:0 12px 35px #2c304e26;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.receipt-create-summary{display:flex;align-items:center;gap:18px;color:var(--text-secondary);font-size:.82rem}.receipt-create-summary>span{padding-right:18px;border-right:1px solid var(--line)}.receipt-create-summary div{display:grid;gap:2px}.receipt-create-summary small{color:var(--text-muted);text-transform:uppercase;font-size:.68rem;font-weight:700}.receipt-create-summary strong{color:#059669;font-size:1.15rem}.receipt-create-actions{display:flex;gap:10px}@media(max-width:1000px){.receipt-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-create-footer{position:static;align-items:flex-end}.receipt-create-summary{flex-wrap:wrap}}@media(max-width:640px){.receipt-create-heading,.receipt-section-heading,.receipt-create-footer{align-items:stretch;flex-direction:column}.receipt-info-grid{grid-template-columns:1fr}.receipt-info-notes{grid-column:auto}.receipt-form-section{padding:18px}.receipt-lines-section{padding-left:0;padding-right:0}.receipt-create-actions .btn{flex:1}}.sidebar-current-icon--accounting{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b40}.sidebar-current-icon--admin{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 12px #ef444440}.sidebar-current-icon--dashboard{background:linear-gradient(135deg,#6366f1,#4f46e5);box-shadow:0 4px 12px #6366f140}.sidebar-current-info{display:flex;flex-direction:column;min-width:0}.sidebar-current-tag{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.sidebar-current-name{font-size:13px;font-weight:800;color:#1e1b4b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-nav-container{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 calc(-1 * var(--sidebar-pad));padding:0 var(--sidebar-pad);scrollbar-width:thin}.sidebar-section-title{font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:10px 0 4px}.primary-nav{display:flex;flex-direction:column;flex-shrink:0;gap:2px;margin:0 calc(-1 * var(--sidebar-pad))}.primary-nav a,.nav-group-trigger{display:flex;gap:10px;align-items:center;padding:7px var(--sidebar-pad);color:#64748b;font-size:12.5px;font-weight:500;position:relative;transition:all .15s ease;background:none;border:none;width:100%;text-align:left;cursor:pointer}.primary-nav a:hover,.nav-group-trigger:hover{background:#f8fafc;color:var(--primary)}.primary-nav a.active{background:var(--primary-soft);color:var(--primary);font-weight:700}.primary-nav a.active:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--primary);border-radius:0 3px 3px 0}.nav-group{display:flex;flex-direction:column;flex-shrink:0;min-width:0}.primary-nav>a,.nav-group-trigger,.sub-nav>a{flex-shrink:0;min-height:34px}.primary-nav svg{flex-shrink:0}.primary-nav a span,.nav-group-trigger .trigger-content{min-width:0}.primary-nav a span,.nav-group-trigger span{overflow-wrap:anywhere}.sidebar>.brand,.sidebar-app-header,.sidebar-profile,.sidebar-collapse-button{flex-shrink:0}.nav-group-trigger{justify-content:space-between}.nav-group-trigger.has-active-child{color:var(--primary);font-weight:600}.nav-group-trigger .trigger-content{display:flex;align-items:center;gap:10px}.nav-group-chevron{transition:transform .2s ease;color:#94a3b8}.nav-group-chevron.expanded{transform:rotate(90deg);color:var(--primary)}.sub-nav{display:flex;flex-direction:column;gap:1px;padding:2px 0 3px 10px;background:#fbfbfd;border-left:2px solid #eef0f6;margin:2px 10px 4px 24px;border-radius:0 8px 8px 0}.sub-nav a{padding:6px 10px;font-size:11.5px;font-weight:500;color:#64748b;border-radius:6px;gap:8px}.sub-nav a:hover{background:#f1f5f9;color:var(--primary)}.sub-nav a.active{background:var(--primary-soft);color:var(--primary);font-weight:700}.sub-nav a.active:before{display:none}.sidebar-profile{display:grid;grid-template-columns:32px 1fr 28px;align-items:center;gap:9px;margin-top:12px}.sidebar-profile .avatar,.header-avatar{border-radius:10px;background:#f0bd92;color:#fff;display:grid;place-items:center;font-weight:800}.sidebar-profile .avatar{width:32px;height:32px;font-size:13px}.sidebar-profile>div{display:flex;min-width:0;flex-direction:column}.sidebar-profile strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile small{font-size:9.5px;color:var(--muted);margin-top:2px}.sidebar-close,.menu-button,.backdrop{display:none}.main-area{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width))}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 36px}.topbar-context{display:flex;align-items:center;gap:8px;margin-right:20px;white-space:nowrap}.topbar-lobby-link{font-size:13px;font-weight:600;color:#64748b;text-decoration:none;transition:color .15s ease}.topbar-lobby-link:hover{color:var(--primary)}.topbar-slash{color:#cbd5e1;font-size:13px}.topbar-active-module{font-size:14px;font-weight:700;color:#0f172a}.global-search{display:flex;align-items:center;gap:12px;background:#f7f7fa;color:var(--primary);border-radius:12px;padding:0 17px;width:min(420px,40vw)}.global-search input{border:0;outline:0;background:transparent;height:44px;width:100%;color:var(--ink)}.topbar-tools{margin-left:auto;display:flex;align-items:center;gap:12px}.notification{width:40px;height:40px;background:#fff7ec;border-radius:10px;color:#e99a36;position:relative;margin-right:4px}.notification i{position:absolute;width:7px;height:7px;border-radius:50%;background:#ff6b58;right:8px;top:7px;border:1px solid white}.header-avatar{width:40px;height:40px}.header-profile{display:flex;flex-direction:column;min-width:105px}.header-profile strong{font-size:13px}.header-profile small{font-size:10px;color:var(--muted);margin-top:4px}.content{padding:36px clamp(20px,3.5vw,54px);max-width:1500px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.page-heading h1{font-size:clamp(28px,3vw,38px);margin:8px 0 7px;letter-spacing:-.04em;color:#292b3e}.page-heading p{margin:0;color:var(--muted);font-size:14px}.soft-button{border:1px solid #e7e5f4;background:#fff;color:var(--primary);border-radius:10px;padding:10px 14px;display:flex;align-items:center;gap:8px;cursor:pointer}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.module-card{min-height:250px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow);overflow:hidden;position:relative}.module-card:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-48px;bottom:-55px;background:currentColor;opacity:.07}.module-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px #2c304e1c}.module-card-top{display:flex;align-items:flex-start;justify-content:space-between}.module-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:currentColor}.module-icon svg{color:#fff}.module-card small{font-size:9px;letter-spacing:.13em;font-weight:800;opacity:.65}.module-card h2{color:var(--ink);font-size:21px;margin:9px 0 8px;letter-spacing:-.03em}.module-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.module-card--sales{color:#6558d3}.module-card--analytics{color:#0ea5e9}.module-card--warehouse{color:#29a884}.warehouse-settings-page{display:grid;gap:20px}.warehouse-settings-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.warehouse-settings-heading h2{font-size:1.4rem;margin:0 0 4px}.warehouse-settings-heading p{color:var(--text-secondary);font-size:.85rem;margin:0}.warehouse-settings-heading>label{display:grid;gap:6px;min-width:270px;color:var(--text-secondary);font-size:.72rem;font-weight:700;text-transform:uppercase}.warehouse-settings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.warehouse-settings-grid>button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:20px;text-align:left;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--text-primary);cursor:pointer;box-shadow:var(--shadow);transition:.18s}.warehouse-settings-grid>button:hover{transform:translateY(-2px);border-color:#f59e0b}.warehouse-settings-grid>button>span,.settings-title>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;color:#b45309;background:#fef3c7}.warehouse-settings-grid>button>div{display:grid;gap:5px}.warehouse-settings-grid small,.settings-cell-subtitle{display:block;color:var(--text-secondary);font-size:.75rem}.settings-title{display:flex;align-items:center;gap:12px}.settings-create-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr)) auto;align-items:end;gap:10px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px}.settings-form-title{grid-column:1/-1;display:flex;align-items:center;gap:7px;color:#b45309}.settings-data-panel{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px}.settings-empty,.settings-admin-bridge{display:grid;place-items:center;text-align:center;gap:11px;padding:48px;color:var(--text-secondary)}.settings-admin-bridge{background:#fff;border:1px solid var(--line);border-radius:14px}.settings-error{padding:11px 14px;color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:9px}@media(max-width:700px){.warehouse-settings-heading{align-items:stretch;flex-direction:column}.warehouse-settings-heading>label{min-width:0}.settings-create-form{grid-template-columns:1fr}}.module-card--accounting{color:#ef9b45}.module-card--admin{color:#e76778}.dashboard-row{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:26px;min-height:230px;box-shadow:var(--shadow)}.panel-heading{display:flex;justify-content:space-between}.panel h2{font-size:19px;margin:7px 0}.empty-state{display:flex;min-height:130px;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);gap:6px}.empty-state small{font-size:11px}.welcome-panel{background:linear-gradient(145deg,#6558d3,#44349c);color:#fff;border:0;display:flex;flex-direction:column;justify-content:center}.welcome-panel .eyebrow{color:#d6d1ff}.welcome-panel h2{font-size:25px;line-height:1.25}.welcome-panel p{font-size:12px;line-height:1.7;opacity:.75}.module-placeholder{min-height:calc(100vh - 180px);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.placeholder-art{width:118px;height:118px;border-radius:35px;background:currentColor;display:grid;place-items:center;margin-bottom:28px;box-shadow:0 18px 40px currentColor}.placeholder-art svg{color:#fff}.module-placeholder .eyebrow{margin-bottom:8px}.module-placeholder h1{font-size:40px;margin:8px 0}.module-placeholder p{max-width:550px;color:var(--muted);line-height:1.7}.primary-button{border:0;border-radius:10px;background:var(--primary);color:#fff;padding:13px 17px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.primary-button:disabled{opacity:.65}.inline-button{margin-top:15px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.login-story{padding:48px clamp(40px,7vw,110px);background:linear-gradient(150deg,#f2f0fc,#dfdcf5);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.login-story h1{font-size:clamp(48px,6vw,82px);line-height:1.02;letter-spacing:-.065em;margin:20px 0;color:#2f2b48}.login-story p{max-width:540px;color:#716e82;line-height:1.7}.login-orbit{height:155px;border-radius:24px;background:linear-gradient(135deg,#6859d9,#46389f);color:#fff;display:flex;align-items:center;justify-content:space-around;box-shadow:0 20px 45px #5748bd42}.login-orbit span{font-size:12px;opacity:.8}.login-panel{display:grid;place-items:center;padding:40px}.login-card{width:min(420px,100%)}.login-card h2{font-size:34px;letter-spacing:-.04em;margin:12px 0 8px}.login-card>p{color:var(--muted);font-size:13px;margin:0 0 34px}.password-requirements{list-style:none;margin:14px 0 4px;padding:14px 16px;border-radius:10px;background:var(--surface-2,rgba(148,163,184,.12));font-size:12px;color:var(--muted);display:grid;gap:6px}.password-requirements li{position:relative;padding-left:18px}.password-requirements li:before{content:"•";position:absolute;left:4px;color:var(--accent,#2563eb);font-weight:700}.login-card label{display:block;margin:18px 0}.login-card label>span{font-size:12px;font-weight:700;display:block;margin-bottom:8px}.input-wrap{height:50px;border:1px solid #e1e1e9;border-radius:10px;display:flex;align-items:center;padding:0 15px;gap:10px;color:#aaa}.input-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #6558d315}.input-wrap input{border:0;outline:0;width:100%;height:100%}.login-card .primary-button{width:100%;margin-top:25px}.form-error{display:flex;gap:9px;align-items:center;background:#fff0f2;color:#c74657;border-radius:9px;padding:11px 13px;font-size:12px;margin:18px 0}.status-page{min-height:100vh;display:grid;place-content:center;text-align:center}.status-page>strong{font-size:90px;color:var(--primary-soft)}.status-page h1{margin:0}.status-page p{color:var(--muted)}.status-page a{display:flex;justify-content:center;align-items:center;gap:8px;color:var(--primary);font-weight:700}@media(max-width:1100px){.module-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{transform:translate(-100%);transition:.25s;width:min(300px,88vw)}.sidebar--open{transform:translate(0)}.sidebar-close{display:grid;position:absolute;right:18px;top:18px}.backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#15152b80;border:0;z-index:20}.main-area{margin:0;width:100%}.topbar{height:76px;padding:0 16px}.menu-button{display:grid;margin-right:10px}.global-search{width:auto;flex:1}.topbar-tools>svg,.header-profile,.notification,.topbar-context{display:none}.content{padding:24px 16px}.page-heading{align-items:flex-start;gap:20px}.page-heading .soft-button{display:none}.dashboard-row,.login-page{grid-template-columns:1fr}.login-story{display:none}}@media(max-width:520px){.module-grid{grid-template-columns:1fr}.module-card{min-height:210px}.login-panel{padding:26px}.topbar-tools{margin-left:10px}.global-search input::placeholder{color:transparent}}.module-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.module-heading h1{font-size:32px;letter-spacing:-.04em;margin:8px 0 6px}.module-heading p{color:var(--muted);font-size:13px;margin:0}.module-nav{display:flex;gap:5px;overflow-x:auto;padding:5px;margin-bottom:24px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);scrollbar-width:thin}.module-nav a{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 13px;border-radius:9px;color:#777a8b;font-size:12px;font-weight:600}.module-nav a:hover{background:#f7f6fc;color:var(--primary)}.module-nav a.active{background:var(--primary-soft);color:var(--primary)}.legacy-page-scope{--bg-card:#fff;--bg-card-hover:#fafafe;--border-color:#ececf2;--text-primary:#303247;--text-secondary:#777b8e;--text-muted:#9a9dac;--primary-gradient:linear-gradient(135deg,#7567df,#594cc2);--secondary-gradient:linear-gradient(135deg,#9186e7,#6e61ce);--accent-cyan:#20a8c0;--accent-emerald:#20a77d;--accent-amber:#e99a36;--accent-rose:#df6171;--radius-sm:8px;--radius-md:13px;--radius-lg:17px;--shadow-card:0 10px 32px rgba(44,48,78,.06);color:var(--text-primary)}.legacy-page-scope .glass-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-card);transition:.2s ease}.legacy-page-scope .glass-panel:hover{border-color:#dcdae9;box-shadow:0 14px 36px #2c304e17}.legacy-page-scope .kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:17px;margin-bottom:22px}.legacy-page-scope .kpi-card{padding:20px;position:relative;overflow:hidden}.legacy-page-scope .kpi-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--primary-gradient)}.legacy-page-scope .badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700}.legacy-page-scope .badge-blue{background:#e9efff;color:#5072c9}.legacy-page-scope .badge-green{background:#e4f6ef;color:#238963}.legacy-page-scope .badge-amber{background:#fff1db;color:#b67522}.legacy-page-scope .badge-rose{background:#fde9ec;color:#c04d5c}.legacy-page-scope .badge-purple{background:#eeeafd;color:#6758c5}.legacy-page-scope .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border-radius:8px;border:0;font-size:12px;font-weight:700;cursor:pointer}.legacy-page-scope .btn:hover{transform:translateY(-1px)}.legacy-page-scope .btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.legacy-page-scope .btn-primary{background:var(--primary-gradient);color:#fff}.legacy-page-scope .btn-secondary{background:#f4f3f8;color:#5f6273;border:1px solid #e5e4eb}.legacy-page-scope .btn-success{background:#25a77e;color:#fff}.legacy-page-scope .btn-danger{background:#df6171;color:#fff}.legacy-page-scope .form-group{margin-bottom:15px}.legacy-page-scope .form-label{display:block;font-size:11px;font-weight:700;color:var(--text-secondary);margin-bottom:6px}.legacy-page-scope .form-input,.legacy-page-scope .form-select,.legacy-page-scope .form-textarea{width:100%;padding:10px 12px;background:#fff;border:1px solid #dedee8;border-radius:8px;color:var(--text-primary);font:inherit;font-size:13px}.legacy-page-scope .form-input:focus,.legacy-page-scope .form-select:focus,.legacy-page-scope .form-textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px #6558d315}.legacy-page-scope .data-table-container{width:100%;overflow-x:auto}.legacy-page-scope .data-table{width:100%;border-collapse:collapse;text-align:left}.legacy-page-scope .data-table th{padding:13px 16px;background:#f9f9fc;border-bottom:1px solid var(--line);color:#858899;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.legacy-page-scope .data-table td{padding:13px 16px;border-bottom:1px solid #f0f0f5;color:var(--text-primary);font-size:12px;-webkit-user-select:text;user-select:text}.legacy-page-scope .data-table tbody tr:hover{background:#fbfbfd}.legacy-page-scope .num-mono{font-variant-numeric:tabular-nums}.legacy-page-scope .modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#24233a99;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.legacy-page-scope .modal-content{background:#fff;border:1px solid var(--line);border-radius:17px;width:100%;max-width:680px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 65px #20203944}.legacy-page-scope .animate-spin{animation:spin .8s linear infinite}@media(max-width:760px){.module-heading h1{font-size:27px}.module-nav{margin-left:-18px;margin-right:-18px;border-radius:0;border-left:0;border-right:0;padding-left:14px;padding-right:14px}.legacy-page-scope .kpi-grid{grid-template-columns:1fr}.legacy-page-scope .data-table th,.legacy-page-scope .data-table td{white-space:nowrap}}.legacy-page-scope .customer-table{width:100%}.legacy-page-scope .customer-table th{padding:8px 6px;font-size:10.5px;letter-spacing:.02em;white-space:nowrap}.legacy-page-scope .customer-table td{padding:6px;font-size:11.5px;vertical-align:middle}.legacy-page-scope .customer-table .btn{padding:3px 6px;gap:3px;font-size:11px}.legacy-page-scope .customer-table .badge{white-space:nowrap;padding:2px 5px;font-size:10px}.module-workspace,.legacy-page-scope{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.legacy-page-scope .inventory-page{display:flex;flex-direction:column;gap:20px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.legacy-page-scope .inventory-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:4px 2px}.legacy-page-scope .inventory-heading-title-group{display:flex;flex-direction:column;gap:4px;min-width:0}.legacy-page-scope .inventory-heading h2{display:inline-flex;gap:10px;align-items:center;font-size:22px;font-weight:800;letter-spacing:-.025em;color:#1e1b4b;margin:0}.legacy-page-scope .inventory-heading h2 svg{color:#6366f1;flex-shrink:0}.legacy-page-scope .inventory-heading p{font-size:13px;color:#64748b;margin:0;line-height:1.4}.legacy-page-scope .inventory-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.legacy-page-scope .inventory-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;min-width:0;box-sizing:border-box}.legacy-page-scope .inventory-kpis>div{position:relative;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:14px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 2px 12px -2px #0f172a0a;overflow:hidden;box-sizing:border-box;transition:all .25s ease}.legacy-page-scope .inventory-kpis>div:hover{transform:translateY(-2px);box-shadow:0 10px 24px -4px #0f172a14;border-color:#cbd5e1}.legacy-page-scope .inventory-kpis>div:after{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:currentColor;border-top-left-radius:16px;border-bottom-left-radius:16px}.legacy-page-scope .inventory-kpis i{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:#f0edff;color:#6e60cf;flex-shrink:0;transition:transform .2s ease}.legacy-page-scope .inventory-kpis>div:hover i{transform:scale(1.06)}.legacy-page-scope .inventory-kpis i svg{width:22px;height:22px}.legacy-page-scope .inventory-kpis span{display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:700;color:#334155;min-width:0}.legacy-page-scope .inventory-kpis span small{font-size:11px;font-weight:500;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.legacy-page-scope .inventory-kpis strong{font-size:23px;font-weight:800;font-variant-numeric:tabular-nums;color:#0f172a;letter-spacing:-.02em;padding-left:6px;text-align:right}.legacy-page-scope .tone-violet{color:#6366f1}.legacy-page-scope .tone-violet i{background:#eef2ff;color:#6366f1}.legacy-page-scope .tone-blue{color:#0284c7}.legacy-page-scope .tone-blue i{background:#e0f2fe;color:#0284c7}.legacy-page-scope .tone-amber{color:#d97706}.legacy-page-scope .tone-amber i{background:#fef3c7;color:#d97706}.legacy-page-scope .tone-green{color:#16a34a}.legacy-page-scope .tone-green i{background:#dcfce7;color:#16a34a}.legacy-page-scope .stock-filters{padding:18px 20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:12px;align-items:end;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 2px 14px -2px #0f172a0a;width:100%;min-width:0;box-sizing:border-box}.legacy-page-scope .stock-filter-title{grid-column:1/-1;display:flex;gap:7px;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;color:#1e1b4b;margin-bottom:2px}.legacy-page-scope .stock-filter-title-label{display:inline-flex;align-items:center;gap:8px}.legacy-page-scope .stock-filter-title svg{color:#6366f1}.legacy-page-scope .stock-filter-reset-btn{border:1px solid #e0e7ff;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:7px;transition:all .15s ease}.legacy-page-scope .stock-filter-reset-btn:hover{background:#e0e7ff;border-color:#c7d2fe;color:#3730a3}.legacy-page-scope .stock-filters label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b;display:flex;flex-direction:column;gap:5px;min-width:0}.legacy-page-scope .stock-filters .form-input,.legacy-page-scope .stock-filters .form-select{height:38px;width:100%;min-width:0;box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:9px;padding:0 11px;font-size:12px;color:#1e293b;transition:all .15s ease}.legacy-page-scope .stock-filters .form-input:focus,.legacy-page-scope .stock-filters .form-select:focus{background:#fff;border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f126}.legacy-page-scope .stock-filter-warehouse-fixed{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9px;font-size:12px;font-weight:600;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.legacy-page-scope .stock-filter-warehouse-fixed svg{color:#6366f1;flex-shrink:0}.legacy-page-scope .stock-filter-note{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:9px;font-size:12px;color:#64748b}.legacy-page-scope .inventory-table-card{overflow:hidden;padding:0;width:100%;max-width:100%;min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 20px -2px #0f172a0d;box-sizing:border-box;display:flex;flex-direction:column}.legacy-page-scope .inventory-card-head{min-height:60px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f5f9;background:#fff;box-sizing:border-box}.legacy-page-scope .inventory-card-head h3{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 2px}.legacy-page-scope .inventory-card-head span{font-size:12px;color:#64748b}.legacy-page-scope .live-indicator{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;background:#ecfdf5;color:#059669!important;font-size:11px;font-weight:700;border:1px solid #a7f3d0;flex-shrink:0}.legacy-page-scope .stock-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;position:relative;box-sizing:border-box;scrollbar-width:none!important;-ms-overflow-style:none!important}.legacy-page-scope .stock-table-wrap::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.legacy-page-scope .stock-detail-table{width:100%;min-width:1700px;border-collapse:separate;border-spacing:0;text-align:left}.legacy-page-scope .stock-detail-table th{padding:12px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569;border-bottom:1px solid #e2e8f0;border-right:1px solid #f1f5f9;white-space:nowrap;background:#f8fafc;box-sizing:border-box}.legacy-page-scope .stock-detail-table thead tr:first-child th{background:#f8fafc;color:#334155}.legacy-page-scope .stock-detail-table thead tr:first-child th[colspan]{text-align:center;background:#f5f3ff;color:#4f46e5;border-bottom:1px solid #e0e7ff}.legacy-page-scope .stock-detail-table thead tr:nth-child(2) th{background:#fbfbfe;color:#6366f1;border-bottom:2px solid #e0e7ff;font-size:10px}.legacy-page-scope .stock-detail-table td{padding:12px 14px;font-size:12px;color:#1e293b;border-bottom:1px solid #f1f5f9;border-right:1px solid #f8fafc;white-space:nowrap;background:#fff;box-sizing:border-box}.legacy-page-scope .stock-detail-table tbody tr:hover td{background:#f8fafc!important}.legacy-page-scope .product-code{color:#6366f1;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.legacy-page-scope .location-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;border:1px solid #bfdbfe;transition:all .15s ease}.legacy-page-scope .location-pill:hover{background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px)}.legacy-page-scope .available-cell{color:#15803d!important;background:#f0fdf4!important;font-weight:700}.legacy-page-scope .stock-detail-table tbody tr:hover td.available-cell{background:#dcfce7!important}.legacy-page-scope .stock-empty-cell{text-align:center;padding:40px 20px}.legacy-page-scope .inventory-empty-state{min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#94a3b8}.legacy-page-scope .inventory-empty-state i{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#f1effb;color:#7668ce;margin-bottom:3px}.legacy-page-scope .inventory-empty-state strong{font-size:14px;color:#0f172a}.legacy-page-scope .inventory-empty-state span{font-size:12px;margin-bottom:7px}.legacy-page-scope .inventory-filter-row{padding:14px;display:grid;grid-template-columns:1.3fr 1fr 1.3fr auto;gap:10px}.legacy-page-scope .inventory-summary-strip,.legacy-page-scope .warning-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.legacy-page-scope .inventory-summary-strip>div,.legacy-page-scope .warning-overview>div{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:13px}.legacy-page-scope .inventory-summary-strip i,.legacy-page-scope .warning-overview i{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#edf2ff;color:#5277c6}.legacy-page-scope .inventory-summary-strip i.green,.legacy-page-scope .warning-overview .safe i{background:#e7f7f1;color:#26906d}.legacy-page-scope .inventory-summary-strip i.red,.legacy-page-scope .warning-overview .danger i{background:#fcebed;color:#c84e5e}.legacy-page-scope .inventory-summary-strip span,.legacy-page-scope .warning-overview span{display:flex;flex-direction:column}.legacy-page-scope .inventory-summary-strip small,.legacy-page-scope .warning-overview small{font-size:10px;color:var(--text-muted)}.legacy-page-scope .inventory-summary-strip strong,.legacy-page-scope .warning-overview strong{font-size:20px}.legacy-page-scope .line-count{padding:5px 8px;border-radius:6px;background:#f3f2f8;font-size:10px;font-weight:700}.legacy-page-scope .inventory-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0f172a99;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;padding:16px;box-sizing:border-box}.legacy-page-scope .inventory-modal{width:min(680px,100%);max-width:100%;max-height:90vh;display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 25px 60px -10px #0f172a40;overflow:hidden;box-sizing:border-box}.legacy-page-scope .inventory-modal-header{display:flex;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0;box-sizing:border-box}.legacy-page-scope .inventory-modal-header>i{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;flex-shrink:0}.legacy-page-scope .inventory-modal-header div{flex:1;min-width:0}.legacy-page-scope .inventory-modal-header h3{font-size:16px;font-weight:700;color:#0f172a;margin:0 0 2px}.legacy-page-scope .inventory-modal-header p{font-size:12px;color:#64748b;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-page-scope .inventory-modal-header>button{width:32px;height:32px;border-radius:8px;border:none;background:#f1f5f9;color:#64748b;cursor:pointer;display:grid;place-items:center;transition:all .15s ease;flex-shrink:0}.legacy-page-scope .inventory-modal-header>button:hover{background:#e2e8f0;color:#0f172a}.legacy-page-scope .inventory-modal-body{padding:20px 22px;overflow-y:auto;flex:1;box-sizing:border-box}.legacy-page-scope .inventory-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:12px}.legacy-page-scope .inventory-detail-grid>div{padding:10px 14px;background:#f8fafc;border-radius:10px;border:1px solid #f1f5f9;min-width:0}.legacy-page-scope .inventory-detail-grid span{color:#64748b;display:block;font-size:10px;font-weight:700;letter-spacing:.03em;margin-bottom:2px}.legacy-page-scope .inventory-detail-grid strong{font-size:13px;color:#0f172a;word-break:break-word}.legacy-page-scope .inventory-detail-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;font-size:12px;margin-top:8px}.legacy-page-scope .inventory-detail-quantities>div{padding:12px;border-radius:12px;min-width:0}.legacy-page-scope .inventory-detail-quantities span{font-size:10px;font-weight:700;display:block;letter-spacing:.03em;margin-bottom:4px}.legacy-page-scope .inventory-detail-quantities strong{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}.legacy-page-scope .inventory-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px;border-top:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box}.legacy-page-scope .inventory-tabs{display:flex;gap:4px;background:#f0eff5;padding:4px;border-radius:10px;width:max-content}.legacy-page-scope .inventory-tabs button{display:flex;align-items:center;gap:7px;border:0;border-radius:8px;padding:9px 14px;background:transparent;color:var(--text-muted);font-size:11px;font-weight:700}.legacy-page-scope .inventory-tabs button.active{background:#fff;color:#5f53bb;box-shadow:0 2px 8px #39345114}.legacy-page-scope .warning-overview{grid-template-columns:repeat(4,1fr)}.legacy-page-scope .warning-overview .warning i{background:#fff2de;color:#c88127}.legacy-page-scope .warning-overview .neutral i{background:#f0eff5;color:#727487}.legacy-page-scope .inventory-number-input{width:92px;padding:7px 9px;background:#fafafd;border:1px solid #dedde8;border-radius:7px;text-align:right}.legacy-page-scope .table-action{display:inline-flex;align-items:center;gap:4px;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:8px;padding:5px 9px;margin:0 3px;font-size:11px;font-weight:600;cursor:pointer;transition:all .15s ease}.legacy-page-scope .table-action:hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.legacy-page-scope .table-action.primary{background:#eef2ff;color:#4f46e5;border-color:#c7d2fe}.legacy-page-scope .table-action.primary:hover{background:#e0e7ff;border-color:#a5b4fc;color:#4338ca}@media(max-width:1180px){.legacy-page-scope .inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-page-scope .warning-overview{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.legacy-page-scope .inventory-heading{flex-direction:column;align-items:stretch;gap:12px}.legacy-page-scope .inventory-heading-actions{width:100%;justify-content:stretch}.legacy-page-scope .inventory-heading-actions>*{flex:1 1 auto;text-align:center;justify-content:center}.legacy-page-scope .stock-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 16px}.legacy-page-scope .inventory-card-head{padding:14px 16px}}@media(max-width:580px){.legacy-page-scope .inventory-kpis{grid-template-columns:1fr;gap:10px}.legacy-page-scope .inventory-kpis>div{padding:14px 16px;grid-template-columns:42px 1fr auto}.legacy-page-scope .stock-filters,.legacy-page-scope .inventory-detail-grid{grid-template-columns:1fr}.legacy-page-scope .inventory-detail-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-page-scope .inventory-modal-actions{flex-direction:column-reverse;align-items:stretch}.legacy-page-scope .inventory-modal-actions button{width:100%;justify-content:center}}.admin-page-title{display:flex;align-items:flex-end;justify-content:space-between;margin:6px 0 18px}.admin-page-title h2{font-size:21px;margin:0 0 6px;letter-spacing:-.025em}.admin-page-title p{font-size:12px;color:var(--text-muted);margin:0}.admin-state{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;color:var(--text-muted);font-size:12px}.admin-state--error{color:var(--accent-rose)}.admin-state--error strong{font-size:16px}.admin-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:17px}.admin-role-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;min-height:260px;box-shadow:var(--shadow);position:relative}.admin-role-icon{position:absolute;right:18px;top:18px;width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--primary-soft);color:var(--primary)}.admin-role-head{display:flex;gap:5px;padding-right:45px}.admin-role-card h3{font-size:17px;margin:18px 0 8px}.admin-role-card>p{font-size:11px;color:var(--text-muted);line-height:1.6;min-height:36px}.permission-preview{display:flex;flex-wrap:wrap;gap:5px;margin-top:16px}.permission-preview span{font-family:monospace;font-size:9px;padding:5px 7px;border-radius:6px;background:#f5f4fa;color:#686b7e}.permission-preview small{width:100%;font-size:9px;color:var(--primary);margin-top:4px}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.permission-group{padding:0;overflow:hidden}.permission-group-title{display:flex;align-items:center;gap:11px;padding:17px 18px;background:#fafafe;border-bottom:1px solid var(--line)}.permission-group-title>span{width:37px;height:37px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);border-radius:10px}.permission-group-title h3{margin:0;text-transform:capitalize;font-size:15px}.permission-group-title small{font-size:9px;color:var(--text-muted)}.permission-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #f1f1f5}.permission-row:last-child{border-bottom:0}.permission-row>div{display:flex;flex-direction:column;gap:4px}.permission-row strong{font-size:11px}.permission-row code{font-size:9px;color:var(--text-muted)}.user-cell{display:flex;align-items:center;gap:9px}.user-cell>span{width:32px;height:32px;border-radius:9px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.user-cell>div{display:flex;flex-direction:column}.user-cell small,.record-id{display:block;color:var(--text-muted);font-size:9px;margin-top:3px}.legacy-page-scope td .badge+.badge{margin-left:4px}@media(max-width:850px){.permission-groups{grid-template-columns:1fr}}@media(max-width:600px){.admin-page-title{align-items:flex-start}.admin-page-title .soft-button{font-size:0;padding:9px}.admin-page-title .soft-button svg{margin:0}.admin-card-grid{grid-template-columns:1fr}}.business-page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:16px}.business-page-title h2{font-size:26px;font-weight:800;color:#1e1b4b;letter-spacing:-.03em;margin:0 0 4px}.business-page-title p{font-size:13px;color:#64748b;margin:0}.business-page-title .btn-primary{padding:10px 18px;font-size:13px;font-weight:700;border-radius:10px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;box-shadow:0 4px 14px #6366f159;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s ease}.business-page-title .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f173}.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid #e2e8f0;color:#475569;font-size:13px}.orders-pagination-actions{display:flex;align-items:center;gap:12px}.orders-pagination-actions span{white-space:nowrap;font-weight:600;color:#1e293b}.order-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.order-summary article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;box-shadow:0 4px 16px #0f172a0a;transition:all .2s ease;position:relative;overflow:hidden}.order-summary article:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#6366f1,#818cf8)}.order-summary article:nth-child(2):before{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.order-summary article:nth-child(3):before{background:linear-gradient(90deg,#10b981,#34d399)}.order-summary article:nth-child(4):before{background:linear-gradient(90deg,#8b5cf6,#a855f7)}.order-summary article:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0f172a14;border-color:#cbd5e1}.order-summary span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.order-summary strong{font-size:24px;font-weight:800;color:#0f172a;letter-spacing:-.02em}.business-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px;background:#fff;padding:12px 16px;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #00000005}.business-toolbar .form-input{flex:1;height:40px;border:1px solid #cbd5e1;border-radius:9px;padding:0 14px;font-size:13px;color:#1e293b}.business-toolbar .btn-secondary{height:40px;padding:0 16px;font-size:13px;font-weight:600;border-radius:9px;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:all .18s ease}.business-toolbar .btn-secondary:hover{background:#f1f5f9;border-color:#94a3b8}.inline-error{display:flex;align-items:center;gap:10px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;border-radius:10px;padding:12px 16px;font-size:13px;margin-bottom:16px}.inline-error button{margin-left:auto;background:none;border:0;color:inherit;cursor:pointer;display:grid}.order-code{font-family:monospace;font-size:13px;font-weight:700;color:#4338ca}.record-id{font-size:11px;color:#94a3b8;margin-top:2px}.order-table-row{cursor:pointer;transition:background-color .15s ease}.order-table-row:hover td{background-color:#f8faff}.status-draft{background:#f1f5f9;color:#475569}.status-submitted{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.status-approved{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.status-confirmed{background:#e0e7ff;color:#3730a3;border:1px solid #c7d2fe}.status-fulfilling{background:#f3e8ff;color:#6b21a8;border:1px solid #e9d5ff}.badge.status-completed{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;font-size:10px;white-space:nowrap;padding-left:7px;padding-right:7px}.status-cancelled{background:#ffe4e6;color:#9f1239;border:1px solid #fecdd3}.table-actions{display:flex;align-items:center;gap:6px}.table-actions .btn{padding:7px 12px;font-size:12px;font-weight:600;border-radius:7px}.table-empty{padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;color:#64748b}.table-empty svg{width:42px;height:42px;color:#94a3b8}.table-loading{padding:48px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;color:#64748b}.order-form-modal{max-width:1060px;width:95vw;max-height:90vh;overflow-y:auto;padding:24px 28px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.modal-head h3{font-size:22px;margin:6px 0 0}.modal-head>button{border:0;background:#f4f3f8;color:#777;border-radius:8px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer}.order-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 14px}.order-form-wide{grid-column:span 2}.line-editor-head{display:flex;align-items:end;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin:10px 0 12px}.line-editor-head h4{margin:0 0 3px;font-size:15px;font-weight:700;color:#1e1b4b}.line-editor-head span{font-size:11px;color:var(--text-muted)}.order-lines-table-container{width:100%;border:1px solid #e2e8f0;border-radius:12px;background:#fff;margin-bottom:16px;overflow:visible;box-shadow:0 1px 3px #00000008}.order-lines-table{width:100%;border-collapse:collapse;table-layout:fixed}.order-lines-table th{background:#f8fafc;padding:10px 12px;font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e2e8f0;text-align:left}.order-lines-table td{padding:7px 8px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.order-lines-table tr:last-child td{border-bottom:none}.order-lines-table tr:hover td{background:#fafbfe}.order-lines-table .cell-input{width:100%;height:36px;padding:0 8px;border:1px solid #d1d5db;border-radius:7px;font-size:13px;color:#0f172a;background:#fff;box-sizing:border-box;transition:all .15s ease}.order-lines-table .cell-input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 2px #6366f11f}.order-lines-table .cell-total{text-align:right;font-size:13px;font-weight:700;color:#1e1b4b;padding-right:12px;white-space:nowrap}.order-lines-table .cell-action{text-align:center}.order-lines-table .btn-trash{width:32px;height:32px;border-radius:7px;border:0;background:transparent;color:#94a3b8;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.order-lines-table .btn-trash:hover:not(:disabled){background:#fee2e2;color:#ef4444}.order-lines-table .btn-trash:disabled{opacity:.25;cursor:not-allowed}.order-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:14px}.order-form-footer>div{display:flex;flex-direction:column;margin-right:auto}.order-form-footer>div span{font-size:10px;color:var(--text-muted);text-transform:uppercase;font-weight:600}.order-form-footer>div strong{font-size:22px;margin-top:3px;color:#1e1b4b}.order-detail-modal{max-width:1080px;width:95vw;padding:26px}.order-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.order-detail-grid>div{background:#fafafe;border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:5px}.order-detail-grid span{font-size:9px;color:var(--text-muted);text-transform:uppercase;font-weight:700}.order-detail-grid strong{font-size:12px}.order-detail-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:760px){.order-summary{grid-template-columns:repeat(2,1fr)}.business-toolbar{grid-template-columns:1fr}.business-page-title{align-items:flex-start;gap:14px}.business-page-title p{display:none}.order-form-grid{grid-template-columns:1fr}.order-form-wide{grid-column:auto}.order-detail-grid{grid-template-columns:1fr 1fr}}@media(max-width:450px){.order-summary{grid-template-columns:1fr 1fr}.order-summary article{padding:12px}.business-page-title .btn{font-size:0}.business-page-title .btn svg{margin:0}}.user-form-modal{max-width:700px;width:95vw;max-height:90vh;overflow-y:auto;padding:26px 30px;background:#fff;border-radius:18px;box-shadow:0 25px 60px -15px #1e1b4b40,0 0 0 1px #0000000d}.warehouse-form-modal{max-width:680px;width:95vw;max-height:90vh;overflow-y:auto;padding:26px 30px;background:#fff;border-radius:18px;box-shadow:0 25px 60px -15px #1e1b4b40}.warehouse-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:18px}.warehouse-form-wide{grid-column:span 2}.warehouse-active-field{grid-column:span 2;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;font-size:13px;font-weight:600;color:#1e293b;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .15s}.warehouse-active-field:hover{background:#f1f5f9;border-color:#cbd5e1}.warehouse-active-field input[type=checkbox]{width:16px;height:16px;accent-color:#6366f1;cursor:pointer}.role-picker{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:18px 20px;margin-bottom:18px}.role-picker-head{display:flex;flex-direction:column;gap:3px;margin-bottom:14px}.role-picker-head strong{font-size:12.5px;font-weight:700;color:#1e293b;text-transform:uppercase;letter-spacing:.04em}.role-picker-head span{font-size:12px;color:#64748b}.role-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;max-height:220px;overflow-y:auto;padding-right:4px}.role-option-card{display:flex;align-items:flex-start;gap:11px;padding:11px 14px;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .18s ease;-webkit-user-select:none;user-select:none}.role-option-card:hover{border-color:#a5b4fc;background:#fafaff;transform:translateY(-1px);box-shadow:0 4px 12px #6366f112}.role-option-card.selected{background:#eef2ff;border-color:#6366f1;box-shadow:0 4px 14px #6366f11f}.role-option-card.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.role-option-card input[type=checkbox]{margin-top:3px;accent-color:#6366f1;width:16px;height:16px;flex-shrink:0;cursor:pointer}.role-option-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.role-option-header{display:flex;align-items:center;justify-content:space-between;gap:6px}.role-option-title{font-size:13px;font-weight:700;color:#0f172a;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-option-badge{font-size:10px;font-weight:700;color:#4338ca;background:#e0e7ff;padding:2px 6px;border-radius:4px;letter-spacing:.02em;flex-shrink:0}.role-option-sub{font-size:11px;color:#64748b;font-weight:500}.user-flags{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.user-flag-card{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .18s ease;-webkit-user-select:none;user-select:none}.user-flag-card:hover{border-color:#cbd5e1;background:#f8fafc}.user-flag-card.is-active{border-color:#6366f1;background:#fafaff;box-shadow:0 2px 8px #6366f114}.user-flag-card.superuser-flag.is-active{border-color:#8b5cf6;background:#faf5ff;box-shadow:0 2px 8px #8b5cf61a}.user-flag-card input[type=checkbox]{margin-top:3px;accent-color:#6366f1;width:17px;height:17px;flex-shrink:0;cursor:pointer}.user-flag-card.superuser-flag input[type=checkbox]{accent-color:#8b5cf6}.user-flag-body{display:flex;flex-direction:column;gap:3px;min-width:0}.user-flag-body strong{font-size:13px;font-weight:700;color:#1e293b}.user-flag-body small{font-size:11.5px;color:#64748b;line-height:1.4}.warehouse-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.warehouse-admin-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:all .2s ease}.warehouse-admin-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #2c304e14;border-color:#dcdae9}.warehouse-admin-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.warehouse-admin-head>span:first-child{width:42px;height:42px;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.warehouse-admin-card h3{font-size:18px;margin:0 0 4px;font-weight:700;color:#1e1b4b}.warehouse-admin-card code{font-size:11px;font-weight:700;color:#6366f1;background:#eef2ff;padding:2px 8px;border-radius:5px;width:fit-content;margin-bottom:14px}.warehouse-admin-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin:0 0 18px;padding:12px;background:#f8fafc;border-radius:10px;border:1px solid #f1f5f9}.warehouse-admin-card dl>div{display:flex;flex-direction:column;gap:2px}.warehouse-admin-card dt{font-size:10px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.warehouse-admin-card dd{margin:0;font-size:12.5px;font-weight:600;color:#1e293b}.branch-address{grid-column:span 2}.branch-address dd{display:flex;align-items:center;gap:4px;font-size:11.5px;color:#475569}.master-card-actions{display:flex;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid #f1f5f9}.delete-impact-modal{max-width:540px;width:95vw;padding:26px 28px;position:relative}.delete-modal-icon{width:48px;height:48px;border-radius:12px;background:#fee2e2;color:#ef4444;display:grid;place-items:center;margin-bottom:16px}.delete-modal-close{position:absolute;top:20px;right:20px;background:#f1f5f9;border:0;border-radius:8px;width:32px;height:32px;display:grid;place-items:center;cursor:pointer;color:#64748b;transition:all .15s}.delete-modal-close:hover{background:#e2e8f0;color:#0f172a}.delete-impact-modal h3{font-size:20px;font-weight:800;color:#0f172a;margin:0 0 8px}.delete-impact-modal p{font-size:13px;color:#475569;line-height:1.5;margin:0 0 16px}.delete-impact-content{margin:14px 0}.delete-doc-section{margin-top:12px}.delete-doc-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.delete-doc-title{display:flex;align-items:center;gap:6px;color:#b91c1c;font-size:12.5px;font-weight:700}.delete-doc-list{display:flex;flex-direction:column;gap:8px;max-height:200px;overflow-y:auto}.delete-doc-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px}.delete-doc-item--clickable{cursor:pointer;transition:all .15s}.delete-doc-item--clickable:hover{background:#fee2e2;border-color:#fca5a5}.delete-doc-top{display:flex;align-items:center;gap:8px}.delete-doc-detail{font-size:11px;color:#7f1d1d;margin-top:3px;display:block}.btn-reassign{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;font-size:11px;font-weight:700;border-radius:6px;background:#fff;border:1px solid #f87171;color:#b91c1c;cursor:pointer}.delete-clear{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;color:#15803d;font-size:12.5px;font-weight:600}.delete-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #f1f5f9}@media(max-width:600px){.warehouse-form-grid{grid-template-columns:1fr}.warehouse-form-wide{grid-column:auto}.user-flags,.role-options{grid-template-columns:1fr}.user-form-modal,.warehouse-form-modal{padding:20px 16px}}.order-create-page-container{display:flex;flex-direction:column;gap:16px;max-width:100%}.order-create-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:4px}.breadcrumb-link{background:none;border:0;padding:0;color:#64748b;font-size:13px;cursor:pointer;transition:color .15s ease}.breadcrumb-link:hover{color:#1d4ed8;text-decoration:underline}.breadcrumb-slash{color:#94a3b8}.breadcrumb-current{color:#1e293b;font-weight:600}.order-page-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:80px 20px;color:#64748b;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.order-panel-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 1px 3px #0000000a;overflow:visible}.order-panel-title{padding:14px 20px;border-bottom:1px solid #f1f5f9;background:#fff}.order-panel-title h3{margin:0;font-size:14px;font-weight:700;color:#0f172a;letter-spacing:-.01em}.order-general-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px}.order-fields-column{display:flex;flex-direction:column;gap:12px}.order-field-row{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:12px}.order-field-label{font-size:13px;color:#334155;font-weight:500;white-space:nowrap}.req-asterisk{color:#ef4444;margin-left:2px;font-weight:700}.order-field-control{position:relative;width:100%}.order-field-control .form-input,.order-field-control .form-date-input{height:36px;border:1px solid #d1d5db;border-radius:6px;padding:0 10px;font-size:13px;color:#1e293b;width:100%;box-sizing:border-box;background:#fff}.order-field-control .form-input:focus,.order-field-control .form-date-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;outline:none}.order-notes-column{display:flex;flex-direction:column}.order-notes-row{display:grid;grid-template-columns:80px 1fr;align-items:flex-start;gap:12px;height:100%}.order-notes-control{height:100%;min-height:220px}.order-notes-textarea{width:100%;height:100%;min-height:220px;padding:12px 14px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;color:#1e293b;box-sizing:border-box;resize:vertical;font-family:inherit;background:#fff}.order-notes-textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626;outline:none}.order-table-container{padding:0 20px 16px;overflow-x:auto}.order-detail-table{width:100%;border-collapse:collapse;margin-top:12px}.order-detail-table th{background:#f8fafc;padding:10px 12px;font-size:12px;font-weight:600;color:#475569;border:1px solid #e2e8f0;text-align:left}.order-detail-table td{padding:8px 10px;border:1px solid #e2e8f0;vertical-align:middle;background:#fff}.order-table-empty-cell{padding:50px 20px!important;text-align:center;background:#fff!important}.empty-state-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#94a3b8}.empty-state-icon{display:grid;place-items:center;opacity:.7}.empty-state-text{font-size:13px;color:#94a3b8}.cell-text-display{font-size:13px;color:#1e293b;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:12px;font-weight:600}.stock-ok{color:#0369a1;background:#e0f2fe}.stock-zero{color:#b91c1c;background:#fee2e2}.order-cell-input{width:100%;height:34px;border:1px solid #cbd5e1;border-radius:5px;padding:0 8px;font-size:13px;color:#0f172a;background:#fff;box-sizing:border-box;outline:none}.order-cell-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.order-cell-input.text-center{text-align:center}.order-cell-input.text-right{text-align:right}.cell-money-strong{font-size:13px;font-weight:700;color:#1e293b;white-space:nowrap}.order-btn-trash{background:none;border:0;color:#94a3b8;cursor:pointer;padding:6px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease}.order-btn-trash:hover{background:#fee2e2;color:#ef4444}.order-table-bottom-bar{display:flex;align-items:center;padding:14px 0 6px}.btn-add-line-square{width:34px;height:34px;border:0;border-radius:4px;background:#0284c7;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 4px #0284c740;transition:all .15s ease}.btn-add-line-square:hover{background:#0369a1;transform:translateY(-1px)}.order-create-page-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-top:1px solid #f1f5f9;background:#fff}.order-create-summary{font-size:13px;color:#475569}.order-create-summary strong{font-size:16px;color:#0f172a;margin-left:4px}.btn-create-order-submit{display:inline-flex;align-items:center;gap:7px;padding:9px 18px;background:#0284c7;color:#fff;border:0;border-radius:5px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 2px 6px #0284c740;transition:all .18s ease}.btn-create-order-submit:hover:not(:disabled){background:#0369a1;transform:translateY(-1px)}.btn-create-order-submit:disabled{opacity:.65;cursor:not-allowed}@media(max-width:900px){.order-general-split{grid-template-columns:1fr}.order-notes-control,.order-notes-textarea{min-height:120px}}.user-row-actions{display:flex;gap:6px;flex-wrap:wrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:1px solid var(--border,rgba(148,163,184,.35));background:transparent;color:var(--muted);cursor:pointer;transition:background .15s,color .15s,border-color .15s}.icon-button:hover:not(:disabled){background:var(--surface-2,rgba(148,163,184,.14));color:var(--text,inherit);border-color:var(--accent,#2563eb)}.icon-button:disabled{opacity:.4;cursor:not-allowed}.inline-notice{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 16px;border-radius:10px;font-size:13px;background:#22c55e1f;border:1px solid rgba(34,197,94,.35);color:#15803d}.cc-page{display:flex;flex-direction:column;gap:18px;padding-bottom:36px}.cc-hero{position:relative;overflow:hidden;border-radius:16px;padding:22px 26px;background:linear-gradient(120deg,#4f46e5,#6558d3 45%,#7c5ce0);color:#fff;box-shadow:0 14px 34px #4f46e538;display:flex;align-items:center;gap:18px}.cc-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:50%;background:#ffffff17;pointer-events:none}.cc-hero:before{content:"";position:absolute;right:60px;bottom:-120px;width:200px;height:200px;border-radius:50%;background:#ffffff0f;pointer-events:none}.cc-hero-icon{width:52px;height:52px;border-radius:15px;background:#ffffff2b;border:1px solid rgba(255,255,255,.28);display:grid;place-items:center;flex:0 0 auto;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.cc-hero-text{min-width:0;position:relative;z-index:1}.cc-hero-eyebrow{display:flex;align-items:center;gap:7px;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#ffffffb8;margin-bottom:5px}.cc-hero-eyebrow button{background:none;border:0;padding:0;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer}.cc-hero-eyebrow button:hover{color:#fff;text-decoration:underline}.cc-hero-text h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.03em}.cc-hero-text p{margin:5px 0 0;font-size:12.5px;color:#fffc;line-height:1.5}.cc-hero-back{margin-left:auto;position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 16px;border-radius:10px;border:1px solid rgba(255,255,255,.32);background:#ffffff1f;color:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .18s ease}.cc-hero-back:hover{background:#ffffff38}.cc-hero-back+.cc-hero-back{margin-left:10px}.cc-alert{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;font-size:13px;font-weight:600;animation:cc-slide-in .22s ease}.cc-alert svg{flex:0 0 auto}.cc-alert--error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c}.cc-alert--success{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}.cc-alert--warning{background:#fffbeb;border:1px solid #fde68a;color:#b45309}.cc-alert--stack{align-items:flex-start;flex-direction:column;gap:8px}.cc-alert--stack .cc-alert-head{display:flex;align-items:center;gap:10px;width:100%}.cc-alert--stack ul{margin:0;padding-left:26px;font-weight:500;line-height:1.6}.cc-alert-close{margin-left:auto;background:none;border:0;color:inherit;cursor:pointer;display:grid;place-items:center;opacity:.7}.cc-alert-close:hover{opacity:1}@keyframes cc-slide-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.cc-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;align-items:start;gap:20px}.cc-layout--full,.cc-layout:has(>.cc-main:only-child){display:block;grid-template-columns:minmax(0,1fr);width:100%}.content:has(.cc-page){max-width:1860px}@media(min-width:1500px){.cc-layout:not(.cc-layout--full){grid-template-columns:minmax(0,1fr) 300px;gap:24px}}.cc-main{display:flex;flex-direction:column;gap:16px;min-width:0}.cc-card{background:#fff;border:1px solid #e8eaf2;border-radius:14px;box-shadow:0 2px 10px #2c304e0a;overflow:visible;transition:box-shadow .2s ease,border-color .2s ease}.cc-card:focus-within{border-color:#d7d5f2;box-shadow:0 6px 22px #4f46e517}.cc-card-head{display:flex;align-items:center;gap:13px;padding:15px 20px;border-bottom:1px solid #f1f3f9}.cc-card-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;color:#fff}.cc-card-icon--indigo{background:linear-gradient(135deg,#7c76f2,#4f46e5);box-shadow:0 5px 13px #4f46e542}.cc-card-icon--cyan{background:linear-gradient(135deg,#38bdf8,#0284c7);box-shadow:0 5px 13px #0284c73d}.cc-card-icon--green{background:linear-gradient(135deg,#34d399,#059669);box-shadow:0 5px 13px #0596693d}.cc-card-icon--violet{background:linear-gradient(135deg,#c084fc,#7c3aed);box-shadow:0 5px 13px #7c3aed3d}.cc-card-titles{min-width:0}.cc-card-titles h3{margin:0;font-size:14.5px;font-weight:800;color:#1e1b4b;letter-spacing:-.015em;display:flex;align-items:center;gap:8px}.cc-step{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#eef0fb;color:#4f46e5;font-size:11px;font-weight:800;flex:0 0 auto}.cc-card-titles p{margin:3px 0 0;font-size:12px;color:#8b8e9d;line-height:1.45}.cc-card-body{padding:18px 20px 20px}.cc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.cc-grid-full{grid-column:1 / -1}.cc-grid--order-info{grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,.8fr)}.cc-grid--order-info .cc-input,.cc-grid--order-info .searchable-select-trigger{width:100%;min-width:0;box-sizing:border-box}.cc-grid--order-info .so-priority-select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;padding-right:10px}.cc-grid--order-info>.cc-field:nth-child(2){grid-column:1}.cc-grid--order-info>.cc-field:nth-child(3){grid-column:2}.cc-grid--order-info>.cc-field:nth-child(4){grid-column:3}.cc-grid--order-info>.cc-field:nth-child(5){grid-column:1}.cc-grid--order-info>.cc-field:nth-child(6){grid-column:2}.cc-grid--order-info>.cc-field:nth-child(7){grid-column:3}.cc-grid--order-info .cc-field--warehouse{min-width:0}.so-table th:nth-child(2),.so-table td:nth-child(2),.so-table th:nth-child(10),.so-table td:nth-child(10),.so-table th:nth-child(11),.so-table td:nth-child(11){display:none}.so-product-select .option-main-label,.so-product-select .select-sublabel{color:#2563eb}.so-product-select{max-width:280px}.so-col-sku{width:17%}.so-col-sku .so-product-select{max-width:190px}.so-product-name-cell{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.cc-subhead{grid-column:1 / -1;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#a0a2af}.cc-subhead:after{content:"";flex:1;height:1px;background:#f1f3f9}.cc-subhead:not(:first-child){margin-top:4px}.cc-field{display:flex;flex-direction:column;gap:7px;min-width:0}.cc-field--full{grid-column:1 / -1}.cc-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#4b4e63}.cc-label .req-asterisk{color:#ef4444;font-weight:800}.cc-label-optional{margin-left:auto;font-size:10.5px;font-weight:600;color:#b3b5c2;text-transform:uppercase;letter-spacing:.05em}.cc-input-wrap{position:relative;display:flex;align-items:center}.cc-input{width:100%;height:40px;padding:0 12px;border:1px solid #dfe1ec;border-radius:10px;background:#fbfbfd;color:#1e202f;font:inherit;font-size:13px;box-sizing:border-box;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.cc-input::placeholder{color:#b3b5c2}.cc-input:hover:not(:disabled){border-color:#c9cbdc}.cc-input:focus{outline:0;background:#fff;border-color:#6558d3;box-shadow:0 0 0 3px #6558d321}.cc-input--strong{font-weight:700;letter-spacing:.02em}.cc-input--with-prefix{padding-left:38px}.cc-input--with-suffix{padding-right:46px}.cc-input-prefix,.cc-input-suffix{position:absolute;display:grid;place-items:center;color:#a0a2af;pointer-events:none;font-size:12px;font-weight:700}.cc-input-prefix{left:13px}.cc-input-suffix{right:13px}.cc-input-wrap:focus-within .cc-input-prefix{color:#6558d3}.cc-input.is-warning{border-color:#fcd34d;background:#fffbeb}.cc-input.is-warning:focus{box-shadow:0 0 0 3px #f59e0b29}.cc-input-group{display:flex;gap:8px}.cc-input-group .cc-input-wrap{flex:1;min-width:0}.cc-btn-generate{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 13px;border-radius:10px;border:1px dashed #c7c3ee;background:#f4f3fd;color:#4f46e5;font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap;transition:all .16s ease}.cc-btn-generate:hover{background:#6558d3;border-color:#6558d3;color:#fff}.cc-hint{display:flex;align-items:flex-start;gap:5px;font-size:11.5px;color:#8b8e9d;line-height:1.45}.cc-hint svg{flex:0 0 auto;margin-top:1px}.cc-hint--warn{color:#b45309;font-weight:600}.cc-hint--ok{color:#059669;font-weight:600}.cc-hint--money{color:#4f46e5;font-weight:700;font-size:12px}.cc-chips{display:flex;flex-wrap:wrap;gap:6px}.cc-chip{border:1px solid #e4e6f0;background:#fff;color:#64748b;border-radius:999px;padding:4px 11px;font-size:11.5px;font-weight:700;cursor:pointer;transition:all .15s ease}.cc-chip:hover{border-color:#b9b4ea;color:#4f46e5;background:#f7f6fe}.cc-chip.is-active{background:#6558d3;border-color:#6558d3;color:#fff}.cc-toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cc-toggle{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #e4e6f0;border-radius:11px;background:#fbfbfd;cursor:pointer;transition:all .16s ease}.cc-toggle:hover{border-color:#c9cbdc;background:#fff}.cc-toggle.is-on{border-color:#6558d3;background:#f5f4fe;box-shadow:0 0 0 3px #6558d314}.cc-toggle.is-locked{cursor:default;opacity:.95}.cc-toggle input{position:absolute;opacity:0;pointer-events:none}.cc-toggle-box{width:20px;height:20px;border-radius:6px;border:1.5px solid #cfd2e2;background:#fff;display:grid;place-items:center;color:#fff;flex:0 0 auto;transition:all .16s ease}.cc-toggle.is-on .cc-toggle-box{background:#6558d3;border-color:#6558d3}.cc-toggle-text{min-width:0}.cc-toggle-text strong{display:block;font-size:12.5px;font-weight:700;color:#303247}.cc-toggle-text small{display:block;font-size:11px;color:#8b8e9d;margin-top:1px}.cc-owner-card{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:12px;background:linear-gradient(135deg,#f7f6fe,#f2f6ff);border:1px solid #e4e6f7}.cc-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#7769e9,#5145b6);color:#fff;font-weight:800;font-size:14px;flex:0 0 auto;box-shadow:0 5px 13px #6558d347}.cc-owner-card strong{font-size:13px;color:#1e1b4b;display:block}.cc-owner-card small{font-size:11.5px;color:#64748b;line-height:1.45;display:block;margin-top:2px}.cc-aside{position:sticky;top:18px;display:flex;flex-direction:column;gap:14px}.cc-summary{background:#fff;border:1px solid #e8eaf2;border-radius:14px;box-shadow:0 2px 10px #2c304e0a;overflow:hidden}.cc-summary-head{padding:16px 18px;background:linear-gradient(135deg,#f7f6fe,#eef2ff);border-bottom:1px solid #eceefa;display:flex;align-items:center;gap:12px}.cc-summary-avatar{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#7769e9,#5145b6);color:#fff;font-weight:800;font-size:17px;flex:0 0 auto;box-shadow:0 6px 15px #6558d347}.cc-summary-ident{min-width:0}.cc-summary-ident strong{display:block;font-size:13.5px;font-weight:800;color:#1e1b4b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cc-summary-ident span{display:block;font-size:11.5px;color:#8b8e9d;font-weight:600;margin-top:2px}.cc-summary-tags{display:flex;flex-wrap:wrap;gap:5px;padding:12px 18px 0}.cc-tag{font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:999px}.cc-tag--kh{background:#e8e5f8;color:#4f46e5}.cc-tag--ncc{background:#d1fae5;color:#047857}.cc-tag--vat{background:#ffedd5;color:#c2410c}.cc-summary-list{padding:14px 18px 16px;display:flex;flex-direction:column;gap:10px}.cc-summary-item{display:flex;align-items:flex-start;gap:9px;font-size:12px}.cc-summary-item>svg{flex:0 0 auto;margin-top:1px;color:#b3b5c2}.cc-summary-item div{min-width:0}.cc-summary-item span{display:block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#b3b5c2}.cc-summary-item strong{display:block;font-size:12.5px;font-weight:600;color:#303247;word-break:break-word;margin-top:1px}.cc-summary-item strong.is-empty{color:#c4c6d2;font-weight:500;font-style:italic}.cc-progress{padding:0 18px 16px}.cc-progress-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;color:#8b8e9d;margin-bottom:7px;text-transform:uppercase;letter-spacing:.05em}.cc-progress-top b{color:#4f46e5;font-size:12px}.cc-progress-bar{height:7px;border-radius:999px;background:#eef0f6;overflow:hidden}.cc-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#7769e9,#4f46e5);transition:width .3s ease}.cc-tip{display:flex;gap:10px;padding:13px 15px;border-radius:12px;background:#f8fafc;border:1px dashed #dfe3ee;font-size:11.5px;color:#64748b;line-height:1.55}.cc-tip svg{flex:0 0 auto;color:#94a3b8;margin-top:1px}.cc-tip strong{display:block;color:#334155;font-size:12px;margin-bottom:3px}.cc-actions{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:12px;padding:14px 18px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #e8eaf2;border-radius:14px;box-shadow:0 -4px 20px #2c304e12}.cc-actions-note{font-size:11.5px;color:#8b8e9d;display:flex;align-items:center;gap:7px;margin-right:auto}.cc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 22px;border-radius:11px;font-size:13.5px;font-weight:700;cursor:pointer;border:1px solid transparent;transition:all .18s ease}.cc-btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.cc-btn--ghost{background:#fff;border-color:#dfe1ec;color:#64748b}.cc-btn--ghost:hover:not(:disabled){background:#f8fafc;border-color:#c9cbdc;color:#334155}.cc-btn--primary{background:linear-gradient(135deg,#6c5ddd,#4f46e5);color:#fff;min-width:176px;box-shadow:0 6px 18px #4f46e54d}.cc-btn--primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 24px #4f46e561}.cc-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:90px 20px;color:#8b8e9d;font-size:13px;background:#fff;border:1px solid #e8eaf2;border-radius:14px}@media(max-width:1180px){.cc-layout{grid-template-columns:minmax(0,1fr)}.cc-aside{position:static}}@media(min-width:1560px){.cc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px}}@media(max-width:760px){.cc-grid,.cc-grid--order-info{grid-template-columns:minmax(0,1fr)}.cc-toggle-row{grid-template-columns:1fr}.cc-hero{flex-wrap:wrap;padding:18px}.cc-hero-back,.cc-hero-back+.cc-hero-back{margin-left:0;width:100%;justify-content:center}.cc-actions{flex-wrap:wrap}.cc-actions-note{width:100%;margin-right:0}.cc-btn{flex:1}}.cc-field .searchable-select-trigger{height:40px;min-height:40px;border-radius:10px;border-color:#dfe1ec;background:#fbfbfd;padding:0 12px}.cc-field .searchable-select-trigger:hover{border-color:#c9cbdc}.cc-field .searchable-select-container:focus .searchable-select-trigger,.cc-field .searchable-select-container.is-open .searchable-select-trigger{background:#fff;border-color:#6558d3;box-shadow:0 0 0 3px #6558d321}.cc-hero--order{background:linear-gradient(120deg,#0369a1,#0284c7 45%,#0ea5e9);box-shadow:0 14px 34px #0284c738}.so-segments{display:flex;flex-wrap:wrap;gap:7px}.so-segment{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:10px;border:1px solid #e4e6f0;background:#fbfbfd;color:#64748b;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .16s ease}.so-segment:hover{border-color:#c9cbdc;background:#fff;color:#334155}.so-segment.is-active{border-color:#0284c7;background:#e0f2fe;color:#075985;box-shadow:0 0 0 3px #0284c71a}.so-segment-dot{width:8px;height:8px;border-radius:50%;background:#cbd5e1;flex:0 0 auto}.so-segment.is-active .so-segment-dot{background:currentColor}.so-segment--normal.is-active{border-color:#64748b;background:#f1f5f9;color:#334155;box-shadow:none}.so-segment--high.is-active{border-color:#f59e0b;background:#fffbeb;color:#b45309;box-shadow:0 0 0 3px #f59e0b1f}.so-segment--urgent.is-active{border-color:#f97316;background:#fff7ed;color:#c2410c;box-shadow:0 0 0 3px #f973161f}.so-segment--express.is-active{border-color:#ef4444;background:#fef2f2;color:#b91c1c;box-shadow:0 0 0 3px #ef44441f}.so-textarea{width:100%;min-height:92px;padding:11px 13px;border:1px solid #dfe1ec;border-radius:10px;background:#fbfbfd;color:#1e202f;font:inherit;font-size:13px;line-height:1.55;resize:vertical;box-sizing:border-box;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.so-textarea::placeholder{color:#b3b5c2}.so-textarea:focus{outline:0;background:#fff;border-color:#0284c7;box-shadow:0 0 0 3px #0284c721}.so-party-card{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:11px;background:linear-gradient(135deg,#f0f9ff,#f5f7ff);border:1px solid #dbeafe}.so-party-avatar{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#38bdf8,#0284c7);color:#fff;font-weight:800;font-size:14px;flex:0 0 auto;box-shadow:0 5px 13px #0284c742}.so-party-card strong{display:block;font-size:12.5px;color:#0c4a6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.so-party-card small{display:block;font-size:11.5px;color:#64748b;margin-top:2px}.so-lines-head{display:flex;align-items:center;gap:10px;padding:0 20px 14px}.so-lines-count{font-size:11.5px;font-weight:700;color:#8b8e9d}.so-btn-add{margin-left:auto;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 15px;border-radius:10px;border:1px solid #bae6fd;background:#e0f2fe;color:#0369a1;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .16s ease}.so-btn-add:hover{background:#0284c7;border-color:#0284c7;color:#fff}.so-table-scroll{overflow-x:auto;padding:0 20px}.so-table{width:100%;min-width:1020px;border-collapse:separate;border-spacing:0}.so-table th{position:relative;padding:9px 10px;background:#f6f7fb;border-bottom:1px solid #e8eaf2;font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#8b8e9d;text-align:left;white-space:nowrap}.so-table th:first-child{border-radius:9px 0 0}.so-table th:last-child{border-radius:0 9px 0 0}.so-table td{padding:9px 10px;border-bottom:1px solid #f1f3f9;vertical-align:middle;background:#fff;font-size:12.5px;color:#303247}.so-table tbody tr:hover td{background:#fcfcfe}.so-table .so-col-num{text-align:center}.so-table .so-col-money{text-align:right}.so-line-index{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f1f3f9;color:#8b8e9d;font-size:11px;font-weight:800}.so-cell-text{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#303247}.so-cell-text.is-empty{color:#c4c6d2;font-style:italic}.so-cell-uom{display:inline-block;padding:2px 8px;border-radius:999px;background:#f4f4f9;color:#64748b;font-size:11px;font-weight:700}.so-conversion{display:inline-flex;flex-direction:column;align-items:center;gap:2px;line-height:1.25}.so-conversion strong{color:#4338ca;font-size:12px;white-space:nowrap}.so-conversion small{color:#8b8e9d;font-size:10px;white-space:nowrap}.so-conversion--empty{color:#b3b5c2;font-size:11px;font-style:italic}body{font-family:var(--font-sans);color:var(--color-text-primary);background:var(--color-surface-0)}.topbar{height:56px;padding:0 var(--space-lg);gap:var(--space-md);position:sticky;top:0;z-index:20}.main-area{transition:margin-left var(--transition-normal),width var(--transition-normal)}.sidebar{transition:width var(--transition-normal),padding var(--transition-normal),transform var(--transition-normal)}.app-shell--collapsed .main-area{margin-left:64px;width:calc(100% - 64px)}.sidebar-collapse-button{min-height:32px;font-size:12px;margin-top:var(--space-sm);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-1);color:var(--color-text-secondary);display:flex;align-items:center;justify-content:center;gap:var(--space-sm);cursor:pointer}.sidebar-collapse-button:hover{color:var(--color-primary);border-color:var(--color-primary-border);background:var(--color-primary-soft)}.sidebar--collapsed{width:64px;padding:16px 10px}.sidebar--collapsed .brand-link>div,.sidebar--collapsed .sidebar-app-header,.sidebar--collapsed .sidebar-section-title,.sidebar--collapsed .primary-nav a span,.sidebar--collapsed .nav-group-trigger span,.sidebar--collapsed .nav-group-chevron,.sidebar--collapsed .sub-nav,.sidebar--collapsed .sidebar-profile>div,.sidebar--collapsed .sidebar-profile>button,.sidebar--collapsed .sidebar-collapse-button span{display:none}.sidebar--collapsed .brand-link{justify-content:center}.sidebar--collapsed .brand-logo{width:36px;height:36px}.sidebar--collapsed .sidebar-nav-container{overflow-y:auto;overflow-x:hidden;margin:var(--space-lg) 0 0;padding:0}.sidebar--collapsed .primary-nav{margin:0;gap:var(--space-sm)}.sidebar--collapsed .primary-nav a,.sidebar--collapsed .nav-group-trigger{width:44px;height:44px;padding:0;justify-content:center;border-radius:var(--radius-md)}.sidebar--collapsed .nav-group-trigger .trigger-content{gap:0}.sidebar--collapsed .primary-nav a.active:before{display:none}.sidebar--collapsed .sidebar-profile{display:flex;justify-content:center;margin-top:auto}.sidebar--collapsed .sidebar-profile .avatar{width:40px;height:40px}.sidebar--collapsed .sidebar-collapse-button{width:44px;min-height:44px}.module-switcher{position:relative;flex:0 0 auto}.module-switcher-trigger{height:40px;display:inline-flex;align-items:center;gap:var(--space-sm);padding:0 12px;border:1px solid var(--color-primary-border);border-radius:var(--radius-md);background:var(--color-primary-soft);color:var(--color-primary);font-weight:750;cursor:pointer}.module-switcher-trigger[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.module-switcher-menu{position:absolute;left:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 32px));padding:var(--space-sm);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-1);box-shadow:var(--shadow-lg)}.module-switcher-menu a{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:12px;padding:10px;border-radius:var(--radius-md)}.module-switcher-menu a:hover,.module-switcher-menu a.is-active{background:var(--color-primary-soft)}.module-switcher-menu a>span:last-child{display:grid;gap:2px}.module-switcher-menu strong{font-size:13px}.module-switcher-menu small{color:var(--color-text-secondary);font-size:var(--font-size-xs);line-height:1.35}.topbar-context{min-width:0;margin-right:0;overflow:hidden;gap:0}.breadcrumb-item{display:inline-flex;align-items:center;min-width:0;color:var(--color-text-secondary);font-size:12px}.breadcrumb-item svg{flex:0 0 auto;margin:0 5px;color:var(--color-text-muted)}.breadcrumb-item a:hover{color:var(--color-primary)}.breadcrumb-item>span[aria-current=page]{color:var(--color-text-primary);font-weight:700;overflow:hidden;text-overflow:ellipsis}.global-search-wrap{position:relative;margin-left:auto;width:min(400px,36vw)}.global-search{width:100%;height:40px}.global-search input{height:40px;font-size:13px}.global-search-kbd{flex:0 0 auto;padding:2px 6px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);font:600 10px/1.4 var(--font-sans, inherit)}.global-search-panel{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:40;max-height:min(420px,70vh);overflow-y:auto;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 18px 45px #2c304e29}.global-search-panel button{width:100%;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:8px;background:none;color:var(--ink);text-align:left;cursor:pointer}.global-search-panel button.is-active{background:var(--primary-soft)}.global-search-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#f4f3fa;color:var(--primary)}.global-search-text{display:flex;flex-direction:column;min-width:0}.global-search-text strong{font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-search-text small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-search-enter{color:var(--primary)}.global-search-empty{padding:16px 12px;color:var(--muted);font-size:12px;text-align:center}@media(max-width:1024px){.global-search-kbd{display:none}}.toast-container{position:fixed;z-index:10000;top:72px;right:16px;width:min(390px,calc(100vw - 32px));display:grid;gap:var(--space-sm);pointer-events:none}.toast-card{pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:14px;border:1px solid var(--color-border);border-left-width:4px;border-radius:var(--radius-lg);background:var(--color-surface-1);box-shadow:var(--shadow-lg);animation:toast-in var(--transition-normal)}.toast-card--success{border-left-color:var(--color-success)}.toast-card--success .toast-icon{color:var(--color-success)}.toast-card--warning{border-left-color:var(--color-warning)}.toast-card--warning .toast-icon{color:var(--color-warning)}.toast-card--error{border-left-color:var(--color-danger)}.toast-card--error .toast-icon{color:var(--color-danger)}.toast-card--info{border-left-color:var(--color-info)}.toast-card--info .toast-icon{color:var(--color-info)}.toast-body{display:grid;gap:4px}.toast-body strong{font-size:13px}.toast-body p{margin:0;color:var(--color-text-secondary);font-size:12px;line-height:1.45}.toast-card>button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);cursor:pointer}@keyframes toast-in{0%{opacity:0;transform:translate(16px)}}.confirm-overlay{z-index:10001}.confirm-dialog{width:min(460px,calc(100vw - 32px));padding:var(--space-lg);border-radius:var(--radius-lg);background:var(--color-surface-1);box-shadow:var(--shadow-lg)}.confirm-dialog header{display:grid;grid-template-columns:42px 1fr 32px;align-items:center;gap:12px}.confirm-dialog h3{margin:0;font-size:var(--font-size-heading)}.confirm-dialog header button{width:32px;height:32px;border:0;background:transparent;color:var(--color-text-muted);cursor:pointer}.confirm-dialog__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:var(--radius-md);color:var(--color-primary);background:var(--color-primary-soft)}.confirm-dialog__icon--danger{color:var(--color-danger);background:var(--color-danger-soft)}.confirm-dialog__icon--warning{color:var(--color-warning);background:var(--color-warning-soft)}.confirm-dialog>p{margin:var(--space-md) 0 var(--space-lg) 54px;color:var(--color-text-secondary);line-height:1.6}.confirm-dialog footer{display:flex;justify-content:flex-end;gap:var(--space-sm)}.empty-state-wrapper{display:grid;justify-items:center;gap:var(--space-sm);padding:var(--space-2xl) var(--space-lg);text-align:center}.empty-state-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;color:var(--color-primary);background:var(--color-primary-soft)}.empty-state-wrapper h3{margin:var(--space-sm) 0 0;font-size:var(--font-size-heading)}.empty-state-wrapper p{max-width:440px;margin:0 0 var(--space-sm);color:var(--color-text-secondary);font-size:13px;line-height:1.5}.skeleton-bar{display:block;height:12px;border-radius:var(--radius-full);background:linear-gradient(90deg,var(--color-surface-2) 20%,#fff 45%,var(--color-surface-2) 70%);background-size:250% 100%;animation:skeleton-wave 1.3s ease-in-out infinite}.table-skeleton td{height:58px}@keyframes skeleton-wave{to{background-position:-150% 0}}.stepper-container{margin-bottom:var(--space-lg);overflow-x:auto}.stepper-container ol{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));min-width:680px;margin:0;padding:0;list-style:none}.stepper-container li{position:relative}.stepper-container li:not(:last-child):after{content:"";position:absolute;z-index:0;top:20px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:var(--color-border)}.stepper-container li.is-done:after{background:var(--color-success)}.stepper-container button{position:relative;z-index:1;width:100%;display:flex;justify-content:center;align-items:center;gap:10px;padding:0 var(--space-sm);border:0;background:transparent;color:var(--color-text-muted);text-align:left;cursor:pointer}.stepper-container button:disabled{cursor:default}.stepper-badge{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:2px solid var(--color-border-strong);border-radius:50%;background:var(--color-surface-1);font-weight:800}.stepper-container button>span:last-child{display:grid;gap:2px}.stepper-container strong{font-size:12px;white-space:nowrap}.stepper-container small{font-size:10px;white-space:nowrap}.stepper-container .is-current button{color:var(--color-primary)}.stepper-container .is-current .stepper-badge{color:#fff;border-color:var(--color-primary);background:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.stepper-container .is-done button{color:var(--color-success)}.stepper-container .is-done .stepper-badge{color:#fff;border-color:var(--color-success);background:var(--color-success)}.field-error{display:flex;align-items:center;gap:5px;margin-top:6px;color:var(--color-danger);font-size:var(--font-size-xs);font-weight:650}.field-invalid .searchable-select-trigger,.field-invalid .cc-input,.field-invalid input{border-color:var(--color-danger)!important;box-shadow:0 0 0 3px var(--color-danger-soft)}.cc-form-skeleton{display:grid;gap:var(--space-md);padding:var(--space-lg);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-1)}.cc-form-skeleton .skeleton-bar:nth-child(1){width:32%;height:24px}.cc-form-skeleton .skeleton-bar:nth-child(2){width:100%;height:56px}.cc-form-skeleton .skeleton-bar:nth-child(3){width:78%;height:56px}.cc-form-skeleton .skeleton-bar:nth-child(4){width:92%;height:160px}.so-review-card{margin-bottom:var(--space-md)}.so-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:var(--space-lg);overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-border)}.so-review-grid>div{min-height:88px;display:grid;align-content:center;gap:7px;padding:var(--space-md);background:var(--color-surface-1)}.so-review-grid span{color:var(--color-text-secondary);font-size:var(--font-size-xs);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.so-review-grid strong{font-size:13px;line-height:1.45}.so-review-warning{display:flex;align-items:center;gap:var(--space-sm);margin:0 var(--space-lg) var(--space-lg);padding:12px;border:1px solid var(--color-warning-border);border-radius:var(--radius-md);color:#92400e;background:var(--color-warning-soft);font-size:12px}.so-flow-actions{display:flex;align-items:center;gap:var(--space-sm)}.so-table .sticky-col-right{position:sticky;right:0;min-width:130px;z-index:2;background:#fff}.so-table thead .sticky-col-right{z-index:3;background:#f6f7fb}.so-table tbody tr:hover .sticky-col-right{background:#fcfcfe}.sticky-col-left{position:sticky;left:0;z-index:2;background:var(--color-surface-1)}.sticky-col-right{position:sticky;right:0;z-index:2;background:var(--color-surface-1);box-shadow:-6px 0 10px #0f172a0a}thead .sticky-col-left,thead .sticky-col-right{z-index:3;background:var(--color-surface-2)}@media(max-width:760px){.topbar{height:56px;padding:0 var(--space-md)}.module-switcher-trigger span,.topbar-context{display:none}.global-search-wrap{width:auto;flex:1;min-width:0}.global-search{padding:0 12px}.module-switcher-trigger{width:40px;padding:0;justify-content:center}.module-switcher-trigger svg:last-child{display:none}.sidebar--collapsed{width:min(300px,88vw);padding:18px var(--sidebar-pad) 14px}.sidebar--collapsed .brand-link>div,.sidebar--collapsed .sidebar-app-header,.sidebar--collapsed .sidebar-section-title,.sidebar--collapsed .primary-nav a span,.sidebar--collapsed .nav-group-trigger span,.sidebar--collapsed .nav-group-chevron,.sidebar--collapsed .sidebar-profile>div,.sidebar--collapsed .sidebar-profile>button{display:initial}.sidebar-collapse-button{display:none}.stepper-container ol{min-width:560px}.stepper-container small{display:none}.so-review-grid{grid-template-columns:1fr;margin:var(--space-md)}.cc-actions{align-items:stretch;flex-direction:column}.so-flow-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.so-flow-actions .cc-btn{min-height:44px;justify-content:center}}.so-cell-input::-webkit-outer-spin-button,.so-cell-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.so-cell-input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.so-cell-input{width:100%;height:38px;border:1px solid #dfe1ec;border-radius:9px;padding:0 10px;font:inherit;font-size:13.5px;font-weight:600;color:#1e202f;background:#fbfbfd;box-sizing:border-box;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.so-cell-input:hover{border-color:#c9cbdc}.so-cell-input:focus{outline:0;background:#fff;border-color:#0284c7;box-shadow:0 0 0 3px #0284c726}.so-cell-input.text-center{text-align:center}.so-cell-input.text-right{text-align:right}.so-cell-input.is-over{border-color:#f87171;background:#fef2f2;color:#b91c1c;font-weight:700}.so-cell-input--narrow{width:100%;min-width:65px}.so-stock{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:700}.so-stock--ok{color:#0369a1;background:#e0f2fe}.so-stock--low{color:#b45309;background:#fef3c7}.so-stock--zero{color:#b91c1c;background:#fee2e2}.so-stock--na{color:#a0a2af;background:#f4f4f9}.so-line-total{font-size:12.5px;font-weight:800;color:#1e1b4b;white-space:nowrap}.so-line-warn{display:flex;align-items:center;gap:4px;margin-top:3px;font-size:10.5px;font-weight:700;color:#b91c1c}.so-btn-trash{background:none;border:1px solid transparent;color:#b3b5c2;cursor:pointer;padding:6px;border-radius:8px;display:inline-grid;place-items:center;transition:all .15s ease}.so-btn-trash:hover{background:#fee2e2;border-color:#fecaca;color:#ef4444}.so-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:44px 20px;color:#a0a2af}.so-empty-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#f6f7fb;color:#b3b5c2}.so-empty strong{font-size:13px;color:#64748b;font-weight:700}.so-empty span{font-size:11.5px}.so-totals{background:#fff;border:1px solid #e8eaf2;border-radius:14px;box-shadow:0 2px 10px #2c304e0a;overflow:hidden}.so-totals-head{display:flex;align-items:center;gap:10px;padding:14px 18px;background:linear-gradient(135deg,#f0f9ff,#eef2ff);border-bottom:1px solid #e6effa;font-size:12.5px;font-weight:800;color:#0c4a6e}.so-totals-body{padding:14px 18px 16px;display:flex;flex-direction:column;gap:9px}.so-total-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12.5px;color:#64748b}.so-total-row b{color:#303247;font-weight:700;font-variant-numeric:tabular-nums}.so-total-row--minus b{color:#dc2626}.so-total-divider{height:1px;background:#f1f3f9;margin:3px 0}.so-total-grand{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:11px;background:linear-gradient(135deg,#0369a1,#0284c7);color:#fff;box-shadow:0 6px 16px #0284c73d}.so-total-grand span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.85}.so-total-grand b{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.so-totals--wide .so-totals-head{padding:15px 20px}.so-totals--wide .so-totals-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(260px,1.2fr);align-items:stretch;gap:12px;padding:16px 20px 18px}.so-totals--wide .so-total-row{flex-direction:column;justify-content:center;gap:5px;min-height:54px;padding:10px 14px;border:1px solid #eef0f6;border-radius:11px;background:#fafbfc}.so-totals--wide .so-total-row b{font-size:15px}.so-totals--wide .so-total-grand{min-height:54px}@media(max-width:900px){.so-totals--wide .so-totals-body{grid-template-columns:repeat(2,minmax(0,1fr))}.so-totals--wide .so-total-grand{grid-column:1 / -1}}@media(max-width:520px){.so-totals--wide .so-totals-body{grid-template-columns:minmax(0,1fr);padding:14px}.so-totals--wide .so-total-grand{grid-column:auto}}.so-check{background:#fff;border:1px solid #e8eaf2;border-radius:14px;box-shadow:0 2px 10px #2c304e0a;padding:15px 18px}.so-check-title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#a0a2af;margin-bottom:11px}.so-check-list{display:flex;flex-direction:column;gap:8px}.so-check-item{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#8b8e9d}.so-check-item.is-done{color:#303247;font-weight:600}.so-check-mark{width:18px;height:18px;border-radius:50%;border:1.5px solid #dfe1ec;display:grid;place-items:center;color:#fff;flex:0 0 auto;transition:all .16s ease}.so-check-item.is-done .so-check-mark{background:#10b981;border-color:#10b981}.cc-btn--order{background:linear-gradient(135deg,#0284c7,#0369a1);box-shadow:0 6px 18px #0284c74d}.cc-btn--order:hover:not(:disabled){box-shadow:0 9px 24px #0284c761}@media(max-width:760px){.so-table-scroll{padding:0 12px}.so-lines-head{flex-wrap:wrap;padding:0 14px 12px}.so-btn-add{margin-left:0;width:100%;justify-content:center}}.sd-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;background:#18172d8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:sd-fade .16s ease}@keyframes sd-fade{0%{opacity:0}to{opacity:1}}.sd-modal{width:100%;max-width:940px;max-height:92vh;display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 30px 70px #18172d4d;overflow:hidden;animation:sd-pop .18s ease}@keyframes sd-pop{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}.sd-head{display:flex;align-items:center;gap:13px;padding:16px 20px;border-bottom:1px solid #f1f3f9;background:linear-gradient(135deg,#f7f6fe,#eff6ff);flex:0 0 auto}.sd-head-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#a78bfa,#7c3aed);color:#fff;flex:0 0 auto;box-shadow:0 5px 14px #7c3aed42}.sd-head-text{min-width:0;flex:1}.sd-head-text span{display:block;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a0a2af}.sd-head-text strong{display:block;font-size:16px;font-weight:800;color:#1e1b4b;letter-spacing:-.02em;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sd-close{width:34px;height:34px;border-radius:10px;border:1px solid #e4e6f0;background:#fff;color:#8b8e9d;display:grid;place-items:center;cursor:pointer;flex:0 0 auto;transition:all .15s ease}.sd-close:hover{background:#fee2e2;border-color:#fecaca;color:#ef4444}.sd-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:70px 20px;color:#8b8e9d;font-size:13px}.sd-body{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;padding:20px;overflow-y:auto;flex:1 1 auto}.sd-image-col{display:flex;flex-direction:column;gap:10px}.sd-image-frame{position:relative;aspect-ratio:1 / 1;border-radius:14px;border:1px solid #e8eaf2;background:#f8fafc;overflow:hidden;display:grid;place-items:center}.sd-image-frame img{width:100%;height:100%;object-fit:contain;display:block}.sd-image-placeholder{display:flex;flex-direction:column;align-items:center;gap:8px;color:#b3b5c2;font-size:12px}.sd-image-busy{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#ffffffb8;color:#6558d3}.sd-image-actions{display:flex;gap:8px}.sd-image-actions .sd-btn--primary{flex:1}.sd-image-hint{font-size:11px;color:#b3b5c2;text-align:center}.sd-image-note{display:flex;align-items:flex-start;gap:6px;padding:9px 11px;border-radius:10px;background:#f8fafc;border:1px solid #eceef6;font-size:11.5px;color:#64748b;line-height:1.45}.sd-image-note svg{flex:0 0 auto;margin-top:1px}.sd-image-note--error{background:#fff1f2;border-color:#fecdd3;color:#be123c;font-weight:600}.sd-image-note--ok{background:#ecfdf5;border-color:#a7f3d0;color:#047857;font-weight:600}.sd-info-col{display:flex;flex-direction:column;gap:12px;min-width:0}.sd-badges{display:flex;flex-wrap:wrap;gap:6px}.sd-badge{font-size:11px;font-weight:800;letter-spacing:.03em;padding:4px 10px;border-radius:999px}.sd-badge--code{background:#eef0fb;color:#4f46e5;font-family:ui-monospace,monospace}.sd-badge--group{background:#f4f4f9;color:#64748b}.sd-badge--on{background:#d1fae5;color:#047857}.sd-badge--off{background:#fee2e2;color:#b91c1c}.sd-section-title{font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#a0a2af;display:flex;align-items:center;gap:9px;margin-top:4px}.sd-section-title:after{content:"";flex:1;height:1px;background:#f1f3f9}.sd-rows{display:flex;flex-direction:column;gap:7px}.sd-row{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:baseline;font-size:12.5px}.sd-row>span{display:inline-flex;align-items:center;gap:5px;color:#8b8e9d;font-weight:600}.sd-row>strong{color:#303247;font-weight:600;word-break:break-word}.sd-row>strong em{color:#8b8e9d;font-style:normal;font-weight:500}.sd-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sd-price-card{padding:11px 13px;border-radius:12px;border:1px solid #e8eaf2;background:#fbfbfd}.sd-price-card span{display:block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#a0a2af}.sd-price-card strong{display:block;font-size:15px;font-weight:800;color:#303247;margin-top:3px;font-variant-numeric:tabular-nums}.sd-price-card em{display:block;font-size:10.5px;color:#8b8e9d;font-style:normal;margin-top:3px;line-height:1.4}.sd-price-card--accent{border-color:#ddd9f8;background:linear-gradient(135deg,#f7f6fe,#eef2ff)}.sd-price-card--accent strong{color:#4f46e5}.sd-conversions{display:flex;flex-wrap:wrap;gap:6px}.sd-conversion{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:#f4f4f9;color:#475569;font-size:11.5px;font-weight:600}.sd-flags{display:flex;flex-wrap:wrap;gap:6px}.sd-flag{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;border:1px solid #e8eaf2;background:#fbfbfd;color:#b3b5c2;font-size:11.5px;font-weight:700;text-decoration:line-through}.sd-flag.is-on{border-color:#bbf7d0;background:#f0fdf4;color:#15803d;text-decoration:none}.sd-description{margin:0;font-size:12.5px;color:#64748b;line-height:1.6;white-space:pre-line}.sd-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #f1f3f9;background:#fcfcfe;flex:0 0 auto}.sd-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 16px;border-radius:10px;border:1px solid transparent;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .16s ease}.sd-btn:disabled{opacity:.6;cursor:not-allowed}.sd-btn--primary{background:linear-gradient(135deg,#6c5ddd,#4f46e5);color:#fff;box-shadow:0 5px 14px #4f46e542}.sd-btn--primary:hover:not(:disabled){box-shadow:0 8px 20px #4f46e557}.sd-btn--ghost{background:#fff;border-color:#dfe1ec;color:#64748b}.sd-btn--ghost:hover{background:#f8fafc;color:#334155}.sd-btn--danger{background:#fff1f2;border-color:#fecdd3;color:#be123c;width:38px;padding:0}.sd-btn--danger:hover:not(:disabled){background:#be123c;border-color:#be123c;color:#fff}.so-btn-detail{background:none;border:1px solid transparent;color:#b3b5c2;cursor:pointer;padding:6px;border-radius:8px;display:inline-grid;place-items:center;transition:all .15s ease}.so-btn-detail:hover:not(:disabled){background:#eef0fb;border-color:#ddd9f8;color:#4f46e5}.so-btn-detail:disabled{opacity:.35;cursor:not-allowed}.so-row-actions{display:inline-flex;align-items:center;gap:2px}@media(max-width:780px){.sd-overlay{padding:0}.sd-modal{max-width:100%;max-height:100vh;border-radius:0}.sd-body{grid-template-columns:minmax(0,1fr)}.sd-image-frame{aspect-ratio:4 / 3}.sd-price-grid{grid-template-columns:1fr}.sd-row{grid-template-columns:minmax(0,1fr);gap:2px}}.so-thumb{width:38px;height:38px;border-radius:9px;border:1px solid #e4e6f0;background:#f8fafc;color:#b3b5c2;display:grid;place-items:center;overflow:hidden;padding:0;cursor:pointer;transition:all .16s ease}.so-thumb img{width:100%;height:100%;object-fit:cover;display:block}.so-thumb:hover{border-color:#b9b4ea;box-shadow:0 0 0 3px #6558d31f;color:#6558d3}.so-thumb--empty{cursor:default;opacity:.55}.so-thumb--empty:hover{border-color:#e4e6f0;box-shadow:none;color:#b3b5c2}.so-btn-detail{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:8px;border:1px solid #ddd9f8;background:#f4f3fd;color:#4f46e5;font-size:11.5px;font-weight:700;cursor:pointer;white-space:nowrap;transition:all .15s ease}.so-btn-detail:hover:not(:disabled){background:#6558d3;border-color:#6558d3;color:#fff}.so-btn-detail:disabled{background:#f6f7fb;border-color:#e8eaf2;color:#b3b5c2;cursor:not-allowed}.so-row-actions{display:inline-flex;align-items:center;gap:6px}.so-table{width:1290px;min-width:1290px}.cc-hero--catalog{background:linear-gradient(120deg,#6d28d9,#7c3aed 45%,#a855f7);box-shadow:0 14px 34px #7c3aed38}.cat-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cat-stat{background:#fff;border:1px solid #e8eaf2;border-radius:13px;padding:14px 16px;box-shadow:0 2px 8px #2c304e0a}.cat-stat span{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#a0a2af}.cat-stat strong{display:block;font-size:22px;font-weight:800;color:#1e1b4b;margin-top:3px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.cat-stat--ok strong{color:#059669}.cat-stat--warn strong{color:#d97706}.cat-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:13px 15px;background:#fff;border:1px solid #e8eaf2;border-radius:13px;box-shadow:0 2px 8px #2c304e0a}.cat-search{position:relative;display:flex;align-items:center;flex:1 1 280px;min-width:220px}.cat-search svg{position:absolute;left:12px;color:#b3b5c2;pointer-events:none}.cat-search input{width:100%;height:40px;padding:0 12px 0 34px;border:1px solid #dfe1ec;border-radius:10px;background:#fbfbfd;font:inherit;font-size:13px;color:#1e202f;box-sizing:border-box;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.cat-search input::placeholder{color:#b3b5c2}.cat-search input:focus{outline:0;background:#fff;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed21}.cat-search:focus-within svg{color:#7c3aed}.cat-chips{display:flex;flex-wrap:wrap;gap:6px}.cat-view-toggle{display:inline-flex;margin-left:auto;border:1px solid #e4e6f0;border-radius:10px;overflow:hidden;background:#fbfbfd}.cat-view-toggle button{width:38px;height:38px;border:0;background:none;color:#8b8e9d;display:grid;place-items:center;cursor:pointer;transition:all .15s ease}.cat-view-toggle button:hover{background:#f1f3f9;color:#4f46e5}.cat-view-toggle button.is-active{background:#6558d3;color:#fff}.cat-result-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid #f1f3f9;font-size:12px;color:#8b8e9d}.cat-result-bar strong{color:#303247;font-weight:800}.cat-result-bar--bare{border-bottom:0;padding:0 4px 2px}.cat-clear{display:inline-flex;align-items:center;gap:5px;border:1px solid #e4e6f0;background:#fff;color:#64748b;border-radius:999px;padding:4px 11px;font-size:11.5px;font-weight:700;cursor:pointer;transition:all .15s ease}.cat-clear:hover{border-color:#fecaca;background:#fff1f2;color:#be123c}.so-table.cat-table{width:100%;min-width:0;table-layout:fixed}.cat-table .cat-col-product{white-space:normal;word-break:break-word;overflow-wrap:anywhere}.cat-table td:last-child{padding-left:4px;padding-right:10px}.cat-sku-code{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700;color:#4f46e5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-barcode{display:block;font-size:10.5px;color:#b3b5c2;margin-top:2px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-product-name{display:block;font-size:12.5px;font-weight:700;color:#303247;line-height:1.38;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.cat-spec-name{display:block;font-size:11.5px;color:#8b8e9d;margin-top:2px;line-height:1.35;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.cat-group-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:#f4f4f9;color:#64748b;font-size:11px;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:14px}.cat-card{background:#fff;border:1px solid #e8eaf2;border-radius:14px;box-shadow:0 2px 8px #2c304e0a;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}.cat-card:hover{border-color:#ddd9f8;box-shadow:0 10px 26px #4f46e51f;transform:translateY(-2px)}.cat-card-body{padding:12px 13px 13px;display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.cat-card-body strong{font-size:12.5px;font-weight:700;color:#303247;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cat-card-body small{font-size:11px;color:#8b8e9d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px}.so-thumb--card{width:100%;height:auto;aspect-ratio:1 / 1;border:0;border-bottom:1px solid #f1f3f9;border-radius:0;background:#f8fafc}.so-thumb--card:hover{box-shadow:none;background:#f1f3f9}@media(max-width:860px){.cat-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-view-toggle{margin-left:0}}.cat-sku-table-wrap{overflow-x:auto;border-radius:12px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 3px #0000000a}.cat-sku-table{width:100%;border-collapse:separate;border-spacing:0;min-width:860px}.cat-sku-table th{background:#f8fafc;color:#475569;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left}.cat-sku-table td{padding:8px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle;background:#fff;transition:background .15s ease}.cat-sku-table tr:last-child td{border-bottom:none}.cat-sku-table tr:hover td{background:#fbfbfe}.cat-sku-index{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:700}.cat-sku-input{width:100%;height:36px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;font-size:12.5px;background:#fcfcfd;color:#1e293b;box-sizing:border-box;transition:all .15s ease}.cat-sku-input:focus{outline:none;background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.cat-sku-input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.cat-sku-hint{margin-top:3px;font-size:11px;line-height:1.3;color:#64748b;text-align:right;white-space:nowrap}.cat-sku-select{width:100%;height:36px;padding:0 8px;border:1px solid #cbd5e1;border-radius:8px;font-size:12.5px;background:#fcfcfd;color:#1e293b;box-sizing:border-box;transition:all .15s ease}.cat-sku-select:focus{outline:none;background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.cat-sku-toggles{display:flex;align-items:center;justify-content:center;gap:5px}.cat-sku-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;transition:all .15s ease}.cat-sku-pill:hover{border-color:#cbd5e1;background:#f1f5f9}.cat-sku-pill.is-active{background:#eef2ff;border-color:#c7d2fe;color:#4338ca;font-weight:700}.cat-sku-pill input{display:none}.cat-sku-actions{display:flex;align-items:center;justify-content:center;gap:4px}.cat-icon-btn{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:6px;border:1px solid transparent;background:none;color:#94a3b8;cursor:pointer;transition:all .15s ease}.cat-icon-btn:hover:not(:disabled){background:#f1f5f9;color:#334155}.cat-icon-btn--danger:hover:not(:disabled){background:#fef2f2;color:#ef4444;border-color:#fecaca}.cat-icon-btn:disabled{opacity:.35;cursor:not-allowed}.cat-dropzone{border:2px dashed #cbd5e1;border-radius:12px;background:#f8fafc;padding:20px;text-align:center;transition:all .2s ease;cursor:pointer}.cat-dropzone:hover{border-color:#818cf8;background:#f5f7ff}.cat-dropzone.is-dragging{border-color:#6366f1;background:#eef2ff}.cat-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;z-index:1000;padding:20px;animation:cat-modal-fade .2s ease}.cat-modal-card{background:#fff;border-radius:16px;width:100%;max-width:480px;padding:24px;box-shadow:0 25px 50px -12px #00000040;animation:cat-modal-pop .22s cubic-bezier(.16,1,.3,1)}@keyframes cat-modal-fade{0%{opacity:0}to{opacity:1}}@keyframes cat-modal-pop{0%{opacity:0;transform:scale(.95) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;background:#0f172aa6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px;animation:modalBackdropFadeIn .2s ease}@keyframes modalBackdropFadeIn{0%{opacity:0}to{opacity:1}}.issue-modal-shell{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 25px 65px -12px #0f172a47,0 0 0 1px #0f172a0d;width:100%;max-width:1120px;max-height:92vh;display:flex;flex-direction:column;overflow:hidden;animation:modalScaleIn .22s cubic-bezier(.16,1,.3,1)}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.96) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.issue-modal-header-v2{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;background:#fff;border-bottom:1px solid #e2e8f0}.issue-header-left{display:flex;align-items:center;gap:14px}.issue-header-icon-box{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#fffbeb;border:1px solid #fde68a;color:#d97706;flex-shrink:0;box-shadow:0 4px 12px #d977061f}.issue-header-title-wrap{display:flex;flex-direction:column;gap:4px}.issue-header-category{display:flex;align-items:center;gap:8px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.issue-header-title{font-size:1.2rem;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:10px;margin:0;flex-wrap:wrap}.issue-code-pill{font-family:JetBrains Mono,Fira Code,ui-monospace,monospace;font-size:.95rem;font-weight:700;color:#b45309;background:#fffbeb;padding:4px 10px;border-radius:8px;border:1px solid #fde68a;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .18s ease}.issue-code-pill:hover{background:#fef3c7;border-color:#f59e0b;transform:translateY(-1px)}.modal-close{width:34px;height:34px;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;display:grid;place-items:center;cursor:pointer;transition:all .18s ease}.modal-close:hover{background:#fee2e2;border-color:#fecaca;color:#ef4444}.modal-content .modal-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:#ffffff0f;color:#94a3b8;cursor:pointer;padding:0;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #00000040;flex-shrink:0}.modal-content .modal-close:hover{background:#ef44442e;border-color:#ef444473;color:#f87171;transform:rotate(90deg) scale(1.05)}.modal-content .modal-close:active{transform:rotate(90deg) scale(.95)}.issue-meta-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.issue-kpi-block{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.issue-kpi-block:hover{border-color:#cbd5e1;background:#fff;box-shadow:0 4px 14px #0f172a0d;transform:translateY(-1px)}.issue-kpi-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#fff;border:1px solid #e2e8f0;flex-shrink:0;box-shadow:0 2px 4px #0f172a08}.issue-kpi-info{display:flex;flex-direction:column;gap:2px;min-width:0}.issue-kpi-label{font-size:.72rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.04em;display:block}.issue-kpi-val{font-size:.9rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.issue-stepper-container{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px;margin-bottom:20px}.issue-stepper-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;position:relative}.issue-step-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;position:relative;z-index:1}.issue-step-circle{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:.76rem;font-weight:800;transition:all .25s ease}.issue-step-item.is-past .issue-step-circle{background:#10b981;color:#fff;box-shadow:0 4px 12px #10b98140}.issue-step-item.is-current .issue-step-circle{background:#f59e0b;color:#fff;box-shadow:0 4px 14px #f59e0b59;font-weight:900}.issue-step-item.is-upcoming .issue-step-circle{background:#fff;border:1px solid #cbd5e1;color:#94a3b8}.issue-step-label{font-size:.75rem;font-weight:600;color:#64748b}.issue-step-item.is-current .issue-step-label{color:#b45309;font-weight:700}.issue-step-item.is-past .issue-step-label{color:#059669}.issue-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.issue-section-title{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:800;color:#0f172a;margin:0}.issue-pill-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:6px;font-size:.74rem;font-weight:600;background:#f1f5f9;border:1px solid #e2e8f0;color:#475569}.issue-sku-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:6px;font-family:JetBrains Mono,Fira Code,ui-monospace,monospace;font-size:.78rem;font-weight:700;color:#0284c7;background:#f0f9ff;border:1px solid #bae6fd}.issue-alloc-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:6px;font-size:.74rem;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;margin:2px 4px 2px 0}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:.76rem;font-weight:700}.badge-blue{background:#eff6ff;color:#2563eb;border:1px solid #dbeafe}.badge-green{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.badge-amber{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.badge-rose{background:#fff1f2;color:#e11d48;border:1px solid #fecdd3}.badge-purple{background:#f5f3ff;color:#7c3aed;border:1px solid #ddd6fe}@media(max-width:900px){.issue-meta-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.issue-meta-kpis{grid-template-columns:1fr}.issue-modal-header-v2{flex-direction:column;align-items:flex-start}}.issue-create-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172aa6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:modalBackdropFadeIn .2s ease}.issue-create-modal{width:min(1180px,100%);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 25px 65px -12px #0f172a47,0 0 0 1px #0f172a0d;animation:modalScaleIn .22s cubic-bezier(.16,1,.3,1)}.issue-create-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#fffbeb,#fff 60%)}.issue-create-heading{display:flex;align-items:center;gap:14px}.issue-create-heading-icon{width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;color:#d97706;border:1px solid #fde68a;background:#fffbeb;box-shadow:0 4px 12px #d977061f}.issue-create-eyebrow{display:block;margin-bottom:3px;color:#b45309;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.issue-create-heading h3{font-size:1.2rem;font-weight:800;color:#0f172a;margin:0}.issue-create-heading p{margin-top:3px;color:#64748b;font-size:.8rem;margin-bottom:0}.issue-create-close,.issue-create-delete{display:grid;place-items:center;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#64748b;cursor:pointer;transition:all .18s ease}.issue-create-close{width:34px;height:34px}.issue-create-close:hover{background:#fee2e2;border-color:#fecaca;color:#ef4444}.issue-create-form{min-height:0;display:flex;flex:1;flex-direction:column;overflow:hidden}.issue-create-body{min-height:0;display:grid;gap:16px;padding:20px 24px;overflow-y:auto;background:#f8fafc}.issue-create-section{overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 2px 6px #0f172a08}.issue-create-section-title{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:11px;padding:14px 18px;border-bottom:1px solid #e2e8f0;background:#fff}.issue-create-section-title>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:#b45309;background:#fef3c7;font-size:.72rem;font-weight:800}.issue-create-section-title h4{font-size:.92rem;font-weight:700;color:#0f172a;margin:0}.issue-create-section-title p{margin-top:2px;color:#64748b;font-size:.72rem;margin-bottom:0}.issue-create-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;padding:17px 18px 14px}.issue-create-info-grid .form-label,.issue-create-fefo-reason .form-label{display:flex;align-items:center;gap:6px;font-size:.76rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.03em;margin-bottom:6px}.issue-create-notes{grid-column:1 / -1}.issue-create-info-grid .form-textarea{min-height:64px;resize:vertical}.issue-create-required{color:#ef4444}.issue-create-guidance{display:flex;align-items:flex-start;gap:8px;margin:0 18px 17px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:9px;color:#1e40af;background:#eff6ff;font-size:.76rem;line-height:1.5}.issue-create-guidance svg{flex:0 0 auto;margin-top:1px}.issue-create-lines-heading{grid-template-columns:32px 1fr auto}.issue-create-lines-heading .btn{padding:7px 12px;font-size:.78rem}.issue-create-table-wrap{max-height:350px;overflow:auto}.issue-create-table{min-width:1080px;width:100%;border-collapse:collapse}.issue-create-table th{position:sticky;top:0;z-index:1;padding:10px 12px;background:#f1f5f9;color:#475569;font-size:.72rem;font-weight:700;text-transform:uppercase;border-bottom:1px solid #e2e8f0}.issue-create-table td{padding:10px 12px;vertical-align:middle;border-bottom:1px solid #f1f5f9}.issue-create-table tr.has-shortage td{background:#fff1f2}.issue-create-table .form-input,.issue-create-table .form-select{min-height:38px;padding:7px 10px;font-size:.82rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a}.issue-create-table .form-input:focus,.issue-create-table .form-select:focus{border-color:#f59e0b;outline:none;box-shadow:0 0 0 3px #f59e0b33}.issue-create-product-select{font-weight:600}.issue-create-uom{display:inline-flex;padding:4px 8px;border:1px solid #bae6fd;border-radius:7px;color:#0284c7;background:#f0f9ff;font-size:.74rem;font-weight:700}.issue-create-stock-cell{text-align:right;font-variant-numeric:tabular-nums}.issue-create-stock-cell strong{color:#059669;font-weight:700}.issue-create-stock-cell strong.is-short{color:#e11d48}.issue-create-stock-cell small{display:flex;justify-content:flex-end;align-items:center;gap:3px;margin-top:3px;color:#e11d48;font-size:.68rem;font-weight:600}.issue-create-quantity{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}.issue-create-batch-field{display:grid;gap:4px}.issue-create-batch-field small{color:#b45309;font-size:.68rem;line-height:1.35;font-weight:600}.issue-create-no-batch{color:#94a3b8;font-size:.74rem}.issue-create-delete{width:32px;height:32px;color:#ef4444}.issue-create-delete:hover:not(:disabled){border-color:#fecaca;background:#fee2e2}.issue-create-delete:disabled{cursor:not-allowed;opacity:.3}.issue-create-fefo-reason{padding:14px 18px 17px;border-top:1px solid #e2e8f0;background:#fffbeb}.issue-create-footer{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 24px;border-top:1px solid #e2e8f0;background:#fff}.issue-create-summary{display:flex;align-items:stretch;gap:18px}.issue-create-summary>span{display:flex;align-items:center;gap:9px;padding-right:18px;border-right:1px solid #e2e8f0;color:#2563eb}.issue-create-summary>span>span{display:grid;gap:2px}.issue-create-summary small{color:#64748b;font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.issue-create-summary strong{max-width:190px;overflow:hidden;color:#0f172a;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.issue-create-summary .is-warning,.issue-create-summary .is-warning strong{color:#e11d48}.issue-create-actions{display:flex;gap:9px}@media(max-width:800px){.issue-create-backdrop{padding:0}.issue-create-modal{height:100vh;max-height:none;border-radius:0}.issue-create-info-grid{grid-template-columns:1fr}.issue-create-notes{grid-column:auto}.issue-create-footer{align-items:stretch;flex-direction:column}.issue-create-summary{overflow-x:auto}.issue-create-actions .btn{flex:1}}@media(max-width:520px){.issue-create-header,.issue-create-body,.issue-create-footer{padding-left:16px;padding-right:16px}.issue-create-heading p{display:none}.issue-create-summary>span:first-child{display:none}.issue-create-lines-heading{grid-template-columns:32px 1fr}.issue-create-lines-heading .btn{grid-column:1 / -1}.issue-create-actions{width:100%}}.modal-content{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:650px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 65px -12px #0f172a47;animation:modalScaleIn .22s cubic-bezier(.16,1,.3,1)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #e2e8f0;background:#fff}.modal-body{padding:20px 22px}.modal-footer{padding:14px 22px;border-top:1px solid #e2e8f0;background:#f8fafc}.product-edit-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:24px;background:#1818309e;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.product-edit-modal{width:min(820px,100%);max-height:min(880px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.65);border-radius:20px;box-shadow:0 30px 80px #14142d47,0 4px 18px #14142d1f;animation:modalScaleIn .22s cubic-bezier(.16,1,.3,1)}.product-edit-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 20px;background:linear-gradient(135deg,#fff 55%,#f7f5ff)}.product-edit-header h3{margin:6px 0 5px;color:#26243c;font-size:23px;line-height:1.25;letter-spacing:-.025em}.product-edit-header p{margin:0;color:#858899;font-size:12px;line-height:1.5}.product-edit-header>button{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #e8e7ef;border-radius:11px;background:#fffc;color:#77798a;cursor:pointer}.product-edit-header>button:hover{border-color:#d7d4e8;background:#f1eff8;color:#403a71;transform:rotate(3deg)}.product-edit-tabs{display:flex;gap:4px;padding:0 28px;overflow-x:auto;border-bottom:1px solid #ececf3;background:#fff;scrollbar-width:thin}.product-edit-tab{position:relative;min-height:50px;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:0 14px;border:0;background:transparent;color:#858899;font-size:12.5px;font-weight:700;white-space:nowrap;cursor:pointer}.product-edit-tab:after{content:"";position:absolute;right:12px;bottom:-1px;left:12px;height:3px;border-radius:3px 3px 0 0;background:#6558d3;transform:scaleX(0);transition:transform .18s ease}.product-edit-tab:hover{color:#5549bc;background:#faf9ff}.product-edit-tab.is-active{color:#594cc2}.product-edit-tab.is-active:after{transform:scaleX(1)}.product-edit-tab:last-child:hover,.product-edit-tab:last-child.is-active{color:#c24152;background:#fff8f8}.product-edit-tab:last-child:after{background:#df6171}.product-edit-body{min-height:390px;padding:24px 28px 26px;overflow-y:auto;overscroll-behavior:contain;background:#fff}.product-edit-modal .warehouse-form-grid{gap:18px 20px;margin-bottom:0}.product-edit-modal .form-group{margin-bottom:0}.product-edit-modal .form-label{margin-bottom:7px;color:#686b7e;font-size:11.5px}.product-edit-modal .form-input{min-height:44px;padding:10px 13px;border-color:#dfe1ea;border-radius:10px;background:#fcfcfe;font-size:13px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.product-edit-modal .form-input:hover:not(:disabled){border-color:#c9cad7}.product-edit-modal .form-input:focus{border-color:#7567df;background:#fff;box-shadow:0 0 0 3px #6558d31f}.product-edit-modal .form-hint{display:block;margin-top:7px;color:#8b8e9d;font-size:11px;line-height:1.55}.product-edit-modal .warehouse-active-field{grid-column:auto;min-height:44px;padding:10px 13px;background:#fafafe;border-color:#e5e5ee}.product-edit-modal .order-detail-actions{margin:24px -28px -26px;padding:15px 28px;border-top:1px solid #ececf3;background:#fafafd}.product-edit-modal .order-detail-actions .btn{min-height:40px;padding:9px 16px;border-radius:9px}.product-edit-modal .data-table{width:100%;overflow:hidden;border:1px solid #e7e8ef;border-radius:11px;border-collapse:separate;border-spacing:0}.product-edit-modal .data-table th{background:#f7f8fb}.product-edit-modal .data-table td:last-child,.product-edit-modal .data-table th:last-child{width:52px;text-align:center}.product-edit-modal .data-table .icon-button{width:30px;height:30px;margin:auto;border-radius:8px;color:#a0a2af}.product-edit-modal .data-table .icon-button:hover{background:#fff0f2;color:#d34e62}@media(max-width:680px){.product-edit-overlay{align-items:end;padding:12px}.product-edit-modal{max-height:calc(100dvh - 24px);border-radius:18px}.product-edit-header{padding:20px 18px 16px}.product-edit-header h3{font-size:20px}.product-edit-header p{display:none}.product-edit-tabs{padding:0 10px}.product-edit-tab{min-height:47px;padding:0 10px}.product-edit-body{min-height:0;padding:20px 18px 22px}.product-edit-modal .warehouse-form-grid{grid-template-columns:1fr;gap:15px}.product-edit-modal .warehouse-form-wide{grid-column:auto}.product-edit-modal .order-detail-actions{margin:22px -18px -22px;padding:14px 18px}}@media(max-width:440px){.product-edit-tab{gap:6px;font-size:11.5px}.product-edit-modal .order-detail-actions{display:grid;grid-template-columns:1fr}.product-edit-modal .order-detail-actions .btn{width:100%}}.notify-modal-backdrop{z-index:1200!important;background:#0f172ab3!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}.notify-modal-card{position:relative;width:min(500px,94vw);background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 30px 90px -12px #0f172a59,0 0 0 1px #0f172a0d;overflow:hidden;animation:notifyModalPop .28s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column}@keyframes notifyModalPop{0%{opacity:0;transform:scale(.92) translateY(16px)}to{opacity:1;transform:scale(1) translateY(0)}}.notify-modal-close{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;display:grid;place-items:center;cursor:pointer;transition:all .18s ease;z-index:2}.notify-modal-close:hover{background:#fee2e2;border-color:#fecaca;color:#ef4444}.notify-modal-content{padding:36px 28px 24px;display:flex;flex-direction:column;align-items:center;text-align:center}.notify-icon-wrapper{position:relative;width:68px;height:68px;border-radius:20px;display:grid;place-items:center;margin-bottom:20px}.notify-icon-pulse{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:24px;opacity:.4;animation:notifyPulse 2s infinite ease-in-out}@keyframes notifyPulse{0%,to{transform:scale(1);opacity:.35}50%{transform:scale(1.08);opacity:.15}}.notify-success .notify-icon-wrapper{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669;border:1px solid #6ee7b7;box-shadow:0 8px 24px #10b98140}.notify-success .notify-icon-pulse{background:#10b981}.notify-success .notify-badge{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.notify-success .notify-btn-confirm{background:linear-gradient(135deg,#10b981,#059669);border-color:#059669;box-shadow:0 4px 14px #10b98159}.notify-error .notify-icon-wrapper{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#e11d48;border:1px solid #fda4af;box-shadow:0 8px 24px #f43f5e40}.notify-error .notify-icon-pulse{background:#f43f5e}.notify-error .notify-badge{color:#e11d48;background:#fff1f2;border:1px solid #fecdd3}.notify-error .notify-btn-confirm{background:linear-gradient(135deg,#f43f5e,#e11d48);border-color:#e11d48;box-shadow:0 4px 14px #f43f5e59}.notify-warning .notify-icon-wrapper{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#b45309;border:1px solid #fcd34d;box-shadow:0 8px 24px #f59e0b40}.notify-warning .notify-icon-pulse{background:#f59e0b}.notify-warning .notify-badge{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.notify-warning .notify-btn-confirm{background:linear-gradient(135deg,#f59e0b,#d97706);border-color:#d97706;box-shadow:0 4px 14px #f59e0b59}.notify-info .notify-icon-wrapper{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#4338ca;border:1px solid #a5b4fc;box-shadow:0 8px 24px #6366f140}.notify-info .notify-icon-pulse{background:#6366f1}.notify-info .notify-badge{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe}.notify-info .notify-btn-confirm{background:linear-gradient(135deg,#6366f1,#4f46e5);border-color:#4f46e5;box-shadow:0 4px 14px #6366f159}.notify-body{width:100%}.notify-badge{display:inline-flex;padding:3px 10px;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;margin-bottom:10px}.notify-title{font-size:1.25rem;font-weight:800;color:#0f172a;margin:0 0 8px;line-height:1.35}.notify-message{font-size:.9rem;color:#64748b;line-height:1.55;margin:0}.notify-details-grid{margin-top:16px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;text-align:left}.notify-detail-item{display:flex;flex-direction:column;gap:2px}.notify-detail-label{font-size:.68rem;color:#94a3b8;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.notify-detail-value{font-size:.85rem;color:#0f172a;font-weight:700}.notify-modal-actions{display:flex;gap:12px;padding:16px 28px 24px;background:#fff}.notify-btn-confirm{flex:1;padding:12px 20px;font-size:.92rem;font-weight:700;border-radius:12px;color:#fff;cursor:pointer;transition:all .2s ease;justify-content:center}.notify-btn-confirm:hover{transform:translateY(-1px);filter:brightness(1.05)}.notify-btn-cancel{flex:1;padding:12px 20px;font-size:.92rem;font-weight:700;border-radius:12px;background:#f1f5f9;border:1px solid #cbd5e1;color:#475569;cursor:pointer;transition:all .2s ease;justify-content:center}.notify-btn-cancel:hover{background:#e2e8f0;color:#0f172a}.scope-list{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.scope-row{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px}.scope-row-name{flex:1;font-size:13px;font-weight:600;color:#1e293b}.legacy-page-scope .stock-page-size-badge{display:inline-flex;align-items:center;height:32px;padding:0 10px;border:1px solid #dcdbe5;border-radius:8px;color:#777b8e;font-size:10px;font-weight:700;background:#fafafd}.legacy-page-scope .stock-pager{display:grid;grid-template-columns:36px minmax(78px,auto) minmax(92px,auto) minmax(78px,auto) 36px;align-items:center;gap:4px;padding:4px;border:1px solid #e4e3eb;border-radius:10px;background:#fafafd}.legacy-page-scope .stock-pager__button{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:34px;min-width:0;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#777b8e;font:inherit;font-size:11px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer;transition:background .15s ease,color .15s ease}.legacy-page-scope .stock-pager__button--edge{width:36px;padding:0}.legacy-page-scope .stock-pager__button:hover:not(:disabled){background:#f0effa;color:#6558d3}.legacy-page-scope .stock-pager__button:focus-visible{outline:2px solid #6558d3;outline-offset:1px}.legacy-page-scope .stock-pager__button:disabled{opacity:.4;cursor:not-allowed}.legacy-page-scope .stock-pager__status{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:92px;height:34px;padding:0 10px;border-left:1px solid #e4e3eb;border-right:1px solid #e4e3eb;color:#9a9dac;font-size:11px;line-height:1;white-space:nowrap}.legacy-page-scope .stock-pager__status strong{color:#0f172a;font-weight:700}.legacy-page-scope .stock-pagination{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;padding:12px 20px!important;color:#475569!important;font-size:13px!important;box-sizing:border-box!important;border-top:none!important}.legacy-page-scope .stock-pagination-info{position:static!important;font-size:12px!important;color:#64748b!important;font-variant-numeric:tabular-nums!important}.legacy-page-scope .stock-pagination-controls{margin:0!important;display:flex!important;align-items:center!important;gap:8px!important}@media(max-width:768px){.legacy-page-scope .stock-pagination{flex-direction:column!important;align-items:center!important;text-align:center!important;padding:12px 16px!important}.legacy-page-scope .stock-pagination-controls{width:100%!important;justify-content:center!important}.legacy-page-scope .stock-pager{grid-template-columns:32px 32px auto 32px 32px!important}.legacy-page-scope .stock-pager__button{height:32px!important;padding:0 6px!important}.legacy-page-scope .stock-pager__button--step span{display:none!important}.legacy-page-scope .stock-pager__status{min-width:76px!important;padding:0 6px!important}}.legacy-page-scope .inventory-card-head{border-top-left-radius:16px;border-top-right-radius:16px}.legacy-page-scope .stock-sticky-footer{position:sticky;bottom:0;z-index:15;background:#fffffff5;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid #e2e8f0;border-bottom-left-radius:16px;border-bottom-right-radius:16px;box-shadow:0 -4px 18px #0f172a0d;display:flex;flex-direction:column;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.legacy-page-scope .stock-sticky-scrollbar{overflow-x:auto;overflow-y:hidden;height:12px;width:100%;padding:0 4px;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f1f5f9;box-sizing:border-box}.legacy-page-scope .stock-sticky-scrollbar::-webkit-scrollbar{height:8px}.legacy-page-scope .stock-sticky-scrollbar::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.legacy-page-scope .stock-sticky-scrollbar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.legacy-page-scope .stock-sticky-scrollbar::-webkit-scrollbar-thumb:hover{background:#94a3b8}.legacy-page-scope .stock-sticky-footer .stock-pagination{border-top:none!important}.legacy-page-scope .stock-col-checkbox{position:sticky!important;left:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center!important;box-sizing:border-box}.legacy-page-scope .stock-col-name{position:sticky!important;left:44px!important;min-width:240px!important;max-width:340px!important;box-sizing:border-box;box-shadow:4px 0 10px -3px #14142814;border-right:1px solid #ededf2!important}.legacy-page-scope .stock-detail-table thead th.stock-col-sticky{background:#f8f8fb!important;z-index:6!important}.legacy-page-scope .stock-detail-table tbody td.stock-col-sticky{background:#fff!important;z-index:4!important}.legacy-page-scope .stock-detail-table tbody tr:hover td.stock-col-sticky{background:#fbfbfd!important}.legacy-page-scope .stock-product-cell{display:flex;flex-direction:column;gap:2px;min-width:0}.legacy-page-scope .stock-product-name{font-weight:600;color:var(--text-primary);white-space:normal;line-height:1.35;font-size:12px}.legacy-page-scope .stock-product-code{font-size:10px;font-weight:700;color:#6558d3}.cc-contact-list{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.cc-contact-row{padding:12px;border:1px solid #e9ebf3;border-radius:10px;background:#fbfbfe}.cc-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.cc-contact-notes{grid-column:1 / -1}.cc-contact-foot{display:flex;align-items:center;gap:16px;margin-top:10px;flex-wrap:wrap}.cc-contact-check{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;color:#6b6e7d;cursor:pointer}.cc-contact-remove{margin-left:auto;display:inline-flex;align-items:center;gap:5px;background:transparent;border:1px solid #f2d4d4;border-radius:8px;color:#c0392b;font-size:11.5px;font-weight:700;padding:5px 10px;cursor:pointer}.cc-contact-remove:hover{background:#fdf2f2}.cc-contact-add{align-self:flex-start}.legacy-page-scope .receipt-lines-table{overflow:visible}.legacy-page-scope .receipt-sku-search{position:relative;min-width:330px}.legacy-page-scope .receipt-info-grid .receipt-sku-search{min-width:0}.legacy-page-scope .receipt-info-grid .receipt-sku-search-results{width:max(100%,min(560px,calc(100vw - 96px)))}.legacy-page-scope .receipt-info-grid .receipt-sku-search--align-right .receipt-sku-search-results{left:auto;right:0}.legacy-page-scope .receipt-sku-search-input:has(input:disabled){opacity:.55;cursor:not-allowed}.legacy-page-scope .receipt-sku-search-input{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 12px;border:1px solid #dedee8;border-radius:9px;background:#fff;color:#9a9dac;transition:border-color .15s ease,box-shadow .15s ease}.legacy-page-scope .receipt-sku-search-input:focus-within{border-color:#6558d3;box-shadow:0 0 0 3px #6558d31f}.legacy-page-scope .receipt-sku-search-input input{width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:#303247;font:inherit;font-size:13px;line-height:1.35}.legacy-page-scope .receipt-sku-search-input input::placeholder{color:#a4a7b5}.legacy-page-scope .receipt-sku-search-input button{display:grid;place-items:center;flex:0 0 auto;padding:4px;border:0;border-radius:5px;background:transparent;color:#8b8e9d;cursor:pointer}.legacy-page-scope .receipt-sku-search-input button:hover{background:#f1effb;color:#6558d3}.legacy-page-scope .receipt-sku-search-results{position:absolute;z-index:100;top:calc(100% + 7px);left:0;width:min(620px,calc(100vw - 96px));max-height:350px;overflow-y:auto;padding:7px;border:1px solid #e1e0ea;border-radius:11px;background:#fff;box-shadow:0 18px 48px #2521372e,0 3px 10px #25213714}.legacy-page-scope .receipt-sku-search-count{position:sticky;top:-7px;z-index:2;padding:9px 11px;border-bottom:1px solid #eeeef4;background:#fffffff7;color:#8b8e9d;font-size:11px;font-weight:700}.legacy-page-scope .receipt-sku-search-results>button{display:grid;grid-template-columns:minmax(135px,.65fr) minmax(240px,1.35fr);width:100%;gap:3px 14px;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#303247;text-align:left;cursor:pointer}.legacy-page-scope .receipt-sku-search-results>button+button{margin-top:2px}.legacy-page-scope .receipt-sku-search-results>button:hover{background:#f7f6fc}.legacy-page-scope .receipt-sku-search-results>button.is-selected{background:#efedfb;box-shadow:inset 3px 0 #6558d3}.legacy-page-scope .receipt-sku-search-results strong{align-self:center;color:#5649bf;font-size:12px;font-weight:800;line-height:1.35}.legacy-page-scope .receipt-sku-search-results span{overflow:hidden;color:#3f4255;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.legacy-page-scope .receipt-sku-search-results small{grid-column:2;overflow:hidden;color:#9295a4;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.legacy-page-scope .receipt-sku-search-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 12px;color:#8b8e9d;font-size:12px;text-align:center}.icon-button.menu-button,.icon-button.sidebar-close{display:none}@media(max-width:760px){.icon-button.menu-button{display:inline-flex;flex:0 0 auto}.icon-button.sidebar-close{display:inline-flex;position:absolute;right:14px;top:16px}}@media(max-width:760px){.app-shell--collapsed .main-area{margin-left:0;width:100%}.sidebar--collapsed .sidebar-nav-container{margin:0 calc(-1 * var(--sidebar-pad));padding:0 var(--sidebar-pad)}.sidebar--collapsed .primary-nav{margin:0 calc(-1 * var(--sidebar-pad));gap:2px}.sidebar--collapsed .primary-nav a,.sidebar--collapsed .nav-group-trigger{width:100%;height:auto;padding:7px var(--sidebar-pad);justify-content:flex-start}.sidebar--collapsed .nav-group-trigger{justify-content:space-between}.sidebar--collapsed .nav-group-trigger .trigger-content{gap:10px}.sidebar--collapsed .sub-nav{display:flex}.sidebar--collapsed .sub-nav a{padding:6px 10px}}.sdl-scroll{max-height:calc(100vh - 120px);overflow:auto}.sdl-scroll thead th{position:sticky;top:0;z-index:2;background:#f9f9fc}.deposit-table-scroll,.receivable-due-table-scroll,.sdl-scroll{scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.deposit-table-scroll::-webkit-scrollbar,.receivable-due-table-scroll::-webkit-scrollbar,.sdl-scroll::-webkit-scrollbar{width:8px;height:8px}.deposit-table-scroll::-webkit-scrollbar-track,.receivable-due-table-scroll::-webkit-scrollbar-track,.sdl-scroll::-webkit-scrollbar-track{background:#f8fafc;border-radius:4px}.deposit-table-scroll::-webkit-scrollbar-thumb,.receivable-due-table-scroll::-webkit-scrollbar-thumb,.sdl-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.deposit-table-scroll::-webkit-scrollbar-thumb:hover,.receivable-due-table-scroll::-webkit-scrollbar-thumb:hover,.sdl-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}.order-detail-payment>label{font-size:9px;color:var(--text-muted);text-transform:uppercase;font-weight:700}.order-detail-payment__input{display:flex;align-items:center;gap:8px}.order-detail-payment__input .form-input{width:100%;min-width:0;max-width:140px}.order-detail-payment .form-hint{margin:0;font-size:11px;line-height:1.5}.order-detail-payment input[aria-invalid=true]{border-color:var(--color-danger)}.form-modal{display:flex;flex-direction:column;width:96vw;max-width:760px;max-height:90vh;padding:0;overflow:hidden;background:#fff;border:1px solid #e8e9f0;border-radius:18px;box-shadow:0 30px 70px -18px #1e1b4b4d}.form-modal--narrow{max-width:560px}.form-modal--wide{max-width:940px}.form-modal .modal-head{flex:0 0 auto;align-items:center;gap:14px;margin:0;padding:18px 26px;background:linear-gradient(180deg,#fbfbfe,#f7f7fc);border-bottom:1px solid #ececf3}.form-modal .modal-head .eyebrow{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8b8e9d}.form-modal .modal-head h3{margin:4px 0 0;font-size:19px;font-weight:700;color:#1e1b4b}.form-modal .modal-head>button{flex:0 0 auto;transition:background .15s ease,color .15s ease}.form-modal .modal-head>button:hover{background:#ebebf3;color:#1e1b4b}.form-modal__head-icon{display:grid;flex:0 0 auto;place-items:center;width:42px;height:42px;color:#6558d3;background:#eeecfb;border-radius:12px}.form-modal__body{flex:1 1 auto;padding:20px 26px 4px;overflow-y:auto;overscroll-behavior:contain}.form-modal__section{margin-bottom:22px}.form-modal__section:last-child{margin-bottom:4px}.form-modal__section-title{display:flex;align-items:center;gap:7px;margin:0 0 14px;padding-bottom:9px;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#7c7f93;border-bottom:1px solid #f0f1f6}.form-modal__section-title svg{width:14px;height:14px;color:#a5a8bb}.form-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.form-modal__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-modal__wide{grid-column:1 / -1}.form-modal .form-group{display:flex;flex-direction:column;margin-bottom:0;min-width:0}.form-modal .form-label{display:block;margin-bottom:7px;font-size:11.5px;font-weight:600;color:#686b7e}.form-modal .form-label .req{margin-left:3px;color:#e11d48;font-weight:700}.form-modal .form-input,.form-modal select.form-input{width:100%;min-height:44px;padding:10px 13px;box-sizing:border-box;font-size:13px;color:#1e202f;background:#fcfcfe;border:1px solid #dfe1ea;border-radius:10px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.form-modal .form-input::placeholder{color:#b0b3c2}.form-modal .form-input:hover:not(:disabled){border-color:#c9cad7}.form-modal .form-input:focus{background:#fff;border-color:#7567df;outline:none;box-shadow:0 0 0 3px #6558d31f}.form-modal .form-input:disabled{background:#f4f4f8;color:#9497a8;cursor:not-allowed}.form-modal textarea.form-input{min-height:84px;line-height:1.55;resize:vertical}.form-modal .searchable-select-trigger{height:44px;min-height:44px;padding:0 13px;background:#fcfcfe;border-color:#dfe1ea;border-radius:10px}.form-modal .searchable-select-trigger:hover{border-color:#c9cad7}.form-modal .searchable-select-container:focus-within .searchable-select-trigger{background:#fff;border-color:#7567df;box-shadow:0 0 0 3px #6558d31f}.form-modal .form-hint{display:block;margin-top:7px;font-size:11px;line-height:1.55;color:#8b8e9d}.form-modal__toggle{display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 14px;font-size:12.5px;font-weight:600;color:#1e293b;background:#fafafe;border:1px solid #e5e5ee;border-radius:10px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s ease,border-color .15s ease}.form-modal__toggle:hover{background:#f4f4fb;border-color:#d6d7e4}.form-modal__toggle input[type=checkbox]{width:17px;height:17px;accent-color:#6558d3;cursor:pointer}.form-modal__toggle small{display:block;margin-top:2px;font-size:11px;font-weight:500;color:#8b8e9d}.form-modal .inline-error{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px;padding:11px 13px;font-size:12.5px;line-height:1.5;color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:10px}.form-modal .inline-error svg{flex:0 0 auto;margin-top:1px}.form-modal__footer{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:10px;margin:0;padding:14px 26px;background:#fafafd;border-top:1px solid #ececf3}.form-modal__footer>.form-modal__footer-note{margin-right:auto;font-size:11.5px;color:#8b8e9d}.form-modal__footer .btn{min-height:40px;padding:9px 18px;border-radius:9px}@media(max-width:760px){.form-modal{width:100%;max-height:94vh;border-radius:14px}.form-modal .modal-head{padding:15px 17px}.form-modal__head-icon{display:none}.form-modal__body{padding:17px 17px 4px}.form-modal__grid,.form-modal__grid--3{grid-template-columns:1fr;gap:14px}.form-modal__footer{padding:13px 17px}.form-modal__footer .btn{flex:1;justify-content:center}}.bank-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #eef0f5}.bank-toolbar__search{position:relative;flex:1 1 260px;min-width:0;display:flex;align-items:center}.bank-toolbar__search svg{position:absolute;left:12px;color:#a5a8bb;pointer-events:none}.bank-toolbar__search .form-input{width:100%;min-height:40px;padding:9px 13px 9px 35px;box-sizing:border-box;font-size:13px;background:#fcfcfe;border:1px solid #dfe1ea;border-radius:10px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.bank-toolbar__search .form-input:focus{background:#fff;border-color:#7567df;outline:none;box-shadow:0 0 0 3px #6558d31f}.bank-toolbar__toggle{display:flex;align-items:center;gap:9px;min-height:40px;padding:9px 14px;font-size:12.5px;font-weight:600;color:#1e293b;background:#fafafe;border:1px solid #e5e5ee;border-radius:10px;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.bank-toolbar__toggle:hover{background:#f4f4fb;border-color:#d6d7e4}.bank-toolbar__toggle input[type=checkbox]{width:16px;height:16px;accent-color:#6558d3;cursor:pointer}.bank-toolbar__count{font-size:12px;font-weight:600;color:#8b8e9d;white-space:nowrap}.bank-cell{display:inline-flex;align-items:flex-start;gap:7px}.bank-cell svg{flex:0 0 auto;margin-top:2px;color:#a5a8bb}.bank-cell small{display:block;margin-top:2px;font-size:11px;color:#8b8e9d}.bank-cell-mono{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,monospace;font-size:12.5px;letter-spacing:.01em}.admin-page-title{gap:20px}.admin-page-title>div:first-child{min-width:0;flex:1 1 auto}.admin-page-title p{line-height:1.6;max-width:72ch}.admin-title-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.admin-title-actions .btn,.admin-title-actions .soft-button{white-space:nowrap}@media(max-width:600px){.admin-page-title{flex-direction:column;gap:14px}.admin-title-actions{width:100%;justify-content:flex-start}}.bank-cell-title{display:flex;flex-direction:column;gap:2px}.bank-cell-title strong{font-size:12.5px;white-space:nowrap}.bank-cell-title small{font-size:11px;color:#8b8e9d}.bank-col-actions{width:1%;white-space:nowrap;text-align:right}.bank-col-actions .user-row-actions{flex-wrap:nowrap;justify-content:flex-end}.modal-content.form-modal{max-width:760px}.modal-content.form-modal--narrow{max-width:560px}.modal-content.form-modal--wide{max-width:940px}.form-modal .modal-head>div{flex:1 1 auto;min-width:0}.form-modal__toggle{grid-column:1 / -1}.form-modal select.form-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:36px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b8e9d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}@media(max-width:760px){.modal-content.form-modal,.modal-content.form-modal--narrow,.modal-content.form-modal--wide{max-width:100%}}.bank-table th,.bank-table td .badge{white-space:nowrap}.legacy-page-scope .business-trip-form{width:min(100%,980px)}.legacy-page-scope .business-trip-form h3{margin:0;font-size:17px;font-weight:800;color:#1e202f}.legacy-page-scope .business-trip-form h3 svg{color:var(--primary)}.legacy-page-scope .business-trip-form h4{margin:0 0 3px;font-size:13.5px;font-weight:800;color:#1e202f}.legacy-page-scope .business-trip-form>div:first-child{padding-bottom:16px;border-bottom:1px solid var(--line)}.legacy-page-scope .business-trip-form small{font-size:11.5px;line-height:1.45}.business-trip-form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px 16px;padding:16px;background:#fafafd;border:1px solid var(--line);border-radius:12px}.business-trip-form-grid label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:700;color:#4b4e63}.business-trip-form-grid label small{font-weight:500;color:var(--muted)}.business-trip-form input,.business-trip-form select,.business-trip-form textarea{width:100%;min-width:0;height:40px;padding:0 12px;box-sizing:border-box;border:1px solid #dfe1ec;border-radius:10px;background:#fff;color:#1e202f;font:inherit;font-size:13px;font-weight:500;transition:border-color .16s ease,box-shadow .16s ease}.business-trip-form textarea{height:auto;min-height:64px;padding:10px 12px;line-height:1.5;resize:vertical}.business-trip-form select{cursor:pointer;text-overflow:ellipsis}.business-trip-form input::placeholder,.business-trip-form textarea::placeholder{color:#b3b5c2}.business-trip-form input:hover:not(:disabled),.business-trip-form select:hover:not(:disabled),.business-trip-form textarea:hover:not(:disabled){border-color:#c9cbdc}.business-trip-form input:focus,.business-trip-form select:focus,.business-trip-form textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px #6558d321}.business-trip-form input[type=number]{text-align:right;font-variant-numeric:tabular-nums}.legacy-page-scope .business-trip-form .data-table-container{border:1px solid var(--line);border-radius:12px;overflow:auto}.legacy-page-scope .business-trip-form .data-table td{padding:8px 12px;vertical-align:middle}.legacy-page-scope .business-trip-form .data-table tbody tr:last-child td{border-bottom:0}.business-trip-form .data-table input,.business-trip-form .data-table select{height:36px}.legacy-page-scope .business-trip-form .data-table .btn{padding:8px 10px}.legacy-page-scope .business-trip-form .btn{white-space:nowrap;flex-shrink:0}.legacy-page-scope .business-trip-form .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.legacy-page-scope .business-trip-form .glass-panel{background:#f7f6fd;border-color:#e3e0f5}@media(max-width:640px){.business-trip-form-grid{grid-template-columns:1fr;padding:12px}.legacy-page-scope .business-trip-form{padding:16px!important}}.sales-order-sections{display:flex;flex-wrap:wrap;gap:8px;padding:8px;margin-bottom:20px;background:var(--surface, #fff);border:1px solid var(--border, #e5e7eb);border-radius:12px}.sales-trip-orders .order-page-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.sales-trip-orders .order-filter-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px;margin-bottom:16px}.sales-trip-orders>div>.glass-panel{border-radius:12px;border:1px solid var(--border, #e5e7eb);background:var(--surface, #fff)}.sales-trip-orders .data-table th{white-space:nowrap}.sales-trip-orders .data-table td{vertical-align:middle}
