/* ============================================================
   黑左AI智选 v3.0.0 客户端界面演示（官网首屏）
   1:1 还原桌面端（Vue3 + Element Plus 浅色主题）的外壳与八个页签，
   全部由 hz-demo.js 生成并驱动，数据为本地模拟。
   演示窗按真实画布 1360×860 布局，再整体 transform 缩放到容器宽度，
   所以下面的 px 值都直接取自桌面端源码（design-tune.css / 各组件 scoped 样式）。
   命名全部 .hz- 前缀；流水线板沿用桌面端的 .pl- 前缀（页面别处没有 .pl-）。
   ============================================================ */

.hz-stage { position: relative; max-width: 1120px; margin: 0 auto; }
.hz-stage::before {
    content: ''; position: absolute; inset: 40px -3% -30px; z-index: 0;
    background: radial-gradient(60% 70% at 30% 40%, rgba(99, 102, 241, 0.16), transparent 70%), radial-gradient(60% 70% at 75% 55%, rgba(139, 92, 246, 0.14), transparent 70%);
    filter: blur(30px);
}
.hz-viewport { position: relative; z-index: 1; width: 100%; overflow: hidden; border-radius: 14px; box-shadow: 0 1px 2px rgba(42,41,55,.06), 0 30px 80px -30px rgba(42,41,55,.35), 0 0 0 1px rgba(42,41,55,.06); background: #fff; }
.hz-win {
    --hz-w: 1360px; --hz-h: 900px;
    --design-bg: #fbfcfd; --design-indigo: #4f46e5;
    --ink: #16203a; --ink-soft: #4d5b7a; --muted: #8590ad;
    --line: rgba(111, 126, 189, 0.18); --line-strong: rgba(112, 125, 255, 0.26);
    --primary: #6777ff; --primary-hover: #5565ed; --primary-soft: rgba(103, 119, 255, 0.13); --primary-glow: rgba(103, 119, 255, 0.28);
    --success: #36c690; --warning: #f5a524; --danger: #ff6b86;
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
    --pl-mono: "JetBrains Mono", "Cascadia Code", Consolas, Menlo, monospace;
    position: relative; width: var(--hz-w); height: var(--hz-h); transform-origin: 0 0;
    display: grid; grid-template-rows: 46px minmax(0, 1fr); overflow: hidden; isolation: isolate;
    font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--design-bg);
    -webkit-font-smoothing: antialiased; text-align: left; user-select: none;
}
.hz-win *, .hz-win *::before, .hz-win *::after { box-sizing: border-box; }
/* 隔离官网全局样式：首屏的 .hero h1 / 全局 button、a、p 都会打进来，这里统一压平 */
#hz-app .hz-win h1, #hz-app .hz-win h2, #hz-app .hz-win h3, #hz-app .hz-win h4, #hz-app .hz-win h5, #hz-app .hz-win p, #hz-app .hz-win dl, #hz-app .hz-win dd { margin: 0; padding: 0; font-family: inherit; line-height: 1.3; letter-spacing: 0; text-align: left; text-shadow: none; background: none; -webkit-text-fill-color: currentColor; }
#hz-app .hz-win h1.hz-title { font-size: 22px; font-weight: 900; color: #1e293b; line-height: 1.2; }
#hz-app .hz-win button { font-family: inherit; line-height: normal; text-transform: none; letter-spacing: 0; }
#hz-app .hz-win a { color: inherit; text-decoration: none; }
#hz-app .hz-win img { max-width: none; }
.hz-win svg { display: block; }
.hz-caption { text-align: center; font-size: 13px; color: var(--muted, #9a99ac); margin-top: 26px; }
.hz-caption b { color: var(--ink-2, #55536b); }

/* ---------- 标题栏 ---------- */
.hz-titlebar { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 0 0 20px; border-bottom: 1px solid #e5e7eb; background: #fff; }
.hz-brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.hz-brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.hz-brand strong { color: #1e293b; font-size: 18px; font-weight: 800; line-height: 1; }
.hz-version { display: inline-flex; align-items: center; gap: 5px; min-height: 20px; padding: 0 8px; margin-left: 12px; border-radius: 6px; color: #94a3b8; background: #f1f5f9; font-size: 12px; font-weight: 700; line-height: 1; }
.hz-version svg { width: 13px; height: 13px; opacity: .55; fill: currentColor; }
.hz-drag { flex: 1 1 auto; }
.hz-license { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; height: 32px; min-width: 176px; padding: 0 14px; border-radius: 999px; overflow: hidden; font-size: 13.6px; font-weight: 700; line-height: 1; white-space: nowrap;
    background: linear-gradient(135deg, #fff5f2, #f9d9cf 55%, #edb49f); color: #8a4634; border: 1px solid #d99a80; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 4px rgba(180,90,60,.3); }
.hz-license::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.7) 50%, transparent 62%); transform: translateX(-120%); animation: hz-sheen 5s ease-in-out infinite; pointer-events: none; }
@keyframes hz-sheen { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.hz-license svg { width: 14px; height: 14px; fill: currentColor; }
.hz-license-days { position: relative; padding-left: 9px; font-weight: 600; font-size: 12.2px; opacity: .8; }
.hz-license-days::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12.5px; transform: translateY(-50%); background: currentColor; opacity: .32; }
.hz-winctl { display: inline-flex; align-self: stretch; }
.hz-winctl button { width: 44px; height: 100%; display: inline-flex; align-items: center; justify-content: center; border: 0; color: #94a3b8; background: transparent; cursor: pointer; transition: color .16s, background .16s; }
.hz-winctl button svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.hz-winctl button:hover { color: #475569; background: #f1f5f9; }
.hz-winctl button.is-close:hover { color: #fff; background: #ef4444; }

/* ---------- 侧栏 + 主区 ---------- */
.hz-body { display: grid; grid-template-columns: 82px minmax(0, 1fr); min-height: 0; overflow: hidden; background: var(--design-bg); }
.hz-sidebar { position: relative; z-index: 20; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.65); box-shadow: 0 8px 32px rgba(31,38,135,.05); }
.hz-account { display: flex; align-items: center; justify-content: center; height: 78px; flex: none; }
.hz-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.05); overflow: hidden; }
.hz-avatar img { width: 36px; height: 36px; border-radius: 12px; object-fit: contain; display: block; }
.hz-nav { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; min-height: 0; padding: 10px 8px; overflow: hidden; }
.hz-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 62px; padding: 4px; border: 1px solid transparent; border-radius: 17px; color: #68728f; background: transparent; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: color .18s, background .18s, box-shadow .18s; }
.hz-nav-item:hover { color: #4f46e5; background: rgba(255,255,255,.8); }
.hz-nav-item.is-active { color: #4f46e5; background: rgba(255,255,255,.8); box-shadow: 0 4px 12px rgba(0,0,0,.03); }
.hz-nav-icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; color: #6f7f94; }
.hz-nav-icon svg { width: 22px; height: 22px; fill: currentColor; overflow: visible; }
.hz-nav-icon .cut { fill: #fff; }
.hz-nav-item.is-active .hz-nav-icon { color: #4f46e5; }
.hz-nav-item[data-view="compute"] { font-size: 11.2px; letter-spacing: -.3px; }
.hz-side-links { margin-top: auto; display: grid; gap: 4px; padding: 6px 8px 8px; border-top: 1px solid var(--line); }
.hz-side-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 4px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .15s, background .15s; }
.hz-side-links a:hover { color: var(--primary); background: var(--primary-soft); }
.hz-side-links svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hz-main { display: grid; grid-template-rows: 64px minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; overflow: hidden; background: linear-gradient(180deg, #fbfcfd 0%, #fff 100%); }
.hz-topbar { position: relative; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 24px 0 32px; border-bottom: 1px solid rgba(226,232,240,.72); background: rgba(15,23,42,.03); }
.hz-topbar-main { display: flex; align-items: center; gap: 12px; flex: none; }
.hz-title { margin: 0; color: #1e293b; font-size: 22px; font-weight: 900; line-height: 1.2; white-space: nowrap; }
.hz-task { display: flex; align-items: center; gap: 10px; }
.hz-task-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 16px; border: 1px solid transparent; font-size: 13.5px; font-weight: 700; letter-spacing: .2px; cursor: pointer; transition: transform .12s, box-shadow .18s, background .18s, border-color .18s, color .18s; }
.hz-task-btn svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
.hz-task-btn--primary { color: #fff; background: linear-gradient(120deg, #6b6ef3 0%, #8b5cf6 100%); box-shadow: 0 10px 22px -12px rgba(99,102,241,.8); }
.hz-task-btn--primary:hover:not(:disabled) { box-shadow: 0 14px 28px -12px rgba(99,102,241,.9); transform: translateY(-1px); }
.hz-task-btn--primary:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.hz-task-btn--stop { background: rgba(255,255,255,.72); border-color: #f6dfe4; color: #e0466a; }
.hz-task-btn--stop:hover:not(:disabled) { background: #fff5f7; border-color: #f3c9d3; }
.hz-task-btn--stop:disabled { cursor: not-allowed; color: #c7c6d4; border-color: #eeeef5; background: #fafaff; }
.hz-spin { width: 13px; height: 13px; border-radius: 50%; flex: none; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: hz-rot .7s linear infinite; }
@keyframes hz-rot { to { transform: rotate(360deg); } }
.hz-model { display: flex; align-items: center; gap: 8px; }
.hz-model-seg { display: inline-flex; gap: 2px; height: 40px; padding: 3px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid #e4e6f2; }
.hz-model-btn { display: inline-flex; align-items: center; height: 100%; padding: 0 11px; border: 0; border-radius: 13px; background: transparent; color: #5b6478; font-size: 13px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.hz-model-btn:hover:not(.is-on):not(:disabled) { background: #f3f4fb; color: #1e293b; }
.hz-model-btn.is-on { color: #fff; background: linear-gradient(120deg, #6b6ef3 0%, #8b5cf6 100%); box-shadow: 0 6px 14px -8px rgba(99,102,241,.8); }
.hz-think { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 11px 0 8px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid #e4e6f2; color: #5b6478; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.hz-think.is-on { color: #4f46e5; border-color: #d6d0f7; background: #f3f1fe; }
.hz-knob { position: relative; flex: none; width: 30px; height: 18px; border-radius: 999px; background: #d6d9e6; transition: background .15s; }
.hz-knob::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(21,26,45,.2); transition: transform .15s; }
.hz-think.is-on .hz-knob { background: #6b6ef3; }
.hz-think.is-on .hz-knob::after { transform: translateX(12px); }
.hz-model.is-locked .hz-model-btn, .hz-model.is-locked .hz-think { cursor: not-allowed; opacity: .55; }
.hz-topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; flex: 1 1 auto; }
.hz-wallet { min-height: 44px; display: inline-flex; align-items: stretch; border: 1px solid rgba(226,232,240,.9); border-radius: 16px; background: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; }
.hz-wseg { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; cursor: pointer; transition: background .15s; }
.hz-wseg:hover { background: rgba(107,110,243,.08); }
.hz-wdiv { width: 1px; flex: none; margin: 8px 0; background: rgba(226,232,240,.9); }
.hz-wicon { display: inline-flex; width: 16px; height: 16px; color: var(--design-indigo); }
.hz-wicon svg { width: 16px; height: 16px; fill: currentColor; }
.hz-wcopy { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; }
.hz-wcopy .lab { color: #64748b; margin-right: 4px; }
.hz-wcopy strong { color: #2563eb; font-weight: 800; }
.hz-wcopy--stack { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.25; }
.hz-wcopy--stack .lab { font-size: 12.5px; }
.hz-whint { display: inline-flex; align-items: center; justify-content: center; width: 17.6px; height: 17.6px; margin-left: 4px; border-radius: 999px; background: rgba(107,110,243,.12); color: var(--design-indigo); font-size: 11px; font-weight: 900; }
.hz-quota-bar { display: block; width: 44px; height: 4px; margin-top: 2px; border-radius: 2px; background: #e9ebf3; overflow: hidden; }
.hz-quota-bar i { display: block; height: 100%; background: var(--design-indigo); border-radius: 2px; }
.hz-refresh { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(103,119,255,.08); color: var(--primary); cursor: pointer; }
.hz-refresh svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hz-refresh.is-busy svg { animation: hz-rot .8s linear infinite; }
.hz-rate { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 10px; border-radius: 16px; border: 1px solid rgba(226,232,240,.9); background: rgba(255,255,255,.72); white-space: nowrap; }
.hz-rate-ico { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-weight: 800; font-size: 13px; }
.hz-rate .lab { color: #1e293b; font-weight: 800; font-size: 13.5px; }
.hz-rate b { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: #1e293b; }
.hz-rate .date { color: #94a3b8; font-size: 12.5px; }
.hz-rate-lock { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e4e6f2; border-radius: 8px; background: #fff; color: #94a3b8; cursor: pointer; }
.hz-rate-lock svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hz-rate-lock.is-locked { color: #4f46e5; border-color: #d6d0f7; background: #f3f1fe; }
.hz-runtime { display: grid; gap: 2px; min-width: 84px; padding: 0 4px; text-align: right; }
.hz-runtime span { font-size: 11px; font-weight: 800; color: #94a3b8; white-space: nowrap; }
.hz-runtime strong { font-family: var(--font-mono); font-size: 18px; font-weight: 850; line-height: 1.15; background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hz-pill { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 24px; padding: 0 10px; border-radius: 999px; color: #047857; background: #ecfdf5; font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap; }
.hz-pill.is-run { color: #047857; background: #ecfdf5; }

/* ---------- 页面容器 ---------- */
.hz-work { position: relative; min-height: 0; overflow: hidden; }
.hz-page { position: absolute; inset: 0; display: none; flex-direction: column; gap: 12px; padding: 24px 32px 28px; overflow: hidden; }
.hz-page.is-on { display: flex; }
.hz-page.is-scroll { overflow-y: auto; }
.hz-page::-webkit-scrollbar { width: 8px; }
.hz-page::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 4px; }
.hz-scroll { overflow-y: auto; min-height: 0; }
.hz-scroll::-webkit-scrollbar { width: 8px; }
.hz-scroll::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 4px; }

/* ---------- 通用控件（仿 Element Plus） ---------- */
.hz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 14px; border: 1px solid #dcdfe6; background: #fff; color: #334155; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.hz-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hz-btn:hover:not(:disabled) { color: var(--primary); border-color: var(--primary-border, rgba(103,119,255,.4)); background: #f5f6ff; }
.hz-btn:disabled { cursor: not-allowed; opacity: .55; }
.hz-btn--primary { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 8px 18px -10px rgba(103,119,255,.8); }
.hz-btn--primary:hover:not(:disabled) { color: #fff; background: var(--primary-hover); border-color: var(--primary-hover); }
.hz-btn--primary:disabled { opacity: 1; background: #b9c1ff; border-color: #b9c1ff; box-shadow: none; }
.hz-btn--soft { color: var(--primary); background: #f0f2ff; border-color: transparent; }
.hz-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.hz-btn--xs { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.hz-btn--text { border-color: transparent; background: transparent; color: #475569; }
.hz-btn--text:hover:not(:disabled) { background: #f1f3fb; }
.hz-btn--danger { color: #e0466a; border-color: #f6dfe4; background: #fff; }
.hz-btn .hz-spin { border-color: rgba(103,119,255,.3); border-top-color: var(--primary); }
.hz-btn--primary .hz-spin { border-color: rgba(255,255,255,.45); border-top-color: #fff; }

.hz-sw { position: relative; display: inline-block; width: 40px; height: 20px; border-radius: 999px; background: #dcdfe6; cursor: pointer; transition: background .2s; flex: none; }
.hz-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.hz-sw.on { background: var(--primary); }
.hz-sw.on::after { transform: translateX(20px); }
.hz-cb { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid #c9cfe0; border-radius: 4px; background: #fff; cursor: pointer; flex: none; transition: background .15s, border-color .15s; }
.hz-cb::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.hz-cb.on { background: var(--primary); border-color: var(--primary); }
.hz-cb.on::after { opacity: 1; }
.hz-cb.is-round { border-radius: 50%; }
.hz-cb.is-half::after { width: 8px; height: 2px; border: 0; background: #fff; transform: none; opacity: 1; }
.hz-cb.is-half { background: var(--primary); border-color: var(--primary); }
.hz-tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.hz-tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hz-tag--ok { background: #e8f7ef; color: #1b8a5a; }
.hz-tag--gray { background: #f1f3f8; color: #64748b; }
.hz-tag--warn { background: #fff4e3; color: #b96e05; }
.hz-tag--bad { background: #fdeeee; color: #c53a40; }
.hz-tag--info { background: #eef2ff; color: #4f46e5; }
.hz-tag--blue { background: #e8f0ff; color: #2563eb; }
.hz-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.hz-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.hz-num { display: inline-flex; align-items: stretch; height: 36px; border: 1px solid #dcdfe6; border-radius: 12px; background: #fff; overflow: hidden; }
.hz-num button { width: 40px; border: 0; background: #f5f7fa; color: #64748b; font-size: 18px; cursor: pointer; }
.hz-num button:hover { color: var(--primary); }
.hz-num b { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: var(--ink); }
.hz-num b small { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: #94a3b8; }
.hz-num--v { flex-direction: row; }
.hz-num--v .spin { display: flex; flex-direction: column; width: 36px; border-left: 1px solid #ebeef5; }
.hz-num--v .spin button { flex: 1; width: 100%; font-size: 10px; background: #fff; }
.hz-num--v .spin button:first-child { border-bottom: 1px solid #ebeef5; }
.hz-num--v .spin button svg { width: 12px; height: 12px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hz-select { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 12px 0 14px; border: 1px solid #dcdfe6; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.hz-select svg { width: 14px; height: 14px; fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hz-select .ph { color: #a8b0c8; font-weight: 500; }
.hz-input { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid #dcdfe6; border-radius: 12px; background: #fff; font-size: 14px; color: var(--ink); }
.hz-input .ph { color: #a8b0c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hz-input { min-width: 0; overflow: hidden; }
.hz-input svg { width: 15px; height: 15px; fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; flex: none; }
.hz-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #f1f3f8; }
.hz-seg button { flex: 1; height: 36px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: #475569; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.hz-seg button.on { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -8px rgba(103,119,255,.9); }
.hz-seg--plain { background: transparent; padding: 0; gap: 6px; }
.hz-seg--plain button { height: 32px; border: 1.5px solid #e4e6f2; background: #fff; }
.hz-seg--plain button.on { border-color: var(--primary); }
.hz-seg--pill { gap: 8px; }
.hz-seg--pill button { flex: 1 1 auto; height: 40px; padding: 0 10px; min-width: 0; white-space: nowrap; border-radius: 12px; background: #fff; border: 1.5px solid #e4e6f2; font-size: 13.5px; }
.hz-seg--pill button.on { background: var(--primary); border-color: var(--primary); }

/* 轻提示 / 气泡 / 弹窗 / 抽屉 */
.hz-toasts { position: absolute; top: 60px; left: 0; right: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.hz-toast { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; background: #eef7f0; color: #1b8a5a; border: 1px solid #cdebd6; box-shadow: 0 10px 30px -10px rgba(21,26,45,.25); animation: hz-toast-in .25s ease-out; }
.hz-toast.is-out { animation: hz-toast-out .25s ease-in forwards; }
.hz-toast--warn { background: #fdf6ec; color: #b96e05; border-color: #f5dcb3; }
.hz-toast--err { background: #fef0f0; color: #c53a40; border-color: #fbc4c4; }
.hz-toast--info { background: #f4f4f5; color: #475569; border-color: #e5e7eb; }
.hz-toast svg { width: 15px; height: 15px; fill: currentColor; }
@keyframes hz-toast-in { from { opacity: 0; transform: translateY(-16px); } }
@keyframes hz-toast-out { to { opacity: 0; transform: translateY(-16px); } }
.hz-tip { position: absolute; z-index: 3100; max-width: 260px; padding: 7px 11px; border-radius: 8px; background: #303133; color: #fff; font-size: 12.5px; line-height: 1.5; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.hz-tip.show { opacity: 1; transform: none; }
.hz-mask { position: absolute; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.45); }
.hz-mask.is-open { display: flex; }
.hz-dialog { width: 468px; max-width: calc(100% - 48px); background: #fff; border-radius: 18px; box-shadow: 0 30px 90px rgba(83,99,181,.22); animation: hz-dlg-in .22s ease-out; }
@keyframes hz-dlg-in { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.hz-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 8px; }
.hz-dialog-head h4 { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.hz-dialog-close { width: 28px; height: 28px; border: 0; background: transparent; color: #94a3b8; cursor: pointer; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.hz-dialog-close:hover { background: #f1f3fb; color: #334155; }
.hz-dialog-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.hz-dialog-body { padding: 4px 24px 0; }
.hz-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px 20px; }
.hz-dialog-foot .note { font-size: 11.5px; color: var(--muted); }
.hz-dialog-foot .btns { display: flex; gap: 10px; }
.hz-drawer-mask { position: absolute; inset: 0; z-index: 1500; background: rgba(15,23,42,.18); opacity: 0; pointer-events: none; transition: opacity .25s; }
.hz-drawer-mask.is-open { opacity: 1; pointer-events: auto; }
.hz-drawer { position: absolute; top: 46px; right: 0; bottom: 0; z-index: 1600; width: 560px; background: #fff; box-shadow: -20px 0 60px rgba(21,26,45,.12); transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.hz-drawer.is-open { transform: none; }

/* ---------- 空态 ---------- */
.hz-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 20px; text-align: center; }
.hz-empty-ico { width: 72px; height: 72px; border-radius: 22px; background: #eef0ff; color: var(--primary); display: grid; place-items: center; }
.hz-empty-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hz-empty p { margin: 0; font-size: 15px; color: #64748b; }
.hz-empty small { font-size: 13px; color: #94a3b8; }
.hz-empty small b { color: var(--primary); font-weight: 700; }

/* ============================================================
   运行状态 · 选品流水线板（.pl- 直接取自桌面端组件 scoped 样式）
   ============================================================ */
.hz-page--status { gap: 12px; }
.pl-board { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 14px; background: #fff; border: 1px solid #E6E9F0; border-radius: 18px; box-shadow: 0 1px 2px rgba(21,26,45,.04), 0 8px 24px rgba(21,26,45,.06); flex: none; }
.pl-head { display: flex; align-items: center; gap: 10px; height: 22px; min-width: 0; }
.pl-head h2 { margin: 0; font-size: 14.5px; font-weight: 700; color: #151A2D; white-space: nowrap; }
.pl-sub { font-size: 12px; color: #A0A8BA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-legend { margin-left: auto; display: flex; gap: 12px; flex: none; font-size: 11.5px; color: #5B6478; }
.pl-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; vertical-align: 1px; }
.pl-wrap { position: relative; min-width: 0; }
.pl-conduit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.pl-conduit-base { stroke: #E9ECF4; stroke-width: 14; fill: none; stroke-linecap: round; }
.pl-conduit-flow { stroke: url(#pl-g-flow); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 6 14; opacity: .9; animation: pl-flow 1.1s linear infinite; }
.pl-conduit-flow.is-off { animation-play-state: paused; opacity: .35; }
@keyframes pl-flow { to { stroke-dashoffset: -20; } }
.pl-stations { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 168px; gap: 14px; align-items: stretch; }
.pl-tokens { position: absolute; inset: 0; z-index: 5; overflow: visible; pointer-events: none; }
.pl-tok { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; overflow: hidden; will-change: transform; box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(21,26,45,.22); }
.pl-tok.is-round { border-radius: 50%; }
.pl-tok.is-dead { box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(255,77,109,.25); }
.pl-tok.is-gold { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(240,165,0,.28); }
.pl-tok .pl-av { width: 28px; height: 28px; border-radius: 0; }

.pl-st { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 10px 8px; background: #fff; border: 1px solid #E6E9F0; border-radius: 16px; cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.pl-st:hover { border-color: #CDD3E2; }
.pl-st.is-focus { border-color: var(--pl-ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pl-ac) 18%, transparent); }
.pl-st-head { display: flex; align-items: center; gap: 6px; height: 22px; min-width: 0; }
.pl-led { width: 8px; height: 8px; border-radius: 50%; background: #D5DAE5; flex: none; }
.pl-led.is-work { background: var(--pl-ac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pl-ac) 18%, transparent); animation: pl-ledp 1.4s infinite; }
@keyframes pl-ledp { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--pl-ac) 8%, transparent); } }
.pl-st-name { font-size: 14px; font-weight: 700; color: #151A2D; white-space: nowrap; }
.pl-st-idx { font-family: var(--pl-mono); font-size: 10.5px; color: #A0A8BA; margin-left: -2px; }
.pl-st-wait { margin-left: auto; flex: none; font-size: 11px; color: #A0A8BA; white-space: nowrap; }
.pl-st-wait b { margin-left: 2px; font-family: var(--pl-mono); font-size: 12.5px; font-weight: 600; color: var(--pl-ac); }
.pl-lanes { display: grid; gap: 5px; }
.pl-lanes.pl-lanes--solo { display: flex; flex: 1 1 auto; min-height: 0; }
.pl-lanes.pl-lanes--solo > * { flex: 1 1 auto; }
.pl-pass { display: flex; justify-content: space-between; align-items: center; height: 18px; font-size: 11px; color: #A0A8BA; white-space: nowrap; }
.pl-pass b { font-family: var(--pl-mono); font-size: 12px; font-weight: 600; color: #151A2D; }
.pl-pass .ok b { color: var(--pl-ac); }

.pl-lane { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: center; height: 40px; padding: 0 6px; border-radius: 10px; background: #F8F9FC; border: 1px solid transparent; min-width: 0; transition: background .2s, border-color .2s; }
.pl-lane.is-big { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; height: 100%; padding: 12px 16px; border-radius: 14px; }
.pl-lane.is-work { background: #fff; border-color: #E6E9F0; }
.pl-lane.is-off { background: transparent; border: 1px dashed #E6E9F0; opacity: .8; }
.pl-lane.is-queue { background: transparent; border: 1px dashed #E6E9F0; }
.pl-lane-th { width: 34px; height: 34px; border-radius: 9px; background: #E9ECF4; }
.pl-lane-th.is-big { width: 64px; height: 64px; border-radius: 50%; }
.pl-lane.is-off .pl-lane-th { background: transparent; border: 1px dashed #D6DBE6; }
.pl-lane-body { min-width: 0; }
.pl-lane-idle { font-size: 12px; color: #A0A8BA; white-space: nowrap; }
.pl-lane-idle b { font-family: var(--pl-mono); font-weight: 500; color: #5B6478; }
.pl-lane.is-off .pl-lane-idle b { color: #A0A8BA; }
.pl-lane-id { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.pl-lane-nm { color: #151A2D; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.pl-lane-nm.is-mono { font-family: var(--pl-mono); font-weight: 500; }
.pl-lane.is-big .pl-lane-nm { font-size: 15px; }
.pl-lane-t { margin-left: auto; flex: none; font-family: var(--pl-mono); font-size: 10.5px; color: #A0A8BA; }
.pl-lane.is-big .pl-lane-t { font-size: 12.5px; }
.pl-lane.is-big .pl-steps { margin-top: 8px; }
.pl-lane.is-big .pl-stepname { font-size: 11.5px; margin-top: 4px; }
.pl-lane.is-queue .pl-lane-nm { color: #5B6478; font-weight: 500; }
.pl-lane.is-queue .pl-av { opacity: .5; }
.pl-lane-queue-tag { margin-left: auto; flex: none; font-size: 10.5px; color: #A0A8BA; }
.pl-steps { display: flex; gap: 3px; margin-top: 4px; }
.pl-step { flex: 1; height: 3px; border-radius: 2px; background: #E4E8F1; }
.pl-step.is-done { background: var(--pl-ac, #2E86F2); }
.pl-step.is-now { background: var(--pl-ac, #2E86F2); opacity: .45; }
.pl-stepname { display: flex; justify-content: space-between; gap: 6px; margin-top: 2px; font-size: 10.5px; line-height: 1.2; color: #A0A8BA; white-space: nowrap; overflow: hidden; }

.pl-av { display: inline-grid; place-items: center; flex: none; border-radius: 9px; overflow: hidden; background: #E9ECF4; color: #fff; font-weight: 700; line-height: 1; }
.pl-av.is-circle { border-radius: 50%; }
.pl-av.is-emoji { font-size: .58em; }
.pl-av-txt { user-select: none; }

.pl-tray { position: relative; display: flex; align-items: center; gap: 6px; height: 34px; padding-top: 6px; border-top: 1px dashed #E6E9F0; min-width: 0; cursor: pointer; }
.pl-tray-lab { display: flex; align-items: center; gap: 5px; flex: none; font-size: 11px; color: #A0A8BA; }
.pl-tray-lab i { width: 6px; height: 6px; border-radius: 50%; background: #FF4D6D; }
.pl-tray-n { flex: none; min-width: 20px; font-family: var(--pl-mono); font-size: 12.5px; font-weight: 600; color: #FF4D6D; }
.pl-tray-chips { display: flex; gap: 5px; flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, #000 82%, transparent); }
.pl-chip { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 22px; padding: 0 7px 0 3px; border-radius: 6px; background: #FFF0F3; color: #C0284A; font-size: 10.5px; white-space: nowrap; }
.pl-chip .pl-av { border-radius: 4px; }
.pl-pop { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 9; padding: 10px 12px; background: #fff; border: 1px solid #E6E9F0; border-radius: 12px; box-shadow: 0 20px 60px rgba(21,26,45,.16); cursor: default; }
.pl-pop h5 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: #5B6478; }
.pl-pop-r { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 12px; }
.pl-pop-l { min-width: 0; }
.pl-pop-l span { display: block; color: #151A2D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pop-b { height: 5px; margin-top: 3px; border-radius: 3px; background: #FFE1E7; overflow: hidden; }
.pl-pop-b i { display: block; height: 100%; border-radius: 3px; background: #FF4D6D; }
.pl-pop-r small { font-family: var(--pl-mono); color: #FF4D6D; text-align: right; }

.pl-sink { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; padding: 10px; text-align: center; background: linear-gradient(180deg, #FFFBF0, #FFF7E3); border: 1px solid #F5E2B3; border-radius: 16px; cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.pl-sink:hover { border-color: #EDCD83; }
.pl-sink.is-focus { box-shadow: 0 0 0 3px rgba(240,165,0,.18); }
.pl-ring { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 6px #FFEFC7; }
.pl-ring::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(240,165,0,.35); opacity: 0; }
.pl-ring.is-pulse::before { animation: pl-ringp .9s ease-out; }
@keyframes pl-ringp { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.pl-ring b { font-family: var(--pl-mono); font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #C77F00; }
.pl-sink-nm { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #8A5B00; }
.pl-sink-sub { font-size: 11px; color: #B58A3A; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-sink-last { display: flex; gap: 5px; height: 26px; margin-top: 6px; }
.pl-sink-last .pl-av { border-radius: 7px; box-shadow: 0 0 0 2px #fff; }

/* 品的轨迹 */
.pl-trace { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 160px; min-width: 0; padding: 12px 16px 6px; background: #fff; border: 1px solid #E6E9F0; border-radius: 18px; box-shadow: 0 1px 2px rgba(21,26,45,.04), 0 8px 24px rgba(21,26,45,.06); }
.pl-trace-head { display: flex; align-items: center; gap: 12px; height: 28px; flex: none; }
.pl-trace-head h2 { margin: 0; font-size: 14.5px; font-weight: 700; color: #151A2D; white-space: nowrap; }
.pl-trace-cnt { font-family: var(--pl-mono); font-size: 11.5px; color: #A0A8BA; white-space: nowrap; }
.pl-trace-focus { padding: 2px 8px; border-radius: 99px; background: #F1EFFD; color: #6C5CE7; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pl-trace-spacer { flex: 1; }
.pl-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: #F3F4F8; }
.pl-seg-btn { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #5B6478; font: inherit; font-size: 12px; cursor: pointer; transition: background .15s, color .15s; }
.pl-seg-btn b { font-family: var(--pl-mono); font-size: 11px; font-weight: 500; color: #A0A8BA; }
.pl-seg-btn.is-on { background: #fff; color: #151A2D; font-weight: 600; box-shadow: 0 1px 2px rgba(21,26,45,.08); }
.pl-seg-btn.is-on b { color: #5B6478; }
.pl-trace-thead { flex: none; display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; padding: 8px 10px 6px; margin-top: 2px; font-size: 11px; color: #A0A8BA; border-bottom: 1px solid #F0F2F6; }
.pl-track-h { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.pl-trace-thead .r { text-align: right; }
.pl-trace-rows { flex: 1 1 auto; min-height: 0; overflow: auto; padding-bottom: 4px; }
.pl-trace-rows::-webkit-scrollbar { width: 8px; }
.pl-trace-rows::-webkit-scrollbar-thumb { background: #D6DBE6; border-radius: 4px; }
.pl-trace-empty { padding: 28px 0; text-align: center; font-size: 12.5px; color: #A0A8BA; }
.pl-tr { --pl-rail: #ECEEF3; --pl-rail-done: #C6CBD6; --pl-dot-done: #9AA3B5; display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; align-items: center; height: 46px; padding: 0 10px; border-bottom: 1px solid #F0F2F6; transition: background .15s; }
@keyframes pl-tr-in { from { opacity: 0; transform: translateY(-6px); } }
.pl-tr:last-child { border-bottom: 0; }
.pl-tr:hover { background: #FAFBFD; }
.pl-tr-who { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.pl-tr-who > .pl-av { border-radius: 7px; box-shadow: 0 0 0 1px rgba(21,26,45,.06); }
.pl-tr-txt { min-width: 0; line-height: 1.25; }
.pl-tr-sku { display: block; font-family: var(--pl-mono); font-size: 12px; color: #151A2D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-tr-from { display: flex; align-items: center; gap: 5px; margin-top: 2px; min-width: 0; font-size: 10.5px; color: #A0A8BA; }
.pl-tr-from .pl-av { border-radius: 50%; font-size: 7px; }
.pl-tr-from > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; height: 46px; }
.pl-track::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 50%; height: 1.5px; background: var(--pl-rail); transform: translateY(-50%); }
.pl-track-fill { position: absolute; left: 12.5%; top: 50%; height: 1.5px; background: var(--pl-rail-done); transform: translateY(-50%); }
.pl-node { position: relative; display: grid; place-items: center; height: 22px; }
.pl-node i { position: relative; z-index: 1; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--pl-rail-done); transition: background .2s, border-color .2s; }
.pl-node.is-done i { background: var(--pl-dot-done); }
.pl-node.is-now i { width: 10px; height: 10px; background: #fff; border: 2px solid #6C5CE7; box-shadow: 0 0 0 4px rgba(108,92,231,.14); }
.pl-node.is-dead i { width: 14px; height: 14px; border-radius: 4px; background: #FF4D6D; }
.pl-node.is-dead i::before, .pl-node.is-dead i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 1.6px; background: #fff; border-radius: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.pl-node.is-dead i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pl-node.is-good i { width: 10px; height: 10px; background: #F0A500; box-shadow: 0 0 0 3px rgba(240,165,0,.16); }
.pl-tr-out { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.pl-tr-detail { font-size: 11.5px; color: #A0A8BA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pl-tag { flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pl-tag.is-dead { background: #FFF0F3; color: #C0284A; }
.pl-tag.is-good { background: #FFF6DD; color: #8A5B00; }
.pl-tr-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #5B6478; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-tr-out.is-live .pl-tr-live::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6C5CE7; animation: pl-tr-pulse 1.4s ease-in-out infinite; }
.pl-tr-out.is-queue .pl-tr-live { color: #A0A8BA; }
@keyframes pl-tr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* 空态（未运行过） */
.sv-hint { flex: none; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #55536b; }
.sv-hint svg { width: 14px; height: 14px; color: #6366f1; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sv-hint b { color: #2a2937; font-weight: 700; }
.pl-st-preview, .pl-sink-preview { min-height: 236px; justify-content: center; }
.pl-st-preview { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 18px 14px; background: #FBFBFE; border: 1px dashed #D6DBE6; border-radius: 16px; }
.pl-prev-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--pl-ac); flex: none; }
.pl-prev-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-prev-ico--gold { background: #fff; box-shadow: inset 0 0 0 4px #FFEFC7; color: #C77F00; width: 44px; height: 44px; border-radius: 50%; }
.pl-prev-ico--gold svg { fill: currentColor; stroke: none; }
.pl-prev-idx { font-family: var(--pl-mono); font-size: 10.5px; color: #A0A8BA; }
.pl-prev-nm { font-size: 13.5px; font-weight: 700; color: #151A2D; }
.pl-prev-desc { font-size: 11.5px; color: #A0A8BA; line-height: 1.55; }
.pl-prev-waiting { margin-top: auto; padding-top: 8px; font-size: 10.5px; color: #C7CBDA; border-top: 1px dashed #E6E9F0; width: 100%; }
.pl-sink-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px; padding: 18px 12px; background: linear-gradient(180deg, #FFFCF3, #FFF9EC); border: 1px dashed #F0DFAE; border-radius: 16px; }
.pl-sink-preview .pl-prev-nm { color: #8A5B00; }
.pl-sink-preview .pl-prev-desc { color: #B58A3A; }
.pl-trace.is-big { justify-content: center; }
.pl-trace-big { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }
.pl-trace-big-ico { width: 40px; height: 40px; border-radius: 12px; background: #F1EFFD; color: #6C5CE7; display: grid; place-items: center; }
.pl-trace-big-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-trace-big b { font-size: 14.5px; font-weight: 700; color: #151A2D; }
.pl-trace-big p { margin: 0; max-width: 460px; font-size: 12.5px; line-height: 1.7; color: #A0A8BA; }
.pl-trace-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #E9ECF4; border-top-color: #6C5CE7; animation: hz-rot .8s linear infinite; }

/* ============================================================
   选品设置
   ============================================================ */
.hz-page--settings { padding: 10px 32px 14px; gap: 8px; }
.hz-page--settings .ss-actions .hz-btn { height: 36px; }
.ss-actions { display: flex; justify-content: flex-end; gap: 12px; flex: none; }
.ss-grid { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 12px; align-items: stretch; flex: 1 1 auto; min-height: 0; }
.ss-col { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; min-width: 0; min-height: 0; }
.ss-card--fill { display: flex; flex-direction: column; min-height: 0; }
.ss-card { min-width: 0; background: #fff; border: 1px solid #E6E9F0; border-radius: 18px; padding: 12px 16px 12px; box-shadow: 0 1px 2px rgba(21,26,45,.03), 0 8px 24px -14px rgba(21,26,45,.1); }
.ss-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex: none; }
.ss-head > div { min-width: 0; }
.ss-no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #6777ff, #9b7bff); color: #fff; font-family: var(--font-mono); font-size: 13px; font-weight: 800; font-style: italic; flex: none; }
.ss-head h3 { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.ss-head p { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-head .ext { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #64748b; }
.ss-sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ss-sec-t { position: relative; padding-left: 10px; font-size: 14px; font-weight: 800; color: var(--ink); }
.ss-sec-t::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--primary); }
.ss-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ss-2col > *, .ss-3col > * { min-width: 0; }
.ss-3col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ss-box { padding: 8px 12px 9px; border-radius: 14px; background: #f5f6fd; }
.ss-box label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ss-box label small { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.ss-range { display: flex; align-items: center; gap: 8px; }
.ss-range .hz-num { flex: 1; min-width: 0; }
.ss-range .to { font-size: 13px; color: #64748b; flex: none; }
.ss-tip { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 10px; background: #f0f2ff; border-left: 3px solid var(--primary); font-size: 12.5px; color: #4d5b7a; }
.ss-rows { display: grid; gap: 8px; }
.ss-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; }
.ss-row .lab { font-size: 13px; color: #64748b; font-weight: 600; }
.ss-row .hz-seg { width: 100%; }
.ss-formula { margin-top: 6px; font-size: 12px; color: var(--muted); }
.ss-auth { display: flex; align-items: center; gap: 10px; }
.ss-auth-ok { display: inline-flex; align-items: center; height: 40px; padding: 0 10px; border-radius: 12px; background: #1fb26b; color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; }
.ss-auth .pts { white-space: nowrap; }
.ss-auth .pts { font-size: 14px; font-weight: 800; color: #1b8a5a; }
.ss-addr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ss-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.ss-legend { margin-left: auto; flex: none; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #64748b; white-space: nowrap; }
.ss-legend .hz-badge { font-size: 11px; }
.hz-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 11px; font-weight: 800; line-height: 1; }
.hz-badge--ban { background: #ff4d6d; color: #fff; }
.hz-badge--label { background: #fff0f3; color: #c0284a; }
.hz-badge--limit { background: #fff4e3; color: #b96e05; }
.ss-catsearch { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex: none; }
.ss-catsearch .hz-input { height: 40px; }
.ss-catsearch .hz-input { flex: 1; }
.ss-catsearch .sel { font-size: 13px; color: #64748b; white-space: nowrap; }
.ss-catsearch .sel b { color: var(--primary); font-family: var(--font-mono); }
.ss-catsearch .clear { color: var(--primary); font-weight: 700; font-size: 13px; cursor: pointer; }
.ss-cats { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 10px; flex: 1 1 auto; min-height: 220px; }
.ss-catcol { display: flex; flex-direction: column; min-height: 0; border: 1px solid #E6E9F0; border-radius: 14px; background: #fff; overflow: hidden; }
.ss-catcol-h { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid #F0F2F6; font-size: 13.5px; font-weight: 800; color: var(--ink); flex: none; white-space: nowrap; }
.ss-catcol-h .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: var(--primary); font-weight: 700; }
.ss-catcol-b { flex: 1; min-height: 0; overflow-y: auto; padding: 6px; }
.ss-catcol-b::-webkit-scrollbar { width: 6px; }
.ss-catcol-b::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 3px; }
.ss-cat1 { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px; border-radius: 8px; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.ss-cat1:hover { background: #f5f6fd; }
.ss-cat1.on { background: #eef0ff; color: var(--primary); font-weight: 800; }
.ss-cat1 .hz-dot { width: 6px; height: 6px; }
.ss-cat1 .n { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: #64748b; }
.ss-cat1.on .n { color: var(--primary); font-weight: 700; }
.ss-cat2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 8px; align-content: start; }
.ss-c2 { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px; border-radius: 6px; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; overflow: hidden; }
.ss-c2:hover { background: #f5f6fd; }
.ss-c2 span { overflow: hidden; text-overflow: ellipsis; }
.ss-c2.on span { color: var(--primary); font-weight: 800; }
.ss-c2.is-ban span { color: #c0284a; }

/* ============================================================
   询盘回盘
   ============================================================ */
.iq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex: none; }
.iq-head h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.iq-stats { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14px; color: #64748b; }
.iq-stats b { color: var(--ink); font-family: var(--font-mono); font-weight: 700; }
.iq-stats .sep { width: 1px; height: 14px; background: #d6dbe6; }
.iq-auto { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; color: #64748b; white-space: nowrap; }
.iq-auto .hz-dot { background: #1b8a5a; width: 9px; height: 9px; }
.iq-auto b { color: var(--ink); font-weight: 800; }
.iq-btns { display: flex; align-items: center; gap: 8px; flex: none; }
.iq-btns .hz-btn { padding: 0 14px; }
.iq-btns .talk { border-color: transparent; background: #fff; box-shadow: 0 1px 3px rgba(21,26,45,.06); }
.iq-filters { display: flex; align-items: center; gap: 10px; flex: none; }
.iq-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #e4e6f2; background: #fff; font-size: 13.5px; font-weight: 700; color: #334155; cursor: pointer; white-space: nowrap; }
.iq-chip b { font-family: var(--font-mono); font-weight: 700; }
.iq-chip.on { background: #111827; color: #fff; border-color: #111827; }
.iq-chip .hz-dot { width: 7px; height: 7px; }
.iq-search { flex: 0 0 236px; height: 38px; border-radius: 999px; margin-left: 6px; font-size: 13px; }
.iq-note { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.iq-card { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: #fff; border: 1px solid #E6E9F0; border-radius: 16px; overflow: hidden; }
.iq-thead, .iq-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 160px 140px 170px 150px 80px 64px; align-items: center; gap: 8px; padding: 0 14px; }
.iq-thead { height: 42px; background: #f8f9fc; border-bottom: 1px solid #F0F2F6; font-size: 12.5px; color: #64748b; font-weight: 600; flex: none; }
.iq-rows { flex: 1; min-height: 0; overflow-y: auto; }
.iq-rows::-webkit-scrollbar { width: 8px; }
.iq-rows::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 4px; }
.iq-row { min-height: 78px; border-bottom: 1px solid #F0F2F6; cursor: pointer; transition: background .15s; }
.iq-row:hover, .iq-row.is-on { background: #f5f6fd; }
.iq-row .idx { font-family: var(--font-mono); font-size: 12.5px; color: #94a3b8; }
.iq-prod { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.iq-thumb { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; box-shadow: 0 0 0 1px rgba(21,26,45,.06); }
.iq-prod .t { font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iq-prod .s { font-family: var(--font-mono); font-size: 11.5px; color: #94a3b8; white-space: nowrap; }
.iq-prod .s span { margin-right: 10px; }
.iq-row .shop { font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iq-st { display: grid; gap: 5px; justify-items: start; }
.iq-st small { font-family: var(--font-mono); font-size: 11px; color: #94a3b8; }
.iq-row .reply { font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iq-dim { display: grid; gap: 3px; }
.iq-dim b { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.iq-dim small { font-family: var(--font-mono); font-size: 11px; color: #94a3b8; }
.iq-dim .src { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; background: #f1f3f8; color: #64748b; font-size: 10.5px; font-weight: 600; width: max-content; }
.iq-dim .src.ai { background: var(--primary); color: #fff; }
.iq-dim .src.ai::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; margin-right: 4px; }
.iq-row .price { font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.iq-link { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid #e4e6f2; background: #fff; font-weight: 800; font-size: 13px; color: var(--ink); }
.iq-foot { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border-top: 1px solid #F0F2F6; font-size: 13px; color: #64748b; flex: none; }
.iq-foot b { color: var(--ink); font-family: var(--font-mono); }
.iq-foot .pg { display: flex; gap: 8px; }
/* 抽屉 */
.iqd-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; gap: 14px; padding: 22px 22px 16px; border-bottom: 1px solid #F0F2F6; flex: none; }
.iqd-head .iq-thumb { width: 64px; height: 64px; font-size: 34px; border-radius: 10px; }
.iqd-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.iqd-head .meta { margin-top: 6px; font-family: var(--font-mono); font-size: 12px; color: #94a3b8; }
.iqd-head .meta span { margin-right: 12px; }
.iqd-head .price { margin-top: 10px; font-size: 12.5px; color: #64748b; }
.iqd-head .price b { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
.iqd-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 22px 24px; }
.iqd-body::-webkit-scrollbar { width: 8px; }
.iqd-body::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 4px; }
.iqd-tl { display: grid; gap: 0; padding: 8px 0 14px; }
.iqd-tl-r { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 38px; font-size: 14px; color: var(--ink); }
.iqd-tl-r i { width: 16px; height: 16px; border-radius: 50%; background: #d6dbe6; margin-left: 2px; position: relative; }
.iqd-tl-r.is-done i { background: #1b8a5a; }
.iqd-tl-r.is-done i::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.iqd-tl-r + .iqd-tl-r i::before { content: ''; position: absolute; left: 7px; bottom: 100%; width: 2px; height: 22px; background: #e4e8f1; }
.iqd-tl-r small { font-family: var(--font-mono); font-size: 12px; color: #94a3b8; }
.iqd-lab { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; font-size: 14px; font-weight: 800; color: #64748b; }
.iqd-reply { padding: 14px 16px; border: 1px solid #e4e6f2; border-radius: 12px; background: #fff; font-size: 15px; color: var(--ink); }
.iqd-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iqd-dim { padding: 12px 16px; border-radius: 12px; border: 1px solid #e4e6f2; background: #fafbff; }
.iqd-dim span { display: block; font-size: 12.5px; color: #94a3b8; }
.iqd-dim b { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--ink); }
.iqd-ai { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: #4d5b7a; }
.iqd-qa { display: grid; gap: 8px; }
.iqd-qa-r { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; font-size: 13.5px; color: #64748b; padding: 8px 0; border-bottom: 1px solid #F0F2F6; }
.iqd-qa-r b { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.iqd-qa-r b small { font-family: var(--font-sans); color: #94a3b8; font-weight: 500; margin-left: 4px; }
.iqd-chat { margin-top: 14px; padding: 14px; border: 1px solid #e4e6f2; border-radius: 14px; }
.iqd-chat h4 { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--ink); }
.iqd-msg { display: flex; flex-direction: column; gap: 4px; max-width: 78%; margin-bottom: 10px; padding: 10px 14px; border-radius: 12px; background: #f1f3f8; font-size: 14px; color: var(--ink); }
.iqd-msg small { font-size: 11.5px; color: #94a3b8; font-family: var(--font-mono); }
.iqd-msg.me { align-self: flex-end; background: #eef0ff; }
.iqd-chat-list { display: flex; flex-direction: column; }
.iqd-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e4e6f2; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #64748b; cursor: pointer; }
.iqd-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ============================================================
   商品上架
   ============================================================ */
.al-flow { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #64748b; flex: none; white-space: nowrap; }
.al-flow b { color: var(--primary); font-weight: 800; }
.al-flow .arr { color: #94a3b8; margin: 0 4px; }
.al-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex: none; }
.al-tools .lab { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.al-tools .lab small { color: #94a3b8; font-weight: 500; margin-left: 4px; }
.al-tools .hz-num { height: 40px; width: 130px; }
.al-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; flex: none; }
.al-kpi { position: relative; padding: 16px 18px 14px 20px; border-radius: 14px; background: #fff; border: 1px solid #E6E9F0; overflow: hidden; }
.al-kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kpi, #6777ff); }
.al-kpi .k { font-size: 13px; font-weight: 700; color: #4d5b7a; }
.al-kpi .v { margin-top: 6px; font-family: var(--font-mono); font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; display: flex; align-items: baseline; gap: 6px; }
.al-kpi .v small { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: #94a3b8; }
.al-kpi .v .hz-tag { font-family: var(--font-sans); height: 24px; font-size: 13px; }
.al-kpi .d { margin-top: 6px; font-size: 12px; color: #94a3b8; }
.al-kpi .rf { position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; color: #94a3b8; cursor: pointer; }
.al-kpi .rf svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.al-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E6E9F0; border-radius: 16px; overflow: hidden; }
.al-card--shops { flex: none; }
.al-card--jobs { flex: none; min-height: 150px; }
.al-card-h { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; flex: none; }
.al-card-h h3 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.al-card-h .cnt { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #eef0ff; color: var(--primary); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.al-card-h .sub { font-size: 12.5px; color: #94a3b8; }
.al-card-h .acts { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13.5px; font-weight: 700; color: #334155; }
.al-card-h .acts span { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.al-card-h .acts span:hover { color: var(--primary); }
.al-card-h .acts svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al-card-h .cache { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #64748b; }
.al-card-h .cache .hz-dot { background: #1b8a5a; }
.al-th, .al-tr { display: grid; grid-template-columns: 36px 130px 118px 108px 70px 262px 100px minmax(0, 1fr) 70px; align-items: center; gap: 8px; padding: 0 20px; }
.al-th { height: 40px; white-space: nowrap; font-size: 13px; color: #64748b; font-weight: 600; border-top: 1px solid #F0F2F6; border-bottom: 1px solid #F0F2F6; background: #fafbfd; }
.al-tr { height: 56px; border-bottom: 1px solid #F0F2F6; font-size: 13.5px; color: var(--ink); }
.al-tr .idx { font-family: var(--font-mono); color: #94a3b8; font-size: 12.5px; }
.al-tr .shop { font-weight: 800; }
.al-tr .mono { font-family: var(--font-mono); font-size: 12.5px; color: #64748b; }
.al-tr .n { font-family: var(--font-mono); font-weight: 700; }
.al-tr .hz-num { height: 34px; width: 120px; border-radius: 8px; }
.al-tr .hz-num b { font-size: 14px; }
.al-tr .hz-num button { width: 30px; font-size: 15px; }
.al-prog { display: flex; align-items: center; gap: 8px; }
.al-prog .bar { flex: 1; height: 6px; border-radius: 3px; background: #eceef3; overflow: hidden; }
.al-prog .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6777ff, #9b7bff); transition: width .4s; }
.al-prog small { font-family: var(--font-mono); font-size: 12px; color: #64748b; min-width: 42px; text-align: right; }
.al-jobs-h { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; flex: none; }
.al-jobs-h h3 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.al-jobs-h .sub { font-size: 12.5px; color: #94a3b8; }
.al-jobs-h .pl-seg { margin-left: auto; padding: 4px; border-radius: 12px; }
.al-jobs-h .pl-seg-btn { height: 30px; font-size: 13px; padding: 0 14px; }
.al-jh, .al-jr { display: grid; grid-template-columns: 130px 70px 100px 190px 110px 110px 160px minmax(0, 1fr); align-items: center; gap: 8px; padding: 0 20px; }
.al-jh { height: 40px; font-size: 13px; color: #64748b; font-weight: 600; border-top: 1px solid #F0F2F6; border-bottom: 1px solid #F0F2F6; background: #fafbfd; flex: none; }
.al-jrows { flex: none; }
.al-jrows::-webkit-scrollbar { width: 8px; }
.al-jrows::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 4px; }
.al-jr { height: 52px; border-bottom: 1px solid #F0F2F6; font-size: 13px; color: var(--ink); }
.al-jr .mono { font-family: var(--font-mono); font-size: 12.5px; }
.al-jr .iq-thumb { width: 34px; height: 34px; font-size: 18px; }
.al-jr .msg { color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-jempty { display: flex; align-items: center; justify-content: center; font-size: 14px; color: #64748b; padding: 40px 30px; }

/* ============================================================
   修改库存
   ============================================================ */
.st-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: none; }
.st-card { display: flex; flex-direction: column; flex: none; background: #fff; border: 1px solid #E6E9F0; border-radius: 16px; overflow: hidden; }
.st-card-h { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; }
.st-card-h h3 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.st-card-h .sub { font-size: 12.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card-h .rf { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: #334155; cursor: pointer; }
.st-card-h .rf svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.st-th, .st-tr { display: grid; grid-template-columns: 40px 40px minmax(0, 1fr) 200px 200px 220px 140px; align-items: center; gap: 8px; padding: 0 20px; }
.st-th { height: 44px; font-size: 13.5px; color: #475569; font-weight: 700; border-top: 1px solid #F0F2F6; border-bottom: 1px solid #F0F2F6; background: #fafbfd; }
.st-tr { height: 56px; border-bottom: 1px solid #F0F2F6; font-size: 13.5px; color: var(--ink); }
.st-tr .idx { font-family: var(--font-mono); color: #94a3b8; font-size: 12.5px; }
.st-tr .shop { font-weight: 800; }
.st-tr .mono { font-family: var(--font-mono); font-size: 12.5px; color: #64748b; }
.st-tr .n { font-family: var(--font-mono); font-weight: 700; }
.st-tr .n small { color: #94a3b8; font-weight: 500; margin-left: 4px; }
.st-tr .ops { display: flex; gap: 6px; }

/* ============================================================
   水印管理 / 店铺绑定
   ============================================================ */
.wm-top { display: flex; align-items: center; justify-content: space-between; flex: none; }
.wm-top p { margin: 0; font-size: 13.5px; color: #64748b; }
.wm-card { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: #fff; border: 1px solid #E6E9F0; border-radius: 16px; padding: 20px 20px 16px; }
.wm-filter { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f5f6fd; flex: none; }
.wm-filter .hz-select { min-width: 150px; }
.wm-filter .hz-input { flex: 1; }
.wm-filter .date { flex: 1.6; }
.wm-filter .date .sep { color: #94a3b8; margin: 0 14px; }
.wm-tbl { margin-top: 14px; border: 1px solid #F0F2F6; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.wm-th, .wm-tr { display: grid; grid-template-columns: 56px 190px 220px 100px 100px 150px 90px minmax(0, 1fr); align-items: center; gap: 8px; padding: 0 16px; }
.wm-th { height: 44px; font-size: 13.5px; font-weight: 800; color: var(--ink); background: #f8f9fc; border-bottom: 1px solid #F0F2F6; flex: none; }
.wm-tr { height: 56px; border-bottom: 1px solid #F0F2F6; font-size: 13.5px; color: var(--ink); }
.wm-tr .idx { font-family: var(--font-mono); color: #94a3b8; font-size: 12.5px; }
.wm-tr .nm { font-weight: 800; }
.wm-tr .ct { display: inline-flex; align-items: center; gap: 8px; color: #64748b; font-size: 13px; }
.wm-tr .ct .prev { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 8px; border-radius: 6px; background: #f1f3f8; font-weight: 800; font-size: 12px; color: #334155; letter-spacing: .5px; }
.wm-tr .mono { font-family: var(--font-mono); font-size: 12.5px; color: #64748b; }
.wm-tr .ops { display: flex; gap: 12px; font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.wm-tr .ops span { cursor: pointer; }
.wm-tr .ops .del { color: #e0466a; }
.wm-page { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px; font-size: 13px; color: #64748b; flex: none; }
.wm-page .pgs { display: flex; gap: 6px; }
.wm-page .pg { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 6px; background: #f1f3f8; color: #334155; font-family: var(--font-mono); font-size: 13px; font-weight: 700; cursor: pointer; }
.wm-page .pg.on { background: var(--primary); color: #fff; }
.wm-page .pg svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wm-page .hz-select { height: 32px; border-radius: 8px; font-size: 13px; padding: 0 10px; }
.wm-page .goto { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 32px; border: 1px solid #dcdfe6; border-radius: 8px; font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.sb-warn { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 40px; border-radius: 10px; background: #fff7ed; color: #d97706; font-size: 13.5px; font-weight: 600; }
.sb-warn i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #f59e0b; color: #fff; font-size: 11px; font-weight: 900; font-style: normal; flex: none; }
.sb-count { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px; background: #fff; border: 1px solid #E6E9F0; border-radius: 14px; font-size: 14px; color: #334155; flex: none; }
.sb-count svg { width: 16px; height: 16px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sb-count b { color: var(--primary); font-family: var(--font-mono); font-weight: 700; }
.sb-count .r { margin-left: auto; color: #64748b; }
.sb-th, .sb-tr { display: grid; grid-template-columns: 220px 150px minmax(0, 1fr) 80px 210px 160px; align-items: center; gap: 8px; padding: 0 16px; }
.sb-th { height: 48px; font-size: 14px; font-weight: 800; color: var(--ink); background: #f8f9fc; border-bottom: 1px solid #F0F2F6; flex: none; }
.sb-tr { height: 58px; border-bottom: 1px solid #F0F2F6; font-size: 13.5px; color: var(--ink); }
.sb-tr .nm { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.sb-tr .nm .lg { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.sb-tr .mono { font-family: var(--font-mono); font-size: 12.5px; color: #64748b; }
.sb-tr .key { font-family: var(--font-mono); font-size: 12.5px; color: #94a3b8; letter-spacing: 1px; }
.sb-tr .ops { display: flex; gap: 12px; font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.sb-tr .ops span { cursor: pointer; }
.sb-tr .ops .del { color: #e0466a; }

/* ============================================================
   算力消耗记录
   ============================================================ */
.cu-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.cu-range { display: inline-flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border: 1px solid #e4e6f2; border-radius: 12px; background: #fff; font-family: var(--font-mono); font-size: 13.5px; color: var(--ink); }
.cu-range svg { width: 15px; height: 15px; fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; }
.cu-range .to { font-family: var(--font-sans); color: #64748b; }
.cu-total { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; background: #eef0ff; font-size: 13.5px; color: #4f46e5; font-weight: 700; }
.cu-total b { font-family: var(--font-mono); font-size: 17px; font-weight: 800; }
.cu-note { margin-left: auto; font-size: 13px; color: #64748b; }
.cu-card { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: #fff; border: 1px solid #E6E9F0; border-radius: 16px; overflow: hidden; }
.cu-th, .cu-tr { display: grid; grid-template-columns: 110px 170px 160px 90px 150px 110px 130px minmax(0, 1fr); align-items: center; gap: 10px; padding: 0 16px; }
.cu-th { height: 46px; font-size: 13.5px; font-weight: 800; color: var(--ink); background: #f8f9fc; border-bottom: 1px solid #F0F2F6; flex: none; }
.cu-rows { flex: 1; min-height: 0; overflow-y: auto; }
.cu-rows::-webkit-scrollbar { width: 8px; }
.cu-rows::-webkit-scrollbar-thumb { background: #d6dbe6; border-radius: 4px; }
.cu-tr { height: 62px; border-bottom: 1px solid #F0F2F6; font-size: 13.5px; color: var(--ink); }
.cu-tr .t { font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; }
.cu-tr .t small { display: block; font-weight: 500; color: #94a3b8; font-size: 11.5px; margin-top: 2px; }
.cu-tr .u { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.cu-tr .u i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 900; font-style: normal; }
.cu-tr .m { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #eef0ff; color: #4f46e5; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; width: max-content; }
.cu-tr .m svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.cu-tr .s { display: grid; gap: 3px; justify-items: start; }
.cu-tr .s span { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 6px; background: #f1f3f8; font-size: 12.5px; font-weight: 700; color: #334155; }
.cu-tr .s small { font-family: var(--font-mono); font-size: 11.5px; color: #94a3b8; }
.cu-tr .tk { font-family: var(--font-mono); font-weight: 700; }
.cu-tr .tk small { display: block; font-family: var(--font-sans); font-weight: 500; color: #94a3b8; font-size: 11.5px; margin-top: 2px; }
.cu-tr .c { font-family: var(--font-mono); font-weight: 700; }
.cu-tr .d { display: grid; gap: 4px; }
.cu-tr .d .bar { width: 136px; height: 6px; border-radius: 3px; background: #eceef3; overflow: hidden; }
.cu-tr .d .bar i { display: block; height: 100%; background: #1fb26b; border-radius: 3px; }
.cu-tr .d small { font-family: var(--font-mono); font-size: 11.5px; color: #64748b; }
.cu-tr .p { font-family: var(--font-mono); font-size: 13px; color: #64748b; }
.cu-tr .p b { color: var(--ink); margin: 0 14px 0 4px; }
.cu-foot { display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 16px; border-top: 1px solid #F0F2F6; font-size: 13.5px; color: #64748b; flex: none; }
.cu-foot b { font-family: var(--font-mono); color: var(--ink); }
.cu-foot .money { color: var(--primary); font-family: var(--font-mono); font-weight: 700; }
.cu-foot .pgs { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cu-foot .pg { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 13px; color: #334155; cursor: pointer; }
.cu-foot .pg.on { color: var(--primary); font-weight: 800; }

/* ============================================================
   算力充值弹窗（与桌面端 ComputeTopupDialog / PayQrPanel 同款）
   ============================================================ */
.ct-body { display: grid; gap: 14px; }
.ct-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ct-amt { width: 100%; display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 15px; font-weight: 700; cursor: pointer; height: 46px; padding: 0 8px; border-radius: 13px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-family: var(--font-mono); transition: border-color .16s, background .16s; }
.ct-amt:hover:not(.on) { border-color: var(--line-strong); }
.ct-amt.on { border-color: var(--primary); background: var(--primary-soft); }
.ct-sum { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 14px; background: #f5f6fd; border: 1px solid var(--line); }
.ct-sum-left { display: grid; gap: 3px; }
.ct-bal { display: flex; align-items: baseline; gap: 5px; font-size: 11.5px; color: var(--muted); }
.ct-bal b { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink); }
.ct-est { font-size: 11.5px; color: var(--muted); }
.ct-est b { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ct-total-num { font-family: var(--font-mono); color: #dd8a10; line-height: 1.05; }
.ct-total-num small { font-size: 17px; font-weight: 700; }
.ct-total-num b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.ct-calc-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); border: 0; background: transparent; cursor: pointer; padding: 2px 0; }
.ct-pays { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: #f5f6fd; border: 1px solid var(--line); }
.ct-pay { flex: 1; font-size: 13px; font-weight: 600; padding: 8px 0; border-radius: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .16s, color .16s; }
.ct-pay.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(75,91,160,.14); }
.pay-qr { display: grid; gap: 12px; justify-items: center; padding-top: 2px; --pay-channel: #1677ff; }
.pay-qr.is-wechat { --pay-channel: #07c160; }
.pay-qr-head { display: grid; gap: 4px; justify-items: center; }
.pay-qr-amount { display: flex; align-items: baseline; gap: 2px; line-height: 1; font-family: var(--font-mono); color: #dd8a10; }
.pay-qr-amount small { font-size: 18px; font-weight: 700; }
.pay-qr-amount b { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.pay-qr-channel { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pay-qr-channel i { width: 7px; height: 7px; border-radius: 50%; background: var(--pay-channel); }
.pay-qr-code { position: relative; width: 212px; height: 212px; display: grid; place-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(75,91,160,.10); }
.pay-qr-code img { display: block; width: 188px; height: 188px; image-rendering: pixelated; }
.pay-qr-status { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: #f5f6fd; border: 1px solid var(--line); }
.pay-qr-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pay-qr-blink 1.6s ease-in-out infinite; }
@keyframes pay-qr-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.pay-qr-meta { width: 100%; margin: 2px 0 0; display: grid; gap: 6px; padding: 10px 14px; border-radius: 12px; background: #f5f6fd; border: 1px solid var(--line); }
.pay-qr-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pay-qr-row dt { font-size: 12px; color: var(--muted); }
.pay-qr-row dd { margin: 0; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: right; }
.pay-qr-tip { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
    .hz-win *, .hz-win *::before, .hz-win *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 调试：?hzsolo=1 只留演示窗 ---------- */
body.hz-solo > *:not(.hero) { display: none !important; }
body.hz-solo .hero { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
body.hz-solo .hero::before, body.hz-solo .hero::after { display: none !important; }
body.hz-solo .hero .container { max-width: none !important; padding: 0 !important; }
body.hz-solo .hero .container > *:not(.hz-stage) { display: none !important; }
body.hz-solo .hz-stage { max-width: none !important; margin: 0 !important; }
body.hz-solo .hz-stage::before, body.hz-solo .hz-caption { display: none !important; }
body.hz-solo .hz-viewport { border-radius: 0; box-shadow: none; }

/* 演示光标在缩放画布内定位 */
.hz-win .demo-cursor { z-index: 2500; }
