
        :root {
            /* 现代高质感纯白明亮主题配色系统 */
            --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-card: #ffffff;
            --bg-card-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --border-hover: #cbd5e1;
            --border-focus: #2563eb;
            
            --primary: #10b981;
            --primary-hover: #059669;
            --primary-glow: rgba(16, 185, 129, 0.22);
            --primary-light: #ecfdf5;
            --primary-text: #065f46;

            --accent: #2563eb;
            --accent-hover: #1d4ed8;
            --accent-glow: rgba(37, 99, 235, 0.2);
            --accent-light: #eff6ff;
            --accent-text: #1e40af;

            --warning: #f59e0b;
            --warning-light: #fffbeb;
            --warning-text: #b45309;

            --danger: #ef4444;
            --danger-light: #fef2f2;
            --danger-text: #b91c1c;
            
            --text-main: #0f172a;
            --text-sub: #334155;
            --text-muted: #64748b;
            --text-dark: #94a3b8;
            
            --led-color: #059669;
            
            --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
            --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
            --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.07), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
            --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
            
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --radius-2xl: 24px;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            width: 100%;
            max-width: 100%;
            overflow-x: clip;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-base);
            background-image: 
                radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.06) 0px, transparent 40%),
                radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.06) 0px, transparent 40%),
                radial-gradient(at 50% 100%, rgba(241, 245, 249, 0.7) 0px, transparent 60%);
            background-attachment: fixed;
            color: var(--text-main);
            min-height: 100vh;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            overflow-x: clip;
            box-sizing: border-box;
        }

        header, main, footer, .workspace-grid, .scale-stage-card, .details-panel, .units-nav-container, .units-nav-list, .items-scroll-box, .category-nav-strip {
            min-width: 0;
            box-sizing: border-box;
        }

        /* 顶部导航与状态栏 - 纯白轻拟物磨砂玻璃 (正常文档流，向下滚动时随页面滚走) */
        header {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color);
            position: relative;
            padding: 12px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            box-shadow: var(--shadow-xs);
            width: 100%;
            max-width: 100%;
            min-width: 0;
        }

        .brand-box {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .logo-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #10b981, #059669);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
        }

        .brand-info h1 {
            font-size: 1.2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .brand-info p {
            font-size: 0.82rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* 按钮通用样式 - 纯白卡片感 */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 9px 18px;
            font-size: 0.88rem;
            font-weight: 600;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background: #ffffff;
            color: var(--text-sub);
            cursor: pointer;
            box-shadow: var(--shadow-xs);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            user-select: none;
        }

        .btn:hover {
            background: #f8fafc;
            border-color: var(--border-hover);
            color: var(--text-main);
            transform: translateY(-1px);
            box-shadow: var(--shadow-sm);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn-primary {
            background: linear-gradient(135deg, #10b981, #059669);
            border-color: transparent;
            color: #ffffff;
            box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #059669, #047857);
            box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
            color: #ffffff;
        }

        .btn-bluetooth {
            position: relative;
        }

        .btn-bluetooth.connected {
            background: #ecfdf5;
            border-color: #10b981;
            color: #065f46;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--danger);
            display: inline-block;
        }

        .status-dot.active {
            background: var(--primary);
            box-shadow: 0 0 8px #10b981;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(0.85); }
        }

        /* 页面主体 */
        main {
            flex: 1;
            max-width: 1650px;
            width: 100%;
            margin: 0 auto;
            padding: 22px 28px 48px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* 客户单位导航卡片区 (电脑端吸顶固定：顶层导航不固定，向下滚动时单位卡片固定吸顶在屏幕最顶部，随时可看进度与点击切换) */
        .units-nav-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            position: sticky;
            top: 0;
            z-index: 90;
            background: rgba(248, 250, 252, 0.96);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 8px 14px 10px;
            margin: 0 0 4px 0;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(226, 232, 240, 0.9);
            box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.05);
            transform: translateZ(0);
            transition: box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .units-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .units-header h2 {
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--text-muted);
            font-weight: 700;
        }

        .btn-clear-all {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            font-size: 0.82rem;
            font-weight: 600;
            color: #dc2626;
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            user-select: none;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }
        .btn-clear-all:hover {
            background: #fee2e2;
            border-color: #f87171;
            color: #b91c1c;
            box-shadow: 0 2px 6px rgba(220, 38, 38, 0.18);
        }
        .btn-clear-all.enter-active {
            background: #fca5a5 !important;
            border-color: #ef4444 !important;
            color: #7f1d1d !important;
            transform: scale(0.98);
        }
        .btn-clear-all kbd {
            background: #ffffff;
            border: 1px solid #fca5a5;
            color: #dc2626;
            border-radius: 4px;
            padding: 1px 6px;
            font-size: 0.72rem;
            font-family: 'JetBrains Mono', Consolas, monospace;
            font-weight: 700;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
        }
        .shake-anim {
            animation: shake 0.4s ease-in-out;
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-6px); }
            40%, 80% { transform: translateX(6px); }
        }

        .units-nav-list {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding-bottom: 8px;
            scrollbar-width: thin;
        }

        .unit-card-btn {
            flex: 0 0 auto;
            min-width: 200px;
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 12px 18px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: left;
            position: relative;
            box-shadow: var(--shadow-sm);
        }

        .unit-card-btn:hover {
            background: #ffffff;
            border-color: #cbd5e1;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .unit-card-btn.active {
            border: 2px solid #10b981;
            background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
            box-shadow: 0 8px 22px rgba(16, 185, 129, 0.15);
        }

        .unit-card-title {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .unit-progress-text {
            font-size: 0.82rem;
            color: var(--text-muted);
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .unit-progress-bar {
            height: 6px;
            background: #f1f5f9;
            border-radius: 99px;
            overflow: hidden;
        }

        .unit-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #10b981, #059669);
            border-radius: 99px;
            transition: width 0.3s ease;
        }

        .badge-done {
            background: #dcfce7;
            color: #15803d;
            font-size: 0.72rem;
            padding: 2px 8px;
            border-radius: 6px;
            font-weight: 700;
            border: 1px solid #bbf7d0;
        }

        /* 核心作业区分栏（左侧紧凑控制台，右侧大画幅菜品卡片展示） */
        .workspace-grid {
            display: grid;
            grid-template-columns: 390px minmax(0, 1fr);
            gap: 22px;
            align-items: start;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        /* 平板横屏 (992px ~ 1240px)：保持双栏工作台，充分利用平板宽度 */
        @media (min-width: 992px) and (max-width: 1240px) {
            .workspace-grid {
                grid-template-columns: 400px minmax(0, 1fr);
                gap: 16px;
            }
        }

        /* 平板竖屏与手机端 (< 992px)：单栏流式布局，所有内容自然随流滚动，彻底杜绝吸顶抖动 */
        @media (max-width: 991px) {
            body {
                background-attachment: scroll !important;
            }
            .workspace-grid {
                grid-template-columns: minmax(0, 1fr);
                gap: 14px;
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }
            .scale-stage-card {
                position: relative !important;
                top: 0 !important;
                max-height: none !important;
                overflow-y: visible !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }
            .details-panel {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }
            .units-header {
                display: none !important;
            }
            .units-nav-container {
                position: relative;
                z-index: 10;
                background: #ffffff;
            }
            .details-filter-sticky-bar {
                border-top: 1px solid rgba(226, 232, 240, 0.7);
                padding-top: 6px;
                margin-top: 2px;
                gap: 5px;
            }
            /* 移动端绝对锁定吸顶模式 (iOS / Android 原生防抖) */
            .units-nav-container.is-mobile-fixed {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
                z-index: 100 !important;
                margin: 0 !important;
                padding: 8px 14px 6px !important;
                border-radius: 0 !important;
                background: #ffffff !important;
                border-top: none !important;
                border-left: none !important;
                border-right: none !important;
                border-bottom: 1px solid var(--border-color) !important;
                box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07) !important;
                -webkit-transform: translate3d(0, 0, 0) !important;
                transform: translate3d(0, 0, 0) !important;
                -webkit-backface-visibility: hidden !important;
                backface-visibility: hidden !important;
            }
        }

        /* 左侧：称重舞台卡片（纯白高雅轻质感） */
        .scale-stage-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-2xl);
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            box-shadow: var(--shadow-lg);
            position: sticky;
            top: var(--scale-stage-top, 130px);
            max-height: calc(100vh - var(--scale-stage-top, 130px) - 16px);
            overflow-y: auto;
            scrollbar-width: thin;
            box-sizing: border-box;
        }

        .stage-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .stage-unit-badge {
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            color: #1d4ed8;
            padding: 6px 14px;
            border-radius: var(--radius-md);
            font-size: 0.88rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .stage-item-counter {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            color: var(--text-muted);
            background: #f8fafc;
            border: 1px solid var(--border-color);
            padding: 5px 12px;
            border-radius: var(--radius-md);
            font-weight: 600;
        }

        /* 待称商品信息（左侧紧凑纯白天鹅绒质感） */
        .current-item-box {
            background: #f8fafc;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .item-main-details h3 {
            font-size: 1.85rem;
            font-weight: 900;
            letter-spacing: -0.01em;
            color: var(--text-main);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .item-meta-tags {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            align-items: center;
        }

        .meta-tag {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .meta-tag strong {
            color: #0284c7;
            font-size: 1.15rem;
            font-family: 'JetBrains Mono', monospace;
            font-weight: 800;
        }

        .item-remark-tag {
            background: #fef3c7;
            color: #b45309;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.82rem;
            border: 1px dashed #fcd34d;
            display: inline-block;
            font-weight: 600;
        }

        /* 电子秤数显（现代高质感精准数显屏幕） */
        .digital-scale-screen {
            background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 18px 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .digital-scale-screen.stable {
            border-color: #10b981;
            background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
            box-shadow: 0 0 25px rgba(16, 185, 129, 0.2), inset 0 2px 5px rgba(16, 185, 129, 0.08);
        }

        .digital-scale-screen.dynamic {
            border-color: #f59e0b;
            background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
        }

        .scale-screen-top {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-bottom: 6px;
            font-weight: 600;
        }

        .stability-pill {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 99px;
            background: #e2e8f0;
            color: var(--text-sub);
        }

        .stability-pill.stable {
            background: #dcfce7;
            color: #15803d;
            border: 1px solid #bbf7d0;
        }

        .stability-pill.dynamic {
            background: #fef3c7;
            color: #b45309;
            border: 1px solid #fde68a;
        }

        .scale-readout-box {
            display: flex;
            align-items: baseline;
            gap: 10px;
        }

        /* 斤数显示调小（3.4rem 精致干练） */
        .scale-huge-number {
            font-family: 'Chakra Petch', 'JetBrains Mono', monospace;
            font-size: 3.4rem;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 0.02em;
            color: var(--led-color);
            transition: color 0.2s ease;
        }

        .digital-scale-screen.dynamic .scale-huge-number {
            color: #d97706;
        }

        .scale-unit-label {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-muted);
            letter-spacing: 0.05em;
        }

        .scale-diff-hint {
            font-size: 0.88rem;
            color: var(--text-muted);
            margin-top: 8px;
            font-family: 'JetBrains Mono', monospace;
            font-weight: 600;
        }

        .scale-diff-hint span.diff-plus { color: #dc2626; }
        .scale-diff-hint span.diff-minus { color: #0284c7; }
        .scale-diff-hint span.diff-exact { color: #16a34a; }

        /* 称重确认主控按钮区 (确定 / 置零/去皮 / 缺货) - 精准自适应不溢出 */
        .stage-action-bar {
            display: grid;
            grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr) minmax(0, 0.85fr);
            gap: 8px;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        .btn-confirm-weight {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff;
            font-size: 0.98rem;
            font-weight: 700;
            padding: 13px 4px;
            border-radius: var(--radius-lg);
            border: none;
            box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
            box-sizing: border-box;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-confirm-weight:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35);
        }

        .btn-confirm-weight:active {
            transform: translateY(0);
        }

        .btn-tare, .btn-out-stock {
            font-size: 0.88rem;
            font-weight: 700;
            padding: 13px 4px;
            border-radius: var(--radius-lg);
            background: #ffffff;
            border: 1px solid var(--border-color);
            color: var(--text-sub);
            cursor: pointer;
            transition: all 0.15s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            white-space: nowrap;
            min-width: 0;
            box-sizing: border-box;
        }

        .btn-tare:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: var(--text-main);
            transform: translateY(-1px);
        }

        .btn-out-stock {
            color: #dc2626;
            background: #fef2f2;
            border-color: #fee2e2;
        }

        .btn-out-stock:hover {
            background: #fee2e2;
            border-color: #fca5a5;
            color: #b91c1c;
            transform: translateY(-1px);
        }

        .btn-tare:active, .btn-out-stock:active {
            transform: translateY(0);
        }

        /* 下一项预览栏 */
        .next-preview-strip {
            background: #f8fafc;
            border: 1px dashed #cbd5e1;
            border-radius: var(--radius-md);
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .next-preview-strip strong {
            color: var(--text-main);
        }

        /* 右侧：明细列表与辅助键盘（纯白优雅卡片） */
        .details-panel {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-2xl);
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            box-shadow: var(--shadow-lg);
            min-height: 600px;
            position: relative;
        }

        .panel-tab-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 14px;
        }

        .panel-tab-header h3 {
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--text-main);
        }

        .view-mode-buttons {
            display: flex;
            background: #f1f5f9;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 3px;
            gap: 2px;
        }

        .view-mode-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            padding: 5px 12px;
            font-size: 0.82rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .view-mode-btn.active {
            background: #ffffff;
            color: var(--text-main);
            box-shadow: var(--shadow-sm);
        }

        .filter-buttons {
            display: flex;
            gap: 6px;
        }

        .filter-btn {
            padding: 5px 14px;
            font-size: 0.82rem;
            font-weight: 600;
            background: #f8fafc;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .filter-btn:hover {
            background: #f1f5f9;
            color: var(--text-main);
        }

        .filter-btn.active {
            background: #0f172a;
            color: #ffffff;
            border-color: #0f172a;
            box-shadow: var(--shadow-sm);
        }

        .filter-btn.btn-filter-outstock {
            color: #dc2626;
            background: #fef2f2;
            border-color: #fecaca;
        }

        .filter-btn.btn-filter-outstock:hover {
            background: #fee2e2;
            color: #b91c1c;
            border-color: #fca5a5;
        }

        .filter-btn.btn-filter-outstock.active {
            background: linear-gradient(135deg, #ef4444, #dc2626) !important;
            color: #ffffff !important;
            border-color: #dc2626 !important;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
        }

        /* 筛选与品类导航组（与单位导航卡片同宽，整合在顶部吸顶卡片内，永不滑没） */
        .details-filter-sticky-bar {
            display: flex;
            flex-direction: column;
            gap: 6px;
            width: 100%;
            min-width: 0;
            box-sizing: border-box;
            border-top: 1px solid rgba(226, 232, 240, 0.85);
            padding-top: 8px;
            margin-top: 2px;
        }

        .filter-buttons {
            display: flex;
            gap: 6px;
            align-items: center;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 2px;
            box-sizing: border-box;
        }

        .filter-buttons::-webkit-scrollbar {
            display: none;
        }

        .items-scroll-box {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-right: 4px;
            min-height: 280px;
        }

        /* 品类导航筛选条 - 纯净白色胶囊横滑轨 */
        .category-nav-strip {
            display: flex;
            gap: 6px;
            overflow-x: auto;
            padding: 2px 0 2px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            border-bottom: none;
            margin-bottom: 0;
        }

        .category-nav-strip::-webkit-scrollbar {
            display: none;
        }

        .category-pill-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 16px;
            font-size: 0.85rem;
            font-weight: 700;
            border-radius: 99px;
            background: #f8fafc;
            border: 1px solid var(--border-color);
            color: var(--text-sub);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            user-select: none;
        }

        .category-pill-btn:hover {
            background: #f1f5f9;
            color: var(--text-main);
            border-color: var(--border-hover);
            transform: translateY(-1px);
        }

        .category-pill-btn.active {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
        }

        .category-tag-badge {
            font-size: 0.78rem;
            padding: 2px 7px;
            border-radius: 6px;
            background: #f8fafc;
            color: #475569;
            border: 1px solid #e2e8f0;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            white-space: nowrap;
            vertical-align: middle;
            line-height: 1.3;
        }

        .unit-tag-badge {
            font-size: 1.05rem;
            padding: 4px 12px;
            border-radius: 8px;
            background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
            color: #064e3b;
            border: 1.5px solid #86efac;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
            vertical-align: middle;
            box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
            letter-spacing: 0.5px;
            line-height: 1.2;
        }

        .cur-item-unit-tag {
            font-size: 1.02rem;
            padding: 3px 10px;
            font-weight: 800;
        }
        .cur-item-cat-tag {
            font-size: 0.86rem;
            padding: 3px 8px;
        }

        /* 独立菜品卡片网格系统（展示大画幅扩张） */
        .dish-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 12px;
            padding-right: 4px;
        }

        .dish-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-xl);
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 160px;
            position: relative;
            user-select: none;
            box-shadow: var(--shadow-sm);
        }

        .dish-card .dish-card-idx {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.88rem;
            color: #334155;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            padding: 2px 7px;
            border-radius: 6px;
            font-weight: 800;
            min-width: 24px;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1.2;
            flex-shrink: 0;
        }

        .dish-card .unit-tag-badge,
        .dish-row-item .unit-tag-badge {
            font-size: 0.84rem;
            padding: 2px 8px;
            border-radius: 6px;
            max-width: none;
            white-space: nowrap;
            overflow: visible;
            white-space: nowrap;
            letter-spacing: normal;
        }

        .dish-card .category-tag-badge,
        .dish-row-item .category-tag-badge {
            font-size: 0.74rem;
            padding: 2px 6px;
            border-radius: 5px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .dish-card:hover {
            transform: translateY(-4px);
            background: #ffffff;
            border-color: #cbd5e1;
            box-shadow: var(--shadow-lg);
        }

        /* 称重中卡片 - 灵动优雅呼吸蓝光 */
        .dish-card.current-active {
            border: 2px solid #2563eb;
            background: linear-gradient(165deg, #eff6ff 0%, #ffffff 100%);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 10px 25px rgba(37, 99, 235, 0.15);
            animation: card-active-pulse 2s infinite ease-in-out;
        }

        @keyframes card-active-pulse {
            0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 8px 20px rgba(37, 99, 235, 0.15); }
            50% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35), 0 12px 28px rgba(37, 99, 235, 0.25); }
        }

        /* 已称重完成卡片 - 翡翠清新绿质感 */
        .dish-card.is-weighed {
            border: 1px solid #86efac;
            background: linear-gradient(165deg, #f0fdf4 0%, #ffffff 100%);
        }

        .dish-card.is-weighed:hover {
            border-color: #22c55e;
            box-shadow: 0 8px 24px rgba(34, 197, 94, 0.14);
        }

        /* 缺货卡片 - 专属珊瑚粉红特殊警戒质感 */
        .dish-card.is-out-of-stock {
            border: 1.5px solid #fca5a5;
            border-left: 5px solid #ef4444;
            background: linear-gradient(165deg, #fff1f2 0%, #ffffff 100%);
            box-shadow: 0 3px 12px rgba(239, 68, 68, 0.08);
        }

        .dish-card.is-out-of-stock:hover {
            border-color: #ef4444;
            box-shadow: 0 8px 24px rgba(239, 68, 68, 0.18);
        }

        .dish-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            gap: 6px;
        }

        .dish-card-idx {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.95rem;
            color: #334155;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            padding: 3px 8px;
            border-radius: 8px;
            font-weight: 800;
            min-width: 26px;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1.2;
        }

        .dish-card-badge {
            font-size: 0.75rem;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 99px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .dish-card-badge.status-pending {
            background: #f1f5f9;
            color: var(--text-muted);
        }

        .dish-card-badge.status-active {
            background: #dbeafe;
            color: #1d4ed8;
            border: 1px solid #bfdbfe;
        }

        .dish-card-badge.status-done {
            background: #dcfce7;
            color: #15803d;
            border: 1px solid #bbf7d0;
        }

        /* 菜品名称大字展示（1.6rem 醒目粗体） */
        .dish-card-name {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 6px;
            line-height: 1.25;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .dish-name-title {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 0;
            flex: 1;
        }

        /* 电子秤实时变动斤数 / 实测斤数展示胶囊 (替代原金额显示) */
        .dish-card-weight-pill {
            font-family: 'Chakra Petch', 'JetBrains Mono', monospace;
            font-size: 1.22rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            color: var(--text-muted);
            display: inline-flex;
            align-items: baseline;
            gap: 2px;
            flex-shrink: 0;
            transition: all 0.15s ease;
        }

        /* 当前称重卡片：实时跟随电子秤变动的斤数 */
        .dish-card-weight-pill.live-active {
            color: #059669;
            background: #ecfdf5;
            padding: 2px 8px;
            border-radius: 8px;
            border: 1px solid #a7f3d0;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
            font-size: 1.25rem;
        }

        .dish-card-weight-pill.live-active.dynamic {
            color: #d97706;
            background: #fffbeb;
            border-color: #fde68a;
            box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
        }

        .dish-card-weight-pill.live-active.stable {
            color: #059669;
            background: #dcfce7;
            border-color: #86efac;
            box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
        }

        /* 已称重完成的实测斤数 */
        .dish-card-weight-pill.weighed-done {
            color: #15803d;
            font-size: 1.15rem;
            font-weight: 700;
        }

        /* 缺货项的斤数 (0.00 斤) */
        .dish-card-weight-pill.is-outstock {
            color: #dc2626;
            font-size: 1.1rem;
            font-weight: 800;
        }

        /* 待称重项的占位提示 */
        .dish-card-weight-pill.pending-weight {
            color: #94a3b8;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .dish-card-qty-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            font-size: 0.88rem;
            color: var(--text-muted);
            border-top: 1px solid #f1f5f9;
            padding-top: 10px;
            margin-top: 8px;
        }

        .dish-card-plan {
            font-family: 'JetBrains Mono', monospace;
            color: #0284c7;
            font-weight: 700;
            font-size: 1.05rem;
        }

        .dish-card-actual {
            font-family: 'JetBrains Mono', monospace;
            color: #059669;
            font-size: 1.3rem;
            font-weight: 800;
        }

        .btn-card-edit {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            font-size: 0.82rem;
            font-weight: 700;
            border-radius: 8px;
            background: #ffffff;
            border: 1.5px solid #cbd5e1;
            color: #334155;
            cursor: pointer;
            transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
            user-select: none;
            white-space: nowrap;
            box-shadow: 0 1px 2px rgba(0,0,0,0.04);
            line-height: 1.2;
        }

        .btn-card-edit:hover {
            background: #eff6ff;
            border-color: #bfdbfe;
            color: #1d4ed8;
            transform: translateY(-1px);
        }

        .edit-modal-key {
            padding: 13px 8px;
            font-size: 1.25rem;
        }

        .dish-card-remark {
            font-size: 0.78rem;
            color: #b45309;
            background: #fef3c7;
            padding: 3px 8px;
            border-radius: 4px;
            margin-top: 6px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            border: 1px dashed #fcd34d;
            font-weight: 600;
        }

        /* 紧凑列表行样式 */
        .dish-row-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 0.15s ease;
            box-shadow: var(--shadow-xs);
        }

        .dish-row-item:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            box-shadow: var(--shadow-sm);
        }

        .dish-row-item.current-active {
            border-color: #2563eb;
            background: #eff6ff;
        }

        .dish-row-item.is-weighed {
            border-color: #86efac;
            background: #f0fdf4;
        }

        .dish-row-item.is-out-of-stock {
            border-color: #fca5a5;
            border-left: 4px solid #ef4444;
            background: #fef2f2;
        }

        .dish-row-item.is-out-of-stock:hover {
            border-color: #ef4444;
            background: #fee2e2;
        }

        .dish-row-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .dish-idx {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            color: var(--text-muted);
            min-width: 24px;
            font-weight: 600;
        }

        .dish-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
        }

        .dish-sub {
            font-size: 0.82rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .dish-row-right {
            text-align: right;
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .dish-weight-display {
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.15rem;
            font-weight: 700;
        }

        .dish-weight-display.done {
            color: #059669;
        }

        .dish-weight-display.pending {
            color: var(--text-dark);
            font-size: 0.9rem;
        }

        /* 触控手动输入键盘抽屉 */
        .manual-input-box {
            border-top: 1px solid var(--border-color);
            padding-top: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .manual-input-header {
            font-size: 0.82rem;
            color: var(--text-muted);
            display: flex;
            justify-content: space-between;
            font-weight: 600;
        }

        .num-pad-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
        }

        .pad-key {
            padding: 12px;
            background: #f8fafc;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            color: var(--text-main);
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.1s ease;
            box-shadow: var(--shadow-xs);
        }

        .pad-key:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }

        .pad-key:active {
            background: #e2e8f0;
            transform: scale(0.96);
        }

        .pad-key.btn-pad-del {
            color: #dc2626;
            background: #fef2f2;
            border-color: #fee2e2;
        }

        .pad-key.btn-pad-del:hover {
            background: #fee2e2;
        }

        .pad-key.btn-pad-enter {
            background: #10b981;
            color: #ffffff;
            border-color: transparent;
        }

        .pad-key.btn-pad-enter:hover {
            background: #059669;
        }

        /* 模态框/设置弹窗 - 纯白极简浮层 */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 200;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
        }

        .modal-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-xl);
            width: 100%;
            max-width: 520px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            box-shadow: var(--shadow-xl);
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .modal-header h3 {
            font-size: 1.25rem;
            color: var(--text-main);
            font-weight: 800;
        }

        .modal-close {
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.15s ease;
        }

        .modal-close:hover {
            color: var(--text-main);
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            font-size: 0.85rem;
            color: var(--text-sub);
            font-weight: 600;
        }

        .form-input {
            background: #f8fafc;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 11px 14px;
            color: var(--text-main);
            font-size: 0.95rem;
            outline: none;
            transition: all 0.2s ease;
        }

        .form-input:focus {
            background: #ffffff;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        }

        /* ==============================================================================
   完美卡片标准尺寸规范：严格按照标准比例呈现，绝不纵向拉长，也绝不拉短削扁
   ============================================================================== */
.dish-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 14px !important;
    align-content: start !important; /* 整个网格紧贴顶部排布，绝不被外部容器拉扯 */
    align-items: stretch !important; /* 同行卡片自动整齐等高 */
    padding-bottom: 24px !important;
    box-sizing: border-box !important;
}

