.mobile-pos{width:min(100%,740px);margin:0 auto;padding:20px;overflow-y:auto;height:100%}.mobile-pos header,.mobile-scan>div,.mobile-result,.mobile-line{display:flex;align-items:center;gap:12px}.mobile-pos h1{font-size:1.5rem;margin:0}.mobile-pos h2{font-size:1.15rem}.mobile-scan>small{margin-top:12px;line-height:1.4}.mobile-pos p{margin:10px 0;line-height:1.4}.mobile-line>button,.mobile-basket h2>button{background:#f6f8fb;border:1px solid var(--border-glass-strong);border-radius:10px}.mobile-pos p,.mobile-pos small{color:var(--text-secondary)}.mobile-pos small{display:block}.mobile-pos label{display:block;margin:12px 0}.mobile-pos input,.mobile-pos select{width:100%;padding:12px;border:1px solid var(--border-glass-strong);border-radius:10px;font-size:16px}.mobile-pos button{min-height:44px;padding:10px 14px}.mobile-pos button:disabled{opacity:.5;cursor:not-allowed}.mobile-product,.mobile-basket,.mobile-scan{margin:18px 0;padding:18px;background:#fff;border:1px solid var(--border-glass);border-radius:16px}.mobile-product>img{width:100%;height:200px;object-fit:contain}.mobile-price{font-size:1.5rem}.mobile-price small{font-size:.85rem}.mobile-result{width:100%;text-align:left;background:#fff;border:1px solid var(--border-glass);border-radius:12px;margin:8px 0}.mobile-result img{width:52px;height:60px;object-fit:contain}.mobile-result span{flex:1}.mobile-line{padding:12px 0;border-bottom:1px solid var(--border-glass)}.mobile-line>div{flex:1;min-width:0}.mobile-line input{width:75px}.mobile-basket>.btn-gregor-primary{width:100%;margin-top:12px}.mobile-inbox-fab{position:fixed;left:20px;bottom:20px;z-index:900;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px 0 14px;border:0;border-radius:999px;background:#0f172a;color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 28px #0f172a47;cursor:pointer;transition:transform .15s,box-shadow .15s}.mobile-inbox-fab:hover{transform:translateY(-1px);box-shadow:0 14px 32px #0f172a57}.mobile-inbox-fab:focus-visible{outline:3px solid #e50914;outline-offset:2px}.mobile-inbox-fab b{min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:#e50914;color:#fff;font-size:12px}.mobile-inbox-fab.has-new{background:#e50914;animation:mobile-inbox-pulse 2s ease-in-out 3}.mobile-inbox-fab.has-new b{background:#fff;color:#e50914}@keyframes mobile-inbox-pulse{50%{box-shadow:0 0 0 8px #e509142e,0 10px 28px #0f172a47}}.mobile-inbox{position:fixed;left:20px;bottom:20px;z-index:900;width:min(380px,calc(100vw - 40px));max-height:min(72vh,640px);display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 18px 48px #0f172a38;overflow:hidden;animation:mobile-inbox-in .18s ease-out}@keyframes mobile-inbox-in{0%{opacity:0;transform:translateY(8px)}}.mobile-inbox header{display:flex;align-items:center;gap:10px;padding:14px 12px 12px 16px;border-bottom:1px solid #eef0f4}.mobile-inbox header>div{flex:1;min-width:0}.mobile-inbox h2{margin:0;font-size:16px;font-weight:800}.mobile-inbox header p{margin:1px 0 0;font-size:12.5px;color:#64748b}.mobile-inbox-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;background:#fff1f2;color:#e50914}.mobile-inbox-icon-btn{width:34px;height:34px;min-height:0!important;padding:0!important;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#475569;cursor:pointer}.mobile-inbox-icon-btn:hover:not(:disabled){background:#f1f5f9}.mobile-inbox-icon-btn.is-danger:hover:not(:disabled){background:#fef2f2;color:#dc2626}.mobile-inbox-list{overflow:auto;padding:4px 16px}.mobile-inbox-list article{padding:12px 0;border-top:1px solid #eef0f4;display:grid;gap:8px}.mobile-inbox-list article:first-child{border-top:0}.mobile-inbox-row{display:flex;align-items:flex-start;gap:8px}.mobile-inbox-row>div{flex:1;min-width:0}.mobile-inbox-row strong{display:block;font-size:14px}.mobile-inbox-row small{display:block;margin-top:2px;font-size:12px;color:#64748b}.mobile-inbox-status{font-weight:700}.mobile-inbox-status.pending{color:#b45309}.mobile-inbox-status.received{color:#15803d}.mobile-inbox-list details summary{cursor:pointer;font-size:13px;color:#334155}.mobile-inbox-list details p{margin:6px 0 0;font-size:12.5px;color:#475569}.mobile-inbox-list article>button{width:100%;min-height:40px;border-radius:10px}.mobile-inbox-note,.mobile-inbox-empty{margin:10px 16px 0;font-size:13px;color:#64748b}.mobile-inbox .auth-error{margin:10px 16px 0}.mobile-inbox footer{padding:10px 16px 12px;border-top:1px solid #eef0f4;background:#fafbfc}.mobile-inbox-clear{width:100%;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #cbd5e1;border-radius:10px;background:transparent;color:#475569;font-weight:600;cursor:pointer}.mobile-inbox-clear:hover:not(:disabled){border-color:#fca5a5;color:#dc2626;background:#fef2f2}@media(max-width:640px){.mobile-inbox-fab{left:12px;bottom:calc(76px + env(safe-area-inset-bottom))}.mobile-inbox{left:0;right:0;bottom:0;width:100%;max-height:85dvh;border-radius:18px 18px 0 0}}.mobile-pos .dp-scan input{padding:0 12px;border:0;font:700 18px/1 JetBrains Mono,ui-monospace,monospace}.mobile-pos .dp-scan .dp-scan-kbd{min-height:0;padding:0}.mobile-pos .dp-scan .dp-scan-msg{color:#fff}.mobile-scan{padding:12px}.mobile-scan>small{margin-top:8px}.mobile-product-actions{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:10px;margin-top:14px}.mobile-product-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;font-size:16px;font-weight:700}.mobile-in-cart{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:#ecfdf5;color:#065f46!important;font-weight:600}.mobile-product-actions button svg{flex:none}.mobile-product{overflow-wrap:anywhere}.mobile-stock dl{margin:12px 0}.mobile-stock dl>div,.mobile-stock-locations li,.mobile-variant-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.mobile-stock dl>div{padding:6px 0}.mobile-stock dt{min-width:0}.mobile-stock dd{margin:0;flex-shrink:0;font-weight:600;font-variant-numeric:tabular-nums}.mobile-stock-locations{margin:12px 0;font-size:.875rem}.mobile-stock-locations ul{list-style:none;margin:8px 0;padding:0}.mobile-stock-locations li{padding:4px 0}.mobile-stock-locations li>span:last-child{flex-shrink:0;font-variant-numeric:tabular-nums}.mobile-variants{margin-top:24px;padding-top:18px;border-top:1px solid var(--border-glass-strong)}.mobile-variants h3{margin:0;font-size:1.1rem}.mobile-variants>p{font-size:.875rem}.mobile-variant-list{list-style:none;padding:0;margin:16px 0 0}.mobile-variant-list>li{padding:16px 0;border-top:1px solid var(--border-glass-strong)}.mobile-variant-title{flex-wrap:wrap;margin-bottom:6px}.mobile-variant-title>strong:last-child{font-variant-numeric:tabular-nums}.mobile-variant-list>li>button{width:100%;min-height:48px}.mobile-variants button:focus-visible{outline:2px solid var(--gregor-red);outline-offset:3px}@media(max-width:480px){.mobile-product,.mobile-basket{padding:14px}.mobile-product-actions{grid-template-columns:1fr}}.mobile-pos{padding:0 16px 24px;scroll-padding-top:132px}.mobile-pos .mobile-top{display:flex;align-items:baseline;gap:8px;min-width:0;padding:10px 2px 6px}.mobile-pos .mobile-top h1{flex:none;font-size:1.05rem;font-weight:800;letter-spacing:-.01em}.mobile-pos .mobile-top span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;font-weight:600;color:var(--text-secondary)}.mobile-pos .mobile-modes{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0;padding:3px;gap:3px;border-radius:12px}.mobile-pos .mobile-modes button{flex-direction:column;gap:2px;min-height:48px;padding:4px 2px;font-size:12.5px;line-height:1.1}.mobile-pos .mobile-modes button>span{display:inline-flex;align-items:center;gap:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-pos .mobile-modes b{min-width:18px;height:18px;padding:0 5px;display:inline-grid;place-items:center;border-radius:999px;background:var(--gregor-red);color:#fff;font-size:11px}.mobile-pos .mobile-scan,.mobile-pos .mt-sticky{position:sticky;top:0;z-index:6}.mobile-pos .mobile-scan{margin:8px -16px 0;padding:8px 16px;border:0;border-radius:0;background:var(--bg-app);box-shadow:0 6px 10px -10px #0f172a59}.mobile-pos .mobile-product,.mobile-pos .mobile-basket{margin:10px 0;padding:14px}.mobile-pos .mobile-basket h2{margin:0 0 4px;font-size:1rem}.mobile-pos .mobile-basket>p{margin:6px 0;font-size:.875rem}.mobile-pos .mobile-result{margin:6px 0;padding:8px 10px}.mobile-history{margin:10px 0;padding:0 14px;background:var(--bg-surface);border:1px solid var(--border-glass);border-radius:14px}.mobile-history summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;font-weight:700;cursor:pointer}.mobile-pos .mobile-history summary button{width:40px;min-height:40px;padding:0;display:grid;place-items:center;border:1px solid var(--border-glass-strong);border-radius:10px;background:#f6f8fb}.mobile-pos .mobile-history p{margin:0;padding:8px 0;border-top:1px solid var(--border-glass);font-size:.8125rem}.mt{padding-top:8px}.mt-sticky{margin:0 -16px;padding:0 16px 8px;display:grid;gap:6px;background:var(--bg-app);box-shadow:0 6px 10px -10px #0f172a59}.mobile-pos .mt-dest{display:flex;align-items:center;gap:8px;margin:0;min-width:0}.mt-dest>span:first-child{flex:none;font-size:.8125rem;font-weight:700;color:var(--text-secondary)}.mobile-pos .mt-dest select{flex:1;min-width:0;min-height:44px;padding:8px 10px;font-weight:700;background:var(--bg-surface)}.mt-title{flex:1;min-width:0;display:grid}.mt-title strong{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-pos .mt-title small{font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-pos .mt-link{flex:none;min-height:44px;padding:0 10px;border:0;background:transparent;color:var(--gregor-red-dark);font-weight:700;text-decoration:underline;text-underline-offset:3px}.mobile-pos .mt-icon{flex:none;width:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid var(--border-glass-strong);border-radius:10px;background:var(--bg-surface);color:var(--text-primary)}.mt-filter{display:flex;gap:6px}.mobile-pos .mt-filter button:not(.mt-icon){flex:1;min-height:44px;padding:0 8px;border:1px solid var(--border-glass-strong);border-radius:10px;background:var(--bg-surface);color:var(--text-secondary);font-weight:700;font-size:.875rem}.mobile-pos .mt-filter button[aria-pressed=true]{background:var(--text-primary);border-color:var(--text-primary);color:#fff}.mt-spin{animation:mt-spin 1s linear infinite}@keyframes mt-spin{to{transform:rotate(360deg)}}.mobile-pos .mt-alert{margin:8px 0;padding:8px 12px;border-radius:10px;background:var(--gregor-red-50);color:var(--gregor-red-deep);font-size:.875rem;font-weight:600}.mobile-pos .mt-empty{margin:16px 4px;font-size:.9rem}.mt-month{display:flex;align-items:flex-end;gap:8px;margin-top:8px}.mobile-pos .mt-month label{flex:1;margin:0;font-size:.8125rem;font-weight:700}.mobile-pos .mt-month input{min-height:44px;padding:8px 10px}.mobile-pos .mt-month button{flex:none;min-height:44px}.mt-results,.mt-lines,.mt-avize,.mt-history ul{list-style:none;margin:8px 0 0;padding:0}.mt-results,.mt-lines,.mt-avize{background:var(--bg-surface);border:1px solid var(--border-glass);border-radius:14px;overflow:hidden}.mt-results li+li,.mt-lines li+li,.mt-avize li+li{border-top:1px solid var(--border-glass)}.mobile-pos .mt-results button,.mobile-pos .mt-avize button{width:100%;min-height:56px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:0;background:transparent;text-align:left;color:var(--text-primary)}.mt-results button>span,.mt-avize button>span{flex:1;min-width:0;display:grid;gap:2px}.mt-results strong,.mt-avize strong,.mt-line-name strong{font-size:.9rem;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mobile-pos .mt-results small,.mobile-pos .mt-avize small,.mobile-pos .mt-line-name small{font-size:.75rem;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-avize em{flex:none;max-width:38%;padding:3px 8px;border-radius:999px;background:#fef3c7;color:#92400e;font-style:normal;font-size:.72rem;font-weight:700;text-align:center}.mt-avize em.is-ok{background:#dcfce7;color:#166534}.mt-avize em.is-warn{background:#ffedd5;color:#9a3412}.mt-lines li{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 12px;transition:background .2s}.mt-lines li.is-last{background:#f0fdf4}.mt-lines li.is-bad{background:var(--gregor-red-50)}.mt-line-name{flex:1;min-width:0;display:grid;gap:2px}.mt-stepper{flex:none;display:flex;align-items:center;border:1px solid var(--border-glass-strong);border-radius:10px;overflow:hidden;background:var(--bg-surface)}.mobile-pos .mt-stepper button{width:36px;min-height:44px;padding:0;display:grid;place-items:center;border:0;border-radius:0;background:#f6f8fb;color:var(--text-primary)}.mobile-pos .mt-stepper input{width:46px;min-height:44px;padding:0 2px;border:0;border-radius:0;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}.mobile-pos .mt-stepper input[aria-invalid=true]{color:var(--gregor-red-dark)}.mobile-pos .mt-remove{flex:none;width:40px;min-height:44px;padding:0;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#64748b}.mt-lines li.mt-out{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:6px;row-gap:4px}.mt-out-name{grid-column:1 / -1;font-size:.9rem;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mobile-pos .mt-out-meta{min-width:0;font-size:.75rem;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-pos .mt-dest select:disabled{opacity:1;color:var(--text-primary);background:transparent;cursor:default}.mt-check li.is-done{background:#f0fdf4}.mt-check li.is-part{background:#fffbeb}.mt-count{flex:none;display:inline-flex;align-items:center;gap:4px;font-size:.875rem;font-variant-numeric:tabular-nums;white-space:nowrap}.mt-check li.is-done .mt-count{color:#166534}.mobile-pos .mt-progress{margin:10px 2px 0;font-size:.8125rem;font-weight:700}.mt-footer{position:sticky;bottom:0;z-index:5;margin:12px -16px 0;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:var(--bg-surface);border-top:1px solid var(--border-glass-strong);box-shadow:0 -8px 16px -12px #0f172a4d}.mobile-pos .mt-footer p{margin:0 0 8px;font-size:.8125rem}.mobile-pos .mt-review label{margin:0 0 8px;font-size:.8125rem;font-weight:700}.mobile-pos .mt-review select,.mobile-pos .mt-review input{margin-top:4px;min-height:44px;padding:8px 10px}.mt-actions{display:flex;gap:8px}.mobile-pos .mt-actions button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;font-size:15px;font-weight:800}.mobile-pos .mt-actions .btn-glass{flex:0 0 auto}.mobile-pos .mt-confirm{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px;font-size:.875rem;font-weight:600;line-height:1.35}.mobile-pos .mt-confirm input{flex:none;width:22px;height:22px;margin:0;padding:0;accent-color:var(--gregor-red)}.mt-history{margin:12px 0;padding:0 12px;background:var(--bg-surface);border:1px solid var(--border-glass);border-radius:14px}.mt-history summary{min-height:48px;display:flex;align-items:center;font-weight:700;cursor:pointer}.mt-history li{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--border-glass);font-size:.8125rem}.mt-history li>div{flex:1;min-width:0}.mobile-pos .mobile-modes button:focus-visible,.mobile-pos .mt-icon:focus-visible,.mobile-pos .mt-stepper button:focus-visible,.mobile-pos .mt-avize button:focus-visible,.mobile-pos .mt-results button:focus-visible{outline:3px solid var(--gregor-red);outline-offset:-3px}@media(min-width:740px){.mobile-pos .mobile-scan,.mobile-pos .mt-sticky,.mobile-pos .mt-footer{margin-left:0;margin-right:0;border-radius:12px}}@media(prefers-reduced-motion:reduce){.mt-spin{animation:none}}
