.auth-locale-row{justify-content:flex-end;margin:0 0 18px;display:flex}.auth-locale-toggle{border:1px solid var(--theme-border);background:var(--theme-surface-muted);border-radius:10px;flex:none;gap:3px;padding:3px;display:inline-flex}.auth-locale-row .auth-locale-toggle>button{min-width:76px;min-height:44px;color:var(--theme-text-muted);white-space:nowrap;cursor:pointer;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;margin:0;padding:7px 12px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.8;display:inline-flex}.auth-locale-row .auth-locale-toggle>button[aria-pressed=true]{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-primary-text)}.auth-locale-row .auth-locale-toggle>button:hover{color:var(--theme-primary-text)}.auth-locale-row .auth-locale-toggle>button:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.auth-locale-row>.auth-compact-locale{border-radius:var(--radius-control,8px);min-width:0;min-height:44px;box-shadow:none;color:var(--theme-text-muted);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:2px;margin:0;padding:0;font-family:inherit;display:inline-flex}.auth-compact-locale>span{border-radius:var(--radius-small,4px);white-space:nowrap;padding:2px 7px;font-size:12px;line-height:1.8}.auth-compact-locale>.is-selected{background:var(--theme-primary);color:var(--theme-on-primary)}.auth-locale-row>.auth-compact-locale:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.business-setup-page{--setup-ink:var(--text);--setup-muted:var(--muted);--setup-line:var(--border);--setup-soft:var(--surface-soft);z-index:105;color:var(--setup-ink);background-color:var(--surface-soft);background-image:radial-gradient(ellipse at 0% 0%,color-mix(in srgb,var(--brand) 12%,transparent),transparent 55%),radial-gradient(ellipse at 100% 100%,color-mix(in srgb,var(--brand) 7%,transparent),transparent 55%);flex-direction:column;padding:20px 24px;display:flex;position:fixed;inset:0;overflow:auto}.business-setup-page :is(.setup-exit,.setup-steps button,.setup-slide button){border:1px solid var(--setup-line);min-height:34px;color:var(--setup-ink);background:var(--surface);font:inherit;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:12px;font-weight:600;transition:background .14s,border-color .14s,box-shadow .14s;display:inline-flex}.business-setup-page .setup-slide button.primary{border-color:var(--brand);color:var(--theme-on-primary);background:var(--brand);box-shadow:0 3px 8px color-mix(in srgb,var(--brand) 18%,transparent)}.business-setup-page .setup-slide button.primary:hover:not(:disabled){background:var(--theme-primary-hover,var(--brand));box-shadow:0 4px 12px color-mix(in srgb,var(--brand) 26%,transparent)}.business-setup-page :is(.setup-exit,.setup-steps button,.setup-slide button):disabled{opacity:.55;cursor:default}.setup-frame{flex-direction:column;flex:none;gap:10px;width:min(880px,100%);margin:auto;display:flex}.setup-frame-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.setup-header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.setup-header-actions .auth-locale-row{margin:0}.setup-header-actions .auth-locale-row>.auth-compact-locale{min-height:34px}.setup-brand{align-items:center;gap:10px;min-width:0;display:flex}.setup-brand>span:first-child{width:34px;height:34px;color:var(--theme-on-primary);background:var(--brand);border-radius:10px;place-items:center;display:grid}.setup-brand strong{letter-spacing:-.04em;font-size:18px}.setup-brand .setup-brand-divider{background:var(--setup-line);width:1px;height:18px;margin:0 3px}.setup-brand small{color:var(--setup-muted);font-size:12px}.business-setup-page .setup-exit{min-height:34px;color:var(--setup-muted);background:0 0;border-color:#0000;padding:6px 10px;font-size:12px}.business-setup-page .setup-exit:hover:not(:disabled),.setup-actions>button:not(.primary):hover:not(:disabled){color:var(--setup-ink);background:var(--setup-soft);border-color:var(--setup-line)}.business-setup-page .setup-slide :is(input,select,textarea):focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent);outline:none}.business-setup-page .setup-slide input:is([type=checkbox],[type=radio]):focus{box-shadow:none}.business-setup-page :is(.setup-exit,.setup-steps button,.setup-slide button,.setup-slide input[type=checkbox],.setup-slide input[type=radio]):focus-visible{outline:2px solid var(--brand);outline-offset:3px}.business-setup-page .setup-steps button:focus-visible{outline-color:var(--theme-on-primary)}.business-setup-page .setup-slide :is(input,select,textarea)[aria-invalid=true]:focus{border-color:var(--theme-danger-text);box-shadow:0 0 0 3px var(--theme-danger-soft)}.setup-layout{border:1px solid var(--setup-line);background:var(--surface);width:100%;min-height:380px;box-shadow:0 16px 48px color-mix(in srgb,var(--theme-shadow) 9%,transparent),0 2px 6px color-mix(in srgb,var(--theme-shadow) 4%,transparent);border-radius:12px;grid-template-columns:210px minmax(0,1fr);display:grid;overflow:hidden}.setup-navigation{isolation:isolate;min-width:0;color:var(--theme-on-primary);background:var(--brand);background-image:radial-gradient(ellipse at 0% 0%,color-mix(in srgb,var(--theme-on-primary) 12%,transparent),transparent 65%),radial-gradient(ellipse at 100% 100%,color-mix(in srgb,var(--theme-shadow) 22%,transparent),transparent 70%);flex-direction:column;gap:20px;padding:20px 18px 18px;display:flex;position:relative;overflow:clip}.setup-navigation:after{content:"";z-index:-1;border:1px solid color-mix(in srgb,var(--theme-on-primary) 10%,transparent);width:320px;height:320px;box-shadow:0 0 0 30px color-mix(in srgb,var(--theme-on-primary) 3%,transparent),0 0 0 60px color-mix(in srgb,var(--theme-on-primary) 3%,transparent);pointer-events:none;border-radius:50%;position:absolute;bottom:-170px;right:-100px}.setup-eyebrow{letter-spacing:.08em;opacity:.75;margin-bottom:10px;font-size:9px;font-weight:650;line-height:1.8;display:block}.setup-welcome h1{letter-spacing:-.035em;gap:3px;margin:0;font-size:21px;font-weight:650;line-height:1.3;display:grid}.setup-welcome h1 span:last-child{opacity:.72}.setup-welcome p{display:none}.setup-steps{gap:14px;margin:0;padding:0;list-style:none;display:grid}.setup-steps li{min-width:0;position:relative}.setup-steps li:not(:last-child):after{content:"";background:color-mix(in srgb,var(--theme-on-primary) 24%,transparent);width:1px;height:10px;position:absolute;top:36px;left:13px}.business-setup-page .setup-steps button{width:100%;min-height:36px;color:var(--theme-on-primary);text-align:left;box-shadow:none;background:0 0;border:0;border-radius:5px;justify-content:flex-start;gap:9px;padding:0;display:flex;position:relative}.business-setup-page .setup-steps button:disabled{opacity:.55}.business-setup-page .setup-steps :is(.is-current,.is-complete) button:disabled{opacity:1}.business-setup-page .setup-steps button:not(:disabled):hover .setup-step-copy strong{text-underline-offset:4px;text-decoration:underline}.setup-step-number{border:1px solid color-mix(in srgb,var(--theme-on-primary) 38%,transparent);border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:600;transition:background .18s,color .18s;display:grid}.setup-steps .is-current .setup-step-number{border-color:var(--theme-on-primary);color:var(--brand);background:var(--theme-on-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-on-primary) 12%,transparent)}.setup-steps .is-complete .setup-step-number{background:color-mix(in srgb,var(--theme-on-primary) 16%,transparent);border-color:#0000}.setup-step-copy{gap:3px;min-width:0;display:grid}.setup-step-copy strong{font-size:12px;font-weight:600;line-height:1.6}.setup-step-copy small{opacity:.7;font-size:10px;font-weight:400;line-height:1.6}.setup-progress-note{border-top:1px solid color-mix(in srgb,var(--theme-on-primary) 20%,transparent);opacity:.75;align-items:center;gap:7px;margin-top:auto;padding-top:12px;font-size:10px;line-height:1.8;display:flex}.setup-progress-note svg{flex-shrink:0}.setup-content{background:var(--surface);flex-direction:column;min-width:0;padding:18px 20px;display:flex;position:relative}.setup-slide{flex-direction:column;flex:1;min-height:0;margin:0;animation:.22s both setup-slide-in;display:flex}.setup-slide[data-direction=forward]{animation:.22s cubic-bezier(.22,.61,.36,1) both setup-slide-forward}.setup-slide[data-direction=backward]{animation:.22s cubic-bezier(.22,.61,.36,1) both setup-slide-backward}.setup-content[data-transitioning]{pointer-events:none}.setup-slide-heading{margin-bottom:12px}.setup-stage-caption{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.setup-heading-icon{border:1px solid color-mix(in srgb,var(--brand) 16%,var(--setup-line));width:30px;height:30px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:8px;place-items:center;display:grid}.setup-stage-dots{gap:5px;display:flex}.setup-stage-dots i{background:var(--setup-line);border-radius:4px;width:20px;height:4px}.setup-stage-dots i.is-filled{background:var(--brand)}.setup-slide h2{color:var(--setup-ink);letter-spacing:-.035em;margin:0;font-size:22px;font-weight:650;line-height:1.4}.setup-slide h2:focus{outline:none}.setup-slide-heading p{color:var(--setup-muted);margin:4px 0 0;font-size:11px;line-height:1.8}.setup-fields{border:0;gap:10px;min-width:0;margin:0 0 12px;padding:0;display:grid}.setup-field{align-content:start;gap:4px;min-width:0;display:grid}.setup-field label{color:var(--setup-ink);font-size:12px;font-weight:550;line-height:18px}.setup-field :is(input,select),.setup-product-fields :is(input:not([type=checkbox]),select){border:1px solid var(--setup-line);width:100%;min-width:0;height:34px;min-height:34px;color:var(--text);background:var(--surface);font:inherit;border-radius:6px;padding:6px 9px;font-size:12px;transition:border-color .14s,box-shadow .14s}.setup-field input::placeholder{color:var(--setup-muted);opacity:.7}.setup-field textarea{border:1px solid var(--setup-line);width:100%;min-width:0;min-height:54px;color:var(--text);background:var(--surface);font:inherit;resize:vertical;border-radius:6px;padding:7px 9px;font-size:12px;line-height:1.6}.setup-field textarea[aria-invalid=true]{border-color:var(--theme-danger-text)}.setup-field :is(input,select):hover:not(:focus):not([readonly]),.setup-product-fields :is(input:not([type=checkbox]),select):hover:not(:focus):not([readonly]){border-color:var(--theme-border-strong,var(--border))}.setup-field :is(input,select)[aria-invalid=true]{border-color:var(--theme-danger-text)}.setup-field small,.setup-help{color:var(--setup-muted);margin:0;font-size:11px;line-height:1.8}.setup-field .setup-field-error{color:var(--theme-danger-text);background:var(--theme-danger-soft);border-radius:4px;padding:3px 6px}.setup-two-columns,.setup-product-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.setup-identity{grid-template-columns:minmax(0,1fr) 108px;align-items:start;gap:14px 16px;display:grid}.setup-identity-fields{gap:12px;min-width:0;display:grid}.setup-identity-fields>.setup-field input{height:34px;font-size:13px;font-weight:550}.setup-preferences{padding:0}.setup-logo{grid-area:1/2;align-content:start;justify-items:center;gap:6px;min-width:0;padding-top:22px;display:grid;position:relative}.business-setup-page .setup-slide .setup-logo-upload{border:1px dashed color-mix(in srgb,var(--brand) 40%,var(--setup-line));width:96px;min-height:64px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:8px;flex-direction:column;gap:6px;padding:8px;font-size:11px;display:flex}.business-setup-page .setup-slide .setup-logo-upload:hover:not(:disabled){border-color:var(--brand);background:var(--setup-soft)}.setup-logo-upload img{object-fit:contain;width:48px;height:32px;display:block}.setup-logo>small{color:var(--setup-muted);text-align:center;font-size:10px;line-height:1.7}.business-setup-page .setup-slide .setup-logo-remove{background:var(--surface);width:24px;min-height:24px;color:var(--setup-muted);border-radius:50%;padding:4px;position:absolute;top:16px;right:2px}.business-setup-page .setup-slide .setup-logo-remove:hover:not(:disabled){color:var(--theme-danger-text);border-color:var(--theme-danger-text)}.setup-logo .setup-logo-error{color:var(--theme-danger-text)}.setup-payment-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.setup-payment-options label{border:1px solid var(--setup-line);min-height:42px;color:var(--setup-ink);background:var(--surface);cursor:pointer;border-radius:7px;align-items:center;gap:8px;padding:10px;transition:background .14s,border-color .14s;display:flex;position:relative}.setup-payment-options label:hover:not(.is-selected){background:var(--setup-soft);border-color:var(--theme-border-strong,var(--border))}.setup-payment-options label.is-selected{border-color:var(--brand);background:var(--theme-primary-soft)}.setup-payment-options input{width:16px;min-width:16px;height:16px;min-height:16px;accent-color:var(--brand);flex:0 0 16px;order:2;margin:0 0 0 auto;padding:0}.setup-payment-options strong{order:1;font-size:12px;line-height:18px}.setup-payment-options label>svg{width:18px;height:18px;color:var(--setup-muted);flex-shrink:0;order:0}.setup-payment-options label.is-selected>svg{color:var(--theme-primary-text)}.setup-product-fields .product-unit-entry-field>label{color:var(--setup-ink);font-size:12px;font-weight:550;line-height:18px}.setup-product-fields .product-unit-entry-field>small{color:var(--setup-muted);font-size:10px;line-height:1.65}.setup-product-fields .product-unit-entry-field>small:empty{display:none}.setup-product-fields .product-unit-toggle,.setup-product-fields .product-unit-entry p{color:var(--setup-muted);font-size:11px;line-height:1.8}.setup-product-group{border:1px solid var(--setup-line);background:color-mix(in srgb,var(--setup-soft) 65%,var(--surface));border-radius:7px;min-width:0;padding:10px}.setup-product-group h3{border-bottom:1px solid var(--setup-line);color:var(--setup-ink);align-items:center;gap:6px;margin:0 0 10px;padding-bottom:8px;font-size:12px;font-weight:600;display:flex}.setup-product-group h3 svg{color:var(--theme-primary-text)}.setup-product-group .product-unit-entry-field{gap:4px;margin:0}.setup-product-group .product-unit-entry{gap:8px}.setup-product-group:last-child>.product-unit-entry>.product-unit-entry{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.setup-product-group:last-child>.product-unit-entry>.product-unit-entry>.product-unit-entry-field:only-child{grid-column:1/-1}.setup-product-group .product-unit-toggle{margin:0}.setup-product-group input[type=checkbox]{width:15px;min-width:15px;height:15px;min-height:15px;accent-color:var(--brand)}.setup-product-saved{align-items:center;gap:8px;display:flex}.setup-actions{border-top:1px solid var(--setup-line);justify-content:space-between;align-items:center;gap:10px;margin:auto 0 0;padding:10px 0 0;display:flex}.business-setup-page .setup-actions>button{min-height:34px;padding:6px 10px}.setup-actions>.primary:last-child{margin-left:auto}.setup-error{border:1px solid var(--theme-danger-text);color:var(--theme-danger-text);background:var(--theme-danger-soft);border-radius:8px;margin-bottom:16px;padding:12px;font-size:12px;line-height:1.7}.setup-complete{text-align:center;align-content:center;justify-items:center;gap:12px;padding:8px 0;display:grid}.setup-complete-icon{border:1px solid color-mix(in srgb,var(--brand) 25%,var(--setup-line));width:48px;height:48px;color:var(--theme-primary-text);background:var(--theme-primary-soft);box-shadow:0 0 0 6px color-mix(in srgb,var(--brand) 5%,transparent);border-radius:50%;place-items:center;margin:4px 0 6px;animation:.26s both setup-check-in;display:grid}.setup-complete-caption{color:var(--theme-primary-text);align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.setup-complete dl{border:1px solid var(--setup-line);background:var(--setup-soft);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:4px 0 8px;padding:14px;display:grid}.setup-complete dl>div{text-align:left;align-content:start;gap:5px;min-width:0;font-size:13px;display:grid}.setup-complete dt{color:var(--setup-muted);font-size:11px}.setup-complete dd{overflow-wrap:anywhere;text-align:left;margin:0;font-weight:600}.setup-complete button{min-width:190px}.setup-reminder{z-index:80;border:1px solid var(--border);background:var(--surface);width:min(290px,100vw - 40px);color:var(--text);box-shadow:0 4px 18px color-mix(in srgb,var(--theme-shadow) 14%,transparent);border-radius:8px;gap:8px;padding:18px;display:grid;position:fixed;bottom:20px;right:20px}.setup-reminder button{border:1px solid var(--border);min-height:32px;color:var(--text);background:var(--surface);font:inherit;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.setup-reminder button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.setup-reminder>strong{font-size:13px}.setup-reminder small{color:var(--muted);font-size:11px;line-height:1.6}.setup-reminder .setup-dismiss{border:0;min-height:24px;padding:4px;position:absolute;top:6px;right:6px}@keyframes setup-slide-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes setup-slide-forward{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@keyframes setup-slide-backward{0%{opacity:0;transform:translate(-18px)}to{opacity:1;transform:translate(0)}}@keyframes setup-check-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media (height<=720px) and (width>=601px){.business-setup-page{padding:16px 20px}}@media (height<=640px) and (width>=601px){.setup-content{padding:14px 20px}.setup-fields{gap:9px}.setup-stage-caption{display:none}}@media (width>=601px){.setup-product-group:first-child>.product-unit-entry{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.setup-product-group:first-child .product-unit-entry-field:first-child,.setup-product-group:first-child .product-unit-toggle,.setup-product-group:first-child .product-unit-entry p{grid-column:1/-1}.setup-two-columns>.setup-field,.setup-product-group .product-unit-entry-field{grid-row:span 3;grid-template-rows:subgrid;row-gap:0}.setup-two-columns>.setup-field>label,.setup-product-group .product-unit-entry-field>label{margin-bottom:4px}.setup-two-columns>.setup-field>small:not(:empty),.setup-product-group .product-unit-entry-field>small:not(:empty){margin-top:4px}}@media (width<=600px){.business-setup-page{padding:16px 12px}.setup-frame{gap:12px;margin:0 auto}.setup-brand{gap:7px}.setup-frame-header{gap:8px}.setup-header-actions{gap:6px}.setup-header-actions .auth-locale-row>.auth-compact-locale{min-height:44px}.setup-brand small,.setup-brand .setup-brand-divider{display:none}.setup-layout{border-radius:14px;grid-template-columns:1fr;min-height:0}.setup-navigation{gap:20px;padding:20px 16px}.setup-welcome h1{font-size:22px;display:block}.setup-welcome h1 span{display:block}.setup-welcome p,.setup-eyebrow,.setup-progress-note,.setup-step-copy small{display:none}.setup-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.business-setup-page .setup-steps button{text-align:center;flex-direction:column;gap:8px}.setup-step-copy strong{font-size:10px}.setup-steps li:not(:last-child):after{width:calc(100% - 32px);height:1px;top:14px;left:calc(50% + 21px)}.setup-content{padding:22px 16px}.setup-slide h2{font-size:24px}.setup-slide-heading{margin-bottom:20px}.setup-identity{grid-template-columns:minmax(0,1fr) 100px;gap:20px 12px}.setup-identity .setup-two-columns,.setup-two-columns,.setup-product-fields{grid-template-columns:1fr}.setup-identity-fields>.setup-field input{font-size:16px}.business-setup-page .setup-slide .setup-logo-upload{width:94px;min-height:82px}.business-setup-page .setup-slide .setup-logo-remove{width:32px;min-height:32px;top:16px;right:-4px}.setup-payment-options{gap:10px}.setup-payment-options label{gap:8px;min-height:44px;padding:12px}.setup-payment-options strong{font-size:12px}.setup-payment-options label>svg{width:18px;height:18px}.business-setup-page :is(.setup-exit,.setup-steps button,.setup-slide button),.setup-reminder button,.setup-field :is(input,select),.setup-product-fields :is(input:not([type=checkbox]),select){min-height:44px}.business-setup-page .setup-actions>button{min-height:44px;padding:8px 10px;font-size:12px}}@media (prefers-reduced-motion:reduce){.setup-slide,.setup-slide[data-direction],.setup-complete-icon{animation:none}.business-setup-page :is(button,input,select,label),.setup-step-number{transition:none}}.mkpos-modal.admin-authorization-dialog{width:min(480px,100%)}.admin-authorization-dialog .admin-authorization-form{width:100%;min-width:0;max-width:none}.admin-authorization-form .field input{width:100%;min-width:0}.admin-authorization-form .admin-authorization-recovery{color:var(--theme-text-muted);cursor:pointer;align-items:center;gap:8px;font-size:13px;line-height:1.5;display:flex}.admin-authorization-recovery input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--theme-primary);flex:0 0 16px;margin:0;padding:0}.ai-reply-content{overflow-wrap:anywhere;min-width:0;max-width:100%;line-height:1.65}.ai-reply-content>:first-child{margin-top:0}.ai-reply-content>:last-child{margin-bottom:0}.ai-assistant-window .ai-reply-content p,.ai-mobile-page .ai-reply-content p{white-space:normal;margin:8px 0}.ai-reply-content h3,.ai-reply-content h4{margin:10px 0 4px;font-size:1.05em;font-weight:700;line-height:1.6}.ai-reply-content h4{font-size:1em}.ai-reply-content ul,.ai-reply-content ol{margin:6px 0;padding-inline-start:20px}.ai-reply-content li,.ai-reply-content li>p{margin:4px 0}.ai-reply-content blockquote{border-inline-start:3px solid var(--brand-700,var(--primary,var(--theme-border)));color:var(--muted,var(--theme-text-muted));margin:10px 0;padding:4px 10px}.ai-reply-content code{background:color-mix(in srgb, currentColor 6%, transparent);overflow-wrap:anywhere;border-radius:4px;padding:1px 4px;font-family:ui-monospace,Consolas,monospace;font-size:.9em}.ai-reply-content pre{border:1px solid var(--line,var(--border,var(--theme-border)));white-space:pre;border-radius:8px;max-width:100%;margin:10px 0;padding:10px;overflow-x:auto}.ai-reply-content pre code{white-space:pre;overflow-wrap:normal;background:0 0;padding:0}.ai-reply-content a{color:var(--brand-700,var(--primary,var(--theme-primary-text)));text-underline-offset:2px;text-decoration:underline}.ai-report-table{border:1px solid var(--line,var(--border,var(--theme-border)));overscroll-behavior-x:contain;border-radius:8px;width:100%;min-width:0;max-width:100%;margin:8px 0;overflow-x:auto}.ai-report-table:focus-visible{outline:2px solid var(--brand-700,var(--primary,var(--theme-focus)));outline-offset:2px}.ai-reply-content .ai-report-table table{table-layout:auto;border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font:inherit;color:inherit;margin:0}.ai-reply-content .ai-report-table th,.ai-reply-content .ai-report-table td{border:0;border-bottom:1px solid var(--line,var(--border,var(--theme-border)));white-space:normal;overflow-wrap:anywhere;vertical-align:top;text-transform:none;letter-spacing:normal;min-width:80px;max-width:240px;font:inherit;padding:5px 8px;line-height:1.6}.ai-reply-content .ai-report-table th{background:color-mix(in srgb, currentColor 5%, transparent);font-weight:700}.ai-reply-content .ai-report-table tbody tr:last-child td{border-bottom:0}.ai-reply-content .contains-task-list{padding-inline-start:0;list-style:none}.ai-reply-content .task-list-item input{vertical-align:middle;width:15px;height:15px;margin-inline-end:7px}.ai-reply-content hr{border:0;border-top:1px solid var(--line,var(--border,var(--theme-border)));margin:12px 0}.ai-assistant-window .ai-chat-message:not(.is-mine),.ai-mobile-page .shop-mobile-message:not(.is-mine){min-width:0;max-width:100%}.ai-reply-content .ai-screen-button{border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-control,8px);background:var(--surface,var(--theme-surface));max-width:100%;min-height:34px;color:var(--brand-700,var(--primary,var(--theme-primary-text)));font:inherit;cursor:pointer;white-space:normal;text-align:start;align-items:center;padding:5px 10px;display:inline-flex}.ai-reply-content .ai-screen-button:focus-visible{outline:2px solid var(--primary,var(--theme-focus));outline-offset:2px}.ai-reply-content .ai-screen-button:disabled{opacity:.5;cursor:default}.ai-subscription-notice{border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-sm,8px);min-width:0;color:var(--text,var(--theme-text));background:var(--surface-soft,var(--theme-surface));overflow-wrap:anywhere;flex:none;margin:6px 12px;padding:8px 10px;font-size:12px;line-height:1.75}.ai-subscription-notice p{margin:0}.ai-subscription-notice .ai-reply-content p{margin:5px 0 0}.ai-mobile-page .ai-subscription-notice{font-size:13px}.ai-weekly-avatar{flex:0 0 44px;place-items:center;width:44px;height:44px;margin-bottom:3px;display:inline-grid;position:relative}.ai-weekly-avatar-core{width:32px;height:32px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:50%;place-items:center;display:grid}.ai-weekly-ring{fill:none;stroke-width:3px;width:44px;height:44px;position:absolute;inset:0;overflow:visible}.ai-weekly-track{stroke:color-mix(in srgb, var(--ai-quota-color) 25%, var(--theme-border))}.ai-weekly-fill{stroke:var(--ai-quota-color);stroke-linecap:round;transform-origin:50%;transition:stroke-dasharray .3s,stroke .3s;transform:rotate(-90deg)}.ai-weekly-percent{border:1px solid var(--theme-border);background:var(--theme-surface);min-width:26px;color:var(--theme-text);text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:99px;padding:1px 4px;font-size:10px;font-weight:700;line-height:13px;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)}.ai-weekly-avatar[data-empty] .ai-weekly-avatar-core{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.shop-customer-chat-title .ai-weekly-reset,.shop-chat-header-copy .ai-weekly-reset{color:var(--theme-text-muted);white-space:nowrap;font-size:10px;line-height:1.35;display:block}@media (prefers-reduced-motion:reduce){.ai-weekly-fill{transition:none}}.ai-introduction{width:100%;min-width:0;max-width:680px;color:var(--text,var(--theme-text));text-align:start;overflow-wrap:anywhere;margin:0 auto;padding:12px 0;font-size:13px;line-height:1.75;container:ai-introduction/inline-size}.ai-introduction header{margin-bottom:14px}.ai-introduction-avatar{background:var(--theme-primary-soft);width:42px;height:42px;color:var(--theme-primary-text);border-radius:12px;justify-content:center;align-items:center;margin-bottom:6px;display:inline-flex}.ai-introduction h2{margin:0;font-size:18px;line-height:1.8}.ai-introduction p{margin:4px 0 0}.ai-introduction ul{grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:0;list-style:none;display:grid}.ai-introduction li{border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-sm,8px);align-items:flex-start;gap:9px;min-width:0;padding:10px;display:flex}.ai-introduction li>svg{color:var(--theme-primary-text);flex:none;margin-top:4px}.ai-introduction li>div{min-width:0}.ai-introduction h3{margin:0;font-size:13px;line-height:1.8}.ai-introduction li p,.ai-introduction footer{color:var(--muted,var(--theme-text-muted));font-size:12px}.ai-introduction footer{margin-top:12px}.ai-introduction .ai-introduction-example{color:var(--text,var(--theme-text));margin-top:8px}@container ai-introduction (width>=500px){.ai-introduction ul{grid-template-columns:repeat(2,minmax(0,1fr))}}.ai-mobile-page .ai-introduction{padding-block:8px;font-size:14px}.ai-mobile-page .ai-introduction h3{font-size:14px}.ai-mobile-page .ai-introduction li p,.ai-mobile-page .ai-introduction footer{font-size:13px}.ai-attachment-preview{border:1px solid var(--line,var(--theme-border));background:var(--surface,var(--theme-surface));border-radius:8px;align-items:center;gap:10px;min-width:0;max-width:100%;padding:8px;display:flex}.ai-attachment-thumbnail{width:56px;height:56px;color:var(--brand,var(--theme-primary-text));background:var(--surface-soft,var(--theme-background));border-radius:5px;flex:0 0 56px;place-items:center;display:grid;overflow:hidden}.ai-attachment-thumbnail img{object-fit:contain;width:100%;height:100%;display:block}.ai-attachment-copy{flex:1;gap:4px;min-width:0;display:grid}.ai-attachment-copy strong{color:var(--text);overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.5}.ai-attachment-copy small{color:var(--muted);font-size:10px;line-height:1.5}body .ai-attachment-preview .ai-attachment-remove{width:30px;height:30px;min-height:30px;color:var(--muted);box-shadow:none;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.ai-chat-file:has(.ai-attachment-preview){padding:8px 0;display:block}.shop-chat-message>.ai-attachment-preview{margin-block:4px 8px}.ai-business-actions{box-sizing:border-box;border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-sm,8px);background:var(--surface,var(--theme-surface));width:100%;min-width:0;max-width:100%;color:var(--text,inherit);overflow-wrap:anywhere;padding:10px;font-size:13px;line-height:1.65;container:ai-actions/inline-size}.ai-business-actions *,.ai-business-actions :before,.ai-business-actions :after{box-sizing:border-box}.ai-business-actions h3,.ai-business-actions h4{font-size:inherit;margin:0;line-height:1.65}.ai-business-actions p{white-space:normal;margin:6px 0;font-size:12px;line-height:1.65}.ai-business-actions ul{margin:6px 0;padding:0;list-style:none}.ai-business-actions li{border-top:1px solid var(--line,var(--border,var(--theme-border)));justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:6px 0;display:flex}.ai-business-actions li>span{flex:1;min-width:0}.ai-business-actions li>button{flex:none}.ai-business-actions li small{color:var(--muted,var(--theme-text-muted));font-size:12px;line-height:1.6;display:block}.ai-business-actions button{border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-sm,8px);background:var(--surface,var(--theme-surface));max-width:100%;min-height:32px;color:inherit;font:inherit;white-space:normal;overflow-wrap:anywhere;cursor:pointer;padding:5px 9px;line-height:1.5}.ai-business-actions button.primary{color:var(--theme-on-primary);background:var(--primary,var(--theme-primary))}.ai-business-actions button:disabled{opacity:.5;cursor:default}.ai-business-actions :is(button,input,select,textarea):focus-visible{outline:2px solid var(--primary,var(--theme-focus));outline-offset:2px}.ai-action-review{border-top:1px solid var(--line,var(--border,var(--theme-border)));min-width:0;margin-top:8px;padding-top:8px}.ai-action-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.ai-action-heading h4{flex:1;min-width:0}.ai-action-heading button{flex:none}.ai-action-record{border-bottom:1px solid var(--line,var(--border,var(--theme-border)));min-width:0;margin:6px 0;padding:6px 0}.ai-action-record dl{grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:4px 8px;margin:6px 0 0;font-size:13px;line-height:1.65;display:grid}.ai-action-record dt{text-transform:capitalize;min-width:0;color:var(--muted,var(--theme-text-muted))}.ai-action-record dd{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;margin:0}.ai-action-old{color:var(--muted,var(--theme-text-muted))}.ai-action-consent{cursor:pointer;align-items:flex-start;gap:8px;min-width:0;margin:8px 0;font-size:13px;line-height:1.65;display:flex}.ai-action-consent input{flex:none;width:18px;height:18px;margin:2px 0}.ai-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.ai-settings-form{grid-template-columns:minmax(0,1fr);gap:8px 10px;min-width:0;margin-block:8px;display:grid}.ai-settings-form>p,.ai-settings-form-actions,.ai-settings-field.is-wide{grid-column:1/-1}.ai-settings-form>p{margin:0}.ai-settings-form .ai-settings-field{align-content:start;gap:3px;min-width:0;margin:0;display:grid}.ai-settings-field>span{font-weight:600}.ai-settings-form small{min-width:0;color:var(--muted,var(--theme-text-muted));overflow-wrap:anywhere;font-size:12px;line-height:1.6;display:block}.ai-settings-form :is(input,select,textarea){box-sizing:border-box;border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-sm,8px);background:var(--surface,var(--theme-surface));width:100%;min-width:0;max-width:100%;min-height:34px;color:var(--text,var(--theme-text));font:inherit;padding:5px 8px;line-height:1.65;display:block}.ai-settings-form textarea{resize:vertical;min-height:64px}.ai-settings-form-actions{justify-content:flex-end;min-width:0;display:flex}@container ai-actions (width>=480px){.ai-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-action-record dl{grid-template-columns:minmax(90px,.6fr) minmax(0,1fr) minmax(90px,.6fr) minmax(0,1fr)}}@container ai-actions (width<=290px){.ai-action-buttons{grid-template-columns:minmax(0,1fr)}}.ai-business-actions [role=alert]{color:var(--theme-danger-text)}.ai-business-actions .ai-management-pin{gap:4px;min-width:0;margin-block:8px;display:grid}.ai-management-pin input{width:100%;min-width:0;min-height:34px;color:inherit;background:var(--surface,var(--theme-surface));border:1px solid var(--line,var(--border,var(--theme-border)));font:inherit;border-radius:8px;padding:6px 8px}.ai-mobile-page .ai-management-pin input{min-height:44px;font-size:16px}.ai-action-lines{overscroll-behavior-x:contain;max-width:100%;margin-top:8px;overflow-x:auto}.ai-action-lines table{border-collapse:collapse;width:100%;font-size:inherit}.ai-action-lines caption{text-align:left;padding:4px 0;font-weight:600}.ai-action-lines th,.ai-action-lines td{text-align:left;border-bottom:1px solid var(--theme-border);vertical-align:top;padding:6px 8px}.ai-action-lines th{white-space:nowrap;text-transform:capitalize}.ai-action-lines td:first-child{overflow-wrap:anywhere;min-width:100px}.ai-billing-requests{gap:10px;width:100%;min-width:0;display:grid}.ai-billing-status{color:var(--muted,var(--theme-text-muted));font-size:12px}.ai-billing-card .ai-billing-image{grid-column:1/-1;min-width:0}.ai-billing-review{min-width:0;margin-block:8px}.ai-billing-review dl{grid-template-columns:minmax(0,.6fr) minmax(0,1fr);gap:4px 8px;margin:6px 0;display:grid}.ai-billing-review dt{color:var(--muted,var(--theme-text-muted))}.ai-billing-review dd{overflow-wrap:anywhere;min-width:0;margin:0}.ai-billing-checks{border:1px solid var(--line,var(--border,var(--theme-border)));border-radius:var(--radius-sm,8px);max-width:100%;overflow-x:auto}.ai-billing-checks table{border-collapse:collapse;width:100%;color:inherit;font:inherit;margin:0}.ai-billing-checks th,.ai-billing-checks td{text-align:start;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid var(--line,var(--border,var(--theme-border)));padding:5px 8px}.ai-billing-checks th{background:color-mix(in srgb, currentColor 5%, transparent)}.ai-billing-checks tr:last-child td{border-bottom:0}.ai-billing-card .ai-billing-refresh{margin-top:6px}.ai-billing-checks :is([data-validation-status=mismatch],[data-validation-status=unknown]){color:var(--theme-danger-text)}.ai-report-contact-request{text-align:left;margin-top:10px}.ai-report-contact{color:var(--text,var(--theme-text));background:var(--surface,var(--theme-surface));border:1px solid var(--border,var(--theme-border));text-align:left;border-radius:8px;gap:14px;min-width:0;padding:16px;display:grid}.ai-report-contact h3,.ai-report-contact p{margin:0}.ai-report-contact h3{font-size:16px;line-height:1.6}.ai-report-contact p,.ai-report-contact small{font-size:13px;line-height:1.7}.ai-report-contact-summary{border-left:3px solid var(--brand-700,var(--theme-border));background:var(--brand-100,var(--theme-background));overflow-wrap:anywhere;padding:10px 12px}.ai-report-contact-summary p{white-space:pre-wrap;max-height:100px;overflow:auto}.ai-report-contact fieldset{border:0;min-width:0;margin:0;padding:0}.ai-report-contact legend{margin-bottom:8px;font-size:13px;font-weight:600}.ai-report-contact-options{flex-wrap:wrap;gap:8px;display:flex}.ai-report-contact-options label{border:1px solid var(--border,var(--theme-border));cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:9px 12px;font-size:14px;display:flex}.ai-report-contact-options label.is-selected{background:var(--brand-100,var(--theme-background));border-color:var(--brand-700,var(--theme-border))}.ai-report-contact input[type=radio]{width:18px;height:18px;accent-color:var(--brand-700,var(--theme-primary-text));flex:none;margin:0}.ai-report-contact-skip{align-items:center;gap:8px;min-height:44px;margin-top:6px;font-size:13px;display:flex}.ai-report-contact-field{gap:6px;margin-top:10px;font-size:14px;display:grid}.ai-report-contact-field input{border:1px solid var(--border,var(--theme-border));background:var(--surface,var(--theme-surface));width:100%;min-width:0;min-height:44px;color:inherit;font:inherit;border-radius:8px;padding:10px 12px}.ai-report-contact [role=alert]{color:var(--danger,var(--theme-danger-text))}.ai-report-contact-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ai-report-contact-actions button{min-height:44px}.ai-report-contact-actions button[type=submit]{background:var(--brand-700,var(--theme-primary));color:var(--theme-on-primary)}.ai-report-contact :focus-visible{outline:2px solid var(--brand-700,var(--theme-focus));outline-offset:3px}.shop-admin>fieldset{border:0;min-width:0;margin:0;padding:0}.shop-tabs,.shop-actions,.shop-checks{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.shop-admin .panel{background:var(--surface);border:1px solid var(--line);border-radius:6px;margin-bottom:14px;padding:14px}.shop-workspace-content{min-width:0}.shop-customer-description{color:var(--muted);margin:0 0 12px;font-size:12px;line-height:1.5}.shop-admin .shop-customer-block-status{box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;min-height:28px;padding:0;line-height:0;display:inline-flex}.shop-customer-block-status svg{flex-shrink:0;margin:0;display:block}.shop-customer-detail{grid-template-columns:232px minmax(0,1fr);align-items:start;gap:16px;min-width:0;display:grid}body .workspace-app-bar-action-group.shop-customer-chat-actions{margin-inline:8px}.chat-app-alert{top:auto;bottom:calc(16px + env(safe-area-inset-bottom,0px));right:max(16px, env(safe-area-inset-right,0px));z-index:100;box-sizing:border-box;border:1px solid var(--line);border-left:3px solid var(--brand);background:var(--surface);width:min(320px,100vw - 32px);color:var(--text);box-shadow:0 4px 18px color-mix(in srgb, var(--theme-shadow) 14%, transparent);border-radius:8px;align-items:flex-start;gap:8px;padding:10px;display:flex;position:fixed}body:has(.chat-app-alert:not(.subscription-app-alert)) .subscription-app-alert{top:calc(16px + env(safe-area-inset-top,0px));bottom:auto}.owner-activity-alert .chat-app-alert-content p{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-app-alert-icon{background:color-mix(in srgb, var(--brand) 10%, var(--surface));width:30px;height:30px;color:var(--theme-primary-text);border-radius:6px;flex:none;place-items:center;display:grid}.chat-app-alert-content{overflow-wrap:anywhere;flex:1;min-width:0}.chat-app-alert strong{font-size:13px;font-weight:600;line-height:1.4;display:block}.chat-app-alert p{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin:4px 0 0;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}body .chat-app-alert .chat-app-alert-open{border:1px solid var(--brand);background:var(--brand);min-height:28px;color:var(--theme-on-primary);box-shadow:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;margin-top:8px;padding:4px 10px;font-size:12px;font-weight:600;line-height:1.4;display:inline-flex}body .chat-app-alert .chat-app-alert-open:hover{background:color-mix(in srgb, var(--brand) 88%, var(--theme-inverse-surface))}body .chat-app-alert .chat-app-alert-dismiss{border:1px solid var(--line);background:color-mix(in srgb, var(--brand) 4%, var(--surface));width:28px;min-height:28px;color:var(--muted);box-shadow:none;border-radius:6px;flex:none;place-items:center;margin:0;padding:0;display:grid}body .chat-app-alert .chat-app-alert-dismiss:hover{border-color:var(--brand);background:color-mix(in srgb, var(--brand) 10%, var(--surface));color:var(--theme-primary-text)}body .chat-app-alert button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.shop-customer-chat{z-index:40;width:min(360px,100vw - 48px);color:var(--text);position:fixed;bottom:0;right:24px}.shop-customer-chat-window{border:1px solid var(--line);background:var(--surface);box-shadow:0 6px 32px color-mix(in srgb, var(--theme-shadow) 18%, transparent);border-bottom:0;border-radius:12px 12px 0 0;overflow:hidden}.shop-customer-chat-heading{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--brand) 8%, var(--surface));align-items:center;gap:4px;padding:8px;display:flex}body .shop-admin .shop-customer-chat-title{min-width:0;box-shadow:none;color:var(--text);text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:0;display:flex}.shop-customer-chat-title>span:last-child{min-width:0}.shop-customer-chat-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.shop-customer-chat-title small{color:var(--muted);font-size:11px;display:block}body .shop-admin .shop-customer-chat-icon{width:30px;min-height:30px;box-shadow:none;color:var(--muted);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}body .shop-admin .shop-customer-chat-icon:hover{background:var(--surface-soft);color:var(--theme-primary-text)}.shop-customer-chat-body{flex-direction:column;height:min(440px,100dvh - 130px);min-height:0;padding:10px;display:flex}.shop-customer-chat-body .shop-chat-conversation{flex-direction:column;flex:1;min-height:0;display:flex}.shop-customer-chat-body .shop-chat-messages{overscroll-behavior:contain;overflow-anchor:none;flex:1;height:auto;min-height:0;padding:8px}.shop-customer-chat-body .shop-chat-composer{flex:none;gap:6px}.shop-customer-chat-body .shop-chat-composer button[type=submit]{padding-inline:8px;font-size:12px}.shop-customer-chat [hidden]{display:none!important}.shop-admin .shop-customer-detail .panel{margin:0}.shop-customer-main{gap:20px;min-width:0;display:grid}.shop-customer-profile{position:sticky;top:88px}.shop-customer-identity{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:14px 0 24px;display:flex}.shop-customer-avatar{background:var(--accent);width:88px;height:88px;color:var(--theme-primary-text);border-radius:50%;place-items:center;font-size:28px;font-weight:700;display:grid}.shop-customer-identity h2{overflow-wrap:anywhere;margin:0;font-size:20px}.shop-customer-blocked{text-align:center;margin:0 0 10px}.shop-customer-spending{border-top:1px solid var(--line);padding-top:10px}.shop-customer-spending h3{margin:0 0 8px;font-size:13px}.shop-customer-currency+.shop-customer-currency{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.shop-customer-currency-label{color:var(--theme-primary-text);font-size:11px;font-weight:700}.shop-customer-currency dl{gap:6px;margin:6px 0 0;display:grid}.shop-customer-currency dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:8px;display:grid}.shop-customer-currency dt{color:var(--muted);font-size:11px}.shop-customer-currency dd{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0;font-size:12px;font-weight:600}.shop-customer-currency dl>div:first-child dd{color:var(--theme-primary-text);font-size:14px}.shop-customer-spending .shop-customer-description{margin:8px 0 0;font-size:10px;line-height:1.4}.shop-customer-overview{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px;display:grid}.shop-admin .shop-customer-contact,.shop-admin .shop-customer-summary{padding:12px}.shop-customer-main .shop-customer-overview h2{margin-bottom:10px;font-size:14px}.shop-customer-main h2{align-items:center;gap:9px;margin:0 0 14px;font-size:16px;display:flex}.shop-customer-contact dl{gap:0;margin:0;display:grid}.shop-customer-contact dl>div{align-items:flex-start;gap:9px;min-width:0;padding:10px 0;display:flex}.shop-customer-contact dl>div+div{border-top:1px solid var(--line)}.shop-customer-contact dl svg{color:var(--muted);flex-shrink:0;margin-top:3px}.shop-customer-contact dl>div>div{overflow-wrap:anywhere;flex:1;grid-template-columns:48px minmax(0,1fr);align-items:baseline;gap:8px;min-width:0;display:grid}.shop-customer-contact dt{color:var(--muted);font-size:11px}.shop-customer-contact dd{margin:0;font-size:12px}.shop-customer-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.shop-customer-metrics article{border:1px solid var(--line);border-radius:6px;align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.shop-customer-metrics article>div:last-child{gap:3px;min-width:0;display:grid}.shop-customer-metric-icon{height:28px;color:var(--theme-primary-text);background:var(--accent);border-radius:50%;flex:0 0 28px;place-items:center;display:grid}.shop-customer-metrics span{color:var(--muted);font-size:11px}.shop-customer-metrics strong{font-variant-numeric:tabular-nums;font-size:20px;line-height:1}.shop-customer-purchase-dates{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px 20px;margin-top:10px;padding-top:10px;display:flex}.shop-customer-purchase-dates>div{gap:3px;font-size:11px;display:grid}.shop-customer-purchase-dates span{color:var(--muted)}.shop-side-tabs button{justify-content:flex-start;gap:9px}.shop-side-tabs button:not(.primary){color:inherit;background:0 0}.shop-side-tabs svg{flex:0 0 18px}.shop-tab-copy{text-align:left;gap:2px;display:grid}.shop-tab-copy strong{font-size:12px}.shop-tab-copy small{opacity:.75;font-size:9px;font-weight:400;display:block}.shop-admin .shop-nav-section-heading{border-top:1px solid var(--line);color:var(--muted);margin:8px 7px 2px;padding-top:10px;font-size:11px;font-weight:700}.shop-workspace{grid-template-columns:232px minmax(0,1fr);align-items:start;gap:9px;display:grid}.shop-tabs.shop-side-tabs{border:1px solid var(--line);background:var(--surface);border-radius:6px;flex-flow:column;gap:4px;margin:0;padding:8px}.shop-side-tabs button{text-align:left;border-color:#0000;border-radius:4px;width:100%;min-height:36px;padding:5px 7px}.desktop-workspace .shop-admin .shop-side-tabs button.primary,.desktop-workspace .shop-admin .shop-side-tabs button.primary:hover{color:var(--theme-primary-text);background:var(--accent);box-shadow:none;border-color:#0000}.desktop-workspace .shop-side-tabs button:not(.primary):hover{background:var(--surface-soft,var(--surface))}.shop-settings{max-width:1000px}.shop-publication-feedback{color:var(--theme-primary-text);margin-top:4px;font-size:11px;line-height:1.4;display:block}.shop-publication-feedback[role=alert]{color:var(--danger,var(--theme-danger-text))}.shop-bulk-error{color:var(--danger,var(--theme-danger-text));margin:12px;font-size:12px}.shop-publication-control{flex:0 0 14px;place-items:center;width:14px;height:14px;display:grid}.shop-publication-control input{margin:0}.shop-publication-control input[hidden]{display:none}.shop-publication-progress{box-sizing:border-box;border:2px solid var(--line);border-top-color:var(--brand);border-radius:50%;width:14px;height:14px;animation:.7s linear infinite shop-publication-saving;display:block}@keyframes shop-publication-saving{to{transform:rotate(360deg)}}.desktop-workspace .workspace-app-bar-search:has(.shop-product-search){flex:0 clamp(280px,32cqi,420px);width:clamp(280px,32cqi,420px);min-width:min(280px,100%)}.desktop-workspace .shop-product-search input{border-color:var(--line);background:var(--surface-soft,var(--theme-background));color:var(--text,var(--theme-text));cursor:text;padding-right:9px}.desktop-workspace .shop-product-search input::placeholder{color:var(--muted)}.shop-logo-row{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;margin:16px 0 20px;display:grid}.shop-logo-preview{width:64px;height:64px;color:var(--theme-primary-text);place-items:center;display:grid;overflow:hidden}.shop-logo-preview img{object-fit:contain;width:100%;height:100%}.shop-logo-copy{gap:4px;min-width:0;display:grid}.shop-logo-copy strong{font-size:13px}.shop-logo-copy small{color:var(--muted);font-size:11px;line-height:1.5}.shop-logo-actions{align-items:center;gap:8px;display:flex}.shop-logo-actions button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.shop-logo-input{display:none}.shop-cover-row{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:192px minmax(0,1fr) auto;align-items:center;gap:16px;margin:20px 0;padding:18px 0;display:grid}.shop-cover-preview{background:var(--bg);width:192px;height:86px;color:var(--muted);border-radius:8px;place-items:center;display:grid;overflow:hidden}.shop-cover-preview img{object-fit:cover;width:100%;height:100%}.shop-cover-row>p{grid-column:1/-1;margin:0}@media (width<=900px){.shop-cover-row{grid-template-columns:140px 1fr}.shop-cover-preview{width:140px}.shop-cover-row .shop-logo-actions{flex-wrap:wrap;grid-column:1/-1}}.shop-logo-row>[role=alert]{grid-column:1/-1;margin:0}.shop-brand-profile{--shop-cover-height:clamp(200px, 24vw, 300px);border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:20px 0 24px;position:relative}.shop-brand-profile .shop-cover-row{border:0;flex-wrap:wrap;gap:12px;margin:0;padding:0 20px 16px 164px;display:flex;position:relative}.shop-brand-profile .shop-cover-preview{width:calc(100% + 184px);height:var(--shop-cover-height);background:linear-gradient(120deg, var(--surface-soft,var(--bg)), var(--line));border-radius:11px 11px 0 0;flex:0 0 calc(100% + 184px);margin:0 -20px 0 -164px}.shop-brand-profile .shop-cover-preview>svg{width:48px;height:48px}.shop-brand-profile .shop-cover-row>.shop-logo-copy{flex:260px;padding-top:4px}.shop-brand-profile .shop-cover-row>.shop-logo-actions{flex-wrap:wrap;align-self:flex-start;padding-top:4px}.shop-brand-profile .shop-cover-row>p{flex-basis:100%}.shop-brand-profile .shop-logo-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:0;padding:16px 20px}.shop-brand-profile .shop-logo-preview{left:20px;top:calc(var(--shop-cover-height) - 60px);box-sizing:border-box;border:5px solid var(--surface);background:var(--surface);width:120px;height:120px;box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 12.549%, transparent);border-radius:50%;position:absolute}.shop-brand-profile .shop-logo-actions{flex-wrap:wrap}.shop-brand-profile .shop-cover-row{gap:0;padding-bottom:0}.shop-brand-profile .shop-logo-row{border:0;padding:0;display:block}.shop-brand-profile .shop-logo-actions{display:none}.shop-brand-profile .shop-cover-row>p{padding:12px 0}.shop-brand-description{min-height:76px;padding:16px 20px 20px 164px}.shop-logo-preview,.shop-cover-preview{position:relative}.shop-logo-preview{overflow:visible}.shop-logo-preview img{border-radius:inherit}.shop-logo-preview .shop-image-edit,.shop-cover-preview .shop-image-edit{border:1px solid var(--line);background:var(--surface);width:34px;height:34px;min-height:34px;color:var(--text);box-shadow:0 2px 6px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;bottom:8px;right:8px}.shop-brand-profile .shop-logo-preview .shop-image-edit{bottom:-2px;right:-2px}.shop-brand-profile .shop-cover-preview .shop-image-edit{bottom:16px;right:16px}.shop-image-edit:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.shop-image-edit:disabled{opacity:.65;cursor:wait}.shop-image-spinner{animation:.7s linear infinite shop-publication-saving}.shop-location-gate-container{place-items:center;min-height:max(320px,100dvh - 250px);display:grid}.shop-location-gate-container .shop-location-gate{text-align:center;border:1px solid var(--line);background:var(--surface);border-radius:6px;width:100%;max-width:620px;margin:0;padding:24px}.shop-location-gate>button{margin-inline:auto}.shop-location-gate>svg{color:var(--theme-primary-text)}.shop-location-settings{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.shop-location-settings-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.shop-location-settings-heading h3{margin:0}.shop-location-coordinates{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:12px;display:flex}.shop-location-coordinates a{color:var(--theme-primary-text);font-weight:650}.shop-settings .field{margin-bottom:12px}.shop-payment-form-fields{border:0;min-width:0;margin:0;padding:0}.shop-form-grid,.shop-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.shop-config-row{align-items:end;gap:12px;margin:12px 0;display:flex}.shop-config-row .field{flex:1}.shop-config-row button{margin-bottom:12px}.shop-checkbox,.shop-checks label{align-items:center;gap:8px;display:flex}.shop-checkbox input,.shop-checks input{width:auto}.shop-payment-config{border-bottom:1px solid var(--line);margin-bottom:14px;padding-bottom:14px}.shop-cell-meta{color:var(--muted);margin-top:3px;font-size:11px;display:block}.shop-analysis{gap:12px;min-width:0;display:grid}.shop-analysis-context{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.shop-analysis-kpis .report-kpi-copy small{white-space:normal}.shop-analysis-kpis .report-kpi-copy strong{overflow-wrap:anywhere;white-space:normal}.shop-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.shop-analysis-chart{min-width:0;padding:14px}.shop-analysis-chart h2{margin:0 0 12px;font-size:15px}.shop-analysis-chart.report-sales-chart{padding:0}.shop-analysis-grid details{margin:12px;font-size:12px}.shop-analysis-grid summary{cursor:pointer;color:var(--theme-primary-text)}.shop-analysis-table{max-height:350px;margin-top:10px;overflow-x:auto}.shop-analysis-table table{border-collapse:collapse;width:100%;font-size:12px}.shop-analysis-table :is(th,td){text-align:left;border-bottom:1px solid var(--line);padding:8px}.shop-analysis-table th{background:var(--surface-soft);font-weight:600}.shop-analysis-totals{gap:14px;display:grid}.shop-analysis-totals>div{justify-content:space-between;gap:12px;display:flex}.shop-analysis-totals dd{margin:0;font-weight:600}.shop-analysis-empty{color:var(--muted);padding:20px;font-size:13px}@media (width<=1000px){.shop-analysis-grid{grid-template-columns:minmax(0,1fr)}}body .module-view .table-wrap.sheet-table .shop-data-table{min-width:0}body .module-view .shop-data-table :is(th,td){white-space:normal;overflow-wrap:anywhere}.shop-data-table .shop-money-cell{text-align:right;font-variant-numeric:tabular-nums}.shop-data-table .shop-checkbox{white-space:normal;overflow-wrap:anywhere;gap:5px;min-width:0;font-size:12px}.shop-data-table .shop-checkbox input{flex-shrink:0}.shop-data-table :is(textarea,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%}body .desktop-workspace .module-view .table-wrap.sheet-table table.shop-data-table tbody td .status-badge{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;text-align:center;max-width:100%;display:inline-block}body .desktop-workspace .module-view .table-wrap.sheet-table table.shop-data-table tbody td .status-badge.shop-customer-block-status{border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;min-height:28px;padding:0;line-height:0;display:inline-flex}.shop-data-table .shop-order-link{max-width:100%;min-height:0;color:var(--theme-primary-text);text-align:left;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;padding:0;font-weight:750;display:inline}.shop-data-table .shop-order-link:hover{text-decoration:underline}.shop-status-neutral{background:var(--surface-soft);color:var(--muted)}.shop-list-end{text-align:center;padding:20px}.shop-orders-pagination{border-top:1px solid var(--line);background:var(--surface);align-items:center;gap:16px;padding-left:12px;display:flex}.shop-orders-pagination .data-table-footer{flex:1;min-width:0}.shop-page-size{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:11px;display:flex}body .desktop-workspace .module-view .shop-page-size select{width:64px;min-height:28px;padding:4px 6px;font-size:11px}.shop-proof-image{object-fit:contain;max-width:100%;max-height:500px;display:block}.shop-order-detail{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.shop-admin .shop-order-progress{grid-column:1/-1;align-items:center;gap:18px;min-width:0;margin:0;padding:10px 12px;display:flex}.shop-order-progress-heading{flex-shrink:0;align-items:center;gap:8px;display:flex}.shop-admin .shop-order-progress-heading h2{margin:0;font-size:12px}.shop-order-progress ol{flex:1;align-items:center;gap:10px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.shop-order-progress li{min-width:0;color:var(--muted);overflow-wrap:anywhere;flex:1;align-items:center;gap:6px;display:flex}.shop-order-progress li:not(:last-child):after{content:"";border-top:1px solid var(--line);flex:1;min-width:8px;margin-left:2px}.shop-order-progress li[data-state=done]:after{border-color:var(--brand)}.shop-order-step-marker{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);border-radius:50%;flex:0 0 20px;place-items:center;width:20px;height:20px;font-size:10px;font-weight:750;display:grid}.shop-order-step-marker svg{width:12px;height:12px}.shop-order-progress li strong{font-size:11px;line-height:1.35}.shop-order-progress li:is([data-state=done],[data-state=current]){color:var(--theme-primary-text)}.shop-order-progress li[data-state=done] .shop-order-step-marker{background:var(--brand);border-color:var(--brand);color:var(--surface)}.shop-order-progress li[data-state=current] .shop-order-step-marker{background:var(--accent);border:2px solid var(--brand)}.shop-order-progress li[data-state=stopped]{color:var(--danger,var(--theme-danger-text))}.shop-order-progress li[data-state=stopped] .shop-order-step-marker{background:var(--surface);border-color:currentColor}.shop-order-column{overflow-wrap:anywhere;gap:16px;min-width:0;display:grid}.shop-admin .shop-order-column>.panel{min-width:0;margin:0}body .module-view .shop-order-detail table{table-layout:fixed;width:100%;min-width:0}body .module-view .shop-order-detail :is(th,td){white-space:normal;overflow-wrap:anywhere}.shop-admin h2{font-size:18px}.shop-admin h3{font-size:15px}.shop-payment-heading{align-items:center;gap:16px;display:flex}.shop-payment-heading>div{flex:1;min-width:0}.shop-payment-heading>button{flex-shrink:0}.shop-order-detail .field{margin-bottom:12px}.shop-flow-notice{border:1px solid var(--line);background:var(--accent);color:var(--theme-primary-text);border-radius:6px;padding:10px 12px}.shop-proof-review{border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:12px}.shop-proof-review .shop-proof-image{max-height:280px;margin-bottom:8px}.shop-proof-link{color:var(--theme-primary-text);font-weight:650}.shop-history-list{margin:0;padding:0;list-style:none}.shop-history-list li{border-bottom:1px solid var(--line);overflow-wrap:anywhere;gap:5px;padding:12px 0;display:grid}.shop-history-list li:first-child{padding-top:0}.shop-history-list time{color:var(--muted);font-size:12px}.shop-history-list p{margin:0;font-size:13px;line-height:1.5}.shop-proof-review .shop-actions button[aria-pressed=true]{background:var(--accent);color:var(--theme-primary-text);border-color:var(--brand)}.shop-payment-review-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.shop-payment-review-heading strong{text-align:right;font-size:13px}.shop-admin .shop-payment-review h2{margin:0}.shop-payment-review>p{margin:8px 0;font-size:12px;line-height:1.45}.shop-payment-review .shop-proof-review{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 140px;align-items:start;gap:6px 12px;margin:8px 0;padding:8px 0;display:grid}.shop-payment-review .shop-proof-review h3{margin:0}.shop-payment-review .shop-proof-review .shop-actions{grid-column:1;gap:6px;margin:0}.shop-payment-review .shop-proof-review :is([role=status],[role=alert]){grid-column:1;margin:0;font-size:12px}.shop-payment-review .shop-proof-preview{grid-area:1/2/span 3;min-width:0}.shop-payment-review .shop-proof-image{width:100%;max-height:100px;margin-bottom:4px}.shop-payment-review .shop-proof-link{font-size:12px;display:block}.shop-payment-review-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0;display:grid}.shop-payment-review .field{min-width:0;margin:0}.shop-payment-review :is(.field,.shop-checkbox){font-size:12px;line-height:1.4}body .desktop-workspace .module-view .shop-payment-review-fields textarea{resize:vertical;height:36px;min-height:36px}.shop-payment-review>.shop-actions{gap:8px;margin:8px 0}body .desktop-workspace .module-view .shop-admin .shop-checkbox input[type=checkbox]{width:14px;height:14px;min-height:0;accent-color:var(--brand);flex-shrink:0;padding:0}.workspace-app-bar-actions:has(.shop-publication-actions){gap:8px}.shop-order-action-modal{text-align:start}.shop-order-action-modal .shop-payment-review-fields{grid-template-columns:minmax(0,1fr)}.shop-order-action-modal .shop-payment-review-fields :is(input,textarea){width:100%}.shop-order-action-modal .shop-history-list li{padding:10px 0}.shop-chat-conversation{gap:10px;min-width:0;display:grid;position:relative}.shop-chat-connection{color:var(--muted,var(--theme-text-muted));font-size:12px}.shop-chat-messages{border:1px solid var(--line,var(--border));background:var(--surface-soft);border-radius:6px;flex-direction:column;gap:10px;height:min(420px,50dvh);padding:12px;display:flex;overflow-y:auto}.shop-chat-message{background:var(--surface);border:1px solid var(--line,var(--border));overflow-wrap:anywhere;border-radius:10px;flex:none;align-self:flex-start;max-width:85%;padding:9px 12px}.shop-chat-message.is-mine{background:color-mix(in srgb, var(--brand) 10%, var(--surface));align-self:flex-end}.shop-chat-message p{white-space:pre-wrap;margin:4px 0;font-weight:600}.shop-chat-message small,.shop-chat-message time{color:var(--muted,var(--theme-text-muted));font-size:11px;display:block}.shop-chat-composer{align-items:flex-end;gap:8px;display:flex}.shop-chat-product-card{border:1px solid var(--line);background:var(--surface);width:min(270px,100%);min-width:0;color:var(--text);box-sizing:border-box;border-radius:8px;align-items:center;gap:10px;margin:6px 0;padding:8px;text-decoration:none;display:flex}.shop-chat-product-card:hover{border-color:var(--brand)}.shop-chat-product-card:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.shop-chat-product-card img,.shop-chat-product-photo{object-fit:cover;border-radius:6px;flex:none;width:52px;height:52px}.shop-chat-product-photo{background:var(--surface-soft);color:var(--theme-primary-text);place-items:center;display:grid}.shop-chat-product-copy{gap:4px;min-width:0;font-size:12px;display:grid}.shop-chat-product-copy strong{overflow-wrap:anywhere;font-size:13px}.shop-chat-product-preview{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;align-items:center;gap:8px;padding:8px;display:flex}.shop-chat-product-preview>span{overflow-wrap:anywhere;flex:1;min-width:0}.shop-chat-product-preview small{color:var(--muted);font-size:11px;display:block}.shop-chat-product-preview button{place-items:center;width:32px;padding:0;display:grid}.shop-chat-product-overlay{z-index:5;background:color-mix(in srgb, var(--theme-inverse-surface) 18%, transparent);border-radius:6px;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:0}.shop-chat-product-picker{box-sizing:border-box;width:100%;max-width:420px;min-height:0;max-height:100%;box-shadow:0 8px 28px color-mix(in srgb, var(--theme-shadow) 18%, transparent);border:1px solid var(--line);background:var(--surface);border-radius:6px;flex-direction:column;flex:none;padding:8px;display:flex}.shop-chat-product-picker header{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.shop-chat-product-picker header button{place-items:center;width:32px;padding:0;display:grid}.shop-chat-product-picker input{box-sizing:border-box;flex-shrink:0;width:100%}.shop-chat-product-options{min-height:0;max-height:min(360px,50dvh);margin-top:6px;overflow-y:auto}body .shop-chat-product-option{text-align:left;width:100%;min-height:44px;color:var(--text);background:0 0;border:0;border-radius:4px;justify-content:flex-start;align-items:center;gap:8px;margin:0;padding:8px;display:flex}.shop-chat-product-option:hover{background:var(--surface-soft)}.shop-chat-product-option>svg{flex-shrink:0}.shop-chat-product-option span{text-align:left;flex:1;min-width:0}.shop-chat-product-option strong{overflow-wrap:anywhere;font-size:12px}.shop-chat-product-option small{color:var(--muted);font-size:11px;display:block}.shop-chat-composer textarea{resize:none;flex:1;width:100%;min-width:0;overflow-y:auto}.shop-chat-composer button{flex-shrink:0}body .shop-chat-composer :is(textarea,button){box-sizing:border-box;height:max(36px, var(--mkpos-control-height,36px))!important;min-height:max(36px, var(--mkpos-control-height,36px))!important}body .shop-chat-composer textarea{max-height:160px;line-height:var(--mkpos-line-height,1.5);padding:6px 9px;height:var(--shop-chat-input-height,max(36px, var(--mkpos-control-height,36px)))!important}body .shop-chat-composer .shop-chat-attach{width:max(36px, var(--mkpos-control-height,36px));padding:0}body .shop-chat-composer:focus-within .shop-chat-attach:not(:disabled){color:var(--theme-primary-text);border-color:var(--brand);background:color-mix(in srgb, var(--brand) 9%, var(--surface))}body .shop-chat-composer .shop-chat-attach:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.shop-chat-workspace{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(200px,300px) minmax(0,1fr);align-items:stretch;gap:12px;height:calc(100dvh - 240px);min-height:0;display:grid;overflow:hidden}.shop-chat-ai-thinking{border:1px solid var(--line);border-radius:var(--radius-control,8px);background:var(--theme-primary-soft);min-width:0;color:var(--theme-primary-text);flex:none;align-items:center;gap:8px;margin:8px 0;padding:8px 10px;display:flex}.shop-chat-ai-thinking>svg{flex-shrink:0}.shop-chat-ai-thinking>span:first-of-type{overflow-wrap:anywhere;gap:1px;min-width:0;display:grid}.shop-chat-ai-thinking strong{font-size:12px;font-weight:600;line-height:1.65}.shop-chat-ai-thinking small{color:var(--muted);font-size:11px;line-height:1.65}.shop-chat-ai-dots{flex:none;gap:4px;margin-left:auto;display:flex}.shop-chat-ai-dots i{background:currentColor;border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite shop-ai-thinking-pulse}.shop-chat-ai-dots i:nth-child(2){animation-delay:.15s}.shop-chat-ai-dots i:nth-child(3){animation-delay:.3s}@keyframes shop-ai-thinking-pulse{0%,80%,to{opacity:.35}40%{opacity:1}}@media (prefers-reduced-motion:reduce){.shop-chat-ai-dots i{opacity:.7;animation:none}}.shop-chat-panel{min-width:0}.shop-chat-panel h2{margin:0 0 12px;font-size:18px}.shop-admin .shop-chat-workspace>.panel{flex-direction:column;min-width:0;min-height:0;margin:0;display:flex;overflow:hidden}.shop-chat-inbox h2{border-bottom:1px solid var(--line);flex:none;margin:0;padding-bottom:12px;font-size:16px}.shop-chat-thread-list{overscroll-behavior:contain;overflow-anchor:none;flex:1;min-height:0;overflow-y:auto}.shop-chat-thread{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:12px 8px;display:flex}.shop-chat-thread>span:first-child{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.shop-chat-thread small{color:var(--muted);font-size:11px}.shop-chat-thread[aria-pressed=true]{background:color-mix(in srgb, var(--brand) 10%, var(--surface));color:var(--theme-primary-text)}.shop-chat-list-end{color:var(--muted);padding:12px 8px;font-size:12px}.shop-chat-list-end p{margin:0}.shop-chat-panel>h2{flex:none}.shop-chat-workspace .shop-chat-conversation{flex-direction:column;flex:1;min-height:0;display:flex}.shop-chat-workspace .shop-chat-messages{overscroll-behavior:contain;overflow-anchor:none;flex:1;height:auto;min-height:0}.shop-chat-history-sentinel{flex:none;height:1px}.shop-chat-history-loading{color:var(--muted);text-align:center;flex:none;align-self:center;justify-items:center;gap:6px;padding:8px 0;font-size:12px;display:grid}.shop-chat-history-progress{background:var(--line);border-radius:3px;width:120px;height:3px;overflow:hidden}.shop-chat-history-progress>span{border-radius:inherit;background:var(--brand);width:35%;height:100%;animation:1.2s ease-in-out infinite shop-chat-history-loading;display:block}@keyframes shop-chat-history-loading{0%{transform:translate(-100%)}to{transform:translate(300%)}}.shop-chat-image{background:color-mix(in srgb, var(--brand) 4%, var(--surface));border-radius:6px;width:min(260px,100%);min-width:140px;height:180px;margin:5px 0;overflow:hidden}.shop-chat-image>a{width:100%;height:100%;display:block}.shop-chat-image img{object-fit:contain;width:100%;height:100%}.shop-chat-image-placeholder{width:100%;height:100%;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:12px;font-size:12px;display:flex}.shop-chat-image-selection{border:1px solid var(--line);border-radius:6px;flex:none;align-items:center;gap:8px;padding:8px;display:flex}.shop-chat-image-selection img{object-fit:contain;border-radius:4px;width:48px;height:48px}.shop-chat-image-selection>div{flex:1;gap:4px;min-width:0;display:grid}.shop-chat-image-selection strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.shop-chat-image-selection small{color:var(--muted);font-size:11px}.shop-chat-composer .shop-chat-attach{flex:none;place-items:center;width:36px;min-height:36px;padding:0;display:grid}.shop-chat-workspace .shop-chat-composer{flex:none}.shop-chat-workspace .shop-chat-composer textarea{resize:none}.shop-admin .shop-chat-inbox{padding:0}.shop-admin .shop-chat-inbox h2{padding:10px 12px;font-size:14px;line-height:20px}.shop-chat-inbox-heading{border-bottom:1px solid var(--line);flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.shop-admin .shop-chat-inbox .shop-chat-inbox-heading h2{border:0;margin:0;padding:0}.shop-chat-filter{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;align-items:center;gap:2px;padding:2px;display:inline-flex}body .shop-admin button.shop-chat-filter-button{height:24px;min-height:24px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:4px;margin:0;padding:2px 7px;font-size:11px;font-weight:500;line-height:18px}body .shop-admin button.shop-chat-filter-button[aria-pressed=true]{background:var(--brand);color:var(--theme-on-primary)}body .shop-admin button.shop-chat-filter-button:hover:not([aria-pressed=true]){background:var(--surface);color:var(--text)}body .shop-admin button.shop-chat-filter-button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}body .shop-admin button.shop-chat-thread{border:0;border-bottom:1px solid var(--line);box-shadow:none;text-align:left;color:var(--text);background:0 0;border-radius:0;align-items:center;gap:8px;padding:6px 10px;display:flex}body .shop-admin button.shop-chat-thread:hover{background:var(--surface-soft)}body .shop-admin button.shop-chat-thread.is-unread{background:color-mix(in srgb, var(--brand) 5%, var(--surface))}body .shop-admin button.shop-chat-thread[aria-pressed=true]{background:color-mix(in srgb, var(--brand) 12%, var(--surface))}.shop-chat-avatar{background:color-mix(in srgb, var(--brand) 13%, var(--surface));width:34px;height:34px;color:var(--theme-primary-text);border-radius:50%;flex:0 0 34px;place-items:center;font-size:12px;font-weight:750;display:grid!important}.shop-chat-thread-content{flex:1;gap:2px;min-width:0;line-height:18px;display:grid}.shop-chat-thread-heading,.shop-chat-thread-summary{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.shop-chat-thread-heading strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:500;overflow:hidden}.shop-chat-thread-heading time{color:var(--muted);flex:none;font-size:10px;font-weight:400}.shop-chat-preview{min-width:0;color:var(--muted);flex:1;align-items:center;gap:4px;font-size:12px;font-weight:400;display:flex}.shop-chat-preview>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.is-unread .shop-chat-preview{color:var(--text);font-weight:600}.is-unread .shop-chat-thread-heading time{color:var(--theme-primary-text)}.shop-chat-unread-count{background:var(--brand);min-width:18px;height:18px;color:var(--theme-on-primary);border-radius:12px;flex:none;place-items:center;padding:0 5px;font-size:10px;font-weight:700;display:grid}.shop-chat-receipt{color:var(--muted);flex:none;align-items:center;display:inline-flex}.shop-chat-receipt.is-seen{color:var(--theme-primary-text)}.shop-chat-message-meta{justify-content:flex-end;align-items:center;gap:5px;display:flex}.shop-chat-customer-heading{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:8px;margin-bottom:6px;padding-bottom:6px;display:flex}.shop-admin .shop-chat-customer-heading h2{margin:0;font-size:13px;line-height:18px}.shop-chat-customer-heading small{color:var(--muted);font-size:11px;line-height:14px;display:block}.shop-chat-placeholder{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:24px;display:flex}.shop-chat-placeholder-art{width:104px;height:104px;color:var(--theme-primary-text);background:color-mix(in srgb, var(--brand) 9%, var(--surface));border-radius:50%;place-items:center;margin-bottom:22px;display:grid;position:relative}.shop-chat-placeholder-art>span{border:4px solid var(--surface);background:var(--brand);width:36px;height:36px;color:var(--theme-on-primary);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:0;right:0}.shop-admin .shop-chat-placeholder h2{margin:0 0 10px;font-size:19px}.shop-chat-placeholder p{color:var(--muted);margin:0 0 20px;font-size:13px;line-height:1.7}.shop-chat-placeholder>small{color:var(--muted);font-size:11px}.shop-chat-avatar{position:relative;overflow:visible}.shop-chat-presence-dot{border:2px solid var(--surface);background:var(--theme-surface-raised);border-radius:50%;width:12px;height:12px;display:block;position:absolute;bottom:0;right:0}.shop-chat-presence-dot.is-online{background:var(--theme-success)}.shop-chat-presence-dot.is-unknown{background:var(--surface);box-shadow:inset 0 0 0 2px var(--theme-shadow)}.shop-chat-customer-heading .shop-chat-active-status{color:var(--theme-primary-text);font-weight:600}body .desktop-workspace .module-view .shop-admin .shop-chat-customer-link{height:auto;min-height:0;color:inherit;font:inherit;font-weight:inherit;text-align:left;background:0 0;border:0;border-radius:0;padding:0;display:inline}body .desktop-workspace .module-view .shop-admin .shop-chat-customer-link:hover{color:var(--theme-primary-text);text-decoration:underline}.profile-avatar-image{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.workspace-header .workspace-icon-button.workspace-chat-button{margin-left:6px;position:relative;overflow:visible}.workspace-chat-badge{background:var(--theme-danger);min-width:17px;height:17px;color:var(--theme-on-danger);border:2px solid var(--theme-border);pointer-events:none;border-radius:10px;place-items:center;padding:0 4px;font-size:9px;font-weight:700;line-height:1;display:grid;position:absolute;top:-7px;right:-8px}.shop-publication-product{align-items:center;gap:10px;min-width:0;display:flex}.shop-publication-product>span:last-child{overflow-wrap:anywhere;min-width:0}.shop-publication-photo{background:var(--surface-soft);width:40px;height:40px;color:var(--muted);border-radius:6px;flex:0 0 40px;place-items:center;display:grid;position:relative;overflow:hidden}.shop-publication-photo img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.shop-promotions-help{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.5}.shop-promotion-form fieldset{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.shop-promotion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.mkpos-modal.shop-flash-sale-wizard .mkpos-modal-body{flex:1 1 0;min-height:0;max-height:none;padding:0;display:flex;overflow:hidden}.shop-flash-sale-wizard .shop-flash-form{background:var(--theme-background);flex:1 1 0;width:100%;min-width:0;min-height:0;padding:10px;display:flex;overflow:hidden}.shop-flash-sale-wizard .shop-flash-form>fieldset{flex-direction:column;flex:1 1 0;gap:8px;width:100%;min-width:0;min-height:0;display:flex}.shop-flash-form .purchase-wizard-section{flex:1 1 0;width:100%;min-width:0;min-height:0}.shop-flash-form .purchase-wizard-section[hidden]{display:none}.shop-flash-form .shop-flash-event-step{gap:18px;padding:18px;overflow:auto}.shop-flash-form .shop-flash-product-step{flex-direction:column;display:flex}.shop-flash-form .purchase-product-filters{flex:none}.shop-flash-form .purchase-product-table-frame{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.shop-flash-form .purchase-product-select-header,.shop-flash-form .purchase-product-select-list{min-width:0}.shop-flash-form .purchase-product-select-header,.shop-flash-form .purchase-product-select-row{grid-template-columns:42px minmax(180px,1.5fr) minmax(100px,.8fr) minmax(90px,.7fr) minmax(110px,.8fr) minmax(100px,.8fr)}.shop-flash-form .purchase-product-picker{flex:1 1 0;min-height:0;display:block;overflow-y:auto}.shop-flash-selection-summary{color:var(--muted);justify-content:space-between;gap:12px;padding:0 12px 10px;font-size:12px;display:flex}.shop-flash-form .shop-flash-discount-step{grid-template-rows:minmax(0,1fr) auto}.shop-flash-form .shop-flash-discount-table,.shop-flash-form .shop-flash-review-table{min-width:780px}.shop-flash-form .shop-flash-discount-table td:has(input,select){padding:0}.shop-flash-form .shop-flash-discount-table td :is(input,select){height:38px;min-height:38px;box-shadow:none;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:0;padding:0 8px}.shop-flash-form .shop-flash-discount-table td:focus-within{background:var(--theme-primary-soft);box-shadow:inset 0 -2px 0 var(--brand)}.shop-flash-form .shop-flash-discount-table th:last-child{font-size:0}.shop-flash-form .purchase-wizard-totals{flex-wrap:wrap}.shop-flash-form .shop-flash-review{grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.shop-flash-review-details{padding:12px 16px 0}.shop-flash-review>.shop-cell-meta{margin:0;padding:0 16px 12px}.shop-flash-error{color:var(--theme-danger-text);flex:none;margin:0;padding:8px 12px}.shop-flash-sale-wizard .purchase-wizard-footer{width:100%}.shop-flash-sale-wizard .purchase-wizard-footer>button{justify-self:start}.shop-flash-review dl{grid-template-columns:max-content 1fr;gap:12px 24px;display:grid}.shop-flash-review dt{color:var(--muted)}.shop-flash-review dd{margin:0}.shop-promotions .shop-data-table td:nth-child(2){min-width:180px}.shop-promotions .shop-data-table td:nth-child(5){min-width:160px}.shop-promotions .shop-promotion-select-column{width:42px}body .module-view .shop-promotions .shop-data-table .shop-promotion-select-cell{text-align:center;width:42px;min-width:42px;max-width:42px;padding:8px}.shop-promotion-select-cell input{vertical-align:middle;width:16px;height:16px;min-height:16px;accent-color:var(--brand);margin:0;display:inline-block}.shop-promotion-selection-bar{border-bottom:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;display:flex}.shop-promotion-selection-bar>div{align-items:center;gap:8px;display:flex}.shop-promotion-delete-list{max-height:260px;padding-left:24px;overflow:auto}.shop-promotion-delete-list li{padding:4px 0}.shop-reviews-table{table-layout:fixed;min-width:760px}.shop-review-rating{color:var(--theme-warning-text);white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.shop-reviews-table .shop-review-text,.shop-review-original{white-space:pre-wrap;overflow-wrap:anywhere}.shop-review-empty{color:var(--muted)}.shop-reviews-admin textarea{resize:vertical;width:100%}.shop-operating-settings h2,.shop-order-column>.panel>h2{align-items:center;gap:8px;display:flex}.shop-hours-enable{align-items:center;gap:9px;margin:12px 0;display:flex}.shop-hours-enable input{width:auto}body .desktop-workspace .module-view .shop-admin :is(.shop-hours-enable,.shop-hours-table) input[type=checkbox]{width:14px;height:14px;min-height:0;accent-color:var(--brand);flex-shrink:0;padding:0}.shop-hours-table input[type=time]{max-width:160px}.shop-request-review{border:1px solid var(--border);border-radius:10px;margin-top:12px;padding:16px}.shop-request-heading,.shop-request-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.shop-request-heading{justify-content:space-between}.shop-request-review p{white-space:pre-wrap}.shop-request-review fieldset{border:0;min-width:0;margin:0;padding:0}.shop-request-actions{margin-top:12px}.shop-request-photo{align-items:start;gap:12px;margin-top:12px;display:flex}.shop-request-photo img{object-fit:contain;max-width:240px;max-height:240px}.order-app-alert{top:calc(64px + env(safe-area-inset-top,0px));bottom:auto}.desktop-workspace .shop-flash-form .shop-flash-discount-table tbody td:nth-child(2){text-align:left;padding:4px 8px!important}.shop-flash-form .purchase-product-select-header>span:last-child,.shop-flash-form .purchase-product-select-row>span:last-child{text-align:left;justify-self:stretch;padding-inline:8px}.shop-flash-form .shop-flash-review{align-content:stretch;gap:6px}.shop-flash-review-details{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:10px 14px;display:grid}.shop-flash-review-details h3{overflow-wrap:anywhere;margin:0;font-size:16px;line-height:1.3}.shop-flash-review-details h4{color:var(--muted);grid-area:1/2;margin:0;font-size:12px}.shop-flash-review-details dl{flex-wrap:wrap;grid-column:1/-1;align-items:baseline;gap:4px 12px;margin:0;font-size:12px;line-height:1.5;display:flex}.shop-flash-review>.shop-cell-meta{padding:6px 14px 8px;font-size:11px;line-height:1.4}.shop-flash-review .purchase-wizard-table-wrap{height:100%}.shop-flash-form .purchase-product-select-row.is-promoted{background:var(--theme-background);color:var(--muted)}.shop-flash-form .purchase-product-select-row.is-promoted[aria-disabled=true]{cursor:not-allowed}.shop-flash-form .purchase-product-select-row.is-promoted>span:nth-child(2){flex-direction:column;justify-content:center;padding-block:3px;display:flex}.shop-flash-conflict{text-overflow:ellipsis;color:var(--theme-warning-text);font-size:10px;line-height:1.3;display:block;overflow:hidden}.workspace-header .workspace-icon-button.workspace-shop-button{margin-left:6px;position:relative;overflow:visible}.shop-side-tabs .shop-order-action-badge{background:var(--theme-danger);min-width:20px;height:20px;color:var(--theme-on-danger);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:0 5px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.shop-chat-ai-status{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text-muted);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;font-size:13px;display:flex}.shop-chat-ai-status button{flex-shrink:0}.shop-chat-header-actions{flex-shrink:0;margin-left:auto}body .shop-admin .shop-chat-handover-toggle,.shop-chat-handover-toggle{min-height:36px;box-shadow:none;color:var(--theme-text);white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:6px;font-family:inherit;font-size:12px;font-weight:500;display:inline-flex}.shop-chat-toggle-track{background:var(--theme-surface-muted);border:1px solid var(--theme-border);border-radius:20px;width:32px;height:20px;padding:3px;transition:background .16s;display:block}.shop-chat-toggle-track>span{background:var(--theme-text-muted);border-radius:50%;width:12px;height:12px;transition:transform .16s;display:block}.shop-chat-handover-toggle[aria-checked=true] .shop-chat-toggle-track{background:var(--theme-primary);border-color:var(--theme-primary)}.shop-chat-handover-toggle[aria-checked=true] .shop-chat-toggle-track>span{background:var(--theme-on-primary);transform:translate(12px)}.shop-chat-handover-toggle:disabled{opacity:.55;cursor:wait}.shop-chat-handover-toggle:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px;border-radius:6px}.shop-chat-conversation>.shop-chat-connection{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.shop-chat-toggle-track,.shop-chat-toggle-track>span{transition:none}}.shop-chat-bulk-handover{align-items:center;gap:8px;display:inline-flex}.shop-chat-bulk-feedback{color:var(--theme-text-muted);margin:0 0 8px;font-size:12px}.shop-chat-bulk-feedback.is-error{color:var(--theme-danger)}.shop-chat-needs-human{border:1px solid color-mix(in srgb,var(--theme-warning-text) 20%,var(--theme-border));background:var(--theme-warning-soft);width:fit-content;color:var(--theme-warning-text);white-space:nowrap;border-radius:999px;justify-self:start;padding:2px 7px;font-size:10px;font-weight:600;line-height:14px;display:inline-flex}.shop-chat-telegram-receipt,.shop-chat-telegram-receipt>span{align-items:center;gap:4px;display:inline-flex}.shop-chat-telegram-receipt{flex-wrap:wrap;gap:6px}.shop-chat-telegram-retry{font:inherit;color:var(--theme-primary-text);border-radius:var(--radius-control,8px);cursor:pointer;background:0 0;border:1px solid;padding:4px 8px}.shop-chat-telegram-retry:disabled{opacity:.6;cursor:default}.shop-chat-telegram-retry:focus-visible{outline:2px solid var(--theme-primary-text);outline-offset:2px}.ai-assistant-window{z-index:90;width:min(400px,100vw - 32px)}.ai-assistant-window .shop-customer-chat-body{height:min(560px,100dvh - 140px)}.ai-chat-tools{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;padding-bottom:8px;display:flex}.ai-chat-tools button{align-items:center;gap:4px;padding:5px 8px;font-size:11px;display:flex}.ai-chat-history{flex-direction:column;flex:1;gap:8px;min-height:0;padding:10px 0;display:flex;overflow:auto}.ai-chat-history>button{text-align:left;overflow-wrap:anywhere}.ai-chat-file{justify-content:space-between;align-items:center;padding:6px;font-size:12px;display:flex}.ai-assistant-window .shop-chat-attach input{opacity:0;width:1px;height:1px;position:absolute}.ai-assistant-window .shop-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}.ai-assistant-window .shop-chat-attach{cursor:pointer;place-items:center;min-width:32px;display:grid}.ai-chat-message{transform-origin:0 100%}.ai-chat-message.is-mine{transform-origin:100% 100%}.ai-chat-message.is-arriving,.ai-chat-message.is-outgoing{animation:.22s ease-out both ai-message-arrive}.ai-chat-message.is-outgoing{opacity:.8}.ai-assistant-window .shop-chat-message-meta{align-items:center;gap:4px;display:flex}.ai-chat-message.is-failed{border:1px solid var(--danger,var(--theme-border))}.ai-chat-spinner{flex-shrink:0;animation:1s linear infinite ai-chat-spin}.ai-chat-progress{color:var(--muted);align-items:center;gap:9px;padding:8px 4px;font-size:12px;display:flex}.ai-chat-typing-dots{align-items:center;gap:4px;height:16px;display:inline-flex}.ai-chat-typing-dots i{background:currentColor;border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite ai-typing-dot}.ai-chat-typing-dots i:nth-child(2){animation-delay:.15s}.ai-chat-typing-dots i:nth-child(3){animation-delay:.3s}.ai-chat-error{border-left:2px solid var(--danger,var(--theme-border));padding:8px;animation:.18s ease-out ai-message-arrive}.ai-assistant-page{min-width:0;padding-block:10px}.ai-assistant-page .ai-assistant-window{z-index:auto;width:100%;position:static}.ai-assistant-page .shop-customer-chat-window{height:calc(100dvh - var(--mkpos-topbar-height,56px) - 20px);min-height:360px;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;display:flex}.ai-assistant-page .shop-customer-chat-heading{border-bottom:1px solid var(--line);background:var(--surface);flex:none;padding:10px 16px}.ai-assistant-page .shop-customer-chat-title strong{font-size:14px}.ai-assistant-page .shop-customer-chat-title small:not(.ai-weekly-reset){display:none}.ai-assistant-page .ai-assistant-window .shop-customer-chat-body{flex:1;grid-template-columns:minmax(0,1fr) 248px;gap:12px;height:auto;min-height:0;padding:0;display:grid}.ai-assistant-page .shop-customer-chat-body>.shop-chat-conversation{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow:hidden}.ai-assistant-page .ai-conversation-list{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;min-width:0;min-height:0;padding:0 10px;display:flex}.ai-assistant-page .ai-conversation-list .shop-chat-inbox-heading{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:55px;padding:8px 0;display:flex}.ai-assistant-page .ai-conversation-list h2{border:0;margin:0;padding:0;font-size:13px}.ai-assistant-page .ai-conversation-list .shop-chat-inbox-heading button{background:0 0;border:0;place-items:center;width:28px;min-height:28px;padding:0;display:grid}.ai-assistant-page .ai-conversation-list .shop-chat-thread{border:0;border-radius:6px;justify-content:flex-start;gap:8px;margin-top:6px;padding:10px 8px}.ai-assistant-page .ai-conversation-list .shop-chat-thread:not([aria-pressed=true]):hover{background:var(--surface-soft)}.ai-assistant-page .ai-conversation-list .shop-chat-thread[aria-pressed=true]{box-shadow:inset 2px 0 var(--brand)}.ai-assistant-page .ai-conversation-list .shop-chat-avatar{flex:none;width:28px;height:28px}.ai-assistant-page .ai-conversation-list .shop-chat-thread-content{flex:1;gap:3px;min-width:0;display:grid}.ai-assistant-page .ai-conversation-list .shop-chat-thread-heading strong{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;font-size:12px;font-weight:500;line-height:1.65;display:-webkit-box}.ai-assistant-page .ai-conversation-list time{color:var(--muted);font-size:10px}.ai-assistant-page .ai-chat-tools{flex:none;gap:6px;padding-block:6px}.ai-assistant-page .ai-chat-tools button{min-height:28px;padding:4px 8px}.ai-assistant-page .shop-customer-chat-body .shop-chat-messages{scrollbar-gutter:stable;background:0 0;border:0;border-radius:0;gap:20px;margin:0;padding:18px 24px}.ai-assistant-page .ai-assistant-window .shop-chat-message{min-width:0;max-width:min(100%,760px);color:var(--text);font-size:13px;line-height:1.85}.ai-assistant-page .shop-chat-message:not(.is-mine){box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.ai-assistant-page .ai-assistant-window .shop-chat-message.is-mine{border:0;border-radius:12px 12px 3px;max-width:min(82%,600px);padding:10px 14px}.ai-assistant-page .ai-assistant-window .shop-chat-message p{color:var(--text);font-size:inherit;font-weight:400;line-height:1.85}.ai-assistant-page .ai-assistant-window .ai-reply-content{color:var(--text);font-weight:400;line-height:1.85}.ai-assistant-page .ai-assistant-window .shop-chat-message>small{color:var(--theme-primary-text);margin-bottom:6px;font-size:10px;font-weight:600;line-height:1.5}.ai-assistant-page .ai-assistant-window .shop-chat-message.is-mine>small{display:none}.ai-assistant-page .ai-assistant-window .shop-chat-message-meta{color:var(--muted);justify-content:flex-start;margin-top:6px;font-size:10px;font-weight:400;line-height:1.5}.ai-assistant-page .ai-assistant-window .is-mine .shop-chat-message-meta{justify-content:flex-end}.ai-assistant-page .ai-assistant-window .ai-reply-content p{margin:6px 0}.ai-assistant-page .shop-chat-composer{border-top:1px solid var(--line);margin:0 16px;padding:10px 0}.ai-assistant-page .ai-chat-progress,.ai-assistant-page .ai-chat-error,.ai-assistant-page .ai-chat-file{margin-inline:16px}.ai-assistant-page .ai-chat-history{gap:0}.ai-assistant-page .ai-chat-history>button{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;padding:8px}.app-shell.desktop-workspace.ai-page-active>main{padding-bottom:0}@keyframes ai-message-arrive{0%{opacity:0;transform:translateY(7px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes ai-chat-spin{to{transform:rotate(360deg)}}@keyframes ai-typing-dot{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.ai-chat-message.is-arriving,.ai-chat-message.is-outgoing,.ai-chat-error{animation-duration:1ms}.ai-chat-spinner,.ai-chat-typing-dots i{animation:none}}.mkpos-modal.app-variant-recommendation{width:min(440px,100vw - 24px);max-height:calc(100dvh - 32px)}.app-variant-recommendation .app-variant-copy{align-items:flex-start;gap:14px;display:flex}.app-variant-copy>svg{color:var(--primary,var(--theme-primary-text));flex-shrink:0}.app-variant-copy p{margin:0;line-height:1.65}.app-variant-recommendation .mkpos-modal-footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.app-variant-recommendation .mkpos-modal-footer button{min-height:44px}.password-reset-form{width:100%;min-width:0}.password-reset-fields{border:0;min-width:0;margin:0;padding:0}.password-reset-form .auth-split-input>svg{flex-shrink:0}.password-reset-form .auth-split-input input{width:100%;min-width:0}.password-reset-form .auth-split-switch{margin-top:4px}.password-reset-form .auth-split-switch button,.auth-reset-links button{min-height:28px;color:var(--theme-link);font:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:5px;padding:0;font-weight:800;display:inline-flex}.password-reset-form .auth-split-switch button:hover,.auth-reset-links button:hover:not(:disabled){text-decoration:underline}.auth-reset-links{flex-wrap:wrap;justify-content:space-between;gap:5px 12px;font-size:.68rem;display:flex}.auth-reset-links button:disabled{color:var(--theme-text-muted);cursor:default}.auth-reset-notice{color:var(--theme-text-muted);margin:0;font-size:.7rem;line-height:1.6}.auth-reset-field-error{color:var(--theme-danger-text);font-size:.65rem;font-weight:400}.shop-setup-page{--setup-border:var(--line,var(--border));background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--brand) 11%,transparent),transparent 60%),var(--surface-soft);border-radius:12px;width:min(1100px,100%);margin:0 auto;padding:14px}.shop-setup-layout{border:1px solid var(--setup-border);background:var(--surface);box-shadow:0 12px 36px color-mix(in srgb,var(--theme-shadow) 7%,transparent);border-radius:10px;grid-template-columns:196px minmax(0,1fr);align-items:stretch;display:grid;overflow:clip}.shop-setup-sidebar{isolation:isolate;color:var(--theme-on-primary);background:var(--brand);background-image:radial-gradient(ellipse at 0% 0%,color-mix(in srgb,var(--theme-on-primary) 12%,transparent),transparent 70%);flex-direction:column;gap:10px;padding:20px 16px;display:flex;position:relative;overflow:clip}.shop-setup-sidebar:after{content:"";z-index:-1;border:1px solid color-mix(in srgb,var(--theme-on-primary) 15%,transparent);width:320px;height:320px;box-shadow:0 0 0 35px color-mix(in srgb,var(--theme-on-primary) 4%,transparent),0 0 0 70px color-mix(in srgb,var(--theme-on-primary) 3%,transparent);pointer-events:none;border-radius:50%;position:absolute;bottom:-100px;right:-170px}.shop-setup-sidebar>small{opacity:.8;font-size:10px;line-height:1.8}.shop-setup-sidebar>small:last-child{margin-top:auto;padding-top:20px}.shop-setup-sidebar h2{letter-spacing:-.04em;margin:2px 0;font-size:18px;line-height:1.5}.shop-admin .shop-setup-sidebar p{color:inherit;opacity:.8;margin:0;font-size:11px;line-height:1.8}.shop-setup-sidebar ol{gap:6px;margin:14px -6px;padding:0;list-style:none;display:grid;position:relative}.shop-setup-sidebar ol:before{content:"";background:color-mix(in srgb,var(--theme-on-primary) 23%,transparent);pointer-events:none;width:1px;position:absolute;top:24px;bottom:24px;left:24px}.shop-setup-sidebar li{position:relative}.shop-admin .shop-setup-sidebar li button{width:100%;min-height:48px;color:inherit;box-shadow:none;text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:flex-start;align-items:center;gap:9px;padding:8px;font-size:12px;transition:background .16s,border-color .16s;display:flex;position:relative}.shop-setup-sidebar .shop-setup-step-number{border:1px solid color-mix(in srgb,var(--theme-on-primary) 38%,transparent);height:30px;color:color-mix(in srgb,var(--theme-on-primary) 80%,transparent);background:color-mix(in srgb,var(--brand) 94%,var(--theme-on-primary));border-radius:50%;flex:0 0 30px;place-items:center;font-size:11px;font-weight:600;display:grid;position:relative}.shop-setup-step-label{flex:1;min-width:0;font-weight:500;line-height:1.7}.shop-setup-step-arrow{opacity:.9;flex-shrink:0}.shop-setup-sidebar .is-complete .shop-setup-step-number{border-color:color-mix(in srgb,var(--theme-on-primary) 40%,transparent);color:var(--theme-on-primary);background:color-mix(in srgb,var(--brand) 70%,var(--theme-on-primary))}.shop-admin .shop-setup-sidebar [aria-current=step] button{border-color:color-mix(in srgb,var(--theme-on-primary) 27%,transparent);background:linear-gradient(110deg,color-mix(in srgb,var(--theme-on-primary) 19%,transparent),color-mix(in srgb,var(--theme-on-primary) 8%,transparent));box-shadow:0 4px 12px color-mix(in srgb,var(--theme-shadow) 8%,transparent)}.shop-setup-sidebar [aria-current=step] .shop-setup-step-label{font-weight:700}.shop-setup-sidebar [aria-current=step] .shop-setup-step-number{border-color:var(--theme-on-primary);color:var(--brand);background:var(--theme-on-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-on-primary) 14%,transparent)}.shop-admin .shop-setup-sidebar li button:hover:not(:disabled){background-color:color-mix(in srgb,var(--theme-on-primary) 10%,transparent)}.shop-admin .shop-setup-sidebar li button:focus-visible{outline:2px solid var(--theme-on-primary);outline-offset:2px}.shop-setup-content{min-width:0;padding:20px}.shop-setup-heading{grid-template-columns:32px 1fr;gap:6px 10px;margin-bottom:16px;display:grid}.shop-setup-icon{border:1px solid color-mix(in srgb,var(--brand) 18%,var(--setup-border));background:var(--theme-primary-soft);width:32px;height:32px;color:var(--theme-primary-text);border-radius:8px;place-items:center;display:grid}.shop-setup-heading-actions{justify-self:end;align-items:center;gap:10px;display:flex}.shop-setup-heading-actions>small{color:var(--muted);white-space:nowrap;font-size:11px}.shop-setup-heading-actions .auth-locale-row{margin:0}.shop-setup-heading-actions>button{white-space:nowrap}.shop-setup-heading h1,.shop-setup-heading p{grid-column:1/-1;margin:0}.shop-setup-heading h1{letter-spacing:-.03em;font-size:23px;line-height:1.6}.shop-setup-heading h1:focus{outline:none}.shop-setup-heading p,.shop-setup-help{color:var(--muted);margin:0;font-size:11px;line-height:1.8}.shop-setup-form>fieldset{border:0;min-width:0;margin:0;padding:0}.shop-setup-slide{gap:12px;animation:.22s both shop-setup-enter;display:grid}.shop-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.shop-setup-launch-options{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;display:grid}.shop-setup-launch-options>.shop-setup-check{background:0 0;border:0;justify-content:flex-start;gap:8px;min-width:0;min-height:36px;padding:4px 0}.shop-setup-method>.shop-setup-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.shop-setup-field{align-content:start;gap:4px;min-width:0;display:grid}.shop-setup-field>label{font-size:12px;font-weight:550;line-height:1.8}.shop-admin .shop-setup-field :is(input,select,textarea){border:1px solid var(--setup-border);width:100%;min-width:0;min-height:34px;color:var(--text);background:var(--surface);font:inherit;border-radius:6px;padding:6px 9px;font-size:12px}.shop-setup-field textarea{resize:vertical;line-height:1.8}.shop-setup-field>small{color:var(--muted);font-size:10px;line-height:1.8}.shop-setup-field>small[role=alert],.shop-setup-error{color:var(--theme-danger-text)}.shop-setup-field [aria-invalid=true]{border-color:var(--theme-danger-text)}.shop-setup-field :is(input,select,textarea):focus-visible{outline:2px solid color-mix(in srgb,var(--brand) 35%,transparent);outline-offset:1px}.shop-setup-details-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:24px;display:grid}.shop-setup-detail-fields{gap:12px;min-width:0;display:grid}.shop-setup-branding{align-items:start;gap:0;width:100%;max-width:320px;display:grid}.shop-setup-branding :is(.shop-cover-row,.shop-logo-row){background:0 0;border:0;min-width:0;margin:0;padding:0;display:block}.shop-setup-branding .shop-logo-actions{display:none}.shop-setup-branding :is(.shop-cover-row,.shop-logo-row)>p{margin:6px 0 0;font-size:11px;line-height:1.8}.shop-setup-branding .shop-cover-row>p[role=status]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.shop-setup-branding .shop-cover-preview{aspect-ratio:16/9;border:1px solid var(--setup-border);background:var(--theme-primary-soft);width:100%;height:auto;min-height:0;color:var(--theme-primary-text);border-radius:8px;position:relative}.shop-setup-branding .shop-cover-preview img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.shop-setup-cover-placeholder{justify-items:center;gap:4px;padding:12px 12px 30px;display:grid}.shop-setup-cover-placeholder strong{font-size:12px;line-height:1.8}.shop-setup-cover-placeholder small{color:var(--muted);font-size:10px;line-height:1.8}.shop-setup-cover-caption{background:var(--surface);color:var(--text);border-radius:5px;padding:3px 6px;font-size:10px;position:absolute;top:8px;left:8px}.shop-admin .shop-setup-branding .shop-setup-media-edit{border:1px solid var(--setup-border);background:var(--surface);min-height:30px;color:var(--theme-primary-text);box-shadow:none;border-radius:6px;padding:4px 7px;font-size:11px;position:absolute;bottom:8px;right:8px}.shop-setup-branding .shop-setup-media-edit:hover:not(:disabled){background:var(--theme-primary-soft);border-color:var(--brand)}.shop-setup-branding .shop-logo-row{pointer-events:none;grid-template-columns:80px minmax(0,1fr);align-items:end;gap:10px;margin-top:-24px;padding:0 12px;display:grid;position:relative}.shop-setup-branding .shop-logo-preview{border:4px solid var(--surface);background:var(--surface-soft);width:80px;height:80px;color:var(--theme-primary-text);box-shadow:inset 0 0 0 1px var(--setup-border);pointer-events:auto;border-radius:10px;padding:0;position:relative}.shop-admin .shop-setup-branding .shop-logo-preview .shop-setup-media-edit{border-radius:50%;width:28px;height:28px;min-height:28px;padding:0;bottom:-4px;right:-4px}.shop-setup-logo-caption{gap:4px;min-width:0;padding-bottom:3px;line-height:1.8;display:grid}.shop-setup-logo-caption strong{font-size:12px}.shop-setup-logo-caption small{color:var(--muted);font-size:10px}.shop-setup-branding .shop-logo-row>p{pointer-events:auto;grid-column:1/-1}.shop-setup-branding>small{color:var(--muted);margin-top:12px;font-size:10px;line-height:1.8}.shop-setup-section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.shop-setup-section-heading h3{margin:0;font-size:13px}.shop-setup-zone{grid-template-columns:minmax(0,1fr) 140px 30px;align-items:end;gap:10px;display:grid}.shop-setup-method{border:1px solid var(--setup-border);border-radius:8px;gap:10px;padding:12px;display:grid}.shop-setup-check{align-items:center;gap:9px;min-height:32px;font-size:12px;display:flex}.shop-admin .shop-setup-check input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--brand);flex:0 0 16px;margin:0;padding:0}.shop-setup-check>span{flex:1;gap:4px;min-width:0;display:grid}.shop-setup-check small{color:var(--muted);font-size:10px;font-weight:400;line-height:1.8}.shop-setup-feature{border:1px solid var(--setup-border);background:var(--surface-soft);border-radius:8px;padding:12px}.shop-setup-feature>svg{color:var(--theme-primary-text)}.shop-setup-form details{border:1px solid var(--setup-border);border-radius:7px;padding:10px}.shop-setup-form summary{cursor:pointer;font-size:12px;font-weight:600}.shop-setup-form details[open]>:not(summary){margin-top:10px}.shop-setup-review,.shop-setup-complete dl{border:1px solid var(--setup-border);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:14px;display:grid}.shop-setup-review dt,.shop-setup-complete dt{color:var(--muted);font-size:11px}.shop-setup-review dd,.shop-setup-complete dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:13px;font-weight:600}.shop-setup-notice{background:var(--theme-warning-soft,var(--surface-soft));color:var(--theme-warning-text,var(--text));border-radius:6px;padding:10px;font-size:12px;line-height:1.8}.shop-setup-complete{gap:16px;display:grid}.shop-setup-complete>a{align-items:center;gap:6px;width:fit-content;display:flex}.shop-setup-actions{border-top:1px solid var(--setup-border);flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;padding-top:12px;display:flex}.shop-setup-actions>:last-child{margin-left:auto}.shop-admin .shop-setup-page button{justify-content:center;align-items:center;gap:6px;min-height:32px;font-size:12px;display:inline-flex}.shop-setup-content .shop-table-card{margin-top:12px}.shop-setup-publication-actions{border-bottom:1px solid var(--setup-border);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 10px;padding:10px;display:grid}.shop-setup-publication-buttons{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.shop-admin .shop-setup-publication-buttons button{white-space:nowrap;height:34px;min-height:34px}.shop-setup-publication-actions>small{color:var(--muted);grid-column:1/-1;font-size:11px;line-height:1.8}.shop-setup-form .shop-operating-settings{margin-bottom:0}.shop-setup-error{font-size:12px;line-height:1.8}html[lang=my] .shop-setup-page{--mkpos-control-height:36px;--mkpos-line-height:1.8;text-align:left;font-family:Noto Sans Myanmar,Myanmar Text,Padauk,sans-serif;font-size:12px}html[lang=my] .shop-setup-page :is(button,input,select,textarea){letter-spacing:0;font-family:inherit}html[lang=my] .shop-setup-content{padding:18px}html[lang=my] .shop-setup-heading{gap:4px 10px;margin-bottom:14px}html[lang=my] .shop-setup-heading h1{letter-spacing:0;padding-block:0;font-size:20px;font-weight:600;line-height:1.8}html[lang=my] .shop-setup-heading p{font-size:11px;line-height:1.85}html[lang=my] .shop-setup-heading-actions{gap:8px}html[lang=my] .shop-setup-sidebar h2{letter-spacing:0;padding-block:0;font-size:16px;font-weight:600;line-height:1.85}html[lang=my] .shop-setup-sidebar ol{gap:4px;margin-block:12px}html[lang=my] .shop-admin .shop-setup-sidebar li button{min-height:44px;padding:6px 8px}html[lang=my] .shop-setup-step-label{font-size:11px;font-weight:500;line-height:1.9}html[lang=my] .shop-setup-sidebar [aria-current=step] .shop-setup-step-label{font-weight:600}html[lang=my] .shop-setup-field{gap:3px}html[lang=my] .shop-setup-field>label{align-items:center;min-height:21px;font-size:11px;font-weight:500;line-height:1.85;display:flex}html[lang=my] .shop-admin .shop-setup-field :is(input,select,textarea){min-height:36px;padding:5px 9px;font-size:12px;line-height:1.8}html[lang=my] .shop-admin .shop-setup-field textarea{min-height:64px}html[lang=my] .shop-admin .shop-setup-page button{min-height:36px;padding-block:5px;font-size:11px;line-height:1.8}html[lang=my] .shop-setup-section-heading h3,html[lang=my] .shop-setup-media-heading strong{padding-block:0;font-size:11px;font-weight:600;line-height:1.9}html[lang=my] .shop-setup-check{font-size:11px;line-height:1.85}html[lang=my] .shop-setup-check>span{gap:2px}html[lang=my] :is(.shop-setup-review,.shop-setup-complete) dd{font-size:12px;line-height:1.85}html[lang=my] .shop-setup-publication-actions{gap:6px 8px}html[lang=my] .shop-setup-actions{margin-top:14px;padding-top:10px}@keyframes shop-setup-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.shop-setup-slide{animation:none}.shop-admin .shop-setup-sidebar li button{transition:none}}.sales-ai-settings{gap:16px;display:grid}.sales-ai-settings[hidden]{display:none}.sales-telegram-settings .sales-ai-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.sales-telegram-settings .sales-ai-fields>:is(p,button){grid-column:1/-1}.sales-telegram-settings .sales-ai-fields>.field:has(input[type=password],input[readonly]){grid-column:1/-1}.sales-telegram-settings label:has(>input[type=checkbox]){justify-content:flex-start;align-items:center;gap:9px;min-height:36px;display:flex}.sales-telegram-settings label>input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--theme-primary);flex:0 0 16px;margin:0}.sales-telegram-settings td small{color:var(--theme-text-muted);margin-top:4px;display:block}.sales-telegram-settings .form-actions{flex-wrap:wrap;gap:10px;display:flex}.sales-telegram-group-modal .sales-ai-fields>.field:has(input[readonly]){grid-column:auto}.sales-telegram-group-modal .sales-ai-fields>.field:has(select){grid-column:1/-1}@media (width<=720px){.sales-telegram-settings .sales-ai-fields{grid-template-columns:minmax(0,1fr)}}.sales-ai-heading,.sales-ai-wallet-summary,.sales-ai-actions,.sales-ai-tabs{align-items:center;gap:12px;display:flex}.sales-ai-heading{justify-content:space-between}.sales-ai-heading h2,.sales-ai-heading p{margin:0}.sales-ai-heading p{color:var(--theme-text-muted);margin-top:4px}.sales-ai-wallet-summary{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:10px;padding:16px}.sales-ai-wallet-summary>div{flex:1;gap:5px;display:grid}.sales-ai-wallet-summary strong{font-variant-numeric:tabular-nums;font-size:20px}.sales-ai-wallet-summary small{color:var(--theme-text-muted)}.sales-ai-fields{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.sales-ai-tools,.sales-ai-accounts,.sales-ai-policies{border:1px solid var(--theme-border);border-radius:8px;gap:12px;padding:14px;display:grid}.sales-ai-tools label{align-items:flex-start;gap:10px;display:flex}.sales-ai-tools label span{gap:4px;display:grid}.sales-ai-settings .sales-ai-tools label,.sales-ai-settings .sales-ai-accounts label{grid-template-columns:none;justify-content:flex-start;display:flex}.sales-ai-settings .sales-ai-tools input,.sales-ai-settings .sales-ai-accounts input{width:16px;height:16px;min-height:16px;accent-color:var(--theme-primary);flex:0 0 16px}.sales-ai-tabs button:not(.primary){background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border)}.sales-ai-tools small{color:var(--theme-text-muted)}.sales-ai-accounts label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sales-ai-accounts label span{overflow-wrap:anywhere}.sales-ai-actions{border-top:1px solid var(--theme-border);justify-content:flex-end;padding-top:16px}.sales-ai-proof{object-fit:contain;border:1px solid var(--theme-border);border-radius:8px;max-width:100%;max-height:300px;margin-top:12px;display:block}.sales-ai-policies>p{margin:0;font-size:13px;line-height:1.6}.sales-ai-settings,.sales-ai-balance-book{min-width:0;max-width:100%}.sales-ai-balance-book{gap:16px;display:grid}.sales-ai-balance-book[hidden]{display:none}.sales-ai-usage-charts{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px;min-width:0;display:grid}.sales-ai-usage-chart{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:8px;min-width:0;padding:14px}.sales-ai-usage-chart header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sales-ai-usage-chart h3,.sales-ai-ledger-heading h3{margin:0;font-size:14px}.sales-ai-usage-chart small{color:var(--theme-text-muted);font-size:11px}.sales-ai-usage-chart strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.sales-ai-usage-canvas{width:100%;min-width:0;height:200px;margin-top:12px}.sales-ai-ledger-heading{border-bottom:1px solid var(--theme-border);justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.sales-ai-ledger-heading label{align-items:center;gap:8px;font-size:12px;display:flex}.sales-ai-ledger-heading select{width:auto;min-width:68px}body .sales-ai-balance-book .shop-data-table{table-layout:fixed;width:100%;min-width:0}body .sales-ai-balance-book .shop-data-table :is(th,td){white-space:normal;overflow-wrap:anywhere;padding:12px}.sales-ai-balance-book .shop-data-table :is(th,td):nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}.sales-ai-balance-book .data-table-footer{flex-wrap:wrap;gap:10px}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-myanmar-myanmar-400-normal-C_Ri2PLj.woff2)format("woff2"),url(/assets/noto-sans-myanmar-myanmar-400-normal-Di6U4opH.woff)format("woff");unicode-range:U+1000-109F,U+200C-200D,U+25CC,U+A92E,U+A9E0-A9FE,U+AA60-AA7F,U+116D0-116E3}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-myanmar-latin-ext-400-normal-Bh89aKMz.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-ext-400-normal-DRGWNQyd.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-myanmar-latin-400-normal-Dt7kQkP-.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-400-normal-wRn4g6YM.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-myanmar-myanmar-500-normal-Cg_TpY_u.woff2)format("woff2"),url(/assets/noto-sans-myanmar-myanmar-500-normal-_5y196_p.woff)format("woff");unicode-range:U+1000-109F,U+200C-200D,U+25CC,U+A92E,U+A9E0-A9FE,U+AA60-AA7F,U+116D0-116E3}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-myanmar-latin-ext-500-normal-B_NdMHYb.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-ext-500-normal-Biw8ZUAO.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-myanmar-latin-500-normal-CtEQ9t-X.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-500-normal-DnQsXWbc.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-myanmar-myanmar-600-normal-Cju0GbT9.woff2)format("woff2"),url(/assets/noto-sans-myanmar-myanmar-600-normal-DDwfN3_5.woff)format("woff");unicode-range:U+1000-109F,U+200C-200D,U+25CC,U+A92E,U+A9E0-A9FE,U+AA60-AA7F,U+116D0-116E3}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-myanmar-latin-ext-600-normal-CHsBsS8r.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-ext-600-normal-Ul_FWO-3.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-myanmar-latin-600-normal-zzKSSZfK.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-600-normal-ZOQIvjx5.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-myanmar-myanmar-700-normal-D1JgZPvU.woff2)format("woff2"),url(/assets/noto-sans-myanmar-myanmar-700-normal-rnZT0XO2.woff)format("woff");unicode-range:U+1000-109F,U+200C-200D,U+25CC,U+A92E,U+A9E0-A9FE,U+AA60-AA7F,U+116D0-116E3}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-myanmar-latin-ext-700-normal-DltkCll-.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-ext-700-normal-Bkvv9Icw.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-myanmar-latin-700-normal-BQvPCnvz.woff2)format("woff2"),url(/assets/noto-sans-myanmar-latin-700-normal-B-fuSLfn.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:var(--theme-text);background:var(--theme-surface);--surface:var(--theme-surface);--surface-soft:var(--theme-surface-muted);--line:var(--theme-border);--line-strong:var(--theme-border);--brand:var(--platform-primary,var(--theme-primary));--brand-2:var(--platform-primary,var(--theme-primary));--accent:var(--theme-secondary-soft);--muted:var(--theme-text-muted);--mkpos-space-xxs:4px;--mkpos-space-xs:8px;--mkpos-space-sm:10px;--mkpos-space-md:12px;--mkpos-space-lg:14px;--mkpos-radius:8px;font-family:Inter,Segoe UI,Myanmar Text,Noto Sans Myanmar,Padauk,Myanmar3,Arial,sans-serif;font-size:15px}*{box-sizing:border-box}body{color:var(--theme-text);background:var(--theme-surface);margin:0}.mm-safe-text{letter-spacing:0;font-family:Myanmar Text,Noto Sans Myanmar,Padauk,Myanmar3,sans-serif;line-height:1.35}html[lang=my],html[lang=my] body,html[lang=my] button,html[lang=my] input,html[lang=my] select,html[lang=my] textarea,html[lang=my] table{font-kerning:normal;font-variant-ligatures:normal;font-feature-settings:normal;letter-spacing:0;font-family:Myanmar Text,Noto Sans Myanmar,Padauk,Myanmar3,sans-serif}html[lang=my] th,html[lang=my] td{letter-spacing:0;line-height:1.55}.mkpos-sheet{align-items:start}button,input,select,textarea{font:inherit}button{border:1px solid var(--line-strong);background:var(--surface);color:var(--theme-text);border-radius:var(--mkpos-radius);cursor:pointer;min-height:34px;padding:0 10px;transition:background .12s,border-color .12s,box-shadow .12s}.button-link{border:1px solid var(--line-strong);border-radius:var(--mkpos-radius);min-height:34px;color:var(--theme-text);background:var(--theme-surface);justify-content:center;align-items:center;padding:0 10px;font-weight:700;text-decoration:none;display:inline-flex}.button-link:hover{border-color:var(--theme-border)}.disabled-link{cursor:not-allowed;opacity:.55;pointer-events:none}button:hover{border-color:var(--theme-border)}button:active{transform:none}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{border:1px solid var(--line-strong);border-radius:var(--mkpos-radius);background:var(--theme-surface);outline:none;width:100%;min-width:0;min-height:34px;padding:6px 8px}input:focus,select:focus,textarea:focus{border-color:var(--brand-2);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-shadow) 14%, transparent)}textarea{resize:vertical;min-height:84px}.app-shell{grid-template-columns:220px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--theme-sidebar);background:var(--theme-sidebar);color:var(--theme-sidebar-text);flex-direction:column;padding:22px 14px;display:flex}.brand{align-items:center;gap:10px;min-height:56px;margin-bottom:22px;padding:0 4px;display:flex}.brand-logo{object-fit:contain;flex:0 0 50px;width:64px;height:64px;margin:-16px -9px}.brand strong,.brand span{display:block}.brand strong{font-size:1.05rem}.brand span{color:var(--theme-text-muted);font-size:.86rem}.sidebar .brand span{color:var(--theme-sidebar-muted)}nav{flex:1;align-content:start;gap:8px;display:grid}nav button{color:var(--theme-on-primary);background:0 0;border:1px solid #0000;justify-content:flex-start;align-items:center;gap:11px;min-height:48px;padding:0 14px;display:flex}nav button.active{background:var(--accent);border-color:var(--accent);color:var(--theme-text);font-weight:700}.sidebar .telegram-support-link{align-items:center;gap:11px;text-decoration:none;display:flex}nav button:hover:not(.active){background:color-mix(in srgb, var(--theme-surface) 9%, transparent);border-color:color-mix(in srgb, var(--theme-border) 12%, transparent)}.sidebar-account{border-top:1px solid color-mix(in srgb, var(--theme-border) 14%, transparent);gap:10px;margin-top:20px;padding-top:16px;display:grid}.sidebar-account>div strong,.sidebar-account>div span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-account>div span{color:var(--theme-sidebar-text);text-transform:capitalize;margin-top:2px;font-size:.78rem}.sidebar-account button{border-color:color-mix(in srgb, var(--theme-border) 16%, transparent);color:var(--theme-sidebar-text);background:var(--theme-sidebar);justify-content:flex-start;align-items:center;gap:9px;display:flex}.sidebar-account button:hover{border-color:color-mix(in srgb, var(--theme-border) 28%, transparent);background:var(--theme-sidebar)}main{background:var(--theme-surface);padding:20px 22px 28px;overflow:auto}.topbar{justify-content:space-between;align-items:center;gap:16px;min-height:62px;margin-bottom:12px;display:flex}.topbar h1{margin:0 0 4px;font-size:1.55rem;line-height:1.15}.topbar p{margin:0}.status-pill{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;min-height:34px;padding:0 12px;display:inline-flex}.status-dot{background:var(--theme-primary);border-radius:50%;width:8px;height:8px}.screen{gap:16px;min-width:0;display:grid}.sell-grid{grid-template-columns:minmax(0,1fr) 420px;align-items:start}.sell-layout{grid-template-columns:minmax(0,3fr) minmax(300px,1fr);align-items:start;gap:12px}.sale-screen{min-height:0}.sale-main-panel{grid-template-columns:minmax(0,1fr) 520px;gap:12px;height:calc(100vh - 122px);min-height:0;display:grid}.sale-left-panel,.sale-cart-panel{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:0;box-shadow:0 16px 40px color-mix(in srgb, var(--theme-shadow) 5%, transparent);border-radius:8px;display:grid;overflow:hidden}.sale-scan-bar,.sale-filter-card{background:var(--theme-background);box-shadow:inset 0 0 0 1px var(--theme-inverse-text);border-radius:8px;align-items:end;gap:10px;padding:10px;display:grid}.sale-scan-bar button,.sale-filter-card button,.sale-price-types button,.sale-payment-type button,.sale-payment-methods button,.sale-checkout-actions button,.sale-receipt-actions button{justify-content:center;align-items:center;gap:7px;min-height:36px;display:inline-flex}.sale-price-types,.sale-payment-type,.sale-payment-methods{gap:8px;display:grid}.sale-price-types{grid-template-columns:repeat(4,minmax(0,1fr))}.sale-price-types button,.sale-payment-type button,.sale-payment-methods button{border-color:var(--theme-border);background:var(--theme-surface);font-weight:800}.sale-price-types button.selected,.sale-payment-type button.selected,.sale-payment-methods button.selected{border-color:var(--platform-primary,var(--theme-border));background:var(--theme-primary-soft);color:var(--platform-primary,var(--theme-primary-text))}.sale-product-list{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.sale-product-count{color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;display:flex}.sale-product-count button{min-width:92px;min-height:30px}.sale-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;align-items:start;gap:8px;min-height:0;padding-right:2px;display:grid;overflow:auto}.sale-product-card{border-color:var(--theme-border);background:var(--theme-surface);text-align:left;align-content:start;gap:5px;height:auto;min-height:118px;padding:10px;display:grid}.sale-product-card strong,.sale-product-card span,.sale-product-card small{overflow-wrap:anywhere;min-width:0;line-height:1.35}.sale-product-card b{color:var(--platform-primary,var(--theme-primary-text));font-size:1rem}.sale-product-card span,.sale-product-card small{color:var(--theme-text-muted);font-size:.85rem}.sale-cart-header{border-bottom:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:flex}.sale-cart-header strong,.sale-cart-header span,.sale-cart-name strong,.sale-cart-name span,.sale-cart-name small{display:block}.sale-cart-header span,.sale-cart-name span{color:var(--theme-text-muted);margin-top:1px;font-size:.85rem}.sale-cart-items{align-content:start;gap:4px;min-height:0;padding:10px;display:grid;overflow:auto}.sale-cart-row{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-columns:minmax(0,1fr) 146px 112px 34px;align-items:center;gap:6px;padding:5px 6px;display:grid}.sale-cart-name strong,.sale-cart-name span,.sale-cart-name small{line-height:1.18}.sale-qty-controls{grid-template-columns:26px minmax(74px,1fr) 26px;gap:4px;display:grid}.sale-qty-controls button,.sale-cart-row .icon-btn{min-height:26px;padding:0}.sale-qty-controls input{text-align:center;min-height:26px;padding:4px 8px}.sale-qty-controls input::-webkit-outer-spin-button{appearance:none;margin:0}.sale-qty-controls input::-webkit-inner-spin-button{appearance:none;margin:0}.sale-qty-controls input[type=number]{appearance:textfield}.sale-line-total{text-align:right;color:var(--theme-text)}.sale-total-box,.sale-payment-box{border-top:1px solid var(--theme-border);gap:8px;padding:10px 12px;display:grid}.sale-total-box span{color:var(--theme-text-muted);justify-content:space-between;gap:12px;display:flex}.sale-total-box span:last-child strong{color:var(--platform-primary,var(--theme-primary-text));font-size:1.25rem}.sale-payment-type,.sale-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-unpaid-line{justify-content:space-between;gap:10px;display:flex}.sale-checkout-actions{border-top:1px solid var(--theme-border);background:var(--theme-surface);grid-template-columns:1fr 1.25fr;gap:8px;padding:10px 12px;display:grid}.sale-receipt-preview{gap:12px;display:grid}.sale-receipt-preview pre{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;max-height:60vh;padding:12px;font-family:Consolas,monospace;font-size:.9rem;line-height:1.35;overflow:auto}.sale-receipt-actions{justify-content:flex-end;gap:8px;display:flex}.two-columns{grid-template-columns:minmax(430px,1fr) minmax(0,1fr);align-items:start}.products-layout{grid-template-columns:minmax(0,3.8fr) minmax(280px,1fr);align-items:start}.stock-alert-row{width:100%}.stock-alert-row strong,.stock-alert-row span{overflow-wrap:anywhere;white-space:normal;text-overflow:ellipsis;min-width:0;line-height:1.28;display:block;overflow:hidden}.product-main-panel{gap:8px;padding:12px;display:grid}.product-toolbar{grid-template-columns:2fr 185px 155px 155px 1fr auto;align-items:end;gap:8px;display:grid}.product-toolbar h2{letter-spacing:-.01em;grid-column:1/-1;margin:0;font-size:1rem}.product-toolbar-search,.product-toolbar-input{min-height:34px;padding:6px 9px;font-size:.9rem}.product-toolbar-select{min-height:34px;font-size:.9rem}.product-toolbar-actions{grid-column:6/7;justify-content:flex-end;align-items:center;gap:6px;display:flex}.product-toolbar-actions button{white-space:nowrap}.product-grid-wrap{border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);min-width:0;overflow:auto}.product-data-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1060px}.product-data-table thead th{background:var(--theme-background);z-index:2;color:var(--theme-text);text-transform:none;letter-spacing:-.01em;font-size:.78rem;font-weight:700;position:sticky;top:0}.product-data-table thead th,.product-data-table td{border-bottom:1px solid var(--theme-border);white-space:nowrap;padding:8px 10px;line-height:1.2}.product-data-table th:first-child,.product-data-table td:first-child{width:17%}.product-data-table th:nth-child(4){text-align:center}.product-data-table th:nth-child(6),.product-data-table td:nth-child(6),.product-data-table th:last-child,.product-data-table td:last-child{text-align:center;width:9%}.product-data-table .product-name-cell strong{font-size:.9rem;line-height:1.22;display:block}.product-data-table .product-name-cell span{color:var(--theme-text-muted);white-space:normal;margin-top:2px;font-size:.74rem;line-height:1.2;display:inline-block}.stock-value.low{color:var(--theme-warning-text);font-weight:700}.stock-value.out{color:var(--theme-danger-text);font-weight:700}.status-badge.warn{background:var(--theme-warning-soft);color:var(--theme-warning-text);border-color:var(--theme-border)}.status-badge.danger{background:var(--theme-danger-soft);color:var(--theme-danger-text);border-color:var(--theme-border)}.product-row-actions{justify-content:flex-end;gap:6px;min-width:0;display:flex}.product-row-actions .icon-btn{width:28px;min-width:28px;min-height:26px;padding:0}.product-row-actions .icon-btn svg{display:block}.product-table-footer{border-top:1px solid var(--line);color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:10px;padding:8px 2px 0;font-size:.86rem;display:flex}.product-pagination button{min-height:28px;padding:0 10px}.product-side-panel{gap:10px;display:grid}.product-side-card{padding:10px}.product-side-card .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.product-side-card .compact-stat{min-height:74px;padding:10px}.card-title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.product-side-card .stock-alert-row{justify-content:space-between;align-items:center;gap:8px;min-height:46px;padding:8px 10px;display:flex}.product-side-card .stock-alert-row strong{margin-bottom:2px}.quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.quick-actions-grid .primary{min-height:38px}.tiny-btn{border-radius:8px;min-height:28px;padding:0 10px}.products-layout .row-actions button{min-height:30px;padding:0 8px;font-size:.82rem}.products-layout .stock-box{gap:8px}.products-layout .stock-box h2{margin-bottom:6px}.customer-layout{grid-template-columns:minmax(320px,380px) minmax(0,1fr) minmax(360px,.9fr);align-items:start}.transactions-layout{grid-template-columns:minmax(620px,1.35fr) minmax(360px,.65fr);align-items:start}.narrow{max-width:720px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--mkpos-radius);min-width:0;padding:var(--mkpos-space-md);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 5%, transparent), 0 10px 32px color-mix(in srgb, var(--theme-shadow) 3%, transparent)}.screen-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px;display:flex}.transaction-header{align-items:center}.sheet-toolbar{margin:0 0 var(--mkpos-space-xs)}.toolbar-actions{align-items:center;gap:var(--mkpos-space-xs);flex-wrap:wrap;justify-content:flex-end;display:flex}h1,h2,p{margin-top:0}.panel h1{margin-bottom:var(--mkpos-space-sm);font-size:1.24rem}h2{margin-bottom:var(--mkpos-space-sm);font-size:1.04rem}p{color:var(--theme-text-muted)}.sell-main-card,.sell-cart-card{gap:10px;padding:14px;display:grid}.sell-search-wrap{gap:8px;display:grid}.sell-section-label{color:var(--theme-text-muted);font-size:.82rem;font-weight:700}.sell-barcode{border:1px solid var(--line);background:var(--theme-surface);border-radius:8px;gap:6px;padding:10px;display:grid}.sell-barcode-input-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}.sell-barcode input,.sell-search-box input,.sell-qty-control input{border:1px solid var(--line);min-height:34px}.sell-search-box{border:1px solid var(--line);background:var(--theme-surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.sell-search-box:focus-within,.sell-barcode:focus-within .sell-barcode-input-row,.sell-barcode:focus-within{border-color:var(--platform-primary,var(--theme-focus));box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-shadow) 14%, transparent)}.sell-category-row{grid-auto-columns:max-content;grid-auto-flow:column;gap:6px;display:grid;overflow-x:auto}.sell-category-row,.sell-price-type-row,.sell-payment-grid{gap:6px;display:grid}.sell-category-row button,.sell-price-type-row button,.sell-payment-grid button{white-space:nowrap;border-radius:999px;min-height:32px;padding:0 11px}.sell-category-row button.active,.sell-price-type-row button.active,.sell-payment-grid button.active{background:var(--platform-primary,var(--theme-primary));border-color:var(--platform-primary,var(--theme-border));color:var(--theme-on-primary)}.sell-price-type-row{grid-template-columns:repeat(3,minmax(0,1fr))}.sell-products-grid{grid-template-columns:repeat(6,minmax(150px,1fr));gap:8px;display:grid}.sell-product-card{text-align:left;border:1px solid var(--theme-border);background:var(--theme-surface);gap:4px;min-height:122px;display:grid}.sell-product-card:hover{box-shadow:0 4px 14px color-mix(in srgb, var(--theme-shadow) 8%, transparent)}.sell-product-card strong{overflow-wrap:anywhere;font-size:.95rem;line-height:1.2}.sell-product-card span{color:var(--theme-text-muted);font-size:.81rem}.sell-product-price{color:var(--platform-primary,var(--theme-primary-text));font-size:.98rem}.sell-product-card small{color:var(--theme-text-muted);font-size:.76rem}.sell-cart-card{align-self:start;gap:8px;position:sticky;top:16px}.sell-cart-header{grid-template-columns:1fr auto auto;align-items:center;gap:8px;display:grid}.sell-cart-header .danger-button{border-radius:8px;min-height:30px;padding:0 10px}.sell-cart-badge{border:1px solid var(--line);border-radius:999px;padding:2px 8px;font-size:.8rem}.sell-cart-lines{gap:7px;max-height:46vh;padding-right:2px;display:grid;overflow:auto}.sell-cart-line{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-columns:minmax(0,1fr) 148px 96px 30px;align-items:center;gap:7px;padding:7px;display:grid}.sell-cart-line strong,.sell-cart-line span,.sell-cart-line small{overflow-wrap:anywhere;display:block}.sell-qty-control{grid-template-columns:30px auto 30px;align-items:center;gap:4px;display:grid}.sell-qty-control button,.row-remove{border-radius:6px;justify-content:center;align-items:center;width:100%;min-height:28px;padding:0;display:inline-flex}.row-remove{border-color:var(--theme-border);color:var(--theme-danger-text)}.sell-line-total{text-align:right;font-weight:700}.sell-field{gap:4px;display:grid}.sell-field label,.sell-field input{min-height:34px}.sell-field label{color:var(--theme-text-muted);font-size:.82rem}.sell-totals{border-top:1px solid var(--theme-border);gap:6px;padding-top:8px;display:grid}.sell-total-line,.sell-total-highlight{justify-content:space-between;align-items:center;font-size:.9rem;display:flex}.sell-total-line strong{color:var(--theme-text)}.sell-total-highlight{border:1px solid var(--theme-border);background:var(--theme-primary-soft);border-radius:8px;padding:8px 10px;font-size:1.05rem}.sell-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sell-checkout{min-height:46px;margin-top:2px;font-size:1rem}.sell-receipt-panel{border-top:1px solid var(--theme-border);gap:8px;padding-top:10px;display:grid}.sell-receipt-title{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.sell-receipt-title h3{margin:0;font-size:.98rem}.sell-receipt-title span{color:var(--theme-text-muted);font-size:.86rem}.search-box{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;align-items:center;gap:10px;margin-bottom:14px;padding:0 12px;display:flex}.search-box:focus-within{border-color:var(--theme-focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-shadow) 14%, transparent)}.search-box input{box-shadow:none;border:0}.barcode-scan{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);border-radius:8px;grid-template-columns:minmax(220px,1fr) auto auto;align-items:end;gap:8px;margin-bottom:14px;padding:12px;display:grid}.product-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px;display:grid}.category-strip{gap:8px;margin-bottom:10px;padding-bottom:10px;display:flex;overflow-x:auto}.category-strip button{white-space:nowrap;min-height:36px}.category-strip .selected{background:var(--brand);border-color:var(--brand);color:var(--theme-on-primary);font-weight:800}.product-tile{text-align:left;background:var(--theme-secondary-soft);align-content:space-between;min-height:112px;padding:12px;display:grid}.product-tile:hover{background:var(--theme-secondary-soft);border-color:var(--theme-border)}.product-tile strong,.cart-line strong{overflow-wrap:anywhere}.product-tile span{color:var(--theme-primary-text);font-weight:800}.product-tile em{color:var(--theme-text-muted);font-size:.8rem;font-style:normal}.product-tile small{color:var(--theme-text-muted)}.cart-panel{align-self:start;position:sticky;top:20px}.cart-panel h2{font-size:1.18rem}.receipt-panel{border-top:1px solid var(--theme-border);gap:12px;margin-top:16px;padding-top:16px;display:grid}.receipt-preview{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);max-height:360px;color:var(--theme-text);white-space:pre-wrap;border-radius:8px;padding:12px;font-family:Consolas,Courier New,monospace;font-size:.82rem;line-height:1.35;overflow:auto}.cart-lines{gap:10px;min-height:156px;margin-bottom:14px;display:grid}.cart-line{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) 76px 82px;align-items:center;gap:8px;padding:8px;display:grid}.cart-line strong,.cart-line span,.cart-line small{display:block}.cart-line span{color:var(--theme-text-muted);font-size:.9rem}.field{gap:6px;display:grid}.field span{color:var(--theme-text-muted);font-size:.88rem;font-weight:650}.check-line{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);border-radius:8px;align-items:center;gap:10px;min-height:44px;padding:8px 10px;display:flex}.check-line input{width:18px;min-height:18px}.check-line span{color:var(--theme-text-muted);font-weight:650}.form-grid{gap:12px;min-width:0;display:grid}.segmented{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;display:grid}.settings-tabs{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));max-width:none}.segmented button{font-weight:700}.segmented .selected{background:var(--brand);color:var(--theme-on-primary);border-color:var(--brand)}.module-tabs{max-width:520px;margin-bottom:12px}.quick-filter-bar{flex-wrap:wrap;gap:6px;margin:4px 0 10px;display:flex}.quick-filter-bar button{min-height:34px;padding:0 11px;font-size:.88rem;font-weight:750}.quick-filter-bar .selected{background:var(--brand);border-color:var(--brand);color:var(--theme-on-primary)}.primary{background:var(--brand-2);color:var(--theme-on-primary);border-color:var(--platform-primary,var(--theme-border));justify-content:center;align-items:center;gap:8px;min-height:46px;font-weight:800;display:inline-flex}.primary:hover{background:var(--theme-primary);border-color:var(--theme-border)}.totals,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.stat{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:8px;gap:5px;padding:12px;display:grid}.stat span{color:var(--theme-text-muted);font-size:.88rem}.stat strong{overflow-wrap:anywhere;font-size:1.2rem}table{border-collapse:collapse;width:100%}.table-wrap{max-width:100%;overflow-x:auto}.table-wrap table{min-width:680px}th,td{border-bottom:1px solid var(--theme-border);text-align:left;vertical-align:middle;overflow-wrap:anywhere;padding:7px 8px}th{color:var(--theme-text-muted);background:var(--theme-background);font-size:.86rem;font-weight:800}tbody tr:hover{background:var(--theme-secondary-soft)}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.row-actions button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.danger-button{border-color:var(--theme-border);color:var(--theme-danger-text)}.danger-button:hover{background:var(--theme-danger-soft);border-color:var(--theme-border)}.transaction-table td:first-child strong,.transaction-table td:first-child span,.transaction-table td strong,.transaction-table td span,.customer-drawer td strong,.customer-drawer td span,.detail-header strong,.detail-header span{display:block}.transaction-table td:first-child span,.transaction-table td span,.customer-drawer td span,.detail-header span{color:var(--theme-text-muted);margin-top:3px;font-size:.86rem}.transaction-list{gap:6px;display:grid}.compact-sales-list{max-height:calc(100vh - 250px);padding-right:4px;overflow:auto}.transaction-row{border-color:var(--theme-border);background:var(--theme-surface);text-align:left;grid-template-columns:minmax(180px,1.35fr) minmax(82px,.65fr) minmax(76px,.55fr) repeat(3,minmax(86px,.55fr)) minmax(82px,auto);align-items:center;gap:10px;width:100%;min-height:46px;padding:6px 8px;display:grid}.transaction-row:hover,.transaction-row.selected{background:var(--theme-primary-soft);border-color:var(--theme-border)}.transaction-row strong,.transaction-row small{display:block}.transaction-row small{color:var(--theme-text-muted);font-size:.76rem;line-height:1.2}.transaction-receipt strong,.transaction-party,.transaction-pay strong,.transaction-money strong{overflow-wrap:anywhere;font-size:.92rem;line-height:1.2}.transaction-party{color:var(--theme-text)}.transaction-money strong{font-weight:750}.transaction-row .status-badge{justify-self:start;min-height:24px;padding:0 8px;font-size:.74rem}.clickable-row{cursor:pointer}.selected-row,.clickable-row:hover{background:var(--theme-secondary-soft)}.status-badge{text-transform:capitalize;border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:.8rem;font-weight:800;display:inline-flex}.status-badge.completed{background:var(--theme-primary-soft);color:var(--theme-primary-text)}.status-badge.voided{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.sale-detail{gap:14px;display:grid}.detail-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.detail-actions{justify-content:flex-start}.detail-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.compact-detail-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.compact-detail-meta span,.compact-totals span{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:8px;gap:3px;min-width:0;padding:8px 10px;display:grid}.compact-detail-meta small,.compact-totals small{color:var(--theme-text-muted);font-size:.76rem}.compact-detail-meta strong,.compact-totals strong{overflow-wrap:anywhere;font-size:.98rem}.compact-item-list{border:1px solid var(--theme-border);border-radius:8px;display:grid;overflow:hidden}.compact-item-row{border-bottom:1px solid var(--theme-border);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.compact-item-row:last-child{border-bottom:0}.compact-item-row small{color:var(--theme-text-muted);font-size:.76rem;display:block}.compact-totals{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.edit-box{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);border-radius:8px;gap:8px;padding:10px;display:grid}.edit-box h2{margin-bottom:0}.edit-lines{gap:8px;display:grid}.sale-edit-lines{gap:6px;display:grid}.sale-edit-row{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;grid-template-columns:minmax(0,1fr) 70px 78px 74px;align-items:end;gap:5px;padding:6px;display:grid}.sale-edit-row .field:first-child{grid-column:1/4}.sale-edit-row .field:nth-child(2){grid-column:4/5}.sale-edit-row .field span{font-size:.76rem;line-height:1}.sale-edit-row input,.sale-edit-row select{border-radius:6px;min-height:34px;padding:5px 7px;font-size:.88rem}.sale-edit-row-total{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:6px;place-content:center start;align-self:stretch;gap:1px;min-height:34px;padding:4px 6px;display:grid}.sale-edit-row-total small{color:var(--theme-text-muted);font-size:.7rem}.sale-edit-row-total strong{color:var(--theme-primary-text);white-space:nowrap;text-overflow:ellipsis;font-size:.84rem;overflow:hidden}.sale-edit-row button{border-radius:6px;min-height:34px;padding:0 8px;font-size:.82rem}.edit-line{grid-template-columns:minmax(150px,1fr) 70px 90px 82px minmax(90px,auto);align-items:center;gap:8px;display:grid}.price-editor{gap:8px;min-width:0;display:grid}.price-editor h2{margin-bottom:0}.price-editor .edit-line{grid-template-columns:minmax(0,1fr) minmax(76px,96px) minmax(78px,auto)}.price-editor .edit-line button{padding:0 10px}.edit-line span{color:var(--theme-primary-text);text-align:right;font-weight:800}.edit-controls{gap:6px;margin-bottom:0;padding:8px}.edit-controls input,.edit-controls select{border-radius:6px;min-height:34px;padding:5px 7px;font-size:.88rem}.success{border:1px solid var(--theme-border);background:var(--theme-success-soft);color:var(--theme-success-text);border-radius:8px;margin:12px 0 0;padding:10px 12px}.error-text{border:1px solid var(--theme-border);background:var(--theme-danger-soft);color:var(--theme-danger-text);border-radius:8px;margin:10px 0 0;padding:10px 12px}.notice-bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.notice-bar span{overflow-wrap:anywhere;min-width:0}.notice-close{color:currentColor;background:0 0;border-color:#0000;flex:none;min-width:26px;min-height:26px;padding:0;font-weight:900;line-height:1}.notice-close:hover{background:color-mix(in srgb, var(--theme-surface) 45%, transparent);border-color:currentColor}.error-panel{max-width:680px}.empty-state{border:1px dashed var(--theme-border);color:var(--theme-text-muted);background:var(--theme-secondary-soft);border-radius:8px;padding:18px}.loading-state{border:1px solid var(--theme-border);color:var(--theme-text-muted);background:var(--theme-secondary-soft);border-radius:8px;margin:10px 0;padding:14px}.warn{color:var(--theme-warning-text);font-weight:800}.muted-row{opacity:.55}.payment-form{border-top:1px solid var(--theme-border);margin-top:18px;padding-top:18px}.date-row{align-items:center;gap:8px;display:flex}.filter-bar{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);border-radius:8px;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;margin-bottom:12px;padding:12px;display:grid}.compact-filter{grid-template-columns:minmax(95px,130px) minmax(160px,1fr) auto}.statement-filter{grid-template-columns:repeat(2,minmax(120px,1fr)) auto auto}.inventory-panels,.report-grid{gap:14px;margin-top:16px;display:grid}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-box{border-top:1px solid var(--theme-border);gap:10px;padding-top:14px;display:grid}.stock-alert-row{text-align:left;background:var(--theme-warning-soft);border-color:var(--theme-border);justify-items:start;min-height:54px;display:grid}.stock-alert-row span{color:var(--theme-warning-text);font-size:.86rem}.gain-text{color:var(--theme-primary-text);font-weight:800}.danger-text{color:var(--theme-danger-text);font-weight:800}.closing-list{gap:9px;display:grid}.closing-list span{border-bottom:1px solid var(--theme-border);color:var(--theme-text-muted);justify-content:space-between;gap:12px;padding-bottom:9px;display:flex}.closing-list strong{color:var(--theme-text);text-align:right}.detail-panel{position:sticky;top:20px}.customer-drawer{max-height:calc(100vh - 40px);overflow:auto}.customer-detail{gap:14px;display:grid}.drawer-section{border-top:1px solid var(--theme-border);gap:8px;padding-top:14px;display:grid}.settings-layout{max-width:880px}.settings-section{gap:12px;min-width:0;display:grid}.info-box{border:1px solid var(--theme-border);background:var(--theme-secondary-soft);color:var(--theme-text-muted);border-radius:8px;padding:12px;line-height:1.45}.warning-box{border-color:var(--theme-border);background:var(--theme-warning-soft);color:var(--theme-warning-text)}.capitalize{text-transform:capitalize}.mkpos-modal-overlay{z-index:40;background:color-mix(in srgb, var(--theme-primary) 48%, transparent);padding:var(--mkpos-space-md);place-items:center;display:grid;position:fixed;inset:0}.mkpos-modal{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--mkpos-radius);width:min(920px,100%);max-height:min(90vh,100%);box-shadow:0 24px 64px color-mix(in srgb, var(--theme-shadow) 26%, transparent);grid-template-rows:auto 1fr auto;display:grid;overflow:hidden}.mkpos-modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;display:flex}.mkpos-modal-header h2{margin:0;font-size:1.05rem}.mkpos-modal-body{max-height:calc(90vh - 132px);overflow:auto}.mkpos-modal-footer{border-top:1px solid var(--line);background:var(--theme-secondary-soft);justify-content:flex-end;gap:var(--mkpos-space-xs);flex-wrap:wrap;align-items:center;display:flex}.mkpos-modal-header button{min-width:52px}.mkpos-filter-drawer-overlay{z-index:45;background:color-mix(in srgb, var(--theme-primary) 34%, transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);justify-content:flex-end;display:flex;position:fixed;inset:0}.mkpos-filter-drawer{border-left:1px solid var(--line-strong);background:var(--theme-surface);width:min(430px,100vw - 24px);height:100dvh;min-height:0;box-shadow:-20px 0 48px color-mix(in srgb, var(--theme-shadow) 20%, transparent);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.mkpos-filter-drawer-header{border-bottom:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:12px 14px;display:flex}.mkpos-filter-drawer-header>div{gap:2px;display:grid}.mkpos-filter-drawer-header span{color:var(--theme-text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.72rem;font-weight:750}.mkpos-filter-drawer-header h2{color:var(--theme-primary-text);margin:0;font-size:1.08rem}.mkpos-filter-drawer-header button{min-width:58px}.mkpos-filter-drawer-body{min-height:0;padding:14px;overflow:auto}.filter-drawer-trigger{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.filter-drawer-trigger .filter-count{background:var(--theme-primary);min-width:19px;height:19px;color:var(--theme-on-primary);border-radius:999px;place-items:center;padding-inline:5px;font-size:.7rem;font-weight:800;display:inline-grid}.drawer-filter-form{gap:12px;display:grid}.drawer-filter-form .field{gap:5px}.drawer-filter-form .field>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.drawer-filter-actions{border-top:1px solid var(--theme-border);background:var(--theme-surface);grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:4px -14px -14px;padding:12px 14px;display:grid;position:sticky;bottom:-14px}.drawer-filter-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.drawer-filter-actions .drawer-refresh-action{grid-column:1/-1}.compact-form{gap:var(--mkpos-space-xs);padding:12px;display:grid}.compact-form .field{gap:4px}.compact-form .form-grid{gap:var(--mkpos-space-xs)}.sheet-toolbar h1,.sheet-toolbar p{margin:0}.table-wrap.sheet-table{border:1px solid var(--theme-border);border-radius:var(--mkpos-space-xs);overflow:auto}.sheet-table th,.sheet-table td{white-space:nowrap}.compact-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-item-row{gap:8px}.sale-edit-row{align-items:center}.sale-edit-row input,.sale-edit-row select{min-height:32px}.mm-safe-text,.mm-safe-text input,.mm-safe-text select{line-height:1.4}.status-pill{min-height:30px}.filter-bar{margin-bottom:var(--mkpos-space-sm);padding:10px}.products-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}.product-main-panel{border-color:var(--theme-border);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 5%, transparent), 0 14px 34px color-mix(in srgb, var(--theme-shadow) 5%, transparent);gap:12px;padding:16px}.product-page-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:2px;display:flex}.product-eyebrow{min-height:22px;color:var(--platform-primary,var(--theme-primary-text));letter-spacing:0;text-transform:uppercase;align-items:center;font-size:.76rem;font-weight:850;display:inline-flex}.product-page-heading h2{color:var(--theme-text);margin:0 0 4px;font-size:1.25rem;line-height:1.2}.product-page-heading p{color:var(--theme-text-muted);margin:0;font-size:.88rem}.product-hero-action{white-space:nowrap;min-height:38px}.product-stat-card{appearance:none;border:1px solid var(--theme-border);background:linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%);text-align:left;border-radius:8px;min-width:0;min-height:76px;padding:12px}button.product-stat-card{cursor:pointer}button.product-stat-card:hover{border-color:var(--theme-border);box-shadow:0 8px 20px color-mix(in srgb, var(--theme-shadow) 8%, transparent)}.product-stat-card span{color:var(--theme-text-muted);font-size:.78rem;line-height:1.25;display:block}.product-stat-card strong{color:var(--theme-text);margin-top:6px;font-size:1.45rem;line-height:1;display:block}.product-stat-card.warning strong{color:var(--theme-warning-text)}.product-stat-card.danger strong{color:var(--theme-danger-text)}.product-control-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;gap:10px;padding:10px;display:grid}.product-filter-row{grid-template-columns:minmax(280px,1.5fr) minmax(150px,.72fr) minmax(150px,.72fr) minmax(130px,.6fr) minmax(190px,.85fr);align-items:center;gap:8px;display:grid}.product-filter-row input,.product-filter-row select,.product-search-field,.product-scan-field{min-height:36px}.product-search-field,.product-scan-field{border:1px solid var(--line-strong);background:var(--theme-surface);color:var(--theme-text-muted);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.product-search-field input,.product-scan-field input{box-shadow:none;border:0;min-height:34px;padding:0}.product-search-field:focus-within,.product-scan-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-shadow) 12%, transparent)}.product-action-row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;display:flex}.product-action-row button{align-items:center;gap:7px;min-height:34px;font-weight:720;display:inline-flex}.product-action-row .primary,.product-page-heading .primary{background:var(--platform-primary,var(--theme-primary));border-color:var(--platform-primary,var(--theme-border))}.product-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;display:grid;overflow:hidden}.product-table-title{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);justify-content:space-between;align-items:center;min-height:48px;padding:10px 12px;display:flex}.product-table-title h3{color:var(--theme-text);margin:0;font-size:.98rem;line-height:1.2}.product-table-title span{color:var(--theme-text-muted);font-size:.8rem}.product-grid-wrap{border:0;border-radius:0;min-height:190px;max-height:calc(100vh - 365px)}.product-data-table{table-layout:fixed;min-width:1040px}.product-data-table thead th{background:var(--theme-background);color:var(--theme-text-muted);border-bottom:1px solid var(--theme-border);font-size:.84rem}.product-data-table thead th,.product-data-table td{border-bottom-color:var(--theme-border);white-space:normal;overflow-wrap:anywhere;word-break:normal;line-break:anywhere;padding:9px 10px;font-size:.94rem;line-height:1.42}.product-data-table tbody tr{height:auto;min-height:50px}.product-name-cell strong{color:var(--theme-text);overflow-wrap:anywhere;max-width:100%;line-height:1.45;display:block}.product-data-table td:nth-child(5),.product-data-table td:nth-child(6),.product-data-table td:nth-child(7){font-size:.92rem}.product-price-stack{gap:3px;min-width:0;display:grid}.product-price-row{grid-template-columns:minmax(64px,.8fr) minmax(78px,1fr);align-items:baseline;gap:8px;min-width:0;display:grid}.product-price-row em{color:var(--theme-text-muted);overflow-wrap:anywhere;font-size:.88rem;font-style:normal}.product-price-row strong{color:var(--theme-text);overflow-wrap:anywhere;text-align:right;font-size:.92rem;font-weight:800}.product-price-stack small{color:var(--theme-text-muted);text-align:right;font-size:.84rem}.product-row-actions .icon-btn{background:var(--theme-surface);border-radius:6px;justify-content:center;align-items:center;width:30px;min-width:30px;min-height:30px;padding:0;line-height:1;display:inline-flex}.product-row-actions .icon-btn:hover{background:var(--theme-primary-soft);border-color:var(--theme-border)}.product-row-actions .icon-btn.danger{color:var(--theme-danger-text)}.product-row-actions{justify-content:center;align-items:center}.product-data-table th:last-child,.product-data-table td:last-child{text-align:center}.product-table-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:42px;padding:8px 12px}.product-empty-state{color:var(--theme-text-muted);text-align:center;border-top:1px solid var(--theme-border);justify-items:center;gap:8px;padding:34px 18px 38px;display:grid}.product-empty-state svg{color:var(--platform-primary,var(--theme-primary-text))}.product-empty-state h3{color:var(--theme-text);margin:0;font-size:1rem}.product-empty-state p{max-width:360px;margin:0;font-size:.9rem}.product-empty-state .primary{min-height:36px;margin-top:4px}.product-side-panel{gap:12px;display:grid;position:sticky;top:16px}.product-sidebar-card{border:1px solid var(--theme-border);background:var(--theme-sidebar);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 4%, transparent), 0 12px 28px color-mix(in srgb, var(--theme-shadow) 4%, transparent);border-radius:8px;gap:10px;padding:12px;display:grid}.product-card-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.product-card-heading h2{color:var(--theme-text);margin:0;font-size:.98rem}.product-card-heading span{color:var(--theme-text-muted);font-size:.78rem}.product-scan-box{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.product-scan-box input,.product-scan-box button{min-height:38px}.product-soft-empty{border:1px dashed var(--theme-border);background:var(--theme-surface);color:var(--theme-text-muted);border-radius:8px;padding:14px;font-size:.9rem;line-height:1.45}.product-side-panel .stock-alert-row{border:1px solid var(--theme-border);background:var(--theme-warning-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:50px;padding:9px 10px;display:flex}.product-side-panel .stock-alert-row strong{color:var(--theme-text);font-size:.88rem}.product-side-panel .stock-alert-row span{color:var(--theme-warning-text);font-size:.78rem}.product-adjust-form{gap:8px;display:grid}.product-adjust-form .primary{min-height:36px}.product-adjust-modal-form .primary{min-height:38px}.product-stock-list-table td,.product-stock-list-table th{white-space:normal;overflow-wrap:anywhere;line-break:anywhere}.product-stock-list-table td strong,.product-stock-list-table td span{display:block}.product-stock-list-table td span{color:var(--theme-text-muted);margin-top:2px;font-size:.78rem}.product-form-grid{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:12px;display:grid}.product-form-section{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;gap:10px;padding:12px;display:grid}.product-section-heading{gap:2px;margin-bottom:2px;display:grid}.product-section-heading span{color:var(--theme-text-muted);font-size:.78rem;line-height:1.35}.product-form-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.product-form-three{gap:10px;display:grid}.product-price-line button,.product-add-price{min-height:34px}.product-add-price{justify-self:start}.product-form-message .success,.product-form-message .error-text{margin-top:0}.product-modal-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);z-index:2;justify-content:flex-end;gap:8px;margin:0 -12px -12px;padding:12px;display:flex;position:sticky;bottom:-12px}.product-main-panel{background:var(--theme-surface);border-color:var(--theme-border);box-shadow:0 16px 40px color-mix(in srgb, var(--theme-shadow) 5%, transparent)}.product-stat-card{border-color:var(--theme-border);background:var(--theme-surface);box-shadow:none}button.product-stat-card:hover{background:var(--theme-background);border-color:var(--theme-border)}.product-stat-card span{color:var(--theme-text-muted);font-size:.84rem;font-weight:500}.product-stat-card strong{color:var(--theme-text);font-size:1.35rem;font-weight:750}.product-stat-card.warning{border-color:var(--theme-border);background:var(--theme-warning-soft)}.product-stat-card.danger{border-color:var(--theme-border);background:var(--theme-danger-soft)}.product-control-card{background:var(--theme-background);box-shadow:inset 0 0 0 1px var(--theme-inverse-text);border:0}.product-filter-row input,.product-filter-row select,.product-search-field,.product-scan-field{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}.product-filter-row input::placeholder,.product-search-field input::placeholder,.product-scan-field input::placeholder{color:var(--theme-text-muted)}.product-action-row button{border-color:var(--theme-border);color:var(--theme-text);background:var(--theme-surface);font-weight:650}.product-action-row button:hover{background:var(--theme-background);border-color:var(--theme-border)}.product-action-row .primary,.product-page-heading .primary{color:var(--theme-on-primary);background:var(--platform-primary,var(--theme-primary));border-color:var(--platform-primary,var(--theme-border))}.product-table-card{border-color:var(--theme-border);box-shadow:none}.product-table-title{border-bottom-color:var(--theme-border);background:var(--theme-surface);min-height:42px}.product-table-title h3{color:var(--theme-text);font-size:1rem;font-weight:720}.product-data-table thead th{background:var(--theme-background);color:var(--theme-text);font-size:.88rem;font-weight:700}.product-data-table thead th,.product-data-table td{border-bottom-color:var(--theme-border)}.product-data-table td{color:var(--theme-text);font-size:.98rem;font-weight:500}.product-data-table .product-name-cell strong{color:var(--theme-text);font-size:1rem;font-weight:680}.product-data-table .product-name-cell span{color:var(--theme-text-muted);font-size:.82rem;font-weight:450}.product-price-row em{color:var(--theme-text-muted);font-size:.9rem;font-weight:500}.product-price-row strong{color:var(--theme-text);font-size:.96rem;font-weight:720}.product-price-stack small{color:var(--theme-text-muted);font-weight:500}.product-no-price{color:var(--theme-text-muted);text-align:center}.status-badge{border:1px solid #0000;min-height:24px;padding:0 8px;font-size:.82rem;font-weight:680}.product-data-table .status-badge{background:var(--theme-primary-soft);color:var(--theme-primary-text);border-color:var(--theme-border)}.product-data-table .status-badge.warn{background:var(--theme-warning-soft);color:var(--theme-warning-text);border-color:var(--theme-border)}.product-data-table .status-badge.danger{background:var(--theme-danger-soft);color:var(--theme-danger-text);border-color:var(--theme-border)}.product-row-actions .icon-btn{border-color:var(--theme-border);color:var(--theme-text);background:var(--theme-surface)}.product-row-actions .icon-btn:hover{background:var(--theme-background)}.product-row-actions .icon-btn.danger{color:var(--theme-danger-text);border-color:var(--theme-border)}.product-table-footer{border-top-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-text-muted)}.product-pagination button{border-color:var(--theme-border);background:var(--theme-surface)}.purchases-layout{grid-template-columns:minmax(0,1fr);align-items:start}.purchase-main-panel{border-color:var(--theme-border);background:var(--theme-surface);box-shadow:0 16px 40px color-mix(in srgb, var(--theme-shadow) 5%, transparent);gap:12px;padding:16px;display:grid}.purchase-tabs{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:8px;grid-template-columns:repeat(2,minmax(120px,auto));justify-self:start;gap:6px;padding:4px;display:inline-grid}.purchase-tabs button{background:0 0;border:0;min-height:32px;font-weight:700}.purchase-workspace{gap:10px;min-height:0;display:grid}.purchase-form-card,.purchase-add-card{background:var(--theme-background);box-shadow:inset 0 0 0 1px var(--theme-inverse-text);border:0;border-radius:8px;gap:10px;padding:10px;display:grid}.purchase-add-card{grid-template-columns:minmax(220px,1.05fr) minmax(150px,.72fr) minmax(260px,1.35fr) minmax(86px,.42fr) minmax(120px,.5fr) auto;align-items:end}.purchase-add-card button{min-height:36px}.purchase-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-rows:minmax(0,1fr) auto;min-height:260px;display:grid;overflow:hidden}.purchase-table-wrap{min-height:0;overflow:auto}.purchase-items-table,.purchase-history-table{table-layout:fixed;min-width:880px}.purchase-items-table th,.purchase-history-table th{background:var(--theme-background);color:var(--theme-text);font-size:.88rem;font-weight:700}.purchase-items-table td,.purchase-history-table td{color:var(--theme-text);white-space:normal;overflow-wrap:anywhere;font-size:.96rem;font-weight:500;line-height:1.4}.purchase-items-table input{min-height:32px}.purchase-items-table th:first-child,.purchase-items-table td:first-child{width:32%}.purchase-items-table th:nth-child(2),.purchase-items-table td:nth-child(2){width:14%}.purchase-items-table th:nth-child(3),.purchase-items-table td:nth-child(3),.purchase-items-table th:nth-child(4),.purchase-items-table td:nth-child(4),.purchase-items-table th:nth-child(5),.purchase-items-table td:nth-child(5){width:15%}.purchase-items-table th:last-child,.purchase-items-table td:last-child{text-align:center;width:9%}.purchase-summary-bar{border-top:1px solid var(--theme-border);background:var(--theme-surface);flex-wrap:wrap;align-items:center;gap:10px;min-height:54px;padding:10px 12px;display:flex}.purchase-summary-bar span{color:var(--theme-text-muted);font-size:.9rem}.purchase-summary-bar strong{color:var(--theme-text);font-size:1rem}.purchase-save-actions{gap:8px;margin-left:auto;display:flex}.purchase-save-actions button{min-height:36px}.purchase-history-card{grid-template-rows:auto minmax(0,1fr) auto;min-height:430px}.purchase-history-filter{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);gap:10px;padding:10px;display:grid}.purchase-quick-ranges{flex-wrap:wrap;gap:6px;display:flex}.purchase-quick-ranges button{border-color:var(--theme-border);background:var(--theme-surface);min-height:30px;color:var(--theme-text);font-size:.84rem;font-weight:700}.purchase-quick-ranges button.selected{border-color:var(--platform-primary,var(--theme-border));background:var(--theme-primary-soft);color:var(--platform-primary,var(--theme-primary-text))}.purchase-history-actions{grid-template-columns:88px 74px 104px;gap:8px;width:282px;display:grid}.purchase-history-actions button,.purchase-history-footer button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:36px;display:inline-flex}.purchase-history-filter button,.purchase-history-footer button{transition:none}.purchase-history-actions button{width:100%;min-width:0}.purchase-history-filter button:disabled,.purchase-history-footer button:disabled{opacity:1}.purchase-history-filter button:disabled{cursor:wait}.purchase-history-footer button:disabled{cursor:default}.purchase-row-actions button{min-width:36px}.purchase-row-actions button:first-child{min-width:54px}.purchase-history-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:48px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:.9rem;display:flex}@media (width<=980px){.purchase-history-filter-grid{grid-template-columns:1fr}.purchase-history-actions{grid-template-columns:1fr;width:100%}.purchase-history-footer{flex-direction:column;align-items:stretch}}.purchase-row-actions button{justify-content:center;align-items:center;min-height:30px;display:inline-flex}.purchase-detail-meta span{border:1px solid var(--theme-border);background:var(--theme-background);color:var(--theme-text-muted);border-radius:8px;gap:4px;padding:10px;font-size:.86rem;display:grid}.customers-layout{grid-template-columns:minmax(0,1fr);align-items:start}.customer-main-panel{border-color:var(--theme-border);background:var(--theme-surface);box-shadow:0 16px 40px color-mix(in srgb, var(--theme-shadow) 5%, transparent);grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;padding:16px;display:grid}.customer-toolbar{background:var(--theme-background);box-shadow:inset 0 0 0 1px var(--theme-inverse-text);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.customer-search-form{grid-template-columns:minmax(260px,1fr) 88px 92px;align-items:center;gap:8px;display:grid}.customer-toolbar button,.customer-search-form button,.customer-modal-actions button,.customer-detail-filter-actions button,.customer-payment-actions button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;min-height:36px;display:inline-flex}.customer-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.customer-table-wrap{min-height:0;overflow:auto}.customer-table{table-layout:fixed;min-width:920px}.customer-table th{background:var(--theme-background);color:var(--theme-text);font-size:.88rem;font-weight:700}.customer-table td{color:var(--theme-text);white-space:normal;overflow-wrap:anywhere;font-size:.96rem;font-weight:500;line-height:1.4}.customer-table th:nth-child(5),.customer-table td:nth-child(5){width:18%}.customer-row-actions button{justify-content:center;align-items:center;min-width:34px;min-height:30px;display:inline-flex}.customer-row-actions button:first-child{min-width:52px}.customer-table-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:46px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:.9rem;display:flex}.customer-pagination{white-space:nowrap;align-items:center;gap:8px;display:flex}.customer-pagination button{min-width:58px;min-height:32px}.customer-modal-form{gap:12px;display:grid}.customer-modal-actions{justify-content:flex-end;gap:8px;padding-top:8px;display:flex}.customer-account-detail{gap:12px;display:grid}.customer-detail-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-detail-heading strong,.customer-detail-heading span{display:block}.customer-detail-heading strong{color:var(--theme-text);font-size:1.08rem}.customer-detail-heading span{color:var(--theme-text-muted);margin-top:3px}.customer-detail-heading button{align-items:center;gap:7px;min-height:34px;display:inline-flex}.customer-detail-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.customer-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.customer-summary-grid span{border:1px solid var(--theme-border);background:var(--theme-background);color:var(--theme-text-muted);border-radius:8px;gap:5px;padding:10px;font-size:.86rem;display:grid}.customer-summary-grid strong{color:var(--theme-text);font-size:1.05rem}.customer-detail-filter,.customer-payment-form{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;align-items:end;gap:10px;padding:10px;display:grid}.customer-detail-filter-actions,.customer-payment-actions{gap:8px;display:flex}.customer-history-grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.customer-history-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr);min-height:220px;display:grid;overflow:hidden}.customer-history-title{border-bottom:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:8px 10px;display:flex}.customer-history-title span{color:var(--theme-text-muted);font-size:.86rem}.customer-history-table{min-height:0;overflow:auto}.customer-history-table table{table-layout:fixed;min-width:760px}.customer-history-table th{background:var(--theme-surface)}.customer-history-table td{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.customer-history-footer,.supplier-history-footer{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:42px;color:var(--theme-text-muted);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:.9rem;display:flex}.customer-history-footer button,.supplier-history-footer button{min-width:92px;min-height:32px}.suppliers-layout{grid-template-columns:minmax(0,1fr);align-items:start}.supplier-main-panel{border-color:var(--theme-border);background:var(--theme-surface);box-shadow:0 16px 40px color-mix(in srgb, var(--theme-shadow) 5%, transparent);gap:12px;padding:16px;display:grid}.supplier-form-card,.supplier-toolbar{background:var(--theme-background);box-shadow:inset 0 0 0 1px var(--theme-inverse-text);border:0;border-radius:8px;padding:10px}.supplier-form-grid{grid-template-columns:minmax(220px,1fr) minmax(150px,.7fr) minmax(180px,.8fr) minmax(220px,1fr) minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.supplier-form-actions{gap:8px;display:flex}.supplier-form-actions button{white-space:nowrap;min-height:36px}.supplier-toolbar{grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:10px;display:grid}.supplier-toolbar button{align-items:center;gap:7px;min-height:36px;display:inline-flex}.supplier-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.supplier-table-wrap{min-height:0;position:relative;overflow:auto}.supplier-table{table-layout:fixed;min-width:1040px}.supplier-table th{background:var(--theme-background);color:var(--theme-text);font-size:.88rem;font-weight:700}.supplier-table td{color:var(--theme-text);white-space:normal;overflow-wrap:anywhere;font-size:.96rem;font-weight:500;line-height:1.4}.supplier-table th:nth-child(2),.supplier-table td:nth-child(2),.supplier-table th:nth-child(3),.supplier-table td:nth-child(3){width:14%}.supplier-table th:nth-child(5),.supplier-table td:nth-child(5),.supplier-table th:nth-child(6),.supplier-table td:nth-child(6){width:12%}.supplier-table th:last-child,.supplier-table td:last-child{text-align:center;width:12%}.supplier-row-actions button{justify-content:center;align-items:center;min-height:30px;display:inline-flex}.supplier-table-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:46px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:.9rem;display:flex}.supplier-pagination{white-space:nowrap;align-items:center;gap:8px;display:flex}.supplier-pagination button{min-width:58px;min-height:32px}.supplier-detail-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.supplier-detail-meta span{border:1px solid var(--theme-border);background:var(--theme-background);color:var(--theme-text-muted);border-radius:8px;gap:4px;padding:10px;font-size:.86rem;display:grid}.supplier-detail-meta strong{color:var(--theme-text)}.supplier-history-filter{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;grid-template-columns:minmax(220px,1.3fr) minmax(140px,.7fr) minmax(140px,.7fr) minmax(130px,.6fr) auto;align-items:end;gap:10px;padding:10px;display:grid}.supplier-history-filter-actions{gap:8px;display:flex}.supplier-history-filter-actions button{white-space:nowrap;min-height:36px}.supplier-history-summary{color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:12px;font-size:.9rem;display:flex}@media (width<=980px){.app-shell,.sell-grid,.sell-layout,.two-columns,.products-layout,.customer-layout,.transactions-layout,.report-grid{grid-template-columns:1fr}.product-table th,.product-table td{white-space:normal}.sidebar{z-index:1;padding:12px;position:sticky;top:0}.brand{margin-bottom:10px}nav{grid-template-columns:repeat(4,minmax(0,1fr))}nav button{justify-content:center;min-height:44px}nav button span{display:none}main{padding:16px}.topbar,.screen-header,.date-row{flex-direction:column;align-items:stretch}.transaction-header{align-items:stretch}.cart-panel,.sell-cart-card,.detail-panel{position:static}.customer-drawer,.compact-sales-list{max-height:none}.product-toolbar{grid-template-columns:1fr 1fr;grid-auto-flow:row}.product-toolbar h2{grid-column:1/-1}.product-toolbar-actions{grid-column:1/-1;justify-content:flex-start}.product-toolbar-search,.product-toolbar-select,.product-toolbar-input{grid-column:1/-1}.transaction-row{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(90px,auto)) minmax(82px,auto)}.transaction-party,.transaction-pay{display:none}}@media (width<=620px){.product-grid,.sell-products-grid,.totals,.stats-grid,.filter-bar,.compact-filter,.statement-filter,.barcode-scan,.sell-barcode-input-row,.sell-payment-grid,.cart-line,.sell-cart-line{grid-template-columns:1fr}.sell-cart-line{gap:4px}.sell-main-card,.sell-cart-card{padding:10px}.sell-category-row{grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:row}.edit-line{grid-template-columns:1fr}.edit-line span{text-align:left}.settings-tabs,.compact-stats,.detail-meta,.compact-detail-meta,.compact-totals,.compact-item-row,.sale-edit-row{grid-template-columns:1fr}.sale-edit-row .field:first-child{grid-column:auto}.transaction-row{grid-template-columns:1fr 1fr;align-items:start}.transaction-receipt,.transaction-row .status-badge{grid-column:1/-1}}@media (width<=1180px){.products-layout{grid-template-columns:minmax(0,1fr)}.product-side-panel{grid-template-columns:repeat(3,minmax(0,1fr));position:static}}@media (width<=900px){.product-page-heading,.product-action-row{flex-direction:column;align-items:stretch}.product-page-heading .primary,.product-action-row button{width:100%}.product-stat-row,.product-filter-row,.product-form-grid,.product-side-panel{grid-template-columns:1fr 1fr}.product-search-field{grid-column:1/-1}}@media (width<=620px){.product-stat-row,.product-filter-row,.product-form-grid,.product-form-two,.product-side-panel,.product-price-line,.product-scan-box{grid-template-columns:1fr}.product-main-panel{padding:12px}.product-adjust-modal-form{grid-template-columns:1fr}.product-table-title,.product-table-footer{flex-direction:column;align-items:stretch}.product-modal-footer{flex-direction:column-reverse}.product-modal-footer button{width:100%}}@media (width>=981px){.products-layout{height:calc(100vh - 122px);min-height:0;overflow:hidden}.product-main-panel{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.product-stat-row,.product-control-card,.loading-state,.success,.error-text{flex:none}.product-table-card{flex:auto;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid}.product-grid-wrap{min-height:0;max-height:none;overflow:auto}.product-empty-state{grid-row:2;align-self:center}}@media (width>=981px) and (height<=780px){main{padding-top:12px;padding-bottom:14px}.topbar{min-height:50px;margin-bottom:8px}.topbar h1{margin-bottom:2px;font-size:1.35rem}.topbar p{font-size:.88rem}.products-layout{height:calc(100vh - 84px)}.product-main-panel{gap:9px;padding:12px}.product-stat-card{min-height:62px;padding:10px}.product-stat-card strong{margin-top:4px;font-size:1.22rem}.product-control-card{gap:8px;padding:8px}.product-table-title{min-height:36px;padding:8px 10px}}@media (width>=981px){.purchases-layout{height:calc(100vh - 122px);min-height:0;overflow:hidden}.purchase-main-panel{grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.purchase-workspace,.purchase-history-card,.purchase-table-card{min-height:0}}@media (width>=981px) and (height<=780px){.purchases-layout{height:calc(100vh - 84px)}.purchase-main-panel{gap:9px;padding:12px}}@media (width<=900px){.purchase-form-grid,.purchase-add-card,.purchase-detail-meta{grid-template-columns:1fr}.purchase-save-actions{width:100%;margin-left:0}.purchase-save-actions button{flex:1}}@media (width>=981px){.customers-layout{height:calc(100vh - 122px);min-height:0;overflow:hidden}.customer-main-panel{height:100%;min-height:0;overflow:hidden}}@media (width>=981px) and (height<=780px){.customers-layout{height:calc(100vh - 84px)}.customer-main-panel{gap:9px;padding:12px}}@media (width<=1180px){.sale-main-panel{grid-template-columns:minmax(0,1fr) 390px}.sale-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-toolbar,.customer-search-form,.customer-detail-filter,.customer-payment-form{grid-template-columns:1fr}.customer-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.customer-table-footer,.customer-history-footer,.supplier-history-footer,.customer-modal-actions,.customer-detail-heading,.customer-detail-filter-actions,.customer-payment-actions{flex-direction:column;align-items:stretch}.customer-summary-grid{grid-template-columns:1fr}}@media (width>=981px){.suppliers-layout{height:calc(100vh - 122px);min-height:0;overflow:hidden}.supplier-main-panel{grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.supplier-table-card{min-height:0}}@media (width>=981px) and (height<=780px){.suppliers-layout{height:calc(100vh - 84px)}.supplier-main-panel{gap:9px;padding:12px}}@media (width<=1180px){.supplier-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.supplier-form-actions{grid-column:1/-1}}@media (width<=900px){.sale-main-panel,.sale-scan-bar,.sale-filter-card{grid-template-columns:1fr;height:auto}.sale-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:420px}.sale-cart-panel{min-height:620px}.supplier-form-grid,.supplier-toolbar,.supplier-history-filter,.supplier-detail-meta{grid-template-columns:1fr}}:is(body button.mkpos-dismiss-icon:has(>svg.lucide-x),body button.notice-close,body button[aria-label=Dismiss\ notification]:not(:has(svg))){text-align:center;flex-shrink:0;justify-content:center;place-items:center;gap:0;padding:0;line-height:1;display:inline-flex}body button.mkpos-dismiss-icon:has(>svg.lucide-x)>svg{flex:none;margin:0;display:block}.shop-chat-typing{color:var(--brand,var(--theme-primary-text));align-items:center;gap:8px;padding:6px 12px;font-size:12px;display:flex}.shop-chat-typing>span{gap:3px;display:flex}.shop-chat-typing i{background:currentColor;border-radius:50%;width:5px;height:5px;display:block}:root{--mkpos-sidebar-width:clamp(176px, 14.5vw, 220px);--mkpos-main-pad:clamp(8px, 1.15vw, 18px);--mkpos-gap:clamp(8px, .85vw, 12px);--mkpos-panel-pad:clamp(8px, .95vw, 14px);--mkpos-control-height:34px;--mkpos-radius:4px;--mkpos-screen-height:calc(100dvh - 86px);--mkpos-border-soft:var(--theme-border);--mkpos-soft-bg:var(--theme-background);--mkpos-shadow-soft:0 1px 2px color-mix(in srgb, var(--theme-shadow) 4%, transparent)}.app-shell.pos-mode{grid-template-columns:minmax(0,1fr)}.app-shell.pos-mode .sidebar{display:none}.topbar-title-row{align-items:center;gap:8px;min-width:0;display:flex}.app-startup{min-height:100dvh;color:var(--theme-primary-text);background:var(--theme-background);place-items:center;font-weight:700;display:grid}.app-startup-brand{place-items:center;gap:4px;display:grid}.app-startup-brand img{object-fit:contain;width:112px;height:112px;margin:-18px}.app-startup-brand span{color:var(--theme-text-muted)}.confirmation-dialog{gap:14px;max-width:520px;display:grid}.confirmation-dialog p{color:var(--theme-text);white-space:pre-line;margin:0;line-height:1.55}.confirmation-dialog-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}html,body,#root{width:100%;min-width:0;height:100%;overflow:hidden}body{font-size:clamp(13px,.92vw,15px)}*{scrollbar-width:thin}button,.button-link,input,select,textarea{border-radius:var(--mkpos-radius);min-height:var(--mkpos-control-height)}.app-shell{grid-template-columns:var(--mkpos-sidebar-width) minmax(0, 1fr);width:100%;height:100dvh;min-height:0;overflow:hidden}.sidebar{min-width:0;padding:clamp(12px,1.3vw,18px) clamp(8px,.9vw,14px);overflow:auto}.brand span{font-size:.78rem}main{min-width:0;height:100dvh;padding:var(--mkpos-main-pad);overflow:hidden}.topbar p{font-size:.88rem}.screen{gap:var(--mkpos-gap);min-width:0}.module-view:not([hidden]){display:contents}.module-view[hidden]{display:none!important}.panel,.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel,.sale-left-panel,.sale-cart-panel,.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card{border-color:var(--mkpos-border-soft);border-radius:var(--mkpos-radius);box-shadow:var(--mkpos-shadow-soft)}.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel{padding:var(--mkpos-panel-pad);gap:var(--mkpos-gap)}.success,.error-text,.loading-state,.empty-state{border-radius:var(--mkpos-radius)}.sale-main-panel{gap:var(--mkpos-gap);height:var(--mkpos-screen-height);grid-template-columns:minmax(520px,1fr) minmax(340px,clamp(340px,30vw,460px));min-height:0}.sale-left-panel{padding:var(--mkpos-panel-pad);grid-template-rows:auto auto auto auto auto minmax(0,1fr);gap:8px}.sale-cart-panel{grid-template-rows:auto minmax(0,1fr) auto auto auto;min-width:0}.sale-scan-bar,.sale-filter-card{border-radius:var(--mkpos-radius);background:var(--mkpos-soft-bg);box-shadow:inset 0 0 0 1px var(--mkpos-border-soft);gap:8px;padding:8px}.sale-price-types button,.sale-payment-type button,.sale-payment-methods button,.sale-scan-bar button,.sale-filter-card button,.sale-checkout-actions button{min-height:34px}.sale-product-list{min-height:0}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(clamp(138px,11vw,190px),1fr));gap:7px;min-height:0;overflow:auto}.sale-product-card{min-height:104px;padding:8px}.sale-product-card strong,.sale-product-card span,.sale-product-card small{line-height:1.42}.sale-cart-header{min-height:48px;padding:8px 10px}.sale-cart-row{border-radius:var(--mkpos-radius);grid-template-columns:minmax(0,1fr) minmax(140px,.55fr) minmax(82px,.34fr) 30px;gap:6px;padding:7px}.sale-total-box,.sale-payment-box,.sale-checkout-actions{padding:8px 10px}.products-layout,.purchases-layout,.suppliers-layout,.customers-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel{height:100%;min-height:0;overflow:hidden}.product-main-panel{flex-direction:column;display:flex}.product-page-heading{gap:10px}.product-page-heading h2,.product-page-heading p,.product-eyebrow{display:none}.product-stat-row{grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px}.product-stat-card{border-radius:var(--mkpos-radius);min-height:56px;padding:8px 10px}.product-control-card{border-radius:var(--mkpos-radius);gap:8px;padding:8px}.product-search-field,.product-scan-field{border-radius:var(--mkpos-radius)}.product-action-row button{min-height:32px}.product-table-card{flex:auto;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid}.product-table-title{min-height:38px;padding:7px 10px}.product-grid-wrap,.purchase-table-wrap,.supplier-table-wrap,.customer-table-wrap,.customer-history-table{overscroll-behavior:contain;min-height:0;overflow:auto}.product-data-table thead th,.product-data-table td{padding:8px 9px;line-height:1.42}.product-data-table th:nth-child(6),.product-data-table td:nth-child(6){width:7%}.product-data-table th:nth-child(7),.product-data-table td:nth-child(7){width:8%}.product-data-table th:last-child,.product-data-table td:last-child{width:9%}.product-table-footer,.purchase-history-footer,.supplier-table-footer,.customer-table-footer,.customer-history-footer,.supplier-history-footer{min-height:38px;padding:6px 10px}.customer-history-list-footer{border-top:1px solid var(--mkpos-muted-line);background:var(--theme-surface);justify-content:space-between;align-items:center;gap:8px;min-height:34px;padding:5px 7px;display:flex}.customer-history-list-footer button{min-height:28px}.remote-combobox{border:1px solid var(--theme-border);border-radius:var(--mkpos-radius);background:var(--mkpos-field-bg,var(--theme-surface));grid-template-columns:18px minmax(0,1fr) auto;align-items:center;min-width:0;display:grid;position:relative}.remote-combobox>svg{color:var(--theme-text-muted);margin-left:6px}.remote-combobox input{min-width:0;box-shadow:none;background:0 0;border:0}.remote-combobox input:focus{box-shadow:none}.remote-combobox-clear{background:0 0;border:0;width:26px;min-width:26px;min-height:26px;padding:0}.remote-combobox-menu{z-index:4500;border:1px solid var(--theme-border);background:var(--theme-surface);max-height:220px;box-shadow:0 8px 20px color-mix(in srgb, var(--theme-shadow) 12%, transparent);padding:3px;position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:auto}.remote-combobox-menu button{text-align:left;background:var(--theme-surface);border:0;width:100%;min-height:30px;padding:5px 7px;display:block}.remote-combobox-menu button:hover,.remote-combobox-menu button.active{background:var(--theme-primary-soft);color:var(--theme-primary-text)}.remote-combobox-status{color:var(--theme-text-muted);padding:7px}.purchase-main-panel{grid-template-rows:auto auto minmax(0,1fr)}.purchase-tabs{border-radius:var(--mkpos-radius)}.purchase-form-card,.purchase-add-card,.supplier-form-card,.supplier-toolbar,.customer-toolbar,.customer-detail-filter,.customer-payment-form{border-radius:var(--mkpos-radius);box-shadow:inset 0 0 0 1px var(--mkpos-border-soft);gap:8px;padding:8px}.purchase-form-grid{grid-template-columns:minmax(180px,.7fr) minmax(220px,1.3fr);gap:8px}.purchase-table-card,.purchase-history-card{min-height:0}.supplier-main-panel{grid-template-rows:auto auto minmax(0,1fr)}.supplier-table-card{min-height:0}.supplier-history-filter{border-radius:var(--mkpos-radius);grid-template-columns:minmax(170px,1.3fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(112px,.58fr) auto;gap:8px;padding:8px}.customer-main-panel{grid-template-rows:auto auto auto minmax(0,1fr)}.customer-table-card{min-height:0}.customer-summary-grid span,.supplier-detail-meta span,.purchase-detail-meta span{border-radius:var(--mkpos-radius);padding:8px}.customer-history-card{border-radius:var(--mkpos-radius);min-height:min(220px,30dvh)}.customer-history-table table{min-width:min(760px,max(100%,640px))}.mkpos-modal-overlay{padding:8px}.mkpos-modal{border-radius:var(--mkpos-radius);width:min(920px,100vw - 16px);max-height:calc(100dvh - 16px)}.mkpos-modal-wide{width:min(1080px,100vw - 16px)}.product-form-grid{grid-template-columns:minmax(0,.9fr) minmax(230px,1.1fr)}.product-form-section{border-radius:var(--mkpos-radius);padding:10px}@media (width<=1439px){:root{--mkpos-sidebar-width:clamp(168px, 13.5vw, 204px);--mkpos-main-pad:clamp(8px, 1vw, 14px);--mkpos-screen-height:calc(100dvh - 76px)}.status-pill{min-height:30px;padding-inline:10px}.sale-main-panel{grid-template-columns:minmax(500px,1fr) minmax(372px,32vw)}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.product-stat-card{min-height:52px}.product-filter-row{grid-template-columns:minmax(220px,1.25fr) minmax(132px,.58fr) minmax(132px,.58fr) minmax(112px,.46fr) minmax(150px,.58fr)}}@media (width<=1199px){:root{--mkpos-sidebar-width:164px;--mkpos-main-pad:8px;--mkpos-gap:8px;--mkpos-panel-pad:8px;--mkpos-control-height:32px;--mkpos-screen-height:calc(100dvh - 68px)}.brand{gap:8px}.brand span{display:none}nav button{gap:8px;min-height:38px;font-size:.9rem}.topbar{min-height:44px}.topbar p{display:none}.sale-main-panel{grid-template-columns:minmax(440px,1fr) minmax(350px,34vw)}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(142px,1fr))}.sale-cart-row{grid-template-columns:minmax(0,1fr) minmax(132px,.48fr) minmax(78px,.32fr) 28px}.sale-line-total{font-size:.92rem}.product-stat-row{grid-template-columns:repeat(4,minmax(104px,1fr))}.product-filter-row{grid-template-columns:minmax(200px,1fr) minmax(118px,.54fr) minmax(118px,.54fr) minmax(102px,.43fr) minmax(136px,.55fr)}.purchase-add-card,.purchase-history-filter-grid,.supplier-form-grid,.supplier-history-filter{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.purchase-history-actions,.supplier-history-filter-actions{grid-column:1/-1;width:auto}.supplier-form-actions{grid-column:1/-1}.customer-search-form{grid-template-columns:minmax(180px,1fr) auto auto}}@media (width<=1023px){html,body,#root{overflow:auto}.app-shell{grid-template-columns:1fr;height:auto;min-height:100dvh;overflow:visible}.sidebar{z-index:20;padding:8px;position:sticky;top:0;overflow:hidden}.brand{min-height:34px;margin-bottom:6px}.brand-logo{flex-basis:44px;width:58px;height:58px;margin:-13px -7px}nav{grid-template-columns:repeat(9,minmax(42px,1fr));gap:4px}nav button{justify-content:center;min-height:36px;padding:0 6px}nav button span{display:none}main{height:auto;min-height:calc(100dvh - 86px);overflow:visible}.topbar{min-height:42px}.products-layout,.purchases-layout,.suppliers-layout,.customers-layout,.sale-main-panel{height:auto;overflow:visible}.sale-main-panel{grid-template-columns:1fr}.sale-left-panel{min-height:min(620px,100dvh - 150px)}.sale-product-grid{max-height:min(440px,56dvh)}.sale-cart-panel{min-height:auto}.sale-cart-items{max-height:42dvh}.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel{height:auto;overflow:visible}.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card{min-height:min(420px,58dvh)}.product-grid-wrap,.purchase-table-wrap,.supplier-table-wrap,.customer-table-wrap{max-height:min(420px,58dvh)}.customer-toolbar,.customer-search-form,.customer-detail-filter,.customer-payment-form{grid-template-columns:1fr}.customer-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-grid{grid-template-columns:1fr}}@media (width<=720px){body{font-size:14px}main{padding:6px}.status-pill{display:none}nav{grid-template-columns:repeat(5,minmax(38px,1fr))}.topbar{flex-direction:column;align-items:stretch;gap:4px;margin-bottom:6px}.sale-scan-bar,.sale-filter-card,.sale-price-types,.sale-checkout-actions,.product-stat-row,.product-filter-row,.product-form-two,.product-price-line,.purchase-form-grid,.purchase-add-card,.supplier-form-grid,.supplier-toolbar,.supplier-history-filter,.customer-summary-grid,.customer-detail-filter,.customer-payment-form{grid-template-columns:1fr}.product-action-row,.purchase-save-actions,.supplier-form-actions,.customer-modal-actions,.customer-detail-filter-actions,.customer-payment-actions,.customer-table-footer,.supplier-table-footer,.purchase-history-footer,.customer-history-footer,.supplier-history-footer{flex-direction:column;align-items:stretch}.product-action-row button,.purchase-save-actions button,.supplier-form-actions button,.customer-modal-actions button{width:100%}.sale-cart-row{grid-template-columns:1fr}.sale-line-total{text-align:left}.sale-qty-controls{max-width:220px}.product-table-title,.product-table-footer{flex-direction:column;align-items:stretch}.mkpos-modal-header,.mkpos-modal-body,.mkpos-modal-footer{padding:8px}}.transactions-layout{align-items:stretch;width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr)!important}.transaction-main-panel{width:100%;max-width:none}.transaction-filter,.transaction-table-card{width:100%}.transaction-filter-grid{grid-template-columns:minmax(220px,1.45fr) minmax(120px,.56fr) minmax(120px,.56fr) minmax(108px,.48fr) minmax(136px,.58fr) minmax(82px,.36fr) minmax(230px,auto)}.transaction-table{table-layout:fixed;width:100%;min-width:1040px}.transaction-table th:first-child,.transaction-table td:first-child{width:12%}.transaction-table th:nth-child(2),.transaction-table td:nth-child(2){width:13%}.transaction-table th:nth-child(3),.transaction-table td:nth-child(3){width:14%}.transaction-table th:nth-child(4),.transaction-table td:nth-child(4),.transaction-table th:nth-child(5),.transaction-table td:nth-child(5){width:10%}.transaction-table th:nth-child(6),.transaction-table td:nth-child(6),.transaction-table th:nth-child(7),.transaction-table td:nth-child(7),.transaction-table th:nth-child(8),.transaction-table td:nth-child(8){text-align:right;width:10%}.transaction-table th:last-child,.transaction-table td:last-child{text-align:center;width:150px;min-width:150px}.transaction-row-actions{white-space:nowrap;flex-wrap:nowrap;justify-content:center}.transaction-row-actions button{white-space:nowrap;flex:none;width:28px;min-width:28px;padding:0}.transaction-row-actions button:first-child{width:46px;min-width:46px;padding-inline:6px}.transaction-row-actions svg{flex:none}.transaction-table td{word-break:normal}@media (width<=1199px){.transaction-filter-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.transaction-filter-actions{grid-column:1/-1;width:230px}}:root{--mkpos-main-pad:clamp(6px, .85vw, 12px);--mkpos-gap:clamp(5px, .55vw, 8px);--mkpos-panel-pad:clamp(6px, .7vw, 10px);--mkpos-control-height:30px;--mkpos-radius:2px;--mkpos-table-row-height:36px;--mkpos-table-pad-y:5px;--mkpos-table-pad-x:7px;--mkpos-screen-height:calc(100dvh - 66px);--mkpos-border-soft:var(--theme-border);--mkpos-border-grid:var(--theme-border);--mkpos-soft-bg:var(--theme-background);--mkpos-shadow-soft:none;--mkpos-focus-ring:0 0 0 2px color-mix(in srgb, var(--theme-primary) 14%, transparent)}body{color:var(--theme-text);font-size:clamp(13px,.88vw,14px);line-height:1.35}button,.button-link,input,select,textarea{border-color:var(--theme-border);min-height:var(--mkpos-control-height);border-radius:var(--mkpos-radius);box-shadow:none}button,.button-link{padding-inline:8px;font-weight:650}textarea{min-height:68px}input:focus,select:focus,textarea:focus{box-shadow:var(--mkpos-focus-ring)}.sidebar{padding:10px 8px}.brand{min-height:42px;margin-bottom:10px}nav{gap:3px}nav button{min-height:36px;padding-inline:9px}main{padding:var(--mkpos-main-pad)}.topbar{min-height:42px;margin-bottom:6px}.topbar h1{margin-bottom:1px;font-size:clamp(1.14rem,1.35vw,1.32rem)}.status-pill{border-radius:999px;min-height:28px;padding-inline:9px}.panel,.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel,.sale-left-panel,.sale-cart-panel,.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card,.purchase-form-card,.purchase-add-card,.supplier-form-card,.supplier-toolbar,.customer-toolbar,.customer-detail-filter,.customer-payment-form,.product-control-card,.product-form-section,.customer-history-card{border-color:var(--mkpos-border-soft);border-radius:var(--mkpos-radius);box-shadow:none}.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel,.sale-left-panel{padding:var(--mkpos-panel-pad)}.success,.error-text,.loading-state,.empty-state,.info-box,.product-soft-empty{border-radius:var(--mkpos-radius);min-height:0;padding:7px 9px;font-size:.88rem;line-height:1.35}.success,.error-text{margin:0}.primary{background:var(--theme-primary);border-color:var(--theme-border);color:var(--theme-on-primary)}table{border-collapse:collapse}th,td,.product-data-table thead th,.product-data-table td,.purchase-items-table th,.purchase-history-table th,.purchase-items-table td,.purchase-history-table td,.supplier-table th,.supplier-table td,.customer-table th,.customer-table td,.customer-history-table th,.customer-history-table td{padding:var(--mkpos-table-pad-y) var(--mkpos-table-pad-x);border-bottom:1px solid var(--mkpos-border-grid);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:.91rem;line-height:1.45}th,.product-data-table thead th,.purchase-items-table th,.purchase-history-table th,.supplier-table th,.customer-table th,.customer-history-table th{z-index:2;background:var(--theme-background);color:var(--theme-text);border-bottom-color:var(--theme-border);font-size:.82rem;font-weight:780;position:sticky;top:0}.product-data-table tbody tr,.purchase-items-table tbody tr,.purchase-history-table tbody tr,.supplier-table tbody tr,.customer-table tbody tr{min-height:var(--mkpos-table-row-height)}.product-table-title,.product-table-footer,.purchase-summary-bar,.purchase-history-footer,.supplier-table-footer,.customer-table-footer,.customer-history-footer,.supplier-history-footer,.customer-history-title{background:var(--theme-surface);min-height:32px;padding:5px 8px}.product-table-title{border-bottom-color:var(--mkpos-border-grid)}.sale-main-panel{height:var(--mkpos-screen-height);grid-template-columns:minmax(500px,1fr) minmax(380px,clamp(380px,33vw,520px));gap:6px}.sale-left-panel,.sale-cart-panel{border-color:var(--mkpos-border-soft);background:var(--theme-surface)}.sale-left-panel{grid-template-rows:auto auto auto auto auto minmax(0,1fr);gap:6px}.sale-scan-bar,.sale-filter-card{background:var(--theme-surface);box-shadow:none;border:1px solid var(--mkpos-border-soft);gap:6px;padding:6px}.sale-price-types{gap:5px}.sale-price-types button,.sale-payment-type button,.sale-payment-methods button,.sale-scan-bar button,.sale-filter-card button,.sale-checkout-actions button,.sale-receipt-actions button{border-color:var(--theme-border);min-height:30px}.sale-price-types button.selected,.sale-payment-type button.selected,.sale-payment-methods button.selected{background:var(--theme-background);border-color:var(--theme-border);color:var(--theme-primary-text)}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(clamp(128px,10vw,172px),1fr));gap:5px}.sale-product-card{border-color:var(--mkpos-border-soft);background:var(--theme-surface);min-height:86px;padding:7px}.sale-product-card:hover{background:var(--theme-background);border-color:var(--theme-border)}.sale-product-card strong{font-size:.92rem;line-height:1.38}.sale-product-card b{font-size:.94rem}.sale-cart-header{background:var(--theme-surface);min-height:40px;padding:6px 8px}.sale-cart-items{gap:3px;padding:6px}.sale-cart-row{border-color:var(--mkpos-border-soft);background:var(--theme-surface);grid-template-columns:minmax(0,1fr) minmax(138px,.48fr) minmax(82px,.32fr) 28px;gap:4px;padding:4px 5px}.sale-qty-controls{grid-template-columns:24px minmax(74px,1fr) 24px;gap:3px}.sale-qty-controls input{text-align:center;padding-inline:8px}.sale-total-box,.sale-payment-box,.sale-checkout-actions{gap:6px;padding:6px 8px}.sale-total-box span:last-child strong{font-size:1.1rem}.sale-checkout-actions{grid-template-columns:minmax(112px,.7fr) minmax(140px,1fr)}.product-stat-card{background:var(--theme-surface);min-height:48px;padding:7px 8px}.product-stat-card span{font-size:.76rem}.product-stat-card strong{margin-top:2px;font-size:1.05rem}.product-control-card{background:var(--theme-surface);border:1px solid var(--mkpos-border-soft);box-shadow:none;gap:6px;padding:6px}.product-filter-row{grid-template-columns:minmax(210px,1.3fr) minmax(128px,.55fr) minmax(128px,.55fr) minmax(104px,.45fr) minmax(140px,.58fr);gap:6px}.product-search-field,.product-scan-field{padding-inline:7px}.product-action-row{gap:5px}.product-action-row button,.product-page-heading .primary{min-height:30px}.product-data-table{min-width:min(1000px,max(100%,880px))}.product-data-table thead th,.product-data-table td{padding:5px 7px}.product-price-row{grid-template-columns:minmax(58px,.72fr) minmax(72px,1fr);gap:6px}.product-price-row em{font-size:.82rem}.product-price-row strong{font-size:.88rem}.product-row-actions{gap:4px}.product-row-actions .icon-btn,.purchase-row-actions button,.supplier-row-actions button,.customer-row-actions button{width:26px;min-width:26px;min-height:26px;padding:0}.customer-row-actions button:first-child,.supplier-row-actions button:first-child,.purchase-row-actions button:first-child{width:auto;min-width:46px;padding-inline:7px}.status-badge,.product-data-table .status-badge{border-radius:999px;min-height:22px;padding:0 7px;font-size:.75rem}.purchase-tabs{gap:3px;padding:2px}.purchase-tabs button{min-height:28px}.purchase-form-card,.purchase-add-card,.supplier-form-card,.supplier-toolbar,.customer-toolbar,.customer-detail-filter,.customer-payment-form,.supplier-history-filter,.purchase-history-filter{background:var(--theme-surface);border:1px solid var(--mkpos-border-soft);box-shadow:none;gap:6px;padding:6px}.purchase-form-grid{gap:6px}.purchase-add-card{grid-template-columns:minmax(140px,.9fr) minmax(105px,.5fr) minmax(160px,1fr) minmax(105px,.52fr) 62px 62px minmax(86px,.4fr) auto;gap:6px}.purchase-history-filter{gap:6px}.purchase-quick-ranges{gap:4px}.purchase-quick-ranges button{min-height:26px;font-size:.78rem}.purchase-history-filter-grid{grid-template-columns:minmax(150px,1.2fr) minmax(136px,.88fr) minmax(112px,.55fr) minmax(112px,.55fr) minmax(76px,.38fr) minmax(226px,auto);gap:6px}.purchase-history-actions{grid-template-columns:70px 58px 86px;gap:6px;width:226px}.purchase-history-actions button,.purchase-history-footer button,.supplier-history-filter-actions button,.customer-detail-filter-actions button,.customer-payment-actions button,.customer-history-footer button,.supplier-history-footer button{min-height:28px}.purchase-items-table,.purchase-history-table{min-width:min(840px,max(100%,720px))}.supplier-form-grid{grid-template-columns:minmax(150px,1fr) minmax(112px,.6fr) minmax(130px,.68fr) minmax(150px,.9fr) minmax(150px,.9fr) auto;gap:6px}.supplier-toolbar{grid-template-columns:minmax(200px,1fr) auto}.supplier-table{min-width:min(980px,max(100%,820px))}.supplier-history-filter{grid-template-columns:minmax(160px,1.25fr) minmax(112px,.68fr) minmax(112px,.68fr) minmax(104px,.55fr) auto}.customer-toolbar{grid-template-columns:minmax(0,1fr) auto}.customer-search-form{grid-template-columns:minmax(200px,1fr) 70px 74px;gap:6px}.customer-table{min-width:min(880px,max(100%,720px))}.customer-detail-filter{grid-template-columns:minmax(110px,.65fr) minmax(110px,.65fr) minmax(88px,.42fr) auto}.customer-payment-form{grid-template-columns:minmax(170px,.9fr) minmax(102px,.46fr) minmax(170px,1fr) auto}.customer-summary-grid{gap:6px}.customer-summary-grid span,.supplier-detail-meta span,.purchase-detail-meta span{background:var(--theme-surface);padding:6px 7px}.customer-history-card{min-height:min(190px,28dvh)}.mkpos-modal-overlay{background:color-mix(in srgb, var(--theme-info) 22%, transparent);padding:6px}.mkpos-modal{border-radius:var(--mkpos-radius);box-shadow:0 12px 32px color-mix(in srgb, var(--theme-shadow) 16%, transparent)}.mkpos-modal-header,.mkpos-modal-body,.mkpos-modal-footer{padding:8px 10px}.mkpos-modal-header h2{font-size:1rem}.mkpos-modal-body{max-height:calc(100dvh - 108px)}.product-form-section{padding:8px}.product-section-heading h3{font-size:.92rem}.product-section-heading span{font-size:.76rem}.product-form-two,.product-price-line,.product-adjust-modal-form{gap:6px}.product-price-line{grid-template-columns:minmax(160px,1fr) minmax(106px,.42fr) auto}.product-modal-footer{margin-inline:-8px;margin-bottom:-8px;padding:8px 10px}@media (width<=1439px){:root{--mkpos-main-pad:8px;--mkpos-screen-height:calc(100dvh - 58px)}.sale-main-panel{grid-template-columns:minmax(480px,1fr) minmax(368px,32vw)}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}}@media (width<=1199px){:root{--mkpos-main-pad:6px;--mkpos-gap:5px;--mkpos-panel-pad:6px;--mkpos-control-height:28px;--mkpos-screen-height:calc(100dvh - 54px)}.sidebar{padding:8px 6px}nav button{min-height:34px;font-size:.86rem}.sale-main-panel{grid-template-columns:minmax(430px,1fr) minmax(344px,34vw)}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(124px,1fr))}.product-stat-row{grid-template-columns:repeat(4,minmax(92px,1fr))}.product-filter-row{grid-template-columns:minmax(190px,1fr) minmax(112px,.52fr) minmax(112px,.52fr) minmax(96px,.42fr) minmax(126px,.52fr)}}:root{--mkpos-page-bg:var(--theme-background);--mkpos-surface-clean:var(--theme-surface);--mkpos-field-bg:var(--theme-surface);--mkpos-grid-line:var(--theme-border);--mkpos-muted-line:var(--theme-border);--mkpos-green-soft:var(--theme-primary-soft);--mkpos-blue-soft:var(--theme-info-soft);--mkpos-amber-soft:var(--theme-warning-soft);--mkpos-red-soft:var(--theme-danger-soft)}body,main{background:var(--mkpos-page-bg)}.screen{background:0 0}.panel,.sale-left-panel,.sale-cart-panel,.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel{background:0 0;border:0}.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card,.customer-history-card{background:var(--mkpos-surface-clean);border:0}.sale-left-panel,.sale-cart-panel,.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card{box-shadow:0 1px 0 color-mix(in srgb, var(--theme-shadow) 6%, transparent)}input,select,textarea,.product-search-field,.product-scan-field,.search-box,.sale-scan-bar input,.sale-filter-card input,.sale-filter-card select{border-color:var(--theme-border);background:var(--mkpos-field-bg)}input:hover,select:hover,textarea:hover,.product-search-field:hover,.product-scan-field:hover{border-color:var(--theme-border)}button,.button-link{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}button:hover,.button-link:hover{background:var(--theme-background);border-color:var(--theme-border)}.primary,.product-action-row .primary,.product-page-heading .primary,.purchase-save-actions .primary,.supplier-form-actions .primary,.customer-modal-actions .primary,.customer-payment-actions .primary,.sale-checkout-actions .primary,.sale-scan-bar .primary,.purchase-add-card .primary{background:var(--theme-primary);border-color:var(--theme-border);color:var(--theme-on-primary)}.primary:hover,.product-action-row .primary:hover,.product-page-heading .primary:hover,.purchase-save-actions .primary:hover,.supplier-form-actions .primary:hover,.customer-modal-actions .primary:hover,.customer-payment-actions .primary:hover,.sale-checkout-actions .primary:hover,.sale-scan-bar .primary:hover,.purchase-add-card .primary:hover{background:var(--theme-primary);border-color:var(--theme-border)}.danger-button,.icon-btn.danger,.product-row-actions .icon-btn.danger{border-color:var(--theme-border);background:var(--theme-danger-soft);color:var(--theme-danger-text)}.danger-button:hover,.icon-btn.danger:hover,.product-row-actions .icon-btn.danger:hover{border-color:var(--theme-border);background:var(--theme-danger-soft)}.sale-scan-bar,.sale-filter-card,.product-control-card,.purchase-form-card,.purchase-add-card,.supplier-form-card,.supplier-toolbar,.customer-toolbar,.customer-detail-filter,.customer-payment-form,.supplier-history-filter,.purchase-history-filter{background:var(--mkpos-surface-clean);border:0}.sale-scan-bar,.sale-filter-card,.product-control-card{box-shadow:none}.product-stat-row{gap:7px}.product-stat-card{background:var(--theme-surface);box-shadow:inset 3px 0 0 var(--theme-shadow);border:0}.product-stat-card:first-child{background:var(--mkpos-blue-soft);box-shadow:inset 3px 0 0 var(--theme-shadow)}.product-stat-card:nth-child(2){background:var(--mkpos-green-soft);box-shadow:inset 3px 0 0 var(--theme-shadow)}.product-stat-card.warning{background:var(--mkpos-amber-soft);box-shadow:inset 3px 0 0 var(--theme-shadow);border:0}.product-stat-card.danger{background:var(--mkpos-red-soft);box-shadow:inset 3px 0 0 var(--theme-shadow);border:0}button.product-stat-card:hover{filter:brightness(.985);border:0;box-shadow:inset 3px 0}.product-stat-card span{color:var(--theme-text-muted)}.product-stat-card strong{color:var(--theme-text)}.sale-left-panel,.sale-cart-panel{background:var(--mkpos-surface-clean)}.sale-cart-header,.sale-total-box,.sale-payment-box,.sale-checkout-actions{border-color:var(--mkpos-muted-line)}.sale-product-card{background:var(--theme-background);border:0;box-shadow:inset 0 0 0 1px #0000}.sale-product-card:hover{background:var(--theme-primary-soft);box-shadow:inset 0 0 0 1px var(--theme-shadow)}.sale-product-card b{color:var(--theme-primary-text)}.sale-cart-row{border:0;border-bottom:1px solid var(--mkpos-muted-line);background:var(--theme-surface)}.sale-cart-row:last-child{border-bottom:0}.sale-price-types button,.sale-payment-type button,.sale-payment-methods button{background:var(--theme-background);border:0}.sale-price-types button.selected,.sale-payment-type button.selected,.sale-payment-methods button.selected{background:var(--theme-primary-soft);color:var(--theme-primary-text);box-shadow:inset 0 -2px 0 var(--theme-shadow)}th,.product-data-table thead th,.purchase-items-table th,.purchase-history-table th,.supplier-table th,.customer-table th,.customer-history-table th{background:var(--theme-background);border-bottom:1px solid var(--theme-border)}td,.product-data-table td,.purchase-items-table td,.purchase-history-table td,.supplier-table td,.customer-table td,.customer-history-table td{border-bottom-color:var(--mkpos-muted-line)}.product-data-table tbody tr:nth-child(2n),.purchase-history-table tbody tr:nth-child(2n),.supplier-table tbody tr:nth-child(2n),.customer-table tbody tr:nth-child(2n){background:var(--theme-surface)}.product-data-table tbody tr:hover,.purchase-items-table tbody tr:hover,.purchase-history-table tbody tr:hover,.supplier-table tbody tr:hover,.customer-table tbody tr:hover{background:var(--theme-primary-soft)}.product-table-title,.purchase-summary-bar,.purchase-history-footer,.supplier-table-footer,.customer-table-footer,.customer-history-footer,.supplier-history-footer{background:var(--theme-surface);border-color:#0000}.product-table-title{border-bottom:0}.product-table-title h3{color:var(--theme-primary-text)}.product-empty-state,.empty-state{background:var(--theme-background);border:0}.purchase-summary-bar{border-top:1px solid var(--mkpos-muted-line)}.status-badge.completed,.status-badge,.product-data-table .status-badge{background:var(--theme-primary-soft);color:var(--theme-primary-text);border:0}.status-badge.warn,.product-data-table .status-badge.warn{background:var(--theme-warning-soft);color:var(--theme-warning-text)}.status-badge.danger,.product-data-table .status-badge.danger{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.success{background:var(--theme-success-soft);color:var(--theme-success-text);border:0}.error-text{background:var(--theme-danger-soft);color:var(--theme-danger-text);border:0}.loading-state{background:var(--theme-info-soft);color:var(--theme-info-text);border:0}.mkpos-modal{border:0}.mkpos-modal-header,.mkpos-modal-footer{border-color:var(--mkpos-muted-line);background:var(--theme-surface)}.topbar{position:relative}.global-notification-region{z-index:4000;pointer-events:none;width:min(520px,46%);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.global-notification{background:var(--theme-background);min-height:34px;color:var(--theme-primary-text);box-shadow:0 4px 14px color-mix(in srgb, var(--theme-shadow) 14%, transparent);pointer-events:auto;border-left:4px solid;align-items:center;gap:8px;padding:6px 8px 6px 10px;display:flex}.global-notification.error{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.global-notification.warning{background:var(--theme-warning-soft);color:var(--theme-warning-text)}.global-notification.information{background:var(--theme-info-soft);color:var(--theme-info-text)}.global-notification span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.global-notification.error{align-items:flex-start}.global-notification.error span{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;max-height:35vh;overflow-y:auto}.global-notification button{width:24px;min-width:24px;min-height:24px;color:inherit;background:0 0;border:0;padding:0}@media (width<=1023px){.global-notification-region{width:min(390px,48%);left:auto;right:88px;transform:translateY(-50%)}}@media (width<=720px){.global-notification-region{width:auto;position:fixed;top:6px;left:6px;right:6px;transform:none}}.transaction-main-panel{gap:var(--mkpos-gap);height:100%;min-height:0;padding:var(--mkpos-panel-pad);background:0 0;border:0;grid-template-rows:auto auto auto auto minmax(0,1fr);display:grid;overflow:hidden}.transaction-tabs{background:var(--theme-surface);grid-template-columns:repeat(3,minmax(120px,auto));justify-self:start;gap:3px;padding:2px;display:inline-grid}.transaction-tabs button{background:var(--theme-background);border:0;min-height:28px}.transaction-tabs button.selected{background:var(--theme-primary);color:var(--theme-on-primary)}.transaction-filter{background:var(--theme-surface);gap:6px;padding:6px;display:grid}.transaction-filter-actions{grid-template-columns:68px 60px 82px;align-items:end;gap:5px;display:grid}.transaction-filter-actions button{width:100%;min-height:28px;box-shadow:none;justify-content:center;align-items:center;gap:5px;transition:none;display:inline-flex;transform:none}.transaction-filter-actions button:hover,.transaction-filter-actions button:focus,.transaction-filter-actions button:active,.purchase-quick-ranges button:hover,.purchase-quick-ranges button:focus,.purchase-quick-ranges button:active{box-shadow:none;transform:none}.purchase-quick-ranges button{will-change:auto;transition:none;transform:none}.transaction-status-slot{align-items:center;min-height:30px;max-height:30px;display:grid;overflow:hidden}.transaction-status-slot:empty:before{content:"";min-height:30px;display:block}.transaction-status-slot .loading-state,.transaction-status-slot .success,.transaction-status-slot .error-text{min-height:28px;padding:5px 8px}.transaction-status-slot .notice-bar{margin:0}.transaction-table-card{background:var(--theme-surface);grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.transaction-table-wrap{overscroll-behavior:contain;min-height:0;overflow:auto}.transaction-table{table-layout:fixed;min-width:min(1120px,max(100%,900px))}.transaction-table th,.transaction-table td{padding:var(--mkpos-table-pad-y) var(--mkpos-table-pad-x);border-bottom:1px solid var(--mkpos-muted-line);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:.91rem;line-height:1.45}.transaction-table th{z-index:2;background:var(--theme-background);color:var(--theme-text);border-bottom-color:var(--theme-border);font-size:.82rem;font-weight:780;position:sticky;top:0}.transaction-row-actions button{justify-content:center;align-items:center;min-width:26px;min-height:26px;padding:0 7px;display:inline-flex}.transaction-table-footer{background:var(--theme-surface);min-height:32px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;padding:5px 8px;font-size:.88rem;display:flex}.transaction-edit-form,.transaction-detail{gap:8px;display:grid}.transaction-detail-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.transaction-detail-meta span{background:var(--theme-background);color:var(--theme-text-muted);gap:3px;padding:7px 8px;line-height:1.35;display:grid}.transaction-detail-meta strong{color:var(--theme-text);overflow-wrap:anywhere}.transaction-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.transaction-add-line{grid-template-columns:minmax(180px,1fr) minmax(110px,.48fr) minmax(90px,.38fr) auto;align-items:end;gap:6px;display:grid}.transaction-add-line button,.transaction-edit-footer button{min-height:28px}.transaction-edit-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding-top:4px;display:flex}.transaction-edit-footer span{color:var(--theme-text-muted)}.transaction-edit-footer strong{color:var(--theme-text)}@media (width<=1199px){.transaction-filter-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.transaction-filter-actions{grid-column:1/-1}}@media (width<=1023px){.transactions-layout,.transaction-main-panel{height:auto;overflow:visible}.transaction-table-card{min-height:min(420px,58dvh)}.transaction-table-wrap{max-height:min(420px,58dvh)}}@media (width<=720px){.transaction-tabs,.transaction-edit-grid,.transaction-add-line,.transaction-detail-meta{grid-template-columns:1fr;width:100%}.transaction-edit-footer,.transaction-table-footer{flex-direction:column;align-items:stretch}}:root{--mkpos-control-height:33px;--mkpos-table-row-height:39px;--mkpos-table-pad-y:6px;--mkpos-table-pad-x:8px}body{font-size:clamp(14px,.94vw,15.5px);line-height:1.42}button,.button-link,input,select,textarea{min-height:var(--mkpos-control-height);font-size:1rem}button,.button-link{padding-inline:10px}input,select,textarea{padding:5px 9px}nav button{min-height:39px;font-size:.96rem}.topbar h1{font-size:clamp(1.25rem,1.45vw,1.48rem)}.topbar p,.status-pill{font-size:.92rem}th,td,.product-data-table thead th,.product-data-table td,.purchase-items-table th,.purchase-history-table th,.purchase-items-table td,.purchase-history-table td,.supplier-table th,.supplier-table td,.customer-table th,.customer-table td,.customer-history-table th,.customer-history-table td,.transaction-table th,.transaction-table td{font-size:1rem;line-height:1.48}th,.product-data-table thead th,.purchase-items-table th,.purchase-history-table th,.supplier-table th,.customer-table th,.customer-history-table th,.transaction-table th{font-size:.9rem}.success,.error-text,.loading-state,.empty-state,.info-box,.product-soft-empty{font-size:.96rem}.sale-product-card strong,.product-data-table .product-name-cell strong,.customer-table td strong,.supplier-table td strong{font-size:1.04rem}.sale-product-card b,.sale-line-total,.sale-total-box span:last-child strong{font-size:1.08rem}.sale-product-card span,.sale-product-card small,.sale-product-count,.sale-cart-header span,.sale-cart-name span,.sale-cart-name small{font-size:.88rem}.sale-price-types button,.sale-payment-methods button,.sale-scan-bar button,.sale-filter-card button,.sale-checkout-actions button,.sale-receipt-actions button,.purchase-tabs button,.purchase-quick-ranges button,.product-action-row button,.customer-toolbar button,.supplier-toolbar button{min-height:33px}.sale-cart-row{padding-block:5px}.sale-qty-controls button,.sale-cart-row .icon-btn,.sale-qty-controls input{min-height:29px}.product-stat-card span,.product-table-title span,.customer-history-title span{font-size:.88rem}.product-stat-card strong{font-size:1.22rem}.product-table-title h3,.customer-history-title strong,.product-card-heading h2{font-size:1.05rem}@media (width<=1199px){:root{--mkpos-control-height:31px;--mkpos-table-row-height:37px;--mkpos-table-pad-y:5px;--mkpos-table-pad-x:7px}body{font-size:clamp(13.5px,1vw,14.5px)}button,.button-link,input,select,textarea,th,td,.product-data-table thead th,.product-data-table td,.purchase-items-table th,.purchase-history-table th,.purchase-items-table td,.purchase-history-table td,.supplier-table th,.supplier-table td,.customer-table th,.customer-table td,.customer-history-table th,.customer-history-table td,.transaction-table th,.transaction-table td{font-size:.96rem}th,.product-data-table thead th,.purchase-items-table th,.purchase-history-table th,.supplier-table th,.customer-table th,.customer-history-table th,.transaction-table th{font-size:.86rem}.sale-product-card strong,.product-data-table .product-name-cell strong{font-size:1rem}}@media (width<=720px){body{font-size:14px}}.expenses-layout,.expense-main-panel{min-height:0}.expense-main-panel{gap:var(--mkpos-gap);height:var(--mkpos-screen-height);grid-template-rows:auto auto auto minmax(0,1fr);display:grid}.expense-toolbar,.expense-filter-card,.expense-table-card{background:var(--mkpos-surface-clean,var(--theme-surface));box-shadow:0 1px 0 color-mix(in srgb, var(--theme-shadow) 6%, transparent);border:0}.expense-toolbar{justify-content:flex-end;align-items:center;min-height:40px;padding:6px 8px;display:flex}.expense-form-actions,.expense-filter-actions,.expense-row-actions{align-items:center;gap:6px;display:flex}.expense-form-actions button{white-space:nowrap}.expense-toolbar button,.expense-form-actions button,.expense-filter-actions button{min-height:var(--mkpos-control-height);height:var(--mkpos-control-height);white-space:nowrap;flex:none;align-items:center}.expense-summary-row div{background:var(--theme-surface);min-width:0;box-shadow:0 1px 0 color-mix(in srgb, var(--theme-shadow) 6%, transparent);padding:8px 10px}.expense-summary-row span{color:var(--theme-text-muted);font-size:.9rem;display:block}.expense-summary-row strong{color:var(--theme-text);overflow-wrap:anywhere;margin-top:2px;font-size:1.12rem;display:block}.expense-filter-card{align-content:start;gap:6px;min-height:112px;padding:8px;display:grid}.expense-filter-actions{justify-content:flex-end;align-self:end;min-width:214px}.expense-table-card{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.expense-table-wrap{min-height:0;position:relative;overflow:auto}.table-loading-overlay{z-index:5;background:var(--theme-surface-muted);width:100%;height:3px;min-height:3px;box-shadow:none;color:#0000;pointer-events:none;border:0;padding:0;font-size:0;display:block;position:absolute;top:0;left:0;right:0;overflow:hidden}.table-loading-overlay:after{content:"";background:var(--theme-primary);width:34%;height:100%;animation:.9s ease-in-out infinite mkpos-table-progress;display:block}@keyframes mkpos-table-progress{0%{transform:translate(-105%)}to{transform:translate(295%)}}.expense-table{table-layout:fixed;width:100%;min-width:980px}.expense-table th:first-child,.expense-table td:first-child{width:11%}.expense-table th:nth-child(2),.expense-table td:nth-child(2){width:22%}.expense-table th:nth-child(3),.expense-table td:nth-child(3),.expense-table th:nth-child(4),.expense-table td:nth-child(4){width:14%}.expense-table th:nth-child(5),.expense-table td:nth-child(5){text-align:right;width:12%}.expense-table th:nth-child(6),.expense-table td:nth-child(6){width:18%}.expense-table th:last-child,.expense-table td:last-child{width:9%}.expense-row-actions{justify-content:center}.expense-row-actions button{min-width:32px;padding-inline:0}.expense-table-footer{background:var(--theme-surface);border-top:1px solid var(--mkpos-muted-line,var(--theme-border));justify-content:space-between;align-items:center;gap:8px;min-height:36px;padding:6px 8px;display:flex}.expense-modal-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.expense-modal-form .expense-form-actions{grid-column:1/-1;justify-content:flex-end}@media (width<=1199px){.expense-filter-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.expense-form-actions,.expense-filter-actions{grid-column:1/-1}}@media (width<=1023px){.expenses-layout,.expense-main-panel{height:auto;overflow:visible}.expense-table-card{min-height:min(420px,58dvh)}.expense-table-wrap{max-height:min(420px,58dvh)}}@media (width<=720px){.expense-summary-row,.expense-modal-form{grid-template-columns:1fr}.expense-table-footer,.expense-form-actions,.expense-filter-actions{flex-direction:column;align-items:stretch}}.purchase-quick-ranges{min-height:var(--mkpos-control-height);align-items:center}.purchase-quick-ranges button,.report-quick-ranges button,.transaction-filter-actions button,.purchase-history-filter button,.supplier-history-filter-actions button,.customer-detail-filter-actions button,.expense-filter-actions button{min-height:var(--mkpos-control-height);height:var(--mkpos-control-height);line-height:1;transform:none}.purchase-quick-ranges button:focus,.purchase-quick-ranges button:active,.report-quick-ranges button:focus,.report-quick-ranges button:active,.transaction-filter-actions button:focus,.transaction-filter-actions button:active,.purchase-history-filter button:focus,.purchase-history-filter button:active,.supplier-history-filter-actions button:focus,.supplier-history-filter-actions button:active,.customer-detail-filter-actions button:focus,.customer-detail-filter-actions button:active,.expense-filter-actions button:focus,.expense-filter-actions button:active,.report-filter-actions button,.report-filter-actions button:focus,.report-filter-actions button:active{transform:none}.transaction-filter-actions button,.expense-filter-actions button,.report-filter-actions button,.purchase-history-filter button,.supplier-history-filter-actions button,.customer-detail-filter-actions button{box-sizing:border-box;transition:none}.transaction-filter-actions button:disabled,.expense-filter-actions button:disabled,.report-filter-actions button:disabled,.purchase-history-filter button:disabled,.supplier-history-filter-actions button:disabled,.customer-detail-filter-actions button:disabled{cursor:progress;opacity:1}@media (prefers-reduced-motion:reduce){.table-loading-overlay:after{width:100%;animation:none}}.reports-layout,.report-main-panel{min-height:0}.report-main-panel{gap:var(--mkpos-gap);height:var(--mkpos-screen-height);grid-template-rows:auto auto auto minmax(0,1fr);display:grid}.report-filter-card,.report-hero,.report-panel{background:var(--mkpos-surface-clean,var(--theme-surface));box-shadow:0 1px 0 color-mix(in srgb, var(--theme-shadow) 6%, transparent);border:0}.report-filter-card{align-content:start;gap:6px;min-height:86px;padding:8px;display:grid}.report-filter-actions{justify-content:flex-end;align-items:center;gap:6px;min-width:360px;display:flex}.report-filter-actions button{min-height:var(--mkpos-control-height);height:var(--mkpos-control-height);white-space:nowrap}.report-hero{background:linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary) 100%);color:var(--theme-on-primary);grid-template-columns:minmax(260px,.7fr) minmax(0,1fr);gap:10px;padding:12px;display:grid}.report-hero-main{border-right:1px solid color-mix(in srgb, var(--theme-border) 18%, transparent);align-content:center;gap:4px;min-width:0;padding-right:12px;display:grid}.report-hero-main span,.report-hero-main small,.report-kpi-grid span,.report-card-title span,.report-payment-row span,.report-rank-row small{color:var(--theme-text-muted)}.report-hero-main span,.report-hero-main small{color:var(--theme-on-primary)}.report-hero-main strong{color:var(--theme-on-primary);overflow-wrap:anywhere;font-size:clamp(1.7rem,2.8vw,2.55rem);line-height:1.05}.report-hero-main strong.danger-text{color:var(--theme-on-danger)}.report-kpi-grid div{background:color-mix(in srgb, var(--theme-surface) 94%, transparent);min-width:0;box-shadow:0 1px 0 color-mix(in srgb, var(--theme-shadow) 4%, transparent);padding:8px}.report-kpi-grid span,.report-kpi-grid strong{display:block}.report-kpi-grid strong{color:var(--theme-text);overflow-wrap:anywhere;margin-top:2px;font-size:1.04rem}.report-dashboard-grid{gap:var(--mkpos-gap);grid-template-rows:minmax(0,1fr) minmax(0,1fr);grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);min-height:0;display:grid}.report-panel{background:var(--theme-surface);grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.report-payment-panel{grid-row:1/span 2}.report-card-title{border-bottom:1px solid var(--mkpos-muted-line,var(--theme-border));justify-content:space-between;align-items:center;gap:8px;min-height:38px;padding:7px 9px;display:flex}.report-card-title strong{font-size:1.02rem}.report-payment-list,.report-rank-list{min-height:0;padding:8px;overflow:auto}.report-payment-row{background:var(--theme-background);grid-template-columns:minmax(120px,.5fr) minmax(180px,1fr) minmax(100px,.38fr);align-items:center;gap:10px;min-height:46px;padding:8px 10px;display:grid}.report-payment-row>strong{color:var(--theme-text);text-align:right}.report-bar-track{background:var(--theme-background);height:10px;overflow:hidden}.report-bar-track span{background:linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-primary) 100%);height:100%;display:block}.report-rank-row{background:var(--theme-background);grid-template-columns:30px minmax(0,1fr) minmax(86px,auto);align-items:center;gap:8px;min-height:46px;padding:7px 8px;display:grid}.report-rank-row>span{width:26px;height:26px;color:var(--theme-primary-text);background:var(--theme-primary-soft);justify-content:center;align-items:center;font-weight:800;display:inline-flex}.report-rank-row strong,.report-rank-row small{display:block}.report-rank-row>strong{text-align:right}@media (width<=1199px){.report-hero{grid-template-columns:1fr}.report-hero-main{border-right:0;border-bottom:1px solid color-mix(in srgb, var(--theme-border) 18%, transparent);padding-bottom:10px;padding-right:0}.report-filter-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.report-filter-actions{grid-column:1/-1;justify-content:flex-start;min-width:0}}@media (width<=1023px){.reports-layout,.report-main-panel{height:auto;overflow:visible}.report-dashboard-grid{grid-template-rows:auto;grid-template-columns:1fr;overflow:visible}.report-payment-panel{grid-row:auto}}@media (width<=720px){.report-kpi-grid{grid-template-columns:1fr}.report-filter-actions{flex-direction:column;align-items:stretch}}.settings-screen,.settings-workspace{min-height:0}.settings-workspace{gap:var(--mkpos-gap);height:var(--mkpos-screen-height);grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;display:grid;overflow:hidden}.settings-side-tabs,.settings-panel{background:var(--theme-surface);box-shadow:0 1px 0 color-mix(in srgb, var(--theme-shadow) 6%, transparent);min-height:0}.settings-side-tabs{align-items:center;gap:4px;padding:8px;display:flex;overflow:auto hidden}.settings-side-tabs button{background:0 0;border-color:#0000;flex:none;justify-content:center;min-width:92px;min-height:34px;font-weight:800}.settings-side-tabs button.selected{color:var(--theme-on-primary);background:var(--theme-primary);border-color:var(--theme-border)}.settings-screen button,.settings-screen .primary{min-height:var(--mkpos-control-height)}.settings-panel{padding:12px;overflow:auto}.settings-form,.settings-about{gap:12px;max-width:980px;display:grid}.settings-check-grid label{background:var(--theme-background);align-items:center;gap:7px;min-height:34px;padding:6px 8px;display:flex}.settings-check-grid input{min-height:auto}.settings-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding-top:6px;display:flex}.settings-payment-list{align-content:start;gap:6px;min-height:0;max-height:min(420px,52dvh);display:grid;overflow:auto}.settings-payment-row{grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:6px;display:grid}.settings-payment-row button{min-width:34px;padding:0}.settings-data-summary,.settings-about{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-data-summary{gap:8px;display:grid}.settings-file-actions{background:var(--theme-background);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:8px;display:grid}.settings-file-actions input[type=file]{display:none}.settings-file-actions span{color:var(--theme-text-muted);overflow-wrap:anywhere}.settings-data-summary div,.settings-about>div:not(.info-box){background:var(--theme-background);gap:3px;min-width:0;padding:9px;display:grid}.settings-data-summary span,.settings-about span{color:var(--theme-text-muted);font-size:.9rem}.settings-data-summary strong,.settings-about strong{color:var(--theme-text);overflow-wrap:anywhere}.settings-restore-box{border-top:1px solid var(--theme-border);gap:8px;padding-top:8px;display:grid}.settings-about{display:grid}.settings-about .info-box{grid-column:1/-1}@media (width<=1023px){.settings-data-summary,.settings-about{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.settings-workspace{height:auto;overflow:visible}.settings-panel{overflow:visible}.settings-form-grid,.settings-check-grid,.settings-data-summary,.settings-file-actions,.settings-about{grid-template-columns:1fr}.settings-footer{flex-direction:column;align-items:stretch}}.localization-root{display:contents}.sale-main-panel{grid-template-columns:minmax(500px,1fr) minmax(480px,clamp(480px,38vw,620px));gap:10px}.sale-left-panel,.sale-cart-panel{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 3px 14px color-mix(in srgb, var(--theme-shadow) 5.5%, transparent);border-radius:6px}.sale-left-panel{grid-template-rows:auto auto minmax(0,1fr);gap:8px;padding:10px}.sale-scan-bar,.sale-filter-card{background:var(--theme-background);box-shadow:none;border:0;border-radius:4px;gap:8px;padding:8px}.sale-scan-bar{grid-template-columns:minmax(240px,1fr) minmax(170px,.38fr) 124px}.sale-search-input{min-width:0;position:relative}.sale-search-input>svg{color:var(--theme-text-muted);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.sale-screen .sale-scan-bar .sale-search-input>input,body .desktop-workspace .sale-screen .sale-scan-bar .sale-search-input>input{width:100%;padding-left:36px}.sale-screen .sale-cart-header>div>span{color:#fff}.sale-filter-card{grid-template-columns:minmax(260px,1fr) minmax(170px,.38fr)}.sale-scan-bar .field>span,.sale-category-field>span{color:var(--theme-text-muted);text-transform:uppercase;font-size:.78rem;font-weight:800}.sale-category-field{gap:5px;min-width:0;display:grid}.sale-category-field select{width:100%}.sale-scan-bar input,.sale-category-field select,.sale-filter-card input,.sale-filter-card select,.sale-payment-box input,.sale-payment-box select,.sale-total-box input{border-color:var(--theme-border);background:var(--theme-surface)}.sale-scan-bar button,.sale-filter-card button{white-space:nowrap}.sale-price-types{background:var(--theme-background);border-radius:4px;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px}.sale-price-types button{min-height:34px;color:var(--theme-text);box-shadow:none;background:0 0;border:0;border-radius:3px}.sale-price-types button:hover{background:var(--theme-surface)}.sale-price-types button.selected{background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:0 1px 3px color-mix(in srgb, var(--theme-shadow) 20%, transparent)}.sale-product-list{gap:6px}.sale-product-count{min-height:26px;color:var(--theme-text-muted);padding-inline:2px}.sale-product-grid{scrollbar-gutter:stable;grid-template-columns:repeat(auto-fill,minmax(clamp(145px,10.5vw,184px),1fr));gap:7px;padding:1px 3px 8px 1px;position:relative}.sale-product-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:136px;box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);text-align:left;border-radius:5px;grid-template-columns:58px minmax(0,1fr);grid-template-areas:"media copy""price price""warning warning""stock stock";align-content:start;gap:6px 9px;padding:10px;display:grid;position:relative;overflow:hidden}.sale-product-card:before{content:"";background:var(--theme-surface-raised);width:3px;position:absolute;inset:0 auto 0 0}.sale-product-card.stock-low:before{background:var(--theme-warning)}.sale-product-card.stock-out:before{background:var(--theme-danger)}.sale-product-card:hover{border-color:var(--theme-border);background:var(--theme-background);box-shadow:0 4px 12px color-mix(in srgb, var(--theme-shadow) 9%, transparent)}.sale-product-card:active{background:var(--theme-primary-soft)}.sale-product-media{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:6px;grid-area:media;width:58px;height:58px;position:relative;overflow:hidden}.sale-product-image-placeholder,.sale-product-photo{width:100%;height:100%;position:absolute;inset:0}.sale-product-image-placeholder{background:var(--theme-background);place-items:center;display:grid;color:var(--theme-text-muted)!important}.sale-product-photo{z-index:1;object-fit:cover}.sale-product-copy{grid-area:copy;align-content:start;gap:2px;min-width:0;display:grid}.sale-product-card strong{color:var(--theme-text);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:1rem;line-height:1.45;display:-webkit-box;overflow:hidden}.sale-product-card .sale-product-category{color:var(--theme-text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;line-height:1.35;display:-webkit-box;overflow:hidden}.sale-product-price{color:var(--theme-primary-text);grid-area:price;font-size:1.04rem;line-height:1.35}.sale-product-card.below-cost{border-color:var(--theme-border);background:var(--theme-danger-soft)}.sale-product-card.below-cost:before{background:var(--theme-danger)}.sale-cost-warning{grid-area:warning;font-size:.72rem;font-weight:750;line-height:1.35;display:block;color:var(--theme-danger-text)!important}.sale-product-stock{background:var(--theme-primary-soft);border-radius:999px;grid-area:stock;justify-self:start;margin-top:0;padding:2px 6px;font-weight:700;color:var(--theme-primary-text)!important}.stock-low .sale-product-stock{background:var(--theme-warning-soft);color:var(--theme-warning-text)!important}.stock-out .sale-product-stock{background:var(--theme-danger-soft);color:var(--theme-danger-text)!important}.sale-product-loading{z-index:3;background:color-mix(in srgb, var(--theme-surface) 80%, transparent);place-items:center;display:grid;position:absolute;inset:0}.sale-product-loading .loading-state{box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 8%, transparent);margin:0;padding:8px 12px}.sale-product-sentinel{grid-column:1/-1;height:1px}.sale-product-load-more{color:var(--theme-text-muted);text-align:center;grid-column:1/-1;padding:8px;font-size:.78rem;font-weight:650}.sale-cart-panel{grid-template-rows:auto minmax(0,1fr) auto auto auto}.sale-cart-header{background:var(--theme-primary);min-height:54px;color:var(--theme-on-primary);border:0;border-radius:10px;padding:9px 12px}.sale-cart-header strong{font-size:1.02rem}.sale-cart-header span{color:var(--theme-text-muted)}.sale-cart-header .danger-button{border-color:color-mix(in srgb, var(--theme-border) 30%, transparent);background:color-mix(in srgb, var(--theme-surface) 10%, transparent);min-height:32px;color:var(--theme-on-danger)}.sale-cart-header .danger-button:hover{background:color-mix(in srgb, var(--theme-surface) 18%, transparent)}.sale-cart-items{background:var(--theme-surface);scrollbar-gutter:stable;grid-auto-rows:max-content;gap:0;padding:5px 10px}.sale-cart-items:has(.sale-empty-cart){place-content:center}.sale-cart-row{border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-surface);border-radius:0;grid-template-columns:minmax(0,1fr) 116px 92px minmax(84px,.3fr) 30px;gap:7px;min-height:52px;padding:7px 2px}.sale-cart-row:hover{background:var(--theme-surface)}.sale-foc-control{min-width:0;color:var(--theme-warning-text);white-space:nowrap;justify-content:center;align-items:center;gap:4px;font-size:.78rem;font-weight:700;display:inline-flex}.sale-foc-control input{box-sizing:border-box;border-color:var(--theme-border);background:var(--theme-warning-soft);text-align:center;width:46px;min-width:0;height:30px;padding:3px 5px}.sale-cart-name strong{color:var(--theme-text);line-height:1.35}.sale-line-total{color:var(--theme-primary-text);font-size:.96rem}.sale-qty-controls button,.sale-cart-row .icon-btn,.sale-qty-controls input{border-color:var(--theme-border);background:var(--theme-surface);min-height:30px}.sale-qty-controls button:hover{border-color:var(--theme-border);background:var(--theme-background)}.sale-empty-cart{color:var(--theme-text-muted);place-self:center;justify-items:center;gap:8px;display:grid}.sale-empty-cart strong{color:var(--theme-text-muted);font-weight:600}.sale-pack-shortcut{z-index:0;border-color:var(--theme-border);background:var(--theme-primary-soft);min-height:25px;color:var(--theme-primary-text);grid-column:1/-1;justify-self:start;padding:2px 7px;font-size:.72rem;font-weight:750;position:relative}.sale-total-box{border-top:2px solid var(--theme-border);background:var(--theme-background);grid-template-columns:minmax(120px,.72fr) minmax(170px,1fr);align-items:end;gap:12px;padding:9px 12px}.sale-cart-total-bar{border-top:2px solid var(--theme-border);background:var(--theme-background);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px 12px;display:grid}.sale-cart-total-bar span{color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:8px;display:flex}.sale-cart-total-bar span:last-child{border-left:1px solid var(--theme-border);color:var(--theme-primary-text);padding-left:12px;font-weight:800}.sale-cart-total-bar span:last-child strong{color:var(--theme-primary-text);font-size:1.18rem}.sale-total-lines{gap:4px;display:grid}.sale-total-box .sale-total-lines>span{color:var(--theme-text-muted);justify-content:space-between;gap:10px;display:flex}.sale-total-box .sale-grand-total{border-top:1px solid var(--theme-border);color:var(--theme-primary-text);padding-top:4px;font-weight:800}.sale-total-box .sale-grand-total strong{color:var(--theme-primary-text);font-size:1.22rem}.sale-payment-box{background:var(--theme-surface);border-top:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px;padding:9px 12px}.sale-checkout-totals{gap:4px;width:min(100%,440px);margin-left:auto;padding:2px 12px 10px;display:grid}.sale-checkout-totals>span{color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:18px;display:flex}.sale-checkout-totals>span:last-child{border-top:1px solid var(--theme-border);color:var(--theme-primary-text);padding-top:5px;font-weight:800}.sale-checkout-totals>span:last-child strong{color:var(--theme-primary-text);font-size:1.22rem}.sale-payment-box>.field:first-child{grid-column:1/-1}.sale-customer-field-heading{justify-content:space-between;align-items:center;gap:12px;min-height:24px;display:flex}.sale-customer-field-heading>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.sale-customer-field-heading button{min-height:32px;color:var(--theme-primary-text);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;font-size:.78rem;font-weight:750;display:inline-flex}.sale-customer-field-heading button:hover{text-decoration:underline}.sale-payment-box .field>span,.sale-total-box .field>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.sale-payment-box>.field>span,.sale-paid-amount-heading{box-sizing:border-box;min-height:24px}.sale-payment-box>.field>span{align-items:center;display:flex}.sale-payment-box :is(select,input[type=number]){box-sizing:border-box;height:var(--mkpos-control-height);min-height:var(--mkpos-control-height)}.sale-paid-amount-heading{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.sale-paid-amount-heading label{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.sale-paid-amount-heading .sale-pay-full-button{border-color:var(--theme-border);background:var(--theme-success-soft);min-height:24px;color:var(--theme-success-text);padding:2px 8px;font-size:.72rem;line-height:1}.sale-paid-amount-heading .sale-pay-full-button:hover{border-color:var(--theme-border);background:var(--theme-success-soft)}.sale-unpaid-line{background:var(--theme-background);min-height:30px;color:var(--theme-text-muted);border-radius:3px;align-items:center;padding:4px 7px}.sale-unpaid-line.danger-text{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.sale-unpaid-line.gain-text{background:var(--theme-success-soft);color:var(--theme-success-text)}.sale-checkout-actions{border-top:1px solid var(--theme-border);background:var(--theme-surface);grid-template-columns:minmax(150px,.72fr) minmax(180px,1fr);gap:8px;padding:9px 12px 11px}.sale-checkout-actions button{min-height:40px}.sale-checkout-actions .primary{background:var(--theme-primary);border-color:var(--theme-border);font-size:.98rem}.sale-checkout-actions .primary:hover{background:var(--theme-primary);border-color:var(--theme-border)}.sale-checkout-modal{width:min(720px,100%)}.sale-checkout-modal .mkpos-modal-body{padding:0}.sale-checkout-form{display:grid}.sale-checkout-summary{background:var(--theme-primary);color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.sale-checkout-summary strong{color:var(--theme-on-primary);font-size:1.3rem}.sale-checkout-modal .sale-total-box{border-top:0;padding:12px}.sale-checkout-modal .sale-payment-box{border-top:1px solid var(--theme-border);padding:12px}.sale-checkout-modal-actions{padding:12px;position:sticky;bottom:0}.sale-checkout-modal-actions button{min-width:140px}.sale-checkout-modal-actions .primary{background:var(--theme-primary);border-color:var(--theme-border);min-width:210px}.app-shell.pos-mode main{position:relative}.app-shell.pos-mode .pos-notification-host{z-index:30;height:0;min-height:0;margin:0;position:absolute;inset:0 0 auto}.app-shell.pos-mode .global-notification-region{top:8px;transform:translate(-50%)}.app-shell.pos-mode .sale-screen,.app-shell.pos-mode .sale-main-panel{height:100%}@media (width<=1199px) and (width>=901px){.sale-main-panel{grid-template-columns:minmax(400px,1fr) minmax(420px,46%)}.sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(142px,1fr))}.sale-cart-row{grid-template-columns:minmax(0,1fr) 110px 90px 78px 28px;gap:5px}.sale-qty-controls{grid-template-columns:23px minmax(68px,1fr) 23px}}@media (width>=901px) and (height<=780px){.sale-left-panel{gap:6px;padding:7px}.sale-scan-bar,.sale-filter-card{padding:6px}.sale-product-card{grid-template-columns:52px minmax(0,1fr);min-height:126px;padding:8px 9px}.sale-product-media{width:52px;height:52px}.sale-cart-header{min-height:46px}.sale-total-box,.sale-payment-box{padding-block:6px}.sale-checkout-actions{padding-block:7px}}@media (width<=900px){.sale-main-panel{grid-template-columns:1fr;height:auto}.sale-left-panel{min-height:620px}.sale-product-grid{max-height:440px}.sale-cart-panel{min-height:620px}}@media (width<=620px){.sale-scan-bar,.sale-filter-card,.sale-total-box,.sale-payment-box,.sale-cart-total-bar,.sale-checkout-actions{grid-template-columns:1fr}.sale-cart-total-bar span:last-child{border-top:1px solid var(--theme-border);border-left:0;padding-top:7px;padding-left:0}.sale-payment-box>.field:first-child{grid-column:auto}.sale-checkout-modal-actions button,.sale-checkout-modal-actions .primary{flex:100%;min-width:0}.sale-price-types{grid-template-columns:repeat(2,minmax(0,1fr))}}.products-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.product-main-panel{height:100%;min-height:0;box-shadow:none;background:0 0;border:0;grid-template-rows:auto auto minmax(0,1fr);gap:9px;padding:0;display:grid;overflow:hidden}.product-stat-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.product-stat-card,button.product-stat-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:44px;color:var(--theme-text);text-align:left;box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;padding:5px 8px;display:grid;overflow:hidden}.product-stat-card:first-child,button.product-stat-card:first-child{border-color:var(--theme-border);background:var(--theme-info-soft)}.product-stat-card:nth-child(2),button.product-stat-card:nth-child(2){border-color:var(--theme-border);background:var(--theme-primary-soft)}.product-stat-card.warning,button.product-stat-card.warning{border-color:var(--theme-border);background:var(--theme-warning-soft)}.product-stat-card.danger,button.product-stat-card.danger{border-color:var(--theme-border);background:var(--theme-danger-soft)}button.product-stat-card:hover{border-color:var(--theme-border);filter:none;box-shadow:0 4px 12px color-mix(in srgb, var(--theme-shadow) 9%, transparent)}.product-stat-card>.product-stat-icon{background:var(--theme-info-soft);width:28px;height:28px;color:var(--theme-info-text);border-radius:5px;place-self:center;place-items:center;padding:0;line-height:0;display:grid}.product-stat-card>.product-stat-icon svg{flex:none;place-self:center;margin:0;display:block;position:static;transform:none}.product-stat-card:nth-child(2) .product-stat-icon{background:var(--theme-primary-soft);color:var(--theme-primary-text)}.product-stat-card.warning .product-stat-icon{background:var(--theme-warning-soft);color:var(--theme-warning-text)}.product-stat-card.danger .product-stat-icon{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.product-stat-card>div{justify-content:space-between;align-items:center;gap:7px;min-width:0;display:flex}.product-stat-card>div>span{color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:650;overflow:hidden}.product-stat-card>div>strong{color:var(--theme-text);flex:none;font-size:1rem;line-height:1.1}.product-stat-card.warning>div>strong{color:var(--theme-warning-text)}.product-stat-card.danger>div>strong{color:var(--theme-danger-text)}.product-control-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px;align-items:center;padding:9px;display:flex}.product-filter-drawer-form input,.product-filter-drawer-form select,.product-filter-drawer-form .product-search-field,.product-filter-drawer-form .product-scan-field{width:100%;min-height:38px}.product-filter-row{grid-template-columns:minmax(260px,1.5fr) minmax(160px,.72fr) minmax(170px,.76fr) minmax(140px,.62fr) minmax(190px,.82fr);gap:7px;display:grid}.product-filter-row input,.product-filter-row select,.product-search-field,.product-scan-field{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-width:0;min-height:36px}.product-search-field,.product-scan-field{color:var(--theme-text-muted);align-items:center;gap:7px;padding-inline:9px;display:flex}.product-search-field input,.product-scan-field input{min-height:32px;box-shadow:none;background:0 0;border:0;padding:0}.product-search-field:focus-within,.product-scan-field:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.product-action-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.product-action-row button{background:var(--theme-surface);border-radius:4px;min-height:35px;font-weight:700}.product-action-row button:hover{background:var(--theme-background)}.product-action-row .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary);padding-inline:13px}.product-action-row .primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.product-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-rows:minmax(0,1fr) auto;display:grid;overflow:hidden}.product-table-card:has(>.product-selection-bar){grid-template-rows:auto minmax(0,1fr) auto}.product-selection-bar{border-bottom:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;display:flex}.product-selection-bar>div{align-items:center;gap:8px;display:flex}.product-data-table col.product-selection-column{width:42px}body .module-view .product-grid-wrap .product-data-table .product-selection-cell{text-align:center;width:42px;min-width:42px;max-width:42px;padding:8px}.product-selection-cell input{vertical-align:middle;width:16px;height:16px;min-height:16px;accent-color:var(--brand);margin:0;display:inline-block}.product-bulk-delete-list{max-height:260px;padding-left:24px;overflow:auto}.product-bulk-delete-list li{padding:4px 0}.product-table-title{border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-surface);align-items:center;min-height:42px;padding:8px 11px;display:flex}.product-table-title h3{color:var(--theme-primary-text);margin:0;font-size:1rem}.product-grid-wrap{scrollbar-gutter:stable;background:var(--theme-surface);min-height:0;position:relative;overflow:auto}.product-data-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:0}.product-data-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:38px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.product-data-table td{border:0;border-bottom:1px solid var(--theme-border);height:46px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:7px 9px;font-size:.92rem;line-height:1.45}.product-data-table tbody tr:nth-child(2n){background:var(--theme-surface)}.product-data-table tbody tr:hover{background:var(--theme-background)}.product-data-table th:nth-child(2),.product-data-table td:nth-child(2){width:19%}.product-data-table th:nth-child(3),.product-data-table td:nth-child(3){width:18%}.product-data-table th:nth-child(4),.product-data-table td:nth-child(4){width:14%}.product-data-table th:nth-child(5),.product-data-table td:nth-child(5){width:20%}body .product-grid-wrap .product-data-table th:nth-child(6),body .product-grid-wrap .product-data-table td:nth-child(6){text-align:right;white-space:nowrap;overflow-wrap:normal;width:11%}body .product-grid-wrap .product-data-table th:nth-child(7),body .product-grid-wrap .product-data-table td:nth-child(7){text-align:center;width:11%}body .product-grid-wrap .product-data-table th:nth-child(8),body .product-grid-wrap .product-data-table td:nth-child(8){text-align:center;width:7%}body .product-grid-wrap .product-data-table th:nth-child(8){white-space:nowrap}.product-data-table .product-name-cell strong{color:var(--theme-text);font-size:.98rem;line-height:1.5;display:block}.product-price-stack{gap:2px;display:grid}.product-price-row{grid-template-columns:minmax(70px,1fr) auto;align-items:baseline;gap:8px;display:grid}.product-price-row em{color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;font-size:.82rem;font-style:normal;display:inline-flex;overflow:hidden}.product-auto-price-badge{background:var(--theme-primary-soft);padding:1px 4px;font-weight:800;line-height:1.3;color:var(--theme-primary-text)!important;font-size:.62rem!important}.product-price-row strong{color:var(--theme-primary-text);text-align:right;white-space:nowrap;font-size:.9rem}.product-price-amount{justify-items:end;min-width:0;display:grid}.product-price-row.is-below-cost em,.product-price-row.is-below-cost strong{color:var(--theme-danger-text)}.product-price-row.is-below-cost small{color:var(--theme-danger-text);white-space:nowrap;font-size:.7rem;font-weight:700;line-height:1.3}.product-status-stack{justify-items:center;gap:3px;display:grid}.product-data-table .status-badge.below-cost{border-color:var(--theme-border);background:var(--theme-danger-soft);color:var(--theme-danger-text)}.product-data-table .stock-value{color:var(--theme-primary-text);font-weight:800}.product-data-table .stock-value.low{color:var(--theme-warning-text)}.product-data-table .stock-value.out{color:var(--theme-danger-text)}.product-data-table .status-badge{background:var(--theme-primary-soft);min-height:24px;color:var(--theme-primary-text);white-space:nowrap;border:0;border-radius:999px;justify-content:center;align-items:center;padding:2px 8px;font-size:.78rem;font-weight:800;display:inline-flex}.product-data-table .status-badge.warn{background:var(--theme-warning-soft);color:var(--theme-warning-text)}.product-data-table .status-badge.danger{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.product-actions-cell{overflow:visible}.product-row-menu{justify-content:center;display:inline-flex}.product-row-menu-trigger{border-color:var(--theme-border);background:var(--theme-surface);width:30px;min-width:30px;min-height:30px;color:var(--theme-text-muted);border-radius:4px;place-items:center;padding:0;display:inline-grid}.product-row-menu-trigger:hover,.product-row-menu-trigger[aria-expanded=true]{border-color:var(--theme-border);background:var(--theme-background);color:var(--theme-primary-text)}.product-row-action-menu{z-index:90;border:1px solid var(--theme-border);background:var(--theme-surface);width:176px;box-shadow:0 10px 28px color-mix(in srgb, var(--theme-shadow) 16%, transparent);border-radius:6px;padding:4px;display:grid;position:fixed}.product-row-action-menu button{min-height:36px;color:var(--theme-text);text-align:left;background:0 0;border:0;border-radius:4px;justify-content:flex-start;align-items:center;gap:8px;padding:7px 9px;font-weight:700;display:flex}.product-row-action-menu button:hover{background:var(--theme-background);color:var(--theme-primary-text)}.product-row-action-menu button.danger{color:var(--theme-danger-text)}.product-row-action-menu button.danger:hover{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.product-table-loading{z-index:4;background:color-mix(in srgb, var(--theme-surface) 82%, transparent);place-items:center;display:grid;position:absolute;inset:0}.product-table-loading .loading-state{box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 8%, transparent);margin:0;padding:8px 12px}.product-empty-state{z-index:1;color:var(--theme-text-muted);place-content:center;justify-items:center;gap:8px;padding:24px;display:grid;position:static}.product-empty-state h3{color:var(--theme-text);margin:0}.product-table-footer{border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:42px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.product-pagination{align-items:center;gap:7px;display:flex}.product-pagination button{border-radius:4px;min-height:30px}.product-modal-form{gap:11px;display:grid}.product-form-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:10px;display:grid}.product-form-secondary{gap:10px;min-width:0;display:grid}.product-photo-field{border:1px solid var(--border,var(--theme-border));background:var(--theme-background);border-radius:.8rem;grid-template-columns:5.5rem minmax(0,1fr);align-items:center;gap:.85rem;padding:.75rem;display:grid}.product-photo-field>input[type=file]{display:none}.product-photo-preview,.product-photo-placeholder{aspect-ratio:1;object-fit:cover;width:5.5rem;color:var(--theme-text-muted);background:var(--theme-background);border-radius:.7rem;place-items:center;display:grid;overflow:hidden}.product-photo-preview img{object-fit:cover;width:100%;height:100%}.product-photo-copy{gap:.35rem;min-width:0;display:grid}.product-photo-copy>span{color:var(--muted,var(--theme-text-muted));font-size:.76rem}.product-photo-copy>div{flex-wrap:wrap;gap:.45rem;display:flex}.product-photo-copy button{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:.55rem;align-items:center;gap:.35rem;min-height:2.35rem;padding:0 .65rem;display:inline-flex}.product-photo-copy button.danger{color:var(--theme-danger-text)}.product-photo-error{color:var(--theme-danger-text);grid-column:1/-1;margin:0;font-size:.76rem}.product-cropper-backdrop{z-index:1600;background:color-mix(in srgb, var(--theme-primary) 70%, transparent);place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.product-cropper{background:var(--theme-surface);width:min(31rem,100%);max-height:calc(100dvh - 2rem);box-shadow:0 1.5rem 4rem color-mix(in srgb, var(--theme-shadow) 28%, transparent);border-radius:1rem;gap:.85rem;padding:1rem;display:grid;overflow:auto}.product-cropper header,.product-cropper footer{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.product-cropper h3,.product-cropper p{margin:0}.product-cropper header button{background:var(--theme-background);border:0;border-radius:50%;place-items:center;width:2.75rem;height:2.75rem;display:grid}.product-cropper-stage{aspect-ratio:1;background:var(--theme-surface-muted);border-radius:.8rem;justify-self:center;width:min(22rem,100%);overflow:hidden}.product-cropper-stage img{object-fit:cover;transform-origin:50%;width:100%;height:100%}.product-cropper-stage img.crop-zoom-100{transform:scale(1)}.product-cropper-stage img.crop-zoom-105{transform:scale(1.05)}.product-cropper-stage img.crop-zoom-110{transform:scale(1.1)}.product-cropper-stage img.crop-zoom-115{transform:scale(1.15)}.product-cropper-stage img.crop-zoom-120{transform:scale(1.2)}.product-cropper-stage img.crop-zoom-125{transform:scale(1.25)}.product-cropper-stage img.crop-zoom-130{transform:scale(1.3)}.product-cropper-stage img.crop-zoom-135{transform:scale(1.35)}.product-cropper-stage img.crop-zoom-140{transform:scale(1.4)}.product-cropper-stage img.crop-zoom-145{transform:scale(1.45)}.product-cropper-stage img.crop-zoom-150{transform:scale(1.5)}.product-cropper-stage img.crop-zoom-155{transform:scale(1.55)}.product-cropper-stage img.crop-zoom-160{transform:scale(1.6)}.product-cropper-stage img.crop-zoom-165{transform:scale(1.65)}.product-cropper-stage img.crop-zoom-170{transform:scale(1.7)}.product-cropper-stage img.crop-zoom-175{transform:scale(1.75)}.product-cropper-stage img.crop-zoom-180{transform:scale(1.8)}.product-cropper-stage img.crop-zoom-185{transform:scale(1.85)}.product-cropper-stage img.crop-zoom-190{transform:scale(1.9)}.product-cropper-stage img.crop-zoom-195{transform:scale(1.95)}.product-cropper-stage img.crop-zoom-200{transform:scale(2)}.product-cropper-stage img.crop-zoom-205{transform:scale(2.05)}.product-cropper-stage img.crop-zoom-210{transform:scale(2.1)}.product-cropper-stage img.crop-zoom-215{transform:scale(2.15)}.product-cropper-stage img.crop-zoom-220{transform:scale(2.2)}.product-cropper-stage img.crop-zoom-225{transform:scale(2.25)}.product-cropper-stage img.crop-zoom-230{transform:scale(2.3)}.product-cropper-stage img.crop-zoom-235{transform:scale(2.35)}.product-cropper-stage img.crop-zoom-240{transform:scale(2.4)}.product-cropper-stage img.crop-zoom-245{transform:scale(2.45)}.product-cropper-stage img.crop-zoom-250{transform:scale(2.5)}.product-cropper-stage img.crop-zoom-255{transform:scale(2.55)}.product-cropper-stage img.crop-zoom-260{transform:scale(2.6)}.product-cropper-stage img.crop-zoom-265{transform:scale(2.65)}.product-cropper-stage img.crop-zoom-270{transform:scale(2.7)}.product-cropper-stage img.crop-zoom-275{transform:scale(2.75)}.product-cropper-stage img.crop-zoom-280{transform:scale(2.8)}.product-cropper-stage img.crop-zoom-285{transform:scale(2.85)}.product-cropper-stage img.crop-zoom-290{transform:scale(2.9)}.product-cropper-stage img.crop-zoom-295{transform:scale(2.95)}.product-cropper-stage img.crop-zoom-300{transform:scale(3)}.product-cropper-controls{gap:.5rem;display:grid}.product-cropper-controls label{grid-template-columns:8rem 1fr;align-items:center;gap:.75rem;font-size:.76rem;display:grid}.product-cropper footer button{align-items:center;gap:.35rem;min-height:2.65rem;display:inline-flex}.product-table-identity{align-items:center;gap:.65rem;display:flex}.product-table-photo,.product-table-identity>.product-photo-placeholder{border-radius:.7rem;flex:0 0 2.75rem;width:2.75rem;height:2.75rem;overflow:hidden}.product-table-identity>.product-photo-placeholder{justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.product-table-identity>.product-photo-placeholder>svg{margin:0;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.product-table-photo img{object-fit:cover;width:100%;height:100%}.product-table-identity>span:last-child{gap:.18rem;display:grid}@media (width<=640px){.product-photo-field{grid-template-columns:4.5rem minmax(0,1fr)}.product-photo-preview{width:4.5rem}.product-cropper-controls label{grid-template-columns:1fr;gap:.2rem}}.product-form-section{background:var(--theme-background);border:0;border-radius:5px;align-content:start;gap:9px;padding:11px;display:grid}.product-section-heading{border-bottom:1px solid var(--theme-border);min-height:29px;padding-bottom:6px}.product-section-heading h3{color:var(--theme-primary-text);margin:0;font-size:.96rem}.product-section-heading span{color:var(--theme-text-muted)}.product-form-two,.product-form-three{gap:8px;display:grid}.product-form-two{grid-template-columns:repeat(2,minmax(0,1fr))}.product-barcode-control{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.product-barcode-control button{min-height:var(--control-height,34px);white-space:nowrap;justify-content:center;align-items:center;gap:5px;padding-inline:10px;display:inline-flex}.product-form-three{grid-template-columns:repeat(3,minmax(0,1fr))}.product-stock-fields{align-items:end}.product-price-list{gap:6px;display:grid}.product-price-line{grid-template-columns:minmax(120px,.7fr) minmax(110px,.55fr) minmax(130px,.75fr) minmax(170px,1fr);align-items:center;gap:7px;display:grid}.product-price-line small{color:var(--theme-text-muted);font-size:.76rem;line-height:1.35}.product-price-name{border-left:3px solid var(--theme-border);background:var(--theme-background);min-height:36px;color:var(--theme-text);align-items:center;padding:6px 9px;font-weight:750;display:flex}.product-price-help{color:var(--theme-text-muted);font-size:.78rem}.product-unit-note{color:var(--theme-text-muted);margin-top:3px;font-size:.76rem;font-weight:600;display:block}.product-price-remove{border-color:var(--theme-border);background:var(--theme-danger-soft);width:34px;min-width:34px;min-height:34px;color:var(--theme-danger-text);place-items:center;padding:0;display:inline-grid}.product-add-price{border-color:var(--theme-border);background:var(--theme-primary-soft);min-height:34px;color:var(--theme-primary-text);justify-content:center;justify-self:start;align-items:center;gap:6px;font-weight:750;display:inline-flex}.product-modal-footer{border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);justify-content:flex-end;gap:7px;padding:9px 0 0;display:flex;position:sticky;bottom:0}.product-modal-footer button{min-width:120px;min-height:36px}.product-adjust-modal-form{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.product-stock-adjustment-body,.product-movement-history-body{min-width:0}.product-adjust-modal-form .field small{color:var(--theme-text-muted);margin-top:4px;font-size:.76rem;display:block}.product-stock-preview{border:1px solid var(--theme-border);background:var(--theme-surface);font-variant-numeric:tabular-nums;border-radius:5px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;padding:7px 9px;display:grid}.product-stock-preview>div{gap:2px;min-width:0;display:grid}.product-stock-preview>div>span{color:var(--theme-text-muted);font-size:.72rem;font-weight:700}.product-stock-preview strong{color:var(--theme-text);font-size:.92rem}.product-stock-preview strong small{color:inherit;font-size:.72em;font-weight:650}.product-stock-preview>b{color:var(--theme-text-muted);font-size:1rem}.product-stock-preview-final{border-left:1px solid var(--theme-border);padding-left:8px}.product-stock-preview-final strong{color:var(--theme-primary-text);font-size:1rem}.product-stock-preview.invalid{border-color:var(--theme-border)}.product-stock-preview.invalid .product-stock-preview-final,.product-stock-preview.invalid p{color:var(--theme-danger-text)}.product-stock-preview>p{border-top:1px solid var(--theme-border);grid-column:1/-1;margin:0;padding-top:5px;font-size:.76rem;font-weight:700}.product-stock-list-table{min-width:760px}.product-barcode-picker-modal .mkpos-modal-body{flex:auto;display:flex;overflow:hidden}.product-barcode-picker{flex:auto;grid-template-rows:auto auto minmax(0,1fr);gap:8px;min-width:0;min-height:0;display:grid}.product-barcode-format{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px;display:grid}.product-barcode-format>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:700}.product-barcode-format select{width:100%;min-height:34px}.product-barcode-picker .table-wrap{height:100%;min-height:0;max-height:none;overflow:auto}.product-barcode-picker-filters{z-index:1;background:var(--theme-surface);grid-template-columns:minmax(0,1fr) 220px;gap:8px;padding:0;display:grid;position:relative}.product-barcode-picker-filters label{display:block;position:relative}.product-barcode-picker-filters label>svg{color:var(--theme-text-muted);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.product-barcode-picker-filters input,.product-barcode-picker-filters select{width:100%;min-height:34px}.product-barcode-picker-filters input{padding-left:36px!important}.product-barcode-picker table{table-layout:fixed;width:100%}.product-barcode-picker .table-wrap thead th{z-index:5;top:0}.product-barcode-picker table th,.product-barcode-picker table td{height:40px;padding-top:6px;padding-bottom:6px}.product-barcode-check-cell{text-align:center;width:52px}.product-barcode-check-cell input[type=checkbox]{appearance:auto;width:18px;min-width:18px;height:18px;min-height:18px;box-shadow:none;accent-color:var(--brand);background:0 0;border:0;border-radius:0;outline:0;margin:0;padding:0}.product-barcode-check-cell input[type=checkbox]:focus,.product-barcode-check-cell input[type=checkbox]:focus-visible{box-shadow:none;background:0 0;border:0;outline:0}.product-barcode-number{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.product-barcode-picker-skeleton td{height:40px}.product-barcode-picker-skeleton i{background:linear-gradient(90deg, var(--theme-background) 20%, var(--theme-surface) 38%, var(--theme-background) 56%);background-size:300% 100%;border-radius:3px;width:64%;height:12px;animation:1s ease-in-out infinite mkpos-page-skeleton;display:block}.product-barcode-picker-skeleton td:last-child i{width:48%}.product-movement-skeleton-row td{height:42px;padding:8px 14px}.product-movement-skeleton-row td>i{background:linear-gradient(90deg, var(--theme-background) 20%, var(--theme-surface) 38%, var(--theme-background) 56%);background-size:300% 100%;border-radius:3px;width:72%;height:12px;animation:1s ease-in-out infinite mkpos-page-skeleton;display:block}.product-movement-skeleton-row td:nth-child(2)>i{width:46%}.product-movement-skeleton-row td:nth-child(3)>i{width:34%}.product-movement-skeleton-row td:nth-child(4)>i{width:52%}.product-movement-endless-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:34px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;padding:7px 10px;font-size:.76rem;font-weight:650;display:flex;position:relative}.product-movement-sentinel{pointer-events:none;height:1px;position:absolute;bottom:0;left:0;right:0}@media (prefers-reduced-motion:reduce){.product-barcode-picker-skeleton i,.product-movement-skeleton-row td>i{animation:none}}@media (width<=1280px){.product-filter-row{grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(160px,.75fr)) minmax(150px,.65fr)}.product-scan-field{grid-column:1/-1}}@media (width>=901px) and (height<=780px){.product-stat-card,button.product-stat-card{min-height:42px;padding-block:4px}.product-stat-card>.product-stat-icon{width:28px;height:28px}.product-control-card{padding:7px}.product-data-table td{height:42px;padding-block:5px}}@media (width<=900px){.products-layout{height:auto;overflow:visible}.product-main-panel{overflow:visible}.product-stat-row,.product-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.product-search-field,.product-scan-field{grid-column:1/-1}.product-table-card{min-height:560px}.product-data-table{min-width:760px}}@media (width<=620px){.product-stat-row,.product-filter-row,.product-form-grid,.product-form-two,.product-form-three,.product-price-line,.product-adjust-modal-form{grid-template-columns:1fr}.product-search-field,.product-scan-field{grid-column:auto}.product-price-remove{width:100%}.product-action-row button{flex:140px}}.product-bulk-import{gap:12px;display:grid}.product-bulk-import p,.product-bulk-import h3{margin:0}.product-bulk-import progress{width:100%;accent-color:var(--brand)}.product-bulk-import td{white-space:normal;overflow-wrap:anywhere}.product-bulk-import>button{text-align:left;white-space:normal}.product-local-import-review{gap:12px;min-width:0;display:grid;overflow-x:auto}.product-local-review-codes{color:var(--muted);display:block}.product-import-file-summary{border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--surface-soft);min-width:0;color:var(--theme-primary-text);align-items:center;gap:12px;padding:12px 14px;display:flex}.product-import-file-summary>span{gap:4px;min-width:0;display:grid}.product-import-file-summary strong{overflow-wrap:anywhere}.product-import-file-summary small{color:var(--muted)}.product-import-file-summary>svg{flex-shrink:0}.product-import-status{align-items:center;gap:6px;font-weight:650;display:inline-flex}.product-import-status>svg{flex-shrink:0}.product-import-status.is-valid,.product-import-valid-count{color:var(--theme-success-text)}.product-import-status.is-invalid{color:var(--theme-danger-text)}.product-import-status.is-duplicate{color:var(--theme-warning-text)}.product-import-status.is-checking{color:var(--muted)}.product-import-counts{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.product-import-valid-count{align-items:center;gap:6px;display:inline-flex}.product-import-filters{border:0;align-items:center;gap:8px;min-width:0;margin:0;padding:3px;display:flex;overflow-x:auto}.product-import-filters label{border:1px solid var(--line-strong);border-radius:var(--mkpos-radius);background:var(--surface);white-space:nowrap;cursor:pointer;align-items:center;gap:7px;min-height:36px;padding:6px 11px;font-size:.84rem;display:inline-flex}.product-import-filters label.is-selected{color:var(--theme-primary-text);border-color:var(--brand);background:var(--surface-soft)}.product-import-filters label:focus-within{outline:2px solid var(--brand);outline-offset:1px}.product-import-filters input[type=radio]{width:14px;height:14px;min-height:0;accent-color:var(--brand);margin:0;padding:0}.product-import-filter-count{background:var(--surface-soft);border-radius:4px;padding:1px 5px;font-size:.78rem}.product-import-endless{color:var(--muted);justify-items:center;gap:8px;padding:12px 0;font-size:.82rem;display:grid}.product-unit-entry{gap:12px;min-width:0;display:grid}.product-unit-entry-field{gap:6px;min-width:0;display:grid}.product-unit-entry-field>label{font-weight:600}.product-unit-entry-field small{color:var(--muted);overflow-wrap:anywhere}.product-unit-entry-field [aria-invalid=true]{border-color:var(--danger)}.product-unit-entry-field [readonly]{opacity:.8}.product-unit-toggle{cursor:pointer;align-items:center;gap:8px;display:flex}.product-unit-toggle input{flex:0 0 18px;width:18px;height:18px;min-height:18px}.product-unit-entry p{overflow-wrap:anywhere;margin:0}.purchases-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.purchase-main-panel{height:100%;min-height:0;box-shadow:none;background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);gap:9px;padding:0;display:grid;overflow:hidden}.purchase-main-panel.purchase-wizard-mode{grid-template-rows:minmax(0,1fr)}.purchase-create-modal{width:min(980px,100vw - 48px);height:min(760px,100dvh - 48px)}.purchase-create-modal .mkpos-modal-header{border-bottom:1px solid var(--theme-border);flex:none;grid-template-columns:minmax(230px,.85fr) minmax(360px,1.15fr) 30px;align-items:center;gap:14px;min-height:58px;display:grid}.purchase-create-modal .mkpos-modal-header-content{min-width:0}.purchase-create-modal .purchase-wizard-header-tabs{background:0 0;border-bottom:0;padding:0}.purchase-create-modal .purchase-wizard-header-tabs button{justify-content:flex-start;min-height:32px;padding-block:0;padding-inline:3px}.purchase-create-modal .purchase-wizard-header-tabs button:after{width:calc(100% - 20px);top:9px;left:calc(50% + 10px)}.purchase-create-modal .purchase-wizard-header-tabs button>span{width:20px;height:20px;font-size:.65rem}.purchase-create-modal .purchase-wizard-header-tabs button strong{font-size:.64rem}.purchase-create-modal .purchase-wizard-header-tabs button.active strong:after{width:20px;bottom:-3px}.purchase-create-modal .mkpos-modal-body{flex:auto;min-height:0;max-height:none;padding:0;display:flex;overflow:hidden}.purchase-create-modal .mkpos-modal-footer{padding:0}.purchase-modal-layout{flex:1 1 0;width:100%;height:100%;min-height:0;padding:0;display:flex}.purchase-modal-layout .purchase-main-panel,.purchase-modal-layout .purchase-wizard-page,.purchase-modal-layout .purchase-wizard-body,.purchase-modal-layout .purchase-wizard-section{flex:1 1 0;width:100%;height:100%;min-height:0}.purchase-modal-layout .purchase-main-panel,.purchase-modal-layout .purchase-wizard-page,.purchase-modal-layout .purchase-wizard-body{display:flex}.purchase-modal-layout .purchase-wizard-page{box-shadow:none;border:0;border-radius:0;grid-template-rows:minmax(0,1fr)}.purchase-modal-layout .purchase-wizard-body{overflow:hidden}.purchase-modal-layout .purchase-basic-step{grid-template-rows:minmax(0,1fr);align-content:stretch;height:auto}.purchase-modal-layout .purchase-basic-form{grid-template-rows:auto minmax(0,1fr);align-content:stretch;width:100%;height:100%;min-height:0}.purchase-modal-layout .purchase-basic-form>.field:last-child{grid-template-rows:auto minmax(0,1fr);min-height:0}.purchase-modal-layout .purchase-basic-form textarea{resize:none;height:100%;min-height:0}.purchase-modal-layout .purchase-product-step{flex-direction:column;display:flex}.purchase-modal-layout .purchase-product-filters{flex:none}.purchase-modal-layout .purchase-product-table-frame{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.purchase-modal-layout .purchase-product-select-header{flex:none}.purchase-modal-layout .purchase-product-picker{overscroll-behavior:contain;flex:1 1 0;min-height:0;overflow:hidden scroll}.purchase-history-heading{align-items:center;gap:9px;min-width:0;display:flex}.purchase-history-heading>span{background:var(--theme-background);width:36px;height:36px;color:var(--theme-primary-text);border-radius:5px;place-items:center;display:inline-grid}.purchase-history-heading>div{gap:1px;display:grid}.purchase-history-heading strong{color:var(--theme-primary-text);font-size:.98rem}.purchase-history-heading small{color:var(--theme-text-muted);font-size:.78rem}.purchase-page-actions{align-items:center;gap:7px;display:flex}.purchase-page-actions>.primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.purchase-wizard-page{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:relative;overflow:hidden}.purchase-wizard-header{border-bottom:1px solid var(--theme-border);background:var(--theme-background);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;padding:9px 12px;display:grid}.purchase-wizard-back{min-height:36px;color:var(--theme-primary-text);align-items:center;gap:6px;display:inline-flex}.purchase-wizard-header>div:nth-child(2){gap:2px;display:grid}.purchase-wizard-header h2{color:var(--theme-text);margin:0;font-size:1.08rem}.purchase-wizard-header>div:nth-child(2)>span{color:var(--theme-text-muted);font-size:.79rem}.purchase-wizard-header-summary{background:var(--theme-background);min-height:36px;color:var(--theme-text-muted);border-radius:4px;align-items:center;gap:10px;padding:5px 9px;font-size:.78rem;display:flex}.purchase-wizard-header-summary strong{color:var(--theme-primary-text);font-size:.98rem}.purchase-wizard-steps{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:6px 18px 7px;display:grid}.purchase-wizard-steps button{min-width:0;min-height:38px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0 5px;display:flex;position:relative;overflow:visible}.purchase-wizard-steps button:after{content:"";z-index:0;background:var(--theme-surface-muted);width:calc(100% - 24px);height:2px;position:absolute;top:11px;left:calc(50% + 12px)}.purchase-wizard-steps button:last-child:after{display:none}.purchase-wizard-steps button>span{z-index:1;border:1px solid var(--theme-border);background:var(--theme-surface);width:24px;height:24px;color:var(--theme-text-muted);border-radius:50%;place-items:center;font-size:.72rem;font-weight:700;display:inline-grid;position:relative}.purchase-wizard-steps button strong{z-index:1;max-width:100%;color:inherit;white-space:nowrap;font-size:.7rem;line-height:1.2;position:relative}.purchase-wizard-steps button.active{color:var(--theme-primary-text);background:0 0;border-color:#0000}.purchase-wizard-steps button.active strong:after{content:"";background:var(--theme-primary);border-radius:2px;width:24px;height:2px;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)}.purchase-wizard-steps button.active>span{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-primary-text);box-shadow:0 0 0 4px var(--theme-inverse-text)}.purchase-wizard-steps button.completed{color:var(--theme-text-muted);cursor:pointer}.purchase-wizard-steps button.completed:after{background:var(--theme-surface-raised)}.purchase-wizard-steps button.completed>span{border-color:var(--theme-border);background:var(--theme-surface-raised);color:var(--theme-text)}.purchase-wizard-steps button:disabled:not(.active){opacity:1}.purchase-wizard-steps button:hover:not(.active){background:0 0;border-color:#0000}.purchase-wizard-body{background:var(--theme-background);scrollbar-gutter:stable;min-height:0;padding:5px;overflow:auto}.purchase-wizard-section{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;align-content:start;gap:6px;min-height:100%;display:grid;overflow:hidden}.purchase-wizard-section-heading{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);align-items:center;gap:10px;min-height:58px;padding:9px 11px;display:flex}.purchase-wizard-section-heading>span{background:var(--theme-primary-soft);width:34px;height:34px;color:var(--theme-primary-text);border-radius:5px;flex:none;place-items:center;font-size:.76rem;font-weight:850;display:inline-grid}.purchase-wizard-section-heading>div{gap:1px;min-width:0;display:grid}.purchase-wizard-section-heading h3{color:var(--theme-primary-text);margin:0;font-size:.98rem}.purchase-wizard-section-heading p{color:var(--theme-text-muted);margin:0;font-size:.78rem}.purchase-basic-form{grid-template-columns:minmax(0,1fr);gap:12px;width:min(920px,100%);padding:10px;display:grid}.purchase-basic-form .field>span,.purchase-product-filters .field>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.purchase-basic-form input,.purchase-basic-form textarea{border-color:var(--theme-border);background:var(--theme-surface);width:100%}.purchase-basic-form textarea{resize:vertical;min-height:104px}.purchase-selected-count{background:var(--theme-background);color:var(--theme-primary-text);white-space:nowrap;border-radius:999px;margin-left:auto;padding:5px 9px;font-size:.78rem}.purchase-product-filters{grid-template-columns:minmax(280px,1fr) minmax(170px,.36fr);gap:7px;padding:8px 10px 0;display:grid}.purchase-product-filters input,.purchase-product-filters select,.purchase-product-filters button,.purchase-product-search{min-height:36px}.purchase-product-search{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text-muted);border-radius:4px;align-items:center;gap:7px;padding-inline:9px;display:flex}.purchase-product-search:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.purchase-product-search input,.purchase-product-search input:focus{min-width:0;min-height:32px;padding:0;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important}.purchase-product-table-frame{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:5px;grid-template-rows:auto minmax(0,1fr);min-height:190px;margin:0 10px 10px;display:grid;overflow:hidden}.purchase-product-picker{grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;min-height:0;display:grid;position:relative;overflow:hidden auto}.purchase-product-select-list{background:var(--theme-surface);width:100%;min-width:800px}.purchase-product-select-header,.purchase-product-select-row{grid-template-columns:48px minmax(180px,1.5fr) minmax(120px,.8fr) minmax(110px,.7fr) minmax(150px,.9fr) minmax(150px,.9fr);align-items:center;display:grid}.purchase-product-select-header>span,.purchase-product-select-row>span{border-bottom:1px solid var(--theme-border);text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;height:42px;padding:7px 10px;display:block;overflow:hidden}.purchase-product-select-header{background:var(--theme-background);min-width:800px;color:var(--theme-text-muted);flex:none;font-size:.72rem;font-weight:700}.purchase-product-select-row:nth-child(odd){background:var(--theme-surface)}.purchase-product-select-row{cursor:pointer}.purchase-product-select-row:hover:not(.selected){background:var(--theme-background)}.purchase-product-select-row.selected{background:var(--theme-primary-soft)}.purchase-product-select-row:focus-visible{z-index:1;outline:2px solid var(--theme-focus);outline-offset:-2px;position:relative}.purchase-product-select-row:last-child>span{border-bottom:0}.purchase-product-select-row>span{color:var(--theme-text-muted);font-size:.78rem}.purchase-product-select-row strong{color:var(--theme-text)}.purchase-product-table-frame .purchase-product-check-cell{text-align:center;width:48px;padding-right:6px}.purchase-product-table-frame input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--theme-primary-text);margin:0}.purchase-product-picker-loading{z-index:2;background:color-mix(in srgb, var(--theme-surface) 82%, transparent);place-items:center;display:grid;position:absolute;inset:0}.purchase-product-picker-loading--modal{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:5px;place-items:stretch stretch;overflow:hidden}.purchase-product-table-skeleton{align-content:start;min-width:800px;min-height:100%;display:grid}.purchase-product-table-skeleton>div{border-bottom:1px solid var(--theme-border);grid-template-columns:48px minmax(180px,1.5fr) minmax(120px,.8fr) minmax(110px,.7fr) minmax(150px,.9fr) minmax(150px,.9fr);align-items:center;min-height:42px;display:grid}.purchase-product-table-skeleton i{background:linear-gradient(90deg, var(--theme-background) 20%, var(--theme-background) 38%, var(--theme-background) 56%);background-size:300% 100%;border-radius:4px;height:12px;margin:0 10px;animation:1s ease-in-out infinite purchase-modal-skeleton;display:block}.purchase-product-table-skeleton>div i:first-child{justify-self:center;width:18px;height:18px}@media (prefers-reduced-motion:reduce){.purchase-product-table-skeleton i{animation:none}}.purchase-product-sentinel{width:100%;height:1px}.purchase-product-load-more{min-height:38px;color:var(--theme-text-muted);place-items:center;font-size:.75rem;display:grid}.purchase-quantity-step,.purchase-review-step,.purchase-product-step{grid-template-rows:auto minmax(0,1fr)}.purchase-quantity-step{grid-template-rows:minmax(0,1fr) auto}.purchase-review-step{grid-template-rows:minmax(0,1fr) auto;gap:0}.purchase-review-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;grid-template-rows:auto auto auto;align-content:start;gap:10px;min-height:0;padding-top:6px;display:grid;overflow:auto}.purchase-review-table-wrap{background:var(--theme-surface);scrollbar-gutter:auto;min-width:0;min-height:auto;position:relative;overflow:visible}.purchase-wizard-table-wrap{scrollbar-gutter:stable;min-height:0;overflow:auto}.purchase-wizard-quantity-table,.purchase-review-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:1020px}.purchase-wizard-quantity-table th,.purchase-review-table th{z-index:2;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:38px;color:var(--theme-text);text-align:left;padding:7px 8px;font-size:.8rem;position:sticky;top:0}.purchase-wizard-quantity-table th,.purchase-wizard-quantity-table td{border-right:1px solid var(--theme-border)!important;border-bottom:1px solid var(--theme-border)!important}.purchase-wizard-quantity-table th:last-child,.purchase-wizard-quantity-table td:last-child{text-align:center;border-right:0!important}.desktop-workspace .purchase-wizard-quantity-table thead th{height:34px!important;padding:4px 8px!important}.purchase-wizard-quantity-table td,.purchase-review-table td{border-bottom:1px solid var(--theme-border);min-height:48px;color:var(--theme-text);vertical-align:middle;padding:7px 8px;font-size:.84rem}.desktop-workspace .purchase-wizard-quantity-table tbody td{height:36px!important;min-height:36px!important;padding:4px 8px!important}.purchase-wizard-quantity-table td:first-child strong,.purchase-wizard-quantity-table td:first-child small{display:inline}.purchase-wizard-quantity-table td:first-child small{color:var(--theme-text-muted);margin-left:7px;font-size:.73rem}.purchase-wizard-quantity-table select,.purchase-wizard-quantity-table input{width:100%;min-width:0}.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(2),.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(3),.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(4),.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(5){padding:0!important}.desktop-workspace .purchase-wizard-quantity-table tbody td :is(input,select){font-variant-numeric:tabular-nums;outline:0;height:36px;min-height:36px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;padding:0 8px!important}.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(2):hover,.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(3):hover,.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(4):hover,.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(5):hover{background:color-mix(in srgb, var(--theme-primary) 4.5%, transparent)}.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(2):focus-within,.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(3):focus-within,.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(4):focus-within,.desktop-workspace .purchase-wizard-quantity-table tbody td:nth-child(5):focus-within{background:color-mix(in srgb, var(--theme-primary) 6.5%, transparent);box-shadow:inset 0 -2px 0 var(--brand,var(--theme-shadow))}.desktop-workspace .purchase-wizard-quantity-table tbody td :is(input,select):focus,.desktop-workspace .purchase-wizard-quantity-table tbody td :is(input,select):focus-visible{outline:0;box-shadow:none!important;background:0 0!important;border:0!important}.purchase-wizard-quantity-table input[type=number]{appearance:textfield}.purchase-wizard-quantity-table input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.purchase-wizard-quantity-table input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.purchase-create-modal .purchase-wizard-quantity-table .purchase-remove-item{border-radius:4px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:inline-grid}.purchase-wizard-quantity-table col.table-action-column{width:52px!important;min-width:52px!important;max-width:52px!important}.purchase-wizard-quantity-table th:first-child{width:19%}.purchase-wizard-quantity-table th:nth-child(2){width:14%}.purchase-wizard-quantity-table th:nth-child(3),.purchase-wizard-quantity-table th:nth-child(4){width:10%}.purchase-wizard-quantity-table th:nth-child(5){width:15%}.purchase-wizard-quantity-table th:nth-child(6),.purchase-wizard-quantity-table th:nth-child(7){width:13%}.purchase-wizard-quantity-table th:nth-child(8){width:6%}.purchase-wizard-totals{border-top:1px solid var(--theme-border);background:var(--theme-surface);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0;min-height:44px;padding:6px 10px;display:flex}.purchase-wizard-totals span{border-left:1px solid var(--theme-border);min-height:30px;color:var(--theme-text-muted);align-items:baseline;gap:6px;padding:4px 11px;font-size:.74rem;display:inline-flex}.purchase-wizard-totals strong{color:var(--theme-text);font-variant-numeric:tabular-nums;font-size:.82rem}.purchase-wizard-totals .total{background:var(--theme-primary-soft);min-height:32px;color:var(--theme-primary-text);border:0;border-radius:4px;margin-left:5px}.purchase-wizard-totals .total strong{color:var(--theme-primary-text);font-size:1rem}.purchase-review-overview{grid-template-columns:minmax(300px,.78fr) minmax(560px,1.45fr);gap:10px;padding:0 10px;display:grid}.purchase-review-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;min-width:0;padding:10px}.purchase-review-card-heading{justify-content:space-between;align-items:center;gap:10px;min-height:32px;margin-bottom:8px;display:flex}.purchase-review-card-heading>div{gap:1px;display:grid}.purchase-review-card-heading span{color:var(--theme-primary-text);letter-spacing:.06em;text-transform:uppercase;font-size:.65rem;font-weight:800;line-height:1.2}.purchase-review-card-heading h3{color:var(--theme-text);margin:0;font-size:.88rem;line-height:1.25}.purchase-review-edit{align-items:center;gap:5px;min-height:28px;padding:4px 8px;display:inline-flex}.purchase-review-meta{grid-template-columns:minmax(120px,.7fr) minmax(180px,1.3fr);gap:6px;margin:0;display:grid}.purchase-review-meta>div{background:var(--theme-background);border-radius:4px;min-width:0;padding:7px 8px}.purchase-review-meta dt{color:var(--theme-text-muted);margin-bottom:2px;font-size:.68rem}.purchase-review-meta dd{color:var(--theme-text);overflow-wrap:anywhere;margin:0;font-size:.8rem;font-weight:750;line-height:1.35}.purchase-review-table th:nth-child(n+3),.purchase-review-table td:nth-child(n+3){text-align:right}.purchase-payment-panel{background:var(--theme-background)}.purchase-payment-fields{grid-template-columns:minmax(145px,.85fr) minmax(145px,.85fr) minmax(190px,1fr);align-items:end;gap:8px;display:grid}.purchase-payment-balance{border-left:3px solid var(--theme-border);background:var(--theme-primary-soft);border-radius:4px;align-content:center;gap:1px;min-height:48px;padding:6px 9px;display:grid}.purchase-payment-balance span,.purchase-payment-balance small{color:var(--theme-text-muted)}.purchase-payment-balance span{font-size:.68rem;font-weight:750}.purchase-payment-balance small{font-size:.67rem}.purchase-payment-balance strong{color:var(--theme-primary-text);font-size:1rem;line-height:1.2}.purchase-payment-balance.has-credit{border-left-color:var(--theme-border);background:var(--theme-warning-soft)}.purchase-payment-balance.has-credit strong{color:var(--theme-warning-text)}.purchase-wizard-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);grid-template-columns:auto minmax(80px,1fr) auto;align-items:center;gap:10px;min-height:46px;padding:4px 7px;display:grid}.purchase-wizard-footer--modal{border-top:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:100%;min-height:52px;padding:8px 12px}.purchase-wizard-footer--modal>span{grid-column:2}.purchase-wizard-footer--modal>div{grid-column:3;justify-self:end}.purchase-create-modal .purchase-wizard-footer--modal button{min-width:0;padding-inline:10px}.purchase-create-modal .purchase-wizard-footer--modal .primary{min-width:0}.purchase-wizard-footer>span{color:var(--theme-text-muted);justify-self:center;font-size:.78rem;font-weight:700}.purchase-wizard-footer>div{gap:7px;display:flex}.purchase-wizard-footer button{justify-content:center;align-items:center;gap:5px;min-height:34px;display:inline-flex}.purchase-wizard-footer .primary{border-color:var(--theme-border);background:var(--theme-primary);min-width:138px;color:var(--theme-on-primary);font-weight:800}.purchase-tabs{background:var(--theme-background);border:0;border-radius:5px;grid-template-columns:repeat(2,minmax(150px,1fr));justify-self:start;gap:3px;padding:3px;display:inline-grid}.purchase-page-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.purchase-tabs button{min-height:36px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:3px;justify-content:center;align-items:center;gap:7px;padding-inline:14px;font-weight:800;display:inline-flex}.purchase-tabs button:hover{background:var(--theme-background)}.purchase-tabs button.selected{background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:0 1px 4px color-mix(in srgb, var(--theme-shadow) 18%, transparent)}.purchase-workspace{grid-template-rows:auto auto minmax(0,1fr);gap:9px;min-height:0;display:grid;position:relative;overflow:hidden}.purchase-form-card,.purchase-add-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px}.purchase-form-card{padding:9px}.purchase-form-grid{grid-template-columns:minmax(280px,.72fr) minmax(340px,1.28fr);gap:9px;display:grid}.purchase-add-card{grid-template-columns:minmax(180px,1fr) minmax(120px,.55fr) minmax(200px,1.08fr) minmax(120px,.58fr) 72px 72px minmax(100px,.46fr) auto;align-items:end;gap:8px;padding:9px;display:grid}.purchase-form-card .field>span,.purchase-add-card .field>span,.purchase-history-filter .field>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.purchase-form-card input,.purchase-add-card input,.purchase-add-card select,.purchase-history-filter input,.purchase-history-filter select{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:36px}.purchase-form-card input:focus,.purchase-add-card input:focus,.purchase-add-card select:focus,.purchase-history-filter input:focus,.purchase-history-filter select:focus{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.purchase-add-card>.primary{border-color:var(--theme-border);background:var(--theme-primary);min-width:116px;min-height:36px;color:var(--theme-on-primary);border-radius:4px}.purchase-add-card>.primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.purchase-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-rows:minmax(0,1fr) auto;display:grid;overflow:hidden}.purchase-table-wrap{scrollbar-gutter:stable;background:var(--theme-surface);min-height:0;position:relative;overflow:auto}.purchase-items-table,.purchase-history-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:1040px}.purchase-items-table{align-self:start;height:auto!important}.purchase-items-table thead,.purchase-items-table tbody,.purchase-items-table tr{height:auto!important}.purchase-items-table thead th,.purchase-history-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.purchase-items-table td,.purchase-history-table td{border:0;border-bottom:1px solid var(--theme-border);height:46px;color:var(--theme-text);vertical-align:middle;overflow-wrap:anywhere;padding:7px 9px;font-size:.92rem;line-height:1.45}.purchase-items-table tbody tr:nth-child(2n),.purchase-history-table tbody tr:nth-child(2n){background:var(--theme-surface)}.purchase-items-table tbody tr:hover,.purchase-history-table tbody tr:hover{background:var(--theme-background)}.purchase-items-table .purchase-col-product{width:24%}.purchase-items-table .purchase-col-stock,.purchase-items-table .purchase-col-paid,.purchase-items-table .purchase-col-foc{width:10%}.purchase-items-table .purchase-col-unit-cost{width:16%}.purchase-items-table .purchase-col-effective-cost{width:11%}.purchase-items-table .purchase-col-total{width:12%}.purchase-items-table .purchase-col-actions{width:7%}.purchase-items-table th:first-child,.purchase-items-table td:first-child{font-weight:700}.purchase-items-table th:nth-child(2),.purchase-items-table td:nth-child(2),.purchase-items-table th:nth-child(3),.purchase-items-table td:nth-child(3),.purchase-items-table th:nth-child(4),.purchase-items-table td:nth-child(4),.purchase-items-table th:nth-child(5),.purchase-items-table td:nth-child(5),.purchase-items-table th:nth-child(6),.purchase-items-table td:nth-child(6),.purchase-items-table th:nth-child(7),.purchase-items-table td:nth-child(7){text-align:right}.purchase-items-table th:last-child,.purchase-items-table td:last-child{text-align:center}.purchase-items-table input{text-align:right;width:min(130px,100%);min-height:32px;margin-left:auto}.purchase-below-cost-row{background:var(--theme-warning-soft)!important}.purchase-cost-warning{width:100%;min-width:0;color:var(--theme-warning-text);text-align:right;white-space:normal;word-break:normal;overflow-wrap:anywhere;margin-top:3px;font-size:.75rem;font-weight:750;line-height:1.35;display:block}.purchase-unit-note{color:var(--theme-text-muted);margin-top:2px;font-size:.74rem;font-weight:600;display:block}.purchase-items-table .icon-btn{place-items:center;width:31px;min-width:31px;min-height:31px;padding:0;display:inline-grid}.purchase-table-wrap>.empty-state{min-height:120px;color:var(--theme-text-muted);background:0 0;border:0;place-items:center;display:grid}.purchase-summary-bar{border:0;border-top:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:8px 10px;display:flex}.purchase-summary-metrics{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.purchase-summary-metrics>span{background:var(--theme-background);min-height:34px;color:var(--theme-text-muted);border-radius:4px;align-items:center;gap:7px;padding:5px 9px;display:inline-flex}.purchase-summary-metrics strong{color:var(--theme-primary-text);font-size:.96rem}.purchase-summary-metrics .purchase-summary-total{background:var(--theme-primary-soft);color:var(--theme-primary-text);font-weight:750}.purchase-summary-metrics .purchase-summary-total strong{color:var(--theme-primary-text);font-size:1.12rem}.purchase-save-actions{align-items:center;gap:7px;display:flex}.purchase-save-actions button{border-radius:4px;min-height:36px}.purchase-save-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);min-width:142px;color:var(--theme-on-primary)}.purchase-save-actions .primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.purchase-workspace-loading,.purchase-history-loading{z-index:5;background:color-mix(in srgb, var(--theme-surface) 82%, transparent);place-items:center;display:grid;position:absolute;inset:0}.purchase-workspace-loading .loading-state,.purchase-history-loading .loading-state{box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 8%, transparent);margin:0;padding:8px 12px}.purchase-workspace-loading--modal{background:var(--theme-background);place-items:stretch stretch;padding:5px;overflow:hidden}.purchase-modal-form-skeleton{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;grid-template-rows:14px 34px 14px minmax(0,1fr);gap:7px;min-width:0;min-height:0;padding:10px;display:grid;overflow:hidden}.purchase-modal-form-skeleton>i{background:linear-gradient(90deg, var(--theme-background) 20%, var(--theme-background) 38%, var(--theme-background) 56%);background-size:300% 100%;border-radius:4px;animation:1s ease-in-out infinite purchase-modal-skeleton;display:block}.purchase-modal-skeleton-label{width:76px}.purchase-modal-skeleton-label--note{width:104px}.purchase-modal-skeleton-control,.purchase-modal-skeleton-note{border:1px solid var(--theme-border);width:100%}@keyframes purchase-modal-skeleton{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.purchase-modal-form-skeleton>i{animation:none}}.purchase-history-card{grid-template-rows:minmax(0,1fr) auto}.mkpos-filter-drawer .purchase-history-filter{border:0;padding:0}.mkpos-filter-drawer .purchase-history-filter input,.mkpos-filter-drawer .purchase-history-filter select{width:100%}.purchase-history-filter{border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-surface);gap:8px;padding:9px;display:grid}.purchase-quick-ranges{background:var(--theme-background);border-radius:4px;flex-wrap:wrap;align-items:center;gap:3px;min-height:35px;padding:3px;display:flex}.purchase-quick-ranges button{min-height:29px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:3px;padding-inline:11px;font-size:.82rem;font-weight:750}.purchase-quick-ranges button:hover{background:var(--theme-surface)}.purchase-quick-ranges button.selected{background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:0 1px 3px color-mix(in srgb, var(--theme-shadow) 16%, transparent)}.mkpos-filter-drawer :is(.purchase-history-filter,.expense-filter-card,.transaction-filter,.report-drawer-filter)>.purchase-quick-ranges{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;min-height:35px;display:grid}.mkpos-filter-drawer :is(.purchase-history-filter,.expense-filter-card,.transaction-filter,.report-drawer-filter)>.purchase-quick-ranges button{white-space:nowrap;min-width:0;padding-inline:5px;font-size:.76rem}.purchase-history-filter-grid{grid-template-columns:minmax(240px,1.25fr) minmax(190px,.92fr) minmax(145px,.62fr) minmax(145px,.62fr) 100px auto;align-items:end;gap:7px;display:grid}.purchase-history-actions{align-items:center;gap:6px;min-width:max-content;display:flex}.purchase-history-actions button{border-radius:4px;min-height:36px}.purchase-history-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.purchase-history-table th:first-child,.purchase-history-table td:first-child{width:15%}.purchase-history-table th:nth-child(2),.purchase-history-table td:nth-child(2){width:23%}.purchase-history-table th:nth-child(3),.purchase-history-table td:nth-child(3),.purchase-history-table th:nth-child(4),.purchase-history-table td:nth-child(4),.purchase-history-table th:nth-child(5),.purchase-history-table td:nth-child(5){text-align:right;white-space:nowrap;width:12%}.purchase-history-table th:nth-child(6),.purchase-history-table td:nth-child(6){text-align:center;white-space:nowrap;width:10%}.purchase-history-table th:nth-child(7),.purchase-history-table td:nth-child(7){text-align:center;white-space:nowrap;width:16%}.purchase-history-table .status-badge.completed{background:var(--theme-primary-soft);min-height:24px;color:var(--theme-primary-text);text-transform:capitalize;border:0;border-radius:999px;align-items:center;padding:2px 8px;font-size:.78rem;font-weight:800;display:inline-flex}.purchase-row-actions{justify-content:center;gap:5px;display:flex}.purchase-row-actions button{border-color:var(--theme-border);background:var(--theme-surface);min-height:31px;color:var(--theme-text-muted);border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.purchase-row-actions button:first-child{min-width:54px;color:var(--theme-primary-text);font-weight:750}.purchase-row-actions button:hover{border-color:var(--theme-border);background:var(--theme-background)}.purchase-row-actions .danger-button{border-color:var(--theme-border);background:var(--theme-danger-soft);color:var(--theme-danger-text)}.purchase-history-footer{border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:44px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.purchase-history-footer button{border-radius:4px;min-height:31px}.purchase-detail{gap:10px;display:grid}.purchase-detail-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.purchase-detail-meta span{background:var(--theme-background);color:var(--theme-text-muted);border:0;border-radius:4px;gap:3px;padding:9px;display:grid}.purchase-detail-meta strong{color:var(--theme-primary-text)}@media (width<=1280px){.purchase-add-card{grid-template-columns:minmax(210px,1fr) minmax(145px,.7fr) minmax(230px,1.2fr) 82px 82px 105px}.purchase-add-card>.primary{grid-column:1/-1;justify-self:end}.purchase-history-filter-grid{grid-template-columns:minmax(230px,1.2fr) minmax(180px,.9fr) repeat(2,minmax(140px,.65fr)) 90px}.purchase-history-actions{grid-column:1/-1;justify-content:flex-end}}@media (width<=1100px){.purchase-review-overview{grid-template-columns:minmax(0,1fr)}}@media (width>=901px) and (height<=780px){.purchase-main-panel,.purchase-workspace{gap:6px}.purchase-form-card,.purchase-add-card,.purchase-history-filter{padding:7px}.purchase-items-table td,.purchase-history-table td{height:42px;padding-block:5px}.purchase-summary-bar{min-height:49px}}@media (width<=900px){.purchases-layout{height:auto;overflow:visible}.purchase-main-panel,.purchase-workspace{overflow:visible}.purchase-form-grid,.purchase-add-card,.purchase-history-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-add-card>.primary,.purchase-history-actions{grid-column:1/-1}.purchase-table-card{min-height:520px}.purchase-page-toolbar{flex-direction:column;align-items:stretch}.purchase-page-toolbar>.filter-drawer-trigger{align-self:flex-end}.purchase-wizard-page{min-height:0}.purchase-basic-form{grid-template-columns:1fr}.purchase-product-filters{grid-template-columns:minmax(0,1fr) minmax(160px,.42fr)}}@media (width<=760px){.desktop-workspace .purchase-wizard-quantity-table tbody td,.desktop-workspace .purchase-wizard-quantity-table tbody td :is(input,select){height:40px!important;min-height:40px!important}.purchase-create-modal .purchase-wizard-quantity-table .purchase-remove-item{width:40px;min-width:40px;height:40px;min-height:40px}}@media (width<=620px){.purchase-payment-fields,.purchase-review-meta{grid-template-columns:minmax(0,1fr)}.purchase-review-overview{padding-inline:0}.purchase-tabs,.purchase-form-grid,.purchase-add-card,.purchase-history-filter-grid,.purchase-detail-meta{grid-template-columns:1fr;width:100%}.purchase-add-card>.primary,.purchase-history-actions{grid-column:auto;width:100%}.purchase-summary-bar,.purchase-history-footer{flex-direction:column;align-items:stretch}.purchase-save-actions button{flex:1}.purchase-wizard-page{min-height:0}.purchase-wizard-header{grid-template-columns:auto minmax(0,1fr);gap:8px}.purchase-wizard-header-summary{display:none}.purchase-wizard-steps{padding-inline:10px}.purchase-wizard-steps button{gap:3px;padding-inline:2px}.purchase-wizard-steps button strong{text-overflow:ellipsis;font-size:.68rem;overflow:hidden}.purchase-wizard-body{padding:7px}.purchase-wizard-section-heading{align-items:flex-start}.purchase-wizard-section-heading p{line-height:1.35}.purchase-selected-count{display:none}.purchase-basic-form,.purchase-product-filters{grid-template-columns:1fr}.purchase-product-filters>button{width:100%}.purchase-wizard-footer{grid-template-columns:auto minmax(0,1fr);padding-inline:8px}.purchase-wizard-footer>span{display:none}.purchase-wizard-footer>div{justify-content:flex-end}.purchase-wizard-footer .primary{min-width:118px}}.suppliers-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.supplier-main-panel{height:100%;min-height:0;box-shadow:none;background:0 0;border:0;grid-template-rows:auto auto minmax(0,1fr);gap:9px;padding:0;display:grid;overflow:hidden}.supplier-index-stat-row{min-width:0}.supplier-toolbar{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px;grid-template-columns:minmax(320px,1fr) auto;align-items:center;gap:9px;padding:9px;display:grid}.supplier-toolbar .product-search-field{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:37px}.supplier-toolbar .product-search-field:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.supplier-toolbar-actions{align-items:center;gap:7px;display:flex}.supplier-toolbar-actions>span{background:var(--theme-background);min-height:34px;color:var(--theme-text-muted);white-space:nowrap;border-radius:4px;align-items:center;padding:4px 9px;font-size:.84rem;display:inline-flex}.supplier-toolbar-actions button,.supplier-toolbar button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:36px;display:inline-flex}.supplier-toolbar-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.supplier-toolbar-actions .primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.supplier-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-rows:minmax(0,1fr) auto;display:grid;overflow:hidden}.supplier-table-wrap{scrollbar-gutter:stable;background:var(--theme-surface);min-height:0;position:relative;overflow:auto}.supplier-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:920px}.supplier-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.supplier-table td{border:0;border-bottom:1px solid var(--theme-border);height:47px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:7px 9px;font-size:.92rem;font-weight:500;line-height:1.5}.supplier-table tbody tr:nth-child(2n){background:var(--theme-surface)}.supplier-table tbody tr:hover{background:var(--theme-background)}.supplier-table th:first-child,.supplier-table td:first-child{width:15%}.supplier-table th:nth-child(2),.supplier-table td:nth-child(2){width:12%}.supplier-table th:nth-child(3),.supplier-table td:nth-child(3){width:14%}.supplier-table th:nth-child(4),.supplier-table td:nth-child(4){width:22%}.supplier-table th:nth-child(5),.supplier-table td:nth-child(5){text-align:center;width:9%}.supplier-table th:nth-child(6),.supplier-table td:nth-child(6){text-align:right;white-space:nowrap;width:11%}.supplier-table th:nth-child(7),.supplier-table td:nth-child(7){text-align:center;white-space:normal;overflow-wrap:anywhere;width:11%}.supplier-table th:nth-child(8),.supplier-table td:nth-child(8){text-align:center;white-space:nowrap;width:6%}.supplier-table td:nth-child(-n+4){white-space:normal;overflow-wrap:anywhere}.supplier-table thead th{overflow-wrap:normal;word-break:normal}.supplier-table td>strong{color:var(--theme-text);font-size:.98rem;line-height:1.5;display:block}.supplier-row-actions{justify-content:center;gap:5px;display:flex}.supplier-row-actions button{border-color:var(--theme-border);background:var(--theme-surface);min-height:31px;color:var(--theme-text-muted);border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.supplier-row-actions button:first-child{min-width:54px;color:var(--theme-primary-text);font-weight:750}.supplier-row-actions button:hover{border-color:var(--theme-border);background:var(--theme-background)}.supplier-row-actions .danger-button{border-color:var(--theme-border);background:var(--theme-danger-soft);color:var(--theme-danger-text)}.supplier-actions-cell{overflow:visible}.supplier-row-menu{justify-content:center;display:inline-flex}.supplier-row-menu-trigger{border-color:var(--theme-border);background:var(--theme-surface);width:31px;min-width:31px;min-height:31px;color:var(--theme-text-muted);border-radius:4px;place-items:center;padding:0;display:inline-grid}.supplier-row-menu-trigger:hover,.supplier-row-menu-trigger[aria-expanded=true]{border-color:var(--theme-border);background:var(--theme-background);color:var(--theme-primary-text)}.supplier-row-action-menu{z-index:90;border:1px solid var(--theme-border);background:var(--theme-surface);width:170px;box-shadow:0 10px 28px color-mix(in srgb, var(--theme-shadow) 16%, transparent);border-radius:6px;padding:4px;display:grid;position:fixed}.supplier-row-action-menu button{min-height:36px;color:var(--theme-text);text-align:left;background:0 0;border:0;border-radius:4px;justify-content:flex-start;align-items:center;gap:8px;padding:7px 9px;font-weight:700;display:flex}.supplier-row-action-menu button:hover{background:var(--theme-background);color:var(--theme-primary-text)}.supplier-row-action-menu button.danger{color:var(--theme-danger-text)}.supplier-row-action-menu button.danger:hover{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.supplier-table-loading{z-index:4;background:color-mix(in srgb, var(--theme-surface) 82%, transparent);place-items:center;min-height:120px;display:grid;position:absolute;inset:0}.supplier-table-loading .loading-state{box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 8%, transparent);margin:0;padding:8px 12px}.supplier-table-wrap>.empty-state{min-height:160px;color:var(--theme-text-muted);background:0 0;border:0;place-items:center;display:grid}.supplier-table-footer{border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:44px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.supplier-pagination{align-items:center;gap:7px;display:flex}.supplier-pagination button{border-radius:4px;min-height:31px}.supplier-modal-form{gap:11px;display:grid}.supplier-modal-grid{background:var(--theme-background);border-radius:5px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:11px;display:grid}.supplier-modal-grid .field>span{color:var(--theme-text-muted);font-size:.82rem;font-weight:750}.supplier-modal-grid .field:last-child{grid-column:1/-1}.supplier-modal-grid input,.supplier-modal-grid textarea{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px}.supplier-modal-grid textarea{min-height:84px}.supplier-modal-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);justify-content:flex-end;gap:7px;padding-top:9px;display:flex;position:sticky;bottom:0}.supplier-modal-footer button{border-radius:4px;min-width:120px;min-height:36px}.supplier-modal-footer .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.supplier-detail-page{height:var(--mkpos-screen-height);scrollbar-gutter:stable;scrollbar-width:auto;min-height:0;display:block;overflow:hidden auto}.supplier-detail-page-heading{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;min-height:0;margin-bottom:6px;padding:0;display:block;overflow:hidden}.supplier-detail-page-bar{grid-template-columns:auto minmax(120px,1fr) auto auto;align-items:center;gap:7px;min-height:44px;padding:4px 6px;display:grid}.supplier-detail-page-title{gap:1px;min-width:0;display:grid}.supplier-detail-page-heading h2{overflow-wrap:anywhere;color:var(--theme-primary-text);margin:0;font-size:1rem}.supplier-detail-appbar-slots{display:contents}.supplier-detail-back,.supplier-detail-edit{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:32px;display:inline-flex}.supplier-detail-back{width:32px;min-width:32px;padding:0}.supplier-detail-edit{padding:5px 9px}.supplier-detail-page-content{min-height:max-content;padding-right:3px;overflow:visible}.supplier-detail-page-loading{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;place-items:center;min-height:280px;display:grid}.supplier-detail-page .supplier-detail{padding-bottom:10px}.supplier-payments-page{overflow:hidden auto}.supplier-payments-page-panel{grid-template-rows:auto auto;align-content:start;gap:9px;height:auto;min-height:100%;display:grid}.supplier-payments-table-card{min-height:0}.supplier-payments-table-card.has-records{align-self:start}.supplier-payments-page .supplier-payment-table-wrap{height:100%;max-height:none}.supplier-payments-page .supplier-payments-table-card.has-records .supplier-payment-table-wrap{height:auto;min-height:0}.supplier-detail-tabs{background:var(--theme-background);border:0;border-radius:4px;align-items:center;gap:2px;padding:2px;display:flex}.supplier-detail-tabs button{min-height:30px;color:var(--theme-text-muted);background:0 0;border-color:#0000;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:4px 9px;font-size:.8rem;font-weight:800;display:inline-flex}.supplier-detail-tabs button:not(.is-active):hover{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-primary-text)}.supplier-detail-tabs button.is-active,.supplier-detail-tabs button.is-active:hover,.supplier-detail-tabs button.is-active:focus-visible{border-color:var(--theme-focus);background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:none}.supplier-detail-tabs button span{background:color-mix(in srgb, var(--theme-surface) 24%, transparent);border-radius:999px;place-items:center;min-width:19px;min-height:19px;padding:1px 5px;font-size:.72rem;display:inline-grid}.supplier-detail-tab-panel{gap:10px;display:grid}.supplier-detail-page .supplier-profile-card,.supplier-detail-page .supplier-payment-form,.supplier-detail-page .supplier-payment-table-wrap,.supplier-detail-page .supplier-history-summary,.supplier-detail-page .supplier-history-table-wrap,.supplier-detail-page .supplier-history-footer{border:1px solid var(--theme-border);background-color:var(--theme-surface)}.supplier-history-pagination{align-items:center;gap:7px;display:flex}.supplier-history-pagination button{min-width:72px}.supplier-payments-heading{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.supplier-payments-heading>div{align-items:center;gap:9px;display:flex}.supplier-payments-heading>div:first-child{gap:2px;display:grid}.supplier-payments-heading span{color:var(--theme-text-muted);font-size:.8rem}.supplier-payments-heading span strong{color:var(--theme-primary-text);margin-left:4px;font-size:.95rem}.supplier-payments-heading button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:36px;display:inline-flex}.supplier-payment-modal-form{gap:10px;display:grid}.supplier-payment-modal-summary{background:var(--theme-background);color:var(--theme-text-muted);border-radius:5px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.supplier-payment-modal-summary strong{color:var(--theme-primary-text)}.supplier-payment-modal-summary small{color:var(--theme-primary-text);font-weight:750}.supplier-payment-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.supplier-payment-modal-grid .field:last-child{grid-column:1/-1}.supplier-payment-modal-grid textarea{resize:vertical;min-height:78px}.supplier-detail-page .supplier-payment-table-wrap,.supplier-detail-page .supplier-history-table-wrap{max-height:none;overflow:auto}.supplier-detail-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-width:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-rows:minmax(0,1fr) auto;display:grid;overflow:hidden}.supplier-detail-table-card .supplier-detail-table-wrap{background:var(--theme-surface);scrollbar-gutter:stable;overscroll-behavior:contain;border:0;min-height:180px;position:relative;overflow:auto}.supplier-detail-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:760px}.supplier-detail-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.supplier-detail-table td{border:0;border-bottom:1px solid var(--theme-border);height:47px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:7px 9px;font-size:.92rem;font-weight:500;line-height:1.5}.supplier-detail-table tbody tr:nth-child(2n){background:var(--theme-surface)}.supplier-detail-table tbody tr:hover{background:var(--theme-background)}.supplier-payment-records-table th:first-child,.supplier-payment-records-table td:first-child{width:16%}.supplier-payment-records-table th:nth-child(2),.supplier-payment-records-table td:nth-child(2){width:22%}.supplier-payment-records-table th:nth-child(3),.supplier-payment-records-table td:nth-child(3){text-align:center;width:14%}.supplier-payment-records-table th:nth-child(4),.supplier-payment-records-table td:nth-child(4){text-align:right;width:15%}.supplier-payment-records-table th:last-child,.supplier-payment-records-table td:last-child{width:var(--table-action-column-width,80px);min-width:var(--table-action-column-width,80px);text-align:center}.supplier-payment-records-table th:nth-child(5),.supplier-payment-records-table td:nth-child(5){width:25%}.supplier-money-cell{font-weight:750;white-space:nowrap!important}.supplier-paid-cell{color:var(--theme-success-text)!important}.supplier-credit-cell{color:var(--theme-danger-text)!important}.supplier-direction-badge,.supplier-method-badge{text-align:center;border-radius:999px;justify-content:center;align-items:center;max-width:100%;min-height:25px;padding:3px 8px;font-size:.77rem;font-weight:750;line-height:1.35;display:inline-flex}.supplier-direction-badge.incoming{background:var(--theme-primary-soft);color:var(--theme-primary-text)}.supplier-direction-badge.outgoing{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.supplier-method-badge{background:var(--theme-info-soft);color:var(--theme-text-muted)}.supplier-detail-table-wrap>.empty-state{background:var(--theme-surface);min-height:180px;color:var(--theme-text-muted);text-align:center;border:0;place-items:center;padding:24px;display:grid}.supplier-detail-table-card .supplier-history-footer{border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:44px;color:var(--theme-text-muted);font-size:inherit;border-radius:0;padding:7px 10px}.supplier-detail{gap:10px;display:grid}.supplier-profile-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 2%, transparent);border-radius:6px;grid-template-columns:minmax(230px,.72fr) minmax(0,2fr);gap:10px;padding:10px;display:grid}.supplier-profile-identity{border-right:1px solid var(--theme-border);background:0 0;align-items:center;gap:10px;min-width:0;padding:6px 10px 6px 2px;display:flex}.supplier-profile-avatar{background:var(--theme-primary-soft);width:44px;height:44px;color:var(--theme-primary-text);border-radius:7px;flex:none;place-items:center;display:grid}.supplier-profile-identity>div{gap:2px;min-width:0;display:grid}.supplier-profile-identity>div>span,.supplier-profile-details>span>span{color:var(--theme-text-muted);font-size:.74rem;font-weight:650}.supplier-profile-name,.supplier-profile-identity p{margin:0}.supplier-profile-name{color:var(--theme-primary-text);overflow-wrap:anywhere;font-size:1.05rem;line-height:1.3}.supplier-profile-identity p{color:var(--theme-text-muted);align-items:center;gap:5px;font-size:.8rem;display:inline-flex}.supplier-profile-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;display:grid}.supplier-profile-details>span{min-width:0;color:var(--theme-text-muted);background:0 0;border:0;border-radius:0;align-items:flex-start;gap:8px;padding:7px 11px;display:flex}.supplier-profile-details>span:nth-child(odd){border-right:1px solid var(--theme-border)}.supplier-profile-details>span:nth-child(n+3){border-top:1px solid var(--theme-border)}.supplier-profile-details>span>svg{flex:none;margin-top:2px}.supplier-profile-details>span>span{gap:2px;min-width:0;display:grid}.supplier-profile-details strong{color:var(--theme-text);overflow-wrap:anywhere;font-weight:600}.supplier-stat-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.supplier-stat-card.credit .product-stat-icon{background:var(--theme-warning-soft);color:var(--theme-warning-text)}.supplier-stat-card.paid .product-stat-icon{background:var(--theme-success-soft);color:var(--theme-success-text)}.supplier-stat-card.refunds .product-stat-icon{background:var(--theme-info-soft);color:var(--theme-text-muted)}.supplier-stat-card.balance .product-stat-icon{background:var(--theme-info-soft);color:var(--theme-info-text)}.supplier-stat-card.count .product-stat-icon{background:var(--theme-background);color:var(--theme-text-muted)}.supplier-payment-form{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:6px;grid-template-columns:minmax(210px,1.2fr) repeat(3,minmax(135px,.8fr)) minmax(180px,1fr) auto;align-items:end;gap:8px;padding:10px;display:grid}.supplier-payment-heading{align-self:center;display:grid}.supplier-payment-heading span{color:var(--theme-text-muted);font-size:.78rem}.supplier-payment-form button{min-height:35px}.supplier-payment-table-wrap{max-height:220px;overflow:auto}.supplier-payment-table-wrap table{width:100%;min-width:680px}.supplier-history-summary{background:var(--theme-background);min-height:40px;color:var(--theme-text-muted);border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;display:flex}.supplier-history-summary strong{color:var(--theme-primary-text);font-size:1.02rem}.supplier-history-table-wrap{min-height:180px;max-height:min(360px,42dvh);position:relative;overflow:auto}.supplier-history-table-wrap table{border-collapse:separate;border-spacing:0;width:100%;min-width:680px}.supplier-history-table-wrap th{z-index:2;background:var(--theme-background);position:sticky;top:0}.supplier-history-loading{z-index:4;background:color-mix(in srgb, var(--theme-surface) 82%, transparent);place-items:center;display:grid;position:absolute;inset:0}.supplier-history-loading .loading-state{margin:0;padding:8px 12px}.supplier-history-footer{border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:42px;color:var(--theme-text-muted);justify-content:space-between;align-items:center;gap:10px;padding:7px 9px;display:flex}.supplier-history-footer button{border-radius:4px;min-height:31px}@media (width>=901px) and (height<=780px){.supplier-table td{height:42px;padding-block:5px}.supplier-toolbar{padding:7px}}@media (width<=900px){.suppliers-layout{height:auto;overflow:visible}.supplier-main-panel{overflow:visible}.supplier-profile-card{grid-template-columns:1fr}.supplier-profile-identity{border-right:0;border-bottom:1px solid var(--theme-border)}.supplier-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-toolbar{grid-template-columns:1fr}.supplier-toolbar-actions{justify-content:flex-end}.supplier-table-card{min-height:560px}.supplier-detail-page{height:auto;overflow:visible}.supplier-detail-page-content{overflow:visible}}@media (width<=620px){.supplier-modal-grid,.supplier-profile-details,.supplier-payment-form,.supplier-history-filter,.supplier-stat-row{grid-template-columns:1fr}.supplier-profile-details>span:nth-child(odd){border-right:0}.supplier-profile-details>span:nth-child(n+2){border-top:1px solid var(--theme-border)}.supplier-modal-grid .field:last-child,.supplier-history-filter-actions{grid-column:auto}.supplier-toolbar-actions,.supplier-modal-footer,.supplier-history-summary,.supplier-history-footer{flex-direction:column;align-items:stretch}.supplier-toolbar-actions button,.supplier-modal-footer button{width:100%}.supplier-detail-page-bar{grid-template-columns:auto minmax(0,1fr) auto}.supplier-detail-page-title{grid-area:1/2}.supplier-detail-back{grid-area:1/1}.supplier-detail-edit{grid-area:1/3}.supplier-detail-tabs{grid-area:2/1/auto/-1;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.supplier-payments-heading,.supplier-payments-heading>div{flex-direction:column;align-items:stretch}.supplier-detail-tabs button{width:100%}.supplier-payment-modal-grid{grid-template-columns:1fr}.supplier-payment-modal-grid .field:last-child{grid-column:auto}.supplier-payment-modal-summary{grid-template-columns:1fr}}.expenses-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.expense-main-panel{grid-template-rows:auto minmax(0,1fr);gap:9px;height:100%;min-height:0;display:grid;overflow:hidden}.expense-overview-actions{align-items:center;gap:7px;display:flex}.mkpos-filter-drawer .expense-filter-card{box-shadow:none;border:0;padding:0}.mkpos-filter-drawer .expense-filter-card input,.mkpos-filter-drawer .expense-filter-card select{width:100%}.expense-overview,.expense-filter-card,.expense-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px}.expense-overview{padding:6px}.expense-overview-heading,.expense-filter-heading,.expense-table-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.expense-overview-heading{min-height:34px;margin-bottom:5px}.expense-overview-heading>div,.expense-table-heading>div{align-items:baseline;gap:9px;min-width:0;display:flex}.expense-overview-heading strong,.expense-table-heading strong{color:var(--theme-text);font-size:.94rem;font-weight:800}.expense-overview-heading span,.expense-table-heading span{color:var(--theme-text-muted);font-size:.81rem}.expense-overview-heading .primary{border-color:var(--theme-border);background:var(--theme-primary);min-height:36px;color:var(--theme-on-primary);white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding-inline:14px;display:inline-flex}.expense-overview-heading .primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.expense-summary-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.expense-summary-row .expense-summary-card{border:0;border-left:3px solid var(--expense-card-accent);background:var(--expense-card-bg);min-height:44px;box-shadow:none;border-radius:5px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;column-gap:7px;padding:5px 8px;display:grid;position:relative;overflow:hidden}.expense-summary-icon{background:var(--expense-icon-bg);border-radius:5px;justify-content:center;align-items:center;width:28px;height:28px;color:var(--expense-card-accent)!important;margin:0!important;display:inline-flex!important}.expense-summary-row .expense-summary-card>span:not(.expense-summary-icon){color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;align-self:center;font-size:.75rem;font-weight:700;line-height:1.2;overflow:hidden}.expense-summary-row .expense-summary-card>strong{color:var(--theme-text);white-space:nowrap;text-overflow:ellipsis;align-self:center;margin:0;font-size:.98rem;line-height:1.15;overflow:hidden}.expense-summary-today{--expense-card-accent:var(--theme-secondary-soft);--expense-card-bg:var(--theme-info-soft);--expense-icon-bg:var(--theme-info-soft)}.expense-summary-month{--expense-card-accent:var(--theme-secondary-soft);--expense-card-bg:var(--theme-primary-soft);--expense-icon-bg:var(--theme-primary-soft)}.expense-summary-filtered{--expense-card-accent:var(--theme-secondary-soft);--expense-card-bg:var(--theme-warning-soft);--expense-icon-bg:var(--theme-warning-soft)}.expense-summary-category{--expense-card-accent:var(--theme-secondary-soft);--expense-card-bg:var(--theme-secondary-soft);--expense-icon-bg:var(--theme-secondary-soft)}.expense-filter-card{gap:9px;min-height:0;padding:9px;display:grid}.expense-filter-heading{min-height:34px}.expense-filter-title{color:var(--theme-text);align-items:center;gap:7px;font-size:.87rem;display:inline-flex}.expense-filter-title svg{color:var(--theme-primary-text)}.expense-quick-ranges{background:var(--theme-background);border-radius:4px;gap:2px;min-height:32px;padding:3px;display:inline-flex}.expense-quick-ranges button{height:28px;min-height:28px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:3px;padding:3px 10px;font-size:.81rem;font-weight:750}.expense-quick-ranges button:hover{background:var(--theme-surface);color:var(--theme-primary-text)}.expense-quick-ranges button.selected{background:var(--theme-surface);color:var(--theme-primary-text);box-shadow:0 1px 3px color-mix(in srgb, var(--theme-shadow) 13%, transparent)}.expense-filter-grid{grid-template-columns:minmax(210px,1.25fr) minmax(145px,.62fr) minmax(145px,.62fr) minmax(125px,.48fr) minmax(125px,.48fr) 82px auto;align-items:end;gap:7px;display:grid}.expense-filter-card .field>span{color:var(--theme-text-muted);font-size:.78rem;font-weight:750}.expense-filter-card input,.expense-filter-card select{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:36px}.expense-filter-card input:focus,.expense-filter-card select:focus{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.expense-search-input{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:4px;align-items:center;min-height:36px;padding-left:10px;color:var(--theme-text-muted)!important;display:flex!important}.expense-search-input:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.expense-search-input input{min-width:0;min-height:34px;box-shadow:none;background:0 0;border:0;padding-left:8px}.expense-search-input input:focus{box-shadow:none;border:0}.expense-filter-actions{justify-content:flex-end;gap:6px;min-width:0;display:flex}.expense-filter-actions button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:5px;height:36px;min-height:36px;display:inline-flex}.expense-filter-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.expense-table-card{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.expense-table-heading{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);min-height:42px;padding:7px 10px}.expense-table-wrap{scrollbar-gutter:stable;background:var(--theme-surface);min-height:0;position:relative;overflow:auto}.expense-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:980px}.expense-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.expense-table td{border:0;border-bottom:1px solid var(--theme-border);height:47px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:7px 9px;font-size:.9rem;line-height:1.5}.expense-table tbody tr:nth-child(2n){background:var(--theme-surface)}.expense-table tbody tr:hover{background:var(--theme-background)}.expense-table td:nth-child(2) strong{color:var(--theme-text);font-size:.94rem}.expense-category-label,.expense-payment-label{border-radius:999px;align-items:center;max-width:100%;min-height:25px;padding:3px 8px;font-size:.79rem;font-weight:700;line-height:1.35;display:inline-flex}.expense-category-label{background:var(--theme-info-soft);color:var(--theme-text-muted)}.expense-payment-label{background:var(--theme-background);color:var(--theme-primary-text)}.expense-amount-cell{font-weight:800;color:var(--theme-danger-text)!important;white-space:nowrap!important}.expense-row-actions{justify-content:center;gap:5px;display:flex}.expense-row-actions button{border-color:var(--theme-border);background:var(--theme-surface);width:31px;min-width:31px;height:31px;min-height:31px;color:var(--theme-text-muted);border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.expense-row-actions button:hover{border-color:var(--theme-border);background:var(--theme-background)}.expense-row-actions .danger-button{border-color:var(--theme-border);color:var(--theme-danger-text)}.expense-table-wrap>.empty-state{background:var(--theme-surface);min-height:180px;color:var(--theme-text-muted);text-align:center;border:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex;position:absolute;inset:40px 0 0}.expense-table-wrap>.empty-state>strong{color:var(--theme-text);font-size:.98rem}.expense-table-wrap>.empty-state>span:not(.expense-empty-icon){font-size:.84rem}.expense-empty-icon{background:var(--theme-background);width:46px;height:46px;color:var(--theme-primary-text);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.expense-table-wrap>.empty-state button{border-color:var(--theme-border);background:var(--theme-primary);min-height:34px;color:var(--theme-on-primary);border-radius:4px;justify-content:center;align-items:center;gap:5px;margin-top:3px;display:inline-flex}.expense-table-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:38px;color:var(--theme-text-muted);padding:6px 9px;font-size:.83rem}.expense-modal-form{gap:10px}.expense-modal-form input,.expense-modal-form select{background:var(--theme-surface);border-radius:4px;min-height:38px}.expense-modal-form .expense-form-actions{border-top:1px solid var(--theme-border);background:var(--theme-background);margin:4px -12px -12px;padding:10px 12px}@media (width<=1399px){.expense-filter-grid{grid-template-columns:minmax(200px,1.2fr) repeat(2,minmax(130px,.6fr)) repeat(2,minmax(120px,.5fr)) 78px}.expense-filter-actions{grid-column:1/-1}}@media (width<=1023px){.expenses-layout,.expense-main-panel{height:auto;overflow:visible}.expense-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-filter-heading{flex-direction:column;align-items:flex-start}.expense-quick-ranges{max-width:100%;overflow-x:auto}.expense-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-table-card{min-height:min(460px,62dvh)}}@media (width<=720px){.expense-overview-heading,.expense-overview-heading>div,.expense-table-heading>div{flex-direction:column;align-items:stretch}.expense-overview-heading .primary,.expense-overview-actions .filter-drawer-trigger{width:100%}.expense-summary-row,.expense-filter-grid{grid-template-columns:1fr}.expense-filter-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}}.customers-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.customer-main-panel{height:100%;min-height:0;box-shadow:none;background:0 0;border:0;grid-template-rows:auto auto minmax(0,1fr);gap:9px;padding:0;display:grid;overflow:hidden}.customer-overview,.customer-toolbar,.customer-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px}.customer-overview{grid-template-columns:minmax(220px,.8fr) minmax(600px,3fr);align-items:center;gap:10px;padding:7px 8px;display:grid}.customer-overview-heading,.customer-table-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-overview-heading{flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-width:0;display:flex}.customer-table-heading>div{align-items:baseline;gap:9px;min-width:0;display:flex}.customer-overview-heading strong,.customer-table-heading strong{color:var(--theme-text);font-size:.94rem;font-weight:800}.customer-overview-heading span,.customer-table-heading span{color:var(--theme-text-muted);font-size:.81rem}.customer-toolbar>.primary{border-color:var(--theme-border);background:var(--theme-primary);min-height:36px;color:var(--theme-on-primary);white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding-inline:14px;display:inline-flex}.customer-toolbar>.primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.customer-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.customer-metric{--metric-accent:var(--theme-secondary-soft);--metric-bg:var(--theme-primary-soft);--metric-icon:var(--theme-primary-soft);border-left:3px solid var(--metric-accent);background:var(--metric-bg);border-radius:5px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;column-gap:7px;min-height:44px;padding:5px 8px;display:grid;overflow:hidden}.customer-metric-icon{background:var(--metric-icon);width:28px;height:28px;color:var(--metric-accent);border-radius:5px;justify-content:center;align-items:center;display:inline-flex}.customer-metric>span:not(.customer-metric-icon){color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;align-self:center;font-size:.75rem;font-weight:700;line-height:1.2;overflow:hidden}.customer-metric>strong{color:var(--theme-text);white-space:nowrap;text-overflow:ellipsis;align-self:center;margin:0;font-size:.98rem;line-height:1.15;overflow:hidden}.customer-metric-total{--metric-accent:var(--theme-secondary-soft);--metric-bg:var(--theme-info-soft);--metric-icon:var(--theme-info-soft)}.customer-metric-receivable{--metric-accent:var(--theme-secondary-soft);--metric-bg:var(--theme-danger-soft);--metric-icon:var(--theme-danger-soft)}.customer-metric-payable{--metric-accent:var(--theme-secondary-soft);--metric-bg:var(--theme-info-soft);--metric-icon:var(--theme-info-soft)}.customer-metric-open{--metric-accent:var(--theme-secondary-soft);--metric-bg:var(--theme-primary-soft);--metric-icon:var(--theme-primary-soft)}.customer-toolbar{align-items:center;gap:8px;min-height:54px;padding:8px;display:flex}.customer-search-form{grid-template-columns:minmax(260px,440px) auto auto;gap:7px;width:max-content;min-width:0;max-width:100%;display:grid}.customer-toolbar>.csv-export-button,.customer-toolbar>.customer-add-action{white-space:nowrap;flex:none}.customer-search-form .product-search-field{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:36px}.customer-search-form .product-search-field:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.customer-search-form button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;height:36px;min-height:36px;display:inline-flex}.customer-search-form .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.customer-table-card{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.customer-table-heading{border-bottom:1px solid var(--theme-border);min-height:42px;padding:7px 10px}.customer-table-wrap{scrollbar-gutter:stable;background:var(--theme-surface);min-height:0;position:relative;overflow:auto}.customer-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:920px}.customer-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.customer-table td{border:0;border-bottom:1px solid var(--theme-border);height:49px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:7px 9px;font-size:.9rem;font-weight:500;line-height:1.5}.customer-table tbody tr:nth-child(2n){background:var(--theme-surface)}.customer-table tbody tr:hover{background:var(--theme-background)}.customer-table th:first-child,.customer-table td:first-child{width:24%}.customer-table th:nth-child(2),.customer-table td:nth-child(2){width:16%}.customer-table th:nth-child(3),.customer-table td:nth-child(3){width:18%}.customer-table th:nth-child(4),.customer-table td:nth-child(4){width:28%}.customer-table th:last-child,.customer-table td:last-child{text-align:center;width:14%}.customer-name-cell{align-items:center;gap:8px;min-width:0;display:flex}.customer-name-cell>strong{min-width:0;color:var(--theme-text);overflow-wrap:anywhere;font-size:.96rem;line-height:1.5}.customer-avatar{background:var(--theme-background);width:30px;height:30px;color:var(--theme-primary-text);border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;display:inline-flex}.customer-balance{border-radius:4px;gap:1px;min-width:96px;padding:3px 8px;display:inline-grid}.customer-balance strong{white-space:nowrap;font-size:.9rem;line-height:1.35}.customer-balance small{font-size:.7rem;font-weight:700;line-height:1.25}.customer-balance-due{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.customer-balance-payable{background:var(--theme-info-soft);color:var(--theme-text-muted)}.customer-balance-settled{background:var(--theme-primary-soft);color:var(--theme-primary-text)}.customer-row-actions{justify-content:center;gap:5px;display:flex}.customer-row-actions button{border-color:var(--theme-border);background:var(--theme-surface);min-width:31px;min-height:31px;color:var(--theme-text-muted);border-radius:4px;justify-content:center;align-items:center;padding:0 7px;display:inline-flex}.customer-row-actions button:first-child{min-width:52px;color:var(--theme-primary-text);font-weight:750}.customer-row-actions button:hover{border-color:var(--theme-border);background:var(--theme-background)}.customer-row-actions .danger-button{border-color:var(--theme-border);color:var(--theme-danger-text)}.customer-table-wrap>.empty-state{background:var(--theme-surface);min-height:180px;color:var(--theme-text-muted);text-align:center;border:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex;position:absolute;inset:40px 0 0}.customer-table-wrap>.empty-state>strong{color:var(--theme-text);font-size:.98rem}.customer-table-wrap>.empty-state>span:not(.customer-empty-icon){font-size:.84rem}.customer-empty-icon{background:var(--theme-background);width:46px;height:46px;color:var(--theme-primary-text);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.customer-table-wrap>.empty-state button{border-color:var(--theme-border);background:var(--theme-primary);min-height:34px;color:var(--theme-on-primary);border-radius:4px;justify-content:center;align-items:center;gap:5px;margin-top:3px;display:inline-flex}.customer-table-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:39px;color:var(--theme-text-muted);padding:6px 9px;font-size:.83rem}.customer-pagination button{border-radius:4px;min-width:56px;min-height:31px}.customer-modal-form input,.customer-modal-form textarea,.customer-detail-filter input,.customer-detail-filter select,.customer-payment-form input,.customer-payment-form select{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px}.customer-modal-form input:focus,.customer-modal-form textarea:focus,.customer-detail-filter input:focus,.customer-detail-filter select:focus,.customer-payment-form input:focus,.customer-payment-form select:focus{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.customer-modal-actions{border-top:1px solid var(--theme-border);background:var(--theme-background);margin:4px -12px -12px;padding:10px 12px}.customer-account-page{height:auto;min-height:0;display:block;overflow:visible}.customer-account-back,.customer-account-page-actions button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:34px;display:inline-flex}.customer-account-back{padding-inline:8px}.customer-account-page-actions{gap:7px;display:flex}.customer-account-page-content{flex-direction:column;gap:9px;min-height:0;padding-right:2px;display:flex;overflow:visible}.customer-account-loading{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;place-items:center;min-height:280px;display:grid}.customer-account-overview{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;overflow:hidden}.customer-account-profile{grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;display:grid}.customer-account-avatar{background:var(--theme-background);width:40px;height:40px;color:var(--theme-primary-text);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.customer-account-contact{grid-template-columns:repeat(2,minmax(0,max-content));gap:2px 14px;min-width:0;display:grid}.customer-account-contact>div{grid-column:1/-1;align-items:center;gap:7px;min-width:0;display:flex}.customer-account-contact h2{color:var(--theme-text);margin:0;font-size:1rem;line-height:1.25}.customer-account-contact>span{min-width:0;color:var(--theme-text-muted);align-items:center;gap:5px;font-size:.8rem;display:inline-flex}.customer-account-status{background:var(--theme-primary-soft);color:var(--theme-primary-text);border-radius:999px;flex:none;padding:2px 6px;font-size:.67rem;font-weight:750}.customer-account-status.is-receivable{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.customer-account-status.is-payable{background:var(--theme-info-soft);color:var(--theme-text-muted)}.customer-account-summary{border-top:1px solid var(--theme-border);background:var(--theme-background);gap:0}.customer-account-summary span{border:0;border-right:1px solid var(--theme-border);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:6px 10px;font-size:.78rem}.customer-account-summary span:last-child{border-right:0}.customer-account-summary strong{font-size:.92rem}.customer-account-workspace{align-items:start;gap:9px;min-height:0;display:flex}.customer-account-activity{flex:auto;min-width:0}.customer-account-sidebar{flex:0 0 330px;min-width:0}.customer-account-activity>*+*,.customer-account-sidebar>*+*{margin-top:9px}.customer-account-section,.customer-history-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px}.customer-account-section-heading{border-bottom:1px solid var(--theme-border);background:var(--theme-background);min-height:42px;padding:7px 9px}.customer-account-section-heading>div{color:var(--theme-primary-text);align-items:center;gap:7px;display:flex}.customer-account-section-heading span{gap:1px;display:grid}.customer-account-section-heading strong{color:var(--theme-primary-text);font-size:.9rem}.customer-account-section-heading small{color:var(--theme-text-muted);font-size:.72rem;font-weight:500}.customer-account-filter-section .customer-detail-filter{background:var(--theme-surface);border:0;border-radius:0;margin:0}.customer-payment-section .customer-payment-form{background:var(--theme-surface);border:0;border-radius:0;grid-template-columns:1fr;margin:0;padding:9px}.customer-payment-section .customer-payment-actions{grid-template-columns:.65fr 1fr;display:grid}.customer-payment-section .customer-payment-actions button{min-height:34px}.customer-account-note p{color:var(--theme-text-muted);white-space:pre-wrap;margin:0;padding:10px;font-size:.82rem;line-height:1.55}.customer-account-inline-loading{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;padding:6px}.customer-account-inline-loading .loading-state{margin:0}.customer-account-page .customer-history-grid{display:block}.customer-account-page .customer-history-card{height:auto;min-height:210px;display:block;overflow:visible}.customer-account-page .customer-history-card+.customer-history-card{margin-top:9px}.customer-account-page .customer-history-table{overscroll-behavior-x:contain;flex:none;min-height:0;overflow:auto visible;overscroll-behavior-y:auto!important}.customer-account-page .customer-history-title{border-radius:0}.customer-account-page .customer-history-empty-row td{height:120px;color:var(--theme-text-muted);text-align:center;vertical-align:middle}@media (width<=1100px){.customer-account-workspace{flex-direction:column}.customer-account-activity,.customer-account-sidebar{flex:none;width:100%}.customer-account-sidebar{grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr);gap:9px;display:grid}.customer-account-sidebar>*+*{margin-top:0}.customer-account-profile{grid-template-columns:auto auto minmax(0,1fr)}.customer-account-page-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;display:grid}}@media (width<=1023px){.customers-layout,.customer-main-panel{height:auto;overflow:visible}.customer-table-card{min-height:min(480px,64dvh)}.customer-toolbar{grid-template-columns:1fr;display:grid}.customer-search-form{grid-template-columns:1fr;width:100%}.customer-overview{grid-template-columns:1fr}.customer-metric-grid{grid-column:1}.customer-account-page{height:auto;overflow:visible}.customer-account-page-content{overflow:visible}}@media (width<=720px){.customer-overview-heading,.customer-table-heading>div{flex-direction:column;align-items:stretch}.customer-metric-grid{grid-area:2/1;grid-template-columns:repeat(4,minmax(190px,1fr));padding-bottom:2px;overflow-x:auto}.customer-account-sidebar{grid-template-columns:1fr}.customer-account-profile{grid-template-columns:auto minmax(0,1fr)}.customer-account-back{grid-column:1/-1;justify-self:start}.customer-account-contact{grid-template-columns:1fr}.customer-account-contact>div,.customer-account-contact>span{grid-column:1}.customer-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-account-summary span:nth-child(2){border-right:0}.customer-account-summary span:nth-child(-n+2){border-bottom:1px solid var(--theme-border)}.customer-account-filter-section .customer-detail-filter{grid-template-columns:1fr}.customer-detail-filter-actions{grid-template-columns:1fr 1fr;display:grid}}.customer-index-table th:first-child,.customer-index-table td:first-child{width:15%}.customer-index-table th:nth-child(2),.customer-index-table td:nth-child(2){width:12%}.customer-index-table th:nth-child(3),.customer-index-table td:nth-child(3){width:20%}.customer-index-table th:nth-child(4),.customer-index-table td:nth-child(4){width:17%}.customer-index-table th:nth-child(5),.customer-index-table td:nth-child(5){text-align:center;width:8%}.customer-index-table th:nth-child(6),.customer-index-table td:nth-child(6){text-align:right;white-space:nowrap;width:11%}.customer-index-table th:nth-child(7),.customer-index-table td:nth-child(7){text-align:center;width:11%}.customer-index-table th:nth-child(8),.customer-index-table td:nth-child(8){text-align:center;width:6%}.customer-detail-page .customer-sale-history-card{min-height:0}.customer-detail-page .customer-sale-history-card .transaction-table-wrap{min-height:180px}.customer-profile-card .supplier-profile-avatar{background:var(--theme-info-soft);color:var(--theme-info-text)}.customer-contact-email{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:11px;display:block}.transactions-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.transaction-main-panel{height:100%;min-height:0;box-shadow:none;background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);gap:9px;padding:0;display:grid;overflow:hidden}.transaction-page-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.transaction-sale-edit-modal .mkpos-modal-footer{padding:0;display:block}.transaction-sale-edit-footer{width:100%;display:grid}.transaction-sale-edit-summary{background:var(--theme-surface);justify-content:flex-end;align-items:stretch;min-width:0;min-height:50px;padding:8px 12px;display:flex;overflow-x:auto}.transaction-sale-edit-summary>span{border-left:1px solid var(--theme-border);min-width:max-content;color:var(--theme-text-muted);align-items:center;gap:8px;padding:6px 14px;display:inline-flex}.transaction-sale-edit-summary strong{color:var(--theme-text);font-variant-numeric:tabular-nums}.transaction-sale-edit-summary .total{background:var(--theme-primary-soft);color:var(--theme-primary-text);border:0;border-radius:5px;margin-left:10px}.transaction-sale-edit-summary .total strong{color:var(--theme-primary-text);font-size:1.08rem}.transaction-sale-edit-actions{border-top:1px solid var(--theme-border);background:var(--theme-surface);justify-content:flex-end;gap:9px;padding:9px 12px;display:flex}.transaction-sale-basic-section{gap:8px;min-width:0;display:grid}.transaction-sale-payment-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;display:grid}.transaction-sale-admin-pin{width:min(100%,420px)}.transaction-sale-edit-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1040px}.transaction-sale-edit-table .sale-edit-product-column{width:17%}.transaction-sale-edit-table .sale-edit-unit-column{width:8%}.transaction-sale-edit-table .sale-edit-type-column,.transaction-sale-edit-table .sale-edit-quantity-column,.transaction-sale-edit-table .sale-edit-foc-column{width:13%}.transaction-sale-edit-table .sale-edit-price-column{width:15%}.transaction-sale-edit-table .sale-edit-total-column{width:14%}.transaction-sale-edit-table .table-action-column{width:52px}.transaction-sale-edit-table th,.transaction-sale-edit-table td{vertical-align:middle;border-right:1px solid var(--theme-border)!important;border-bottom:1px solid var(--theme-border)!important}.desktop-workspace .transaction-sale-edit-table thead th{height:34px!important;padding:4px 8px!important}.desktop-workspace .transaction-sale-edit-table .sale-edit-add-item-heading th{z-index:4;text-align:right;top:0;background:var(--theme-surface)!important;border-right:0!important;height:32px!important;padding:2px 6px!important}.transaction-sale-edit-table .sale-edit-add-item-heading button{min-height:28px;color:var(--brand,var(--theme-primary-text));font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:5px;padding:3px 7px;font-weight:700;display:inline-flex}.transaction-sale-edit-table .sale-edit-add-item-heading button:hover:not(:disabled){background:color-mix(in srgb, var(--theme-primary) 8%, transparent)}.transaction-sale-edit-table .sale-edit-add-item-heading button:disabled{opacity:.45;cursor:default}.desktop-workspace .transaction-sale-edit-table .sale-edit-column-heading th{top:32px}.desktop-workspace .transaction-sale-edit-table tbody td{height:36px!important;min-height:36px!important;padding:4px 8px!important}.transaction-sale-edit-table th:last-child,.transaction-sale-edit-table td:last-child{border-right:0!important}.transaction-sale-edit-table th:nth-child(2),.transaction-sale-edit-table td:nth-child(2){white-space:nowrap}.transaction-sale-edit-table th:nth-child(7),.transaction-sale-edit-table td:nth-child(7){text-align:right;white-space:nowrap}.transaction-sale-edit-table th:last-child,.transaction-sale-edit-table td:last-child{text-align:center}.transaction-sale-edit-table .sale-edit-remove-item,.transaction-sale-edit-table .sale-edit-cancel-item{border-radius:4px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:inline-grid}.desktop-workspace .transaction-sale-edit-table tbody td.sale-edit-new-product-cell{padding:0!important}.desktop-workspace .transaction-sale-edit-table .sale-edit-new-product-cell .remote-combobox{height:36px;min-height:36px;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.desktop-workspace .transaction-sale-edit-table .sale-edit-new-product-cell .remote-combobox:focus-within{box-shadow:none!important;border:0!important}.desktop-workspace .transaction-sale-edit-table .sale-edit-new-product-cell:hover{background:color-mix(in srgb, var(--theme-primary) 4.5%, transparent)}.desktop-workspace .transaction-sale-edit-table .sale-edit-new-product-cell:focus-within{background:color-mix(in srgb, var(--theme-primary) 6.5%, transparent);box-shadow:inset 0 -2px 0 var(--brand,var(--theme-shadow))}.transaction-sale-edit-table .sale-edit-new-item-row td:not(:first-child):not(:last-child){color:var(--theme-text-muted);text-align:center}.transaction-sale-edit-table input,.transaction-sale-edit-table select{width:100%;min-width:0}.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(3),.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(4),.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(5),.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(6){padding:0!important}.desktop-workspace .transaction-sale-edit-table tbody td :is(input,select){font-variant-numeric:tabular-nums;outline:0;height:36px;min-height:36px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;padding:0 8px!important}.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(3):hover,.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(4):hover,.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(5):hover,.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(6):hover{background:color-mix(in srgb, var(--theme-primary) 4.5%, transparent)}.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(3):focus-within,.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(4):focus-within,.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(5):focus-within,.desktop-workspace .transaction-sale-edit-table tbody td:nth-child(6):focus-within{background:color-mix(in srgb, var(--theme-primary) 6.5%, transparent);box-shadow:inset 0 -2px 0 var(--brand,var(--theme-shadow))}.desktop-workspace .transaction-sale-edit-table tbody td :is(input,select):focus,.desktop-workspace .transaction-sale-edit-table tbody td :is(input,select):focus-visible{outline:0;box-shadow:none!important;background:0 0!important;border:0!important}.transaction-sale-edit-table input[type=number]{appearance:textfield}.transaction-sale-edit-table input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.transaction-sale-edit-table input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.mkpos-filter-drawer .transaction-filter{height:100%;min-height:0;box-shadow:none;border:0;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:0}.transaction-filter-drawer .mkpos-filter-drawer-body{min-height:0;overflow:hidden}.mkpos-filter-drawer .transaction-filter-heading{display:block}.mkpos-filter-drawer .transaction-filter-title{display:none}.mkpos-filter-drawer .transaction-quick-ranges{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;display:grid}.mkpos-filter-drawer .transaction-quick-ranges button{white-space:nowrap;min-width:0;padding-inline:4px}.mkpos-filter-drawer .transaction-filter-grid{scrollbar-width:thin;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;min-height:0;padding-right:3px;overflow:hidden auto}.mkpos-filter-drawer .transaction-filter-grid>.field{min-width:0}.mkpos-filter-drawer .transaction-filter-grid>.field:first-child{grid-column:1/-1}.mkpos-filter-drawer .transaction-filter input,.mkpos-filter-drawer .transaction-filter select{width:100%}.mkpos-filter-drawer .transaction-filter-actions{position:static}.transaction-tabs{background:var(--theme-background);border-radius:5px;justify-self:start;gap:3px;padding:3px;display:inline-flex}.transaction-tabs button{min-width:154px;min-height:37px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:3px;justify-content:center;align-items:center;gap:7px;padding:5px 13px;font-weight:800;display:inline-flex}.transaction-tabs button:hover{background:var(--theme-background)}.transaction-tabs button.selected{background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:0 1px 4px color-mix(in srgb, var(--theme-shadow) 18%, transparent)}.transaction-tabs button small{background:color-mix(in srgb, var(--theme-primary) 10%, transparent);min-width:20px;height:20px;color:var(--theme-text-muted);border-radius:10px;justify-content:center;align-items:center;padding:0 5px;font-size:.71rem;display:inline-flex}.transaction-tabs button.selected small{background:color-mix(in srgb, var(--theme-surface) 18%, transparent);color:var(--theme-on-primary)}.transaction-filter,.transaction-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px}.transaction-filter{gap:9px;min-height:0;padding:9px;display:grid}.transaction-filter-heading,.transaction-table-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.transaction-filter-title{color:var(--theme-text);align-items:center;gap:7px;font-size:.87rem;display:inline-flex}.transaction-filter-title svg{color:var(--theme-primary-text)}.transaction-quick-ranges{background:var(--theme-background);border-radius:4px;gap:2px;min-height:32px;padding:3px;display:inline-flex}.transaction-quick-ranges button{height:28px;min-height:28px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:3px;padding:3px 10px;font-size:.81rem;font-weight:750}.transaction-quick-ranges button:hover{background:var(--theme-surface);color:var(--theme-primary-text)}.transaction-quick-ranges button.selected{background:var(--theme-surface);color:var(--theme-primary-text);box-shadow:0 1px 3px color-mix(in srgb, var(--theme-shadow) 13%, transparent)}.transaction-filter-grid{grid-template-columns:minmax(220px,1.25fr) repeat(2,minmax(125px,.5fr)) minmax(118px,.48fr) minmax(145px,.58fr) 82px auto;align-items:end;gap:7px;display:grid}.transaction-filter .field>span{color:var(--theme-text-muted);font-size:.78rem;font-weight:750}.transaction-filter input,.transaction-filter select{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:36px}.transaction-filter input:focus,.transaction-filter select:focus{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.transaction-search-input{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:4px;align-items:center;min-height:36px;padding-left:10px;color:var(--theme-text-muted)!important;display:flex!important}.transaction-search-input:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.transaction-search-input input,.transaction-search-input input:focus{min-width:0;min-height:34px;box-shadow:none;background:0 0;border:0;padding-left:8px}.transaction-filter-actions{justify-content:flex-end;gap:6px;min-width:0;display:flex}.transaction-filter-actions button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:5px;width:auto;height:36px;min-height:36px;padding-inline:10px;display:inline-flex}.transaction-filter-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.transaction-table-card{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.transaction-table-heading{border-bottom:1px solid var(--theme-border);min-height:46px;padding:7px 10px}.transaction-table-heading>div:first-child{align-items:baseline;gap:9px;min-width:0;display:flex}.transaction-table-heading>div:first-child strong{color:var(--theme-text);font-size:.94rem;font-weight:800}.transaction-table-heading>div:first-child span{color:var(--theme-text-muted);font-size:.81rem}.transaction-loaded-summary{justify-content:flex-end;align-items:center;gap:6px;display:flex}.transaction-loaded-summary>span{background:var(--theme-background);min-height:28px;color:var(--theme-text-muted);white-space:nowrap;border-radius:4px;align-items:baseline;gap:5px;padding:4px 8px;font-size:.76rem;display:inline-flex}.transaction-loaded-summary strong{color:var(--theme-primary-text);font-size:.84rem}.transaction-loaded-summary .is-credit{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.transaction-loaded-summary .is-credit strong{color:var(--theme-danger-text)}.transaction-table-wrap{scrollbar-gutter:stable;overscroll-behavior:contain;background:var(--theme-surface);min-height:0;position:relative;overflow:auto}.transaction-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:1080px}.transaction-table thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);text-align:left;padding:7px 9px;font-size:.84rem;font-weight:800;position:sticky;top:0}.transaction-table td{border:0;border-bottom:1px solid var(--theme-border);height:47px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:7px 9px;font-size:.9rem;line-height:1.5}.transaction-table tbody tr:nth-child(2n){background:var(--theme-surface)}.transaction-table tbody tr:hover{background:var(--theme-background)}.transaction-table-footer .table-refresh-status{color:var(--theme-text-muted);margin-inline-start:12px;font-size:.78rem;display:inline-block}.transaction-table-sales th:first-child,.transaction-table-sales td:first-child{width:10%}.transaction-table-sales th:nth-child(2),.transaction-table-sales td:nth-child(2){width:12%}.transaction-table-sales th:nth-child(3),.transaction-table-sales td:nth-child(3){width:13%}.transaction-table-sales th:nth-child(4),.transaction-table-sales td:nth-child(4){text-align:center;width:9%}.transaction-table-sales th:nth-child(5),.transaction-table-sales td:nth-child(5){text-align:center;width:10%}.transaction-table-sales th:nth-child(6),.transaction-table-sales td:nth-child(6),.transaction-table-sales th:nth-child(7),.transaction-table-sales td:nth-child(7),.transaction-table-sales th:nth-child(8),.transaction-table-sales td:nth-child(8){text-align:right;width:9%}.transaction-table-sales th:last-child,.transaction-table-sales td:last-child{text-align:center;width:19%}.transaction-table-payments{min-width:880px}.transaction-table-payments th:first-child,.transaction-table-payments td:first-child{width:11%}.transaction-table-payments th:nth-child(2),.transaction-table-payments td:nth-child(2),.transaction-table-payments th:nth-child(3),.transaction-table-payments td:nth-child(3){width:18%}.transaction-table-payments th:nth-child(4),.transaction-table-payments td:nth-child(4){text-align:center;width:12%}.transaction-table-payments th:nth-child(5),.transaction-table-payments td:nth-child(5){text-align:right;width:14%}.transaction-table-payments th:nth-child(6),.transaction-table-payments td:nth-child(6){width:12%}.transaction-table-payments th:last-child,.transaction-table-payments td:last-child{text-align:center;width:15%}.transaction-table-purchases{min-width:780px}.transaction-table-purchases th:first-child,.transaction-table-purchases td:first-child{width:13%}.transaction-table-purchases th:nth-child(2),.transaction-table-purchases td:nth-child(2){width:25%}.transaction-table-purchases th:nth-child(3),.transaction-table-purchases td:nth-child(3),.transaction-table-purchases th:nth-child(4),.transaction-table-purchases td:nth-child(4){text-align:right;width:13%}.transaction-table-purchases th:nth-child(5),.transaction-table-purchases td:nth-child(5){text-align:right;width:11%}.transaction-table-purchases th:nth-child(6),.transaction-table-purchases td:nth-child(6){text-align:center;width:9%}.transaction-table-purchases th:last-child,.transaction-table-purchases td:last-child{text-align:center;width:16%}.transaction-reference{color:var(--theme-primary-text);font-size:.91rem;font-weight:800}.transaction-type-badge,.transaction-direction-badge,.transaction-method-badge{text-align:center;border-radius:999px;justify-content:center;align-items:center;gap:5px;max-width:100%;min-height:25px;padding:3px 8px;font-size:.77rem;font-weight:750;line-height:1.35;display:inline-flex}.transaction-type-badge.paid,.transaction-direction-badge.incoming{background:var(--theme-success-soft);color:var(--theme-success-text)}.transaction-type-badge.credit,.transaction-direction-badge.outgoing{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.transaction-method-badge{background:var(--theme-info-soft);color:var(--theme-text-muted);justify-content:center}.transaction-money-cell{font-weight:750;white-space:nowrap!important}.transaction-paid-cell{color:var(--theme-success-text)!important}.transaction-credit-cell{color:var(--theme-danger-text)!important}.transaction-row-actions{justify-content:center;gap:5px;display:flex}.transaction-row-actions button{border-color:var(--theme-border);background:var(--theme-surface);min-width:31px;min-height:31px;color:var(--theme-text-muted);border-radius:4px;justify-content:center;align-items:center;padding:0 7px;display:inline-flex}.transaction-row-actions button:first-child{min-width:52px;color:var(--theme-primary-text);font-weight:750}.transaction-row-actions button:hover{border-color:var(--theme-border);background:var(--theme-background)}.transaction-row-actions .danger-button{border-color:var(--theme-border);color:var(--theme-danger-text)}.transaction-table-wrap>.empty-state{background:var(--theme-surface);min-height:180px;color:var(--theme-text-muted);text-align:center;border:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex;position:absolute;inset:40px 0 0}.transaction-table-wrap>.empty-state>strong{color:var(--theme-text);font-size:.98rem}.transaction-table-wrap>.empty-state>span:not(.transaction-empty-icon){font-size:.84rem}.transaction-empty-icon{background:var(--theme-background);width:46px;height:46px;color:var(--theme-primary-text);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.transaction-table-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:39px;color:var(--theme-text-muted);padding:6px 9px;font-size:.83rem}.transaction-table-footer button{border-radius:4px;min-height:31px}@media (width<=1399px){.transaction-filter-grid{grid-template-columns:minmax(210px,1.2fr) repeat(2,minmax(125px,.5fr)) minmax(115px,.48fr) minmax(140px,.58fr) 78px}.transaction-filter-actions{grid-column:1/-1}}@media (width<=1023px){.transactions-layout,.transaction-main-panel{height:auto;overflow:visible}.transaction-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.transaction-tabs button{min-width:0}.transaction-sale-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.transaction-page-toolbar{flex-direction:column;align-items:stretch}.transaction-page-toolbar>.filter-drawer-trigger{align-self:flex-end}.transaction-filter-heading,.transaction-table-heading{flex-direction:column;align-items:flex-start}.transaction-quick-ranges{max-width:100%;overflow-x:auto}.transaction-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.transaction-loaded-summary{flex-wrap:wrap;justify-content:flex-start}.transaction-table-card{min-height:min(480px,64dvh)}}@media (width<=720px){.transaction-sale-payment-grid{grid-template-columns:1fr}.transaction-sale-admin-pin{width:100%}.desktop-workspace .transaction-sale-edit-table tbody td,.desktop-workspace .transaction-sale-edit-table tbody td :is(input,select){height:40px!important;min-height:40px!important}.transaction-sale-edit-table .sale-edit-remove-item,.transaction-sale-edit-table .sale-edit-cancel-item{width:40px;min-width:40px;height:40px;min-height:40px}.desktop-workspace .transaction-sale-edit-table .sale-edit-new-product-cell .remote-combobox{height:40px;min-height:40px}.transaction-tabs,.transaction-filter-grid{grid-template-columns:1fr}.transaction-filter-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}}.transaction-online-badge{color:var(--primary,var(--theme-success-text));background:var(--primary-soft,var(--theme-success-soft));margin:4px 0 0 6px;display:inline-flex}.reports-layout{height:var(--mkpos-screen-height);min-height:0;overflow:hidden}.report-main-panel{grid-auto-rows:max-content;align-content:start;gap:6px;height:100%;min-height:0;display:grid;overflow:hidden auto}.report-filter-card,.report-period-section,.report-account-section,.report-inventory-section,.report-overview,.report-panel{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:6px}.report-period-section,.report-account-section,.report-inventory-section{min-width:0;overflow:hidden}.report-movement-grid{border-top:1px solid var(--theme-border);background:var(--theme-surface-muted);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid}.report-movement-grid>div{background:var(--theme-surface);gap:2px;min-width:0;padding:8px 10px;display:grid}.report-movement-grid span{color:var(--theme-text-muted);font-size:.73rem;font-weight:700}.report-movement-grid strong{color:var(--theme-text);font-size:.96rem;line-height:1.35}.report-movement-grid .is-cash,.report-movement-grid .is-net{background:var(--theme-primary-soft)}.report-movement-grid .is-negative{background:var(--theme-danger-soft)}.report-movement-grid .is-negative strong{color:var(--theme-danger-text)}@media (width<=1199px){.report-movement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-section-heading{border-bottom:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:7px 10px;display:flex}.report-section-heading>span:first-child{color:var(--theme-primary-text);align-items:center;gap:7px;display:inline-flex}.report-section-heading strong{font-size:.88rem}.report-period-range{color:var(--theme-text-muted);white-space:nowrap;align-items:center;gap:4px;font-size:.76rem;font-weight:650;display:inline-flex}.report-period-range i{font-style:normal}.report-filter-card{gap:9px;min-height:0;padding:9px;display:grid}.report-filter-heading{justify-content:space-between;align-items:center;gap:12px;min-height:34px;display:flex}.report-filter-title{color:var(--theme-text);align-items:center;gap:7px;font-size:.87rem;display:inline-flex}.report-filter-title svg{color:var(--theme-primary-text)}.report-quick-ranges{background:var(--theme-background);border-radius:4px;gap:2px;min-height:32px;padding:3px;display:inline-flex}.report-quick-ranges button{height:28px;min-height:28px;color:var(--theme-text-muted);background:0 0;border:0;border-radius:3px;padding:3px 10px;font-size:.81rem;font-weight:750}.report-quick-ranges button:hover{background:var(--theme-surface);color:var(--theme-primary-text)}.report-quick-ranges button.selected{background:var(--theme-surface);color:var(--theme-primary-text);box-shadow:0 1px 3px color-mix(in srgb, var(--theme-shadow) 13%, transparent)}.report-filter-grid{grid-template-columns:minmax(170px,.45fr) minmax(170px,.45fr) minmax(0,1fr);align-items:end;gap:8px;display:grid}.report-filter-card .field>span{color:var(--theme-text-muted);font-size:.78rem;font-weight:750}.report-filter-card input{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:36px}.report-filter-card input:focus{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.report-filter-actions{justify-content:flex-end;gap:6px;min-width:0;display:flex}.report-filter-actions button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:5px;height:36px;min-height:36px;padding-inline:11px;display:inline-flex}.report-filter-actions .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.report-overview{grid-template-columns:minmax(230px,.55fr) minmax(0,1.7fr);gap:7px;padding:7px;display:grid}.report-period-section .report-overview{box-shadow:none;border:0;border-radius:0}.report-account-grid{background:var(--theme-surface);grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:7px;display:grid}.report-inventory-grid{background:var(--theme-surface);grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px;display:grid}.report-inventory-metric{--account-accent:var(--theme-secondary-soft);--account-icon-bg:var(--theme-primary-soft);background:var(--theme-surface);grid-template-rows:auto auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:8px;min-width:0;padding:9px 10px;display:grid}.report-inventory-metric.is-sales-value{--account-accent:var(--theme-secondary-soft);--account-icon-bg:var(--theme-info-soft)}.report-inventory-metric .report-account-icon{grid-row:1/4}.report-inventory-metric>span:not(.report-account-icon){color:var(--theme-text-muted);font-size:.74rem;font-weight:700}.report-inventory-metric>strong{color:var(--theme-text);font-size:1.04rem;line-height:1.3}.report-inventory-metric>small{color:var(--theme-text-muted);font-size:.7rem}.report-account-metric{--account-accent:var(--theme-secondary-soft);--account-icon-bg:var(--theme-danger-soft);background:var(--theme-surface);grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:8px;min-width:0;padding:8px 10px;display:grid}.report-account-icon{background:var(--account-icon-bg);width:34px;height:34px;color:var(--account-accent);border-radius:5px;grid-row:1/3;justify-content:center;align-items:center;display:inline-flex}.report-account-metric>span:not(.report-account-icon){color:var(--theme-text-muted);align-self:end;font-size:.74rem;font-weight:700}.report-account-metric>strong{color:var(--theme-text);white-space:nowrap;text-overflow:ellipsis;align-self:start;font-size:.96rem;line-height:1.3;overflow:hidden}.report-account-metric.is-payable{--account-accent:var(--theme-secondary-soft);--account-icon-bg:var(--theme-info-soft)}.report-account-metric.is-customers{--account-accent:var(--theme-secondary-soft);--account-icon-bg:var(--theme-warning-soft)}.report-account-metric.is-open{--account-accent:var(--theme-secondary-soft);--account-icon-bg:var(--theme-primary-soft)}.report-profit-card{border-left:3px solid var(--theme-border);background:var(--theme-success-soft);border-radius:4px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:48px;padding:7px 10px;display:grid}.report-profit-card.is-negative{border-left-color:var(--theme-border);background:var(--theme-danger-soft)}.report-profit-icon{background:var(--theme-success-soft);width:32px;height:32px;color:var(--theme-success-text);border-radius:5px;justify-content:center;align-items:center;display:inline-flex}.report-profit-card.is-negative .report-profit-icon{background:var(--theme-danger-soft);color:var(--theme-danger-text)}.report-profit-card>div{grid-template-columns:minmax(140px,1fr) auto;align-items:center;gap:12px;min-width:0;display:grid}.report-profit-card>div>span{color:var(--theme-text-muted);font-size:.81rem;font-weight:750}.report-profit-card strong{color:var(--theme-text);white-space:normal;overflow-wrap:anywhere;grid-column:1/-1;font-size:1.08rem;line-height:1.2}.report-profit-card.is-negative strong{color:var(--theme-danger-text)}.report-profit-card small{color:var(--theme-text-muted);white-space:nowrap;align-items:center;gap:6px;font-size:.76rem;display:flex}.report-profit-card small i{background:currentColor;border-radius:50%;width:3px;height:3px}.report-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.report-kpi{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-background);--kpi-icon:var(--theme-primary-soft);border-left:3px solid var(--kpi-accent);background:var(--kpi-bg);border-radius:4px;grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:8px;min-width:0;padding:7px 9px;display:grid}.report-kpi-icon{background:var(--kpi-icon);border-radius:5px;grid-row:1/3;justify-content:center;align-items:center;width:34px;height:34px;color:var(--kpi-accent)!important;display:inline-flex!important}.report-kpi>span:not(.report-kpi-icon){color:var(--theme-text-muted);align-self:end;font-size:.75rem;font-weight:700;line-height:1.3}.report-kpi>strong{color:var(--theme-text);white-space:nowrap;text-overflow:ellipsis;align-self:start;font-size:.94rem;line-height:1.35;overflow:hidden}.report-kpi-sales{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-info-soft);--kpi-icon:var(--theme-info-soft)}.report-kpi-received{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-primary-soft);--kpi-icon:var(--theme-primary-soft)}.report-kpi-credit{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-info-soft);--kpi-icon:var(--theme-info-soft)}.report-kpi-expense{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-warning-soft);--kpi-icon:var(--theme-warning-soft)}.report-kpi-debt{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-danger-soft);--kpi-icon:var(--theme-danger-soft)}.report-kpi-customers{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-warning-soft);--kpi-icon:var(--theme-warning-soft)}.report-kpi-foc{--kpi-accent:var(--theme-secondary-soft);--kpi-bg:var(--theme-primary-soft);--kpi-icon:var(--theme-primary-soft)}.report-kpi-with-meta{grid-template-rows:auto}.report-kpi-with-meta .report-kpi-icon{grid-row:auto}.report-kpi-grid .report-kpi-copy{min-width:0;box-shadow:none;background:0 0;gap:2px;padding:0;display:grid}.report-kpi-copy>span{color:var(--theme-text-muted);font-size:.75rem;font-weight:700;line-height:1.25}.report-kpi-grid .report-kpi-copy>div{min-width:0;box-shadow:none;background:0 0;align-items:baseline;gap:8px;padding:0;display:flex}.report-kpi-copy strong{color:var(--theme-text);flex:none;font-size:.94rem;line-height:1.25}.report-kpi-copy small{min-width:0;color:var(--theme-text-muted);white-space:nowrap;font-size:.72rem;line-height:1.25}.report-month-chart-row{min-width:0}.report-sales-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;min-width:0;display:grid}.report-sales-chart{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:5px;min-width:0;overflow:hidden}.report-sales-chart>header{border-bottom:1px solid var(--theme-border);justify-content:space-between;align-items:center;gap:8px;min-height:34px;padding:6px 9px;display:flex}.report-sales-chart>header strong{color:var(--theme-primary-text);font-size:.8rem}.report-sales-chart>header span{color:var(--theme-text-muted);font-size:.72rem;font-weight:650}.report-sales-chart-canvas{min-width:0;height:218px;padding:2px 0 0}.report-dashboard-grid{grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:0;display:grid}.report-panel,.report-payment-panel{grid-row:auto;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.report-card-title{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:7px 10px;display:flex}.report-card-title>span:first-child{color:var(--theme-primary-text);align-items:center;gap:7px;display:inline-flex}.report-card-title strong{color:var(--theme-text);font-size:.9rem;font-weight:800}.report-card-title>small,.report-card-title>span:last-child:not(:first-child){background:var(--theme-background);min-width:24px;min-height:22px;color:var(--theme-text-muted);border-radius:11px;align-items:center;padding:2px 7px;font-size:.74rem;font-weight:750;display:inline-flex}.report-payment-list,.report-rank-list{background:var(--theme-surface);min-height:0;padding:8px;overflow:auto}.report-payment-list{align-content:start;gap:7px;display:grid}.report-payment-row{background:var(--theme-surface);border-radius:4px;grid-template-columns:minmax(110px,.54fr) minmax(120px,1fr) minmax(90px,auto);align-items:center;gap:9px;min-height:49px;padding:7px 9px;display:grid}.report-payment-row strong,.report-payment-row span{display:block}.report-payment-row>div:first-child strong{color:var(--theme-text);font-size:.88rem}.report-payment-row>div:first-child span{color:var(--theme-text-muted);font-size:.74rem}.report-payment-row>strong{color:var(--theme-primary-text);text-align:right;white-space:nowrap}.report-bar-track{background:var(--theme-background);border-radius:4px;height:8px;overflow:hidden}.report-bar-track span{border-radius:inherit;background:linear-gradient(90deg, var(--theme-primary), var(--theme-primary));height:100%}.report-bar-track .report-bar-width-5{width:5%}.report-bar-track .report-bar-width-10{width:10%}.report-bar-track .report-bar-width-15{width:15%}.report-bar-track .report-bar-width-20{width:20%}.report-bar-track .report-bar-width-25{width:25%}.report-bar-track .report-bar-width-30{width:30%}.report-bar-track .report-bar-width-35{width:35%}.report-bar-track .report-bar-width-40{width:40%}.report-bar-track .report-bar-width-45{width:45%}.report-bar-track .report-bar-width-50{width:50%}.report-bar-track .report-bar-width-55{width:55%}.report-bar-track .report-bar-width-60{width:60%}.report-bar-track .report-bar-width-65{width:65%}.report-bar-track .report-bar-width-70{width:70%}.report-bar-track .report-bar-width-75{width:75%}.report-bar-track .report-bar-width-80{width:80%}.report-bar-track .report-bar-width-85{width:85%}.report-bar-track .report-bar-width-90{width:90%}.report-bar-track .report-bar-width-95{width:95%}.report-bar-track .report-bar-width-100{width:100%}.report-rank-list{align-content:start;gap:6px;display:grid}.report-rank-row{background:var(--theme-surface);border-radius:4px;grid-template-columns:28px minmax(0,1fr) minmax(76px,auto);align-items:center;gap:8px;min-height:49px;padding:7px 8px;display:grid}.report-rank-row>span{background:var(--theme-primary-soft);width:27px;height:27px;color:var(--theme-primary-text);border-radius:50%;justify-content:center;align-items:center;font-size:.8rem;font-weight:850;display:inline-flex}.report-rank-row div{min-width:0}.report-rank-row div strong{color:var(--theme-text);overflow-wrap:anywhere;font-size:.88rem;line-height:1.45;display:block}.report-rank-row div small{color:var(--theme-text-muted);font-size:.73rem;display:block}.report-rank-row>strong{color:var(--theme-primary-text);text-align:right;white-space:nowrap;font-size:.86rem}.report-panel .empty-state{min-height:120px;color:var(--theme-text-muted);background:0 0;border:0;justify-content:center;align-items:center;font-size:.84rem;display:flex}@media (width<=1399px){.report-overview{grid-template-columns:minmax(240px,.7fr) minmax(0,1.5fr)}}@media (width<=1199px){.report-overview{grid-template-columns:1fr}}@media (width>=721px) and (width<=900px){.report-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1023px){.report-filter-heading{flex-direction:column;align-items:flex-start}.report-quick-ranges{max-width:100%;overflow-x:auto}.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-actions{grid-column:1/-1;justify-content:flex-start}.report-sales-analysis-grid,.report-dashboard-grid{grid-template-rows:auto;grid-template-columns:1fr}.report-panel{min-height:240px}}@media (width<=719px){.reports-layout,.report-main-panel{height:auto;overflow:visible}}@media (width<=720px){.report-filter-grid,.report-kpi-grid{grid-template-columns:1fr}.report-filter-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.report-profit-card>div{grid-template-columns:1fr auto;gap:3px 8px}.report-profit-card small{grid-column:1/-1}.report-section-heading{flex-direction:column;align-items:flex-start}.report-period-range{white-space:normal}.report-account-grid,.report-inventory-grid,.report-movement-grid{grid-template-columns:1fr}}.report-card-actions{align-items:center;gap:8px;display:flex}.report-card-actions button{min-height:30px;padding:4px 9px;font-size:12px}.product-sales-page{align-content:start;gap:10px;min-width:0;display:grid}.product-sales-note{color:var(--theme-text-muted);margin:0;font-size:12px}.product-sales-summary{gap:8px;min-width:0;display:grid}.product-sales-period{color:var(--theme-text-muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin:0;font-size:12px;display:flex}.product-sales-period svg{flex:none}.product-sales-results{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:6px;min-width:0}.product-sales-table-wrap{overflow-x:auto}.product-sales-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:820px}.product-sales-table th,.product-sales-table td{border-bottom:1px solid var(--theme-border);text-align:left;overflow-wrap:anywhere;padding:8px 10px}.product-sales-table th{background:var(--theme-background)}.product-sales-table col:first-child{width:26%}.product-sales-table col:nth-child(2),.product-sales-table col:nth-child(3){width:14%}.product-sales-table col:last-child{width:18%}.product-sales-table :is(th,td):nth-child(n+4){text-align:right;white-space:nowrap}.product-sales-results .empty-state{min-height:160px;position:static}.product-sales-error{color:var(--theme-danger-text);padding:10px}.report-card-actions .report-see-more{min-height:30px;color:var(--theme-primary-text);align-items:center;gap:5px;padding:4px 2px;font-weight:600;display:inline-flex;box-shadow:none!important;background:0 0!important;border:0!important}.report-card-actions .report-see-more:hover:not(:disabled) span{text-underline-offset:3px;text-decoration:underline}.report-card-actions .report-see-more:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}.product-sales-filter-drawer .field input,.product-sales-filter-drawer .field select{box-sizing:border-box;width:100%;min-width:0}.billing-screen{height:var(--mkpos-screen-height);overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;align-content:start;align-items:stretch;gap:10px;min-width:0;min-height:0;padding-bottom:3px;padding-right:3px;display:flex;overflow:hidden auto}.billing-screen>*{flex:none;min-width:0}.billing-contact-card{border-bottom:1px solid var(--theme-border);align-items:flex-start;gap:24px;padding:3px 0 10px;display:flex}.billing-contact-heading{flex:none;align-items:center;gap:8px;display:flex}.billing-contact-heading>span{color:var(--theme-primary-text);place-items:center;display:grid}.billing-contact-heading>div,.billing-contact-group{gap:3px;display:grid}.billing-contact-heading strong{color:var(--theme-primary-text);font-size:.86rem}.billing-contact-heading small{color:var(--theme-text-muted);font-size:.72rem}.billing-contact-groups{flex:auto;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;display:grid}.billing-contact-group>strong{color:var(--theme-text-muted);align-items:center;gap:5px;font-size:.72rem;display:inline-flex}.billing-contact-group>span{flex-wrap:wrap;gap:6px 12px;display:flex}.billing-contact-group a,.billing-contact-group em{min-height:24px;color:var(--theme-primary-text);align-items:center;padding:0;font-size:.74rem;font-style:normal;font-weight:700;display:inline-flex}.billing-contact-group a{-webkit-text-decoration-color:var(--theme-surface-raised);text-decoration-color:var(--theme-surface-raised);text-underline-offset:3px}.billing-contact-group a:hover{color:var(--theme-text);text-decoration-color:currentColor}.billing-contact-group a:focus-visible{outline:2px solid color-mix(in srgb, var(--theme-focus) 22%, transparent);outline-offset:2px}.billing-toolbar,.billing-panel,.billing-summary-card,.billing-pending{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);border-radius:7px}.billing-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;display:flex}.billing-toolbar>div{gap:2px;display:grid}.billing-toolbar strong{color:var(--theme-primary-text);font-size:1rem}.billing-toolbar span,.billing-toolbar button,.billing-panel-heading small{color:var(--theme-text-muted);font-size:.82rem}.billing-toolbar button,.billing-panel-heading>div,.billing-pending,.billing-current-badge,.billing-paid-badge{align-items:center;display:inline-flex}.billing-toolbar button{color:var(--theme-text);gap:7px;font-weight:700}.billing-summary-card{align-items:center;gap:10px;min-width:0;padding:10px 11px;display:flex}.billing-summary-icon{width:35px;height:35px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:7px;flex:0 0 35px;place-items:center;display:grid}.billing-summary-card.is-renewal .billing-summary-icon{color:var(--theme-warning-text);background:var(--theme-warning-soft)}.billing-summary-card.is-payment .billing-summary-icon{color:var(--theme-info-text);background:var(--theme-info-soft)}.billing-summary-card>div{gap:1px;min-width:0;display:grid}.billing-summary-card span:not(.billing-summary-icon),.billing-summary-card small{color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.billing-summary-card strong{color:var(--theme-primary-text);text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;overflow:hidden}.billing-pending{border-color:var(--theme-border);color:var(--theme-warning-text);background:var(--theme-warning-soft);gap:10px;padding:9px 12px}.billing-pending>span{background:var(--theme-warning-soft);border-radius:7px;flex:0 0 33px;place-items:center;height:33px;display:grid}.billing-pending>div{gap:1px;display:grid}.billing-pending small{color:var(--theme-warning-text);font-size:.8rem}.billing-lifecycle-alert{border-color:var(--theme-border);color:var(--theme-danger-text);background:var(--theme-danger-soft)}.billing-lifecycle-alert>span{background:var(--theme-danger-soft)}.billing-lifecycle-alert small{color:var(--theme-danger-text)}.billing-panel{flex:none;min-width:0;height:auto;display:block;position:relative;overflow:hidden}.billing-panel-heading{border-bottom:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:10px;min-height:39px;padding:7px 10px;display:flex}.billing-plans-section{min-width:0}.billing-panel-heading>div{color:var(--theme-primary-text);gap:7px}.billing-panel-heading>div>span{color:var(--theme-text-muted);background:var(--theme-background);border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:700}.billing-plan-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));grid-auto-rows:auto;align-items:stretch;gap:8px;padding:0;display:grid}.billing-plan-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:7px;grid-template-rows:auto auto auto 1fr auto;align-self:stretch;gap:8px;min-width:0;height:auto;padding:11px;display:grid}.billing-plan-card.is-current{border-color:var(--theme-border);box-shadow:inset 0 3px var(--theme-shadow)}.billing-plan-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.billing-plan-head>div{gap:2px;display:grid}.billing-plan-head>div>strong{color:var(--theme-primary-text);font-size:1rem}.billing-plan-head>div>span{color:var(--theme-text-muted);font-size:.76rem}.billing-current-badge,.billing-pending-badge,.billing-paid-badge{width:max-content;color:var(--theme-success-text);background:var(--theme-success-soft);white-space:nowrap;border-radius:999px;gap:4px;font-size:.72rem;font-weight:800}.billing-current-badge{padding:3px 7px}.billing-current-badge.is-suspended{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.billing-pending-badge{color:var(--theme-warning-text);background:var(--theme-warning-soft);padding:3px 7px}.billing-paid-badge{padding:3px 7px}.billing-plan-price{color:var(--theme-primary-text);font-size:1.25rem;font-weight:800}.billing-plan-price span{color:var(--theme-text-muted);margin-left:5px;font-size:.74rem;font-weight:600}.billing-plan-card p{min-height:34px;color:var(--theme-text-muted);margin:0;font-size:.8rem;line-height:1.4}.billing-plan-card ul{align-content:start;gap:4px;margin:0;padding:0;list-style:none;display:grid}.billing-plan-card li{color:var(--theme-text-muted);align-items:center;gap:6px;font-size:.78rem;display:flex}.billing-plan-card li svg{color:var(--theme-primary-text);flex:none}.billing-plan-card .billing-more-features{color:var(--theme-text-muted);font-style:italic}.billing-plan-card>button{min-height:35px;color:var(--theme-on-primary);background:var(--theme-primary);justify-content:center;align-items:center;gap:7px;font-weight:800;display:inline-flex}.billing-plan-request-status{color:var(--theme-warning-text);text-align:center;font-size:.74rem;font-weight:700}.billing-table-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-width:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;overflow:hidden}.billing-table-wrap{width:100%;overflow-x:auto}.billing-table{border-collapse:collapse;width:100%;font-size:.8rem}.billing-table th,.billing-table td{border-bottom:1px solid var(--theme-border);text-align:left;white-space:nowrap;padding:8px 10px}.billing-table th{color:var(--theme-text-muted);background:var(--theme-surface);text-transform:uppercase;letter-spacing:.02em;font-size:.74rem;font-weight:800}.billing-table tbody tr:last-child td{border-bottom:0}.billing-table tbody tr:hover{background:var(--theme-surface)}.billing-table .number{text-align:right}.billing-table td.number strong{color:var(--theme-primary-text)}.billing-reference{color:var(--theme-text-muted);font-variant-numeric:tabular-nums}.billing-empty{color:var(--theme-text-muted);text-align:center;grid-column:1/-1;padding:24px 12px}@media (width<=1100px){.billing-contact-card{flex-direction:column;align-items:stretch}}@media (width<=680px){.billing-toolbar,.billing-panel-heading{flex-direction:column;align-items:flex-start}.billing-plan-grid,.billing-contact-groups{grid-template-columns:1fr}}@media (hover:none),(pointer:coarse){.billing-contact-group a,.billing-contact-group em{min-height:44px;padding:0 2px}}.settings-screen{height:auto;min-height:0;overflow:visible}.settings-workspace{grid-template-rows:auto;grid-template-columns:232px minmax(0,1fr);gap:9px;height:auto;min-height:0;display:grid;overflow:visible}.settings-side-tabs{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:0;box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent);scrollbar-width:thin;border-radius:6px;flex-direction:column;align-content:start;align-self:start;align-items:stretch;gap:4px;padding:8px;display:flex;overflow:visible}.settings-side-tabs button{width:100%;min-width:0;min-height:49px;color:var(--theme-text-muted);text-align:left;background:0 0;border:0;border-radius:4px;flex:none;justify-content:flex-start;align-items:center;gap:9px;padding:7px 9px;display:flex}.settings-side-tabs button>svg{flex:0 0 18px;width:18px;height:18px}.settings-side-tabs button>span{gap:1px;min-width:0;display:grid}.settings-side-tabs button strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:850;line-height:1.25;overflow:hidden}.settings-side-tabs button small{color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:600;line-height:1.3;overflow:hidden}.settings-side-tabs button:hover{background:var(--theme-background);color:var(--theme-primary-text)}.settings-side-tabs button.selected{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:0 1px 4px color-mix(in srgb, var(--theme-shadow) 18%, transparent)}.settings-side-tabs button.selected small{color:color-mix(in srgb, var(--theme-on-primary) 76%, transparent)}.settings-panel{border:1px solid var(--theme-border);background:var(--theme-surface);min-width:0;min-height:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;grid-template-rows:58px auto 54px;padding:0;display:grid;overflow:visible}.settings-panel.settings-panel--data{box-shadow:none;background:0 0;border:0;display:block;overflow:visible}.settings-panel--data .settings-panel-content{background:0 0;padding:0;overflow:visible}.settings-panel--data .settings-data-form{width:100%;max-width:none}.settings-panel-heading{box-sizing:border-box;border-bottom:1px solid var(--theme-border);background:var(--theme-background);align-items:center;gap:10px;height:58px;min-height:58px;max-height:58px;padding:9px 12px;display:flex;overflow:hidden}.settings-panel-icon{background:var(--theme-primary-soft);width:38px;height:38px;color:var(--theme-primary-text);border-radius:5px;flex:0 0 38px;justify-content:center;align-items:center;display:inline-flex}.settings-panel-heading>div{gap:1px;min-width:0;display:grid}.settings-panel-heading strong{color:var(--theme-text);font-size:.96rem;font-weight:850}.settings-panel-heading>div>span{color:var(--theme-text-muted);font-size:.8rem}.settings-panel-content{background:var(--theme-surface);width:100%;min-width:0;max-width:100%;min-height:0;padding:12px;overflow:visible}.settings-panel-footer{box-sizing:border-box;border-top:1px solid var(--theme-border);background:var(--theme-background);justify-content:flex-end;align-items:center;gap:7px;min-width:0;height:54px;min-height:54px;max-height:54px;padding:8px 12px;display:flex;overflow:hidden}.settings-panel-footer button{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:34px;display:inline-flex}.settings-panel-footer .settings-new-price{background:0 0;border:0;width:100%;margin:0;padding:0}.settings-panel-footer--prices{justify-content:stretch}.settings-panel-footer--prices .settings-new-price input,.settings-panel-footer--prices .settings-new-price button{box-sizing:border-box;height:36px;min-height:36px}.settings-panel-footer--prices .settings-new-price button{min-width:156px;padding-inline:14px}.settings-form,.settings-about{gap:12px;width:min(100%,1080px);max-width:none;display:grid}.settings-account-form{width:min(100%,850px)}.settings-logo-section{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:5px;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.settings-logo-preview{border:1px dashed var(--theme-border);width:82px;height:82px;color:var(--theme-text-muted);background:var(--theme-surface);border-radius:6px;place-items:center;display:grid;overflow:hidden}.settings-logo-preview img{object-fit:contain;width:100%;height:100%}.settings-logo-copy{gap:3px;min-width:0;display:grid}.settings-logo-copy strong{color:var(--theme-primary-text);font-size:.9rem}.settings-logo-copy span{color:var(--theme-text-muted);font-size:.8rem}.settings-logo-copy small{color:var(--theme-text-muted);font-size:.7rem}.settings-logo-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.settings-logo-actions button{justify-content:center;align-items:center;gap:6px;min-height:36px;display:inline-flex}.settings-logo-input{display:none}.settings-account-summary{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:5px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.settings-account-summary>span{width:44px;height:44px;color:var(--theme-text);background:var(--theme-secondary);border-radius:50%;place-items:center;font-size:1rem;font-weight:900;display:grid}.settings-account-summary>div{gap:2px;min-width:0;display:grid}.settings-account-summary strong{color:var(--theme-primary-text);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.settings-account-summary small{color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.settings-account-summary em{color:var(--theme-primary-text);background:var(--theme-primary-soft);text-transform:uppercase;border-radius:999px;padding:4px 8px;font-size:.68rem;font-style:normal;font-weight:850}.settings-account-section{border:1px solid var(--theme-border);border-radius:5px;gap:11px;padding:12px;display:grid}.settings-account-section-heading{border-bottom:1px solid var(--theme-border);color:var(--theme-primary-text);align-items:flex-start;gap:8px;padding-bottom:9px;display:flex}.settings-account-section-heading>span{gap:2px;display:grid}.settings-account-section-heading strong{color:var(--theme-text);font-size:.83rem}.settings-account-section-heading small{color:var(--theme-text-muted);font-size:.72rem}.settings-account-password-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.settings-account-security-note{color:var(--theme-text-muted);background:var(--theme-background);border-radius:4px;align-items:center;gap:7px;padding:8px 9px;font-size:.72rem;display:flex}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.settings-form .field>span{color:var(--theme-text-muted);font-size:.8rem;font-weight:750}.settings-form input:not([type=checkbox]):not([type=radio]),.settings-form select,.settings-form textarea{border-color:var(--theme-border);background:var(--theme-surface);border-radius:4px;min-height:38px}.settings-form textarea{resize:vertical;min-height:100px}.settings-form input:focus,.settings-form select:focus,.settings-form textarea:focus{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.settings-footer{border-top:1px solid var(--theme-border);background:var(--theme-background);justify-content:flex-end;align-items:center;gap:7px;min-height:52px;margin:2px -12px -12px;padding:8px 12px;display:flex}.settings-footer button,.settings-screen .primary{white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:6px;height:36px;min-height:36px;display:inline-flex}.settings-screen .primary{border-color:var(--theme-border);background:var(--theme-primary);color:var(--theme-on-primary)}.settings-screen .primary:hover{border-color:var(--theme-border);background:var(--theme-primary)}.settings-shop-form .settings-form-grid,.settings-receipt-form .settings-form-grid{background:var(--theme-background);border-radius:5px;padding:11px}.settings-receipt-workspace{align-items:start;width:100%;min-width:0;max-width:none;display:block}.settings-receipt-workspace .settings-receipt-form{width:100%;min-width:0;max-width:none}.settings-receipt-printer-notice{align-items:center;gap:10px;width:100%;min-width:0;display:flex}.settings-receipt-printer-notice>span{min-width:0}.settings-receipt-printer-notice>button{flex:none;margin-left:auto}.settings-receipt-section{border-left:3px solid var(--theme-border);background:var(--theme-background);gap:10px;min-width:0;padding:12px;display:grid}.settings-receipt-section-heading,.settings-receipt-preview-heading{justify-content:space-between;align-items:center;gap:9px;display:flex}.settings-receipt-section-heading strong,.settings-receipt-preview-heading strong{color:var(--theme-primary-text);font-size:.92rem}.settings-receipt-section-heading button,.settings-receipt-actions button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.settings-receipt-form .settings-receipt-section .settings-form-grid{background:0 0;padding:0}.settings-receipt-preview-heading>div{gap:1px;min-width:0;display:grid}.settings-receipt-preview-heading{flex-wrap:wrap;min-width:0}.settings-receipt-preview-heading>div>span{color:var(--theme-text-muted);font-size:.78rem}.settings-paper-badge{background:var(--theme-surface-muted);color:var(--theme-primary-text);border-radius:3px;flex:none;padding:4px 7px;font-size:.72rem;font-weight:850}.settings-receipt-paper{box-sizing:border-box;background:var(--theme-surface);width:min(330px,100%);max-width:100%;max-height:none;box-shadow:0 4px 16px color-mix(in srgb, var(--theme-shadow) 10%, transparent);margin:0 auto;padding:18px 0 28px;transition:width .15s;overflow:visible}.settings-receipt-paper>.receipt-document-host{padding-top:0;padding-bottom:0}.settings-receipt-paper.paper-50mm{width:50mm}.settings-receipt-paper.paper-58mm{width:58mm}.settings-receipt-paper.paper-80mm{width:80mm}.settings-receipt-paper.paper-85mm{width:85mm}.settings-receipt-paper.paper-a5{width:148mm;min-width:148mm;height:210mm;min-height:210mm;padding:12mm 0 18mm;position:relative}.settings-receipt-paper.paper-a4{width:210mm;min-width:210mm;height:297mm;min-height:297mm;padding:12mm 0 18mm;position:relative}.settings-receipt-paper:is(.paper-a4,.paper-a5) .receipt-page-footer{margin:0;position:absolute;bottom:12mm;left:50%;transform:translate(-50%)}.settings-receipt-paper.paper-a5 .receipt-page-footer{width:118mm}.settings-receipt-paper.paper-a4 .receipt-page-footer{width:148mm}.settings-receipt-preview-modal{width:min(1160px,100vw - 32px);height:min(900px,100dvh - 32px)}.settings-receipt-preview-modal .mkpos-modal-body{background:var(--theme-background);padding:16px;overflow:auto}.settings-receipt-preview-modal .receipt-items-table thead,.settings-receipt-preview-modal .receipt-items-table th{z-index:auto!important;position:static!important;inset:auto!important}.settings-receipt-preview-dialog-canvas{place-items:start center;width:max-content;min-width:100%;min-height:100%;display:grid}.settings-receipt-paper pre{width:max-content;max-width:100%;color:var(--theme-text);white-space:pre;overflow-wrap:normal;word-break:normal;font-kerning:normal;font-variant-ligatures:normal;letter-spacing:0;margin:0 auto;font-family:Consolas,Cascadia Mono,Myanmar Text,Noto Sans Myanmar,monospace;font-size:.8rem;line-height:1.5}.settings-receipt-paper.paper-50mm pre{font-size:.76rem}.settings-receipt-paper.paper-58mm pre,.settings-receipt-paper.paper-80mm pre{font-size:.72rem}.settings-receipt-paper.paper-85mm pre{font-size:.7rem}.settings-receipt-paper.paper-a4 pre{font-size:.72rem}.settings-check-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.settings-check-grid label{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:50px;color:var(--theme-text);border-radius:5px;align-items:center;gap:9px;padding:8px 10px;font-size:.86rem;font-weight:700;line-height:1.4;display:flex}.settings-check-grid label:has(input:checked){border-color:var(--theme-border);background:var(--theme-primary-soft);color:var(--theme-primary-text)}:is(.settings-receipt-options label,.settings-receipt-options label:has(input:checked)){background:0 0;border:0;border-radius:0;min-height:34px;padding:4px 0}.settings-check-grid input{width:18px;height:18px;min-height:18px;accent-color:var(--theme-primary-text);flex:0 0 18px;margin:0}.settings-payments-form{max-width:880px}.settings-payment-list{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:5px;align-content:start;gap:6px;min-height:0;max-height:none;padding:9px;display:grid;overflow:visible}.settings-payment-row{background:var(--theme-surface);border-radius:4px;grid-template-columns:32px minmax(0,1fr) 36px;align-items:center;gap:7px;min-height:42px;padding:3px 5px;display:grid}.settings-payment-index{background:var(--theme-background);width:26px;height:26px;color:var(--theme-primary-text);border-radius:50%;justify-content:center;align-items:center;font-size:.78rem;font-weight:850;display:inline-flex}.settings-payment-row input{background:0 0;border-color:#0000;min-height:34px}.settings-payment-row input:focus{border-color:var(--theme-focus);background:var(--theme-surface)}.settings-payment-row button{border-color:var(--theme-border);background:var(--theme-surface);width:32px;min-width:32px;height:32px;min-height:32px;color:var(--theme-danger-text);border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.settings-prices-form{max-width:1100px}.settings-price-intro{border-left:3px solid var(--theme-border);background:var(--theme-background);color:var(--theme-text-muted);padding:9px 11px;font-size:.84rem;line-height:1.5}.settings-price-list{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:5px;align-content:start;gap:6px;max-height:none;padding:9px;display:grid;overflow:visible}.settings-price-row{background:var(--theme-surface);gap:8px;min-width:0;padding:8px;display:grid}.settings-price-row-main{grid-template-columns:32px minmax(0,1fr) minmax(88px,130px) 36px;align-items:center;gap:7px;min-width:0;display:grid}.settings-price-rule-controls{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:7px;min-width:0;padding-left:39px;display:grid}.settings-price-row input,.settings-price-row select{background:var(--theme-surface);min-height:34px}.settings-price-row-main button,.settings-price-row-actions button{height:32px;min-height:32px}.settings-price-row-actions{justify-content:flex-start;align-items:center;gap:12px;min-width:0;padding-left:39px;display:flex}.settings-price-row-actions .primary{flex:none;min-width:112px}.settings-price-apply{min-width:0;min-height:34px;color:var(--theme-text-muted);white-space:normal;align-items:center;gap:7px;font-size:.8rem;font-weight:700;display:flex}.settings-price-rule-controls>.field,.settings-price-rule-controls input,.settings-price-rule-controls select{width:100%;min-width:0}.settings-price-apply input{width:17px;height:17px;min-height:17px;margin:0}.settings-price-usage{background:var(--theme-background);min-height:27px;color:var(--theme-text-muted);white-space:nowrap;justify-content:center;align-items:center;padding:3px 7px;font-size:.76rem;font-weight:700;display:inline-flex}.settings-price-usage.connected{background:var(--theme-primary-soft);color:var(--theme-primary-text)}.settings-price-row .danger-button{justify-content:center;align-items:center;width:32px;min-width:32px;padding:0;display:inline-flex}.settings-new-price{border:1px solid var(--theme-border);background:var(--theme-surface);grid-template-columns:minmax(180px,1fr) auto;gap:7px;padding:9px;display:grid}.settings-new-price button{height:38px;min-height:38px}.settings-security-form{max-width:760px}.settings-security-form>.info-box{background:var(--theme-primary-soft);min-height:48px;color:var(--theme-primary-text);border-radius:5px;align-items:center;gap:9px;padding:9px 11px;display:flex}.settings-security-form>.warning-box{border-color:var(--theme-border);background:var(--theme-warning-soft);color:var(--theme-warning-text)}.settings-data-form{max-width:1000px}.settings-plan-notice{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.settings-plan-notice>span{min-width:0}.settings-plan-notice>button{flex:none;margin-left:auto}.settings-data-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-data-section{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:5px;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;display:grid;overflow:hidden}.settings-data-section-header{border-bottom:1px solid var(--theme-border);background:var(--theme-background);align-items:center;gap:8px;min-height:52px;padding:8px 10px;display:flex}.settings-data-section-header>span{width:30px;height:30px;color:var(--theme-primary-text);background:var(--theme-background);border-radius:4px;flex:0 0 30px;place-items:center;display:grid}.settings-data-section-header>div{gap:1px;min-width:0;display:grid}.settings-data-section-header strong{color:var(--theme-text);font-size:.83rem}.settings-data-section-header small{color:var(--theme-text-muted);font-size:.7rem}.settings-data-section-body{align-content:start;gap:10px;min-width:0;padding:10px;display:grid}.settings-data-section-footer{border-top:1px solid var(--theme-border);background:var(--theme-background);justify-content:flex-end;align-items:center;gap:7px;min-height:52px;padding:8px 10px;display:flex}.settings-data-section-footer button{border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:34px;display:inline-flex}.settings-restore-section{border-color:var(--theme-border)}.settings-reset-section{border-color:var(--theme-border);grid-column:1/-1}.settings-reset-section .settings-data-section-header>span{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.settings-reset-section .warning-box{border-color:var(--theme-border);background:var(--theme-danger-soft);min-height:42px;color:var(--theme-danger-text);border-radius:4px;margin:0}.settings-data-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings-data-summary>div{border-left:3px solid var(--theme-border);background:var(--theme-primary-soft);border-radius:5px;grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-items:center;column-gap:9px;min-height:68px;padding:9px 11px;display:grid}.settings-data-icon{background:var(--theme-primary-soft);border-radius:5px;grid-row:1/3;justify-content:center;align-items:center;width:38px;height:38px;color:var(--theme-primary-text)!important;display:inline-flex!important}.settings-data-summary>div>span:not(.settings-data-icon){color:var(--theme-text-muted);align-self:end;font-size:.78rem}.settings-data-summary>div>strong{color:var(--theme-primary-text);align-self:start;font-size:1rem}.settings-backup-action{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:5px;justify-content:flex-start;margin:0;padding:10px}.settings-server-backup-note{margin:0;line-height:1.55}.settings-restore-section .warning-box{border-color:var(--theme-border);background:var(--theme-warning-soft);min-height:42px;color:var(--theme-warning-text);border-radius:4px;margin:0}.settings-file-actions{border:1px dashed var(--theme-border);background:var(--theme-background);border-radius:4px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;padding:8px 9px;display:grid}.settings-restore-file-input{clip:rect(0, 0, 0, 0);clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.settings-file-icon{background:var(--theme-background);border-radius:4px;place-items:center;width:34px;height:34px;display:grid;color:var(--theme-primary-text)!important}.settings-file-copy{gap:1px;min-width:0;display:grid}.settings-file-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-file-copy small{color:var(--theme-text-muted);font-size:.72rem}.settings-file-actions button{border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:36px;display:inline-flex}.settings-file-actions span{min-width:0;color:var(--theme-text-muted);overflow-wrap:anywhere}.settings-file-actions strong{color:var(--theme-text)}.settings-restore-section .settings-form-grid{grid-template-columns:1fr;gap:8px}.settings-restore-section .settings-data-section-footer .danger-button{min-width:170px}.settings-language-form{max-width:680px}.settings-language-form select{min-height:42px}.settings-about{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1100px}.settings-about-brand{border-left:4px solid var(--theme-border);border-radius:5px;grid-column:1/-1;align-items:center;min-height:72px;background:var(--theme-primary-soft)!important;gap:11px!important;padding:11px!important;display:flex!important}.settings-about-logo{object-fit:contain;flex:0 0 68px;width:82px;height:82px;margin:-17px -7px}.settings-about-brand>div{gap:1px;display:grid}.settings-about-brand>div strong{color:var(--theme-primary-text);font-size:1.1rem}.settings-about-brand>div span{color:var(--theme-text-muted);font-size:.8rem}.settings-about>div:not(.info-box):not(.settings-about-brand){background:var(--theme-background);border-radius:5px;gap:4px;min-width:0;padding:10px;display:grid}.settings-about>div:not(.info-box)>span{color:var(--theme-text-muted);font-size:.78rem}.settings-about>div:not(.info-box)>strong{color:var(--theme-text);overflow-wrap:anywhere;font-size:.9rem}.settings-about>.info-box{border-radius:5px;grid-column:1/-1}.settings-about .settings-about-contact{border-left:3px solid var(--theme-border);background:var(--theme-primary-soft);grid-column:span 2}.settings-about-contact a{color:var(--theme-primary-text);text-decoration:none}.settings-about-contact a:hover{text-decoration:underline}.settings-about-contact small{color:var(--theme-text-muted);font-size:.8rem;line-height:1.5}@media (width<=1199px){.settings-workspace{grid-template-columns:210px minmax(0,1fr)}.settings-about,.settings-layout-grid,.settings-price-rule-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-data-sections{grid-template-columns:1fr}}@media (width<=1399px){.settings-receipt-paper{max-height:none}}@media (width<=980px){.settings-screen,.settings-workspace{height:auto;overflow:visible}.settings-panel{min-height:620px}.settings-panel-content{overflow:visible}.settings-receipt-paper{max-height:none}}@media (width<=720px){.settings-receipt-printer-notice{flex-direction:column;align-items:stretch}.settings-receipt-printer-notice>button{width:100%;margin-left:0}.settings-workspace{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.settings-side-tabs{flex-direction:row;align-items:center;overflow:auto hidden}.settings-side-tabs button{justify-content:center;width:auto;min-width:106px;min-height:38px;padding:6px 10px}.settings-side-tabs button small{display:none}.settings-form-grid,.settings-check-grid,.settings-layout-grid,.settings-data-summary,.settings-about,.settings-account-password-grid{grid-template-columns:1fr}.settings-logo-section{grid-template-columns:70px minmax(0,1fr)}.settings-logo-preview{width:70px;height:70px}.settings-logo-actions{grid-column:1/-1;justify-content:stretch}.settings-logo-actions button{flex:1}.settings-file-actions{grid-template-columns:34px minmax(0,1fr)}.settings-file-actions button{grid-column:1/-1;width:100%}.settings-data-section-footer button{width:100%;min-height:40px}.settings-footer{flex-direction:column;align-items:stretch}.settings-footer button{width:100%}.settings-panel{grid-template-rows:58px minmax(0,1fr) auto}.settings-panel-footer{flex-direction:column;align-items:stretch;height:auto;max-height:none}.settings-panel-footer>button,.settings-panel-footer .settings-new-price{width:100%}.settings-panel-footer button{min-height:40px}.settings-about-brand,.settings-about>.info-box{grid-column:1}.settings-price-row{gap:7px}.settings-price-row-main{grid-template-columns:28px minmax(0,1fr) 76px 34px;gap:4px}.settings-price-usage{grid-area:2/2/auto/-1;justify-self:start}.settings-price-rule-controls{grid-template-columns:1fr;padding-left:0}.settings-price-row-actions{flex-wrap:wrap;padding-left:0}.settings-new-price{grid-template-columns:1fr}}.printer-input{align-content:start;min-width:0;position:relative}.printer-input>label{color:var(--theme-text-muted);font-size:.88rem;font-weight:650}.printer-input-control{position:relative}.printer-input-control input{width:100%;padding-right:36px}.printer-input-control>button{background:0 0;border:0;min-height:0;padding:0 8px;position:absolute;top:3px;bottom:3px;right:3px}.printer-input-menu{z-index:30;border:1px solid var(--theme-border);background:var(--theme-surface);max-height:240px;box-shadow:0 6px 18px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent);border-radius:5px;padding:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.printer-input-menu>button{width:100%;min-height:36px;color:var(--theme-text);text-align:left;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;border-radius:3px;padding:8px 10px;display:block}.printer-input-menu>button:hover,.printer-input-menu>button.active{background:var(--theme-primary-soft)}.printer-input-menu>button[aria-selected=true]{font-weight:700}.printer-input-empty{color:var(--theme-text-muted);padding:8px 10px;font-size:.82rem}.printer-settings-fields{border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.printer-settings-fields details{border:1px solid var(--theme-border);min-width:0;padding:10px}.printer-settings-fields summary{cursor:pointer;font-weight:650}.printer-settings-fields details[open] summary{margin-bottom:12px}.printer-settings-actions{flex-wrap:wrap;gap:8px;display:flex}.printer-port-list{padding-left:20px;font-size:.8rem}.printer-settings-error{background:var(--theme-danger-soft);color:var(--theme-danger-text);overflow-wrap:anywhere;border-left:3px solid var(--theme-border);padding:12px}.settings-printer-form{width:min(100%,900px);min-width:0}.settings-printer-form .settings-check-grid{grid-template-columns:minmax(0,1fr)}.settings-printer-form .settings-footer{flex-wrap:wrap;margin:0}.settings-receipt-section-heading{flex-wrap:wrap}.printer-settings-fields>button{justify-self:start}.printer-settings-actions button,.settings-printer-form button{white-space:normal;overflow-wrap:anywhere;max-width:100%;height:auto}.settings-form input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--theme-primary-text);flex:0 0 18px;margin:0;padding:0}.settings-form .info-box{overflow-wrap:anywhere;min-width:0}.barcode-live-preview{border:1px solid var(--theme-border);border-radius:var(--mkpos-radius);background:var(--theme-background);gap:10px;min-width:0;padding:12px;display:grid}.barcode-live-preview-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.barcode-live-preview-heading strong{color:var(--theme-primary-text);font-size:.86rem}.barcode-live-preview-heading small,.barcode-live-preview>small{color:var(--theme-text-muted);font-size:.72rem}.barcode-live-preview-stage{border:1px solid var(--theme-border);background:var(--theme-background);place-items:center;min-height:150px;padding:16px;display:grid;overflow:auto}.barcode-live-preview-label{max-width:100%;min-height:72px;color:var(--theme-document-ink);background:var(--theme-document-paper);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 12%, transparent);text-align:center;flex-direction:column;justify-content:center;align-items:stretch;padding:8px;display:flex;overflow:hidden}.barcode-live-preview-label>strong{text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:12px;line-height:1.1;overflow:hidden}.barcode-live-preview-bars{flex:1;justify-content:center;align-items:stretch;min-height:0;display:flex;overflow:hidden}.barcode-live-preview-bars svg{width:100%;height:100%;min-height:40px;display:block}.barcode-live-preview-label code{color:var(--theme-document-ink);letter-spacing:.3px;white-space:nowrap;margin-top:4px;font-size:10px;line-height:1;overflow:hidden}.printer-output-row{align-items:end}.mkpos-modal.offline-printer-drawer{border-radius:0;flex-direction:column;width:min(760px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0;animation:.2s ease-out printer-drawer-in;display:flex;position:fixed;inset:0 0 0 auto}.offline-printer-drawer .mkpos-modal-header{flex:none}.offline-printer-drawer .mkpos-modal-body{flex:1;min-height:0;overflow-y:auto}.offline-printer-drawer .offline-printer-settings{height:auto;overflow:visible}.offline-printer-drawer .settings-printer-form{gap:12px;width:100%}@keyframes printer-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@media (prefers-reduced-motion:reduce){.mkpos-modal.offline-printer-drawer{animation:none}}.printer-windows-options{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:11px;display:grid}.printer-windows-options>.field{min-width:0}.printer-windows-options input[type=number],.printer-windows-options .settings-check-grid label{box-sizing:border-box;height:48px;min-height:48px}.printer-windows-options .settings-check-grid label{padding:6px 10px;font-size:.8rem;line-height:1.3}@media (width<=600px){.printer-windows-options{grid-template-columns:minmax(0,1fr)}}.printer-output-row input[type=number],.printer-output-row .settings-check-grid label{box-sizing:border-box;height:40px;min-height:40px}.printer-output-row .settings-check-grid label{padding:6px 10px;font-size:.8rem}.printer-settings-save-actions{border-top:1px solid var(--theme-border);background:var(--theme-background);border-radius:0 0 4px 4px;justify-content:flex-end;align-items:center;gap:7px;margin-top:8px;padding:8px 12px}.settings-screen .printer-settings-save-actions button{box-sizing:border-box;border-radius:4px;justify-content:center;align-items:center;gap:6px;height:36px;min-height:36px;padding:6px 12px;font-weight:750;line-height:1.2;display:inline-flex}.printer-settings-save-actions button svg{flex-shrink:0}.printer-settings-save-actions .printer-check-button{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-primary-text)}.printer-settings-save-actions .printer-check-button:hover{background:var(--theme-primary-soft)}@media (width>=981px){.settings-screen .settings-workspace{height:auto}.settings-screen .settings-panel-content{overflow:visible}}@media (width<=1100px){.settings-printer-form .settings-form-grid{grid-template-columns:minmax(0,1fr)}}html[lang=my]{--mkpos-control-height:38px;--mkpos-table-row-height:44px;--mkpos-line-height:1.65}html[lang=my],html[lang=my] body,html[lang=my] .localization-root{font-family:Noto Sans Myanmar,Myanmar Text,Padauk,Myanmar3,sans-serif;line-height:var(--mkpos-line-height)}html[lang=my] :where(h1,h2,h3,h4,h5,h6,p,label,legend,th,td,button,input,select,textarea,option,small,strong,b,span){letter-spacing:0;font-family:inherit;line-height:var(--mkpos-line-height)}html[lang=my] :where(h1,h2,h3,h4,h5,h6){padding-block:2px}html[lang=my] :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:var(--mkpos-control-height);padding-top:7px;padding-bottom:7px;height:auto!important}html[lang=my] textarea{min-height:78px}html[lang=my] :where(button,.button-link){min-height:var(--mkpos-control-height);padding-top:5px;padding-bottom:5px;height:auto!important}html[lang=my] :where(button.icon-btn,.product-row-actions button,.purchase-row-actions button,.supplier-row-actions button,.customer-row-actions button,.expense-row-actions button,.transaction-row-actions button){width:34px;min-width:34px;min-height:34px;padding:0;line-height:1;height:34px!important}html[lang=my] .sidebar nav button{min-height:52px;padding-top:6px;padding-bottom:6px}html[lang=my] :where(th,td){vertical-align:middle;height:auto;padding-top:7px!important;padding-bottom:7px!important}html[lang=my] :where([class$=-badge],[class*=-badge\ ],[class$=-pill],[class*=-pill\ ],.sale-product-stock){align-items:center;min-height:28px;padding-top:3px;padding-bottom:3px;line-height:1.55;display:inline-flex;overflow:visible}html[lang=my] :where(.workspace-chat-badge,.shop-order-action-badge){white-space:nowrap;min-height:0;padding-block:0;line-height:1}html[lang=my] :where(.notice,.toast,.global-notification,.notification-item,.loading-state,.empty-state,.error-state){min-height:42px;line-height:var(--mkpos-line-height);padding-top:8px;padding-bottom:8px}html[lang=my] :where(.sale-product-card,.product-summary-card,.report-summary-card,.expense-summary-card){padding-top:11px;padding-bottom:11px}html[lang=my] .sale-product-card{min-height:126px}html[lang=my] .product-stat-card,html[lang=my] button.product-stat-card{min-height:76px;overflow:visible}html[lang=my] .product-stat-card>div{gap:0}html[lang=my] .product-filter-row{align-items:stretch}html[lang=my] :where(.product-search-field,.product-scan-field){min-height:var(--mkpos-control-height);padding-top:3px;padding-bottom:3px}html[lang=my] .product-action-row button{white-space:nowrap;justify-content:center;align-items:center;width:auto;min-width:max-content;display:inline-flex}html[lang=my] .product-table-title{min-height:48px}html[lang=my] .product-price-row{align-items:start}html[lang=my] .product-price-row em{text-overflow:clip;white-space:normal;overflow:visible}html[lang=my] .product-grid-wrap .product-data-table{table-layout:auto!important;width:100%!important;min-width:100%!important}html[lang=my] :where(.product-section-heading,.product-price-name){min-height:40px}html[lang=my] :where(.sale-cart-header,.sale-cart-item,.sale-total-box,.sale-payment-box){padding-top:8px;padding-bottom:8px}html[lang=my] :where(.modal-header,.modal-body,.modal-footer,.drawer-header,.drawer-body){line-height:var(--mkpos-line-height)}@media (width<=1199px){html[lang=my]{--mkpos-control-height:37px;--mkpos-table-row-height:43px}html[lang=my] .sidebar nav button{min-height:49px}}.receipt-document-host{--receipt-margin-left:3mm;--receipt-margin-right:3mm;--receipt-header-align:center;--receipt-header-size:11pt;--receipt-body-size:8.2pt;--receipt-line-height:1.45;width:var(--receipt-paper-width,80mm);min-width:0;max-width:100%;padding-right:var(--receipt-margin-right);padding-left:var(--receipt-margin-left);color:var(--theme-text);background:var(--theme-surface);font-family:Noto Sans Myanmar,Myanmar Text,Pyidaungsu,Arial,sans-serif}.receipt-document-host .receipt-document{width:100%;min-width:0;font-size:var(--receipt-body-size);line-height:var(--receipt-line-height);overflow-wrap:anywhere}.receipt-document-host .receipt-shop-header{text-align:var(--receipt-header-align);font-size:var(--receipt-header-size);overflow-wrap:anywhere;line-height:1.45}.receipt-document-host .receipt-logo{object-fit:contain;width:auto;max-width:min(100%,34mm);height:auto;max-height:20mm;margin:0 auto 1.5mm;display:block}.receipt-document-host .shop-name{font-weight:800}.receipt-document-host .shop-title{font-weight:650}.receipt-document-host .shop-address,.receipt-document-host .shop-phone{font-size:.88em}.receipt-document-host .receipt-rule{border-top:1px dashed;margin:1.5mm 0}.receipt-document-host .receipt-meta,.receipt-document-host .receipt-items,.receipt-document-host .receipt-totals{gap:.7mm;display:grid}.receipt-document-host .receipt-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:2mm;min-width:0;display:grid}.receipt-document-host .receipt-row>span,.receipt-document-host .receipt-row>strong{overflow-wrap:anywhere;min-width:0}.receipt-document-host .receipt-row>strong{text-align:right;font-weight:500}.receipt-document-host .receipt-item{gap:.4mm;display:grid}.receipt-document-host .receipt-item+.receipt-item{margin-top:1mm}.receipt-document-host .receipt-item-name{overflow-wrap:anywhere;font-weight:650}.receipt-document-host .receipt-item-amount>strong,.receipt-document-host .receipt-total>strong{font-weight:800}.receipt-document-host .receipt-foc{font-size:.92em}.receipt-document-host .receipt-footer{white-space:pre-wrap;text-align:center;overflow-wrap:anywhere}.receipt-document-host .receipt-items-table,.receipt-document-host .receipt-page-footer{display:none}.receipt-document-host .receipt-voided{text-align:center;font-weight:900}.receipt-document-host.receipt-paper-a5 .receipt-document,.receipt-document-host.receipt-paper-a4 .receipt-document{margin:0 auto}.receipt-document-host.receipt-paper-a5 .receipt-document{max-width:118mm}.receipt-document-host.receipt-paper-a4 .receipt-document{max-width:148mm}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-rule{border-top-style:solid;border-top-color:var(--theme-border);margin:3mm 0}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-document-heading{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:12mm;display:grid}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-shop-header{text-align:left}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-logo{margin-left:0;margin-right:0}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) :is(.receipt-meta,.receipt-totals){gap:1.4mm}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items,.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-footer--thermal{display:none}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table{border-collapse:collapse;table-layout:fixed;width:100%;display:table}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table th,.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table td{border:1px solid var(--theme-border);text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:2.2mm 2mm}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table th{background:var(--theme-background);font-weight:700}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table .numeric{text-align:right}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table :is(th,td):first-child{width:29%}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table :is(th,td):nth-child(2){width:15%}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table :is(th,td):nth-child(3),.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table :is(th,td):nth-child(4){width:9%}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table :is(th,td):nth-child(5){width:18%}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-items-table :is(th,td):nth-child(6){width:20%}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-totals{width:min(100%,82mm);margin-left:auto}.receipt-document-host:is(.receipt-paper-a5,.receipt-paper-a4) .receipt-page-footer{border-top:1px solid var(--theme-border);color:var(--theme-text-muted);text-align:center;white-space:pre-wrap;margin-top:8mm;padding-top:2mm;display:block}.sale-receipt-preview>.receipt-document-host{width:min(100%, var(--receipt-paper-width,80mm));border:1px solid var(--theme-border);max-height:60vh;margin:0 auto;padding-top:4mm;padding-bottom:5mm;overflow:auto}.receipt-paper-50mm{--receipt-paper-width:50mm}.receipt-paper-58mm{--receipt-paper-width:58mm}.receipt-paper-80mm{--receipt-paper-width:80mm}.receipt-paper-85mm{--receipt-paper-width:85mm}.receipt-paper-a5{--receipt-paper-width:148mm}.receipt-paper-a4{--receipt-paper-width:210mm}.receipt-align-left{--receipt-header-align:left}.receipt-align-center{--receipt-header-align:center}.receipt-align-right{--receipt-header-align:right}.receipt-margin-left-0{--receipt-margin-left:0mm}.receipt-margin-right-0{--receipt-margin-right:0mm}.receipt-margin-left-1{--receipt-margin-left:.5mm}.receipt-margin-right-1{--receipt-margin-right:.5mm}.receipt-margin-left-2{--receipt-margin-left:1mm}.receipt-margin-right-2{--receipt-margin-right:1mm}.receipt-margin-left-3{--receipt-margin-left:1.5mm}.receipt-margin-right-3{--receipt-margin-right:1.5mm}.receipt-margin-left-4{--receipt-margin-left:2mm}.receipt-margin-right-4{--receipt-margin-right:2mm}.receipt-margin-left-5{--receipt-margin-left:2.5mm}.receipt-margin-right-5{--receipt-margin-right:2.5mm}.receipt-margin-left-6{--receipt-margin-left:3mm}.receipt-margin-right-6{--receipt-margin-right:3mm}.receipt-margin-left-7{--receipt-margin-left:3.5mm}.receipt-margin-right-7{--receipt-margin-right:3.5mm}.receipt-margin-left-8{--receipt-margin-left:4mm}.receipt-margin-right-8{--receipt-margin-right:4mm}.receipt-margin-left-9{--receipt-margin-left:4.5mm}.receipt-margin-right-9{--receipt-margin-right:4.5mm}.receipt-margin-left-10{--receipt-margin-left:5mm}.receipt-margin-right-10{--receipt-margin-right:5mm}.receipt-margin-left-11{--receipt-margin-left:5.5mm}.receipt-margin-right-11{--receipt-margin-right:5.5mm}.receipt-margin-left-12{--receipt-margin-left:6mm}.receipt-margin-right-12{--receipt-margin-right:6mm}.receipt-margin-left-13{--receipt-margin-left:6.5mm}.receipt-margin-right-13{--receipt-margin-right:6.5mm}.receipt-margin-left-14{--receipt-margin-left:7mm}.receipt-margin-right-14{--receipt-margin-right:7mm}.receipt-margin-left-15{--receipt-margin-left:7.5mm}.receipt-margin-right-15{--receipt-margin-right:7.5mm}.receipt-margin-left-16{--receipt-margin-left:8mm}.receipt-margin-right-16{--receipt-margin-right:8mm}.receipt-margin-left-17{--receipt-margin-left:8.5mm}.receipt-margin-right-17{--receipt-margin-right:8.5mm}.receipt-margin-left-18{--receipt-margin-left:9mm}.receipt-margin-right-18{--receipt-margin-right:9mm}.receipt-margin-left-19{--receipt-margin-left:9.5mm}.receipt-margin-right-19{--receipt-margin-right:9.5mm}.receipt-margin-left-20{--receipt-margin-left:10mm}.receipt-margin-right-20{--receipt-margin-right:10mm}.receipt-margin-left-21{--receipt-margin-left:10.5mm}.receipt-margin-right-21{--receipt-margin-right:10.5mm}.receipt-margin-left-22{--receipt-margin-left:11mm}.receipt-margin-right-22{--receipt-margin-right:11mm}.receipt-margin-left-23{--receipt-margin-left:11.5mm}.receipt-margin-right-23{--receipt-margin-right:11.5mm}.receipt-margin-left-24{--receipt-margin-left:12mm}.receipt-margin-right-24{--receipt-margin-right:12mm}.receipt-margin-left-25{--receipt-margin-left:12.5mm}.receipt-margin-right-25{--receipt-margin-right:12.5mm}.receipt-margin-left-26{--receipt-margin-left:13mm}.receipt-margin-right-26{--receipt-margin-right:13mm}.receipt-margin-left-27{--receipt-margin-left:13.5mm}.receipt-margin-right-27{--receipt-margin-right:13.5mm}.receipt-margin-left-28{--receipt-margin-left:14mm}.receipt-margin-right-28{--receipt-margin-right:14mm}.receipt-margin-left-29{--receipt-margin-left:14.5mm}.receipt-margin-right-29{--receipt-margin-right:14.5mm}.receipt-margin-left-30{--receipt-margin-left:15mm}.receipt-margin-right-30{--receipt-margin-right:15mm}.receipt-margin-left-31{--receipt-margin-left:15.5mm}.receipt-margin-right-31{--receipt-margin-right:15.5mm}.receipt-margin-left-32{--receipt-margin-left:16mm}.receipt-margin-right-32{--receipt-margin-right:16mm}.receipt-margin-left-33{--receipt-margin-left:16.5mm}.receipt-margin-right-33{--receipt-margin-right:16.5mm}.receipt-margin-left-34{--receipt-margin-left:17mm}.receipt-margin-right-34{--receipt-margin-right:17mm}.receipt-margin-left-35{--receipt-margin-left:17.5mm}.receipt-margin-right-35{--receipt-margin-right:17.5mm}.receipt-margin-left-36{--receipt-margin-left:18mm}.receipt-margin-right-36{--receipt-margin-right:18mm}.receipt-margin-left-37{--receipt-margin-left:18.5mm}.receipt-margin-right-37{--receipt-margin-right:18.5mm}.receipt-margin-left-38{--receipt-margin-left:19mm}.receipt-margin-right-38{--receipt-margin-right:19mm}.receipt-margin-left-39{--receipt-margin-left:19.5mm}.receipt-margin-right-39{--receipt-margin-right:19.5mm}.receipt-margin-left-40{--receipt-margin-left:20mm}.receipt-margin-right-40{--receipt-margin-right:20mm}.receipt-margin-left-41{--receipt-margin-left:20.5mm}.receipt-margin-right-41{--receipt-margin-right:20.5mm}.receipt-margin-left-42{--receipt-margin-left:21mm}.receipt-margin-right-42{--receipt-margin-right:21mm}.receipt-margin-left-43{--receipt-margin-left:21.5mm}.receipt-margin-right-43{--receipt-margin-right:21.5mm}.receipt-margin-left-44{--receipt-margin-left:22mm}.receipt-margin-right-44{--receipt-margin-right:22mm}.receipt-margin-left-45{--receipt-margin-left:22.5mm}.receipt-margin-right-45{--receipt-margin-right:22.5mm}.receipt-margin-left-46{--receipt-margin-left:23mm}.receipt-margin-right-46{--receipt-margin-right:23mm}.receipt-margin-left-47{--receipt-margin-left:23.5mm}.receipt-margin-right-47{--receipt-margin-right:23.5mm}.receipt-margin-left-48{--receipt-margin-left:24mm}.receipt-margin-right-48{--receipt-margin-right:24mm}.receipt-margin-left-49{--receipt-margin-left:24.5mm}.receipt-margin-right-49{--receipt-margin-right:24.5mm}.receipt-margin-left-50{--receipt-margin-left:25mm}.receipt-margin-right-50{--receipt-margin-right:25mm}.receipt-margin-left-51{--receipt-margin-left:25.5mm}.receipt-margin-right-51{--receipt-margin-right:25.5mm}.receipt-margin-left-52{--receipt-margin-left:26mm}.receipt-margin-right-52{--receipt-margin-right:26mm}.receipt-margin-left-53{--receipt-margin-left:26.5mm}.receipt-margin-right-53{--receipt-margin-right:26.5mm}.receipt-margin-left-54{--receipt-margin-left:27mm}.receipt-margin-right-54{--receipt-margin-right:27mm}.receipt-margin-left-55{--receipt-margin-left:27.5mm}.receipt-margin-right-55{--receipt-margin-right:27.5mm}.receipt-margin-left-56{--receipt-margin-left:28mm}.receipt-margin-right-56{--receipt-margin-right:28mm}.receipt-margin-left-57{--receipt-margin-left:28.5mm}.receipt-margin-right-57{--receipt-margin-right:28.5mm}.receipt-margin-left-58{--receipt-margin-left:29mm}.receipt-margin-right-58{--receipt-margin-right:29mm}.receipt-margin-left-59{--receipt-margin-left:29.5mm}.receipt-margin-right-59{--receipt-margin-right:29.5mm}.receipt-margin-left-60{--receipt-margin-left:30mm}.receipt-margin-right-60{--receipt-margin-right:30mm}.receipt-header-size-14{--receipt-header-size:7pt}.receipt-header-size-15{--receipt-header-size:7.5pt}.receipt-header-size-16{--receipt-header-size:8pt}.receipt-header-size-17{--receipt-header-size:8.5pt}.receipt-header-size-18{--receipt-header-size:9pt}.receipt-header-size-19{--receipt-header-size:9.5pt}.receipt-header-size-20{--receipt-header-size:10pt}.receipt-header-size-21{--receipt-header-size:10.5pt}.receipt-header-size-22{--receipt-header-size:11pt}.receipt-header-size-23{--receipt-header-size:11.5pt}.receipt-header-size-24{--receipt-header-size:12pt}.receipt-header-size-25{--receipt-header-size:12.5pt}.receipt-header-size-26{--receipt-header-size:13pt}.receipt-header-size-27{--receipt-header-size:13.5pt}.receipt-header-size-28{--receipt-header-size:14pt}.receipt-header-size-29{--receipt-header-size:14.5pt}.receipt-header-size-30{--receipt-header-size:15pt}.receipt-header-size-31{--receipt-header-size:15.5pt}.receipt-header-size-32{--receipt-header-size:16pt}.receipt-header-size-33{--receipt-header-size:16.5pt}.receipt-header-size-34{--receipt-header-size:17pt}.receipt-header-size-35{--receipt-header-size:17.5pt}.receipt-header-size-36{--receipt-header-size:18pt}.receipt-header-size-37{--receipt-header-size:18.5pt}.receipt-header-size-38{--receipt-header-size:19pt}.receipt-header-size-39{--receipt-header-size:19.5pt}.receipt-header-size-40{--receipt-header-size:20pt}.receipt-header-size-41{--receipt-header-size:20.5pt}.receipt-header-size-42{--receipt-header-size:21pt}.receipt-header-size-43{--receipt-header-size:21.5pt}.receipt-header-size-44{--receipt-header-size:22pt}.receipt-header-size-45{--receipt-header-size:22.5pt}.receipt-header-size-46{--receipt-header-size:23pt}.receipt-header-size-47{--receipt-header-size:23.5pt}.receipt-header-size-48{--receipt-header-size:24pt}.receipt-body-size-60{--receipt-body-size:6pt}.receipt-body-size-61{--receipt-body-size:6.1pt}.receipt-body-size-62{--receipt-body-size:6.2pt}.receipt-body-size-63{--receipt-body-size:6.3pt}.receipt-body-size-64{--receipt-body-size:6.4pt}.receipt-body-size-65{--receipt-body-size:6.5pt}.receipt-body-size-66{--receipt-body-size:6.6pt}.receipt-body-size-67{--receipt-body-size:6.7pt}.receipt-body-size-68{--receipt-body-size:6.8pt}.receipt-body-size-69{--receipt-body-size:6.9pt}.receipt-body-size-70{--receipt-body-size:7pt}.receipt-body-size-71{--receipt-body-size:7.1pt}.receipt-body-size-72{--receipt-body-size:7.2pt}.receipt-body-size-73{--receipt-body-size:7.3pt}.receipt-body-size-74{--receipt-body-size:7.4pt}.receipt-body-size-75{--receipt-body-size:7.5pt}.receipt-body-size-76{--receipt-body-size:7.6pt}.receipt-body-size-77{--receipt-body-size:7.7pt}.receipt-body-size-78{--receipt-body-size:7.8pt}.receipt-body-size-79{--receipt-body-size:7.9pt}.receipt-body-size-80{--receipt-body-size:8pt}.receipt-body-size-81{--receipt-body-size:8.1pt}.receipt-body-size-82{--receipt-body-size:8.2pt}.receipt-body-size-83{--receipt-body-size:8.3pt}.receipt-body-size-84{--receipt-body-size:8.4pt}.receipt-body-size-85{--receipt-body-size:8.5pt}.receipt-body-size-86{--receipt-body-size:8.6pt}.receipt-body-size-87{--receipt-body-size:8.7pt}.receipt-body-size-88{--receipt-body-size:8.8pt}.receipt-body-size-89{--receipt-body-size:8.9pt}.receipt-body-size-90{--receipt-body-size:9pt}.receipt-body-size-91{--receipt-body-size:9.1pt}.receipt-body-size-92{--receipt-body-size:9.2pt}.receipt-body-size-93{--receipt-body-size:9.3pt}.receipt-body-size-94{--receipt-body-size:9.4pt}.receipt-body-size-95{--receipt-body-size:9.5pt}.receipt-body-size-96{--receipt-body-size:9.6pt}.receipt-body-size-97{--receipt-body-size:9.7pt}.receipt-body-size-98{--receipt-body-size:9.8pt}.receipt-body-size-99{--receipt-body-size:9.9pt}.receipt-body-size-100{--receipt-body-size:10pt}.receipt-body-size-101{--receipt-body-size:10.1pt}.receipt-body-size-102{--receipt-body-size:10.2pt}.receipt-body-size-103{--receipt-body-size:10.3pt}.receipt-body-size-104{--receipt-body-size:10.4pt}.receipt-body-size-105{--receipt-body-size:10.5pt}.receipt-body-size-106{--receipt-body-size:10.6pt}.receipt-body-size-107{--receipt-body-size:10.7pt}.receipt-body-size-108{--receipt-body-size:10.8pt}.receipt-body-size-109{--receipt-body-size:10.9pt}.receipt-body-size-110{--receipt-body-size:11pt}.receipt-body-size-111{--receipt-body-size:11.1pt}.receipt-body-size-112{--receipt-body-size:11.2pt}.receipt-body-size-113{--receipt-body-size:11.3pt}.receipt-body-size-114{--receipt-body-size:11.4pt}.receipt-body-size-115{--receipt-body-size:11.5pt}.receipt-body-size-116{--receipt-body-size:11.6pt}.receipt-body-size-117{--receipt-body-size:11.7pt}.receipt-body-size-118{--receipt-body-size:11.8pt}.receipt-body-size-119{--receipt-body-size:11.9pt}.receipt-body-size-120{--receipt-body-size:12pt}.receipt-body-size-121{--receipt-body-size:12.1pt}.receipt-body-size-122{--receipt-body-size:12.2pt}.receipt-body-size-123{--receipt-body-size:12.3pt}.receipt-body-size-124{--receipt-body-size:12.4pt}.receipt-body-size-125{--receipt-body-size:12.5pt}.receipt-body-size-126{--receipt-body-size:12.6pt}.receipt-body-size-127{--receipt-body-size:12.7pt}.receipt-body-size-128{--receipt-body-size:12.8pt}.receipt-body-size-129{--receipt-body-size:12.9pt}.receipt-body-size-130{--receipt-body-size:13pt}.receipt-body-size-131{--receipt-body-size:13.1pt}.receipt-body-size-132{--receipt-body-size:13.2pt}.receipt-body-size-133{--receipt-body-size:13.3pt}.receipt-body-size-134{--receipt-body-size:13.4pt}.receipt-body-size-135{--receipt-body-size:13.5pt}.receipt-body-size-136{--receipt-body-size:13.6pt}.receipt-body-size-137{--receipt-body-size:13.7pt}.receipt-body-size-138{--receipt-body-size:13.8pt}.receipt-body-size-139{--receipt-body-size:13.9pt}.receipt-body-size-140{--receipt-body-size:14pt}.receipt-body-size-141{--receipt-body-size:14.1pt}.receipt-body-size-142{--receipt-body-size:14.2pt}.receipt-body-size-143{--receipt-body-size:14.3pt}.receipt-body-size-144{--receipt-body-size:14.4pt}.receipt-body-size-145{--receipt-body-size:14.5pt}.receipt-body-size-146{--receipt-body-size:14.6pt}.receipt-body-size-147{--receipt-body-size:14.7pt}.receipt-body-size-148{--receipt-body-size:14.8pt}.receipt-body-size-149{--receipt-body-size:14.9pt}.receipt-body-size-150{--receipt-body-size:15pt}.receipt-body-size-151{--receipt-body-size:15.1pt}.receipt-body-size-152{--receipt-body-size:15.2pt}.receipt-body-size-153{--receipt-body-size:15.3pt}.receipt-body-size-154{--receipt-body-size:15.4pt}.receipt-body-size-155{--receipt-body-size:15.5pt}.receipt-body-size-156{--receipt-body-size:15.6pt}.receipt-body-size-157{--receipt-body-size:15.7pt}.receipt-body-size-158{--receipt-body-size:15.8pt}.receipt-body-size-159{--receipt-body-size:15.9pt}.receipt-body-size-160{--receipt-body-size:16pt}.receipt-body-size-161{--receipt-body-size:16.1pt}.receipt-body-size-162{--receipt-body-size:16.2pt}.receipt-body-size-163{--receipt-body-size:16.3pt}.receipt-body-size-164{--receipt-body-size:16.4pt}.receipt-body-size-165{--receipt-body-size:16.5pt}.receipt-body-size-166{--receipt-body-size:16.6pt}.receipt-body-size-167{--receipt-body-size:16.7pt}.receipt-body-size-168{--receipt-body-size:16.8pt}.receipt-body-size-169{--receipt-body-size:16.9pt}.receipt-body-size-170{--receipt-body-size:17pt}.receipt-body-size-171{--receipt-body-size:17.1pt}.receipt-body-size-172{--receipt-body-size:17.2pt}.receipt-body-size-173{--receipt-body-size:17.3pt}.receipt-body-size-174{--receipt-body-size:17.4pt}.receipt-body-size-175{--receipt-body-size:17.5pt}.receipt-body-size-176{--receipt-body-size:17.6pt}.receipt-body-size-177{--receipt-body-size:17.7pt}.receipt-body-size-178{--receipt-body-size:17.8pt}.receipt-body-size-179{--receipt-body-size:17.9pt}.receipt-body-size-180{--receipt-body-size:18pt}.receipt-line-height-20{--receipt-line-height:1}.receipt-line-height-21{--receipt-line-height:1.05}.receipt-line-height-22{--receipt-line-height:1.1}.receipt-line-height-23{--receipt-line-height:1.15}.receipt-line-height-24{--receipt-line-height:1.2}.receipt-line-height-25{--receipt-line-height:1.25}.receipt-line-height-26{--receipt-line-height:1.3}.receipt-line-height-27{--receipt-line-height:1.35}.receipt-line-height-28{--receipt-line-height:1.4}.receipt-line-height-29{--receipt-line-height:1.45}.receipt-line-height-30{--receipt-line-height:1.5}.receipt-line-height-31{--receipt-line-height:1.55}.receipt-line-height-32{--receipt-line-height:1.6}.receipt-line-height-33{--receipt-line-height:1.65}.receipt-line-height-34{--receipt-line-height:1.7}.receipt-line-height-35{--receipt-line-height:1.75}.receipt-line-height-36{--receipt-line-height:1.8}.receipt-line-height-37{--receipt-line-height:1.85}.receipt-line-height-38{--receipt-line-height:1.9}.receipt-line-height-39{--receipt-line-height:1.95}.receipt-line-height-40{--receipt-line-height:2}.receipt-line-height-41{--receipt-line-height:2.05}.receipt-line-height-42{--receipt-line-height:2.1}.receipt-line-height-43{--receipt-line-height:2.15}.receipt-line-height-44{--receipt-line-height:2.2}.auth-split-page{background:radial-gradient(circle at 17% 13%, color-mix(in srgb, var(--theme-secondary) 17%, transparent), transparent 30%), linear-gradient(145deg, var(--theme-background) 0%, var(--theme-surface) 50%, var(--theme-background) 100%);place-items:center;min-height:100dvh;padding:24px;display:grid;overflow:auto}.auth-split-shell{border:1px solid var(--theme-border);background:var(--theme-surface);width:min(850px,100%);min-height:490px;box-shadow:0 22px 65px color-mix(in srgb, var(--theme-shadow) 16%, transparent);border-radius:12px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);display:grid;overflow:hidden}.auth-signup-shell{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);width:min(970px,100%);min-height:560px}.auth-split-intro{min-width:0;color:var(--theme-on-primary);background:radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--theme-secondary) 20%, transparent), transparent 28%), linear-gradient(150deg, var(--theme-primary) 0%, var(--theme-primary) 100%);flex-direction:column;padding:30px;display:flex}.auth-split-brand{align-items:center;gap:10px;display:flex}.auth-split-brand>span{background:var(--theme-surface);border-radius:7px;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid;overflow:hidden}.auth-split-brand img{box-sizing:border-box;object-fit:contain;object-position:center;width:100%;min-width:0;height:100%;min-height:0;padding:4px;display:block}.auth-split-brand>div{display:grid}.auth-split-brand strong{letter-spacing:.02em;font-size:.96rem}.auth-split-brand small{color:var(--theme-on-primary);font-size:.66rem}.auth-split-copy{margin:auto 0}.auth-split-kicker{border:1px solid color-mix(in srgb, var(--theme-border) 17%, transparent);min-height:27px;color:var(--theme-on-primary);background:color-mix(in srgb, var(--theme-surface) 7%, transparent);border-radius:999px;align-items:center;gap:6px;padding:0 8px;font-size:.65rem;font-weight:700;display:inline-flex}.auth-split-copy h1{letter-spacing:-.035em;max-width:315px;margin:14px 0 10px;font-size:1.65rem;line-height:1.18}.auth-split-copy p{max-width:315px;color:var(--theme-on-primary);margin:0;font-size:.76rem;line-height:1.6}.auth-split-points{gap:9px;margin-bottom:24px;display:grid}.auth-split-points>div{align-items:flex-start;gap:8px;display:flex}.auth-split-points>div>svg{color:var(--theme-on-secondary);background:var(--theme-secondary);border-radius:50%;margin-top:1px;padding:2px}.auth-split-points span{gap:2px;display:grid}.auth-split-points strong{font-size:.7rem}.auth-split-points small,.auth-split-copyright{color:var(--theme-on-primary);font-size:.62rem}.auth-split-form{background:var(--theme-surface);flex-direction:column;justify-content:center;min-width:0;padding:42px 48px 32px;display:flex}.auth-signup-form{padding-block:30px 26px;padding-inline:38px}.auth-split-heading{align-items:center;gap:10px;margin-bottom:23px;display:flex}.auth-split-heading>span{width:38px;height:38px;color:var(--theme-primary-text);background:var(--theme-background);border-radius:7px;flex:0 0 38px;place-items:center;display:grid}.auth-split-heading h2{color:var(--theme-text);letter-spacing:-.02em;margin:0;font-size:1.18rem}.auth-split-heading p{color:var(--theme-text-muted);margin:3px 0 0;font-size:.7rem}.auth-form{gap:13px;display:grid}.auth-form label{color:var(--theme-text-muted);gap:5px;font-size:.69rem;font-weight:700;display:grid}.auth-split-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.auth-split-input{border:1px solid var(--theme-border);min-height:39px;color:var(--theme-text-muted);background:var(--theme-surface);border-radius:5px;align-items:center;gap:8px;padding-left:10px;display:flex}.auth-split-input:focus-within{border-color:var(--theme-focus);background:var(--theme-surface);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-shadow) 10%, transparent)}.auth-split-input input{height:37px;min-height:37px;color:var(--theme-text);caret-color:var(--theme-text);background:0 0;border:0;border-radius:0;padding:0;font-size:.75rem;font-weight:400;box-shadow:none!important}.auth-split-input input::placeholder{color:var(--theme-text-muted);opacity:1}:-webkit-any(.auth-split-page input:-webkit-autofill,.office-login-page input:-webkit-autofill){-webkit-text-fill-color:var(--theme-text);caret-color:var(--theme-text);-webkit-box-shadow:0 0 0 1000px var(--theme-surface) inset!important}:is(.auth-split-page input:autofill,.office-login-page input:autofill){-webkit-text-fill-color:var(--theme-text);caret-color:var(--theme-text);-webkit-box-shadow:0 0 0 1000px var(--theme-surface) inset!important}.auth-split-password button{width:36px;min-height:34px;color:var(--theme-text-muted);background:0 0;border:0;padding:0}.auth-split-remember{cursor:pointer;align-items:center;min-height:24px;color:var(--theme-text-muted)!important;gap:8px!important;font-size:.68rem!important;font-weight:500!important;display:flex!important}.auth-split-remember input{width:15px;height:15px;min-height:15px;accent-color:var(--theme-primary-text);margin:0;padding:0}.auth-error{border:1px solid var(--theme-border);color:var(--theme-danger-text);background:var(--theme-danger-soft);border-radius:5px;padding:9px 11px;font-size:.7rem}.auth-submit{border-color:var(--theme-primary);color:var(--theme-on-primary);background:var(--theme-primary);justify-content:center;align-items:center;gap:7px;font-weight:800;display:flex}.auth-submit:hover{border-color:var(--theme-primary-hover);background:var(--theme-primary-hover)}.auth-split-submit{border-radius:5px;width:100%;min-height:40px;font-size:.75rem}.auth-split-switch{color:var(--theme-text-muted);justify-content:center;align-items:center;gap:5px;margin-top:17px;font-size:.68rem;display:flex}.auth-split-switch a,.auth-split-forgot{color:var(--theme-link);font-weight:800;text-decoration:none}.auth-split-switch a:hover,.auth-split-forgot:hover{text-decoration:underline}.auth-split-options{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.auth-split-forgot{white-space:nowrap;align-items:center;min-height:24px;font-size:.68rem;display:inline-flex}.auth-split-forgot:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px;border-radius:3px}.auth-split-help{color:var(--theme-text-muted);justify-content:center;align-items:center;gap:6px;margin:15px 0 0;font-size:.61rem;display:flex}.auth-brand{align-items:center;gap:10px;margin-bottom:22px;display:flex}.auth-brand img{object-fit:contain;width:58px;height:58px;margin:-10px}.auth-brand strong,.auth-brand span{display:block}.auth-brand strong{color:var(--theme-primary-text);font-size:1.12rem}.auth-brand span{color:var(--theme-text-muted);margin-top:2px;font-size:.84rem}@media (width<=760px){.auth-split-page{place-items:start center;padding:12px}.auth-split-shell,.auth-signup-shell{grid-template-columns:1fr;min-height:0}.auth-split-intro{min-height:150px;padding:20px}.auth-split-copy{margin:18px 0 0}.auth-split-copy h1{max-width:none;margin:9px 0 0;font-size:1.25rem}.auth-split-copy p,.auth-split-points,.auth-split-copyright{display:none}.auth-split-form,.auth-signup-form{padding:26px 20px}}@media (width<=520px){.auth-split-grid{grid-template-columns:1fr}}.subscription-page{background:var(--theme-background);min-height:100dvh;padding:0 24px 48px;overflow:auto}.trial-banner{border:1px solid var(--theme-border);color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:6px 14px 0;padding:6px 9px;display:grid}.trial-banner--reminder{border-color:var(--theme-border);color:var(--theme-warning-text);background:var(--theme-warning-soft)}.trial-banner--warning,.trial-banner--suspended,.trial-banner--expired,.trial-banner--blocked{border-color:var(--theme-border);color:var(--theme-danger-text);background:var(--theme-danger-soft)}.trial-banner-icon{background:color-mix(in srgb, var(--theme-surface) 65%, transparent);border-radius:6px;place-items:center;width:28px;height:28px;display:grid}.trial-banner-copy{grid-template-columns:auto minmax(0,1fr);gap:1px 10px;min-width:0;line-height:1.2;display:grid}.trial-banner-copy strong{grid-column:1/-1;font-size:.84rem}.trial-banner-copy span{white-space:nowrap;align-items:center;gap:4px;font-size:.72rem;font-weight:700;display:flex}.trial-banner-copy small{opacity:.82;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.72rem;overflow:hidden}.trial-banner>button{min-height:30px;color:inherit;background:color-mix(in srgb, var(--theme-surface) 68%, transparent);border-color:currentColor;align-items:center;gap:5px;padding:5px 9px;font-size:.8rem;font-weight:800;display:inline-flex}.trial-banner>button:focus-visible{outline-offset:2px;outline:3px solid}@media (width<=700px){.trial-banner{grid-template-columns:auto minmax(0,1fr)}.trial-banner-copy{grid-template-columns:minmax(0,1fr)}.trial-banner-copy strong,.trial-banner-copy span,.trial-banner-copy small{white-space:normal;grid-column:1}.trial-banner>button{grid-column:2;width:max-content}}.subscription-header{justify-content:space-between;align-items:center;width:min(1120px,100%);margin:0 auto;padding:20px 0;display:flex}.subscription-header .auth-brand{margin:0}.subscription-header>button,.subscription-refresh{align-items:center;gap:7px;display:inline-flex}.subscription-hero{text-align:center;width:min(760px,100%);margin:30px auto}.subscription-icon{width:58px;height:58px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:16px;place-items:center;margin:0 auto 14px;display:grid}.subscription-hero h1{color:var(--theme-text);margin:0;font-size:clamp(1.8rem,4vw,2.7rem)}.subscription-hero>p{color:var(--theme-text-muted);margin:10px auto;font-size:1rem;line-height:1.55}.subscription-hero small{color:var(--theme-text-muted)}.subscription-pending{border:1px solid var(--theme-border);color:var(--theme-warning-text);background:var(--theme-warning-soft);border-radius:8px;margin:18px auto 12px;padding:12px 16px}.subscription-refresh{margin:8px auto 0}.subscription-feedback{border-radius:8px;width:min(760px,100%);margin:12px auto;padding:12px 16px}.subscription-feedback.error{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.subscription-feedback.success{color:var(--theme-success-text);background:var(--theme-success-soft)}.subscription-loading,.subscription-empty{color:var(--theme-text-muted);text-align:center;padding:30px}.plan-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;width:min(1120px,100%);margin:32px auto 0;display:grid}.plan-card{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:350px;box-shadow:0 10px 30px color-mix(in srgb, var(--theme-shadow) 7%, transparent);border-radius:14px;flex-direction:column;gap:18px;padding:24px;display:flex}.plan-card h2{color:var(--theme-primary-text);margin:0}.plan-card p{color:var(--theme-text-muted);margin:7px 0 0;line-height:1.45}.plan-price strong,.plan-price span{display:block}.plan-price strong{color:var(--theme-primary-text);font-size:1.55rem}.plan-price span{color:var(--theme-text-muted);margin-top:3px}.plan-card ul{flex:1;gap:9px;margin:0;padding:0;list-style:none;display:grid}.plan-card li{color:var(--theme-text-muted);align-items:center;gap:8px;display:flex}.plan-card li svg{color:var(--theme-primary-text)}.plan-card>button{border-color:var(--theme-border);min-height:43px;color:var(--theme-on-primary);background:var(--theme-primary);justify-content:center;align-items:center;gap:8px;font-weight:800;display:flex}@media (width<=600px){.subscription-page{padding:0 14px 32px}.subscription-header{align-items:flex-start}.subscription-header>button span{display:none}}.subscription-payment-modal,.desktop-workspace .mkpos-modal.subscription-payment-modal{width:min(620px,100vw - 32px)}.subscription-payment-modal .mkpos-modal-body{padding:0}.subscription-payment-form{min-width:0;display:grid}.subscription-payment-fields{gap:10px;min-width:0;padding:10px 12px;display:grid}.subscription-payment-fields fieldset{border:0;min-width:0;margin:0;padding:0}.subscription-payment-fields legend{width:100%;color:var(--theme-text);align-items:center;gap:7px;margin-bottom:6px;display:flex}.subscription-payment-fields legend strong{font-size:.82rem}.subscription-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.subscription-payment-methods label{border:1px solid var(--theme-border);background:var(--theme-surface);cursor:pointer;border-radius:5px;grid-template-columns:16px minmax(0,1fr) 18px;align-items:start;gap:8px;min-width:0;min-height:58px;padding:8px 9px;transition:border-color .14s,background-color .14s;display:grid;position:relative}.subscription-payment-methods label:hover{border-color:var(--theme-border);background:var(--theme-background)}.subscription-payment-methods label.selected{border-color:var(--theme-border);background:var(--theme-primary-soft)}.subscription-payment-methods label:focus-within{outline:2px solid var(--theme-focus);outline-offset:1px}.subscription-payment-methods input[type=radio]{width:16px;min-width:16px;height:16px;min-height:16px;box-shadow:none;accent-color:var(--theme-primary-text);border:0;margin:2px 0 0;padding:0}.subscription-payment-method-copy{gap:2px;min-width:0;display:grid;overflow:hidden}.subscription-payment-methods strong,.subscription-payment-methods small,.subscription-payment-methods b{overflow-wrap:anywhere;word-break:break-word;min-width:0}.subscription-payment-methods strong{color:var(--theme-primary-text);font-size:.82rem}.subscription-payment-methods small{color:var(--theme-text-muted);font-size:.76rem}.subscription-payment-methods b{color:var(--theme-text-muted);font-variant-numeric:tabular-nums;font-size:.78rem}.subscription-payment-method-check{color:#0000;background:0 0;border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.subscription-payment-methods label.selected .subscription-payment-method-check{color:var(--theme-on-primary);background:var(--theme-primary)}.subscription-payment-method-empty{border:1px solid var(--theme-border);color:var(--theme-warning-text);background:var(--theme-warning-soft);border-radius:6px;grid-column:1/-1;margin:0;padding:12px;font-size:.8rem}.subscription-proof-field{border:1px dashed var(--theme-border);background:var(--theme-background);cursor:pointer;border-radius:5px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:8px 9px;transition:border-color .14s,background-color .14s;display:grid}.subscription-proof-field:hover{border-color:var(--theme-border);background:var(--theme-background)}.subscription-proof-field:focus-within{border-color:var(--theme-focus);outline:2px solid var(--theme-focus);outline-offset:2px}.subscription-proof-field input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.subscription-proof-icon{width:30px;height:30px;color:var(--theme-primary-text);background:var(--theme-background);border-radius:5px;place-items:center;display:grid}.subscription-proof-copy{min-width:0;color:var(--theme-text);gap:2px;display:grid}.subscription-proof-copy strong{font-size:.82rem}.subscription-proof-copy small{min-width:0;color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.subscription-proof-action{border:1px solid var(--theme-border);min-height:28px;color:var(--theme-primary-text);background:var(--theme-surface);white-space:nowrap;border-radius:4px;padding:4px 9px;font-size:.76rem;font-weight:700}.subscription-payment-message{color:var(--theme-text-muted);gap:6px;font-size:.82rem;font-weight:700;display:grid}.subscription-payment-message>span{align-items:baseline;gap:6px;display:flex}.subscription-payment-message>span small{color:var(--theme-text-muted);font-size:.7rem;font-weight:400}.subscription-payment-message textarea{resize:vertical;border-color:var(--theme-border);border-radius:4px;width:100%;min-height:50px;padding:7px 9px;font-weight:400}.subscription-payment-actions{border-top:1px solid var(--theme-border);background:var(--theme-surface);justify-content:flex-end;gap:8px;padding:10px 12px;display:flex;position:sticky;bottom:0}.subscription-payment-actions button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.subscription-payment-actions .primary{border-color:var(--theme-border);color:var(--theme-on-primary);background:var(--theme-primary);font-weight:800}@media (width<=600px){.subscription-payment-modal,.desktop-workspace .mkpos-modal.subscription-payment-modal{width:calc(100vw - 20px)}.subscription-payment-methods{grid-template-columns:1fr}.subscription-proof-field{grid-template-columns:36px minmax(0,1fr)}.subscription-proof-action{text-align:center;grid-column:1/-1;width:100%}.subscription-payment-actions{flex-direction:column-reverse}.subscription-payment-actions button{width:100%}.subscription-payment-modal .mkpos-modal-footer button{flex:140px;min-height:40px}}.access-screen{height:var(--mkpos-screen-height);flex-direction:column;gap:8px;min-height:0;display:flex;overflow:auto}.access-toolbar,.access-panel,.access-summary-grid article{border:1px solid var(--theme-border);border-radius:var(--mkpos-radius);background:var(--theme-surface);box-shadow:0 2px 8px color-mix(in srgb, var(--theme-shadow) 3.5%, transparent)}.access-toolbar{justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.access-toolbar>div{gap:2px;display:grid}.access-toolbar>div span{color:var(--theme-text-muted);font-size:.8rem}.access-toolbar button,.access-panel header button,.access-role-list footer button,.access-row-actions button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.access-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.access-summary-grid article{align-items:center;gap:10px;padding:9px 11px;display:flex}.access-summary-grid article>span{width:34px;height:34px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:6px;place-items:center;display:grid}.access-summary-grid article div{display:grid}.access-summary-grid small{color:var(--theme-text-muted)}.access-summary-grid strong{color:var(--theme-primary-text);font-size:1.15rem}.access-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0;min-height:0;display:grid}.access-panel{box-sizing:border-box;width:100%;min-width:0;overflow:hidden}.access-panel>header{border-bottom:1px solid var(--theme-border);background:var(--theme-background);justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:7px 9px;display:flex}.access-panel>header>div{color:var(--theme-primary-text);align-items:center;gap:7px;display:inline-flex}.access-panel>header>div>span{color:var(--theme-text-muted);background:var(--theme-background);border-radius:999px;padding:2px 7px;font-size:.72rem}.access-role-list{max-height:calc(var(--mkpos-screen-height) - 205px);align-content:start;gap:8px;padding:9px;display:grid;overflow:auto}.access-role-list>article{border:1px solid var(--theme-border);border-radius:6px;gap:9px;padding:10px;display:grid}.access-role-heading{align-items:center;gap:8px;display:flex}.access-role-heading>span,.access-person>span{height:30px;color:var(--theme-primary-text);background:var(--theme-background);border-radius:6px;flex:0 0 30px;place-items:center;display:grid}.access-role-heading>div,.access-person>div{gap:1px;min-width:0;display:grid}.access-role-heading small,.access-person small{color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.access-role-permissions{flex-wrap:wrap;gap:4px;display:flex}.access-role-permissions span{color:var(--theme-text-muted);background:var(--theme-background);border-radius:999px;padding:3px 6px;font-size:.7rem;font-weight:700}.access-role-list footer{border-top:1px solid var(--theme-border);justify-content:flex-end;gap:6px;padding-top:7px;display:flex}.access-table-wrap{max-height:none;overflow:visible}.access-role-table-wrap{overflow:visible}.access-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:.8rem;min-width:0!important}.access-role-table col.access-role-name-column{width:27%}.access-role-table col.access-permissions-column{width:auto}.access-role-table col.access-role-staff-column{width:60px}.access-table col.access-staff-column{width:38%}.access-table col.access-role-column{width:31%}.access-table col.access-status-column{width:auto}.access-table th,.access-table td{border-bottom:1px solid var(--theme-border);text-align:left;padding:8px 9px}.access-table th{z-index:1;color:var(--theme-text-muted);background:var(--theme-surface);text-transform:uppercase;font-size:.72rem;position:sticky;top:0}.access-person{align-items:center;gap:8px;min-width:0;display:flex}.access-table td{text-overflow:ellipsis;min-width:0;overflow:hidden}.access-table td:nth-child(2) strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.access-role-table .access-role-heading>span{flex-basis:26px;height:26px}.access-role-table .access-role-permissions{gap:3px}.access-role-table .access-role-permissions span{padding:2px 5px;font-size:.66rem}.access-status{border-radius:999px;padding:3px 7px;font-size:.72rem;font-weight:800;display:inline-flex}.access-status.active{color:var(--theme-primary-text);background:var(--theme-primary-soft)}.access-status.inactive{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.access-row-actions{gap:5px;display:flex}.access-row-actions button{width:31px;min-height:30px;padding:0}.access-empty{min-height:160px;color:var(--theme-text-muted);text-align:center;align-content:center;place-items:center;gap:5px;padding:20px;display:grid}.access-empty strong{color:var(--theme-text)}.access-denied-page{min-height:100dvh;color:var(--theme-text-muted);text-align:center;align-content:center;place-items:center;gap:8px;padding:24px;display:grid}.access-denied-page svg{color:var(--theme-primary-text)}.access-denied-page h1,.access-denied-page p{margin:0}.access-denied-page h1{color:var(--theme-primary-text)}.access-form-modal{width:min(680px,100%)}.access-password-modal{width:min(460px,100%)}.access-modal-form{gap:10px;display:grid}.access-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.access-permission-fieldset{border:0;min-width:0;margin:0;padding:0}.access-permission-fieldset legend{color:var(--theme-text);font-size:.82rem;font-weight:800}.access-permission-fieldset>p{color:var(--theme-text-muted);margin:3px 0 8px;font-size:.75rem}.access-permission-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.access-permission-grid label{border:1px solid var(--theme-border);background:var(--theme-surface);cursor:pointer;border-radius:5px;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.access-permission-grid label.selected{border-color:var(--theme-border);background:var(--theme-primary-soft)}.access-permission-grid input,.access-active-toggle input{width:16px;min-width:16px;height:16px;min-height:16px;accent-color:var(--theme-primary-text);margin:0;padding:0}.access-permission-grid label>span{display:grid}.access-permission-grid small{color:var(--theme-text-muted);font-size:.7rem}.access-active-toggle{border:1px solid var(--theme-border);background:var(--theme-background);border-radius:5px;align-items:center;gap:9px;padding:9px;display:flex}.access-active-toggle>span{display:grid}.access-active-toggle small{color:var(--theme-text-muted);font-size:.72rem}.access-modal-actions{border-top:1px solid var(--theme-border);background:var(--theme-background);justify-content:flex-end;gap:7px;margin:2px -12px -12px;padding:10px 12px;display:flex}@media (width<=900px){.access-layout{grid-template-columns:1fr}.access-role-list,.access-table-wrap{max-height:none}.access-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.access-toolbar{flex-direction:column;align-items:flex-start}.access-summary-grid,.access-form-grid,.access-permission-grid{grid-template-columns:1fr}.access-modal-actions{flex-direction:column-reverse}.access-modal-actions button{width:100%}}.desktop-startup,.desktop-unavailable{background:var(--theme-background);min-height:100vh;color:var(--theme-primary-text);place-items:center;display:grid}.desktop-startup{align-content:center;gap:14px}.desktop-mark{background:var(--theme-secondary);width:42px;height:42px;color:var(--theme-primary-text);border-radius:12px;place-items:center;font-size:1.35rem;font-weight:900;display:inline-grid}.desktop-mode-header{background:var(--theme-primary);min-height:72px;color:var(--theme-on-primary);justify-content:space-between;align-items:center;gap:16px;padding:12px 22px;display:flex}.desktop-mode-header>div,.desktop-mode-actions,.desktop-sync-warning,.desktop-sync-actions,.desktop-cart-heading>div{align-items:center;gap:11px;display:flex}.desktop-mode-header strong,.desktop-mode-header small{display:block}.desktop-mode-header small{color:var(--theme-text-muted);margin-top:2px}.desktop-online-badge,.desktop-offline-badge,.desktop-queue-badge{border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 11px;font-weight:800;display:inline-flex}.desktop-sidebar-mode-control{border-top:1px solid color-mix(in srgb, var(--theme-border) 14%, transparent);flex-direction:column;gap:6px;margin-top:8px;padding-top:10px;display:flex}.desktop-sidebar-mode-status,.desktop-sidebar-mode-control button{align-items:center;gap:7px;display:inline-flex}.desktop-sidebar-mode-status{color:color-mix(in srgb, var(--theme-sidebar-text) 72%, transparent);padding:0 10px;font-size:.82rem;font-weight:800}.desktop-sidebar-mode-control button{width:100%}.desktop-online-badge{color:var(--theme-success-text);background:var(--theme-success-soft)}.desktop-offline-badge{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.desktop-queue-badge{color:var(--theme-on-primary);border:1px solid color-mix(in srgb, var(--theme-border) 25%, transparent);background:color-mix(in srgb, var(--theme-surface) 9%, transparent)}.desktop-offline-shell{background:var(--theme-background);min-height:100vh}.desktop-offline-pos{grid-template-columns:minmax(0,1fr) 430px;gap:12px;height:calc(100vh - 72px);padding:12px;display:grid}.desktop-product-panel,.desktop-cart-panel,.desktop-sync-card,.desktop-unavailable-card{background:var(--theme-surface);border:1px solid var(--theme-border);box-shadow:0 10px 28px color-mix(in srgb, var(--theme-shadow) 7%, transparent);border-radius:10px}.desktop-product-panel{flex-direction:column;min-width:0;display:flex;overflow:hidden}.desktop-offline-notice{color:var(--theme-danger-text);background:var(--theme-warning-soft);border-bottom:1px solid var(--theme-border);align-items:center;gap:9px;padding:11px 14px;font-weight:700;display:flex}.desktop-product-filters{grid-template-columns:minmax(240px,1fr) 220px;gap:10px;padding:12px 14px 8px;display:grid}.desktop-product-filters label{position:relative}.desktop-product-filters label svg{color:var(--theme-text-muted);position:absolute;top:9px;left:10px}.desktop-product-filters input{padding-left:36px}.desktop-price-types{gap:7px;padding:0 14px 10px;display:flex;overflow-x:auto}.desktop-price-types button.selected{color:var(--theme-on-primary);border-color:var(--theme-border);background:var(--theme-primary)}.desktop-product-count{border-top:1px solid var(--theme-border);color:var(--theme-text-muted);padding:9px 14px;font-size:.84rem;font-weight:700}.desktop-product-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-content:start;gap:9px;min-height:0;padding:0 14px 14px;display:grid;overflow:auto}.desktop-product-grid>button{text-align:left;border-color:var(--theme-border);background:var(--theme-surface);flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:112px;padding:13px;display:flex}.desktop-product-grid>button:hover{border-color:var(--theme-border);box-shadow:0 4px 14px color-mix(in srgb, var(--theme-shadow) 11%, transparent)}.desktop-product-grid strong,.desktop-product-grid span,.desktop-product-grid b{display:block}.desktop-product-grid span{color:var(--theme-text-muted);font-size:.82rem}.desktop-product-grid b{color:var(--theme-primary-text)}.desktop-empty-products,.desktop-empty-row{text-align:center;color:var(--theme-text-muted);padding:30px}.desktop-cart-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.desktop-cart-heading{border-bottom:1px solid var(--theme-border);justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:10px 13px;display:flex}.desktop-cart-heading span{color:var(--theme-text-muted);font-size:.82rem}.desktop-cart-lines{flex:1;min-height:0;padding:10px;overflow:auto}.desktop-cart-line{border:1px solid var(--theme-border);border-radius:8px;margin-bottom:8px;padding:11px}.desktop-cart-name strong,.desktop-cart-name span{display:block}.desktop-cart-name span{color:var(--theme-text-muted);margin-top:3px;font-size:.8rem}.desktop-quantity-row{grid-template-columns:34px 64px 34px 1fr;align-items:end;gap:6px;margin-top:10px;display:grid}.desktop-quantity-row button{padding:0}.desktop-quantity-row input{text-align:center}.desktop-quantity-row label{color:var(--theme-text-muted);grid-template-columns:auto 60px;justify-content:end;align-items:center;gap:6px;font-size:.78rem;font-weight:700;display:grid}.desktop-cart-line-footer{justify-content:space-between;align-items:center;margin-top:9px;display:flex}.desktop-cart-line-footer button{min-height:30px;color:var(--theme-danger-text)}.desktop-empty-cart{height:100%;min-height:190px;color:var(--theme-text-muted);flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.desktop-checkout{border-top:1px solid var(--theme-border);background:var(--theme-background);grid-template-columns:1fr 1fr;gap:9px;padding:12px;display:grid}.desktop-checkout label{color:var(--theme-text-muted);font-size:.8rem;font-weight:800}.desktop-checkout label input,.desktop-checkout label select{margin-top:5px}.desktop-total,.desktop-save-sale,.desktop-checkout>small,.desktop-error,.desktop-success{grid-column:1/-1}.desktop-total{border-top:1px solid var(--theme-border);justify-content:space-between;align-items:center;padding:11px 0 3px;display:flex}.desktop-total strong{color:var(--theme-primary-text);font-size:1.45rem}.desktop-save-sale{min-height:46px;font-size:1rem}.desktop-checkout>small{text-align:center;color:var(--theme-text-muted)}.desktop-error,.desktop-success,.desktop-sync-message{border-radius:7px;padding:9px 11px;font-weight:700}.desktop-error{color:var(--theme-danger-text);background:var(--theme-danger-soft)}.desktop-success{color:var(--theme-success-text);background:var(--theme-success-soft)}.desktop-sync-page{background:var(--theme-background);min-height:100vh}.desktop-sync-card{width:min(1180px,100% - 32px);margin:24px auto;overflow:hidden}.desktop-sync-heading{border-bottom:1px solid var(--theme-border);gap:13px;padding:22px;display:flex}.desktop-sync-heading>span{width:46px;height:46px;color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:10px;flex:0 0 46px;place-items:center;display:grid}.desktop-sync-heading p,.desktop-sync-heading h1,.desktop-sync-heading small{margin:0}.desktop-sync-heading p{color:var(--theme-primary-text);letter-spacing:.09em;font-size:.76rem;font-weight:900}.desktop-sync-heading h1{margin:3px 0 4px;font-size:1.45rem}.desktop-sync-heading small{color:var(--theme-text-muted)}.desktop-sync-warning{color:var(--theme-danger-text);border:1px solid var(--theme-border);background:var(--theme-warning-soft);border-radius:8px;margin:15px;padding:12px}.desktop-sync-warning div{flex:1}.desktop-sync-warning strong,.desktop-sync-warning span{display:block}.desktop-sync-summary{background:var(--theme-background);grid-template-columns:repeat(3,1fr);gap:10px;padding:15px;display:grid}.desktop-sync-summary div{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:8px;padding:12px 15px}.desktop-sync-summary strong,.desktop-sync-summary span{display:block}.desktop-sync-summary strong{color:var(--theme-text);font-size:1.35rem}.desktop-sync-summary span{color:var(--theme-text-muted);font-size:.82rem}.desktop-sync-progress,.desktop-sync-message{margin:0 15px 12px}.desktop-sync-progress{color:var(--theme-primary-text);background:var(--theme-primary-soft);border-radius:7px;align-items:center;gap:9px;padding:10px 12px;display:flex}.desktop-sync-message{color:var(--theme-text-muted);background:var(--theme-background)}.spin{animation:.9s linear infinite desktop-spin}@keyframes desktop-spin{to{transform:rotate(360deg)}}.desktop-sync-table-wrap{border-top:1px solid var(--theme-border);border-bottom:1px solid var(--theme-border);max-height:48vh;overflow:auto}.desktop-sync-table{border-collapse:collapse;width:100%}.desktop-sync-table th,.desktop-sync-table td{text-align:left;border-bottom:1px solid var(--theme-border);padding:11px 12px}.desktop-sync-table th{z-index:1;color:var(--theme-text-muted);background:var(--theme-background);text-transform:uppercase;font-size:.78rem;position:sticky;top:0}.desktop-sync-table td small{color:var(--theme-text-muted);display:block}.desktop-sale-status{text-transform:capitalize;align-items:center;gap:6px;font-weight:800;display:inline-flex}.desktop-sale-status.synced{color:var(--theme-primary-text)}.desktop-sale-status.failed{color:var(--theme-danger-text)}.desktop-sale-status.pending,.desktop-sale-status.syncing{color:var(--theme-warning-text)}.desktop-sync-result{max-width:310px;color:var(--theme-text-muted)}.desktop-sync-actions{background:var(--theme-background);justify-content:flex-end;padding:14px}.desktop-sync-actions button{justify-content:center;align-items:center;gap:7px;min-height:40px;display:inline-flex}.desktop-unavailable-card{text-align:center;flex-direction:column;align-items:center;gap:10px;width:min(510px,100% - 30px);padding:38px;display:flex}.desktop-unavailable-card>svg{color:var(--theme-danger-text)}.desktop-unavailable-card p,.desktop-unavailable-card h1{margin:0}.desktop-unavailable-card p{color:var(--theme-danger-text);letter-spacing:.09em;font-size:.78rem;font-weight:900}.desktop-unavailable-card span,.desktop-unavailable-card small{color:var(--theme-text-muted)}.desktop-unavailable-card button{align-items:center;gap:7px;min-height:42px;margin-top:8px;display:inline-flex}.desktop-expired-queue{border:1px solid var(--theme-border);background:var(--theme-warning-soft);text-align:left;border-radius:8px;gap:6px;width:100%;margin-top:6px;padding:12px;display:grid}.desktop-expired-queue>strong{color:var(--theme-warning-text)}.desktop-expired-queue>span{font-size:.78rem;line-height:1.45}.desktop-expired-queue>div{border-top:1px solid var(--theme-border);justify-content:space-between;gap:10px;padding-top:6px;display:flex}.desktop-expired-queue>div span{text-transform:capitalize}.desktop-receipt-overlay{z-index:1200}.desktop-receipt-modal{width:min(520px,100vw - 30px);max-height:calc(100vh - 30px)}.desktop-receipt-modal .mkpos-modal-header p,.desktop-invoice-history .mkpos-modal-header p{color:var(--theme-primary-text);letter-spacing:.09em;margin:0 0 3px;font-size:.72rem;font-weight:900}.desktop-receipt-modal .mkpos-modal-header h2,.desktop-invoice-history .mkpos-modal-header h2{margin:0}.desktop-receipt-modal .sale-receipt-preview{background:var(--theme-background);padding:14px;overflow:auto}.desktop-receipt-modal .receipt-document-host{min-height:300px;box-shadow:0 4px 18px color-mix(in srgb, var(--theme-shadow) 10%, transparent);padding-top:5mm;padding-bottom:5mm}.desktop-receipt-modal .mkpos-modal-footer button,.desktop-invoice-row button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.desktop-invoice-history{width:min(920px,100vw - 30px)}.desktop-invoice-list{gap:8px;display:grid}.desktop-invoice-row{border:1px solid var(--theme-border);border-radius:8px;grid-template-columns:minmax(170px,1fr) 90px 130px 110px auto;align-items:center;gap:12px;padding:11px;display:grid}.desktop-invoice-row>div strong,.desktop-invoice-row>div span{display:block}.desktop-invoice-row>div span{color:var(--theme-text-muted);margin-top:3px;font-size:.78rem}@media (width<=1100px){.desktop-offline-pos{grid-template-columns:minmax(0,1fr) 380px}.desktop-product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}@media (width<=760px){.desktop-invoice-row{grid-template-columns:1fr auto}}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table,.table-wrap.sheet-table table){table-layout:fixed;border-collapse:separate;border-spacing:0;background:var(--theme-surface);width:100%;min-width:680px}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table,.table-wrap.sheet-table table) thead th{z-index:2;border:0;border-bottom:1px solid var(--theme-border);background:var(--theme-background);height:39px;color:var(--theme-text);white-space:normal;overflow-wrap:normal;word-break:normal;padding:7px 9px;font-size:.84rem;font-weight:800;line-height:1.35;position:sticky;top:0}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table,.table-wrap.sheet-table table) tbody td{box-sizing:border-box;border:0;border-bottom:1px solid var(--theme-border);height:47px;color:var(--theme-text);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;background:0 0;padding:7px 9px;font-size:.92rem;font-weight:500;line-height:1.5}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table,.table-wrap.sheet-table table) thead th{box-sizing:border-box}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table) :is(.status-badge,.status-pill,.access-status,.desktop-sale-status,.transaction-type-badge,.transaction-direction-badge,.transaction-method-badge){white-space:nowrap;overflow-wrap:normal;word-break:keep-all;max-width:none}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table,.table-wrap.sheet-table table) tbody tr:nth-child(2n){background:var(--theme-surface)}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table,.table-wrap.sheet-table table) tbody tr:hover{background:var(--theme-background)}body :is(.supplier-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.access-table) thead th:last-child,body :is(.supplier-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.access-table) tbody td:last-child{border-left:1px solid var(--theme-border);width:88px;min-width:88px;max-width:88px;box-shadow:none;text-align:center;background-clip:padding-box;position:sticky;right:0}body :is(.supplier-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.access-table) thead th:last-child{z-index:5;background:0 0}body :is(.supplier-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.access-table) tbody td:last-child{z-index:3;background:var(--theme-surface)}body :is(.supplier-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.access-table) tbody tr:nth-child(2n) td:last-child{background:var(--theme-surface)}body :is(.supplier-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table,.access-table) tbody tr:hover td:last-child{background:var(--theme-background)}:is(body .module-view .table-wrap:has(.table-actions-cell),body .module-view .product-grid-wrap:has(.table-actions-cell)){isolation:isolate}body .module-view table th.table-actions-cell,body .module-view table td.table-actions-cell{right:0!important;inset-inline-end:0!important;border-left:1px solid var(--theme-border)!important;background:var(--theme-surface)!important;width:88px!important;min-width:88px!important;max-width:88px!important;box-shadow:none!important;text-align:center!important;background-clip:padding-box!important;position:sticky!important;left:auto!important}body .module-view table th.table-actions-cell{z-index:12!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;background:0 0!important}body .module-view table td.table-actions-cell{z-index:10!important}body .module-view table tbody tr:nth-child(2n) td.table-actions-cell{background:var(--theme-surface)!important}body .module-view table tbody tr:hover td.table-actions-cell{background:var(--theme-background)!important}body .module-view table:has(>colgroup>col.table-action-column) :is(th:last-child,td:last-child:not([colspan])){box-sizing:border-box;right:0;inset-inline-end:0;border-left:1px solid var(--theme-border);width:88px;min-width:88px;max-width:88px;box-shadow:none;text-align:center;background-clip:padding-box;position:sticky;left:auto}body .module-view table:has(>colgroup>col.table-action-column) thead th:last-child{z-index:5;background:0 0}body .module-view table:has(>colgroup>col.table-action-column) tbody td:last-child:not([colspan]){z-index:3;background:var(--theme-surface)}body .module-view table:has(>colgroup>col.table-action-column) tbody tr:nth-child(2n) td:last-child:not([colspan]){background:var(--theme-surface)}body .module-view table:has(>colgroup>col.table-action-column) tbody tr:hover td:last-child:not([colspan]){background:var(--theme-background)}body :is(.supplier-table,.supplier-detail-table,.product-data-table,.purchase-history-table,.customer-table,.expense-table,.transaction-table) tbody td>strong{color:var(--theme-text);font-weight:750}body :is(.supplier-table-card,.supplier-detail-table-card,.product-table-card,.purchase-table-card,.customer-table-card,.expense-table-card,.transaction-table-card,.billing-table-card,.shop-table-card){border:1px solid var(--theme-border);background:var(--theme-surface);min-width:0;box-shadow:0 3px 12px color-mix(in srgb, var(--theme-shadow) 4.5%, transparent);border-radius:6px;overflow:hidden}body :is(.supplier-table-wrap,.supplier-detail-table-wrap,.product-grid-wrap,.purchase-table-wrap,.customer-table-wrap,.expense-table-wrap,.transaction-table-wrap,.billing-table-wrap,.access-table-wrap,.desktop-sync-table-wrap,.customer-history-table,.purchase-wizard-table-wrap,.table-wrap.sheet-table){background:var(--theme-surface);scrollbar-gutter:auto;overscroll-behavior:contain;min-width:0;position:relative;overflow:auto}body .shop-table-card>.table-wrap.sheet-table{box-shadow:none;border:0;border-radius:0}body .shop-table-card>.table-wrap.sheet-table>table tbody tr:last-child>td{border-bottom:0}body :is(.supplier-table,.product-data-table,.customer-table,.expense-table){min-width:920px}body .transaction-table{min-width:980px}body :is(.access-table,.billing-table){min-width:720px}body .desktop-sync-table{min-width:780px}body :is(.supplier-table-wrap,.supplier-detail-table-wrap,.product-grid-wrap,.purchase-table-wrap,.customer-table-wrap,.expense-table-wrap,.transaction-table-wrap,.customer-history-table)>.empty-state{min-height:160px;color:var(--theme-text-muted);text-align:center;background:0 0;border:0;place-items:center;padding:24px;display:grid}.table-loading-state{z-index:4;background:color-mix(in srgb, var(--theme-surface) 82%, transparent);min-height:120px;color:var(--theme-text-muted);place-items:center;display:grid;position:absolute;inset:0}.table-loading-state-content{border:1px solid var(--theme-border);background:var(--theme-surface);min-height:38px;box-shadow:0 4px 14px color-mix(in srgb, var(--theme-shadow) 8%, transparent);color:var(--theme-text-muted);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:.86rem;font-weight:700;line-height:1.35;display:inline-flex}.table-loading-state-spinner{color:var(--theme-primary-text);flex:none;animation:.8s linear infinite mkpos-table-loading-spin}body :is(.supplier-table-wrap,.supplier-detail-table-wrap,.product-grid-wrap,.purchase-table-wrap,.customer-table-wrap,.expense-table-wrap,.transaction-table-wrap,.billing-table-wrap,.access-table-wrap,.desktop-sync-table-wrap,.customer-history-table,.table-wrap.sheet-table):has(>.table-loading-state){min-height:160px}@keyframes mkpos-table-loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.table-loading-state-spinner{animation:none}}body .product-grid-wrap>.product-empty-state,body .access-table-wrap>.access-empty{min-height:160px;color:var(--theme-text-muted);text-align:center;background:0 0;border:0;place-items:center;padding:24px;display:grid}body .billing-table-wrap .billing-empty{min-height:120px;color:var(--theme-text-muted);text-align:center;background:0 0;place-items:center;padding:24px;display:grid}body .desktop-sync-table .desktop-empty-row{height:160px;color:var(--theme-text-muted);text-align:center}body :is(.supplier-table-footer,.supplier-history-footer,.product-table-footer,.purchase-history-footer,.customer-table-footer,.customer-history-list-footer,.expense-table-footer,.transaction-table-footer){border:0;border-top:1px solid var(--theme-border);background:var(--theme-surface);min-height:44px;color:var(--theme-text-muted);border-radius:0;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;font-size:.9rem;display:flex}body :is(.table-pagination,.supplier-pagination,.supplier-history-pagination,.product-pagination,.customer-pagination,.expense-pagination,.transaction-pagination){align-items:center;gap:7px;display:flex}body .table-pagination>span{min-width:3.5rem;color:var(--theme-text-muted);text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}body :is(.supplier-table-footer,.supplier-history-footer,.product-table-footer,.purchase-history-footer,.customer-table-footer,.customer-history-list-footer,.expense-table-footer,.transaction-table-footer) button{border-radius:4px;min-height:31px}@media (width<=700px){body :is(.supplier-table-footer,.supplier-history-footer,.product-table-footer,.purchase-history-footer,.customer-table-footer,.customer-history-list-footer,.expense-table-footer,.transaction-table-footer){align-items:stretch}}.csv-export-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:34px;display:inline-flex}.transaction-toolbar-actions,.access-header-actions{align-items:center;gap:.5rem;display:flex}.workspace-header{display:none}.workspace-page-heading{margin:16px 0}.workspace-page-heading h1{margin:0}.workspace-page-heading p{color:var(--theme-text-muted);margin:6px 0 0}.row-actions-trigger{background:0 0;border:0;border-radius:5px;place-items:center;width:28px;min-height:28px;padding:0;display:inline-grid}.row-actions-trigger:hover,.row-actions-trigger.is-open{background:var(--platform-primary-soft,var(--theme-primary-soft));color:var(--platform-primary,var(--theme-primary-text))}.row-actions-menu{z-index:1500;background:var(--theme-surface);border:1px solid var(--theme-border);width:190px;max-height:calc(100vh - 16px);box-shadow:0 8px 32px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent);border-radius:6px;gap:2px;padding:5px;display:grid;position:fixed;overflow-y:auto}.row-actions-menu>button{background:var(--theme-surface);text-align:left;border:0;border-radius:4px;justify-content:flex-start;align-items:center;gap:8px;width:100%;min-height:32px;padding:6px 8px;font-size:12px;font-weight:500;display:flex}.row-actions-menu>button:hover,.row-actions-menu>button:focus-visible{background:var(--platform-primary-soft,var(--theme-primary-soft))}.row-actions-menu>button.danger-button{color:var(--theme-danger-text)}@media (hover:none),(pointer:coarse){.row-actions-trigger{touch-action:manipulation;width:40px;min-height:40px}.row-actions-menu>button{touch-action:manipulation;min-height:44px;padding:9px 10px;font-size:13px}}.visually-hidden{clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;width:1px!important;min-width:0!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.workspace-header .workspace-refresh-button[aria-busy=true]{opacity:1;cursor:progress;width:auto;color:var(--theme-primary-text);background:var(--theme-primary-soft);flex:none;gap:6px;padding-inline:8px;display:inline-flex}.workspace-refresh-label{white-space:nowrap;font-size:11px;font-weight:600}.workspace-refresh-spin{animation:.8s linear infinite workspace-refresh-spin}@keyframes workspace-refresh-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.workspace-refresh-spin{animation:none}}@media screen and (width>=981px){:root{--surface:var(--theme-surface);--surface-soft:var(--theme-surface-muted);--line:var(--theme-border);--line-strong:var(--theme-border);--brand:var(--platform-primary,var(--theme-primary));--brand-2:var(--platform-primary,var(--theme-primary));--accent:var(--platform-primary-soft,var(--theme-secondary-soft));--muted:var(--theme-text-muted);--mkpos-sidebar-width:204px;--mkpos-sidebar-rail-width:56px;--mkpos-topbar-height:44px;--mkpos-main-pad:14px;--mkpos-gap:10px;--mkpos-panel-pad:10px;--mkpos-control-height:34px;--mkpos-table-row-height:42px;--mkpos-table-body-font-size:12px;--mkpos-stat-card-height:62px;--mkpos-stat-icon-size:28px;--mkpos-radius:6px;--mkpos-motion-fast:.15s;--mkpos-motion-panel:.18s;--mkpos-motion-ease:cubic-bezier(.2, .75, .25, 1)}body{color:var(--theme-text);background:var(--surface-soft);font-size:13px}.app-shell.desktop-workspace{grid-template-columns:var(--mkpos-sidebar-width) minmax(0, 1fr);background:var(--surface-soft);transition:grid-template-columns var(--mkpos-motion-panel) var(--mkpos-motion-ease)}.app-shell.desktop-workspace.sidebar-collapsed{--mkpos-sidebar-width:var(--mkpos-sidebar-rail-width)}.app-shell.desktop-workspace>main{padding:0 var(--mkpos-main-pad) 20px;background:var(--surface-soft);min-width:0}.app-shell.desktop-workspace>.sidebar{background:var(--theme-sidebar);transition:width var(--mkpos-motion-panel) var(--mkpos-motion-ease), padding var(--mkpos-motion-panel) var(--mkpos-motion-ease);border:0;padding:10px 8px;display:flex}.desktop-workspace .sidebar .brand{gap:8px;min-height:42px;margin-bottom:10px}.desktop-workspace .brand-logo{flex:0 0 34px;width:34px;height:34px;margin:0}.desktop-workspace .brand strong{letter-spacing:.2px;font-size:17px}.desktop-workspace .brand span{overflow-wrap:anywhere;max-width:132px;font-size:10px}.desktop-workspace .sidebar nav{gap:2px}.desktop-workspace .sidebar nav :is(button,a){min-height:36px;color:var(--theme-sidebar-text);background:0 0;border-color:#0000;border-radius:6px;padding:7px 9px;font-size:13px;font-weight:500}.desktop-workspace .sidebar nav :is(button,a):hover{background:var(--theme-sidebar)}.desktop-workspace .sidebar nav button.active{background:var(--theme-sidebar-selected);color:var(--theme-sidebar-selected-text);font-weight:650}.desktop-workspace .sidebar nav svg{flex-shrink:0;width:17px;height:17px}.desktop-workspace .sidebar-account{border-top:1px solid color-mix(in srgb, var(--theme-border) 14.118%, transparent);margin-top:12px;padding-top:10px}.desktop-workspace .sidebar-account strong{font-size:12px}.desktop-workspace .sidebar-account span{font-size:10px}.desktop-workspace .sidebar-account button{border-color:color-mix(in srgb, var(--theme-border) 18.824%, transparent);min-height:34px;color:var(--theme-sidebar-text);background:0 0;padding:6px 8px;font-size:12px}.desktop-workspace .sidebar :is(.brand>div,nav button>span,nav a>span,.sidebar-account>div,.sidebar-account button>span){opacity:1;white-space:nowrap;max-width:150px;transition:max-width var(--mkpos-motion-panel) var(--mkpos-motion-ease), opacity .1s ease;overflow:hidden}.sidebar-collapsed .sidebar :is(.brand>div,nav button>span,nav a>span,.sidebar-account>div,.sidebar-account button>span){opacity:0;pointer-events:none;max-width:0}.sidebar-collapsed .sidebar nav :is(button,a),.sidebar-collapsed .sidebar-account button{justify-content:center}.workspace-header{z-index:20;height:var(--mkpos-topbar-height);margin:0 calc(var(--mkpos-main-pad) * -1);padding:0 var(--mkpos-main-pad);background:var(--theme-surface);border-bottom:1px solid var(--line);box-shadow:0 1px 4px color-mix(in srgb, var(--theme-shadow) 3.922%, transparent);align-items:center;gap:8px;display:flex;position:sticky;top:0;container-type:inline-size}.workspace-header button{background:0 0;border:0;align-items:center;gap:10px;display:inline-flex}.workspace-header .workspace-icon-button{border:1px solid var(--line);background:var(--theme-surface);width:30px;min-width:30px;height:30px;min-height:30px;color:var(--theme-text);border-radius:5px;flex:0 0 30px;place-items:center;margin:0;padding:0;display:inline-grid;overflow:hidden}.workspace-header .workspace-icon-button:hover{border-color:var(--theme-border);background:var(--theme-background)}.workspace-header .workspace-icon-button:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}.workspace-menu-icon{animation:workspace-menu-icon-change var(--mkpos-motion-fast) var(--mkpos-motion-ease);transform-origin:50%;place-items:center;display:inline-grid}.workspace-menu-icon svg{display:block}.workspace-app-bar-search{width:32px;min-width:32px;transition:width var(--mkpos-motion-fast) var(--mkpos-motion-ease), flex-basis var(--mkpos-motion-fast) var(--mkpos-motion-ease), min-width var(--mkpos-motion-fast) var(--mkpos-motion-ease);flex:0 0 32px;align-items:center;display:flex}.workspace-app-bar-search:empty{display:none}.workspace-app-bar-search:focus-within{flex:0 clamp(280px,32cqi,420px);width:clamp(280px,32cqi,420px);min-width:min(280px,100%)}.workspace-app-bar-search-group,.workspace-app-bar-search-group form,.workspace-app-bar-search-group label{align-items:center;width:100%;min-width:0;margin:0;display:flex}.workspace-app-bar-search-group label{position:relative}.workspace-app-bar-search-group label>svg{z-index:1;width:15px;height:15px;color:var(--theme-text-muted);pointer-events:none;position:absolute;left:9px}.workspace-app-bar-search-group input{color:#0000;cursor:pointer;width:100%;min-width:0;height:30px;min-height:30px;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:5px;padding:4px 0 4px 30px;font-size:12px;transition:border-color .16s,background .16s,color .16s,padding .16s}.workspace-app-bar-search-group input::placeholder{color:#0000}.workspace-app-bar-search:focus-within input{border-color:var(--line);background:var(--theme-background);color:var(--theme-text);cursor:text;padding-right:9px}.workspace-app-bar-search:focus-within input::placeholder{color:var(--theme-text-muted)}.workspace-app-bar-search-group input:focus,.workspace-app-bar-search-group input:focus-visible{border-color:var(--brand);background:var(--theme-surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent);outline:0}.workspace-app-bar-actions{scrollbar-width:none;justify-content:flex-end;align-items:center;min-width:0;margin-left:auto;display:flex;overflow-x:auto}.workspace-app-bar-actions::-webkit-scrollbar{display:none}.workspace-app-bar-action-group{width:auto;min-width:max-content;box-shadow:none;transition:gap var(--mkpos-motion-fast) var(--mkpos-motion-ease);background:0 0;border:0;justify-content:flex-end;align-items:center;gap:6px;margin:0;padding:0;display:flex}.workspace-app-bar-action-group>button,.workspace-app-bar-action-group>.csv-export-button{border:1px solid var(--line);background:var(--theme-surface);max-width:190px;height:30px;min-height:30px;color:var(--theme-text);white-space:nowrap;transition:max-width var(--mkpos-motion-fast) var(--mkpos-motion-ease), width var(--mkpos-motion-fast) var(--mkpos-motion-ease), min-width var(--mkpos-motion-fast) var(--mkpos-motion-ease), padding var(--mkpos-motion-fast) var(--mkpos-motion-ease), gap var(--mkpos-motion-fast) var(--mkpos-motion-ease), background-color .12s ease, border-color .12s ease;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:600;overflow:hidden}.workspace-app-bar-action-group>button.primary{border-color:var(--brand);background:var(--brand);color:var(--theme-on-primary)}.workspace-app-bar-action-group svg{width:15px;height:15px}.workspace-header .workspace-locale-button{margin-left:6px}.workspace-header:has(.shop-customer-search:focus-within) .workspace-app-bar-action-group>button{box-sizing:border-box;justify-content:center;align-items:center;gap:0;width:30px;min-width:30px;max-width:30px;padding:0;font-size:0;display:inline-flex;overflow:hidden}.workspace-header:has(.shop-customer-search:focus-within) .workspace-app-bar-action-group>button svg{flex:0 0 15px;margin:0;display:block}.workspace-header:has(.shop-customer-search:focus-within) .workspace-app-bar-action-group .filter-count{display:none}@container (width<=1000px){.workspace-header:has(.workspace-app-bar-search:focus-within) .workspace-app-bar-action-group>button{box-sizing:border-box;justify-content:center;align-items:center;gap:0;width:30px;min-width:30px;max-width:30px;padding:0;font-size:0;display:inline-flex;overflow:hidden}.workspace-header:has(.workspace-app-bar-search:focus-within) .workspace-app-bar-action-group>button svg{flex:0 0 15px;margin:0;display:block}.workspace-header:has(.workspace-app-bar-search:focus-within) .workspace-app-bar-action-group .filter-count{display:none}}.workspace-page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:14px 0;display:flex}.workspace-page-heading h1{letter-spacing:-.35px;color:var(--theme-text);font-size:22px;font-weight:700;line-height:1.18}.workspace-page-heading p{margin-top:3px;font-size:12px;line-height:1.4}.desktop-workspace .workspace-page-heading .trial-banner{background:var(--theme-primary-soft);border-radius:6px;gap:7px;width:auto;max-width:500px;min-height:0;margin:0;padding:6px 8px}.workspace-page-heading .trial-banner-copy{gap:3px;display:grid}.workspace-page-heading .trial-banner-copy strong{font-size:12px}.workspace-page-heading .trial-banner-copy>span{font-size:11px}.workspace-page-heading .trial-banner-copy small{display:none}.workspace-page-heading .trial-banner button{min-height:28px;padding:4px 7px;font-size:11px}.desktop-workspace>main>.topbar{background:0 0;width:auto;height:auto;min-height:0;margin:0;padding:0;display:block;position:static}.desktop-workspace>main>.topbar:empty{display:none}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){min-height:var(--mkpos-control-height);border:1px solid var(--line);background:var(--theme-surface);color:var(--theme-text);border-radius:4px;padding:6px 9px;font-size:13px}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) textarea{min-height:78px}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .field{gap:4px}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .field>span{color:var(--theme-text-muted);text-transform:none;font-size:11px;font-weight:600;line-height:1.3}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) button{border-radius:5px;min-height:32px;padding:5px 9px;font-size:12px;font-weight:600}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) button.primary{border-color:var(--brand);background:var(--brand);min-height:32px;color:var(--theme-on-primary);box-shadow:none}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) button.primary:hover:not(:disabled){background:var(--theme-primary);border-color:var(--theme-border)}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .danger-button{color:var(--theme-danger-text);background:var(--theme-surface);border-color:var(--theme-border)}:is(button,a):focus-visible{outline:3px solid color-mix(in srgb, var(--theme-focus) 40%, transparent);outline-offset:2px}.desktop-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus,.desktop-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus-visible{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent);outline:0}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .remote-combobox:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent)}:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .remote-combobox>input,:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .remote-combobox>input:focus,:is(.module-view,.mkpos-modal,.mkpos-filter-drawer) .remote-combobox>input:focus-visible{border-radius:0;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important}.module-view :is(.product-main-panel,.purchase-main-panel,.supplier-main-panel,.customer-main-panel,.expense-main-panel,.transaction-main-panel,.report-main-panel){gap:var(--mkpos-gap);box-shadow:none;background:0 0;border:0;padding:0}.module-view :is(.product-control-card,.customer-toolbar,.supplier-toolbar,.expense-toolbar,.transaction-toolbar,.purchase-toolbar){padding:var(--mkpos-panel-pad);border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);gap:8px}.desktop-workspace .module-view .supplier-toolbar{display:contents}.desktop-workspace .module-view .supplier-toolbar-count{display:none}.desktop-workspace .module-view .customer-toolbar,.desktop-workspace .module-view .expense-overview{display:contents}.desktop-workspace .module-view .expense-overview-heading{display:none}.module-view :is(.product-action-row,.customer-toolbar,.supplier-toolbar,.expense-toolbar,.transaction-toolbar,.purchase-toolbar)>button{min-height:32px}.desktop-workspace .module-view :is(.product-stat-row,.customer-metric-grid,.customer-account-summary,.expense-summary-row,.report-kpi-grid,.report-inventory-grid,.report-account-grid,.billing-summary-grid,.access-summary-grid,.settings-data-summary){gap:8px}.desktop-workspace .module-view :is(.product-stat-card,.customer-metric,.customer-account-summary>span,.supplier-metric,.expense-metric,.expense-summary-card,.transaction-metric,.report-kpi,.report-inventory-metric,.report-account-metric,.billing-summary-card,.access-summary-grid>article,.settings-data-summary>div){box-sizing:border-box;min-height:var(--mkpos-stat-card-height);border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 1.569%, transparent);padding:10px;overflow:hidden}.desktop-workspace .module-view :is(.expense-summary-card,.report-kpi,.settings-data-summary>div){grid-template-columns:var(--mkpos-stat-icon-size) minmax(0, 1fr) auto;align-items:center;column-gap:7px;display:grid}.desktop-workspace .module-view .customer-account-summary>span{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:7px;display:grid}.desktop-workspace .module-view :is(.billing-summary-card,.access-summary-grid>article){grid-template-columns:var(--mkpos-stat-icon-size) minmax(0, 1fr);align-items:center;gap:7px;display:grid}.desktop-workspace .module-view :is(.billing-summary-card,.access-summary-grid>article)>div{justify-content:space-between;align-items:center;gap:7px;min-width:0;display:flex}.desktop-workspace .module-view :is(.report-inventory-metric,.report-account-metric){grid-template-columns:var(--mkpos-stat-icon-size) minmax(0, 1fr);align-items:center;column-gap:7px;display:grid}.desktop-workspace .module-view :is(.report-inventory-metric,.report-account-metric)>:not(.report-account-icon){grid-column:2}.module-view .product-stat-card.clickable-stat.is-active{border-color:currentColor;box-shadow:inset 0 0 0 1px}.desktop-workspace .module-view :is(.product-stat-card,.customer-metric,.customer-account-summary>span,.supplier-metric,.expense-metric,.expense-summary-card,.transaction-metric,.report-kpi,.report-inventory-metric,.report-account-metric,.billing-summary-card,.access-summary-grid>article,.settings-data-summary>div) strong{white-space:nowrap;flex:none;margin:0;font-size:18px;font-weight:700;line-height:1.15}.desktop-workspace .module-view :is(.product-stat-card,.customer-metric,.customer-account-summary>span,.expense-summary-card,.report-kpi,.report-inventory-metric,.report-account-metric,.billing-summary-card,.access-summary-grid>article,.settings-data-summary>div) :is(small,span:not([class$=icon]):not(.product-stat-icon):not(.customer-metric-icon):not(.expense-summary-icon):not(.report-kpi-icon):not(.report-account-icon):not(.billing-summary-icon):not(.settings-data-icon)){min-width:0;color:var(--theme-text-muted);font-size:12px;line-height:1.25}.module-view :is(.product-stat-icon,.customer-metric-icon,.supplier-metric-icon,.expense-summary-icon,.report-kpi-icon,.report-account-icon,.billing-summary-icon,.access-summary-grid>article>span,.settings-data-icon){width:var(--mkpos-stat-icon-size);height:var(--mkpos-stat-icon-size);background:var(--platform-primary-soft,var(--theme-primary-soft));color:var(--theme-primary-text);border-radius:6px;place-items:center;display:grid}.desktop-workspace .module-view .customer-account-summary{background:0 0;border:0;padding:0}.desktop-workspace .module-view .customer-account-summary>span{border-right:1px solid var(--line)}.desktop-workspace .module-view .customer-metric.product-stat-card{border:1px solid color-mix(in srgb, var(--metric-accent) 22%, var(--theme-border));background:var(--metric-bg);grid-template-columns:28px minmax(0,1fr)}.desktop-workspace .module-view .customer-metric.product-stat-card .customer-metric-icon{background:var(--metric-icon);color:var(--metric-accent)}.module-view :is(.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card,.customer-history-card,.expense-table-card,.transaction-table-card,.access-panel,.settings-panel,.report-panel,.customer-account-overview,.customer-account-section){border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 1.569%, transparent)}.module-view :is(.product-table-title,.customer-table-heading,.supplier-table-heading,.expense-table-heading,.transaction-table-heading,.customer-history-title,.customer-account-section-heading,.report-card-title){border-bottom:1px solid var(--line);background:var(--theme-surface);border-radius:var(--mkpos-radius) var(--mkpos-radius) 0 0;min-height:38px;padding:8px 10px}.module-view :is(.product-table-title,.customer-table-heading,.supplier-table-heading,.customer-history-title,.report-card-title) strong{font-size:15px;font-weight:600}body .module-view :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table) th{background:var(--theme-background);height:34px;color:var(--theme-text-muted);border-bottom:1px solid var(--line);padding:6px 9px;font-size:10px;font-weight:650}body .module-view :is(.supplier-table,.supplier-detail-table,.product-data-table,.product-stock-list-table,.purchase-history-table,.purchase-wizard-quantity-table,.purchase-review-table,.customer-table,.customer-history-table table,.expense-table,.transaction-table,.billing-table,.access-table,.desktop-sync-table) td{height:var(--mkpos-table-row-height);color:var(--theme-text);border-bottom:1px solid var(--theme-border);font-variant-numeric:tabular-nums;padding:6px 9px;font-size:12px}.module-view .data-table-footer{background:var(--theme-surface);min-height:44px;color:var(--theme-text-muted);border-radius:0 0 var(--mkpos-radius) var(--mkpos-radius);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:10px;font-weight:650;display:flex}.module-view .data-table-footer :is(span,button){font-size:inherit;font-weight:inherit}.data-table-footer .table-pagination button{min-width:54px;min-height:28px;box-shadow:none;background:0 0;border:0}.data-table-footer .table-pagination button:hover:not(:disabled){background:var(--platform-primary-soft,var(--theme-primary-soft));color:var(--theme-primary-text)}.data-table-footer .table-pagination button:disabled{color:var(--theme-text-muted);opacity:.65;background:0 0;border:0}.module-view .empty-state{min-height:132px;color:var(--muted);padding:18px}body .desktop-workspace .module-view .empty-state{gap:8px;height:auto;min-height:200px;position:static;inset:auto}.module-view :is(.status-badge,.customer-balance){border-radius:6px;font-size:12px;font-weight:600}body .desktop-workspace .module-view table:not(.receipt-table) thead th{background:var(--theme-background);height:34px;color:var(--theme-text-muted);padding:6px 9px;font-size:10px;font-weight:650}body .desktop-workspace .module-view table:not(.receipt-table) tbody td{min-height:var(--mkpos-table-row-height);height:var(--mkpos-table-row-height);font-size:var(--mkpos-table-body-font-size);padding:6px 9px;font-weight:400}body .desktop-workspace .module-view table:not(.receipt-table) tbody td :where(*){font-size:inherit!important}body .desktop-workspace .module-view .product-data-table col.product-prices-column{width:260px;min-width:260px;max-width:260px}body .desktop-workspace .module-view .product-data-table .product-price-row{grid-template-columns:minmax(0,1fr) max-content;gap:10px}body .desktop-workspace .module-view .product-data-table .product-price-row em{text-overflow:clip;overflow:visible}body .desktop-workspace .module-view table:not(.receipt-table) tbody td :is(.status-badge,.status-pill,.access-status,.desktop-sale-status,.transaction-type-badge,.transaction-direction-badge,.billing-paid-badge){white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:2px 8px;font-weight:800;line-height:1.3;display:inline-flex;font-size:var(--mkpos-table-body-font-size)!important}body .desktop-workspace .module-view col.table-action-column{width:80px;min-width:80px;max-width:80px}body .desktop-workspace .module-view :is(.product-data-table,.purchase-history-table,.purchase-wizard-quantity-table,.supplier-table,.customer-table,.customer-payment-history-table,.expense-table,.transaction-table,.access-table) :is(th:not(:last-child),td:not(:last-child)){min-width:0;max-width:none;width:auto!important}body .desktop-workspace .module-view :is(.product-data-table,.purchase-history-table,.purchase-wizard-quantity-table,.supplier-table,.customer-table,.customer-payment-history-table,.expense-table,.transaction-table,.access-table) :is(th:last-child,td:last-child:not([colspan])){box-sizing:border-box;background:var(--theme-surface);text-align:center;box-shadow:-1px 0 0 var(--line);padding-left:9px;padding-right:9px;position:sticky;right:0;width:80px!important;min-width:80px!important;max-width:80px!important}body .desktop-workspace .module-view :is(.product-data-table,.purchase-history-table,.purchase-wizard-quantity-table,.supplier-table,.customer-table,.customer-payment-history-table,.expense-table,.transaction-table,.access-table) th:last-child{z-index:4;background:0 0}body .desktop-workspace .module-view :is(.product-data-table,.purchase-history-table,.purchase-wizard-quantity-table,.supplier-table,.customer-table,.customer-payment-history-table,.expense-table,.transaction-table,.access-table) tbody tr:hover td:last-child:not([colspan]){background:var(--theme-background)}body .desktop-workspace .module-view table:has(>colgroup>col.table-action-column) :is(th:last-child,td:last-child:not([colspan])){box-sizing:border-box;right:0;inset-inline-end:0;text-align:center;box-shadow:-1px 0 0 var(--line);padding-left:9px;padding-right:9px;position:sticky;left:auto;width:80px!important;min-width:80px!important;max-width:80px!important}body .desktop-workspace .module-view table:has(>colgroup>col.table-action-column) thead th:last-child{z-index:4;background:0 0}body .desktop-workspace .module-view table:has(>colgroup>col.table-action-column) tbody td:last-child:not([colspan]){z-index:3;background:var(--theme-surface)}body .desktop-workspace .module-view table:has(>colgroup>col.table-action-column) tbody tr:nth-child(2n) td:last-child:not([colspan]){background:var(--theme-surface)}body .desktop-workspace .module-view table:has(>colgroup>col.table-action-column) tbody tr:hover td:last-child:not([colspan]){background:var(--theme-background)}body .desktop-workspace .module-view :is(.product-data-table,.product-stock-list-table) tbody td{height:48px}body .desktop-workspace .product-data-table .product-table-identity{align-items:center;gap:12px;display:flex}body .desktop-workspace .product-data-table .product-table-identity>span:last-child{min-width:0}.desktop-workspace :is(.product-search-field,.expense-search-input,.supplier-search-input,.searchable-select-input) input{box-shadow:none;background:0 0;border:0}.desktop-workspace :is(.purchase-page-toolbar,.expense-overview,.transaction-overview,.customer-overview,.supplier-overview){border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);padding:10px}.desktop-workspace .transaction-summary-card{min-height:var(--mkpos-stat-card-height);border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);padding:10px}.desktop-workspace :is(.billing-toolbar,.billing-panel,.billing-summary-card,.access-toolbar,.access-summary>div){border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);box-shadow:0 1px 2px color-mix(in srgb, var(--theme-shadow) 1.569%, transparent);padding:10px}.desktop-workspace :is(.billing-panel,.access-panel){padding:0}.desktop-workspace :is(.billing-panel-heading,.access-panel-heading){background:var(--theme-surface);border-bottom:1px solid var(--line);border-radius:var(--mkpos-radius) var(--mkpos-radius) 0 0;min-height:38px;padding:8px 10px}.desktop-workspace :is(.customer-overview-heading,.expense-overview-heading,.purchase-history-heading,.billing-toolbar,.access-toolbar) strong{font-size:14px;font-weight:650}body .desktop-workspace :is(.billing-table,.access-table) thead th{text-transform:none;letter-spacing:normal}.mkpos-modal-overlay{background:color-mix(in srgb, var(--theme-info) 40%, transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.mkpos-filter-drawer-overlay{background:color-mix(in srgb, var(--theme-info) 40%, transparent);opacity:0;-webkit-backdrop-filter:blur();backdrop-filter:blur();transition:opacity var(--mkpos-motion-panel) ease, backdrop-filter var(--mkpos-motion-panel) ease}.mkpos-filter-drawer-overlay.is-open{opacity:1;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.mkpos-modal{border:1px solid var(--line);box-shadow:0 18px 56px color-mix(in srgb, var(--theme-shadow) 14.902%, transparent);border-radius:8px}.mkpos-modal.mkpos-modal--small{width:min(590px,100vw - 32px)}.mkpos-modal.mkpos-modal--medium{width:min(760px,100vw - 32px)}.mkpos-modal-header,.mkpos-filter-drawer-header{border-bottom:1px solid var(--line);background:var(--theme-surface);min-height:48px;padding:9px 12px}.mkpos-modal-header h2,.mkpos-filter-drawer-header h2{color:var(--theme-text);font-size:16px;font-weight:650}.mkpos-modal-heading{gap:2px;min-width:0;display:grid}.mkpos-modal-heading p{color:var(--theme-text-muted);margin:0;font-size:11px;line-height:1.35}.mkpos-modal{flex-direction:column;max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.mkpos-modal-body{min-height:0;overflow-y:auto}.mkpos-modal-footer{border-top:1px solid var(--line);background:var(--theme-surface);flex:none;min-height:52px;padding:9px 12px}.mkpos-modal-footer button{min-width:110px;min-height:34px}.mkpos-modal-header>button,.mkpos-filter-drawer-header>button{background:var(--theme-background);border:0;place-items:center;width:30px;min-width:30px;height:30px;padding:0;display:grid}.mkpos-modal-body{padding:12px}.mkpos-filter-drawer{background:var(--theme-surface);width:min(360px,100vw);transition:transform var(--mkpos-motion-panel) var(--mkpos-motion-ease);will-change:transform;transform:translate(100%)}.mkpos-filter-drawer-overlay.is-open .mkpos-filter-drawer{transform:translate(0)}.mkpos-filter-drawer-body{padding:12px;position:relative;overflow:hidden}.mkpos-filter-drawer .drawer-filter-form,.mkpos-filter-drawer .drawer-filter-form:not(.transaction-filter){align-content:start;height:auto;min-height:0;padding-bottom:54px;display:grid;overflow:visible}.mkpos-filter-drawer .transaction-filter-grid{overflow:visible}.mkpos-filter-drawer .drawer-filter-actions,.mkpos-filter-drawer .transaction-filter-actions{z-index:2;border-top:1px solid var(--line);background:var(--theme-surface);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:auto;margin:0;padding:10px 12px;bottom:0;left:0;right:0;position:absolute!important}.mkpos-filter-drawer .drawer-filter-actions button{width:100%;min-width:0;height:32px;min-height:32px;padding:5px 9px}.mkpos-filter-drawer :is(.product-search-field,.expense-search-input) input{box-shadow:none;background:0 0;border:0}body .desktop-workspace .customer-history-table .customer-history-empty-row td{height:160px;color:var(--muted);text-align:center}.desktop-workspace .sale-main-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.desktop-workspace .sale-cart-panel{grid-template-rows:auto auto auto auto;align-self:start;position:sticky;top:10px}.desktop-workspace .sale-cart-items{min-height:150px}.desktop-workspace .sale-filter-card{grid-template-columns:minmax(150px,1fr) minmax(120px,.5fr)}.desktop-workspace :is(.sale-left-panel,.sale-cart-panel){border-radius:var(--mkpos-radius);border-color:var(--line);box-shadow:none;padding:10px}.desktop-workspace .sale-product-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:8px}.desktop-workspace .customer-account-activity{height:auto;min-height:0;max-height:none;padding:0;display:block;overflow:visible}.desktop-workspace .customer-account-workspace{grid-template-columns:minmax(0,1fr) minmax(280px,.4fr);gap:10px}.desktop-workspace .customer-history-grid{gap:10px;display:grid}.desktop-workspace .settings-workspace{grid-template-columns:204px minmax(0,1fr);gap:10px}.desktop-workspace .settings-side-tabs{border:1px solid var(--line);border-radius:var(--mkpos-radius);background:var(--theme-surface);padding:6px}.desktop-workspace .settings-side-tabs button{border-radius:5px;min-height:36px;padding:5px 7px}.desktop-workspace .settings-side-tabs button strong{font-size:12px}.desktop-workspace .settings-side-tabs button small{font-size:9px}.desktop-workspace .settings-side-tabs button.selected{background:var(--accent);color:var(--theme-primary-text);box-shadow:none}.desktop-workspace .settings-side-tabs button.selected small{color:var(--theme-text-muted)}.desktop-workspace .purchase-wizard-page{border-radius:var(--mkpos-radius);border-color:var(--line)}.auth-split-page{background:var(--theme-background)}.auth-split-shell{border:1px solid var(--line);box-shadow:0 16px 60px color-mix(in srgb, var(--theme-shadow) 4.706%, transparent);border-radius:12px}.auth-split-intro{background:var(--theme-primary)}.auth-split-input{border-color:var(--line);border-radius:8px}.auth-submit{background:var(--brand);border-color:var(--brand);border-radius:8px}}@keyframes workspace-menu-icon-change{0%{opacity:0;transform:translate(-3px)scale(.88)}to{opacity:1;transform:translate(0)scale(1)}}@media (prefers-reduced-motion:reduce){.page-loading-skeleton i,.app-shell.desktop-workspace,.app-shell.desktop-workspace>.sidebar,.desktop-workspace .sidebar :is(.brand>div,nav button>span,nav a>span,.sidebar-account>div,.sidebar-account button>span),.workspace-app-bar-search,.workspace-app-bar-action-group,.workspace-app-bar-action-group>button,.workspace-app-bar-action-group>.csv-export-button,.workspace-menu-icon,.mkpos-filter-drawer-overlay,.mkpos-filter-drawer{transition-duration:1ms!important;animation-duration:1ms!important}}@media screen and (width>=981px) and (width<=1180px){.app-shell.desktop-workspace{--mkpos-sidebar-width:184px}.app-shell.desktop-workspace.sidebar-collapsed{--mkpos-sidebar-width:var(--mkpos-sidebar-rail-width)}.app-shell.desktop-workspace>main{padding-right:var(--mkpos-main-pad);padding-left:var(--mkpos-main-pad)}.workspace-header{margin-right:calc(var(--mkpos-main-pad) * -1);margin-left:calc(var(--mkpos-main-pad) * -1);padding-right:var(--mkpos-main-pad);padding-left:var(--mkpos-main-pad)}.desktop-workspace .sale-main-panel,.desktop-workspace .customer-account-workspace{grid-template-columns:minmax(0,1fr)}.desktop-workspace .settings-workspace{grid-template-columns:184px minmax(0,1fr)}}.app-shell.desktop-workspace{--mkpos-sidebar-expanded-width:204px;--mkpos-sidebar-rail-width:56px;--mkpos-sidebar-width:var(--mkpos-sidebar-expanded-width);grid-template-columns:var(--mkpos-sidebar-width) minmax(0, 1fr);width:100%;min-width:960px;min-height:100dvh;transition:grid-template-columns var(--mkpos-motion-panel,.18s) var(--mkpos-motion-ease,ease);display:grid}.app-shell.desktop-workspace.sidebar-collapsed{--mkpos-sidebar-width:var(--mkpos-sidebar-rail-width)}.app-shell.desktop-workspace>.sidebar{width:auto;min-width:0;height:100dvh;padding:10px 8px;display:flex;position:sticky;top:0;overflow:hidden auto}.desktop-workspace .sidebar .brand{gap:8px;min-height:42px;margin-bottom:10px}.desktop-workspace .sidebar .brand-logo{flex:0 0 34px;width:34px;height:34px;margin:0}.desktop-workspace .sidebar .brand span,.desktop-workspace .sidebar nav button>span,.desktop-workspace .desktop-sidebar-mode-control button>span,.desktop-workspace .desktop-sidebar-mode-status>span{display:inline-block}.desktop-workspace .sidebar>nav{grid-template-columns:minmax(0,1fr);align-content:start;gap:2px;width:100%;min-width:0;display:grid}.desktop-workspace .sidebar-nav-group{gap:2px;min-width:0;display:grid}.desktop-workspace .sidebar-nav-heading{color:inherit;opacity:.65;letter-spacing:.06em;text-transform:uppercase;margin:10px 9px 4px;font-size:10px;font-weight:650;line-height:1.5}.desktop-workspace.sidebar-collapsed .sidebar-nav-heading{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.desktop-workspace.sidebar-collapsed .sidebar-nav-group+.sidebar-nav-group{border-top:1px solid color-mix(in srgb, currentColor 18%, transparent);margin-top:6px;padding-top:6px}@media (width<=760px){.desktop-workspace .sidebar-nav-group button{min-height:40px}}.desktop-workspace .sidebar nav :is(button,a),.desktop-workspace .sidebar-account button,.desktop-workspace .desktop-sidebar-mode-status{box-sizing:border-box;width:100%;min-width:0}.desktop-workspace .sidebar nav :is(button,a){min-height:36px;color:var(--theme-sidebar-text);background:0 0;border-color:#0000;border-radius:6px;justify-content:flex-start;gap:9px;padding:7px 9px;font-size:13px;font-weight:500}.desktop-workspace .sidebar nav :is(button,a):hover{background:var(--theme-sidebar)}.desktop-workspace .sidebar nav button.active{border-color:var(--platform-primary-soft,var(--theme-border));color:var(--theme-sidebar-selected-text);background:var(--theme-sidebar-selected);font-weight:650}.desktop-workspace .sidebar nav svg{flex:0 0 17px;width:17px;height:17px}.desktop-workspace .sidebar-account{margin-top:12px;padding-top:10px}.desktop-workspace .sidebar-account button{min-height:34px;padding:6px 8px;font-size:12px}.desktop-workspace .sidebar :is(.brand>div,nav button>span,nav a>span,.sidebar-account>div,.sidebar-account button>span,.desktop-sidebar-mode-status>span,.desktop-sidebar-mode-control button>span){opacity:1;white-space:nowrap;max-width:150px;transition:max-width var(--mkpos-motion-panel,.18s) var(--mkpos-motion-ease,ease), opacity .1s ease;overflow:hidden}.desktop-workspace.sidebar-collapsed .sidebar :is(.brand>div,nav button>span,nav a>span,.sidebar-account>div,.sidebar-account button>span,.desktop-sidebar-mode-status>span,.desktop-sidebar-mode-control button>span){opacity:0;pointer-events:none;max-width:0}.desktop-workspace.sidebar-collapsed .sidebar .brand,.desktop-workspace.sidebar-collapsed .sidebar nav :is(button,a),.desktop-workspace.sidebar-collapsed .sidebar-account button,.desktop-workspace.sidebar-collapsed .desktop-sidebar-mode-status,.desktop-workspace.sidebar-collapsed .desktop-sidebar-mode-control button{justify-content:center;gap:0;padding-left:0;padding-right:0}.desktop-workspace.sidebar-collapsed .sidebar .brand{width:100%}.desktop-workspace.sidebar-collapsed .sidebar .brand-logo{flex:0 0 30px;width:30px;height:30px;margin:0}.desktop-workspace.sidebar-collapsed .desktop-sidebar-mode-control{align-items:stretch}.desktop-workspace.sidebar-collapsed .sidebar nav svg,.desktop-workspace.sidebar-collapsed .sidebar-account svg,.desktop-workspace.sidebar-collapsed .desktop-sidebar-mode-control svg{flex:0 0 17px;margin:0}@media (prefers-reduced-motion:reduce){.app-shell.desktop-workspace,.desktop-workspace .sidebar :is(.brand>div,nav button>span,nav a>span,.sidebar-account>div,.sidebar-account button>span,.desktop-sidebar-mode-status>span,.desktop-sidebar-mode-control button>span){transition-duration:1ms!important}}@media (width>=981px){html{min-height:100%;height:auto!important;overflow:hidden auto!important}body,#root{min-height:100dvh;height:auto!important;overflow:visible!important}.app-shell{align-items:start;min-height:100dvh;height:auto!important;overflow:visible!important}.app-shell>.sidebar{height:100dvh;position:sticky;top:0;overflow:hidden auto}.app-shell>main{min-height:100dvh;display:block;height:auto!important;overflow:visible!important}.module-view:not([hidden]){width:100%;min-width:0;display:block;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}:is(.module-view:not([hidden]),.module-view:not([hidden]) [data-retained-view]:not([hidden]))>:is(.sale-screen,.products-layout,.purchases-layout,.suppliers-layout,.supplier-detail-page,.customers-layout,.customer-account-page,.expenses-layout,.transactions-layout,.reports-layout,.billing-screen,.settings-screen,.access-screen){width:100%;overscroll-behavior-y:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}:is(.sale-main-panel,.product-main-panel,.supplier-main-panel,.customer-main-panel,.customer-account-page-content,.expense-main-panel,.transaction-main-panel,.report-main-panel,.settings-workspace,.access-layout),:is(.module-view:not([hidden]),.module-view:not([hidden]) [data-retained-view]:not([hidden]))>.purchases-layout:not(.purchase-modal-layout) .purchase-main-panel{overscroll-behavior-y:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-y:visible!important}:is(.sale-left-panel,.sale-cart-panel,.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card,.customer-history-card,.expense-table-card,.transaction-table-card,.access-panel,.settings-panel){min-height:0;height:auto!important;max-height:none!important;overflow-y:visible!important}.settings-workspace{grid-template-rows:auto}.settings-panel{grid-template-rows:58px auto 54px}.settings-panel.settings-panel--data{border-radius:0;display:block;box-shadow:none!important;background:0 0!important;border:0!important;overflow:visible!important}.settings-panel.settings-panel--data>.settings-panel-content{background:0 0;padding:0;overflow:visible!important}.settings-panel-content,.settings-side-tabs,.sale-product-grid,.sale-cart-items,.supplier-detail-page{min-height:0;overscroll-behavior-y:auto!important;height:auto!important;max-height:none!important;overflow-y:visible!important}:is(.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card,.expense-table-card,.transaction-table-card){grid-template-rows:auto auto}:is(.product-grid-wrap,.purchase-table-wrap,.supplier-table-wrap,.supplier-detail-table-wrap,.customer-table-wrap,.customer-history-table,.expense-table-wrap,.transaction-table-wrap,.billing-table-wrap,.access-table-wrap,.access-role-list,.desktop-sync-table-wrap,.table-wrap.sheet-table){overscroll-behavior-y:auto!important;max-height:none!important}.desktop-workspace :is(.product-table-card,.purchase-table-card,.supplier-table-card,.customer-table-card,.expense-table-card,.transaction-table-card){display:block}.desktop-workspace :is(.product-grid-wrap,.purchase-table-wrap,.supplier-table-wrap,.customer-table-wrap,.expense-table-wrap,.transaction-table-wrap,.sale-product-grid){flex:none;height:auto!important;max-height:none!important}.desktop-workspace .sale-left-panel{grid-template-rows:auto;grid-auto-rows:auto}}html:has(.module-view[data-module=products]:not([hidden])){min-height:100%;height:auto!important;overflow:hidden auto!important}body:has(.module-view[data-module=products]:not([hidden])){min-height:100dvh;height:auto!important;max-height:none!important;overflow:visible!important}body:has(.module-view[data-module=products]:not([hidden])) #root{min-height:100dvh;height:auto!important;max-height:none!important;overflow:visible!important}body:has(.module-view[data-module=products]:not([hidden])) .app-shell{min-height:100dvh;height:auto!important;max-height:none!important;overflow:visible!important}body:has(.module-view[data-module=products]:not([hidden])) .app-shell>main{min-height:100dvh;height:auto!important;max-height:none!important;overflow:visible!important}body:has(.module-view[data-module=products]:not([hidden])) .app-shell{align-items:start}body:has(.module-view[data-module=products]:not([hidden])) .app-shell>main{display:block}.module-view[data-module=products]:not([hidden]),.module-view[data-module=products]:not([hidden]) [data-retained-view]:not([hidden]),.module-view[data-module=products] .products-layout,.module-view[data-module=products] .product-main-panel{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.module-view[data-module=products] .product-main-panel{grid-template-rows:none;grid-auto-rows:auto;align-content:start}.module-view[data-module=products] .product-table-card{min-height:0;display:block;height:auto!important;max-height:none!important}.module-view[data-module=products] .product-grid-wrap{overflow-x:auto;overscroll-behavior:auto!important;height:auto!important;max-height:none!important;overflow-y:hidden!important}body .desktop-workspace .module-view[data-module=products] .product-data-table{table-layout:fixed;width:100%;min-width:980px}body .desktop-workspace .module-view[data-module=products] .product-data-table col{min-width:0;max-width:none}body .desktop-workspace .module-view[data-module=products] .product-data-table :is(th,td):not([colspan]){min-width:0;max-width:none;width:auto!important}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-selection-column{width:36px}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-name-column{width:auto}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-code-column{width:112px}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-category-column{width:104px}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-prices-column{width:220px}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-stock-column{width:80px}body .desktop-workspace .module-view[data-module=products] .product-data-table col.product-status-column{width:96px}body .desktop-workspace .module-view[data-module=products] .product-data-table col.table-action-column{width:80px}body .desktop-workspace .module-view[data-module=products] .product-table-identity{gap:8px}body .desktop-workspace .module-view[data-module=products] .product-table-identity>:is(.product-table-photo,.product-photo-placeholder){border-radius:6px;flex:0 0 32px;width:32px;height:32px}body .desktop-workspace .module-view[data-module=products] .product-name-cell strong{word-break:normal;overflow-wrap:anywhere}body .desktop-workspace .module-view[data-module=products] .product-price-row{grid-template-columns:minmax(0,1fr) max-content;gap:8px}body .desktop-workspace .module-view[data-module=products] .product-price-row em{white-space:normal;overflow-wrap:anywhere;flex-wrap:wrap}body .desktop-workspace .module-view[data-module=products] .product-grid-wrap{scrollbar-gutter:auto;overflow-x:auto!important}body .desktop-workspace .module-view[data-module=products] .product-grid-wrap>.product-empty-state{box-sizing:border-box;width:100%;min-height:200px;position:sticky;inset:auto auto auto 0}body .desktop-workspace .module-view[data-module=products] .product-data-table th.table-actions-cell{background:var(--theme-background)!important}.app-shell.desktop-workspace .sale-main-panel{gap:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell.desktop-workspace .sale-left-panel,.app-shell.desktop-workspace .sale-cart-panel{min-width:0}.app-shell.desktop-workspace .sale-scan-bar{grid-template-columns:minmax(180px,1fr) minmax(120px,.38fr) 124px!important}body.pos-sell-active,body.pos-sell-active #root{overscroll-behavior:none;width:100%;height:100%;min-height:0;overflow:hidden!important}html:has(body.pos-sell-active){overscroll-behavior:none;width:100%;height:100%;min-height:0;overflow:hidden!important}body.pos-sell-active .app-shell.pos-mode{height:100dvh!important;min-height:0!important;overflow:hidden!important}body.pos-sell-active .app-shell.pos-mode>.sidebar{box-sizing:border-box;overscroll-behavior-y:contain;scrollbar-gutter:stable;touch-action:pan-y;align-self:stretch;height:100dvh!important;min-height:0!important;overflow:hidden auto!important}body.pos-sell-active .app-shell.pos-mode>.sidebar>nav{flex:none;min-height:max-content;overflow:visible}body.pos-sell-active .app-shell.pos-mode>main{grid-template-rows:var(--mkpos-topbar-height) minmax(0, 1fr);padding-bottom:var(--mkpos-main-pad);display:grid;height:100dvh!important;min-height:0!important;overflow:hidden!important}body.pos-sell-active .app-shell.pos-mode .workspace-header{position:relative}body.pos-sell-active .module-view[data-module=sell]:not([hidden]),body.pos-sell-active .module-view[data-module=sell] [data-retained-view]:not([hidden]),body.pos-sell-active .module-view[data-module=sell] [data-retained-view]:not([hidden])>.sale-screen,body.pos-sell-active .module-view[data-module=sell] .sale-screen,body.pos-sell-active .module-view[data-module=sell] .sale-main-panel{box-sizing:border-box;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important}body.pos-sell-active .module-view[data-module=sell]:not([hidden]){padding-top:var(--mkpos-main-pad)}body.pos-sell-active .module-view[data-module=sell] .sale-left-panel,body.pos-sell-active .module-view[data-module=sell] .sale-cart-panel{align-self:stretch;position:static;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important}body.pos-sell-active .module-view[data-module=sell] .sale-left-panel{grid-template-rows:auto auto minmax(0,1fr);grid-auto-rows:initial}body.pos-sell-active .module-view[data-module=sell] .sale-cart-panel{grid-template-rows:auto minmax(0,1fr) auto auto auto}body.pos-sell-active .module-view[data-module=sell] .sale-product-list{min-height:0;overflow:hidden}body.pos-sell-active .module-view[data-module=sell] .sale-product-grid,body.pos-sell-active .module-view[data-module=sell] .sale-cart-items{overscroll-behavior:contain;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden auto!important}.skeleton-block,.product-barcode-picker-skeleton i,.product-movement-skeleton-row td>i,.purchase-product-table-skeleton i,.purchase-modal-form-skeleton>i{background:color-mix(in srgb, var(--theme-text) 12%, var(--theme-surface));border-radius:4px;min-width:0;height:12px;animation:1.4s ease-in-out infinite skeleton-pulse;display:block}@keyframes skeleton-pulse{0%,to{opacity:.5}50%{opacity:1}}.loading-skeleton{border:1px solid var(--theme-border);border-radius:var(--mkpos-radius,6px);background:var(--theme-surface);width:100%;min-width:0;padding:10px;position:static}.loading-skeleton-content{gap:12px;display:grid}.loading-skeleton--form .loading-skeleton-content{grid-template-columns:repeat(2,minmax(0,1fr))}.skeleton-item{min-width:0}.skeleton-item>div{gap:8px;min-width:0;display:grid}.skeleton-label{width:46%;max-width:140px}.skeleton-control{height:var(--mkpos-control-height,34px);width:100%}.skeleton-description{width:72%;height:10px}.skeleton-item:nth-child(2n) .skeleton-label{width:62%}.loading-skeleton--cards .loading-skeleton-content{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}.loading-skeleton--cards .skeleton-item{border:1px solid var(--theme-border);border-radius:6px;gap:10px;padding:10px;display:grid}.skeleton-image{width:100%;height:90px}.loading-skeleton--list .skeleton-item{align-items:center;gap:10px;padding:8px 0;display:flex}.loading-skeleton--list .skeleton-item>div{flex:1}.skeleton-block.skeleton-avatar{border-radius:6px;flex:0 0 32px;width:32px;height:32px}.skeleton-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.skeleton-metric{border:1px solid var(--theme-border);border-radius:6px;gap:10px;padding:12px;display:grid}.skeleton-metric>:first-child{width:58%}.skeleton-metric>:last-child{width:35%;height:20px}.skeleton-chart{border:1px solid var(--theme-border);border-radius:6px;padding:12px}.skeleton-title{width:30%}.skeleton-chart>div{align-items:end;gap:5%;height:210px;padding-top:20px;display:flex}.skeleton-chart-bar{flex:1}.skeleton-chart-bar--45{height:45%}.skeleton-chart-bar--72{height:72%}.skeleton-chart-bar--55{height:55%}.skeleton-chart-bar--88{height:88%}.skeleton-chart-bar--65{height:65%}.skeleton-chart-bar--95{height:95%}.skeleton-chart-bar--76{height:76%}body .module-view .table-skeleton-row td{height:var(--mkpos-table-row-height,42px)}.skeleton-cell-content{align-items:center;gap:8px;min-width:0;display:flex}.skeleton-line{width:78%}.table-skeleton-row:nth-child(2n) .skeleton-line{width:62%}.table-skeleton-row td:last-child .skeleton-line{width:22px;margin-inline:auto}.table-skeleton-row td:has(.skeleton-avatar) .skeleton-line{flex:1}.loading-refresh-status{color:var(--theme-text-muted);padding:8px 10px;font-size:12px}.purchase-modal-form-skeleton>.purchase-modal-skeleton-label{height:12px}.purchase-modal-form-skeleton>.purchase-modal-skeleton-control,.purchase-modal-form-skeleton>.purchase-modal-skeleton-note{height:44px}@media (width<=640px){.loading-skeleton--form .loading-skeleton-content{grid-template-columns:1fr}.skeleton-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.skeleton-block,.product-barcode-picker-skeleton i,.product-movement-skeleton-row td>i,.purchase-product-table-skeleton i,.purchase-modal-form-skeleton>i{animation:none}}.desktop-sync-page-windows{box-sizing:border-box;scrollbar-gutter:stable;height:100dvh;min-height:0;font-size:12px;line-height:1.4;overflow:auto}.desktop-sync-page-windows .desktop-mode-header{min-height:52px;padding:8px 16px}.desktop-sync-page-windows .desktop-mark{border-radius:8px;width:32px;height:32px;font-size:18px}.desktop-sync-page-windows .desktop-online-badge{min-height:28px;padding:0 9px}.desktop-sync-page-windows .desktop-sync-card{border-radius:6px;width:calc(100% - 24px);margin:12px auto;overflow:visible}.desktop-sync-page-windows .desktop-sync-heading{align-items:center;gap:10px;padding:12px}.desktop-sync-page-windows .desktop-sync-heading>span{border-radius:6px;flex-basis:34px;width:34px;height:34px}.desktop-sync-page-windows .desktop-sync-heading p{font-size:10px}.desktop-sync-page-windows .desktop-sync-heading h1{margin:2px 0;font-size:18px}.desktop-sync-page-windows .desktop-sync-heading small{font-size:11px}.desktop-sync-page-windows .desktop-sync-summary{gap:8px;padding:10px 12px}.desktop-sync-page-windows .desktop-sync-summary>div{border-radius:5px;align-items:baseline;gap:8px;padding:6px 10px;display:flex}.desktop-sync-page-windows .desktop-sync-summary strong{font-size:18px}.desktop-sync-page-windows .desktop-sync-summary span{font-size:11px}.desktop-sync-page-windows :is(.desktop-sync-message,.desktop-sync-progress,.desktop-sync-warning){margin:0 12px 8px;padding:7px 10px;font-size:12px}body .desktop-sync-page-windows .desktop-sync-table-wrap{overscroll-behavior:auto;overflow:auto;max-height:none!important}body .desktop-sync-page-windows .desktop-sync-table{table-layout:auto}body .desktop-sync-page-windows .desktop-sync-table thead th{white-space:nowrap;height:30px;padding:5px 8px;font-size:10px;line-height:1.3}body .desktop-sync-page-windows .desktop-sync-table tbody td{white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums;height:36px;padding:5px 8px;font-size:12px;line-height:1.35}body .desktop-sync-page-windows .desktop-sync-table td small{font-size:10px}body .desktop-sync-page-windows .desktop-sync-table td.desktop-sync-result{white-space:normal;overflow-wrap:anywhere;width:38%;min-width:240px;max-width:none}.desktop-sync-page-windows .desktop-sale-status{gap:4px;font-weight:650}.desktop-sync-page-windows .desktop-sale-status svg{width:14px;height:14px}.desktop-sync-page-windows button{min-height:28px;padding:4px 9px;font-size:12px;line-height:1.35}.desktop-sync-page-windows .desktop-sync-actions{z-index:3;border-top:1px solid var(--theme-border);border-radius:0 0 6px 6px;flex-wrap:wrap;gap:8px;padding:8px 12px;position:sticky;bottom:0}.desktop-sync-page-windows .desktop-sync-actions button{min-height:30px}
