/* ============ 远方哥闲鱼同行监控 · 商业化层 (biz.css) ============ */
/* 复用 styles.css 的 :root 令牌与 xy-* 原子类。本层只补商业化页面所需。 */

/* ---------- 通用 ---------- */
.bz-quota-bar { height: 6px; border-radius: 3px; background: #eef0f4; overflow: hidden; }
.bz-quota-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); transition: width .4s ease; }
.bz-quota-bar i.warn { background: #f59e0b; }
.bz-quota-bar i.full { background: var(--down); }
.bz-quota-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 132px; }
.bz-quota-top { display: flex; align-items: baseline; gap: 6px; font-size: 11.5px; }
.bz-quota-top b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 650; }
.bz-quota-top .of { color: var(--ink-3); }
.bz-quota-top .pct { margin-left: auto; font-family: var(--mono); color: var(--ink-3); font-size: 10.5px; }

/* status dot pills */
.bz-stat { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 550; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.bz-stat i { width: 6px; height: 6px; border-radius: 50%; }
.bz-stat.active { background: var(--up-soft); color: #15803d; }
.bz-stat.active i { background: var(--up); }
.bz-stat.disabled { background: #eef0f4; color: var(--ink-2); }
.bz-stat.disabled i { background: #9aa1ad; }
.bz-stat.expired { background: var(--down-soft); color: #b91c1c; }
.bz-stat.expired i { background: var(--down); }

.bz-plan-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 7px; white-space: nowrap; }
.bz-plan-tag.standard { background: #e6f1fd; color: #1d6fd0; }
.bz-plan-tag.premium { background: var(--accent-soft); color: var(--accent-700); }
.bz-plan-tag.annual { background: #fdf0d5; color: #b45309; }
.bz-plan-tag .pico { width: 6px; height: 6px; border-radius: 2px; }

/* ---------- 后台：账号管理表 ---------- */
.bz-acc-name { display: flex; align-items: center; gap: 10px; }
.bz-acc-name .nm { font-weight: 650; font-size: 13px; }
.bz-acc-name .acct { font-family: var(--mono); color: var(--ink-3); font-size: 11px; }
.bz-contact { display: flex; flex-direction: column; gap: 1px; font-size: 11.5px; }
.bz-contact .wx { color: var(--ink-2); }
.bz-contact .ph { color: var(--ink-3); font-family: var(--mono); }
.bz-expiry { display: flex; flex-direction: column; gap: 2px; }
.bz-expiry .d { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12px; }
.bz-expiry .left { font-size: 10.5px; }
.bz-expiry .left.soon { color: var(--down); font-weight: 600; }
.bz-expiry .left.ok { color: var(--ink-3); }

/* row action buttons */
.bz-rowact { display: inline-flex; gap: 5px; }
.bz-rowact button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 6px; padding: 4px 10px; font-size: 11.5px; white-space: nowrap; }
.bz-rowact button:hover { border-color: #d2d6df; color: var(--ink); }
.bz-rowact button.danger:hover { border-color: var(--down); color: var(--down); }
.bz-rowact button.go:hover { border-color: var(--accent); color: var(--accent); }

/* toggle switch */
.bz-switch { width: 38px; height: 22px; border-radius: 20px; background: #d3d7df; border: none; position: relative; flex: none; transition: background .15s; cursor: pointer; }
.bz-switch i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.bz-switch.on { background: var(--up); }
.bz-switch.on i { left: 18px; }
.bz-switch.sm { width: 32px; height: 19px; }
.bz-switch.sm i { width: 15px; height: 15px; }
.bz-switch.sm.on i { left: 15px; }

/* ---------- 抽屉 (新建/编辑账号) ---------- */
.bz-drawer-mask { position: fixed; inset: 0; background: rgba(20,22,29,.42); z-index: 80; opacity: 0; pointer-events: none; }
.bz-drawer-mask.on { opacity: 1; pointer-events: auto; }
.bz-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 92vw; background: #fff; z-index: 81; box-shadow: -16px 0 48px rgba(20,22,29,.18); transform: translateX(100%); display: flex; flex-direction: column; }
.bz-drawer.on { transform: translateX(0); }
.bz-drawer-head { display: flex; align-items: center; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.bz-drawer-head h3 { margin: 0; font-size: 15.5px; font-weight: 660; }
.bz-drawer-head .sub { font-size: 11.5px; color: var(--ink-3); }
.bz-drawer-x { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 16px; }
.bz-drawer-x:hover { border-color: #d2d6df; }
.bz-drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.bz-drawer-foot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.bz-drawer-foot button { height: 40px; border-radius: 9px; font-size: 13.5px; font-weight: 600; flex: 1; }
.bz-drawer-foot .ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.bz-drawer-foot .primary { background: var(--accent); border: none; color: #fff; }
.bz-drawer-foot .primary:hover { background: var(--accent-600); }

/* form atoms */
.bz-field { margin-bottom: 15px; }
.bz-field > label { display: block; font-size: 12px; color: var(--ink-2); font-weight: 550; margin-bottom: 6px; }
.bz-field > label .req { color: var(--down); margin-left: 2px; }
.bz-field .hint { font-size: 11px; color: var(--ink-3); margin-top: 5px; line-height: 1.5; }
.bz-input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; font-size: 13px; font-family: inherit; outline: none; background: #fff; color: var(--ink); }
.bz-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bz-input.mono { font-family: var(--mono); }
textarea.bz-input { height: auto; padding: 9px 12px; line-height: 1.5; resize: vertical; }
.bz-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* plan picker (drawer) */
.bz-planpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bz-planopt { border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; text-align: left; background: #fff; transition: border-color .12s, background .12s; position: relative; }
.bz-planopt:hover { border-color: #d2d6df; }
.bz-planopt.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.bz-planopt h5 { margin: 0 0 3px; font-size: 13.5px; font-weight: 660; }
.bz-planopt .lim { font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.bz-planopt .price { font-family: var(--mono); font-weight: 680; font-size: 15px; margin-top: 7px; }
.bz-planopt .price span { font-size: 11px; color: var(--ink-3); font-weight: 400; }

/* generated credential card */
.bz-cred { background: #fafbfc; border: 1px dashed var(--line); border-radius: 10px; padding: 12px 13px; }
.bz-cred .crow { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12.5px; }
.bz-cred .crow .k { color: var(--ink-3); width: 56px; flex: none; }
.bz-cred .crow .v { font-family: var(--mono); font-weight: 600; }
.bz-cred .crow .cp { margin-left: auto; font-size: 11px; color: var(--accent); background: none; border: none; }

/* ---------- 登录页 ---------- */
.bz-auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--bg); }
@media (max-width: 880px) { .bz-auth { grid-template-columns: 1fr; } .bz-auth-aside { display: none; } }
.bz-auth-aside { background: var(--sidebar); color: #fff; padding: 56px 56px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.bz-auth-aside::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.45), transparent 68%); }
.bz-auth-brand { display: flex; align-items: center; gap: 11px; }
.bz-auth-brand .lg { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #9f67f5); display: grid; place-items: center; font-size: 22px; }
.bz-auth-brand b { font-size: 18px; letter-spacing: .3px; }
.bz-auth-brand span { font-size: 11px; color: var(--sidebar-ink); display: block; margin-top: 1px; }
.bz-auth-aside h1 { font-size: 32px; line-height: 1.25; font-weight: 720; margin: auto 0 18px; max-width: 14em; letter-spacing: .5px; }
.bz-auth-aside h1 em { font-style: normal; color: #b794f6; }
.bz-auth-points { display: flex; flex-direction: column; gap: 13px; margin-bottom: 8px; position: relative; z-index: 1; }
.bz-auth-point { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: #d4d8e2; }
.bz-auth-point .ic { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 13px; flex: none; color: #b794f6; }
.bz-auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.bz-auth-card { width: 100%; max-width: 372px; }
.bz-auth-card h2 { font-size: 23px; font-weight: 700; margin: 0 0 6px; }
.bz-auth-card .lead { font-size: 13px; color: var(--ink-3); margin: 0 0 26px; }
.bz-auth-card .bz-field > label { font-size: 12.5px; }
.bz-auth-input { height: 46px; border-radius: 11px; font-size: 14px; }
.bz-auth-input.pw { padding-right: 44px; }
.bz-pw-wrap { position: relative; }
.bz-pw-eye { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border: none; background: none; color: var(--ink-3); font-size: 15px; }
.bz-auth-sub { height: 47px; width: 100%; border: none; border-radius: 11px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 640; margin-top: 6px; }
.bz-auth-sub:hover { background: var(--accent-600); }
.bz-auth-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; font-size: 12.5px; }
.bz-auth-foot { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 24px; line-height: 1.7; }
.bz-auth-foot a { color: var(--accent); text-decoration: none; }
.bz-remember { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); cursor: pointer; }

/* ---------- 套餐价格页 ---------- */
.bz-pricing { max-width: 1080px; margin: 0 auto; padding: 56px 24px 80px; }
.bz-pricing-head { text-align: center; margin-bottom: 44px; }
.bz-pricing-head .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--accent-700); background: var(--accent-soft); padding: 5px 13px; border-radius: 20px; font-weight: 600; }
.bz-pricing-head h1 { font-size: 36px; font-weight: 740; margin: 18px 0 12px; letter-spacing: .4px; }
.bz-pricing-head p { font-size: 15px; color: var(--ink-3); max-width: 32em; margin: 0 auto; line-height: 1.6; }
.bz-term { display: inline-flex; background: #eceef2; border-radius: 11px; padding: 3px; margin-top: 26px; }
.bz-term button { border: none; background: none; padding: 8px 20px; border-radius: 8px; font-size: 13px; color: var(--ink-2); font-weight: 550; display: inline-flex; align-items: center; gap: 7px; }
.bz-term button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 650; }
.bz-term .save { font-size: 10.5px; color: #15803d; background: var(--up-soft); padding: 1px 6px; border-radius: 10px; }
.bz-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
@media (max-width: 720px) { .bz-plans { grid-template-columns: 1fr; } }
.bz-plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; position: relative; display: flex; flex-direction: column; }
.bz-plan.feat { border-color: var(--accent); box-shadow: 0 14px 44px rgba(124,58,237,.13); }
.bz-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 650; padding: 5px 14px; border-radius: 20px; }
.bz-plan-name { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bz-plan-name .d { width: 9px; height: 9px; border-radius: 3px; }
.bz-plan-blurb { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 18px; line-height: 1.5; min-height: 36px; }
.bz-plan-price { display: flex; align-items: baseline; gap: 4px; }
.bz-plan-price .cur { font-size: 18px; font-weight: 600; }
.bz-plan-price .amt { font-family: var(--mono); font-size: 44px; font-weight: 720; letter-spacing: -1.5px; }
.bz-plan-price .per { font-size: 13px; color: var(--ink-3); }
.bz-plan-orig { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.bz-plan-orig s { color: #b6bbc6; }
.bz-plan-cta { height: 46px; border-radius: 11px; font-size: 14.5px; font-weight: 640; margin: 20px 0 22px; border: 1px solid var(--accent); background: #fff; color: var(--accent-700); width: 100%; }
.bz-plan-cta:hover { background: var(--accent-soft); }
.bz-plan.feat .bz-plan-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.bz-plan.feat .bz-plan-cta:hover { background: var(--accent-600); }
.bz-plan-feats { display: flex; flex-direction: column; gap: 11px; }
.bz-plan-feat { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.bz-plan-feat .tk { color: var(--accent); font-weight: 700; flex: none; }
.bz-plan-feat.lead { font-weight: 600; color: var(--ink); }
.bz-compare-note { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 34px; line-height: 1.7; }

/* ---------- 用户端新建任务页 ---------- */
.bz-quota-banner { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; flex-wrap: wrap; }
.bz-quota-meter { flex: 1; min-width: 220px; }
.bz-quota-meter .top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.bz-quota-meter .top .lbl { font-size: 12px; color: var(--ink-2); font-weight: 550; }
.bz-quota-meter .top .vals { margin-left: auto; font-family: var(--mono); font-size: 12.5px; }
.bz-quota-meter .top .vals b { font-weight: 680; }
.bz-quota-meter .top .vals .of { color: var(--ink-3); }
.bz-quota-divider { width: 1px; align-self: stretch; background: var(--line); }
@media (max-width: 760px) { .bz-quota-divider { display: none; } }

.bz-linkrow { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.bz-linkrow:last-child { border-bottom: none; }
.bz-linkrow .no { width: 22px; font-family: var(--mono); color: var(--ink-3); font-size: 11px; text-align: right; flex: none; }
.bz-linkrow .nm { font-weight: 600; min-width: 0; }
.bz-linkrow .url { font-family: var(--mono); color: var(--ink-3); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.bz-linkrow.over { background: var(--down-soft); }
.bz-linkrow.over .nm { color: var(--down); }
.bz-linkrow .badge-over { font-size: 10px; color: var(--down); font-weight: 600; background: #fff; border: 1px solid #f3c0c0; border-radius: 5px; padding: 1px 6px; }
.bz-linkrow .badge-dup { font-size: 10px; color: #b45309; font-weight: 600; background: #fdf0d5; border-radius: 5px; padding: 1px 6px; }
.bz-linkrow .badge-ok { font-size: 10px; color: #15803d; font-weight: 600; }

/* quota-block alert */
.bz-block { display: flex; align-items: flex-start; gap: 12px; background: var(--down-soft); border: 1px solid #f3c0c0; border-radius: 11px; padding: 13px 15px; }
.bz-block .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--down); color: #fff; display: grid; place-items: center; font-size: 16px; flex: none; }
.bz-block .bd h5 { margin: 0 0 3px; font-size: 13px; color: #b91c1c; font-weight: 650; }
.bz-block .bd p { margin: 0; font-size: 12px; color: #a14545; line-height: 1.55; }
.bz-block .up { margin-left: auto; align-self: center; height: 34px; padding: 0 15px; border-radius: 8px; border: none; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bz-block .up:hover { background: var(--accent-600); }

/* ---------- 导航中心 (hub) ---------- */
.bz-hub { min-height: 100vh; background: var(--bg); padding: 52px 24px 70px; }
.bz-hub-inner { max-width: 1060px; margin: 0 auto; }
.bz-hub-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.bz-hub-head .lg { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--accent), #9f67f5); display: grid; place-items: center; font-size: 25px; }
.bz-hub-head h1 { font-size: 24px; font-weight: 720; margin: 0; }
.bz-hub-head .sub { font-size: 13px; color: var(--ink-3); }
.bz-hub-lead { font-size: 14px; color: var(--ink-2); margin: 14px 0 34px; max-width: 46em; line-height: 1.6; }
.bz-hub-seclbl { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin: 30px 0 14px; }
.bz-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bz-hub-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-decoration: none; color: inherit; transition: border-color .14s, box-shadow .14s, transform .14s; }
.bz-hub-card:hover { border-color: #d6d2ef; box-shadow: 0 10px 30px rgba(80,60,160,.1); transform: translateY(-2px); }
.bz-hub-card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.bz-hub-card h3 { margin: 0 0 5px; font-size: 15px; font-weight: 660; }
.bz-hub-card p { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }
.bz-hub-card .plat { display: inline-flex; gap: 6px; margin-top: 13px; }
.bz-hub-card .plat span { font-size: 10.5px; color: var(--ink-2); background: #f0f1f4; border-radius: 6px; padding: 2px 8px; }

/* ---------- 后台外壳补充：顶栏管理员区 ---------- */
.bz-admin-user { display: inline-flex; align-items: center; gap: 9px; padding: 4px 6px 4px 4px; border-radius: 9px; }
.bz-admin-user:hover { background: #f5f6f8; }
.bz-admin-user .nm { font-size: 12.5px; font-weight: 600; }
.bz-admin-user .ro { font-size: 10.5px; color: var(--ink-3); }

/* mini stat row inside corecard */
.bz-corefoot { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.bz-corefoot .up { color: var(--up); font-weight: 600; }
.bz-corefoot .down { color: var(--down); font-weight: 600; }

/* record list */
.bz-rec { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.bz-rec:last-child { border-bottom: none; }
.bz-rec .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; flex: none; }
.bz-rec .ic.open { background: var(--up-soft); color: #15803d; }
.bz-rec .ic.renew { background: var(--accent-soft); color: var(--accent-700); }
.bz-rec .ic.upgrade { background: #fdf0d5; color: #b45309; }
.bz-rec .bd { min-width: 0; flex: 1; }
.bz-rec .bd .t { font-size: 12.5px; font-weight: 600; }
.bz-rec .bd .s { font-size: 11px; color: var(--ink-3); }
.bz-rec .amt { font-family: var(--mono); font-weight: 680; font-size: 13.5px; white-space: nowrap; flex: none; }
.bz-rec .tm { font-size: 10.5px; color: var(--ink-3); width: 64px; text-align: right; flex: none; }

/* donut */
.bz-donut-wrap { display: flex; align-items: center; gap: 20px; }
.bz-donut-leg { display: flex; flex-direction: column; gap: 11px; }
.bz-donut-leg .row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.bz-donut-leg .row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.bz-donut-leg .row .k { color: var(--ink-2); }
.bz-donut-leg .row .v { margin-left: auto; font-family: var(--mono); font-weight: 650; }
.bz-donut-leg .row .pc { color: var(--ink-3); font-size: 11px; width: 38px; text-align: right; }

/* filter tabs above account table */
.bz-acctabs { display: flex; align-items: center; gap: 2px; }

/* ============ 任务管理 ============ */
/* task status pills */
.bz-tstat { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 550; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.bz-tstat i { width: 6px; height: 6px; border-radius: 50%; }
.bz-tstat.run { background: var(--up-soft); color: #15803d; }
.bz-tstat.run i { background: var(--up); box-shadow: 0 0 0 3px rgba(22,163,74,.16); animation: pulse 2s infinite; }
.bz-tstat.queue { background: var(--accent-soft); color: var(--accent-700); }
.bz-tstat.queue i { background: var(--accent); }
.bz-tstat.wait { background: #eef0f4; color: var(--ink-2); }
.bz-tstat.wait i { background: #9aa1ad; }
.bz-tstat.pause { background: #f0f1f4; color: var(--ink-3); }
.bz-tstat.pause i { background: #c0c5cf; }
.bz-tstat.fail { background: var(--down-soft); color: #b91c1c; }
.bz-tstat.fail i { background: var(--down); }

/* type tag */
.bz-ttype { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.bz-ttype.home { background: #e6f1fd; color: #1d6fd0; }
.bz-ttype.detail { background: #ece9fe; color: var(--accent-700); }

/* target cell */
.bz-task-target { display: flex; align-items: center; gap: 10px; }
.bz-task-target .nm { font-weight: 650; font-size: 13px; }
.bz-task-target .sub { font-size: 10.5px; color: var(--ink-3); }
.bz-task-target .sub .mono { font-size: 10.5px; }
.bz-task-owner { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.bz-task-owner .nm { font-weight: 600; font-size: 12.5px; }
.bz-task-typecell { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.bz-task-typecell .mt { font-size: 10.5px; color: var(--ink-3); }
.bz-freq { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.bz-freq .rush { font-size: 9.5px; font-weight: 700; color: #b91c1c; background: var(--down-soft); border-radius: 4px; padding: 1px 5px; }

.bz-runline { display: flex; align-items: center; gap: 8px; }
.bz-runline .pct { font-size: 11px; color: var(--ink-2); width: 32px; text-align: right; flex: none; }
.bz-eta { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.bz-eta.fail { color: var(--down); }

/* ---- 调度规则 ---- */
.bz-rules-intro { display: flex; align-items: flex-start; gap: 14px; background: linear-gradient(120deg, var(--accent-soft), #fff 70%); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.bz-rules-intro .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 19px; flex: none; }
.bz-rules-intro .bd { flex: 1; min-width: 0; }
.bz-rules-intro h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 680; }
.bz-rules-intro p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; max-width: 60em; }

.bz-rule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.bz-rule-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; }
.bz-rule-card .rc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.bz-rule-card .rc-head h3 { margin: 0; font-size: 14px; font-weight: 660; flex: 1; min-width: 0; }
.bz-rule-card .rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 14px; background: #fafbfc; border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 13px; }
.bz-rule-card .rc-cell { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
.bz-rule-card .rc-cell .k { font-size: 10.5px; color: var(--ink-3); }
.bz-rule-card .rc-cell .v { font-size: 12.5px; color: var(--ink); }
.bz-rule-card .rc-desc { font-size: 12px; color: var(--ink-2); line-height: 1.6; margin: 12px 0; flex: 1; }
.bz-rule-card .rc-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.bz-rule-card .rc-foot .apply { font-size: 11.5px; color: var(--ink-3); }
.bz-rule-card .rc-foot .apply b { color: var(--ink); font-weight: 650; }
.bz-rule-card .rc-edit { margin-left: auto; font-size: 12px; color: var(--accent-700); background: var(--accent-soft); border: none; border-radius: 7px; padding: 5px 12px; font-weight: 550; }
.bz-rule-card .rc-edit:hover { background: var(--accent-soft-2); }

/* ---- 时间轴 ---- */
.bz-tl { position: relative; padding-top: 26px; }
.bz-tl-axis { position: absolute; top: 0; left: 176px; right: 0; height: 18px; }
.bz-tl-axis span { position: absolute; transform: translateX(-50%); font-size: 10px; color: var(--ink-3); font-family: var(--mono); }
.bz-tl-now { position: absolute; top: 18px; bottom: 8px; width: 0; border-left: 2px dashed var(--accent); z-index: 3; }
.bz-tl-now i { position: absolute; top: -4px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.bz-tl-lane { display: flex; align-items: center; gap: 0; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.bz-tl-lane:last-child { border-bottom: none; }
.bz-tl-label { width: 176px; flex: none; display: flex; align-items: center; gap: 9px; padding-right: 14px; }
.bz-tl-label .dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.bz-tl-label b { font-size: 12.5px; font-weight: 620; display: block; }
.bz-tl-label span { font-size: 10.5px; color: var(--ink-3); display: block; margin-top: 1px; white-space: nowrap; }
.bz-tl-label span.cnt { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bz-tl-track { position: relative; flex: 1; height: 26px; background: #fafbfc; border: 1px solid var(--line-2); border-radius: 7px; }
.bz-tl-track i { position: absolute; top: 4px; bottom: 4px; width: 2.5px; border-radius: 2px; transform: translateX(-50%); }
.bz-tl-track i.fired { box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.bz-tl-window { position: absolute; top: 0; bottom: 0; background: rgba(37,99,235,.07); border-radius: 7px; }

/* ---- 采集方式 / 频率卡 ---- */
.bz-method { display: flex; flex-direction: column; gap: 12px; }
.bz-method-row { display: flex; gap: 12px; align-items: flex-start; }
.bz-method-row .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; flex: none; }
.bz-method-row .ic.phone { background: #e6f1fd; }
.bz-method-row .ic.pc { background: var(--accent-soft); }
.bz-method-row .bd b { font-size: 13px; font-weight: 640; display: block; margin-bottom: 2px; }
.bz-method-row .bd span { font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.bz-freqcard { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.bz-freqcard:last-child { border-bottom: none; }
.bz-freqcard.ghost { opacity: .65; }
.bz-freqcard .d { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.bz-freqcard .bd { flex: 1; }
.bz-freqcard .bd b { font-size: 12.5px; font-weight: 620; display: block; }
.bz-freqcard .bd span { font-size: 11px; color: var(--ink-3); }
.bz-freqcard .n { font-weight: 700; color: var(--ink-2); font-size: 14px; }

/* ---- 任务抽屉 ---- */
.bz-td-status { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; background: #fafbfc; border: 1px solid var(--line-2); }
.bz-td-status.run { background: var(--up-soft); border-color: #cfeAD6; }
.bz-td-status.fail { background: var(--down-soft); border-color: #f3c0c0; }
.bz-td-status .left { display: flex; align-items: center; gap: 8px; }
.bz-td-status .prog { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bz-td-status .prog .mono { font-size: 12px; font-weight: 600; }
.bz-td-status .eta { margin-left: auto; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.bz-td-sec { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin: 0 0 9px; display: flex; align-items: center; gap: 8px; }
.bz-td-sec .cnt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-3); }
.bz-runlog { display: flex; flex-direction: column; }
.bz-runlog-row { display: flex; align-items: center; gap: 11px; padding: 9px 2px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.bz-runlog-row:last-child { border-bottom: none; }
.bz-runlog-row .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.bz-runlog-row .dot.ok { background: var(--up); }
.bz-runlog-row .dot.bad { background: var(--down); }
.bz-runlog-row .tm { color: var(--ink-3); width: 72px; flex: none; }
.bz-runlog-row .it { flex: 1; color: var(--ink); }
.bz-runlog-row .ms { color: var(--ink-3); font-size: 11px; }
.bz-runlog-row.fail .it { color: var(--down); }
