:root{--bg:#f0f3f6;--panel:#fff;--ink:#1a2332;--text:#1a2332;--muted:#4a5a6a;--line:#d8e0e8;--brand:#0d6e6e;--brand-deep:#0a5555;--accent:#c45c26;--warn:#b8860b;--danger:#b42318;--ok:#1b7a3d;--sidebar:#12263a;--sidebar-ink:#d7e3ef;--radius:8px;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.45}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--brand)}.login-page{background:radial-gradient(at 20% 0,#1a4a4a 0%,#0000 50%),linear-gradient(160deg,#0e2433 0%,#163a3a 45%,#1f2d3d 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--panel);border-radius:12px;width:min(400px,100%);padding:32px 28px;box-shadow:0 20px 50px #00000047}.login-card h1{margin:0 0 6px;font-size:1.45rem}.login-card .sub{color:var(--muted);margin:0 0 22px;font-size:.92rem}.shell{grid-template-columns:220px 1fr;min-height:100vh;display:grid}.shell.shell-pc-menu{grid-template-columns:92px 1fr}.side{background:var(--sidebar);color:var(--sidebar-ink);flex-direction:column;gap:8px;padding:18px 12px;display:flex}.side.side-pc-menu{align-items:stretch;gap:4px;padding:12px 8px}.side.side-pc-menu .brand-pc{text-align:center;border-bottom:1px solid #ffffff14;margin-bottom:6px;padding:8px 4px 14px}.side.side-pc-menu .brand-pc strong{font-size:.95rem}.side.side-pc-menu .brand-pc span{margin-top:2px;font-size:.7rem;display:block}.side.side-pc-menu .nav-pc{text-align:center;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;display:flex}.side.side-pc-menu a.nav-pc{color:inherit;cursor:pointer;text-decoration:none}.help-docs-panel{flex-direction:column;height:calc(100vh - 56px);min-height:480px;display:flex;overflow:hidden;padding:0!important}.help-docs-panel iframe{background:#f6f7f6;border:0;flex:1;width:100%;height:100%}.side.side-pc-menu .nav-pc-icon{background:#ffffff14;border-radius:12px;place-items:center;width:40px;height:40px;font-size:1.25rem;line-height:1;display:grid}.side.side-pc-menu .nav-pc-label{font-size:.78rem;line-height:1.2}.side.side-pc-menu .nav-pc.active{color:#fff;background:#ffffff24}.side.side-pc-menu .nav-pc.active .nav-pc-icon{box-shadow:0 0 0 2px #ffffff59}.side.side-pc-menu .side-foot{text-align:center;padding:10px 4px 4px;font-size:.72rem}.side.side-pc-menu .side-foot button{padding:6px 4px;font-size:.72rem}.pc-hub{max-width:920px;margin:12px auto 32px;padding:8px 8px 24px}.pc-hub-head{align-items:center;gap:16px;margin-bottom:28px;display:flex}.pc-hub-badge{color:#fff;border-radius:16px;flex-shrink:0;place-items:center;width:56px;height:56px;font-size:1.6rem;display:grid}.pc-hub-head h2{margin:0 0 4px;font-size:1.5rem}.pc-hub-head p{margin:0}.pc-hub-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:16px;display:grid}.pc-hub-tile{border:1px solid var(--line);color:inherit;text-align:center;background:#fff;border-radius:14px;flex-direction:column;align-items:center;gap:8px;min-height:148px;padding:22px 14px 18px;transition:border-color .15s,box-shadow .15s,transform .12s;display:flex;box-shadow:0 1px #10182808}.pc-hub-tile:hover{border-color:#9db7c9;transform:translateY(-1px);box-shadow:0 8px 24px #10283c14}.pc-hub-tile-icon{border-radius:16px;place-items:center;width:56px;height:56px;font-size:1.55rem;display:grid}.pc-hub-tile strong{font-size:1rem}.pc-hub-tile .muted{font-size:.8rem;line-height:1.35}.fin-hub-groups{flex-direction:column;gap:4px;display:flex}.fin-hub-row{border-bottom:1px solid #c5d6e8;align-items:flex-start;gap:16px;padding:16px 8px 18px;display:flex}.fin-hub-row:last-child{border-bottom:none}.fin-hub-cat{color:var(--ink);flex:0 0 72px;padding-top:18px;font-size:.95rem;font-weight:650}.fin-hub-items{flex-wrap:wrap;flex:1;align-items:center;gap:18px 28px;min-width:0;display:flex}.fin-hub-action{cursor:pointer;color:var(--ink);background:0 0;border:none;flex-direction:column;align-items:center;gap:8px;min-width:72px;padding:4px 8px;display:flex}.fin-hub-action:hover .fin-hub-action-icon{transform:translateY(-2px);box-shadow:0 6px 14px #10283c1f}.fin-hub-action-icon{background:linear-gradient(160deg,#e8f4ff 0%,#fff8e8 100%);border:1px solid #d6e4f0;border-radius:14px;place-items:center;width:56px;height:56px;font-size:1.7rem;transition:transform .12s,box-shadow .12s;display:grid}.fin-hub-action-label{font-size:.88rem;font-weight:600}.fin-hub-query{color:#1a6bb5;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:6px 4px;font-size:.9rem;display:inline-flex}.fin-hub-query:hover{text-decoration:underline}.fin-hub-query-icon{font-size:1rem}.pc-crumb{flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 14px;display:flex}.pc-crumb h2{margin:0;font-size:1.25rem}.brand{border-bottom:1px solid #ffffff14;margin-bottom:8px;padding:8px 10px 18px}.brand strong{color:#fff;font-size:1.05rem;display:block}.brand span{opacity:.7;font-size:.78rem}.nav-btn{text-align:left;color:inherit;background:0 0;border:0;border-radius:6px;padding:10px 12px}.nav-btn:hover{background:#ffffff14}.nav-btn.active{background:var(--brand);color:#fff}.side-foot{border-top:1px solid #ffffff14;margin-top:auto;padding:12px 10px 4px;font-size:.85rem}.side-foot button{color:#fff;background:0 0;border:1px solid #fff3;border-radius:6px;width:100%;margin-top:8px;padding:8px}.main{padding:20px 24px 40px;overflow:auto}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.page-head h2{margin:0;font-size:1.35rem}.subtabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:0;margin:-4px 0 16px;display:flex}.subtab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 16px;font-size:.95rem}.subtab:hover{color:var(--text)}.subtab.active{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wb-flow-panel{margin-bottom:16px}.wb-field-hint{border:1px solid var(--line);background:#f3f7fa;border-radius:8px;margin-bottom:10px;padding:12px 14px}.wb-main-chain{background:linear-gradient(90deg,#e8f4f4 0%,#f7fafc 55%,#fff8f0 100%);border:1px solid #cfe3e3;border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 12px;padding:12px 14px;display:flex}.wb-main-chain-step{border:1px solid var(--brand);color:var(--brand-deep);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:8px 12px;font-size:.9rem;display:inline-flex;position:relative}.wb-main-chain-step:hover{background:#e6f3f3;box-shadow:0 2px 8px #0d6e6e26}.wb-main-chain-step .wb-flow-icon{font-size:1rem}.wb-main-chain-step .wb-flow-label{font-weight:650}.wb-main-chain-arrow{color:var(--brand);-webkit-user-select:none;user-select:none;font-size:1.1rem;font-weight:700}.wb-flow{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 16px;margin-top:8px;display:grid}.wb-flow>.wb-flow-lane>.wb-flow-lane-arrow,html.ganhuo-app .wb-main-chain-arrow{display:none}html.ganhuo-app .wb-main-chain-step{border-radius:10px;flex:calc(50% - 8px);justify-content:flex-start}html.ganhuo-app .wb-flow{flex-direction:column;gap:10px;display:flex}html.ganhuo-app .wb-flow>.wb-flow-lane>.wb-flow-lane-arrow{display:block}.wb-flow-lane{border:1px solid var(--line);background:#fafbfc;border-radius:10px;min-width:0;padding:10px 12px}.wb-flow-lane-title{color:var(--muted);margin-bottom:6px;font-size:.82rem;font-weight:600}.wb-flow-lane-arrow{text-align:center;color:#94a3b8;margin:2px 0;font-size:1.1rem;line-height:1}.wb-flow-steps{flex-wrap:wrap;align-items:stretch;gap:6px 4px;display:flex}.wb-flow-arrow{color:#94a3b8;-webkit-user-select:none;user-select:none;align-items:center;padding:0 2px;font-size:1.05rem;display:flex}.wb-flow-step{border:1px solid var(--line);cursor:pointer;text-align:center;min-width:72px;max-width:88px;color:var(--ink);background:linear-gradient(#f8fbfc 0%,#fff 100%);border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;transition:border-color .15s,box-shadow .15s,transform .12s;display:flex}.wb-flow-step:hover{border-color:var(--brand);transform:translateY(-1px);box-shadow:0 2px 10px #0d6e6e1f}.wb-flow-icon{font-size:1.35rem;line-height:1}.wb-flow-label{word-break:break-all;font-size:.8rem;font-weight:650;line-height:1.25}.wb-flow-badge{background:var(--accent);color:#fff;text-align:center;border-radius:999px;min-width:22px;padding:1px 6px;font-size:.72rem;font-weight:650;line-height:1.4;display:inline-block}.wb-main-chain-step .wb-flow-badge{margin-left:2px;position:static}html.ganhuo-app .wb-flow-step{flex:calc(25% - 8px);min-width:calc(25% - 8px);max-width:none}html.ganhuo-app .wb-flow-arrow{display:none}.cards{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:18px;display:grid}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px}.card .label{color:var(--muted);font-size:.85rem}.card .value{margin-top:4px;font-size:1.4rem;font-weight:650}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;padding:14px}.panel h3{margin:0 0 12px;font-size:1rem}.product-pick{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;max-height:280px;margin-top:12px;display:grid;overflow:auto}.product-pick-item{border:1px solid var(--line);background:var(--bg,#fff);cursor:pointer;text-align:left;color:inherit;border-radius:8px;flex-direction:column;align-items:stretch;gap:4px;padding:6px;display:flex}.product-pick-item:hover{border-color:var(--brand)}.product-pick-item.active{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}.product-pick-item img,.pick-selected img,.pick-ph{aspect-ratio:1;object-fit:cover;background:#f0f2f5;border-radius:6px;width:100%}.pick-ph{color:var(--muted);justify-content:center;align-items:center;font-size:.75rem;display:flex}.pick-ph-add{color:var(--accent);border:1px dashed var(--accent);cursor:pointer;text-align:center;box-sizing:border-box;line-height:1.2}.spec-edit-box{border:1px dashed var(--accent);box-sizing:border-box;background:#00000005;border-radius:8px;width:100%;padding:10px 12px}.product-search-select{z-index:5;min-width:0;position:relative}.product-search-select.compact{z-index:1;margin:0}.product-search-select.compact.is-open{z-index:40}table.data td:has(.product-search-select){z-index:1;position:relative;overflow:visible}table.data tr:has(.product-search-select.is-open){z-index:5;position:relative}.product-search-select.compact .product-search-control input{min-height:38px;font-size:14px}.import-unmatched-panel{border-color:#e8b86d}.import-unmatched-list{flex-direction:column;gap:10px;display:flex}.import-unmatched-row{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1.1fr) minmax(220px,1fr);align-items:start;gap:12px 16px;padding:12px 14px;display:grid}.import-unmatched-row.matched{background:#f7fcf9;border-color:#9dceb0}.import-unmatched-name{word-break:break-word;font-size:1rem;font-weight:700;line-height:1.35}.import-unmatched-sub{margin-top:4px;font-size:.88rem}.import-unmatched-picked{color:#0f5c2e;margin-top:6px;font-size:.88rem;font-weight:600}.import-unmatched-need{color:#b45309;margin-top:6px;font-size:.85rem}.import-unmatched-pick{min-width:0;position:relative}@media (width<=860px){.import-unmatched-row{grid-template-columns:1fr}}.product-search-control{position:relative}.product-search-control input{padding-right:28px!important}.product-search-caret{color:var(--muted);pointer-events:none;font-size:.75rem;line-height:1;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.product-search-dropdown{z-index:80;border:1px solid var(--line);background:#fff;border-top:0;border-radius:0 0 8px 8px;max-height:280px;position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:auto;box-shadow:0 10px 28px #00000024}.product-search-empty{color:var(--muted);padding:12px 14px;font-size:.9rem}.product-search-create{color:#0f766e;cursor:pointer;text-align:left;background:#f8fafc;border:1px dashed #94a3b8;border-radius:8px;width:100%;margin-top:8px;padding:8px 10px;font-size:.9rem;display:block}.product-search-create:hover{background:#ecfeff;border-color:#0f766e}.product-search-option{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:0;border-radius:0;gap:10px;padding:8px 12px;display:flex}.product-search-option:hover,.product-search-option.active{background:#0000000d}.product-search-code{min-width:64px;color:var(--muted);flex:none;font-size:.85rem}.product-search-name{flex:auto;font-size:.92rem;font-weight:600}:is(.row.form-one-line:has(.product-search-select),.row.customer-form-one-line:has(.product-search-select)){overflow:visible}.product-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;display:grid}.product-form-grid .field{min-width:0;margin-bottom:0}.product-form-grid .field input,.product-form-grid .field select,.product-form-grid .field textarea{box-sizing:border-box;width:100%}.product-form-grid .field textarea{resize:vertical;min-height:56px;padding:8px 10px;line-height:1.4}.product-form-span2{grid-column:span 2}@media (width<=720px){.product-form-grid{grid-template-columns:1fr 1fr}.product-form-span2{grid-column:1/-1}}.pick-ph-add:hover{background:#0000000d}.img-search-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;max-height:320px;padding:2px;display:grid;overflow:auto}.img-search-card{flex-direction:column;gap:4px;display:flex}.img-search-item{border:1px solid var(--line);cursor:zoom-in;aspect-ratio:1;background:#f0f2f5;border-radius:6px;padding:0;position:relative;overflow:hidden}.img-search-item:hover:not(:disabled){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.img-search-item:disabled{opacity:.7;cursor:wait}.img-search-item img{object-fit:cover;width:100%;height:100%;display:block}.img-search-zoom-hint{color:#fff;pointer-events:none;background:#0f3329bf;border-radius:4px;padding:1px 6px;font-size:11px;position:absolute;bottom:4px;right:4px}.img-search-pick{width:100%;padding:2px 6px!important;font-size:12px!important}.img-search-busy{color:#fff;background:#00000073;justify-content:center;align-items:center;font-size:12px;display:flex;position:absolute;inset:0}.img-thumb-zoom{cursor:zoom-in;background:0 0;border:0;border-radius:6px;padding:0}.img-lightbox{z-index:10000;background:#000000e6;flex-direction:column;display:flex;position:fixed;inset:0}.img-lightbox-bar{color:#fff;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.img-lightbox-title{text-overflow:ellipsis;white-space:nowrap;max-width:50%;font-size:.95rem;overflow:hidden}.img-lightbox-actions{flex-wrap:wrap;gap:6px;display:flex}.img-lightbox-actions .btn.ghost{color:#fff;border-color:#ffffff59}.img-lightbox-stage{touch-action:none;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.img-lightbox-stage img{object-fit:contain;transform-origin:50%;-webkit-user-select:none;user-select:none;max-width:min(96vw,1400px);max-height:calc(100vh - 140px);transition:transform 50ms linear}.img-lightbox-foot{flex-shrink:0;padding:10px 14px 16px}.img-lightbox-hint{text-align:center;color:#ffffffa6;margin:0;padding:8px 14px 14px;font-size:12px}.product-pick-item .pick-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;font-weight:600;line-height:1.25;display:-webkit-box;overflow:hidden}.product-pick-item .pick-meta,.product-pick-item .pick-stock{font-size:.72rem}.pick-selected{border:1px solid var(--line);background:#00000005;border-radius:8px;align-items:center;gap:12px;margin-top:10px;padding:8px 10px;display:flex}.pick-selected img,.pick-selected .pick-ph{aspect-ratio:auto;flex-shrink:0;width:56px;height:56px}.field-cards{flex-direction:column;gap:8px;display:flex}.field-card{border:1px solid var(--line);background:var(--bg,#fff);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.field-card.done{opacity:.62}.field-card.warn{border-color:#d4a017}.field-card-img{object-fit:cover;background:#f0f2f5;border-radius:8px;flex-shrink:0;width:56px;height:56px}.field-card-img.ph{color:var(--muted);justify-content:center;align-items:center;font-size:.72rem;display:flex}.field-card-main{flex-direction:column;flex:1;gap:2px;min-width:140px;display:flex}.field-m{background:var(--bg,#f4f6f8);min-height:100dvh;padding-bottom:env(safe-area-inset-bottom,0);flex-direction:column;display:flex}.field-m-head{z-index:10;padding:12px 14px;padding-top:calc(12px + env(safe-area-inset-top,0));background:var(--sidebar,#1f2a33);color:#fff;justify-content:space-between;align-items:center;gap:10px;display:flex;position:sticky;top:0}.field-m-head .muted{color:#ffffffa6}.field-m-head .btn.ghost{color:#fff;background:#ffffff1f;min-height:40px}.field-m-body{padding:12px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0));flex:1}.field-m-login{background:linear-gradient(160deg,#1f2a33,#2d4a3e);place-items:center;min-height:100vh;padding:20px;display:grid}.field-m-login-card{background:#fff;border-radius:12px;width:min(400px,100%);padding:22px 20px}.field-m-login-card h1{margin:0 0 6px;font-size:1.35rem}.field-m .label-designer{flex-direction:column;gap:10px;grid-template-columns:none!important;display:flex!important}.field-m .field-drill .field-list-panel{display:none}.field-m .field-sticky-actions{z-index:5;padding:10px 4px calc(10px + env(safe-area-inset-bottom,0));background:linear-gradient(180deg, transparent, var(--bg,#f4f6f8) 28%);margin-left:-4px;margin-right:-4px;position:sticky;bottom:0}.field-m .field-sticky-actions .btn{flex:1;min-height:48px}.field-m .field-card-img,.field-m .field-card-img.ph{width:72px;height:72px}.field-m .field-count-panel{border:2px solid var(--brand)}@media (width<=720px){.field-drill .field-list-panel{display:none}}.field-m .field-card{padding:14px}.field-m .field-card .btn,.field-m .toolbar .btn,.field-m .panel .btn{min-height:44px;padding:12px 16px;font-size:1rem}.field-m .label-layer-list button{min-height:52px;padding:12px 10px;font-size:.95rem}.field-m .subtabs .subtab,.field-m .toolbar .btn.ghost{min-height:40px}@media (width<=720px){.label-designer{flex-direction:column;grid-template-columns:none!important;display:flex!important}}.todos .todo{cursor:pointer}.todos .todo:hover{background:#0000000a}.field{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.field label{color:var(--muted);font-size:.85rem}.field input,.field select,.field textarea,.toolbar input,.toolbar select{border:1px solid var(--line);background:#fff;border-radius:6px;padding:8px 10px}.row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.row.form-one-line,.row.customer-form-one-line{flex-wrap:nowrap;align-items:flex-end;gap:8px;display:flex;overflow-x:auto}.row.form-one-line .field,.row.customer-form-one-line .field{margin-bottom:0}.row.form-one-line .field input,.row.form-one-line .field select,.row.form-one-line .field textarea,.row.customer-form-one-line .field input,.row.customer-form-one-line .field select,.row.customer-form-one-line .field textarea{width:100%;min-width:0;padding:6px 8px;font-size:.9rem}.row.form-one-line .field label,.row.customer-form-one-line .field label{white-space:nowrap;font-size:.78rem}.row.form-one-line .form-one-line-actions,.row.customer-form-one-line .customer-form-actions,.row.form-one-line .customer-form-actions{flex:none}.row.form-one-line .form-one-line-actions .toolbar,.row.customer-form-one-line .customer-form-actions .toolbar{flex-wrap:nowrap;gap:6px;margin:0}.btn{background:var(--brand);color:#fff;border:0;border-radius:6px;padding:8px 14px}.btn:hover{background:var(--brand-deep)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.ghost{color:var(--ink);background:#e8eef2}.btn.warn{background:var(--accent);color:#fff}.btn.danger{background:var(--danger);color:#fff}.count-system{color:var(--ink)}.count-system .muted,.count-system .field label,.count-system table.data th{color:#3d4d5c}.count-system .tag{color:var(--ink);font-weight:600}.count-system .tag.ok{color:#0f5c2e;background:#c8ebd4}.count-system .tag.warn{color:#6b4a00;background:#ffe08a}.count-system .btn.ghost{color:var(--ink);background:#dce4ec;border:1px solid #c5d0db}.count-system .panel,.count-system .spec-edit-box,.count-system .pick-selected,.count-system .field-count-panel{color:var(--ink);background:#fff}.count-system .spec-edit-box{background:#fffaf5;border-color:#b07040}.count-system .field input,.count-system .field select,.count-system .field textarea,.count-system .product-search-control input{color:var(--ink);background:#fff;border-color:#b8c4d0}.count-system .product-search-dropdown,.count-system .product-search-option{color:var(--ink);background:#fff}.count-system .product-search-code,.count-system .product-search-empty{color:#3d4d5c}.btn.sm{padding:5px 10px;font-size:.85rem}table.data{border-collapse:collapse;width:100%;font-size:.9rem}table.data th,table.data td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:9px 8px}table.data th{color:var(--muted);white-space:nowrap;background:#f7fafc;font-weight:600}table.data tr.row-selected td{background:#e6f3f3}.ar-layout{align-items:flex-start;gap:12px;display:flex}.ar-routes{flex:0 0 168px;max-width:168px;padding:12px!important}.ar-routes-title{color:var(--ink);margin-bottom:8px;font-size:.9rem;font-weight:600}.ar-route-item{text-align:left;cursor:pointer;width:100%;color:var(--ink);background:0 0;border:none;border-radius:6px;margin-bottom:2px;padding:7px 8px;font-size:.9rem;display:block}.ar-route-item:hover{background:#eef4f7}.ar-route-item.active{color:var(--brand-deep);background:#d8ecec;font-weight:600}.ar-main{flex:1;min-width:0}html.ganhuo-app .ar-layout{flex-direction:column}html.ganhuo-app .ar-routes{flex:none;width:100%;max-width:none}table.data.table-nowrap th,table.data.table-nowrap td{white-space:nowrap;vertical-align:middle}table.data td.col-actions{white-space:nowrap;vertical-align:middle;width:1%}.row-actions{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:4px;display:inline-flex}.row-actions .btn{white-space:nowrap;flex-shrink:0;padding:4px 8px;font-size:12px}.panel-title-row{border-bottom:1px solid var(--line);gap:4px;margin-bottom:12px;padding-bottom:0;flex-wrap:nowrap!important}.panel-tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:8px 14px;font-size:1.05rem;font-weight:600}.panel-tab:hover{color:var(--text)}.panel-tab.active{color:var(--brand);border-bottom-color:var(--brand)}.tag{white-space:nowrap;background:#e8eef2;border-radius:999px;padding:2px 8px;font-size:.78rem;display:inline-block}.tag.ok{color:var(--ok);background:#d9f0e1}.tag.warn{color:#8a6500;background:#fff1cc}.tag.muted{color:var(--muted);background:#eceff2}.tag.danger{color:var(--danger);background:#fde2e0}.err{color:var(--danger);margin:8px 0;font-size:.9rem}.ship-cover-plan{background:#fff8f6;border:1px solid #f0b4a8;border-radius:8px;margin:8px 0 4px;padding:10px 12px}.ship-cover-steps{margin:0;padding-left:1.2em}.ship-cover-steps li{margin:0 0 12px}.ship-cover-steps li:last-child{margin-bottom:0}.draft-issue-banner{color:#8a1f11;background:#fff4f2;border:1px solid #f0b4a8;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 10px;padding:10px 12px;display:flex}.draft-issue-banner-text{flex:1;min-width:200px}.draft-issue-banner-text p{margin:0 0 4px}.draft-issue-banner-text p:last-child{margin-bottom:0}tr.draft-line-issue>td{background:#fff1ee}tr.draft-line-issue>td:first-child{box-shadow:inset 3px 0 #d92d20}.draft-issue-tag{color:#fff;vertical-align:middle;background:#d92d20;border-radius:4px;margin-left:6px;padding:0 6px;font-size:11px;line-height:1.6;display:inline-block}input.input-issue{background:#fff8f6;box-shadow:0 0 0 1px #d92d2040;border-color:#d92d20!important}.okmsg{color:var(--ok);margin:8px 0;font-size:.9rem}.todos{gap:8px;display:grid}.todo{border:1px solid var(--line);background:#fafcfd;border-radius:6px;justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.muted{color:var(--muted)}@media (width<=860px){.shell{grid-template-columns:1fr;min-height:100dvh}.side{z-index:20;background:var(--panel,#fff);border-bottom:1px solid var(--line,#e2e8ee);flex-flow:wrap;align-items:center;gap:6px;padding:10px 12px;position:sticky;top:0}.brand{border:0;width:100%;margin:0;padding-bottom:4px}.brand strong{font-size:1rem}.brand span{display:none}.side .nav-btn{white-space:nowrap;flex:none;padding:8px 12px;font-size:.9rem}.side-foot{border:0;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding-top:4px;display:flex}.side-foot>div{flex:auto;min-width:0}.main{padding:12px}.page-head h2{font-size:1.15rem}.subtabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto}.subtab{white-space:nowrap;flex:none}.label-designer{grid-template-columns:1fr}}html.ganhuo-app .shell{padding-bottom:env(safe-area-inset-bottom,0);grid-template-columns:1fr}html.ganhuo-app .side,html.ganhuo-app .page-head{display:none!important}html.ganhuo-app .main{padding:10px 12px 16px}html.ganhuo-app .row.form-one-line,html.ganhuo-app .row.customer-form-one-line{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex;overflow:visible}html.ganhuo-app .row.form-one-line>.field,html.ganhuo-app .row.customer-form-one-line>.field,html.ganhuo-app .row.form-one-line>div:not(.form-one-line-actions):not(.customer-form-actions),html.ganhuo-app .row.customer-form-one-line>div:not(.form-one-line-actions):not(.customer-form-actions){margin-bottom:0;flex:calc(50% - 6px)!important;min-width:0!important;max-width:100%!important}html.ganhuo-app .row.form-one-line>.form-one-line-actions,html.ganhuo-app .row.customer-form-one-line>.customer-form-actions,html.ganhuo-app .row.form-one-line>.customer-form-actions,html.ganhuo-app .row.customer-form-one-line>.form-one-line-actions{flex:100%!important;max-width:100%!important}html.ganhuo-app .row.form-one-line .form-one-line-actions .toolbar,html.ganhuo-app .row.customer-form-one-line .customer-form-actions .toolbar{flex-wrap:wrap;width:100%}html.ganhuo-app .row.form-one-line .form-one-line-actions .btn,html.ganhuo-app .row.customer-form-one-line .customer-form-actions .btn{flex:auto;min-height:40px}html.ganhuo-app .field input,html.ganhuo-app .field select,html.ganhuo-app .field textarea,html.ganhuo-app .toolbar input,html.ganhuo-app .toolbar select,html.ganhuo-app .product-search-control input{box-sizing:border-box;width:100%;max-width:100%;min-height:40px;padding:8px 10px;font-size:16px}html.ganhuo-app .toolbar{gap:8px}html.ganhuo-app .toolbar>input,html.ganhuo-app .toolbar>select{flex:140px;min-width:0;max-width:100%}html.ganhuo-app .toolbar>input[type=search],html.ganhuo-app .toolbar>input:not([type]),html.ganhuo-app .toolbar>input[type=text]{flex:100%}html.ganhuo-app .product-form-grid{grid-template-columns:1fr 1fr;gap:10px}html.ganhuo-app .product-form-span2{grid-column:1/-1}html.ganhuo-app .row:not(.form-one-line):not(.customer-form-one-line){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html.ganhuo-app .subtabs{gap:4px;margin-bottom:10px}html.ganhuo-app .subtab{padding:8px 10px;font-size:.9rem}html.ganhuo-app table.data{border-collapse:separate;border-spacing:0}html.ganhuo-app table.data thead{display:none}html.ganhuo-app table.data,html.ganhuo-app table.data tbody{width:100%;display:block}html.ganhuo-app table.data tbody tr{background:var(--panel,#fff);border:1px solid var(--line);border-radius:10px;margin-bottom:10px;padding:4px 12px 8px;display:block;box-shadow:0 1px 3px #0000000d}html.ganhuo-app table.data tbody td{vertical-align:top;border:0;border-bottom:1px solid #eef2f5;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 0;display:flex;white-space:normal!important;max-width:none!important;text-overflow:unset!important;width:auto!important;overflow:visible!important}html.ganhuo-app table.data tbody td:last-child{border-bottom:0}html.ganhuo-app table.data tbody td:before{content:attr(data-label);max-width:38%;color:var(--muted);flex:0 0 30%;padding-top:2px;font-size:.78rem;font-weight:600;line-height:1.35}html.ganhuo-app table.data tbody td:not([data-label]):before,html.ganhuo-app table.data tbody td[data-label=""]:before{content:none;display:none}html.ganhuo-app table.data tbody td>*{min-width:0;max-width:100%}html.ganhuo-app table.data tbody td.col-actions{flex-wrap:wrap}html.ganhuo-app table.data tbody td:has(.row-actions){flex-wrap:wrap}html.ganhuo-app table.data tbody td:has(.btn){flex-wrap:wrap}html.ganhuo-app table.data tbody td.col-actions:before{flex:100%;max-width:100%;margin-bottom:2px}html.ganhuo-app table.data tbody td:has(.row-actions):before{flex:100%;max-width:100%;margin-bottom:2px}html.ganhuo-app table.data .row-actions{white-space:normal;flex-wrap:wrap;gap:6px;width:100%;display:flex}html.ganhuo-app table.data .row-actions .btn{flex:auto;min-height:36px}html.ganhuo-app .panel,html.ganhuo-app .table-wrap,html.ganhuo-app .table-scroll{max-width:100%;overflow-x:visible}html.ganhuo-app .cards{grid-template-columns:1fr 1fr;gap:8px}html.ganhuo-app .card .value{word-break:break-all;font-size:1.15rem}html.ganhuo-app .label-designer{grid-template-columns:1fr!important}html.ganhuo-app .modal-card,html.ganhuo-app .modal-card.modal-wide,html.ganhuo-app .modal-card.modal-xl{max-height:calc(100dvh - 24px);margin:10px auto;overflow:auto;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}html.ganhuo-app .pick-line-img,html.ganhuo-app img{max-width:100%;height:auto}html.ganhuo-app pre,html.ganhuo-app code{white-space:pre-wrap;word-break:break-word;max-width:100%}.cust-card-list{flex-direction:column;gap:10px;display:flex}.cust-card{background:var(--panel,#fff);border:1px solid var(--line);border-radius:10px;padding:12px 14px;box-shadow:0 1px 3px #0000000d}.cust-card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.cust-card-name{font-size:1.05rem;line-height:1.3}.cust-card-meta{color:var(--muted);margin-top:6px;font-size:.9rem}.cust-card-addr{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:.88rem;line-height:1.35;display:-webkit-box;overflow:hidden}.cust-card-bal{color:var(--brand);margin-top:8px;font-size:.92rem;font-weight:600}.cust-card-actions{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.cust-card-actions .btn{flex:auto;min-height:36px}.customer-form-stack{flex-direction:column;gap:10px;display:flex}.customer-form-stack .field{margin-bottom:0}.customer-form-stack .field input,.customer-form-stack .field select{box-sizing:border-box;width:100%;min-height:40px;font-size:16px}html.ganhuo-app .customer-create-modal{width:calc(100vw - 20px)!important;max-width:420px!important}.label-designer{grid-template-columns:200px minmax(280px,1fr) 240px;align-items:start;gap:12px;margin-bottom:14px;display:grid}.label-tools h3,.label-canvas-wrap h3,.label-props h3{margin-top:0}.label-layer-list{max-height:280px;margin:0;padding:0;list-style:none;overflow:auto}.label-layer-list li button{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:4px;padding:6px 8px;font-size:.85rem}.label-layer-list li button:hover,.label-layer-list li button.active{background:#e8f2f2}.label-canvas-stage{background:#e4e9ee;border-radius:6px;min-height:220px;padding:12px;overflow:auto}.label-canvas-stage--wysiwyg{background:#cfd6dd}.label-canvas{touch-action:none;-webkit-user-select:none;user-select:none;background-color:#fff;background-image:linear-gradient(#e8eef2 1px,#0000 1px),linear-gradient(90deg,#e8eef2 1px,#0000 1px);margin:0 auto;position:relative;box-shadow:0 2px 12px #0000001f}.label-canvas--wysiwyg{background-image:none;box-shadow:0 1px #bbb,0 4px 18px #0000002e}.label-el{white-space:pre-wrap;word-break:break-all;cursor:move;box-sizing:border-box;border:1px dashed #0000;line-height:1.15;position:absolute;overflow:hidden}.label-el--wysiwyg{border-color:#0000!important}.label-el.selected{border-color:var(--brand);outline:1px solid #0d6e6e59}.label-el--wysiwyg.selected{outline-offset:1px;outline:1px solid #0d6e6e8c;border-color:#0000!important}.label-el.locked{cursor:default;opacity:.92}.label-el-handle{background:var(--brand);cursor:nwse-resize;border-radius:2px;width:10px;height:10px;position:absolute;bottom:-4px;right:-4px}.label-el-line{width:100%;height:2px;margin-top:0}.label-el-barcode{pointer-events:none;width:100%;height:100%}.label-el-barcode svg{width:100%;height:100%;display:block}.label-el-qr{text-align:center;border:1px solid #333;justify-content:center;align-items:center;width:100%;height:100%;padding:2px;font-size:9px;display:flex}.label-props-form{flex-direction:column;gap:8px;display:flex}.label-props-form label{color:var(--muted);flex-direction:column;gap:3px;font-size:.82rem;display:flex}.label-props-form input,.label-props-form select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:6px;padding:6px 8px}@media (width<=1100px){.label-designer{grid-template-columns:1fr}}.trend-bars{flex-direction:column;gap:6px;display:flex}.trend-row{grid-template-columns:48px 1fr 72px;align-items:center;gap:8px;font-size:.85rem;display:grid}.trend-day{color:var(--muted)}.trend-track{background:#eef2f5;border-radius:4px;height:18px;position:relative;overflow:hidden}.trend-bar{border-radius:4px;min-width:2px;height:100%;position:absolute;left:0}.trend-bar.rev{background:#0d6e6e59}.trend-bar.gp{background:var(--brand);height:8px;top:5px}.trend-num{text-align:right;font-variant-numeric:tabular-nums}.modal-backdrop{z-index:1000;background:#12263a73;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:var(--panel);border-radius:10px;width:min(720px,100%);max-height:min(86vh,900px);padding:16px 18px 18px;overflow:auto;box-shadow:0 16px 48px #00000038}.modal-card.modal-wide{width:min(920px,100%)}.modal-card.modal-xl{width:min(1100px,100%)}.pc-feature-modal{justify-content:center;align-items:stretch;padding:20px 24px}.pc-feature-modal-card{flex-direction:column;width:min(1180px,100%);max-height:min(92vh,960px);padding:14px 16px 16px;display:flex}.pc-feature-modal-body{flex:1;min-height:0;padding-right:4px;overflow:auto}.modal-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.modal-head h3{margin:0;font-size:1.05rem}.modal-close{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:2px 8px;font-size:1.4rem;line-height:1}.modal-close:hover{color:var(--ink);background:#0000000f}html.label-scan-root,html.label-scan-root body,html.label-scan-root #root{background:#eef3f1}.label-scan.label-scan-slip{max-width:720px}.label-scan-table-wrap{overflow-x:auto}.label-scan-table{border-collapse:collapse;width:100%;font-size:.88rem}.label-scan-table th,.label-scan-table td{text-align:left;vertical-align:top;border-bottom:1px solid #eef2f0;padding:6px 4px}.label-scan-table th{color:#6b7c74;font-weight:600}.label-scan-total{margin:10px 0 0;font-weight:700}.label-scan-dl{color:#fff;background:#1b4d3e;border-radius:8px;margin-top:8px;padding:8px 12px;font-size:.92rem;text-decoration:none;display:inline-block}.label-scan{box-sizing:border-box;max-width:520px;min-height:100vh;margin:0 auto;padding:16px 14px 40px}.label-scan-head{color:#fff;background:linear-gradient(145deg,#1b4d3e,#0f3329);border-radius:14px;margin-bottom:14px;padding:18px 16px}.label-scan-brand{opacity:.85;letter-spacing:.08em;font-size:.85rem}.label-scan-mark{word-break:break-all;margin-top:6px;font-size:2rem;font-weight:700;line-height:1.15}.label-scan-status{background:#ffffff29;border-radius:999px;margin-top:8px;padding:4px 10px;font-size:.85rem;display:inline-block}.label-scan-card{background:#fff;border-radius:12px;margin-bottom:12px;padding:14px 14px 10px;box-shadow:0 1px #0f33290f}.label-scan-card h2{color:#1b4d3e;margin:0 0 10px;font-size:.95rem}.label-scan-card dl{margin:0}.label-scan-card dl>div{border-top:1px solid #eef2f0;grid-template-columns:5.5em 1fr;gap:6px 10px;padding:7px 0;font-size:.95rem;display:grid}.label-scan-card dt{color:#6b7c74;margin:0}.label-scan-card dd{word-break:break-word;margin:0}.label-scan-card a{color:#0d6e6e}.label-scan-muted{color:#6b7c74;margin:4px 0 10px;font-size:.92rem}.label-scan-err{color:#b42318;background:#fff;border-radius:10px;padding:14px}.label-scan-photos{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px;display:grid}.label-scan-photo{aspect-ratio:1;cursor:zoom-in;background:#f3f6f5;border:0;border-radius:10px;padding:0;position:relative;overflow:hidden}.label-scan-photo img{object-fit:cover;width:100%;height:100%;display:block}.label-scan-photo-tag{z-index:1;color:#fff;background:#0f3329d1;border-radius:6px;padding:2px 8px;font-size:.78rem;font-weight:700;position:absolute;top:6px;left:6px}.label-scan-lightbox{z-index:9999;background:#000000e0;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}.label-scan-lightbox img{object-fit:contain;max-width:100%;max-height:100%}html.ganhuo-app .pos-page{flex-direction:column;gap:12px;padding-bottom:96px;display:flex}html.ganhuo-app .pos-head{padding:4px 2px 0}html.ganhuo-app .pos-title{color:#0f3329;font-size:1.25rem;font-weight:700}html.ganhuo-app .pos-sub{color:#667;margin-top:2px;font-size:.85rem}html.ganhuo-app .pos-add.panel{margin:0;padding:10px 12px}html.ganhuo-app .pos-cart{flex-direction:column;gap:10px;display:flex}html.ganhuo-app .pos-empty{text-align:center;padding:28px 12px}html.ganhuo-app .pos-line.panel{margin:0;padding:12px}html.ganhuo-app .pos-line-top{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}html.ganhuo-app .pos-line-name{flex-direction:column;gap:2px;min-width:0;display:flex}html.ganhuo-app .pos-del{flex:none;min-height:36px;padding:4px 10px}html.ganhuo-app .pos-line-grid{grid-template-columns:1fr 1fr;gap:8px 10px;display:grid}html.ganhuo-app .pos-line-grid .pos-batch{grid-column:1/-1}html.ganhuo-app .pos-qty{align-items:center;gap:4px;display:flex}html.ganhuo-app .pos-qty input{text-align:center;flex:1;min-width:0}html.ganhuo-app .pos-qty .btn{flex:0 0 40px;min-height:40px;padding:0;font-size:1.2rem}html.ganhuo-app .pos-line-amt{text-align:right;margin-top:8px;font-size:.95rem}html.ganhuo-app .pos-paybar{z-index:20;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0));background:#fffffff5;border-top:1px solid #e5ebe8;flex-direction:column;gap:8px;margin:0 -12px -16px;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 16px #0f332914}html.ganhuo-app .pos-pay-methods{flex-wrap:wrap;gap:6px;display:flex}html.ganhuo-app .pos-pay-methods .btn{flex:auto;min-height:36px;padding:6px 8px;font-size:.9rem}html.ganhuo-app .pos-pay-row{align-items:center;gap:10px;display:flex}html.ganhuo-app .pos-total{flex:1;font-size:1.05rem}html.ganhuo-app .pos-total strong{color:#0f3329;font-size:1.35rem}html.ganhuo-app .pos-checkout{flex:none;min-width:120px;min-height:48px;font-size:1.05rem;font-weight:700}
