body.mobile-price-page{min-width:0;min-height:100vh;overflow:auto;color:#17251f;background:#f3f0e8}body.mobile-price-page button,body.mobile-price-page input{-webkit-tap-highlight-color:transparent}.mobile-price-app{width:min(100%,620px);min-height:100vh;margin:0 auto;padding:0 18px calc(34px + env(safe-area-inset-bottom));color:#17251f;background:#f3f0e8}.mobile-app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -18px;padding:calc(14px + env(safe-area-inset-top)) 18px 14px;border-bottom:1px solid #d9d3c5;background:#f3f0e8f5;position:sticky;top:0;z-index:8}.mobile-brand-lockup{display:flex;align-items:center;gap:13px}.mobile-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;flex:0 0 auto;border-radius:17px;color:#f8f4e9;background:#174c3a;box-shadow:0 8px 20px #174c3a33}.mobile-brand-lockup.compact .mobile-brand-mark{width:42px;height:42px;border-radius:13px;box-shadow:none}.mobile-brand-lockup span{display:block;color:#8b5d2d;font-size:10px;font-weight:900;letter-spacing:.14em}.mobile-brand-lockup h1{margin:2px 0 0;font-size:23px;line-height:1.1;letter-spacing:-.03em}.mobile-user-button{display:inline-flex;align-items:center;gap:8px;min-width:0;border:1px solid #d4cdbd;border-radius:999px;padding:9px 11px 9px 14px;color:#4a554f;background:#faf8f1;font-size:13px;font-weight:800}.mobile-user-button span{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-search-section{padding:28px 0 20px}.mobile-search-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.mobile-search-heading>svg{color:#a46d32}.mobile-search-heading p,.mobile-product-brand{margin:0 0 6px;color:#997048;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.mobile-search-heading h2{max-width:310px;margin:0;font-size:clamp(25px,7vw,34px);line-height:1.1;letter-spacing:-.045em}.mobile-scan-button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:92px;border:0;border-radius:24px;padding:16px;color:#fffdf7;background:#174c3a;text-align:left;box-shadow:0 15px 30px #174c3a33}.mobile-scan-button:active{transform:scale(.99)}.mobile-scan-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:18px;color:#174c3a;background:#dfd6a8}.mobile-scan-button strong,.mobile-scan-button small{display:block}.mobile-scan-button strong{margin-bottom:5px;font-size:18px}.mobile-scan-button small{color:#c9ddd4;font-size:12px}.mobile-or{display:flex;align-items:center;gap:10px;margin:24px 0 13px;color:#8a877f;font-size:11px;font-weight:800;letter-spacing:.04em}.mobile-or:before,.mobile-or:after{content:"";height:1px;flex:1;background:#d9d3c5}.mobile-search-box{display:flex;align-items:center;gap:10px;min-height:54px;border:1px solid #cec7b7;border-radius:16px;padding:0 14px;color:#68736e;background:#fffdf7;box-shadow:0 7px 18px #322d210f}.mobile-search-box:focus-within{border-color:#31745d;box-shadow:0 0 0 3px #31745d21}.mobile-search-box input{width:100%;min-width:0;border:0;outline:0;color:#17251f;background:transparent;font-size:16px}.mobile-search-box input::placeholder{color:#99978f}.mobile-search-box button{display:inline-flex;border:0;padding:6px;color:#6d756f;background:transparent}.mobile-search-status,.mobile-inline-message{display:flex;align-items:flex-start;gap:9px;margin-top:12px;border-radius:12px;padding:11px 12px;font-size:13px;font-weight:750;line-height:1.45}.mobile-search-status{color:#53615a;background:#e9e5da}.mobile-inline-message.error{color:#8a2e25;background:#f5ddd7}.mobile-inline-message.success{color:#225b46;background:#deeee5}.mobile-results-list{margin-top:12px;border:1px solid #d7d0c1;border-radius:16px;overflow:hidden;background:#fffdf7;box-shadow:0 14px 30px #322d2114}.mobile-results-count{padding:10px 13px;color:#7d7b72;background:#f5f1e7;font-size:11px;font-weight:850}.mobile-results-list button{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid #ebe6db;padding:13px;color:#17251f;background:#fffdf7;text-align:left}.mobile-result-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;color:#27634e;background:#e2ede6}.mobile-result-copy{min-width:0}.mobile-result-copy strong,.mobile-result-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-result-copy strong{font-size:14px}.mobile-result-copy small{margin-top:4px;color:#7c817d;font-size:11px}.mobile-results-list button>b{color:#174c3a;font-size:14px}.mobile-product-detail{border-top:3px solid #a97838;padding:21px 20px 20px;border-radius:20px;background:#fffdf7;box-shadow:0 16px 36px #322d211a}.mobile-detail-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.mobile-detail-topline span{border-radius:999px;padding:6px 10px;color:#704a22;background:#eee1ca;font-size:11px;font-weight:850}.mobile-detail-topline small{color:#85827a;font-size:11px}.mobile-product-detail h2{margin:0 0 20px;font-size:clamp(25px,7vw,34px);line-height:1.12;letter-spacing:-.04em}.mobile-main-price{display:grid;grid-template-columns:1fr auto;align-items:end;gap:3px 12px;border-bottom:1px solid #e4ded1;padding:0 0 17px}.mobile-main-price span{color:#6b746f;font-size:13px;font-weight:800}.mobile-main-price strong{grid-row:span 2;color:#174c3a;font-size:clamp(34px,10vw,48px);line-height:.95;letter-spacing:-.06em}.mobile-main-price small{color:#8a8d88;font-size:10px}.mobile-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.mobile-price-grid div{min-width:0;border-left:2px solid #d9cfb2;padding:3px 7px 3px 10px}.mobile-price-grid span,.mobile-price-grid strong{display:block}.mobile-price-grid span{margin-bottom:6px;color:#777d79;font-size:10px;font-weight:750}.mobile-price-grid strong{overflow:hidden;color:#273f35;font-size:16px;text-overflow:ellipsis}.mobile-product-meta{margin:0;border-top:1px solid #e4ded1;border-bottom:1px solid #e4ded1;padding:8px 0}.mobile-product-meta div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:12px}.mobile-product-meta dt{color:#7d827e}.mobile-product-meta dd{margin:0;overflow-wrap:anywhere;color:#253d33;font-weight:850;text-align:right}.mobile-secondary-button,.mobile-photo-fallback{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;border:1px solid #2b6a53;border-radius:14px;padding:0 16px;color:#1f5a44;background:#edf4ef;font-weight:850}.mobile-product-detail .mobile-secondary-button{margin-top:17px}.mobile-empty-state{display:flex;align-items:flex-start;gap:14px;border-top:1px solid #d8d1c2;padding:22px 4px;color:#59645e}.mobile-empty-state>svg{flex:0 0 auto;color:#9b6b34}.mobile-empty-state strong{color:#33463d;font-size:14px}.mobile-empty-state p{margin:6px 0 0;font-size:12px;line-height:1.6}.mobile-login-shell,.mobile-price-loading{display:flex;align-items:center;justify-content:center;padding-top:calc(24px + env(safe-area-inset-top))}.mobile-login-panel{width:100%;border-top:4px solid #174c3a;padding:26px 22px 22px;border-radius:22px;background:#fffdf7;box-shadow:0 22px 55px #322d211f}.mobile-login-intro{display:flex;align-items:flex-start;gap:11px;margin:30px 0 20px;border-left:3px solid #b98545;padding:2px 0 2px 13px;color:#275f4a}.mobile-login-intro h2{margin:0;color:#17251f;font-size:20px}.mobile-login-intro p{margin:5px 0 0;color:#68716c;font-size:12px;line-height:1.55}.mobile-login-form{display:grid;gap:14px}.mobile-login-form label span{display:block;margin:0 0 7px;color:#515e57;font-size:12px;font-weight:850}.mobile-login-form input{width:100%;min-height:52px;border:1px solid #cec7b7;border-radius:13px;outline:0;padding:0 14px;color:#17251f;background:#faf8f1;font-size:16px}.mobile-login-form input:focus{border-color:#31745d;box-shadow:0 0 0 3px #31745d21}.mobile-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:54px;margin-top:3px;border:0;border-radius:14px;color:#fffdf7;background:#174c3a;font-size:15px;font-weight:900}.mobile-login-footnote{margin:19px 0 0;color:#8a877f;font-size:11px;line-height:1.5;text-align:center}.mobile-price-loading{flex-direction:column;gap:14px;color:#69736e;font-size:13px}.mobile-price-loading p{margin:0}.mobile-hidden-file{display:none}.mobile-scanner-overlay{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;width:min(100%,620px);min-height:100dvh;margin:0 auto;padding:calc(16px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));color:#fff;background:#0c1713}.mobile-scanner-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.mobile-scanner-header span,.mobile-scanner-header strong{display:block}.mobile-scanner-header span{margin-bottom:3px;color:#b8c7c0;font-size:11px}.mobile-scanner-header strong{font-size:19px}.mobile-scanner-header button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #3c4d46;border-radius:50%;color:#fff;background:#1c2b25}.mobile-camera-frame{position:relative;flex:1;min-height:330px;overflow:hidden;border-radius:22px;background:#020403}.mobile-camera-frame video{width:100%;height:100%;object-fit:cover}.mobile-scan-guide{position:absolute;inset:50% auto auto 50%;width:min(82%,380px);aspect-ratio:1.85;transform:translate(-50%,-50%)}.mobile-scan-guide i{position:absolute;width:36px;height:36px;border-color:#e8d074;border-style:solid}.mobile-scan-guide i:nth-child(1){inset:0 auto auto 0;border-width:4px 0 0 4px;border-radius:10px 0 0}.mobile-scan-guide i:nth-child(2){inset:0 0 auto auto;border-width:4px 4px 0 0;border-radius:0 10px 0 0}.mobile-scan-guide i:nth-child(3){inset:auto auto 0 0;border-width:0 0 4px 4px;border-radius:0 0 0 10px}.mobile-scan-guide i:nth-child(4){inset:auto 0 0 auto;border-width:0 4px 4px 0;border-radius:0 0 10px}.mobile-scan-guide span{position:absolute;top:50%;left:7%;width:86%;height:2px;background:#efc454;box-shadow:0 0 12px #efc454e6;animation:scanline 2.1s ease-in-out infinite}.mobile-camera-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;color:#d5dfda;background:#101b17;font-size:13px}.mobile-scanner-overlay>p{margin:16px 4px 12px;color:#bcc9c3;font-size:12px;line-height:1.55;text-align:center}.mobile-scanner-overlay .mobile-inline-message{margin:0 0 12px}.mobile-photo-fallback{flex:0 0 auto;border-color:#697b73;color:#eef4f1;background:#1d2c26}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes scanline{0%,to{transform:translateY(-62px);opacity:.55}50%{transform:translateY(62px);opacity:1}}@media(min-width:640px){.mobile-price-app{margin:28px auto;border-radius:28px;box-shadow:0 22px 65px #322d211f}.mobile-app-header{margin:0 -18px;border-radius:28px 28px 0 0}.mobile-scanner-overlay{inset:20px;min-height:calc(100dvh - 40px);border-radius:26px;box-shadow:0 25px 80px #00000073}}@media(prefers-reduced-motion:reduce){.spin,.mobile-scan-guide span{animation:none}}:root{color:#162033;background:#eef2f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:1080px;min-height:100vh;overflow:hidden;background:#d9e1df}body[data-theme=dark]{background:#0b1220}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{display:grid;grid-template-areas:"order topbar" "order products";grid-template-columns:minmax(360px,390px) minmax(720px,1fr);grid-template-rows:58px minmax(0,1fr);gap:6px;height:100vh;min-height:0;padding:6px}.login-screen{display:flex;align-items:center;justify-content:center;width:100vw;min-height:100vh;padding:24px;background:linear-gradient(180deg,#e8efed,#d9e1df)}.login-card{width:min(520px,100%);border:1px solid #d8dee8;border-radius:14px;padding:24px 22px 22px;background:#fff;box-shadow:0 24px 60px #0f172a26}.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:18px}.login-mark{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;color:#fff;background:#162033;flex:0 0 auto}.login-brand span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.login-brand h1{margin-top:4px;font-size:28px}.login-title{display:flex;align-items:flex-start;gap:10px;margin:4px 0 18px;padding:14px;border:1px solid #dbe2ec;border-radius:12px;background:#f8fafc}.login-title svg{flex:0 0 auto;color:#159a63}.login-title h2{margin:0;font-size:20px}.login-title p{margin-top:4px;color:#64748b;font-size:13px;line-height:1.5}.login-hint{margin:0 18px 14px;color:#64748b;font-size:12px;font-weight:800}.login-server-toggle{display:inline-flex;align-items:center;gap:7px;margin:0 18px 14px;border:0;padding:0;color:#2563eb;background:transparent;font-weight:900}.login-server-settings{display:grid;gap:10px;margin:0 18px 16px;border:1px solid #bfdbfe;border-radius:10px;padding:12px;background:#eff6ff}.login-server-settings>div:first-child{display:grid;gap:4px}.login-server-settings strong{color:#1e3a8a}.login-server-settings span,.login-server-settings small{color:#475569;font-size:12px;font-weight:800}.login-server-settings .field,.login-server-settings .form-error{margin:0}.login-server-settings .secondary-action{min-height:40px}.login-discovery-message{color:#475569;font-size:12px;font-weight:800;line-height:1.45}.login-discovered-servers{display:grid;gap:7px}.login-discovered-servers button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #93c5fd;border-radius:8px;padding:10px 12px;color:#1e3a8a;background:#fff;text-align:left}.login-discovered-servers button:hover{border-color:#2563eb;background:#dbeafe}.login-discovered-servers span{color:#64748b}.order-panel,.product-panel,.activity-panel{height:auto;min-height:0}.global-topbar{grid-area:topbar;min-height:0}.order-panel{grid-area:order;display:flex;flex-direction:column;overflow:hidden;border:1px solid #b7c3c0;border-radius:2px;background:#fff}.product-panel{grid-area:products}.brand-bar{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex:0 0 auto;min-width:240px;height:40px;padding:0;background:transparent}.brand-bar>div:first-child{flex:1}.eyebrow{color:#4b5563;font-size:11px;font-weight:800;text-transform:uppercase}h1,h2,p{margin:0}h1{margin-top:3px;font-size:18px;letter-spacing:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #b8c4c1;border-radius:2px;color:#263449;background:#fff}.field input,.field select,.search-box input{width:100%;min-width:0;border:1px solid #d6dee9;border-radius:8px;outline:0;background:#fff;color:#162033}.cart-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 12px 5px;background:#fff}.cart-header>div:first-child{display:flex;flex-direction:column;gap:2px}.cart-header-actions{display:flex;flex-direction:row;align-items:center;gap:8px}.cart-header span{color:#64748b;font-size:12px}.cart-note-indicator{display:block;max-width:210px;overflow:hidden;margin-top:2px;color:#159a63;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.text-button{border:0;background:transparent;color:#2563eb;font-weight:800}.text-button.subtle{color:#64748b}.hold-order-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #159a63;border-radius:2px;color:#fff;background:#159a63}.held-orders-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:70px;height:34px;border:1px solid #cbd5e1;border-radius:2px;color:#263449;background:#fff;font-size:13px;font-weight:900}.held-orders-toggle.active{border-color:#159a63;color:#fff;background:#159a63}.held-orders-toggle span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;color:#159a63;background:#ecfdf5;font-size:12px}.held-orders-toggle.active span{color:#159a63;background:#fff}.held-orders-panel{border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;padding:8px 12px;background:#f8fafc}.held-orders-panel-title,.held-order-card{display:flex;align-items:center;justify-content:space-between;gap:10px}.held-orders-panel-title{margin-bottom:6px;color:#263449;font-size:13px}.held-orders-panel-title span{color:#64748b;font-weight:800}.held-order-card{width:100%;min-height:48px;margin-top:6px;border:1px solid #cbd5e1;border-radius:2px;padding:7px 9px;color:#263449;background:#fff;text-align:left}.held-order-card-main,.held-order-card-total{display:flex;flex-direction:column;min-width:0}.held-order-card-main{flex:1}.held-order-card-main strong,.held-order-card-main small,.held-order-card-total strong,.held-order-card-total small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.held-order-card small{color:#64748b;font-weight:800}.held-order-card-total{flex:0 0 auto;align-items:flex-end}.selected-member-banner{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:6px;min-height:30px;margin-top:6px;border:1px solid #bbf7d0;border-radius:2px;padding:3px 6px 3px 9px;background:#f0fdf4}.selected-member-main{display:flex;align-items:center;gap:6px;min-width:0;border:0;padding:0;color:#14532d;background:transparent;text-align:left}.selected-member-main span{color:#15803d;font-size:11px;font-weight:900}.selected-member-main strong{flex:0 1 auto;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-member-main strong{color:#14532d;font-size:13px}.selected-member-main small{flex:1;min-width:0;overflow:hidden;color:#166534;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.selected-member-clear{display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;align-self:center;border:0;border-radius:2px;color:#166534;background:transparent}.cart-list{flex:1;min-height:0;overflow-x:hidden;overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px 12px 10px;background:#fff}.cart-list::-webkit-scrollbar{width:10px}.cart-list::-webkit-scrollbar-track{background:#eef2f6}.cart-list::-webkit-scrollbar-thumb{border:2px solid #eef2f6;border-radius:999px;background:#aab6c6}.empty-cart{display:flex;height:100%;min-height:280px;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#8a97aa;border:1px dashed #d8dee8;border-radius:8px;background:#f8fafc}.cart-line-wrap{border:1px solid transparent;border-bottom-color:#eef1f0;border-radius:3px;padding:0 8px;background:#fff}.cart-line-wrap.open{border:2px solid #3f7d65;background:#e7f3ee;box-shadow:none}.cart-line-wrap.selected{border-color:#7a5674;box-shadow:inset 3px 0 #7a5674}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) 96px 30px 28px;grid-template-areas:"main main main main" "price qty split delete" "total total total total";align-items:center;gap:7px;min-height:0;padding:7px 0}.line-main{grid-area:main;min-width:0;border:0;padding:0;color:#162033;background:transparent;text-align:left}.line-main strong,.product-info strong{display:block;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:14px}.line-main{min-height:0}.line-main strong{line-height:1.2}.line-main span,.product-info span{display:block;margin-top:4px;color:#64748b;font-size:12px;line-height:1.25}.line-price-input{grid-area:price;width:100%;height:38px;border:1px solid #cfd8df;border-radius:2px;padding:0 7px;color:#162033;background:#fff;font-size:17px;font-weight:900;text-align:right}.line-price-input:focus{border-color:#159a63;outline:0;box-shadow:0 0 0 2px #159a6324}.discount-box{display:grid;grid-template-columns:minmax(0,1fr) 64px 18px 82px;align-items:center;gap:6px;margin:0 0 8px;border:1px solid #bdc8c5;border-radius:3px;padding:7px;background:#fff}.discount-box strong,.discount-box span{display:block}.discount-box strong{color:#162033;font-size:13px}.discount-box span{margin-top:2px;color:#64748b;font-size:12px}.discount-box input{width:100%;min-width:0;height:30px;border:1px solid #dbe2ec;border-radius:8px;padding:0 8px;color:#162033;background:#fff;font-weight:900;text-align:right}.discount-unit{color:#159a63;font-size:14px;font-weight:900}.discount-box button{height:30px;border:1px solid #d6dee9;border-radius:8px;color:#263449;background:#fff;font-size:12px;font-weight:900}.qty-stepper{grid-area:qty;display:grid;grid-template-columns:24px minmax(40px,1fr) 24px;align-items:center;height:32px;overflow:hidden;border:1px solid #cfd8df;border-radius:2px}.qty-stepper button{display:flex;align-items:center;justify-content:center;width:24px;height:30px;border:0;background:#f8fafc;color:#1f2937;font-weight:900}.qty-stepper input{width:100%;min-width:0;height:30px;appearance:textfield;border:0;border-left:1px solid #dbe2ec;border-right:1px solid #dbe2ec;color:#162033;background:#fff;text-align:center;font-size:14px;font-weight:900}.qty-stepper input::-webkit-outer-spin-button,.qty-stepper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.qty-stepper input:focus{outline:0;background:#f8fafc}.line-total{grid-area:total;text-align:left;font-weight:900;font-size:16px}.split-line,.delete-line{display:flex;align-items:center;justify-content:center;width:28px;height:30px;border:0;border-radius:2px;color:#ef4444;background:#fff1f2}.split-line{grid-area:split;color:#159a63;background:#ecfdf5}.delete-line{grid-area:delete}.summary{padding:8px 12px;border-top:1px solid #cbd5d2;background:#fff}.refund-credit-banner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border-top:1px solid #a7f3d0;padding:10px 12px;color:#065f46;background:#ecfdf5}.refund-credit-banner strong,.refund-credit-banner span{display:block}.refund-credit-banner span{margin-top:2px;font-size:11px;font-weight:800}.refund-credit-balance{text-align:right}.refund-credit-banner button{min-height:32px;border:1px solid #6ee7b7;border-radius:6px;padding:0 9px;color:#065f46;background:#fff;font-weight:900}.summary div{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px;color:#475569}.summary div:last-child{margin-bottom:0}.summary strong{color:#162033}.price-collapse-toggle,.checkout-price-mode{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;margin:0;border:1px solid #c9d2d0;border-radius:2px;padding:0 10px;color:#334155;background:#fff;font-weight:900}.price-collapse-toggle span,.checkout-price-mode strong{flex:1;text-align:left}.checkout-price-mode span{flex:0 0 auto;color:#334155;font-size:18px}.price-collapse-toggle em{color:#159a63;font-size:13px;font-style:normal;white-space:nowrap}.price-collapse-toggle strong{color:#159a63;font-size:20px;line-height:1}.price-collapse-panel{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0;border:1px solid #c9d2d0;border-radius:2px;padding:8px;background:#f8fafc}.price-collapse-panel button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:56px;border:1px solid #d6dee9;border-radius:8px;padding:0 8px;color:#334155;background:#fff;font-size:15px;font-weight:900;text-align:center}.price-collapse-panel button.active{border-color:#159a63;color:#fff;background:#159a63}.summary-total{padding-top:8px;border-top:1px solid #cbd5d2;margin-bottom:6px}.summary-total span,.summary-total strong{font-size:20px;color:#0f172a}.action-grid{display:grid;grid-template-columns:1fr;gap:0;padding:0 12px 12px;background:#fff}.secondary-action,.pay-button,.confirm-button,.tool-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:8px;font-weight:900}.secondary-action{border:1px solid #d6dee9;color:#263449;background:#fff}.pay-button,.confirm-button{border:0;color:#fff;background:#7a5674}.pay-button{width:100%;min-height:52px;border-radius:2px;font-size:18px}.keypad-shell,.checkout-control-panel{border-top:1px solid #d8dfdd;background:#fff}.checkout-control-panel{padding:10px 12px 0}.keypad-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;margin-top:10px;border:1px solid #d8dfdd;border-radius:2px;color:#3f4b5e;background:#eef4f2;font-size:15px;font-weight:900}.keypad-panel{display:grid;gap:4px;padding-top:8px;background:#f5f7f6}.pos-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin-top:14px;border-top:0;border-bottom:0;background:#fff}.pos-tabs button{min-height:50px;border:0;color:#4b5563;background:transparent;font-size:16px;font-weight:800}.pos-tabs button.active{color:#10643f;background:#ecfdf5}.pos-tabs button:last-child{border-right:0}.order-note-inline{display:grid;gap:8px;margin-bottom:8px;border:1px solid #d8dfdd;border-radius:2px;padding:10px 12px;background:#ecfdf5}.order-note-inline-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-note-inline-title>div{min-width:0}.order-note-inline-title strong{display:block;color:#10643f;font-size:14px}.order-note-inline-title span{display:block;margin-top:2px;color:#4b5563;font-size:11px;font-weight:800}.order-note-inline-title button{min-height:30px;border:1px solid #bbf7d0;border-radius:6px;padding:0 10px;color:#166534;background:#fff;font-weight:900}.order-note-inline textarea{width:100%;min-height:82px;resize:vertical;border:1px solid #86efac;border-radius:8px;padding:10px;outline:0;color:#162033;background:#fff;font:inherit;font-size:14px;font-weight:800}.order-note-inline textarea:focus{border-color:#159a63;box-shadow:0 0 0 3px #159a6329}.order-actions-panel{display:grid;gap:10px;margin-bottom:8px;border:1px solid #d8dfdd;border-radius:2px;padding:10px 12px;background:#f8fafc}.order-actions-title,.order-action-section-title{display:grid;gap:3px}.order-actions-title strong,.order-action-section-title strong{color:#263449;font-size:14px;font-weight:900}.order-actions-title span,.order-action-section-title span{color:#64748b;font-size:11px;font-weight:800;line-height:1.3}.order-action-section{display:grid;gap:8px;border-top:1px solid #e2e8f0;padding-top:9px}.order-action-section .secondary-action{min-height:38px;border-radius:4px}.action-voucher-row{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:8px;align-items:center}.action-voucher-row input,.action-voucher-applied input,.action-discount-row input{min-width:0;height:38px;border:1px solid #d6dee9;border-radius:4px;padding:0 9px;color:#162033;background:#fff;font-weight:900}.action-voucher-applied{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:8px;align-items:center;border:1px solid #bbf7d0;border-radius:4px;padding:8px;background:#ecfdf5}.action-voucher-applied span{overflow:hidden;color:#166534;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.action-voucher-applied label,.action-discount-row label{display:grid;gap:4px;color:#475569;font-size:11px;font-weight:900}.action-discount-row{display:grid;grid-template-columns:minmax(0,1fr) 106px 96px;gap:8px;align-items:end}.subtle-action{color:#64748b;background:#fff}.keypad-display{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:8px;min-height:34px;color:#64748b;font-size:12px;font-weight:900}.keypad-display strong{overflow:hidden;color:#162033;text-align:right;text-overflow:ellipsis;white-space:nowrap}.pos-keypad{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:0;background:#fff}.pos-keypad button{min-height:62px;border:0;border-radius:2px;color:#475569;background:#fff;font-size:17px;font-weight:700}.pos-keypad button:nth-child(4n){border-right:0}.pos-keypad .key-action{border:1px solid #94a3b8;background:#eef2f4}.pos-keypad .key-action.active{border-color:#7a5674;color:#7a5674;background:#f7edf4}.pos-keypad .key-muted{background:#edf5ca}.pos-keypad .key-delete{color:#7f1d1d;background:#f5d6d6}.product-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #b7c3c0;border-radius:2px;background:#e0e8e5}.topbar-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding:8px 10px;border:1px solid #bfc9c6;background:#e9efed}.topbar-search-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1 1 auto;min-width:260px}.topbar-admin-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.topbar-admin-tools .icon-button{flex:0 0 auto}.employee-session{display:flex;flex-direction:column;justify-content:center;min-width:0;height:38px;padding:0 4px 0 0;color:#263449}.employee-session span,.employee-session small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-session span{font-size:13px;font-weight:900}.employee-session small{color:#64748b;font-size:11px;font-weight:700}.language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;border:1px solid #b8c4c1;border-radius:2px;padding:0 10px;color:#263449;background:#fff;font-size:12px;font-weight:900;white-space:nowrap}.settings-preferences{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px}.system-update-manager{display:grid;gap:12px;margin:0 18px 18px;border:1px solid #a7f3d0;border-radius:10px;padding:14px;background:#ecfdf5}.system-update-manager .modal-section-title{align-items:flex-start;margin:0}.system-update-manager .modal-section-title>div{display:grid;gap:4px}.system-update-manager .modal-section-title strong{color:#166534;font-size:13px;white-space:nowrap}.system-update-manager .field{margin:0}.system-update-manager .field small{color:#64748b;font-size:12px;font-weight:700}.system-update-status{display:grid;gap:8px;border:1px solid #bbf7d0;border-radius:8px;padding:10px 12px;color:#166534;background:#fff;font-size:13px;font-weight:900}.system-update-status.error{border-color:#fecaca;color:#b91c1c;background:#fff1f2}.system-update-progress{height:7px;overflow:hidden;border-radius:99px;background:#d1fae5}.system-update-progress i{display:block;height:100%;border-radius:inherit;background:#16a34a;transition:width .18s ease}.system-update-actions{display:flex;flex-wrap:wrap;gap:8px}.system-update-actions button{min-height:40px}.preference-row{display:grid;grid-template-columns:minmax(90px,auto) 1fr;align-items:center;gap:12px;min-height:54px;border:1px solid #d6dee9;border-radius:8px;padding:10px 12px;background:#f8fafc}.preference-row>span{color:#334155;font-size:13px;font-weight:900}.preference-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.preference-buttons button{min-height:34px;border:1px solid #cbd5e1;border-radius:6px;color:#334155;background:#fff;font-size:13px;font-weight:900}.preference-buttons button.active{border-color:#159a63;color:#fff;background:#159a63}.search-box{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;flex:1 1 360px;width:auto;max-width:560px;height:40px;padding:0 11px;border:0;border:1px solid #bfc9c6;border-radius:2px;color:#64748b;background:#f4f7fb}.search-box input{height:36px;border:0;background:transparent}.tool-button,.icon-tool{border:1px solid #d6dee9;color:#263449;background:#fff}.icon-tool{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:3px}.category-tabs{position:relative;z-index:5;display:flex;flex:0 0 auto;align-items:center;gap:6px;overflow-x:auto;overflow-y:visible;min-height:58px;padding:8px;border-bottom:1px solid #bfc9c6;background:#d9e1df}.category-tabs button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:max-content;height:48px;border:1px solid #bfc9d6;border-radius:2px;padding:0 18px;color:#202a39;background:color-mix(in srgb,var(--category-color, #dbeafe) 52%,#ffffff);font-size:16px;font-weight:900;box-shadow:inset 0 1px #ffffffb3;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease,filter .14s ease}.category-tabs button:hover{z-index:15;border-color:#083344;filter:saturate(1.12);transform:translateY(-3px);box-shadow:0 12px 24px #0f172a38,inset 0 1px #ffffffbf;outline:3px solid rgba(20,184,166,.3);outline-offset:2px}.category-tabs button.active{border-color:#1f2937;color:#111827;background:color-mix(in srgb,var(--category-color, #facc15) 78%,#ffffff)}.product-pagination{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px;min-height:42px;padding:6px 8px;border-bottom:1px solid #bfc9c6;color:#475569;background:#eef4f2;font-size:12px;font-weight:900}.product-pagination label{display:inline-flex;align-items:center;gap:6px}.product-pagination select,.product-pagination button{height:30px;border:1px solid #cbd5e1;border-radius:4px;color:#263449;background:#fff;font-size:12px;font-weight:900}.product-pagination select{min-width:68px;padding:0 8px}.product-pagination button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:82px;padding:0 9px}.product-pagination button:disabled{opacity:.48}.product-pagination strong{min-width:54px;color:#162033;text-align:center}.product-grid{display:grid;flex:1 1 auto;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:118px;align-content:start;gap:6px;min-height:0;overflow:auto;max-height:none;padding:6px 8px 96px;scroll-padding-bottom:96px;background:#d9e1df}.product-tile{position:relative;display:grid;grid-template-rows:minmax(39px,1fr) 23px 31px;align-content:start;min-width:0;min-height:118px;overflow:hidden;border:1px solid color-mix(in srgb,var(--tile-color, #93c5fd) 70%,#6b7280);border-radius:2px;padding:5px 6px;text-align:center;color:#111827;background:color-mix(in srgb,var(--tile-color, #93c5fd) 55%,#ffffff);box-shadow:inset 0 1px #ffffffa6;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease,filter .14s ease}.product-tile:hover{z-index:20;border-color:#083344;filter:saturate(1.12);transform:translateY(-3px);box-shadow:0 12px 24px #0f172a3d,inset 0 1px #ffffffbf;outline:3px solid rgba(20,184,166,.32);outline-offset:2px}.product-floating-preview{pointer-events:none;position:fixed;z-index:80;width:132px;height:96px;overflow:hidden;border:2px solid #0f172a;border-radius:6px;background:#fff;box-shadow:0 16px 34px #0f172a4d;transform:translate(-50%) scale(1)}.product-floating-preview img{width:100%;height:100%;object-fit:cover;display:block}.product-image-placeholder{display:grid;grid-template-rows:1fr auto;align-items:center;justify-items:center;width:100%;height:100%;padding:12px;color:#0f172a;background:linear-gradient(135deg,color-mix(in srgb,var(--tile-color, #93c5fd) 72%,#ffffff),#fff)}.product-image-placeholder strong{display:grid;place-items:center;width:42px;height:42px;border-radius:999px;color:#fff;background:#0f172a;font-size:22px;font-weight:900}.product-image-placeholder span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155;font-size:11px;font-weight:900}.product-tile.low-stock{border-color:#fb7185;background:#fecdd3}.product-tile.universal-tile{border-color:#7a5674;background:#f1e6ef}.product-tile.universal-tile .product-name:before{content:"+ ";color:#7a5674}.product-name{display:-webkit-box;overflow:hidden;color:#0f172a;font-size:11px;font-weight:900;line-height:1.05;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3;white-space:normal;word-break:break-word}.product-details{display:grid;grid-template-rows:1fr 1fr;gap:0;overflow:hidden;color:#334155;font-size:8px;font-weight:800;line-height:1.02}.product-details span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-bottom{display:grid;grid-template-rows:auto auto;gap:0;overflow:hidden;color:#263449;font-size:8px;font-weight:800}.product-bottom strong{color:#0f172a;font-size:13px;font-weight:900;line-height:1.02}.product-bottom span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.02}.activity-panel{display:none;flex-direction:column;gap:12px}.activity-card{border:1px solid #d8dee8;border-radius:8px;background:#fff;padding:14px}.activity-title{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-weight:900}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dashboard-grid div{border:1px solid #edf0f4;border-radius:8px;padding:10px;background:#f8fafc}.dashboard-grid span,.low-stock-list span{display:block;color:#64748b;font-size:12px;font-weight:800}.dashboard-grid strong{display:block;margin-top:4px;color:#0f172a}.low-stock-list{margin-top:10px;border-top:1px solid #edf0f4}.low-stock-list div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #edf0f4}.low-stock-list strong{color:#b45309}.sale-row{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;padding:11px 0;border:0;border-top:1px solid #edf0f4;color:#162033;background:transparent;text-align:left}.sale-row:hover{color:#159a63}.sale-row.refund-row,.member-history-row.refund-row{color:#9f1239}.sale-row strong,.sale-row span{display:block}.sale-row strong{font-size:13px}.sale-row span{margin-top:3px;color:#64748b;font-size:12px}.success-card{display:grid;grid-template-columns:auto 1fr;gap:10px;color:#10643f;background:#e8fbf1}.success-card span{display:block;margin-top:2px;color:#18724b;font-size:12px}.status-panel{display:flex;min-height:320px;align-items:center;justify-content:center;color:#64748b;font-weight:800}.status-panel.error{color:#b91c1c}.modal-backdrop{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a7a}.modal{width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #d8dee8;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f172a3d}.standalone-admin-page{width:100vw;min-height:100vh;color:#162033;background:#f4f7f6}.standalone-modal-shell{width:100vw;min-height:100vh;background:transparent}.modal.standalone-panel{width:100vw;height:100vh;max-height:100vh;border:0;border-radius:0;box-shadow:none}.modal.standalone-panel>header{position:sticky;top:0;z-index:8;background:#fff}.inventory-modal.standalone-panel>header{align-items:center;min-height:48px;padding:8px 14px}.inventory-modal.standalone-panel>header h2{font-size:18px}.inventory-modal.standalone-panel>header p{display:none}.inventory-modal.standalone-panel>header .icon-button{width:36px;height:36px}.standalone-sales-history-page{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}.standalone-sales-history-page .dashboard-kpi-grid,.standalone-sales-history-page .sales-trend-panel,.standalone-sales-history-page .dashboard-layout>.dashboard-card-panel:not(.dashboard-sales-history){display:none}.standalone-sales-history-page .dashboard-layout{display:block;flex:1 1 auto;min-height:0;padding:14px;overflow:hidden}.standalone-sales-history-page .dashboard-sales-history{display:flex;flex-direction:column;height:100%;min-height:0;padding:10px}.standalone-sales-history-page .sales-history-table-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow:auto}.standalone-sales-history-page .dashboard-history-pager{flex:0 0 auto}.standalone-sales-history-page .dashboard-history-header{display:none}.standalone-sales-history-page .dashboard-history-toolbar{grid-template-columns:minmax(300px,1fr) 160px 160px 126px 108px;gap:6px;margin-bottom:6px}.standalone-sales-history-page .dashboard-history-toolbar label{gap:1px}.standalone-sales-history-page .dashboard-history-toolbar input,.standalone-sales-history-page .dashboard-history-toolbar select,.standalone-sales-history-page .dashboard-history-toolbar button{height:32px;border-radius:6px;padding:0 8px;font-size:12px}.standalone-sales-history-page .dashboard-history-summary{gap:5px;margin-bottom:6px}.standalone-sales-history-page .dashboard-history-summary span{padding:3px 7px;font-size:11px}.modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #edf0f4}.modal h2{font-size:22px;letter-spacing:0}.modal p{margin-top:5px;color:#64748b;font-size:13px}.payment-modal,.settings-modal,.universal-modal{padding-bottom:18px}.sale-detail-modal{width:min(620px,100%);padding-bottom:18px}.sale-detail-title-group{display:grid;gap:8px}.back-to-recent-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:fit-content;min-height:34px;border:1px solid #d6dee9;border-radius:6px;padding:0 10px;color:#263449;background:#f8fafc;font-size:13px;font-weight:900}.back-to-recent-button:hover{border-color:#159a63;color:#10643f;background:#ecfdf5}.member-modal{width:min(1040px,100%)}.member-layout{display:grid;grid-template-columns:300px 1fr;min-height:620px}.member-list-panel{overflow:hidden;border-right:1px solid #edf0f4;padding:10px;background:#fbfcfe}.member-new-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;border:1px solid #159a63;border-radius:8px;color:#10643f;background:#ecfdf5;font-weight:900}.member-search{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;height:40px;margin-top:10px;border:1px solid #d6dee9;border-radius:8px;padding:0 10px;color:#64748b;background:#fff}.member-search input{width:100%;min-width:0;height:38px;border:0;outline:0;background:transparent}.member-list{overflow:auto;max-height:520px;margin-top:10px}.member-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:58px;border:1px solid transparent;border-radius:8px;padding:8px 10px;color:#263449;background:transparent;text-align:left}.member-list button.active,.member-new-button.active{border-color:#d6dee9;background:#f1f5f9}.member-list span,.member-history-row span{min-width:0}.member-list strong,.member-list small,.member-history-row strong,.member-history-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-list strong,.member-history-row strong{color:#162033}.member-list small,.member-history-row small{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.member-list b{color:#159a63;font-size:13px}.member-list-empty{display:flex;align-items:center;justify-content:center;min-height:120px;color:#64748b;font-weight:800}.member-workspace{overflow:auto;max-height:calc(100vh - 120px);padding:18px 0}.member-form-grid{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:0}.member-form-grid .wide{grid-column:1 / -1}.member-recipient-section{margin:0 18px 16px;border:1px solid #dbe2ec;border-radius:8px;overflow:hidden;background:#fff}.member-recipient-title{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #edf0f4;background:#f8fafc}.member-recipient-title h3{margin:0;color:#162033;font-size:15px}.member-recipient-title span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800}.member-recipient-title .secondary-action{width:100%;min-height:38px;margin:0}.member-recipient-list{display:grid;gap:10px;padding:12px}.member-recipient-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) minmax(220px,1.6fr) minmax(160px,1.2fr) 70px;gap:8px;align-items:end}.member-recipient-row label{display:grid;gap:5px}.member-recipient-row span{color:#64748b;font-size:12px;font-weight:900}.member-recipient-row input{min-width:0;height:38px;border:1px solid #d6dee9;border-radius:7px;padding:0 9px;color:#162033;background:#fff;font-weight:800}.member-recipient-row .danger-mini{height:38px;border:1px solid #fecdd3;border-radius:7px;color:#b91c1c;background:#fff1f2;font-size:12px;font-weight:900}.member-recipient-empty{display:flex;align-items:center;min-height:44px;color:#64748b;font-weight:800}.member-form-actions{display:grid;grid-template-columns:1fr 150px 88px;gap:10px;padding:0 18px 16px}.member-form-actions .confirm-button,.member-form-actions .secondary-action,.member-form-actions .danger-button{width:100%;min-height:44px;margin:0}.member-history{margin-top:6px;border-top:1px solid #edf0f4;padding-top:16px}.member-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 18px 16px}.member-summary-grid div{border:1px solid #dbe2ec;border-radius:8px;padding:12px;background:#f8fafc}.member-summary-grid span{display:block;color:#64748b;font-size:12px;font-weight:800}.member-summary-grid strong{display:block;overflow:hidden;margin-top:5px;color:#0f172a;text-overflow:ellipsis;white-space:nowrap}.member-history-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 18px}.member-history-columns section{min-width:0;border:1px solid #dbe2ec;border-radius:8px;overflow:hidden;background:#fff}.member-history-columns h4{margin:0;padding:11px 12px;border-bottom:1px solid #edf0f4;color:#334155;font-size:14px}.member-history-columns p{padding:18px 12px;color:#64748b;font-weight:800}.member-points-ledger{margin:14px 18px 0;border:1px solid #dbe2ec;border-radius:8px;overflow:hidden;background:#fff}.member-points-ledger h4{margin:0;padding:11px 12px;border-bottom:1px solid #edf0f4;color:#334155;font-size:14px}.member-points-ledger p{padding:18px 12px;color:#64748b;font-weight:800}.member-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:58px;border:0;border-bottom:1px solid #edf0f4;padding:9px 12px;color:#162033;background:#fff;text-align:left}button.member-history-row:hover{color:#159a63;background:#f8fafc}.member-history-row:last-child{border-bottom:0}.member-history-row b{font-size:13px}.member-history-empty{display:flex;align-items:center;justify-content:center;gap:10px;min-height:180px;margin:18px;border:1px dashed #d6dee9;border-radius:8px;color:#64748b;background:#f8fafc;font-weight:800}.sale-detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 18px 0}.sale-detail-meta div{border:1px solid #dbe2ec;border-radius:8px;padding:12px;background:#f8fafc}.sale-detail-meta span,.sale-detail-summary span{display:block;color:#64748b;font-size:12px;font-weight:800}.sale-detail-meta strong{display:block;margin-top:4px}.sale-detail-edit-panel{margin:14px 18px 0;border:1px solid #dbe2ec;border-radius:8px;background:#fff}.sale-detail-edit-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #edf0f4}.sale-detail-edit-title h3,.sale-detail-edit-title span{margin:0}.sale-reprint-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.sale-reprint-button{min-height:38px;padding:0 12px;white-space:nowrap}.sale-detail-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.sale-detail-edit-actions{display:flex;justify-content:flex-end;padding:0 12px 12px}.sale-detail-edit-actions .confirm-button{min-height:40px;padding:0 16px}.sale-detail-edit-error,.sale-detail-note-field{margin:0 12px 12px}.completed-sale-item-editor{display:grid;gap:10px;margin:0 12px 12px;border:1px solid #dbe2ec;border-radius:8px;padding:12px;background:#f8fafc}.completed-sale-item-editor .modal-section-title{margin:0}.completed-sale-item-list{display:grid;gap:8px}.completed-sale-item-row{display:grid;grid-template-columns:minmax(180px,1fr) 120px 140px 40px;align-items:end;gap:8px;border:1px solid #e2e8f0;border-radius:7px;padding:9px;background:#fff}.completed-sale-item-name{display:grid;align-self:center;gap:3px;min-width:0}.completed-sale-item-name strong,.completed-sale-item-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.completed-sale-item-name small,.completed-sale-item-row label>span{color:#64748b;font-size:11px;font-weight:800}.completed-sale-item-row label{display:grid;gap:4px}.completed-sale-item-row input,.completed-sale-add-item select{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:0 9px;background:#fff}.completed-sale-add-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.sale-edit-restricted{display:flex;align-items:center;gap:9px;margin:12px;border:1px solid #fbbf24;border-radius:8px;padding:12px;color:#92400e;background:#fffbeb;font-weight:800}.sale-gross-margin-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 18px 0;border:1px solid #c7d2fe;border-radius:8px;padding:12px;background:#eef2ff}.sale-gross-margin-panel>div{border-radius:7px;padding:10px;background:#fff}.sale-gross-margin-panel span{display:block;color:#64748b;font-size:12px;font-weight:800}.sale-gross-margin-panel strong{display:block;margin-top:5px;color:#172554;font-size:18px}.gross-margin-explanation{grid-column:1 / -1;margin:0;border-radius:7px;padding:10px 12px;color:#1e3a8a;background:#dbeafe;font-size:13px;font-weight:800;line-height:1.55}.gross-margin-warning{grid-column:1 / -1;margin:0;border-radius:7px;padding:9px 10px;color:#991b1b;background:#fee2e2;font-size:12px;font-weight:800}.gross-margin-warning.estimated{color:#92400e;background:#fef3c7}.gross-margin-cost-saved{grid-column:1 / -1;margin:0;border-radius:7px;padding:9px 10px;color:#166534;background:#dcfce7;font-size:12px;font-weight:800}.gross-margin-load-error{margin:14px 18px 0}.sale-note-box{display:grid;gap:5px;margin:12px 18px 0;border:1px solid #b7e4ce;border-radius:8px;padding:12px;color:#14532d;background:#ecfdf5}.sale-note-box span{color:#334155;font-size:13px;font-weight:700}.sale-detail-items{margin:18px;border:1px solid #dbe2ec;border-radius:8px;overflow:hidden}.sale-detail-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #edf0f4}.sale-detail-item:last-child{border-bottom:0}.sale-detail-item.missing-cost{align-items:start;border-left:4px solid #ef4444;background:#fff7f7}.sale-detail-item-financials{display:grid;justify-items:end;gap:8px}.sale-item-cost{display:block;margin-top:7px;color:#166534;font-size:12px;font-weight:900}.sale-item-cost.estimated{color:#92400e}.missing-cost-editor{display:grid;gap:6px;width:205px;border:1px solid #fecaca;border-radius:7px;padding:9px;background:#fff}.missing-cost-editor>strong{color:#b91c1c;font-size:12px}.missing-cost-editor label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px}.missing-cost-editor label span{margin:0;color:#64748b;font-size:11px;white-space:nowrap}.missing-cost-editor input{width:100%;min-width:0;height:34px;border:1px solid #fca5a5;border-radius:6px;padding:0 8px;color:#162033;background:#fff;font-weight:900;text-align:right}.missing-cost-editor button{min-height:34px;border:0;border-radius:6px;padding:0 10px;color:#fff;background:#b91c1c;font-weight:900}.missing-cost-editor button:disabled{opacity:.6}.sale-detail-item strong,.sale-detail-item span{display:block}.sale-detail-item span{margin-top:4px;color:#64748b;font-size:12px}.sale-detail-summary{margin:0 18px;border-top:1px solid #dbe2ec;padding-top:12px}.sale-detail-summary div{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.sale-detail-total{border-top:1px solid #dbe2ec;padding-top:10px}.sale-detail-total span,.sale-detail-total strong{color:#0f172a;font-size:22px}.refund-panel{margin:18px;border:1px solid #fecdd3;border-radius:8px;overflow:hidden;background:#fff7f8}.refund-panel .modal-section-title{padding:12px;border-bottom:1px solid #fecdd3}.refund-history,.refund-items{margin:12px;border:1px solid #ffd6dc;border-radius:8px;overflow:hidden;background:#fff}.refund-history-row,.refund-item-row{display:grid;grid-template-columns:minmax(0,1fr) 118px;align-items:center;gap:12px;width:100%;min-height:52px;border:0;border-bottom:1px solid #ffe4e8;padding:10px 12px;color:#162033;background:transparent;text-align:left}.refund-history-row:last-child,.refund-item-row:last-child{border-bottom:0}.refund-history-row strong,.refund-history-row small,.refund-item-row strong,.refund-item-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.refund-history-row small,.refund-item-row span{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.refund-item-row input{width:100%;height:38px;border:1px solid #d6dee9;border-radius:8px;padding:0 10px;color:#162033;background:#fff;font-weight:900;text-align:center}.refund-total{display:flex;align-items:center;justify-content:space-between;margin:0 18px 12px;border-top:1px solid #fecdd3;padding-top:12px}.refund-total span{color:#64748b;font-size:13px;font-weight:900}.refund-total strong{color:#9f1239;font-size:22px}.refund-submit{width:calc(100% - 36px);margin:0 18px 16px}.refund-transfer-box{display:grid;gap:8px;margin:0 18px 18px;border-top:1px solid #fecdd3;padding-top:14px}.refund-transfer-box>span{color:#64748b;font-size:12px;font-weight:800}.refund-transfer-box .confirm-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%}.refund-offset-resume{padding-bottom:14px;border-color:#a7f3d0;background:#ecfdf5}.refund-offset-resume .modal-section-title{border-color:#a7f3d0}.refund-offset-resume .confirm-button{display:flex;align-items:center;justify-content:center;gap:8px;width:calc(100% - 24px);margin:12px}.refund-empty{margin:12px}.payment-total{margin:18px 18px 14px;padding:22px;border-radius:8px;text-align:center;color:#fff;background:#162033;font-size:38px;font-weight:900}.payment-refund-credit{display:grid;gap:10px;margin:0 18px 14px;border:1px solid #a7f3d0;border-radius:8px;padding:12px;color:#065f46;background:#ecfdf5}.payment-refund-credit>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-refund-credit label{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:10px;font-size:12px;font-weight:900}.payment-refund-credit select{height:38px;border:1px solid #6ee7b7;border-radius:6px;padding:0 8px;color:#064e3b;background:#fff;font-weight:900}.recent-sales-modal{width:min(980px,100%);padding-bottom:18px}.dashboard-modal{width:min(1180px,100%);padding-bottom:18px}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:18px 18px 0}.dashboard-kpi-grid div,.dashboard-card-panel{border:1px solid #dbe2ec;border-radius:8px;background:#f8fafc}.dashboard-kpi-grid div{padding:14px}.dashboard-kpi-grid span{display:block;color:#64748b;font-size:12px;font-weight:900}.dashboard-kpi-grid strong{display:block;margin-top:4px;color:#162033;font-size:22px}.dashboard-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:12px;padding:18px;align-items:start}.dashboard-card-panel{min-width:0;padding:14px}.dashboard-card-panel h3{margin:0 0 12px;font-size:16px}.sales-trend-panel,.dashboard-stock-panel,.dashboard-sales-history{grid-column:1 / -1}.dashboard-stock-panel .dashboard-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.trend-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:10px;min-height:220px}.trend-bar-cell{display:grid;grid-template-rows:1fr auto auto;gap:6px;min-width:0;height:100%;border:0;padding:0;color:inherit;background:transparent;text-align:center;cursor:pointer}.trend-bar-track{display:flex;align-items:end;justify-content:center;min-height:150px;border:1px solid #e2e8f0;border-radius:8px;padding:6px;background:#fff}.trend-bar-cell:hover .trend-bar-track,.trend-bar-cell.active .trend-bar-track{border-color:#159a63;box-shadow:0 10px 26px #159a6324}.trend-bar-cell.active strong{color:#159a63}.trend-bar-track span{display:block;width:100%;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#159a63,#86efac)}.trend-bar-cell strong,.trend-bar-cell small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trend-bar-cell small{color:#64748b;font-size:11px;font-weight:800}.payment-chart-list,.top-products-chart,.dashboard-list{display:grid;gap:10px}.payment-chart-row,.top-product-row{display:grid;gap:7px}.payment-chart-row>div:first-child,.dashboard-list-row,.dashboard-sale-row,.top-product-row>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.payment-chart-row strong,.top-product-row strong,.dashboard-list-row strong,.dashboard-sale-row strong,.payment-chart-row span,.top-product-row small,.dashboard-list-row small,.dashboard-sale-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-chart-row span,.top-product-row small,.dashboard-list-row small,.dashboard-sale-row small{color:#64748b;font-size:12px;font-weight:800}.payment-progress,.top-product-bar{height:10px;overflow:hidden;border-radius:999px;background:#e2e8f0}.payment-progress span,.top-product-bar span{display:block;height:100%;border-radius:inherit;background:#7a5674}.top-product-bar span{background:#38bdf8}.dashboard-list-row,.dashboard-sale-row{width:100%;min-height:46px;border:1px solid #e2e8f0;border-radius:8px;padding:9px 10px;color:#162033;background:#fff;text-align:left}.dashboard-sale-row:hover{border-color:#159a63;box-shadow:0 8px 24px #159a631f}.dashboard-card-panel p{color:#64748b;font-weight:800}.dashboard-day-detail{margin-top:16px;border-top:1px solid #e2e8f0;padding-top:14px}.dashboard-day-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-bottom:10px}.dashboard-day-title h3{margin-bottom:4px}.dashboard-day-title span{color:#64748b;font-size:12px;font-weight:800}.dashboard-day-title strong{color:#162033;font-size:22px}.dashboard-day-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.dashboard-day-kpis div,.dashboard-day-columns section,.dashboard-day-sales{border:1px solid #e2e8f0;border-radius:8px;background:#fff}.dashboard-day-kpis div{padding:10px}.dashboard-day-kpis span{display:block;color:#64748b;font-size:11px;font-weight:900}.dashboard-day-kpis strong{display:block;margin-top:3px;color:#162033;font-size:18px}.dashboard-day-columns{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}.dashboard-day-columns section,.dashboard-day-sales{min-width:0;padding:12px}.dashboard-day-columns h4,.dashboard-day-sales h4{margin:0 0 10px;font-size:14px}.payment-chart-row.compact{margin-bottom:10px}.dashboard-detail-list{display:grid;gap:8px;max-height:300px;overflow:auto}.dashboard-day-sales{margin-top:10px}.dashboard-history-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;margin-bottom:12px}.dashboard-history-header h3{margin-bottom:4px}.dashboard-history-header strong{color:#162033;font-size:24px}.dashboard-history-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(190px,.72fr) minmax(190px,.72fr) 145px 120px;align-items:end;gap:8px;margin-bottom:10px}.dashboard-history-toolbar label{display:grid;gap:3px}.dashboard-history-toolbar label span{color:#64748b;font-size:11px;font-weight:900}.dashboard-history-toolbar input,.dashboard-history-toolbar select,.dashboard-history-toolbar button{width:100%;min-width:0;height:38px;border:1px solid #d6dee9;border-radius:7px;padding:0 10px;color:#162033;background:#fff;font-size:13px;font-weight:800}.dashboard-history-toolbar button{color:#fff;background:#7a5674}.dashboard-history-toolbar button:disabled{opacity:.55}.dashboard-history-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.dashboard-history-summary span{border:1px solid #e2e8f0;border-radius:999px;padding:5px 9px;color:#475569;background:#fff;font-size:12px;font-weight:900}.sales-history-table-wrap{max-height:420px;overflow:auto;border:1px solid #dfe5ed;border-radius:8px;background:#fff}.sales-history-table{min-width:1180px;color:#2f3a4a;font-size:11px}.sales-history-table-row{display:grid;grid-template-columns:110px 70px 126px 106px 118px minmax(110px,.8fr) 86px 74px 92px 62px 78px minmax(210px,1.2fr);align-items:center;gap:0}.sales-history-table-row>span{min-width:0;overflow:hidden;padding:4px 7px;text-overflow:ellipsis;white-space:nowrap}.sales-history-head{position:sticky;top:0;z-index:2;min-height:28px;border-bottom:1px solid #dfe5ed;color:#4b5563;background:#f5f7fa;font-size:10px;font-weight:900}.sales-history-group-row,.sales-history-price-row{display:flex;align-items:center;gap:6px;min-height:24px;border-bottom:1px solid #eef2f7;padding:0 7px;background:#fbfcfe}.sales-history-price-row{padding-left:22px;background:#fff}.sales-history-toggle{width:13px;flex:0 0 13px;color:#64748b;font-size:12px;line-height:1}.sales-history-group-row strong,.sales-history-price-row strong{color:#1f2937;font-size:11px}.sales-history-group-row small,.sales-history-price-row small{color:#64748b;font-size:10px;font-weight:800}.sales-history-order-row{width:100%;min-height:26px;border:0;border-bottom:1px solid #eef2f7;color:#263449;background:#fff;text-align:left;cursor:pointer}.sales-history-order-row:hover{background:#f0fdf4}.sales-history-order-row.refund-row{color:#9f1239}.sales-history-order-row .money-cell{text-align:right;font-variant-numeric:tabular-nums}.sales-status{display:inline-flex;align-items:center;justify-content:center;min-width:46px;border-radius:999px;padding:2px 7px;color:#475569;background:#e2e8f0;font-size:10px;font-weight:900}.sales-status.posted{color:#fff;background:#16a34a}.sales-history-empty{padding:18px;color:#64748b;font-weight:900}.dashboard-history-pager{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}.dashboard-history-pager button{min-width:96px;height:32px;border:1px solid #d6dee9;border-radius:7px;color:#263449;background:#fff;font-weight:900}.dashboard-history-pager button:disabled{opacity:.48}.recent-sales-list{display:grid;gap:8px;max-height:min(640px,calc(100vh - 180px));overflow:auto;padding:0 18px 18px}.recent-sales-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 150px 150px 140px;gap:10px;padding:0 18px 14px}.recent-sales-toolbar input,.recent-sales-toolbar select,.recent-sales-toolbar button{width:100%;min-width:0;height:42px;border:1px solid #d6dee9;border-radius:8px;padding:0 11px;color:#162033;background:#fff;font-weight:800}.recent-sales-toolbar button{border-color:#159a63;color:#fff;background:#159a63}.recent-sale-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:62px;border:1px solid #dbe2ec;border-radius:8px;padding:10px 12px;color:#162033;background:#fff;text-align:left}.recent-sale-card:hover{border-color:#159a63;box-shadow:0 8px 24px #159a6324}.recent-sale-card strong,.recent-sale-card small,.recent-sale-card em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-sale-card small,.recent-sale-card em{margin-top:3px;color:#64748b;font-size:12px;font-style:normal;font-weight:700}.recent-sale-card b{font-size:17px}.voucher-box{display:grid;gap:10px;margin:0 18px 14px;border:1px solid #dbe2ec;border-radius:8px;padding:12px;background:#f8fafc}.voucher-box-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.voucher-box-title span{color:#64748b;font-size:12px;font-weight:800}.voucher-entry{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:10px;align-items:end}.voucher-entry .field{margin:0}.voucher-entry .secondary-action{min-height:42px}.voucher-apply-row{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:10px;border-top:1px solid #e2e8f0;padding-top:10px}.voucher-apply-row>span{color:#64748b;font-weight:800}.compact-money-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;color:#475569;font-size:13px;font-weight:900}.compact-money-field input{min-width:0;height:38px;border:1px solid #d6dee9;border-radius:8px;padding:0 10px;color:#162033;background:#fff;font-weight:900}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 18px 14px}.payment-methods{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-mode-toggle{grid-template-columns:repeat(2,minmax(0,1fr))}.split-payment-box{display:grid;gap:10px;margin:0 18px 14px;border:1px solid #dbe2ec;border-radius:8px;padding:12px;background:#f8fafc}.split-payment-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 34px;align-items:center;gap:8px}.split-payment-row select,.split-payment-row input{min-width:0;height:38px;border:1px solid #d6dee9;border-radius:8px;padding:0 10px;color:#162033;background:#fff;font-weight:900}.split-payment-row input{text-align:right}.split-payment-row small{grid-column:1 / -1;min-height:14px;color:#64748b;font-size:12px;font-weight:800}.split-payment-box .secondary-action{width:100%}.segmented button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;border:1px solid #d6dee9;border-radius:8px;background:#fff;font-weight:900}.segmented button.active{border-color:#159a63;color:#fff;background:#159a63}.field{display:flex;flex-direction:column;gap:7px;margin:0 18px 14px}.field span{color:#475569;font-size:13px;font-weight:800}.field input,.field select{height:42px;padding:0 11px}.change-box{display:flex;align-items:center;justify-content:space-between;margin:0 18px 14px;padding:13px 14px;border-radius:8px;background:#f8fafc}.change-box strong{font-size:22px}.rmb-received-box{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:12px;margin:0 18px 14px;padding:10px 14px;border-radius:8px;background:#f8fafc}.rmb-received-box span{color:#475569;font-weight:800}.rmb-received-box input{width:100%;height:42px;border:1px solid #d6dee9;border-radius:8px;padding:0 11px;color:#162033;background:#fff;font-size:18px;font-weight:900;text-align:right}.form-error{margin:0 18px 14px;color:#b91c1c;font-weight:800}.confirm-button{width:calc(100% - 36px);margin:0 18px}.payment-action-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;margin:0 18px}.payment-action-row .secondary-action,.payment-action-row .confirm-button{width:100%;margin:0}.settings-modal{width:min(960px,100%)}.settings-divider{height:1px;margin:20px 18px 18px;background:#edf0f4}.category-manager,.register-close-manager{padding-bottom:18px}.register-only-panel .settings-preferences,.register-only-panel>.field,.register-only-panel .daily-report-email-manager,.register-only-panel .database-manager,.register-only-panel .voucher-manager,.register-only-panel .audit-log-manager,.register-only-panel .employee-manager,.register-only-panel .category-manager,.register-only-panel>.confirm-button,.register-only-panel>.settings-divider{display:none}.register-only-panel .register-close-manager{padding:18px}.register-only-panel .register-close-manager .modal-section-title{margin:0 0 14px}.daily-report-email-manager{padding-bottom:18px}.daily-report-email-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 18px 14px}.daily-report-email-grid .field,.daily-report-email-grid .preference-row{margin:0}.daily-report-email-grid .preference-row{min-height:42px}.daily-report-email-hint{align-self:center;color:#64748b;font-size:12px;font-weight:800;line-height:1.45}.voucher-manager,.database-manager{padding-bottom:18px}.database-transfer-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 18px}.database-transfer-card{display:grid;gap:9px;align-content:start;min-width:0;border:1px solid #dbe2ec;border-radius:8px;padding:14px;background:#fbfcfe}.database-transfer-card strong{color:#162033;font-size:15px}.database-transfer-card span{min-height:36px;color:#64748b;font-size:12px;font-weight:800;line-height:1.45}.database-transfer-card button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;margin:0}.voucher-create-row{display:grid;grid-template-columns:minmax(150px,1fr) 150px minmax(180px,1.2fr) 150px;gap:10px;align-items:end;padding:0 18px 14px}.voucher-create-row .field{margin:0}.voucher-create-row .secondary-action{min-height:42px}.voucher-list{max-height:280px;overflow:auto;margin:0 18px;border:1px solid #dbe2ec;border-radius:8px;background:#fff}.voucher-list p{padding:18px 12px;color:#64748b;font-weight:800}.voucher-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;border-bottom:1px solid #edf0f4;padding:10px 12px}.voucher-row:last-child{border-bottom:0}.voucher-row strong,.voucher-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voucher-row small{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.voucher-row b{color:#162033;font-size:14px}.register-close-toolbar{display:grid;grid-template-columns:150px minmax(240px,1fr) 140px 140px 170px;gap:10px;padding:0 18px 14px}.register-close-toolbar .secondary-action,.register-close-toolbar .confirm-button,.register-close-toolbar input,.register-close-toolbar select{width:100%;min-height:42px;border:1px solid #d6dee9;border-radius:8px;padding:0 11px;color:#162033;background:#fff;font-weight:800;margin:0}.register-order-list{max-height:430px;overflow:auto;margin:0 18px 14px;border:1px solid #dfe5ed;border-radius:8px;background:#fff}.register-sales-table{min-width:1280px}.register-payment-order-list{display:grid;background:#f8fafc}.register-payment-summary{border-bottom:1px solid #edf0f4}.register-payment-summary:last-child{border-bottom:0}.register-payment-summary .register-report-row{border-bottom:0}.register-payment-summary.expanded .register-report-row{background:#f8fafc}.register-payment-summary-toggle{width:100%;grid-template-columns:auto minmax(0,1fr) auto;border:0;color:inherit;background:#fff;text-align:left;cursor:pointer}.register-payment-summary-toggle:hover{background:#f0fdf4}.register-payment-chevron{color:#64748b;transition:transform .16s ease}.register-payment-summary.expanded .register-payment-chevron{transform:rotate(90deg)}.register-payment-order{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;border:0;border-top:1px solid #eef2f7;padding:9px 12px 9px 38px;color:#263449;background:#fff;text-align:left}.register-payment-order:hover{background:#f0fdf4}.register-payment-order.refund-row{color:#9f1239}.register-payment-order span{min-width:0}.register-payment-order strong,.register-payment-order small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.register-payment-order .register-payment-order-items{color:#94a3b8}.register-payment-order small{margin-top:2px;color:#64748b;font-size:12px;font-weight:700}.register-payment-order b{font-variant-numeric:tabular-nums}.register-payment-order-financials{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,3vw,54px);white-space:nowrap}.register-payment-order-profit{color:#15803d;font-size:13px;font-weight:850;font-variant-numeric:tabular-nums}.register-payment-order-profit.estimated{color:#a16207}.register-payment-order-profit.incomplete{color:#b45309}.register-payment-order-profit.negative{color:#be123c}.register-summary-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:0 18px 14px}.register-summary-grid div{min-width:0;border:1px solid #dbe2ec;border-radius:8px;padding:11px 12px;background:#f8fafc}.register-summary-grid span{display:block;color:#64748b;font-size:12px;font-weight:800}.register-summary-grid strong{display:block;overflow:hidden;margin-top:5px;color:#0f172a;text-overflow:ellipsis;white-space:nowrap}.register-report-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 18px 14px}.compact-register-reports{grid-template-columns:.9fr 1.1fr}.register-report-columns section,.register-products-sold{min-width:0;border:1px solid #dbe2ec;border-radius:8px;overflow:hidden;background:#fff}.register-products-sold{margin:0 18px;max-height:360px;overflow:auto}.register-report-columns h4,.register-products-sold h4{margin:0;padding:11px 12px;border-bottom:1px solid #edf0f4;color:#334155;font-size:14px}.register-report-columns p,.register-products-sold p{padding:18px 12px;color:#64748b;font-weight:800}.register-report-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;border-bottom:1px solid #edf0f4;padding:9px 12px}.register-report-row.register-payment-summary-toggle{grid-template-columns:auto minmax(0,1fr) auto}.register-report-row:last-child{border-bottom:0}.register-report-row span{min-width:0}.register-report-row strong,.register-report-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.register-report-row strong{color:#162033}.register-report-row small{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.register-report-row b{color:#162033;font-size:13px}.audit-log-manager{padding-bottom:18px}.audit-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;padding:0 18px 14px}.audit-toolbar input{min-width:0;height:42px;border:1px solid #d6dee9;border-radius:8px;padding:0 12px;color:#162033;font-size:14px;font-weight:800}.audit-toolbar .secondary-action{width:100%;min-height:42px;margin:0}.audit-log-list{max-height:360px;overflow:auto;margin:0 18px;border:1px solid #dbe2ec;border-radius:8px;background:#fff}.audit-log-list p{padding:18px 12px;color:#64748b;font-weight:800}.audit-log-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:10px;min-height:58px;border-bottom:1px solid #edf0f4;padding:10px 12px}.audit-log-row:last-child{border-bottom:0}.audit-log-row strong,.audit-log-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-row strong{color:#162033}.audit-log-row small{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.audit-log-row b{justify-self:end;color:#475569;font-size:12px}.employee-manager{padding-bottom:18px}.employee-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:0 18px 14px}.employee-toolbar .secondary-action{min-height:42px}.restricted-note{display:flex;align-items:center;gap:10px;margin:0 18px 18px;border:1px solid #dbe2ec;border-radius:10px;padding:14px 16px;color:#475569;background:#f8fafc;font-weight:800}.restricted-note svg{color:#159a63;flex:0 0 auto}.employee-table{margin:0 18px;border:1px solid #d8dee8;border-radius:10px;overflow:auto;background:#fff}.employee-row{display:grid;grid-template-columns:1.2fr 1.2fr 120px 1.4fr 96px 1.6fr;align-items:center;min-width:860px;min-height:46px;border-bottom:1px solid #edf0f4}.employee-row:last-child{border-bottom:0}.employee-row.selected{background:#e8fbf1}.employee-head{position:sticky;top:0;z-index:1;color:#475569;background:#f1f5f9;font-size:12px;font-weight:900}.employee-head span{padding:0 8px}.employee-row input,.employee-row select{width:100%;min-width:0;height:36px;border:0;border-right:1px solid #edf0f4;border-radius:0;padding:0 8px;outline:0;color:#162033;background:transparent;font-size:13px;font-weight:800}.employee-row input:focus,.employee-row select:focus{background:#fff;box-shadow:inset 0 0 0 2px #159a6338}.employee-status{padding:0 8px;color:#64748b;font-size:12px;font-weight:900}.employee-status.active{color:#159a63}.employee-row-actions{display:grid;grid-template-columns:1fr 84px;gap:6px;padding:0 6px}.employee-row-actions button{min-height:30px;border:1px solid #d6dee9;border-radius:6px;color:#263449;background:#fff;font-size:12px;font-weight:900}.employee-row-actions button:first-child{border-color:#159a63;color:#10643f;background:#ecfdf5}.employee-row-actions .danger-mini{border-color:#fecdd3;color:#b91c1c;background:#fff1f2}.modal-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 18px 14px}.modal-section-title h3{margin:0;font-size:18px;letter-spacing:0}.modal-section-title span{color:#64748b;font-size:13px;font-weight:700}.category-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 18px 16px}.category-pill{display:inline-flex;align-items:center;gap:8px;min-height:36px;border:1px solid #d6dee9;border-radius:8px;padding:0 12px;color:#263449;background:#fff;font-weight:900}.category-pill .category-dot{width:10px;height:10px;border-radius:99px;flex:0 0 auto}.category-pill strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-pill button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:0;border-radius:6px;color:#ef4444;background:#fff1f2}.new-category-row{display:grid;grid-template-columns:minmax(220px,1fr) 96px 126px;align-items:end;gap:10px;padding:0 18px}.new-category-row .field{margin:0}.new-category-row .secondary-action{min-height:42px}.color-field input[type=color]{height:42px;padding:4px}.inventory-modal{display:flex;flex-direction:column;width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:calc(100vh - 16px);border-radius:4px;overflow:hidden}.inventory-modal header{flex:0 0 auto}.inventory-modal.standalone-panel .inventory-table-toolbar{grid-template-columns:240px minmax(230px,290px) minmax(300px,1fr) minmax(180px,.45fr);gap:7px;padding:8px 14px}.inventory-modal.standalone-panel .inventory-table-toolbar .confirm-button,.inventory-modal.standalone-panel .inventory-table-toolbar .secondary-action,.inventory-modal.standalone-panel .inventory-brand-filter,.inventory-modal.standalone-panel .inventory-product-search{min-height:34px}.inventory-modal.standalone-panel .inventory-brand-filter select,.inventory-modal.standalone-panel .inventory-product-search input{height:28px}.inventory-modal.standalone-panel .inventory-action-bar{gap:7px;padding:7px 14px}.inventory-modal.standalone-panel .inventory-action-bar button{min-height:34px;border-radius:7px;padding:5px 10px}.inventory-modal.standalone-panel .inventory-action-bar strong{font-size:13px}.inventory-modal.standalone-panel .inventory-action-bar span{font-size:11px}.inventory-modal.standalone-panel .inventory-pagination{gap:6px;padding:6px 14px}.inventory-modal.standalone-panel .inventory-pagination select,.inventory-modal.standalone-panel .inventory-pagination button{height:30px}.inventory-table-toolbar{flex:0 0 auto;display:grid;grid-template-columns:270px minmax(240px,320px) minmax(300px,1fr) minmax(220px,.7fr);gap:10px;padding:14px 18px;border-bottom:1px solid #edf0f4}.inventory-table-toolbar .confirm-button,.inventory-table-toolbar .secondary-action{width:100%;min-height:42px;margin:0}.inventory-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.inventory-primary-actions .secondary-action.active{border-color:#7a5674;color:#fff;background:#7a5674}.inventory-bulk-bar{flex:0 0 auto;display:flex;align-items:center;gap:10px;min-height:48px;padding:7px 18px;border-bottom:1px solid #f5c2c7;color:#7f1d1d;background:#fff7f7;font-size:12px;font-weight:800}.inventory-bulk-bar label{display:flex;align-items:center;gap:6px}.inventory-bulk-bar input,.inventory-batch-cell input{width:17px;height:17px;accent-color:#7a5674}.inventory-bulk-bar button{min-height:32px;border:1px solid #d6dee9;border-radius:6px;padding:0 12px;color:#263449;background:#fff;font-weight:900}.inventory-bulk-bar .danger-mini{border-color:#dc2626;color:#fff;background:#dc2626}.inventory-bulk-bar>span:last-child{margin-left:auto;color:#64748b}.inventory-brand-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:42px;border:1px solid #d6dee9;border-radius:8px;padding:0 10px;color:#475569;background:#fff;font-size:12px;font-weight:900}.inventory-brand-filter select{min-width:0;height:32px;border:0;outline:0;color:#162033;background:transparent;font-weight:900}.inventory-product-search,.inventory-op-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:42px;border:1px solid #d6dee9;border-radius:8px;padding:0 10px;color:#64748b;background:#fff}.inventory-op-search{margin-bottom:10px}.inventory-product-search input,.inventory-op-search input{min-width:0;height:32px;border:0;outline:0;color:#162033;background:transparent;font-size:13px;font-weight:800}.inventory-product-search input::placeholder,.inventory-op-search input::placeholder{color:#94a3b8}.inventory-action-bar{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 18px;border-bottom:1px solid #edf0f4;background:#f8fafc}.inventory-action-bar button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:46px;border:1px solid #d6dee9;border-radius:8px;padding:9px 12px;color:#162033;background:#fff;text-align:left}.inventory-action-bar button:hover{border-color:#159a63;box-shadow:0 8px 22px #159a631f}.inventory-action-bar strong,.inventory-action-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-product-modal{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto}.new-product-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.new-product-form>label{display:grid;gap:6px;min-width:0}.new-product-form>label>span{color:#475569;font-size:12px;font-weight:900}.new-product-form input,.new-product-form select{width:100%;min-width:0;height:42px;border:1px solid #d6dee9;border-radius:7px;padding:0 11px;color:#162033;background:#fff;font-size:14px;font-weight:800}.new-product-form .wide{grid-column:1 / -1}.new-product-form .new-product-check{display:flex;align-items:center;gap:9px;min-height:42px;padding-top:18px}.new-product-form .new-product-check input{width:18px;height:18px;accent-color:#159a63}.new-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:4px}.new-product-actions .secondary-action,.new-product-actions .confirm-button{min-height:44px;margin:0}@media(max-width:640px){.new-product-form{grid-template-columns:minmax(0,1fr)}.new-product-form .wide{grid-column:1}.sale-detail-item.missing-cost{grid-template-columns:minmax(0,1fr)}.sale-detail-item-financials{justify-items:stretch}.missing-cost-editor{width:100%}}.inventory-action-bar span{color:#64748b;font-size:12px;font-weight:800}.inventory-pagination{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 18px;border-bottom:1px solid #edf0f4;color:#475569;background:#fbfcfe;font-size:12px;font-weight:900}.inventory-pagination label{display:inline-flex;align-items:center;gap:6px}.inventory-pagination select,.inventory-pagination button{height:34px;border:1px solid #d6dee9;border-radius:7px;color:#263449;background:#fff;font-size:12px;font-weight:900}.inventory-pagination select{min-width:72px;padding:0 8px}.inventory-pagination button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:86px;padding:0 10px}.inventory-pagination button:disabled{opacity:.48}.inventory-pagination strong{min-width:58px;text-align:center;color:#162033}.nested-backdrop{z-index:42;padding:18px}.inventory-action-modal{width:min(980px,100%);max-height:calc(100vh - 72px)}.inventory-op-panel{padding:18px}.inventory-ops{flex:0 0 auto;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:12px;padding:14px 18px;border-bottom:1px solid #edf0f4;background:#f8fafc}.inventory-ops section{min-width:0;border:1px solid #dbe2ec;border-radius:8px;padding:12px;background:#fff}.inventory-ops h3{margin:0 0 10px;font-size:14px}.inventory-op-grid{display:grid;gap:8px}.supplier-op-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 108px}.purchase-op-grid{grid-template-columns:120px minmax(0,1fr) 76px 76px 112px}.count-op-grid{grid-template-columns:minmax(0,1fr) 100px 96px}.inventory-op-grid input,.inventory-op-grid select{min-width:0;height:36px;border:1px solid #d6dee9;border-radius:7px;padding:0 9px;color:#162033;background:#fff;font-size:12px;font-weight:800}.inventory-op-grid button,.purchase-order-list button{min-height:36px;border:1px solid #d6dee9;border-radius:7px;color:#263449;background:#fff;font-size:12px;font-weight:900}.inventory-op-grid button{border-color:#159a63;color:#10643f;background:#ecfdf5}.supplier-chips{display:flex;flex-wrap:wrap;gap:6px;min-height:24px;margin-top:9px}.supplier-chips span{border:1px solid #dbe2ec;border-radius:999px;padding:4px 8px;color:#475569;background:#f8fafc;font-size:11px;font-weight:800}.purchase-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.purchase-order-list button{min-width:0;text-align:left}.purchase-order-list button:disabled{opacity:.58}.purchase-order-list strong,.purchase-order-list span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-order-list span{margin-top:3px;color:#64748b;font-size:11px}.stock-movement-list{display:grid;gap:6px;margin-top:9px}.stock-movement-list div{min-width:0;border:1px solid #e2e8f0;border-radius:7px;padding:7px 8px;background:#fbfcfe}.stock-movement-list strong,.stock-movement-list span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-movement-list strong{font-size:12px}.stock-movement-list span{margin-top:2px;color:#64748b;font-size:11px;font-weight:800}.inventory-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;max-height:none;padding:0 18px 18px;overscroll-behavior:contain;background:#fbfcfe}.inventory-table{min-width:1938px;border:1px solid #d8dee8;border-radius:8px;overflow:visible;background:#fff}.inventory-row{display:grid;grid-template-columns:var(--inventory-grid-template, 190px 120px 130px 150px 110px 108px repeat(4, 92px) 72px 78px 112px 78px 70px 250px);align-items:center;min-height:46px;border-bottom:1px solid #edf0f4}.inventory-row:last-child{border-bottom:0}.inventory-row.selected{background:#e8fbf1}.inventory-row.batch-selected{background:#fff1f2}.inventory-batch-cell{display:flex;align-items:center;justify-content:center;height:100%;border-right:1px solid #edf0f4}.inventory-row .inventory-batch-cell input{width:17px;min-width:17px;height:17px;padding:0;border:0}.inventory-head{position:sticky;top:0;z-index:20;min-height:40px;color:#475569;background:#f1f5f9;box-shadow:0 1px #d8dee8,0 8px 14px #0f172a14;font-size:12px;font-weight:900}.inventory-head span{padding:0 8px}.inventory-head-cell{position:relative;display:flex;align-items:center;min-width:0;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-column-resizer{position:absolute;top:0;right:-4px;bottom:0;z-index:3;width:8px;border:0;border-radius:0;padding:0;background:transparent;cursor:col-resize}.inventory-column-resizer:after{content:"";position:absolute;top:7px;right:3px;bottom:7px;width:1px;background:#d6dee9}.inventory-column-resizer:hover:after,.inventory-column-resizer:active:after{right:2px;width:3px;background:#159a63}.inventory-row input,.inventory-row select{width:100%;min-width:0;height:36px;border:0;border-right:1px solid #edf0f4;border-radius:0;padding:0 8px;outline:0;color:#162033;background:transparent;font-size:13px;font-weight:800}.inventory-check-cell{display:flex;align-items:center;justify-content:center;gap:5px;height:36px;border-right:1px solid #edf0f4;color:#263449;font-size:12px;font-weight:900}.inventory-check-cell input{width:16px;height:16px;accent-color:#159a63}.inventory-row input:focus,.inventory-row select:focus{background:#fff;box-shadow:inset 0 0 0 2px #159a6338}.expiry-batch-button{width:100%;min-width:0;height:36px;border:0;border-right:1px solid #edf0f4;color:#10643f;background:#ecfdf5;font-size:12px;font-weight:900}.expiry-batch-button:disabled{color:#64748b;background:#f8fafc}.expiry-batch-modal{width:min(1080px,100%);max-height:calc(100vh - 96px)}.expiry-price-panel{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:14px;padding:16px 18px;border-bottom:1px solid var(--border);background:var(--panel-soft)}.expiry-price-panel label{display:grid;gap:6px}.expiry-price-panel span{color:var(--muted);font-size:12px;font-weight:700}.expiry-price-panel input{width:100%}.expiry-batch-list{display:grid;gap:10px;padding:18px}.expiry-batch-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,1fr) 130px 110px 76px 76px;gap:10px;align-items:end}.expiry-batch-row label{display:grid;gap:6px}.expiry-batch-row span{color:#64748b;font-size:12px;font-weight:900}.expiry-batch-row input{min-width:0;height:38px;border:1px solid #d6dee9;border-radius:7px;padding:0 10px;color:#162033;background:#fff;font-weight:800}.expiry-batch-row input:disabled{color:#475569;background:#f8fafc;opacity:1;cursor:not-allowed}.expiry-batch-row.is-editing input{background:#fff;box-shadow:inset 0 0 0 2px #159a6324}.expiry-batch-row .config-mini,.expiry-batch-row .danger-mini{height:38px;border-radius:7px;font-size:12px;font-weight:900}.expiry-batch-row .config-mini{border:1px solid #159a63;color:#10643f;background:#ecfdf5}.expiry-batch-row .config-mini:disabled{border-color:#d6dee9;color:#64748b;background:#f8fafc}.expiry-batch-row .danger-mini{border:1px solid #fecdd3;color:#b91c1c;background:#fff1f2}.expiry-batch-row .danger-mini:disabled{color:#94a3b8;background:#f8fafc;border-color:#d6dee9;cursor:not-allowed}.expiry-batch-actions{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:10px;padding:0 18px 18px}.expiry-batch-actions .secondary-action,.expiry-batch-actions .confirm-button{min-height:42px;margin:0}.inventory-row-actions{align-items:center;gap:6px;padding:0 6px}.inventory-row-actions{display:flex;min-width:0}.inventory-row-actions button{min-height:30px;border:1px solid #d6dee9;border-radius:6px;padding:0 6px;color:#263449;background:#fff;font-size:12px;font-weight:900;white-space:nowrap}.inventory-row-actions button{flex:1 0 64px;min-width:64px}.inventory-row-actions button:first-child{border-color:#159a63;color:#10643f;background:#ecfdf5}.inventory-row-actions .danger-mini{border-color:#fecdd3;color:#b91c1c;background:#fff1f2}.inventory-row-actions .hard-delete-mini{border-color:#dc2626;color:#fff;background:#dc2626}.form-grid{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:0;padding:18px 0}.form-grid .field{margin-bottom:14px}.wide{grid-column:1 / -1}.stock-adjust{display:grid;grid-template-columns:1fr 160px;align-items:end;gap:10px;padding-right:18px}.stock-adjust .secondary-action{height:42px;margin-bottom:14px}.danger-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #fecdd3;border-radius:8px;color:#b91c1c;background:#fff1f2;font-weight:900}.stock-history{margin:4px 18px 0;border-top:1px solid #edf0f4;padding-top:14px}.stock-history h3{margin:0 0 10px;font-size:16px}.stock-history p{color:#64748b;font-size:13px}.stock-history-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #edf0f4}.stock-history-row span{color:#64748b;font-size:12px}.toast{position:fixed;right:22px;bottom:22px;z-index:50;max-width:420px;border-radius:8px;padding:13px 16px;color:#fff;background:#162033;box-shadow:0 16px 34px #0f172a38;font-weight:800}@media(max-width:1240px){body{min-width:0}.app-shell{grid-template-columns:minmax(330px,360px) minmax(520px,1fr);grid-template-rows:58px minmax(0,1fr)}.activity-panel{display:none}.dashboard-layout{grid-template-columns:1fr}.dashboard-history-toolbar{grid-template-columns:minmax(280px,1fr) minmax(190px,.55fr) minmax(190px,.55fr)}.dashboard-history-toolbar select,.dashboard-history-toolbar button{min-height:38px}}@media(max-width:860px){.app-shell{grid-template-areas:"topbar" "order" "products";grid-template-columns:1fr;grid-template-rows:auto auto auto;padding:10px}.global-topbar{min-height:58px}.order-panel,.product-panel{height:auto;min-height:auto}.product-grid{max-height:none;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.product-pagination{justify-content:flex-start;overflow-x:auto}.new-category-row,.member-layout{grid-template-columns:1fr}.member-list-panel{border-right:0;border-bottom:1px solid #edf0f4}.member-list{max-height:260px}.member-form-grid,.member-recipient-title,.member-recipient-row,.sale-detail-meta,.sale-detail-edit-grid,.member-summary-grid,.member-history-columns,.sale-gross-margin-panel,.register-close-toolbar,.register-report-columns,.compact-register-reports,.audit-toolbar,.voucher-create-row,.voucher-entry,.voucher-apply-row,.action-voucher-row,.action-voucher-applied,.action-discount-row,.rmb-received-box,.payment-action-row,.dashboard-kpi-grid,.dashboard-layout,.dashboard-day-kpis,.dashboard-day-columns,.dashboard-history-toolbar,.database-transfer-panel,.member-form-actions{grid-template-columns:1fr}.trend-chart{min-height:190px}.register-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rmb-received-box input{text-align:left}.sale-detail-edit-title{grid-template-columns:1fr}.sale-detail-edit-actions{justify-content:stretch}.sale-detail-edit-actions .confirm-button,.sale-reprint-button{width:100%}.completed-sale-item-row,.completed-sale-add-item,.inventory-ops,.inventory-table-toolbar,.inventory-action-bar,.supplier-op-grid,.purchase-op-grid,.count-op-grid,.purchase-order-list{grid-template-columns:1fr}}body[data-theme=dark]{color:#e8edf5;background:#171a1d}body[data-theme=dark] .app-shell{color:#e8edf5}body[data-theme=dark] .order-panel,body[data-theme=dark] .product-panel,body[data-theme=dark] .topbar-actions,body[data-theme=dark] .modal,body[data-theme=dark] .activity-card,body[data-theme=dark] .login-card{border-color:#3b4248;background:#23282d}body[data-theme=dark] .login-screen{background:linear-gradient(180deg,#0f172a,#171a1d)}body[data-theme=dark] .cart-header,body[data-theme=dark] .cart-list,body[data-theme=dark] .summary,body[data-theme=dark] .action-grid,body[data-theme=dark] .keypad-shell,body[data-theme=dark] .keypad-panel,body[data-theme=dark] .checkout-control-panel,body[data-theme=dark] .pos-tabs,body[data-theme=dark] .pos-keypad,body[data-theme=dark] .category-tabs,body[data-theme=dark] .product-pagination,body[data-theme=dark] .product-grid,body[data-theme=dark] .member-workspace,body[data-theme=dark] .inventory-table-wrap,body[data-theme=dark] .inventory-table,body[data-theme=dark] .inventory-head,body[data-theme=dark] .inventory-row,body[data-theme=dark] .inventory-ops,body[data-theme=dark] .inventory-action-bar,body[data-theme=dark] .inventory-pagination,body[data-theme=dark] .member-list-panel,body[data-theme=dark] .sales-history-table-wrap,body[data-theme=dark] .sales-history-table,body[data-theme=dark] .sales-history-order-row{background:#252b30}body[data-theme=dark] .sales-history-head{color:#aeb8c4;background:#1f2429}body[data-theme=dark] .sales-history-group-row{background:#22282e}body[data-theme=dark] .sales-history-price-row{background:#252b30}body[data-theme=dark] .sales-history-order-row:hover{background:#1f352d}body[data-theme=dark] .product-grid{background:#2a302f}body[data-theme=dark] .system-update-manager{border-color:#315f4c;background:#162c24}body[data-theme=dark] .system-update-manager .modal-section-title strong,body[data-theme=dark] .system-update-status{color:#86efac}body[data-theme=dark] .empty-cart,body[data-theme=dark] .cart-line-wrap,body[data-theme=dark] .held-orders-panel,body[data-theme=dark] .held-order-card,body[data-theme=dark] .order-note-inline,body[data-theme=dark] .order-actions-panel,body[data-theme=dark] .action-voucher-applied,body[data-theme=dark] .price-collapse-panel,body[data-theme=dark] .keypad-display,body[data-theme=dark] .discount-box,body[data-theme=dark] .change-box,body[data-theme=dark] .rmb-received-box,body[data-theme=dark] .preference-row,body[data-theme=dark] .category-pill,body[data-theme=dark] .inventory-row,body[data-theme=dark] .inventory-ops section,body[data-theme=dark] .inventory-action-bar button,body[data-theme=dark] .inventory-op-panel,body[data-theme=dark] .supplier-chips span,body[data-theme=dark] .stock-movement-list div,body[data-theme=dark] .employee-row,body[data-theme=dark] .member-summary-grid div,body[data-theme=dark] .member-recipient-section,body[data-theme=dark] .member-recipient-title,body[data-theme=dark] .member-history-columns section,body[data-theme=dark] .member-points-ledger,body[data-theme=dark] .refund-panel,body[data-theme=dark] .refund-history,body[data-theme=dark] .refund-items,body[data-theme=dark] .register-summary-grid div,body[data-theme=dark] .register-report-columns section,body[data-theme=dark] .register-products-sold,body[data-theme=dark] .register-order-list,body[data-theme=dark] .register-payment-summary,body[data-theme=dark] .register-payment-order,body[data-theme=dark] .register-close-toolbar input,body[data-theme=dark] .register-close-toolbar select,body[data-theme=dark] .audit-log-list,body[data-theme=dark] .voucher-box,body[data-theme=dark] .split-payment-box,body[data-theme=dark] .voucher-list,body[data-theme=dark] .voucher-row,body[data-theme=dark] .recent-sale-card,body[data-theme=dark] .sale-note-box,body[data-theme=dark] .sale-detail-edit-panel,body[data-theme=dark] .completed-sale-item-editor,body[data-theme=dark] .completed-sale-item-row,body[data-theme=dark] .completed-sale-item-row input,body[data-theme=dark] .completed-sale-add-item select,body[data-theme=dark] .sale-detail-meta div,body[data-theme=dark] .sale-detail-items,body[data-theme=dark] .sale-gross-margin-panel,body[data-theme=dark] .sale-gross-margin-panel>div,body[data-theme=dark] .system-update-status,body[data-theme=dark] .dashboard-grid div,body[data-theme=dark] .dashboard-kpi-grid div,body[data-theme=dark] .dashboard-card-panel,body[data-theme=dark] .dashboard-list-row,body[data-theme=dark] .dashboard-sale-row,body[data-theme=dark] .dashboard-day-kpis div,body[data-theme=dark] .dashboard-day-columns section,body[data-theme=dark] .dashboard-day-sales,body[data-theme=dark] .dashboard-history-summary span,body[data-theme=dark] .sales-history-table-wrap,body[data-theme=dark] .sales-history-head,body[data-theme=dark] .sales-history-group-row,body[data-theme=dark] .sales-history-price-row,body[data-theme=dark] .sales-history-order-row,body[data-theme=dark] .low-stock-list div,body[data-theme=dark] .login-title,body[data-theme=dark] .database-transfer-card,body[data-theme=dark] .restricted-note{border-color:#3b4248;background:#1f2429}body[data-theme=dark] .field input,body[data-theme=dark] .field select,body[data-theme=dark] .rmb-received-box input,body[data-theme=dark] .audit-toolbar input,body[data-theme=dark] .inventory-op-grid input,body[data-theme=dark] .inventory-op-grid select,body[data-theme=dark] .inventory-op-grid button,body[data-theme=dark] .inventory-brand-filter,body[data-theme=dark] .inventory-product-search,body[data-theme=dark] .inventory-op-search,body[data-theme=dark] .inventory-action-bar button,body[data-theme=dark] .purchase-order-list button,body[data-theme=dark] .inventory-row input,body[data-theme=dark] .inventory-row select,body[data-theme=dark] .inventory-check-cell,body[data-theme=dark] .employee-row input,body[data-theme=dark] .employee-row select,body[data-theme=dark] .member-recipient-row input,body[data-theme=dark] .member-recipient-row .danger-mini,body[data-theme=dark] .refund-item-row input,body[data-theme=dark] .order-note-inline textarea,body[data-theme=dark] .order-note-inline-title button,body[data-theme=dark] .action-voucher-row input,body[data-theme=dark] .action-voucher-applied input,body[data-theme=dark] .action-discount-row input,body[data-theme=dark] .compact-money-field input,body[data-theme=dark] .split-payment-row input,body[data-theme=dark] .split-payment-row select,body[data-theme=dark] .inventory-row-actions button,body[data-theme=dark] .inventory-pagination select,body[data-theme=dark] .inventory-pagination button,body[data-theme=dark] .product-pagination select,body[data-theme=dark] .product-pagination button,body[data-theme=dark] .search-box,body[data-theme=dark] .line-price-input,body[data-theme=dark] .qty-stepper input,body[data-theme=dark] .discount-box input,body[data-theme=dark] .icon-button,body[data-theme=dark] .icon-tool,body[data-theme=dark] .back-to-recent-button,body[data-theme=dark] .dashboard-history-toolbar input,body[data-theme=dark] .dashboard-history-toolbar select,body[data-theme=dark] .dashboard-history-pager button,body[data-theme=dark] .held-orders-toggle,body[data-theme=dark] .price-collapse-toggle,body[data-theme=dark] .checkout-price-mode,body[data-theme=dark] .price-collapse-panel button,body[data-theme=dark] .segmented button,body[data-theme=dark] .preference-buttons button,body[data-theme=dark] .secondary-action,body[data-theme=dark] .member-list button,body[data-theme=dark] .member-new-button,body[data-theme=dark] .pos-tabs button,body[data-theme=dark] .pos-keypad button,body[data-theme=dark] .keypad-toggle{border-color:#46505a;color:#e8edf5;background:#2f363d}body[data-theme=dark] .search-box input,body[data-theme=dark] .field input,body[data-theme=dark] .field select,body[data-theme=dark] .inventory-brand-filter select,body[data-theme=dark] .inventory-product-search input,body[data-theme=dark] .inventory-op-search input,body[data-theme=dark] .line-price-input,body[data-theme=dark] .qty-stepper input,body[data-theme=dark] .discount-box input,body[data-theme=dark] .order-note-inline textarea,body[data-theme=dark] .action-voucher-row input,body[data-theme=dark] .action-voucher-applied input,body[data-theme=dark] .action-discount-row input,body[data-theme=dark] .compact-money-field input,body[data-theme=dark] .split-payment-row input,body[data-theme=dark] .split-payment-row select,body[data-theme=dark] .inventory-op-grid input,body[data-theme=dark] .inventory-op-grid select,body[data-theme=dark] .inventory-action-bar span,body[data-theme=dark] .inventory-pagination,body[data-theme=dark] .inventory-pagination strong,body[data-theme=dark] .product-pagination,body[data-theme=dark] .product-pagination strong,body[data-theme=dark] .checkout-price-mode strong,body[data-theme=dark] .keypad-display strong,body[data-theme=dark] .employee-row input,body[data-theme=dark] .employee-row select,body[data-theme=dark] .dashboard-history-toolbar input,body[data-theme=dark] .dashboard-history-toolbar select{color:#f8fafc}body[data-theme=dark] .selected-member-banner{border-color:#159a63;background:#123226}body[data-theme=dark] .selected-member-main,body[data-theme=dark] .selected-member-main strong{color:#f8fafc}body[data-theme=dark] .selected-member-main span,body[data-theme=dark] .selected-member-main small{color:#86efac}body[data-theme=dark] .selected-member-clear{border-color:#159a63;color:#bbf7d0;background:transparent}body[data-theme=dark] .cart-list::-webkit-scrollbar-track{background:#252b30}body[data-theme=dark] .cart-list::-webkit-scrollbar-thumb{border-color:#252b30;background:#59636e}body[data-theme=dark] .eyebrow,body[data-theme=dark] .cart-header span,body[data-theme=dark] .line-main span,body[data-theme=dark] .order-note-inline-title span,body[data-theme=dark] .order-actions-title span,body[data-theme=dark] .order-action-section-title span,body[data-theme=dark] .action-discount-row label,body[data-theme=dark] .product-details,body[data-theme=dark] .product-bottom span,body[data-theme=dark] .modal p,body[data-theme=dark] .field span,body[data-theme=dark] .modal-section-title span,body[data-theme=dark] .sale-row span,body[data-theme=dark] .sale-detail-meta span,body[data-theme=dark] .sale-detail-summary span,body[data-theme=dark] .dashboard-grid span,body[data-theme=dark] .low-stock-list span,body[data-theme=dark] .member-list small,body[data-theme=dark] .member-history-row small,body[data-theme=dark] .refund-history-row small,body[data-theme=dark] .refund-item-row span,body[data-theme=dark] .refund-total span,body[data-theme=dark] .member-points-ledger p,body[data-theme=dark] .register-summary-grid span,body[data-theme=dark] .register-report-columns p,body[data-theme=dark] .register-products-sold p,body[data-theme=dark] .register-payment-summary p,body[data-theme=dark] .register-payment-order small,body[data-theme=dark] .register-report-row small,body[data-theme=dark] .audit-log-list p,body[data-theme=dark] .audit-log-row small,body[data-theme=dark] .database-transfer-card span,body[data-theme=dark] .voucher-box-title span,body[data-theme=dark] .voucher-apply-row>span,body[data-theme=dark] .compact-money-field,body[data-theme=dark] .voucher-list p,body[data-theme=dark] .voucher-row small,body[data-theme=dark] .recent-sale-card small,body[data-theme=dark] .recent-sale-card em,body[data-theme=dark] .dashboard-kpi-grid span,body[data-theme=dark] .dashboard-card-panel p,body[data-theme=dark] .trend-bar-cell small,body[data-theme=dark] .dashboard-day-title span,body[data-theme=dark] .dashboard-day-kpis span,body[data-theme=dark] .dashboard-history-toolbar label span,body[data-theme=dark] .dashboard-history-summary span,body[data-theme=dark] .sales-history-group-row small,body[data-theme=dark] .sales-history-price-row small,body[data-theme=dark] .sales-history-toggle,body[data-theme=dark] .sales-history-empty,body[data-theme=dark] .payment-chart-row span,body[data-theme=dark] .top-product-row small,body[data-theme=dark] .dashboard-list-row small,body[data-theme=dark] .dashboard-sale-row small,body[data-theme=dark] .sale-note-box span,body[data-theme=dark] .supplier-chips span,body[data-theme=dark] .purchase-order-list span,body[data-theme=dark] .stock-movement-list span,body[data-theme=dark] .inventory-head,body[data-theme=dark] .empty-cart,body[data-theme=dark] .employee-status{color:#aeb8c4}body[data-theme=dark] h1,body[data-theme=dark] h2,body[data-theme=dark] h3,body[data-theme=dark] h4,body[data-theme=dark] strong,body[data-theme=dark] .line-main,body[data-theme=dark] .line-main strong,body[data-theme=dark] .inventory-row input,body[data-theme=dark] .inventory-row select,body[data-theme=dark] .inventory-check-cell,body[data-theme=dark] .inventory-action-bar strong,body[data-theme=dark] .purchase-order-list strong,body[data-theme=dark] .stock-movement-list strong,body[data-theme=dark] .summary strong,body[data-theme=dark] .summary-total span,body[data-theme=dark] .summary-total strong,body[data-theme=dark] .sale-detail-item strong,body[data-theme=dark] .sale-detail-summary strong,body[data-theme=dark] .order-actions-title strong,body[data-theme=dark] .order-action-section-title strong,body[data-theme=dark] .sale-row strong,body[data-theme=dark] .refund-history-row strong,body[data-theme=dark] .refund-history-row b,body[data-theme=dark] .refund-item-row strong,body[data-theme=dark] .member-list strong,body[data-theme=dark] .member-history-row strong,body[data-theme=dark] .member-summary-grid strong,body[data-theme=dark] .register-summary-grid strong,body[data-theme=dark] .register-report-row strong,body[data-theme=dark] .register-report-row b,body[data-theme=dark] .register-payment-order strong,body[data-theme=dark] .register-payment-order b,body[data-theme=dark] .audit-log-row strong,body[data-theme=dark] .audit-log-row b,body[data-theme=dark] .voucher-row strong,body[data-theme=dark] .voucher-row b,body[data-theme=dark] .recent-sale-card strong,body[data-theme=dark] .recent-sale-card b,body[data-theme=dark] .dashboard-grid strong,body[data-theme=dark] .dashboard-kpi-grid strong,body[data-theme=dark] .dashboard-card-panel h3,body[data-theme=dark] .dashboard-day-title strong,body[data-theme=dark] .dashboard-day-kpis strong,body[data-theme=dark] .dashboard-day-columns h4,body[data-theme=dark] .dashboard-day-sales h4,body[data-theme=dark] .dashboard-history-header strong,body[data-theme=dark] .sales-history-table,body[data-theme=dark] .sales-history-order-row,body[data-theme=dark] .sales-history-group-row strong,body[data-theme=dark] .sales-history-price-row strong,body[data-theme=dark] .trend-bar-cell strong,body[data-theme=dark] .payment-chart-row strong,body[data-theme=dark] .top-product-row strong,body[data-theme=dark] .dashboard-list-row strong,body[data-theme=dark] .dashboard-list-row b,body[data-theme=dark] .dashboard-sale-row strong,body[data-theme=dark] .dashboard-sale-row b,body[data-theme=dark] .employee-row strong,body[data-theme=dark] .employee-session span{color:#f8fafc}body[data-theme=dark] .register-payment-order-profit{color:#86efac}body[data-theme=dark] .register-payment-order-profit.estimated,body[data-theme=dark] .register-payment-order-profit.incomplete{color:#fbbf24}body[data-theme=dark] .register-payment-order-profit.negative{color:#fda4af}body[data-theme=dark] .register-report-columns h4,body[data-theme=dark] .register-products-sold h4,body[data-theme=dark] .register-report-row,body[data-theme=dark] .register-payment-summary-toggle,body[data-theme=dark] .register-payment-order,body[data-theme=dark] .audit-log-row,body[data-theme=dark] .voucher-row,body[data-theme=dark] .voucher-apply-row,body[data-theme=dark] .recent-sale-card,body[data-theme=dark] .dashboard-list-row,body[data-theme=dark] .dashboard-sale-row,body[data-theme=dark] .dashboard-day-detail,body[data-theme=dark] .dashboard-day-kpis div,body[data-theme=dark] .dashboard-day-columns section,body[data-theme=dark] .dashboard-day-sales,body[data-theme=dark] .dashboard-history-summary span,body[data-theme=dark] .sales-history-table-wrap,body[data-theme=dark] .sales-history-head,body[data-theme=dark] .sales-history-group-row,body[data-theme=dark] .sales-history-price-row,body[data-theme=dark] .sales-history-order-row,body[data-theme=dark] .inventory-pagination,body[data-theme=dark] .product-pagination,body[data-theme=dark] .refund-panel .modal-section-title,body[data-theme=dark] .sale-detail-edit-title,body[data-theme=dark] .completed-sale-item-editor,body[data-theme=dark] .completed-sale-item-row,body[data-theme=dark] .refund-history-row,body[data-theme=dark] .refund-item-row,body[data-theme=dark] .refund-total{border-color:#3b4248}body[data-theme=dark] .sale-row.refund-row,body[data-theme=dark] .member-history-row.refund-row,body[data-theme=dark] .refund-total strong{color:#fda4af}body[data-theme=dark] .employee-session small{color:#aeb8c4}body[data-theme=dark] .text-button.subtle{color:#b7c1ce}body[data-theme=dark] .keypad-toggle{border-bottom-color:#3b4248}body[data-theme=dark] .inventory-row-actions .hard-delete-mini{border-color:#ef4444;color:#fff;background:#dc2626}body[data-theme=dark] .pos-tabs,body[data-theme=dark] .pos-keypad{border-color:#3b4248;background:#252b30}body[data-theme=dark] .order-note-inline-title strong{color:#86efac}body[data-theme=dark] .pos-keypad .key-action{background:#37414b}body[data-theme=dark] .pos-keypad .key-muted{color:#1f2937;background:#dce9a8}body[data-theme=dark] .pos-keypad .key-delete{color:#7f1d1d;background:#e7b8b8}body[data-theme=dark] .inventory-row.selected{background:#163526}body[data-theme=dark] .inventory-row.batch-selected{background:#4a2029}body[data-theme=dark] .inventory-bulk-bar{border-bottom-color:#71333b;color:#fecdd3;background:#351d22}body[data-theme=dark] .employee-row.selected{background:#163526}body[data-theme=dark] .inventory-head{background:#2a3137}body[data-theme=dark] .inventory-table-wrap{background:#252b30}body[data-theme=dark] .inventory-table{border-color:#3b4248}body[data-theme=dark] .inventory-row input,body[data-theme=dark] .inventory-row select,body[data-theme=dark] .inventory-check-cell{border-right-color:#3b4248;background:transparent}body[data-theme=dark] .expiry-batch-button{border-right-color:#3b4248;color:#86efac;background:#163526}body[data-theme=dark] .expiry-batch-button:disabled{color:#aeb8c4;background:transparent}body[data-theme=dark] .expiry-batch-row input,body[data-theme=dark] .expiry-batch-row .danger-mini{border-color:#46505a;color:#f8fafc;background:#2f363d}body[data-theme=dark] .expiry-batch-row span{color:#aeb8c4}body[data-theme=dark] .employee-row input,body[data-theme=dark] .employee-row select{border-right-color:#3b4248;background:transparent}body[data-theme=dark] .pay-button,body[data-theme=dark] .confirm-button{color:#fff;background:#7a5674}body[data-theme=dark] .cart-line-wrap.open,body[data-theme=dark] .segmented button.active,body[data-theme=dark] .preference-buttons button.active,body[data-theme=dark] .price-collapse-panel button.active,body[data-theme=dark] .held-orders-toggle.active{border-color:#159a63;color:#fff;background:#159a63}body[data-theme=dark] .back-to-recent-button:hover{border-color:#159a63;color:#86efac;background:#163526}body[data-theme=dark] .trend-bar-track,body[data-theme=dark] .payment-progress,body[data-theme=dark] .top-product-bar{border-color:#46505a;background:#2f363d}body[data-theme=dark] .dashboard-sale-row:hover{border-color:#159a63;background:#163526;box-shadow:0 10px 28px #00000052}body[data-theme=dark] .dashboard-history-toolbar button{color:#fff;background:#7a5674}body[data-theme=dark] .standalone-admin-page{color:#e8edf5;background:#171a1d}body[data-theme=dark] .modal.standalone-panel>header{background:#23282d}body[data-theme=dark] .payment-total,body[data-theme=dark] .toast{background:#111827}body[data-theme=dark] .product-tile{color:#111827;border-color:color-mix(in srgb,var(--tile-color, #93c5fd) 64%,#4b5563);background:color-mix(in srgb,var(--tile-color, #93c5fd) 62%,#ffffff);box-shadow:inset 0 1px #ffffff59}body[data-theme=dark] .product-tile:hover{border-color:#f8fafc;filter:saturate(1.08);box-shadow:0 12px 28px #0000006b,inset 0 1px #ffffff73;outline-color:#7dd3fc57}body[data-theme=dark] .product-name,body[data-theme=dark] .product-bottom strong{color:#111827}body[data-theme=dark] .product-floating-preview{border-color:#e5edf6;background:#111827;box-shadow:0 18px 36px #00000080}body[data-theme=dark] .product-details,body[data-theme=dark] .product-bottom span{color:#374151}body[data-theme=dark] .category-tabs button{color:#111827;box-shadow:none}body[data-theme=dark] .category-tabs button:hover{border-color:#f8fafc;box-shadow:0 12px 28px #0000006b,inset 0 1px #ffffff73;outline-color:#7dd3fc57}.store-management-modal{width:min(1180px,calc(100vw - 42px));height:min(820px,calc(100vh - 42px));overflow:hidden}.store-tabs{display:flex;gap:10px;padding:0 24px;border-bottom:1px solid var(--line)}.store-tabs button{padding:14px 18px 12px;border:0;border-bottom:3px solid transparent;color:var(--muted);background:transparent}.store-tabs button.active{border-bottom-color:#0f766e;color:var(--text)}.store-tabs span{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;margin-left:5px;border-radius:999px;background:var(--panel-soft);font-size:11px}.store-toolbar{display:flex;flex-wrap:wrap;gap:10px;padding:16px 24px;border-bottom:1px solid var(--line)}.store-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.store-toolbar label{display:flex;flex:1;min-width:240px;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft)}.store-toolbar input{flex:1;border:0;outline:0;background:transparent}.store-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:auto;padding:18px 24px 28px}.store-order-card{align-self:start;padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft)}.store-order-head,.store-order-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-order-head>div,.store-editor-heading>div{display:flex;flex-direction:column;gap:4px}.store-order-head span,.store-editor-heading span,.store-product-list small{color:var(--muted);font-size:12px}.store-status{padding:5px 9px;border-radius:999px;color:#166534;background:#dcfce7;font-size:11px}.store-status.ready_for_pickup{color:#854d0e;background:#fef3c7}.store-status.completed,.store-status.cancelled,.store-status.refunded{color:var(--muted);background:var(--panel)}.store-order-items{display:flex;flex-direction:column;gap:5px;margin:15px 0;font-size:13px}.store-order-meta{color:var(--muted);font-size:12px}.store-order-meta strong{color:var(--text);font-size:16px}.store-order-note{margin:12px 0 0;padding:8px 10px;border-radius:8px;color:var(--muted);background:var(--panel);font-size:12px}.store-order-actions{display:flex;gap:8px;margin-top:14px}.store-order-actions button{flex:1}.store-customer-list{display:flex;flex-direction:column;gap:10px;overflow:auto;padding:18px 24px 28px}.store-customer-card{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(300px,1.2fr) minmax(150px,.6fr);align-items:center;gap:18px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}.store-customer-card>div,.store-customer-card label{display:flex;min-width:0;flex-direction:column;gap:5px}.store-customer-card span{color:var(--muted);font-size:12px}.store-customer-card b{color:#047857;font-size:12px;text-align:right}.store-product-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(430px,1.2fr);min-height:0;overflow:hidden}.store-product-list{overflow:auto;border-right:1px solid var(--line)}.store-product-list>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;background:transparent}.store-product-list>button:hover,.store-product-list>button.active{background:color-mix(in srgb,#0f766e 10%,var(--panel))}.store-product-list>button span{display:flex;min-width:0;flex-direction:column;gap:4px}.store-product-list b{flex:none;color:var(--muted);font-size:11px}.store-product-list b.published{color:#047857}.store-product-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:15px;overflow:auto;padding:22px}.store-product-editor label:not(.store-switch){display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px}.store-product-editor input,.store-product-editor textarea{width:100%}.store-product-editor textarea{min-height:95px;resize:vertical}.store-editor-heading{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:1px solid var(--line)}.store-product-editor .wide{grid-column:1 / -1}.store-switch{display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px}.store-switch input{width:auto}@media(max-width:900px){.store-order-list,.store-product-layout{grid-template-columns:1fr}.store-product-list{max-height:260px;border-right:0;border-bottom:1px solid var(--line)}}
