@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap";
:root{--pos-primary:#4f46e5;--pos-primary-hover:#4338ca;--pos-primary-light:#eef2ff;--pos-primary-subtle:#4f46e514;--pos-surface:#fff;--pos-bg:#f8fafc;--pos-card-bg:#fff;--pos-subtle-bg:#f1f5f9;--pos-border:#e2e8f0;--pos-border-light:#f1f5f9;--pos-text:#0f172a;--pos-text-secondary:#475569;--pos-text-muted:#64748b;--pos-text-subtle:#94a3b8;--pos-success:#10b981;--pos-success-light:#ecfdf5;--pos-warning:#f59e0b;--pos-warning-light:#fffbeb;--pos-danger:#ef4444;--pos-danger-light:#fef2f2;--pos-info:#0ea5e9;--pos-info-light:#f0f9ff;--pos-shadow-xs:0 1px 2px 0 #0000000d;--pos-shadow-sm:0 1px 3px 0 #0000000f, 0 1px 2px -1px #0000000a;--pos-shadow-md:0 4px 6px -1px #00000012, 0 2px 4px -2px #0000000d;--pos-shadow-lg:0 10px 15px -3px #00000014, 0 4px 6px -4px #0000000a;--font-main:"Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif}.gap-0{gap:0!important}.gap-1{gap:4px!important}.gap-1\.5,.gap-1-5{gap:6px!important}.gap-2{gap:8px!important}.gap-2\.5,.gap-2-5{gap:10px!important}.gap-3{gap:12px!important}.gap-4{gap:16px!important}.gap-5{gap:20px!important}.p-0{padding:0!important}.p-0-5,.p-0\.5{padding:2px!important}.p-1{padding:4px!important}.p-1-5,.p-1\.5{padding:6px!important}.p-2{padding:8px!important}.p-2-5,.p-2\.5{padding:10px!important}.p-3{padding:16px!important}.p-3-5,.p-3\.5{padding:20px!important}.p-4{padding:24px!important}.p-5{padding:32px!important}.px-0{padding-left:0!important;padding-right:0!important}.px-0-5,.px-0\.5{padding-left:2px!important;padding-right:2px!important}.px-1{padding-left:4px!important;padding-right:4px!important}.px-1-5,.px-1\.5{padding-left:6px!important;padding-right:6px!important}.px-2{padding-left:8px!important;padding-right:8px!important}.px-2-5,.px-2\.5{padding-left:10px!important;padding-right:10px!important}.px-3{padding-left:16px!important;padding-right:16px!important}.px-3-5,.px-3\.5{padding-left:20px!important;padding-right:20px!important}.px-4{padding-left:24px!important;padding-right:24px!important}.px-5{padding-left:32px!important;padding-right:32px!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-0-5,.py-0\.5{padding-top:2px!important;padding-bottom:2px!important}.py-1{padding-top:4px!important;padding-bottom:4px!important}.py-1-5,.py-1\.5{padding-top:6px!important;padding-bottom:6px!important}.py-2{padding-top:8px!important;padding-bottom:8px!important}.py-2-5,.py-2\.5{padding-top:10px!important;padding-bottom:10px!important}.py-3{padding-top:16px!important;padding-bottom:16px!important}.py-3-5,.py-3\.5{padding-top:20px!important;padding-bottom:20px!important}.py-4{padding-top:24px!important;padding-bottom:24px!important}.py-5{padding-top:32px!important;padding-bottom:32px!important}.pt-0{padding-top:0!important}.pt-1{padding-top:4px!important}.pt-1-5,.pt-1\.5{padding-top:6px!important}.pt-2{padding-top:8px!important}.pt-2-5,.pt-2\.5{padding-top:10px!important}.pt-3{padding-top:16px!important}.pt-4{padding-top:24px!important}.pt-5{padding-top:32px!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:4px!important}.pb-1-5,.pb-1\.5{padding-bottom:6px!important}.pb-2{padding-bottom:8px!important}.pb-2-5,.pb-2\.5{padding-bottom:10px!important}.pb-3{padding-bottom:16px!important}.pb-4{padding-bottom:24px!important}.pb-5{padding-bottom:32px!important}.ps-0,.pl-0{padding-left:0!important}.ps-1,.pl-1{padding-left:4px!important}.ps-2,.pl-2{padding-left:8px!important}.ps-3,.pl-3{padding-left:16px!important}.ps-4,.pl-4{padding-left:24px!important}.pe-0,.pr-0{padding-right:0!important}.pe-1,.pr-1{padding-right:4px!important}.pe-2,.pr-2{padding-right:8px!important}.pe-3,.pr-3{padding-right:16px!important}.pe-4,.pr-4{padding-right:24px!important}@media (min-width:576px){.p-sm-3{padding:16px!important}.p-sm-4{padding:24px!important}.p-sm-5{padding:32px!important}.px-sm-4{padding-left:24px!important;padding-right:24px!important}.py-sm-4{padding-top:24px!important;padding-bottom:24px!important}}@media (min-width:1200px){.p-xl-5{padding:32px!important}}.m-0{margin:0!important}.m-1{margin:4px!important}.m-2{margin:8px!important}.m-3{margin:16px!important}.m-4{margin:24px!important}.m-auto{margin:auto!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:4px!important}.mt-2{margin-top:8px!important}.mt-3{margin-top:16px!important}.mt-4{margin-top:24px!important}.mt-auto{margin-top:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:4px!important}.mb-1-5,.mb-1\.5{margin-bottom:6px!important}.mb-2{margin-bottom:8px!important}.mb-2-5,.mb-2\.5{margin-bottom:10px!important}.mb-3{margin-bottom:16px!important}.mb-4{margin-bottom:24px!important}.mb-auto{margin-bottom:auto!important}.my-1{margin-top:4px!important;margin-bottom:4px!important}.my-2{margin-top:8px!important;margin-bottom:8px!important}.my-3{margin-top:16px!important;margin-bottom:16px!important}.my-4{margin-top:24px!important;margin-bottom:24px!important}.mx-1{margin-left:4px!important;margin-right:4px!important}.mx-2{margin-left:8px!important;margin-right:8px!important}.mx-3{margin-left:16px!important;margin-right:16px!important}.fs-10{font-size:10px!important}.fs-11{font-size:11px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-14{font-size:14px!important}.fs-15{font-size:15px!important}.fs-16{font-size:16px!important}.fs-17{font-size:17px!important}.fs-18{font-size:18px!important}.fs-20{font-size:20px!important}.fs-22{font-size:22px!important}.fs-24{font-size:24px!important}.fs-28{font-size:28px!important}.fs-32{font-size:32px!important}.fs-36{font-size:36px!important}body,html,input,button,select,textarea{font-family:var(--font-main)!important}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:-.01em;-webkit-user-select:none;user-select:none;touch-action:manipulation;overflow-x:hidden;background-color:var(--pos-bg)!important;color:var(--pos-text)!important}[class^=ri-],[class*=\ ri-],[class^=ri-]:before,[class*=\ ri-]:before{-webkit-font-smoothing:antialiased;font-style:normal;font-family:remixicon!important}[class^=bi-],[class*=\ bi-],[class^=bi-]:before,[class*=\ bi-]:before{-webkit-font-smoothing:antialiased;font-style:normal;font-family:bootstrap-icons!important}.pos-container{background-color:var(--pos-bg);flex-direction:column;min-height:100vh;display:flex}.pos-topbar{background:var(--pos-surface);border-bottom:1px solid var(--pos-border);z-index:1020;justify-content:space-between;align-items:center;gap:10px;height:60px;padding:0 1.25rem;display:flex;position:sticky;top:0;box-shadow:0 1px 3px #0f172a08}.pos-topbar-controls{align-items:center;display:flex;gap:8px!important}.pos-branch-picker{align-items:center;gap:.4rem;min-width:0;margin:0;display:flex}.pos-branch-status-dot{flex:0 0 8px;width:8px;height:8px}.pos-branch-select{width:auto;min-width:7rem;max-width:12rem;color:var(--pos-text);font:inherit;cursor:pointer;background-color:#0000;border:0;border-radius:.375rem;padding:.15rem 1.35rem .15rem .1rem;font-weight:500}.pos-branch-select:focus{box-shadow:0 0 0 2px var(--pos-primary-subtle);outline:none}.pos-branch-select:disabled{color:var(--pos-text-muted);cursor:default}@media (max-width:1199.98px){.pos-topbar{gap:6px!important;padding:0 .75rem!important}.pos-topbar-controls{gap:6px!important}}.pos-category-sidebar{background:var(--pos-surface);border-right:1px solid var(--pos-border);scrollbar-width:none;flex-direction:column;flex-shrink:0;width:96px;height:calc(100vh - 64px);padding:.75rem .45rem;display:flex;overflow-y:auto;gap:8px!important}.pos-category-sidebar::-webkit-scrollbar{display:none}.pos-cat-btn{color:var(--pos-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:72px;padding:.65rem .25rem;transition:all .18s cubic-bezier(.4,0,.2,1);display:flex}.pos-cat-btn:hover{background:var(--pos-subtle-bg);color:var(--pos-text)}.pos-cat-btn.active{background:linear-gradient(135deg,#4f46e5 0%,#3730a3 100%);box-shadow:0 4px 14px #4f46e54d;color:#fff!important}.pos-cat-btn.active .cat-icon-wrap{background:#ffffff2e}.cat-icon-wrap{background:var(--pos-subtle-bg);border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;margin-bottom:.35rem;transition:all .18s;display:flex}.pos-catalog-wrapper{scrollbar-width:none;background-color:var(--pos-bg);flex:1;height:calc(100vh - 64px);padding:1.25rem 1.5rem;overflow-y:auto}.pos-catalog-wrapper::-webkit-scrollbar{display:none}.pos-filter-chips{flex-wrap:wrap;align-items:center;display:flex;gap:8px!important}.pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));align-items:stretch;width:100%;display:grid;gap:16px!important}@media (min-width:992px) and (max-width:1250px){.pos-product-grid{grid-template-columns:repeat(3,1fr);gap:14px!important}}@media (min-width:1251px) and (max-width:1599px){.pos-product-grid{grid-template-columns:repeat(4,1fr);gap:16px!important}}@media (min-width:1600px){.pos-product-grid{grid-template-columns:repeat(5,1fr);gap:16px!important}}@media (max-width:991.98px){.pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px!important}}.pos-card{background:var(--pos-surface);border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:space-between;height:100%;padding:.85rem;transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1),border-color .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 10px -2px #0f172a0f,0 2px 4px -1px #0f172a0a}.pos-card:hover{border-color:#cbd5e1;transform:translateY(-4px);box-shadow:0 14px 28px -4px #0f172a1f,0 6px 12px -2px #0f172a0f}.pos-card:active{transform:translateY(-1px)scale(.99);box-shadow:0 6px 14px -2px #0f172a14}.pos-card-img-wrap{border:1px solid var(--pos-border-light);background:#f8fafc;border-radius:12px;justify-content:center;align-items:center;height:130px;margin-bottom:.75rem;padding:.5rem;display:flex;position:relative}.pos-card-img{object-fit:contain;max-width:100%;max-height:110px;transition:transform .3s cubic-bezier(.4,0,.2,1)}.pos-promotion-badges{inset-inline:.5rem;pointer-events:none;z-index:2;flex-wrap:wrap;align-items:center;gap:.3rem;display:flex;position:absolute;bottom:.5rem}.pos-promotion-badge{color:#fff;letter-spacing:.025em;white-space:nowrap;border-radius:999px;align-items:center;gap:.25rem;max-width:100%;padding:.22rem .48rem;font-size:9px;font-weight:800;line-height:1.1;display:inline-flex;box-shadow:0 3px 8px #0f172a2e}.pos-promotion-badge-item_price{background:linear-gradient(135deg,#f97316,#ea580c)}.pos-promotion-badge-bogo{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.pos-promotion-badge-subtotal_discount{background:linear-gradient(135deg,#059669,#047857)}.pos-promotion-badge-more{background:#334155}.pos-card-price{flex-direction:column;align-items:flex-start;min-width:0;line-height:1.05;display:flex}.pos-card-original-price{color:#94a3b8;margin-bottom:.2rem;font-size:10px;font-weight:600}.pos-card:hover .pos-card-img{transform:scale(1.06)}.pos-card-title{color:var(--pos-text);-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.2rem;margin-bottom:.5rem;font-size:13px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.pos-cart-panel{background:var(--pos-surface);border-left:1px solid var(--pos-border);flex-direction:column;flex-shrink:0;width:420px;height:calc(100vh - 64px);display:flex;box-shadow:-4px 0 16px #0f172a08}@media (min-width:992px) and (max-width:1200px){.pos-cart-panel{width:360px}}@media (max-width:991.98px){.pos-category-sidebar{border-right:none;border-bottom:1px solid var(--pos-border);flex-direction:row;width:100%;height:auto;padding:.6rem;overflow-x:auto;gap:8px!important}.pos-cat-btn{min-width:80px;min-height:68px}.pos-catalog-wrapper{height:auto;padding-bottom:2rem}.pos-cart-panel{border-left:none;border-top:1px solid var(--pos-border);width:100%;height:auto}}.pos-cart-items-container{scrollbar-width:none;flex:1;padding:.75rem 1.25rem;overflow-y:auto}.pos-cart-items-container::-webkit-scrollbar{display:none}.pos-cart-items-header{z-index:5;margin-top:-.75rem;background:var(--pos-surface);box-shadow:0 1px 0 var(--pos-border-light);margin-inline:-.25rem;padding:1.1rem .25rem .65rem;position:sticky;top:-.75rem}.pos-cart-row{border-bottom:1px dashed var(--pos-border);align-items:center;padding:.65rem 0;display:flex;gap:12px!important}.pos-cart-row:last-child{border-bottom:none}.pos-unit-price-trigger{max-width:100%;color:var(--pos-text-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:2px 0 0;padding:0;font-size:11px;line-height:1.25;display:inline-flex}.pos-unit-price-trigger i{color:var(--pos-primary);opacity:.65;font-size:12px;transition:opacity .15s}.pos-unit-price-trigger:hover,.pos-unit-price-trigger:focus-visible{color:var(--pos-primary)}.pos-unit-price-trigger:hover i,.pos-unit-price-trigger:focus-visible i{opacity:1}.pos-price-editor{align-items:center;gap:3px;display:flex}.pos-price-input{border:1px solid var(--pos-primary);width:82px;height:26px;color:var(--pos-text);-webkit-user-select:text;user-select:text;background:#fff;border-radius:6px;outline:none;padding:2px 6px;font-size:11px}.pos-price-input:focus{box-shadow:0 0 0 2px var(--pos-primary-subtle)}.pos-price-input.is-invalid{border-color:var(--pos-danger);box-shadow:0 0 0 2px var(--pos-danger-light)}.pos-price-action{background:var(--pos-subtle-bg);width:24px;height:24px;color:var(--pos-text-muted);border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;font-size:13px;display:inline-flex}.pos-price-action:hover,.pos-price-action:focus-visible{background:var(--pos-border);color:var(--pos-text)}.pos-price-save{background:var(--pos-primary-light);color:var(--pos-primary)}.qty-stepper{background:var(--pos-subtle-bg);border:1px solid var(--pos-border);border-radius:10px;align-items:center;gap:4px;padding:2px 4px;display:inline-flex}.qty-btn{width:28px;height:28px;color:var(--pos-text);cursor:pointer;background:#fff;border:none;border-radius:7px;justify-content:center;align-items:center;font-size:14px;font-weight:700;transition:all .15s;display:flex;box-shadow:0 1px 2px #0000000f}.qty-btn:active,.qty-btn:hover{background:var(--pos-primary);color:#fff}.pos-summary-card{border:1px solid var(--pos-border);background:#f8fafc;border-radius:14px;margin:0 1.25rem .65rem;padding:1rem}.font-monospace{letter-spacing:-.02em;font-feature-settings:"tnum" 1, "lnum" 1!important}.pos-pay-grid{grid-template-columns:repeat(3,1fr);margin-bottom:10px;display:grid;gap:8px!important}.pos-pay-grid .pay-pill-btn:nth-child(4){grid-column:span 1}.pos-pay-grid .pay-pill-btn:nth-child(5){grid-column:span 2}.pay-pill-btn{border:1px solid var(--pos-border);cursor:pointer;background:#fff;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:.6rem .5rem;font-size:13px;font-weight:600;transition:all .18s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 1px 2px #00000008;gap:6px!important}.pay-pill-btn:hover{border-color:var(--pos-primary);background:var(--pos-primary-light);color:var(--pos-primary)}.pay-pill-btn.active{background:var(--pos-primary);border-color:var(--pos-primary);box-shadow:0 3px 10px #4f46e54d;color:#fff!important}.pay-pill-btn.active i{color:#fff!important}.btn-charge{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#4338ca 100%);border:none;border-radius:14px;padding:.85rem 1.25rem;font-size:15px;font-weight:700;transition:all .18s;box-shadow:0 4px 14px #4f46e559}.btn-charge:hover{color:#fff;background:linear-gradient(135deg,#4338ca 0%,#3730a3 100%);transform:translateY(-1px);box-shadow:0 6px 18px #4f46e573}.btn-charge:active{transform:scale(.99)}.pos-pay-action-wrap{position:relative}.pos-pay-action-wrap .btn-charge{border-radius:18px;min-height:62px;padding-inline:1.25rem}.pos-pay-action-wrap .btn-charge>span:last-child{min-width:0}.pos-pay-method-menu{z-index:20;border:1px solid var(--pos-border);background:#fff;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 12px 28px #27304e29}.pos-pay-method-option{min-height:38px;color:var(--pos-text);background:#f8fafc;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:.45rem .6rem;font-size:12px;font-weight:600;display:flex}.pos-pay-method-option:hover,.pos-pay-method-option.active{border-color:var(--pos-primary);background:var(--pos-primary-light);color:var(--pos-primary)}.pos-order-type-switcher{border:1px solid var(--pos-border);background:#f8fafc;border-radius:10px;align-items:center;gap:2px;padding:3px;display:inline-flex}.pos-order-type-switcher button{color:var(--pos-text-muted);white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:.3rem .55rem;font-size:11px;font-weight:600;line-height:1.2;transition:all .16s}.pos-order-type-switcher button:hover{color:var(--pos-primary)}.pos-order-type-switcher button.active{color:var(--pos-primary);background:#fff;box-shadow:0 1px 3px #27304e1f}.pos-sale-meta-row{align-items:center;gap:6px;display:flex}.pos-sale-meta-row .form-control,.pos-customer-inline{border:1px solid var(--pos-border);background:#fff;border-radius:9px;height:42px;min-height:42px}.pos-sale-meta-row .form-control{padding-inline:.75rem}.pos-customer-inline{max-width:132px;color:var(--pos-text-secondary);flex:0 0 132px;align-items:center;gap:5px;padding:.3rem .65rem;font-size:14px;font-weight:600;display:inline-flex}.pos-customer-inline:hover{border-color:var(--pos-primary);color:var(--pos-primary)}.pos-customer-inline span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pos-bottom-features{border-top:1px solid var(--pos-border);background:#fff;justify-content:space-around;align-items:center;padding:.65rem .75rem;display:flex;gap:6px!important}.pos-tool-btn{color:var(--pos-text-muted);cursor:pointer;background:0 0;border:none;border-radius:10px;flex-direction:column;align-items:center;gap:3px;min-width:56px;padding:.3rem .5rem;font-size:11px;font-weight:600;transition:all .15s;display:flex}.pos-tool-btn:hover{background:var(--pos-subtle-bg);color:var(--pos-text)}.pos-tool-btn:active{transform:scale(.94)}.pos-tool-icon{border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;transition:transform .15s;display:flex}.pos-tool-btn:hover .pos-tool-icon{transform:scale(1.08)}.bg-purple-subtle{color:#7e22ce!important;background-color:#f3e8ff!important}.bg-pink-subtle{color:#be185d!important;background-color:#fce7f3!important}.bg-success-subtle{color:#047857!important;background-color:#d1fae5!important}.bg-secondary-subtle{color:#475569!important;background-color:#f1f5f9!important}.bg-danger-subtle{color:#b91c1c!important;background-color:#fee2e2!important}.bg-warning-subtle{color:#b45309!important;background-color:#fef3c7!important}.bg-primary-subtle{color:#4338ca!important;background-color:#e0e7ff!important}.cash-tender-symbol{justify-content:center;min-width:58px}.invoice-format-switch{border:1px solid var(--pos-border);background:var(--pos-subtle-bg);border-radius:10px;gap:4px;margin-bottom:14px;padding:4px;display:inline-flex}.invoice-format-switch button{color:var(--pos-text-muted);background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:700;transition:background-color .15s,color .15s,box-shadow .15s;display:inline-flex}.invoice-format-switch button:hover{color:var(--pos-primary)}.invoice-format-switch button.active{color:var(--pos-primary);background:#fff;box-shadow:0 1px 4px #0f172a1f}.invoice-preview-sheet{color:var(--pos-text);overflow:hidden}.invoice-preview-header{border-top:5px solid var(--pos-primary);border-bottom:1px solid var(--pos-border);grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);grid-template-areas:"company title";align-items:flex-start;column-gap:48px;padding:24px;display:grid}.invoice-preview-company{grid-area:company;align-items:flex-start;gap:12px;min-width:0;display:flex}.invoice-preview-company h4{white-space:nowrap}.invoice-preview-company-mark{background:var(--pos-primary-light);width:44px;height:44px;color:var(--pos-primary);border-radius:12px;flex:0 0 44px;place-items:center;font-size:22px;display:grid}.invoice-preview-address{white-space:pre-line;max-width:360px}.invoice-preview-title>div:first-child{color:var(--pos-text);letter-spacing:.08em;font-size:26px}.invoice-preview-title{text-align:right;flex-direction:column;grid-area:title;align-items:flex-end;min-width:0;display:flex}.invoice-preview-header-meta{flex-direction:column;align-items:flex-start;gap:6px;width:auto;margin-top:14px;margin-left:auto;display:inline-flex}.invoice-preview-header-meta-item{min-width:0;color:var(--pos-text);align-items:baseline;gap:8px;font-size:11px;display:flex}.invoice-preview-header-meta-item>span{width:68px;color:var(--pos-text-subtle);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;flex:0 0 68px;justify-content:space-between;align-items:baseline;gap:6px;font-size:9.5px;font-weight:700;display:flex}.invoice-preview-header-meta-item>span>span:last-child{text-align:right;margin-left:auto}.invoice-preview-header-meta-item strong{text-align:left;line-height:1.35}.invoice-preview-number-row strong{color:var(--pos-primary);font-family:monospace;font-size:13px}.invoice-preview-time-row strong{color:var(--pos-text-muted);font-weight:500}.invoice-preview-table-wrap{padding:16px 24px 4px}.invoice-preview-table thead th{color:var(--pos-text-secondary);letter-spacing:.05em;text-transform:uppercase;background:#f5f7ff;border-top:1px solid #dbe3f3;border-bottom:2px solid #c7d2fe;padding:10px 9px;font-size:10px;font-weight:700}.invoice-preview-table thead th:first-child{border-top-left-radius:7px}.invoice-preview-table thead th:last-child{border-top-right-radius:7px}.invoice-preview-table tbody td{border-color:var(--pos-border-light);padding-block:11px}.invoice-preview-summary{width:min(330px,100% - 48px);margin:12px 24px 20px auto}.invoice-preview-summary>div{justify-content:space-between;align-items:center;gap:20px;padding:5px 0;font-size:12px;display:flex}.invoice-preview-discount,.invoice-preview-discount span,.invoice-preview-discount strong,.thermal-discount,.thermal-discount span,.thermal-discount strong{color:var(--pos-danger)!important}.invoice-preview-total{border-top:2px solid var(--pos-text);color:var(--pos-primary);margin-top:6px;padding-top:12px!important;font-size:15px!important}.invoice-preview-total small{color:var(--pos-text-muted);font-size:10px}.invoice-preview-footer{border-top:1px dashed var(--pos-border);min-height:58px;color:var(--pos-text-muted);text-align:center;white-space:pre-line;background:#f8fafc;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:14px 24px;font-size:12px;display:flex}.invoice-preview-footer-message,.invoice-preview-rate-remark{justify-content:center;align-items:center;gap:7px;display:flex}.invoice-preview-rate-remark{color:var(--pos-text-secondary);font-size:10px;font-weight:600}.invoice-preview-footer i{color:var(--pos-primary)}.thermal-receipt{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:4px;width:min(100%,302px);margin:0 auto;padding:20px 14px;box-shadow:0 8px 24px #0f172a14}.thermal-receipt,.thermal-receipt *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Khmer Sangam MN,monospace!important}.thermal-receipt-header{color:#111827;text-align:center;font-size:9px;line-height:1.4}.thermal-receipt-header h3{margin:0 0 3px;font-size:16px;font-weight:800}.thermal-receipt-header h4{letter-spacing:.12em;margin:12px 0 7px;font-size:13px;font-weight:800}.thermal-receipt-meta{text-align:center;flex-direction:column;align-items:center;gap:3px;margin-top:7px;display:flex}.thermal-receipt-meta>div{text-align:center;justify-content:center;align-items:baseline;gap:5px;width:100%;display:flex}.thermal-receipt-meta span{color:#4b5563;flex:none}.thermal-receipt-meta strong{text-align:center;overflow-wrap:anywhere;min-width:0;font-weight:700}.thermal-receipt-rule{border-top:1px dashed #6b7280;margin:10px 0}.thermal-receipt-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:8.5px;line-height:1.35}.thermal-receipt-table th,.thermal-receipt-table td{vertical-align:top;padding:6px 2px}.thermal-receipt-table th:first-child,.thermal-receipt-table td:first-child{width:60%;padding-left:0}.thermal-receipt-table th:nth-child(2),.thermal-receipt-table td:nth-child(2){width:12%}.thermal-receipt-table th:last-child,.thermal-receipt-table td:last-child{width:28%;padding-right:0}.thermal-receipt-table thead th{color:#111827;text-transform:uppercase;border-bottom:1px dashed #6b7280;font-size:8px;font-weight:800}.thermal-receipt-table tbody td{border-bottom:1px dashed #d1d5db}.thermal-receipt-table td strong,.thermal-receipt-table td small{display:block}.thermal-receipt-table td strong{overflow-wrap:anywhere;font-weight:700}.thermal-receipt-table td small{color:#6b7280;overflow-wrap:anywhere;margin-top:2px;font-size:7.5px;line-height:1.3}.thermal-receipt-summary{border-top:1px dashed #6b7280;flex-direction:column;gap:3px;margin-top:10px;padding-top:8px;font-size:9px;display:flex}.thermal-receipt-summary>div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.thermal-receipt-summary strong{text-align:right;white-space:nowrap}.thermal-receipt-total{border-top:2px solid #111827;margin-top:4px;padding-top:7px;font-size:12px;font-weight:800}.thermal-receipt-summary>small{color:#6b7280;text-align:center;margin-top:2px;font-size:7.5px;display:block}.thermal-receipt-footer{text-align:center;white-space:pre-line;border-top:1px dashed #6b7280;margin-top:12px;padding-top:10px;font-size:8.5px;line-height:1.45}.thermal-receipt-footer div{color:#4b5563;margin-bottom:7px;font-size:7.5px}.thermal-receipt-footer strong{font-weight:700}.invoice-print-root{display:none}@media (max-width:767.98px){.invoice-preview-header{grid-template-columns:1fr;grid-template-areas:"company""title";gap:20px}.invoice-preview-title{width:100%;text-align:left!important}.invoice-preview-header-meta{width:100%}}@media print{@page{size:A4 portrait;margin:12mm}html,body.invoice-print-active{background:#fff!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important}body.invoice-print-active>:not(.invoice-print-root){display:none!important}body.invoice-print-active>.invoice-print-root,body.invoice-print-active>.invoice-print-root *{visibility:visible!important}body.invoice-print-active>.invoice-print-root{background:#fff!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.invoice-print-root .invoice-preview-sheet{width:100%!important;box-shadow:none!important;border:0!important;border-radius:0!important;display:block!important;position:static!important;overflow:visible!important}.invoice-print-root .invoice-preview-header{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)!important;grid-template-areas:"company title"!important}.invoice-print-root .invoice-preview-title{text-align:right!important}.invoice-print-root .invoice-preview-header-meta{width:100%!important;margin-left:auto!important}.invoice-print-root .invoice-preview-table-wrap{overflow:visible!important}.invoice-print-root .invoice-preview-table tr,.invoice-print-root .invoice-preview-summary,.invoice-print-root .invoice-preview-footer{break-inside:avoid;page-break-inside:avoid}body.invoice-print-active>.invoice-print-root--thermal{width:72mm!important;margin:0 auto!important}.invoice-print-root--thermal .thermal-receipt{width:72mm!important;max-width:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important}.invoice-print-root--thermal .thermal-receipt-table tr,.invoice-print-root--thermal .thermal-receipt-summary,.invoice-print-root--thermal .thermal-receipt-footer{break-inside:avoid;page-break-inside:avoid}}