/* 所有卡片保持统一的标准高度与黄金比例 */
.dish-card {
    min-height: 245px !important;
    padding: 14px 15px !important;
    border-radius: var(--radius-xl) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1.5px solid var(--border-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 激活中卡片：高亮品牌蓝边框与微光投影 */
.dish-card.current-active {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.3), 0 8px 20px -4px rgba(59, 130, 246, 0.2) !important;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%) !important;
}

/* 菜品名称与重量胶囊横向对齐 */
.dish-card-name {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 8px 0 6px 0 !important;
}
.dish-card-name .dish-name-title {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: var(--text-main) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
}

/* 计划目标与状态行保持间距与质感 */
.dish-card-qty-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px dashed #e2e8f0 !important;
}


/* ==============================================================================
   卡片底部现代操作按键体系：大绿确认按钮、白底去皮、浅红缺货按钮
   ============================================================================== */
.dish-card-active-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 10px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #bfdbfe !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* 核心录入大按钮 - 翡翠绿高级质感与投影 */
.dish-card-act-confirm {
    width: 100% !important;
    height: 38px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.90rem !important;
    border-radius: 8px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.32) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    user-select: none !important;
    transition: transform 0.1s ease, box-shadow 0.15s ease !important;
}

.dish-card-act-confirm:hover {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.42) !important;
    filter: brightness(1.03) !important;
}

