@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.float-left{float:left}.container{width:100%}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.w-full{width:100%}.border-collapse{border-collapse:collapse}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.border{border-style:var(--tw-border-style);border-width:1px}.text-right{text-align:right}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.\[k\:number\]{k:number}:root{--primary-color:#714b67;--primary-light:#8f5c7e;--primary-dark:#5a3c52}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}#root{min-height:100vh}.ant-menu-light,.ant-menu-dark{border-right:none!important}.dark .ant-layout-sider{scrollbar-color:#424242 #141414}.dark .ant-layout-sider::-webkit-scrollbar{width:6px}.dark .ant-layout-sider::-webkit-scrollbar-track{background:#141414}.dark .ant-layout-sider::-webkit-scrollbar-thumb{background:#424242;border-radius:3px}.dark .ant-layout-sider::-webkit-scrollbar-thumb:hover{background:#555}.editor-footer-toolbar{background:#fff;border-top:1px solid #f0f0f0}.dark .editor-footer-toolbar{background:#1f1f1f;border-top:1px solid #303030}.soft-panel,.ant-card.soft-panel{background:#faf7f9}.dark .soft-panel,.dark .ant-card.soft-panel{background:#1f1f1f}.ant-input-number input.ant-input-number-input{text-align:right}.ant-input-number .ant-input-number-actions{display:none}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.app-content{min-width:0}.page-toolbar{max-width:100%;justify-content:flex-end}.page-toolbar>.ant-space-item{min-width:0;max-width:100%}.page-toolbar .ant-select,.page-toolbar .ant-input-affix-wrapper,.page-toolbar .ant-input-number,.page-toolbar .ant-picker{max-width:100%}.app-content .ant-card-head-wrapper{flex-wrap:wrap;gap:12px}.app-content .ant-card-head-title{min-width:0;white-space:normal}.app-content .ant-card-extra{max-width:100%}.ant-table-row:focus-visible{outline:2px solid var(--ant-color-primary);outline-offset:-2px}@media(max-width:1199px){.app-content .ant-card-head-wrapper{align-items:flex-start}.app-content .ant-card-extra{margin-inline-start:0;width:100%}.app-content .ant-card-extra>.ant-space{display:flex;flex-wrap:wrap;justify-content:flex-start}.app-content .ant-card-extra .ant-space-item{max-width:100%;min-width:0}.app-content .ant-card-extra .ant-input-affix-wrapper,.app-content .ant-card-extra .ant-select,.app-content .ant-card-extra .ant-input-number{max-width:100%}}.mobile-menu-tools{display:flex;flex-wrap:wrap;gap:16px;padding:20px;border-top:1px solid var(--ant-color-border-secondary)}.mobile-page-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-weight:600}.movement-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.movement-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.movement-fields .ant-select,.movement-fields .ant-input-number,.movement-fields .ant-picker{width:100%}.movement-item-code{display:block;font-size:12px;font-weight:400;color:var(--ant-color-text-secondary)}.terminal-movement .terminal-page{display:flex;flex-direction:column;gap:16px;max-width:860px;margin:auto;padding-bottom:150px;width:100%;box-sizing:border-box}.terminal-movement .terminal-header .ant-btn{color:var(--terminal-text)}.terminal-movement .ant-card-head-title{white-space:normal}.movement-save{position:sticky;bottom:76px;z-index:5;padding:10px;background:var(--ant-color-bg-container, white);border-radius:10px;box-shadow:0 2px 12px #0001}.stock-editor .ant-card-head-title{min-width:0}@media(max-width:767px){.app-header{padding:0 12px!important;gap:8px}.app-header>.ant-space:first-child{min-width:0;flex:1;gap:8px!important}.app-header>.ant-space:first-child>.ant-space-item:last-child{min-width:0}.header-username{display:none}.app-content{margin:10px!important;padding:12px!important;border-radius:12px!important}.responsive-list>.ant-card-head,.stock-editor>.ant-card-head{padding:12px}.responsive-list>.ant-card-head>.ant-card-head-wrapper,.stock-editor>.ant-card-head>.ant-card-head-wrapper{flex-wrap:wrap;gap:12px}.responsive-list .ant-card-extra,.stock-editor .ant-card-extra{margin-inline-start:0;max-width:100%}.items-page>.ant-card-body{padding:12px}.items-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px!important}.items-toolbar>.ant-space-item:first-child{grid-column:1 / -1}.items-toolbar .ant-input-affix-wrapper{max-width:none!important}.items-toolbar .ant-btn{width:100%;font-size:12px;padding-inline:8px}.responsive-list .ant-card-extra{width:100%}.ant-table-wrapper{min-width:0;max-width:100%}.stock-editor .ant-card-body{padding:12px}.stock-editor .ant-form-item{margin-bottom:14px}.stock-editor .ant-card-head-title>.ant-space{flex-wrap:wrap}.stock-editor .ant-form .ant-input,.stock-editor .ant-form .ant-select-selector{min-height:36px}.pos-page{height:calc(100dvh - 100px)!important;min-height:560px}.pos-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;padding:12px!important;gap:10px!important}.pos-toolbar h4{grid-column:1 / -1;font-size:18px;white-space:nowrap}.pos-toolbar>.ant-select{width:100%!important}.pos-toolbar>div[style*="flex: 1"]{display:none}.pos-toolbar>.ant-btn{max-width:100%;overflow:hidden}.pos-toolbar>.ant-btn>.ant-typography{display:none}.pos-workspace{flex-direction:column;flex-wrap:nowrap}.pos-cart{flex:1;min-height:100px;height:auto!important}.pos-cart>.ant-card{min-height:100px}.pos-payment{flex:none;height:auto!important;position:sticky;bottom:0;background:var(--ant-color-bg-container, white);padding-top:8px;z-index:2}.pos-payment>.ant-card{margin-bottom:6px!important}.pos-payment .ant-card-body{padding:8px 12px}.pos-payment .ant-card-body>div>div{font-size:28px!important}.pos-payment .ant-card-body>div>.ant-typography:last-child{display:none}.terminal-movement .movement-fields{grid-template-columns:minmax(0,1fr)}}.terminal-layout{display:flex;flex-direction:column;height:100vh;height:100dvh;background-color:var(--terminal-bg);overflow:hidden}.terminal-layout .terminal-content{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.terminal-layout .terminal-nav{display:flex;justify-content:space-around;align-items:center;background:var(--terminal-surface);border-top:1px solid var(--terminal-border);padding:8px 0;padding-bottom:max(8px,env(safe-area-inset-bottom));box-shadow:0 -2px 8px #0000000f}.terminal-layout .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;background:none;border:none;padding:4px 12px;cursor:pointer;color:var(--terminal-muted);transition:all .2s ease;-webkit-tap-highlight-color:transparent;min-width:60px}.terminal-layout .nav-item:active{transform:scale(.95)}.terminal-layout .nav-item.active{color:var(--terminal-accent)}.terminal-layout .nav-icon{font-size:22px;margin-bottom:2px}.terminal-layout .nav-label{font-size:10px;font-weight:500}.terminal-layout .terminal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));background:var(--terminal-surface);color:var(--terminal-text)}.terminal-layout .terminal-header h1{margin:0;font-size:18px;font-weight:600}.terminal-layout .terminal-header-icon{font-size:20px}.terminal-layout .terminal-page{padding:16px;min-height:calc(100vh - 120px)}.terminal-layout .menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;padding:16px}.terminal-layout .menu-item{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--terminal-surface);border-radius:16px;padding:24px 16px;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .2s ease;border:none;-webkit-tap-highlight-color:transparent;min-height:120px}.terminal-layout .menu-item:active{transform:scale(.97);box-shadow:0 1px 4px #0000001a}.terminal-layout .menu-item-icon{font-size:36px;margin-bottom:12px}.terminal-layout .menu-item-label{font-size:14px;font-weight:600;color:var(--terminal-text);text-align:center}.terminal-layout .menu-item-description{font-size:11px;color:var(--terminal-muted);margin-top:4px;text-align:center}.terminal-layout .scanner-input-container{display:flex;gap:8px;margin-bottom:16px}.terminal-layout .scanner-input{flex:1;height:48px;font-size:16px;padding:0 16px;border:2px solid var(--terminal-border);border-radius:8px;outline:none;transition:border-color .2s}.terminal-layout .scanner-input:focus{border-color:var(--terminal-accent)}.terminal-layout .scanner-btn{width:48px;height:48px;border:none;border-radius:8px;background:var(--terminal-primary);color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer}.terminal-layout .scanner-btn:active{background:var(--terminal-primary)}.terminal-layout .product-card{background:var(--terminal-surface);border-radius:12px;padding:16px;margin-bottom:12px;box-shadow:0 2px 8px #0000000f}.terminal-layout .product-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.terminal-layout .product-code{font-size:12px;color:var(--terminal-muted)}.terminal-layout .product-name{font-size:16px;font-weight:600;color:var(--terminal-text);margin:4px 0}.terminal-layout .product-stock{font-size:24px;font-weight:700;color:var(--terminal-accent)}.terminal-layout .product-unit{font-size:12px;color:var(--terminal-muted);margin-left:4px}.terminal-layout .stock-locations{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--terminal-border)}.terminal-layout .stock-location{background:var(--terminal-fill);padding:6px 12px;border-radius:6px;font-size:12px}.terminal-layout .stock-location-name{color:var(--terminal-muted)}.terminal-layout .stock-location-qty{color:var(--terminal-text);font-weight:600;margin-left:4px}.terminal-layout .quantity-input-container{display:flex;align-items:center;gap:12px}.terminal-layout .quantity-btn{width:48px;height:48px;border:none;border-radius:12px;background:var(--terminal-fill);font-size:24px;font-weight:600;color:var(--terminal-text);display:flex;align-items:center;justify-content:center;cursor:pointer}.terminal-layout .quantity-btn:active{background:var(--terminal-border)}.terminal-layout .quantity-btn.primary{background:var(--terminal-primary);color:#fff}.terminal-layout .quantity-btn.primary:active{background:var(--terminal-primary)}.terminal-layout .quantity-input{flex:1;height:48px;font-size:24px;font-weight:600;text-align:center;border:2px solid var(--terminal-border);border-radius:12px;outline:none}.terminal-layout .quantity-input:focus{border-color:var(--terminal-accent)}.terminal-layout .action-btn{width:100%;height:56px;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px}.terminal-layout .action-btn.primary{background:var(--terminal-primary);color:#fff}.terminal-layout .action-btn.primary:active{background:var(--terminal-primary)}.terminal-layout .action-btn.success{background:var(--terminal-success);color:#fff}.terminal-layout .action-btn.success:active{background:var(--terminal-success)}.terminal-layout .action-btn.danger{background:var(--terminal-error);color:#fff}.terminal-layout .action-btn.danger:active{background:var(--terminal-error)}.terminal-layout .action-btn:disabled{background:var(--terminal-border);color:var(--terminal-muted);cursor:not-allowed}.terminal-layout .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.terminal-layout .empty-state-icon{font-size:64px;color:var(--terminal-border);margin-bottom:16px}.terminal-layout .empty-state-text{font-size:14px;color:var(--terminal-muted)}.terminal-layout .cart-list{margin-top:16px}.terminal-layout .cart-item{display:flex;align-items:center;justify-content:space-between;background:var(--terminal-surface);padding:12px 16px;border-radius:12px;margin-bottom:8px;box-shadow:0 1px 4px #0000000f}.terminal-layout .cart-item-info{flex:1}.terminal-layout .cart-item-name{font-size:14px;font-weight:600;color:var(--terminal-text)}.terminal-layout .cart-item-code{font-size:12px;color:var(--terminal-muted)}.terminal-layout .cart-item-qty{font-size:18px;font-weight:700;color:var(--terminal-accent);min-width:60px;text-align:right}.terminal-layout .cart-item-delete{width:32px;height:32px;border:none;background:var(--terminal-error-bg);color:var(--terminal-error);border-radius:8px;margin-left:12px;cursor:pointer;display:flex;align-items:center;justify-content:center}.terminal-layout .summary-bar{position:fixed;bottom:70px;left:0;right:0;background:var(--terminal-surface);padding:12px 16px;border-top:1px solid var(--terminal-border);display:flex;justify-content:space-between;align-items:center;box-shadow:0 -2px 8px #0000000f}.terminal-layout .summary-label{font-size:14px;color:var(--terminal-muted)}.terminal-layout .summary-value{font-size:24px;font-weight:700;color:var(--terminal-text)}.terminal-layout .warehouse-selector{background:var(--terminal-surface);padding:12px 16px;margin-bottom:16px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 8px #0000000f}.terminal-layout .warehouse-label{font-size:12px;color:var(--terminal-muted)}.terminal-layout .warehouse-value{font-size:14px;font-weight:600;color:var(--terminal-text);display:flex;align-items:center;gap:4px}.terminal-layout .status-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:16px;font-size:12px;font-weight:500}.terminal-layout .status-badge.success{background:var(--terminal-success-bg);color:var(--terminal-success)}.terminal-layout .status-badge.warning{background:var(--terminal-warning-bg);color:var(--terminal-warning)}.terminal-layout .status-badge.error{background:var(--terminal-error-bg);color:var(--terminal-error)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.terminal-layout .scanning{animation:pulse 1s ease-in-out infinite}.terminal-layout{color:var(--terminal-text);font:inherit}.terminal-layout button,.terminal-layout input{font-family:inherit}.terminal-layout .terminal-brandbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 20px;background:var(--terminal-surface);border-bottom:1px solid var(--terminal-border)}.terminal-layout .terminal-brand{color:var(--terminal-accent);font-size:18px;font-weight:700;padding:0;height:44px}.terminal-layout .terminal-tools{display:flex;align-items:center;gap:4px}.terminal-layout .terminal-tools .ant-btn{min-width:36px;min-height:40px}.terminal-layout .terminal-header{background:var(--terminal-surface);color:var(--terminal-text);border-bottom:1px solid var(--terminal-border);padding:14px 20px;min-height:65px;gap:12px}.terminal-layout .terminal-header h1{font-size:18px;flex:1}.terminal-layout .terminal-header .ant-btn{color:var(--terminal-text)}.terminal-layout .back-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--terminal-border);border-radius:var(--terminal-radius);background:var(--terminal-surface);color:var(--terminal-text);cursor:pointer}.terminal-layout .terminal-page{max-width:960px;width:100%;margin:auto;padding:24px;min-height:0}.terminal-layout .terminal-nav{flex-shrink:0;gap:4px;padding-inline:max(8px,calc((100% - 800px)/2));box-shadow:none}.terminal-layout .nav-item{flex:1;min-width:0;min-height:52px;border-radius:var(--terminal-radius);padding:6px}.terminal-layout .nav-item.active{background:var(--terminal-hover);color:var(--terminal-accent)}.terminal-layout .nav-label{font-size:12px}.terminal-layout .product-card,.terminal-layout .cart-item,.terminal-layout .warehouse-selector{border:1px solid var(--terminal-border);border-radius:var(--terminal-radius);box-shadow:none}.terminal-layout .product-card-header{gap:16px;flex-wrap:wrap}.terminal-layout .scanner-input{min-width:0;width:100%;background:var(--terminal-surface);color:var(--terminal-text);border-width:1px;border-radius:var(--terminal-radius)}.terminal-layout .scanner-btn{flex-shrink:0;border-radius:var(--terminal-radius)}.terminal-layout button:focus-visible,.terminal-layout input:focus-visible{outline:3px solid var(--terminal-primary);outline-offset:3px}.terminal-layout .action-btn,.terminal-layout .quantity-btn{border-radius:var(--terminal-radius)}.terminal-layout .cart-item-delete{min-width:44px;min-height:44px}.terminal-layout .terminal-movement .ant-input,.terminal-layout .terminal-movement .ant-input-number-input{min-height:44px;font-size:16px}.terminal-layout .terminal-movement .ant-select,.terminal-layout .terminal-movement .ant-btn{min-height:44px}.terminal-layout .empty-state{border:1px dashed var(--terminal-border);border-radius:var(--terminal-radius);background:var(--terminal-surface)}.terminal-layout .empty-state-icon{color:var(--terminal-accent);font-size:40px}.terminal-layout .empty-state-text{max-width:360px;line-height:1.6}@media(max-width:600px){.terminal-layout .terminal-brandbar{padding:8px 12px}.terminal-layout .terminal-brand{font-size:15px}.terminal-layout .terminal-tools{gap:0}.terminal-layout .terminal-page{padding:16px}.terminal-layout .nav-label{font-size:11px}.terminal-layout .terminal-header{padding:10px 16px}}@media(prefers-reduced-motion:reduce){.terminal-layout *{animation:none!important;transition:none!important}}.terminal-layout .terminal-home{max-width:1120px;margin:auto;padding:28px 24px 36px}.terminal-layout .terminal-home-heading{padding:0 0 24px}.terminal-layout .terminal-eyebrow{color:var(--terminal-accent);font-size:12px;font-weight:700;letter-spacing:.06em}.terminal-layout .terminal-home-heading h1{margin:4px 0 8px;font-size:28px;color:var(--terminal-text)}.terminal-layout .terminal-home-heading p{margin:0;color:var(--terminal-muted);font-size:14px}.terminal-layout .terminal-home .menu-grid{padding:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.terminal-layout .terminal-home .menu-item{align-items:flex-start;justify-content:flex-start;background:var(--terminal-surface);border:1px solid var(--terminal-border);border-radius:var(--terminal-radius);padding:20px;min-height:156px;box-shadow:none;text-align:left}.terminal-layout .terminal-home .menu-item:hover{border-color:var(--terminal-accent);background:var(--terminal-hover)}.terminal-layout .terminal-home .menu-item-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--terminal-hover);color:var(--terminal-accent);border-radius:var(--terminal-radius);font-size:22px;margin-bottom:16px}.terminal-layout .terminal-home .menu-item-label{color:var(--terminal-text);text-align:left;font-size:16px}.terminal-layout .terminal-home .menu-item-description{color:var(--terminal-muted);text-align:left;font-size:13px}@media(max-width:700px){.terminal-layout .terminal-home{padding:22px 16px}.terminal-layout .terminal-home .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.terminal-layout .terminal-home .menu-item{min-height:154px;padding:16px}.terminal-layout .terminal-home-heading h1{font-size:24px}}
