:root{--nav-bg: #14253d;--nav-muted: #a5b7cb;--nav-active: #273e5c;--primary-soft: #eff6ff;--radius: 12px;--shadow-card: 0 1px 3px rgb(15 23 42 / 4%);--primary: #2563eb;--primary-dark: #1d4ed8;--accent: #f59e0b;--success: #047857;--danger: #dc2626;--warning: #b45309;--bg: #f8fafc;--bg-card: #ffffff;--card: #ffffff;--text: #0f172a;--text-primary: #0f172a;--text-secondary: #475569;--muted: #64748b;--border: #e2e8f0;--row-alt: #f8fafc}@keyframes kho-spin{to{transform:rotate(360deg)}}@keyframes kho-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes kho-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}@keyframes kho-fade-in-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes kho-ripple{to{transform:scale(4);opacity:0}}.btn-lift{transition:transform .2s ease,box-shadow .2s ease}.btn-lift:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #6366f147}.btn-lift:active:not(:disabled){transform:translateY(0)}.card-scale{transition:transform .2s ease,box-shadow .2s ease}.card-scale:hover{transform:scale(1.02);box-shadow:0 12px 28px #0f172a1f}.icon-spin-hover{transition:transform .2s ease}.icon-spin-hover:hover{transform:rotate(15deg)}.app-reveal{opacity:0;transform:translateY(20px);transition:opacity .45s ease,transform .45s cubic-bezier(.22,1,.36,1)}.app-reveal.is-revealed{opacity:1;transform:translateY(0)}.app-ripple-host{position:relative;overflow:hidden}.app-ripple{position:absolute;border-radius:50%;background:#ffffff80;transform:scale(0);opacity:.4;pointer-events:none;animation:kho-ripple .6s ease-out forwards}.kho-spinner{display:inline-block;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:kho-spin 1s linear infinite;vertical-align:-.15em}.kho-fade-in-up{animation:kho-fade-in-up .3s ease both}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:is(button,a,label,input)[class*=btn-]{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:40px;border-radius:6px!important;font-family:Inter,Segoe UI,Roboto,sans-serif;font-weight:600!important;font-size:14px!important;line-height:1.2!important;padding:0 12px!important;border:1px solid transparent!important;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}:is(button,a,label,input)[class*=btn-]:hover{transform:none}:is(button,a,label,input)[class*=btn-]:active{transform:translateY(0)}:is(button,a,label,input)[class*=btn-]:disabled,:is(button,a,label,input)[class*=btn-][disabled]{opacity:.55;cursor:not-allowed;transform:none!important}.btn-lg{height:44px;padding:0 16px!important;font-size:14px!important}.btn-sm,.btn-edit,.btn-delete,.btn-share,.btn-pay,.btn-print,.btn-copy,.btn-clear-filter,.btn-remove-item,.btn-danger-sm,.btn-add-item,.btn-stock-export,.btn-print-export,.btn-badge{height:30px;padding:0 8px!important;font-size:12px!important}.btn-icon{height:30px;width:30px;padding:0!important;min-width:30px;font-size:14px!important}.btn-close,.btn-close-modal{background:transparent!important;color:#64748b!important;border:none!important;height:auto;padding:4px!important;font-size:18px!important}.btn-close:hover,.btn-close-modal:hover{color:#0f172a!important;background:#eff6ff!important;transform:none}.btn-primary,.btn-create,.btn-save,.btn-add,.btn-add-item,.btn-complete,.btn-stock-export,.btn-print-export,.btn-login{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}.btn-primary:hover,.btn-create:hover,.btn-save:hover,.btn-add:hover,.btn-add-item:hover,.btn-complete:hover,.btn-stock-export:hover,.btn-print-export:hover,.btn-login:hover{background:#1d4ed8!important;border-color:#1d4ed8!important;box-shadow:0 4px 12px #0f172a14}.btn-pay,.btn-success{background:#047857!important;color:#fff!important;border-color:#047857!important}.btn-pay:hover,.btn-success:hover{background:#03513a!important}.btn-edit,.btn-info{background:#0369a1!important;color:#fff!important;border-color:#0369a1!important}.btn-edit:hover,.btn-info:hover{background:#024f79!important}.btn-share{background:#8b5cf6!important;color:#fff!important;border-color:#8b5cf6!important}.btn-share:hover{background:#7c3aed!important}.btn-print{background:#0369a1!important;color:#fff!important;border-color:#0369a1!important}.btn-print:hover{background:#024f79!important}.btn-copy,.btn-warning{background:#b45309!important;color:#fff!important;border-color:#b45309!important}.btn-copy:hover,.btn-warning:hover{background:#8d4107!important}.btn-badge{background:#dbeafe!important;color:#1d4ed8!important;border-color:#2563eb!important}.btn-badge:hover{background:#2563eb!important;color:#fff!important}.btn-delete,.btn-danger,.btn-danger-sm{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}.btn-delete:hover,.btn-danger:hover,.btn-danger-sm:hover{background:#bb1e1e!important;box-shadow:0 4px 12px #dc262640}.btn-remove-item,.btn-clear-filter{background:transparent!important;color:#dc2626!important;border-color:transparent!important;height:auto;padding:2px 4px!important}.btn-remove-item:hover,.btn-clear-filter:hover{background:#dc262614!important;color:#bb1e1e!important;transform:none}.btn-cancel,.btn-ghost,.btn-back,.btn-secondary{background:#fff!important;color:#2563eb!important;border-color:#2563eb!important}.btn-cancel:hover,.btn-ghost:hover,.btn-back:hover,.btn-secondary:hover{background:#eff6ff!important;color:#1d4ed8!important}.btn-login{height:44px;padding:0 16px!important;font-size:14px!important;width:100%}.btn-login-text{background:transparent!important;border:none!important;color:#2563eb!important;padding:0!important;height:auto;font-weight:600!important;text-decoration:underline}.btn-login-text:hover{color:#1d4ed8!important;transform:none}.btn-login .btn-login-text{color:inherit!important;text-decoration:none;height:auto;padding:0!important}table{border-collapse:collapse;font-size:14px!important;font-variant-numeric:tabular-nums;color:#0f172a}table th{background:#f8fafc!important;color:#475569!important;font-size:12px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.03em!important;line-height:1.3!important;padding:10px 12px!important;border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #e2e8f0!important;white-space:nowrap;vertical-align:middle;text-align:left}table td{padding:10px 12px!important;border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #e2e8f0!important;line-height:1.45!important;vertical-align:middle}table tbody tr{transition:background-color .15s ease}table tbody tr:hover>td{background-color:#eff6ff}table tbody tr:last-child>td{border-bottom:none!important}table tfoot td,table tfoot th{background:#f8fafc!important;color:#0f172a!important;font-weight:600!important;border-top:1px solid #e2e8f0!important;border-bottom:none!important}table td:has(>input,>select,>textarea){padding:6px 8px!important}table th:has(>input[type=checkbox]),table td:has(>input[type=checkbox]){width:40px;text-align:center}table input[type=checkbox]{height:auto}.content:not(.content-public)>router-outlet+*{padding:0!important}.content:not(.content-public) .screen-container{padding:0}.content .screen-header{gap:16px;flex-wrap:wrap}.content .screen-header :is(h1,h2){letter-spacing:-.5px}.content .header-actions{flex-wrap:wrap}.content :is(.card,.stat-card,.summary-card){border-color:var(--border);box-shadow:var(--shadow-card)}.content :is(.toolbar,.filter-row){gap:8px}.content :is(.stat-card,.summary-card){border-radius:10px}.content :is(.stat-value,.card-value){font-variant-numeric:tabular-nums}.content :is(.table-wrap,.table-wrapper,.table-scroll){overscroll-behavior-x:contain}input[type=checkbox],input[type=radio]{accent-color:var(--primary)}@media (max-width: 767px){.content:not(.content-public)>router-outlet+*{height:auto!important;min-height:100%;overflow:visible!important}.content .screen-container{overflow:visible}.content .screen-header{align-items:flex-start;margin-bottom:20px}.content :is(.header-actions,.toolbar,.filter-row){width:100%;flex-wrap:wrap}.content :is(.header-actions,.toolbar,.filter-row) :is(input:not([type=checkbox]),select){min-width:0;max-width:100%;font-size:16px}.content .summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.content .card-value{white-space:normal;overflow-wrap:anywhere}.content :is(.card,.table-container){flex:none}.content :is(.table-wrap,.table-wrapper,.table-scroll){overflow:auto;max-height:65dvh}.content .stats-row{gap:8px}.content .stat-card{flex:1 1 140px;min-width:0;padding:14px}.content :is(button,a)[class*=btn-]{min-height:40px}.content :is(.modal-content,.modal){max-width:calc(100vw - 24px)}}.content .screen-header :is(h1,h2)>.material-icons{color:var(--primary-dark);font-size:22px;vertical-align:-3px}@media (max-width: 767px){.content td:is(.empty-row,.empty-state){text-align:left!important;color:var(--muted)}}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;overflow:hidden;font-family:Inter,Segoe UI,Roboto,sans-serif}body{color:#0f172a;background-color:#f8fafc;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}:where(a,button,[role=button],[tabindex]):focus-visible{outline:2px solid #2563eb;outline-offset:2px}h1,.page-title{font-size:24px;font-weight:700;color:#0f172a;margin:0 0 12px}h2,.section-title{font-size:15px;font-weight:600;color:#0f172a;margin:0 0 8px}h3,.card-title{font-size:14px;font-weight:600;color:#0f172a;margin:0 0 4px}label,.form-label{font-size:12px;font-weight:500;color:#475569}.caption,.text-caption{font-size:12px;color:#64748b}.important-value{font-size:14px;font-weight:600}input,select,textarea{font:inherit;font-size:14px;height:40px;padding:0 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#0f172a;outline:none;transition:border-color .2s ease,box-shadow .2s ease}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb40}input::placeholder,select::placeholder,textarea::placeholder{color:#64748b}input:disabled,select:disabled,textarea:disabled{background:#f8fafc;cursor:not-allowed}textarea{height:auto;min-height:80px;padding:8px;resize:vertical}select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238C8C8C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:16px}.card{background:#fff;border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0f172a0d;padding:12px}.data-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding:8px 12px;border-bottom:1px solid #e2e8f0;text-align:left;height:40px;vertical-align:middle}.data-table th{background:#eff6ff;font-weight:600;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.02em}.data-table tbody tr{transition:background .15s ease}.data-table tbody tr:hover{background:#eff6ff}.data-table tbody tr.selected{background:#dbeafe}.data-table .col-code,.data-table .col-name{text-align:left}.data-table .col-quantity,.data-table .col-weight,.data-table .col-price{text-align:right}.data-table .col-status,.data-table .col-actions{text-align:center}.c-act,.col-actions,td.actions,th.actions{min-width:80px;text-align:center!important;white-space:nowrap}.action-buttons,td.c-act,td.col-actions,td.actions{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:nowrap}.btn-edit{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:24px;padding:0 8px;font-size:10px;font-weight:500;color:#fff;background:#2563eb;border:none;border-radius:4px;cursor:pointer;transition:background .15s ease,transform .1s ease;white-space:nowrap;flex-shrink:0}.btn-edit:hover{background:#1d4ed8;transform:translateY(-1px)}.btn-edit:active{transform:translateY(0)}.btn-delete{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:#fff;background:#dc2626;border:none;border-radius:4px;cursor:pointer;transition:background .15s ease,transform .1s ease;flex-shrink:0}.btn-delete .material-icons{font-size:14px}.btn-delete:hover{background:#bb1e1e;transform:translateY(-1px)}.btn-delete:active{transform:translateY(0)}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border-radius:4px;border:none;cursor:pointer;transition:all .15s ease;flex-shrink:0}.btn-icon .material-icons{font-size:14px}.btn-pay{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 8px;font-size:10px;font-weight:500;color:#fff;background:#b45309;border:none;border-radius:4px;cursor:pointer;transition:background .15s ease;white-space:nowrap;flex-shrink:0}.btn-pay:hover{background:#8d4107}.btn-share{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 6px;font-size:10px;font-weight:500;color:#fff;background:#0369a1;border:none;border-radius:4px;cursor:pointer;transition:background .15s ease;white-space:nowrap;flex-shrink:0}.btn-share:hover{background:#024f79}.btn-print{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;color:#fff;background:#0369a1;border:none;border-radius:4px;cursor:pointer;transition:background .15s ease;flex-shrink:0}.btn-print .material-icons{font-size:14px}.btn-print:hover{background:#024f79}.status-select{height:24px!important;min-width:70px;max-width:85px;padding:0 4px!important;font-size:12px!important;border-radius:4px;flex-shrink:0}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:500}.badge.badge-success{background:#0478571a;color:#047857}.badge.badge-warning{background:#b453091a;color:#833d07}.badge.badge-danger{background:#dc26261a;color:#dc2626}.badge.badge-info{background:#0369a11a;color:#0369a1}.badge.badge-primary{background:#dbeafe;color:#1d4ed8}.form-group{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.form-group label{font-size:12px;font-weight:500;color:#475569}.form-group .required{color:#dc2626}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.form-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}.form-actions button,.form-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 14px;font-size:11px;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.form-actions button .material-icons,.form-actions .btn .material-icons{font-size:14px}.form-actions button .btn-badge,.form-actions .btn .btn-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;font-size:9px;font-weight:700;border-radius:8px;margin-left:4px}.form-actions button:disabled,.form-actions .btn:disabled{opacity:.5;cursor:not-allowed}.form-actions .btn-cancel{background:#64748b;color:#fff}.form-actions .btn-cancel:hover:not(:disabled){background:#475569}.form-actions .btn-save,.form-actions .btn-primary{background:#10b981;color:#fff}.form-actions .btn-save:hover:not(:disabled),.form-actions .btn-primary:hover:not(:disabled){background:#059669}.form-actions .btn-stock-export{background:#7c3aed;color:#fff}.form-actions .btn-stock-export .btn-badge{background:#fff;color:#7c3aed}.form-actions .btn-stock-export:hover:not(:disabled){background:#6d28d9}.form-actions .btn-stock-export--empty,.form-actions .btn-stock-export:disabled{background:#a78bfa}.form-actions .btn-print-export{background:#f59e0b;color:#fff}.form-actions .btn-print-export .btn-badge{background:#fff;color:#f59e0b}.form-actions .btn-print-export:hover:not(:disabled){background:#d97706}.form-actions .btn-print-export--empty{background:#fcd34d;cursor:not-allowed}.modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:900;padding:12px;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:10px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0003;animation:scaleIn .2s ease}.modal-content.modal-sm{max-width:440px}.modal-content.modal-md{max-width:640px}.modal-content.modal-lg{max-width:900px}.modal-content.modal-xl{max-width:1200px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e2e8f0}.modal-header h2,.modal-header h3{margin:0;font-size:15px;font-weight:600}.modal-body{padding:16px;overflow-y:auto;flex:1}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e2e8f0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes fadeSlideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f8fafc}::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#64748b}.text-success{color:#047857!important}.text-warning{color:#b45309!important}.text-danger{color:#dc2626!important}.text-info{color:#0369a1!important}.text-primary{color:#2563eb!important}.text-muted{color:#64748b!important}.bg-success{background-color:#047857!important}.bg-warning{background-color:#b45309!important}.bg-danger{background-color:#dc2626!important}.bg-info{background-color:#0369a1!important}.bg-primary{background-color:#2563eb!important}button .material-icons,.btn .material-icons{font-size:18px;vertical-align:middle;margin-right:2px}.btn-icon .material-icons,.btn-close .material-icons,.btn-close-modal .material-icons{font-size:20px;margin-right:0}@media (max-width: 768px){.form-row{grid-template-columns:1fr}}