.dish-card-act-confirm:active {
    transform: scale(0.97) !important;
}

/* 次要操作按钮并排网格 */
.dish-card-act-subgroup {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
}

/* 去皮与缺货通用微型按钮 */
.dish-card-act-btn {
    height: 32px !important;
    padding: 2px 6px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    user-select: none !important;
    transition: transform 0.1s ease, background 0.15s ease !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.dish-card-act-btn:active {
    transform: scale(0.96) !important;
}

/* 去皮按钮 - 白底精致微边框 */
.dish-card-act-tare {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
.dish-card-act-tare:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
}

/* 缺货按钮 - 浅粉底红字高对比度警示感 */
.dish-card-act-outstock {
    background: #fef2f2 !important;
    border: 1.5px solid #fca5a5 !important;
    color: #dc2626 !important;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.06) !important;
}
.dish-card-act-outstock:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
}

/* 列表模式下的确认按钮 */
.btn-list-confirm {
    padding: 4px 10px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.28) !important;
}

/* ==============================================================================
 * 手机端 / 平板端底部常驻悬浮触控栏 (PC桌面端严格隐藏，绝不溢出污染界面)
 * ============================================================================== */
.mobile-sticky-dock {
    display: none !important;
}

@media (max-width: 991px) {
    .mobile-sticky-dock {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;
        z-index: 1000;
        gap: 6px;
    }
    .dock-status-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    .dock-item-info {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.88rem;
        min-width: 0;
    }
    .dock-item-idx {
        background: #f1f5f9;
        color: #475569;
        font-weight: 700;
        font-size: 0.75rem;
        padding: 2px 6px;
        border-radius: 4px;
    }
    .dock-item-name {
        color: #0f172a;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .dock-plan-badge {
        color: #059669;
        font-weight: 700;
        font-size: 0.8rem;
        background: #ecfdf5;
        padding: 2px 6px;
        border-radius: 4px;
        white-space: nowrap;
    }
    .dock-weight-box {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .dock-weight-val {
        font-family: 'Chakra Petch', 'JetBrains Mono', monospace;
        font-size: 1.15rem;
        font-weight: 800;
        color: #059669;
    }
    .dock-action-row {
        display: grid;
        grid-template-columns: 2fr 1.5fr 1.2fr 44px;
        gap: 8px;
    }
    .dock-btn {
        padding: 10px 6px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.88rem;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    .dock-btn-confirm {
        background: #059669;
        color: #ffffff;
    }
    .dock-btn-tare {
        background: #f1f5f9;
        color: #334155;
        border: 1px solid #cbd5e1;
    }
    .dock-btn-outstock {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }
    .dock-btn-edit {
        background: #f8fafc;
        color: #475569;
        border: 1px solid #cbd5e1;
    }
}
