:root {
  --bg: #f4f6fb;
  --card: #fff;
  --text: #151922;
  --muted: #5d6a83;
  --line: #e4e9f2;
  --accent: #0f766e;
  --accent2: #0d9488;
  --danger: #e11d48;
  --ok: #059669;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(800px 360px at 10% -10%, rgba(13,148,136,.18), transparent 55%),
    linear-gradient(180deg, #f8fffe, var(--bg));
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
.bh-shell { max-width: 1100px; margin: 0 auto; padding: 20px 16px 48px; }
.bh-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.bh-brand { font-weight: 800; color: var(--accent); font-size: 18px; }
.bh-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.bh-nav a, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 650;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer;
}
.bh-nav a.active, .btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border-color: transparent;
}
.btn.outline { background: #fff; }
.btn.dark { background: #134e4a; color: #fff; border-color: #134e4a; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; margin-bottom: 14px; box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; }
.stat { padding: 14px; border-radius: 14px; background: #f0fdfa; border: 1px solid #ccfbf1; }
.stat .num { font-size: 22px; font-weight: 800; }
.stat .label { color: var(--muted); font-size: 12px; margin-top: 4px; }
.muted { color: var(--muted); }
.err { color: var(--danger); }
.ok-box, .done-box, .bal-box, .plan-box {
  border-radius: 14px; padding: 14px; margin: 12px 0; border: 1px solid var(--line);
}
.bal-box.ok { background: #ecfdf5; border-color: #a7f3d0; }
.bal-box.low { background: #fff7ed; border-color: #fed7aa; }
.ok-box { background: #ecfdf5; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 12px; }
.plan-pick {
  text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  background: #fff; cursor: pointer;
}
.plan-pick:hover { border-color: var(--accent); }
.plan-pick .price { font-size: 22px; font-weight: 800; margin: 8px 0 4px; color: var(--accent); }
.fee-line { font-size: 12px; color: var(--muted); }
.bh-saas-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.bh-saas { width: min(520px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.bh-saas.wide { width: min(860px, 100%); }
.bh-saas .brand { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: 8px; }
.bh-saas h1 { margin: 0 0 6px; font-size: 22px; }
.bh-saas .sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.field { display: block; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.field input {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; font-size: 14px;
}
.qr { text-align: center; margin: 16px 0; }
.toast-box { position: fixed; right: 16px; bottom: 16px; z-index: 99; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #134e4a; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.toast.err { background: #be123c; }
  .login-box { width: min(400px, 100%); margin: 10vh auto; }
  .auth-tabs { display: flex; gap: 0; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
  .auth-tabs button {
    flex: 1; border: 0; background: transparent; padding: 10px 12px; font-weight: 700; font-size: 13px;
    color: var(--muted); cursor: pointer;
  }
  .auth-tabs button.active { background: var(--accent); color: #fff; }

.bh-shell.wide { max-width: 1180px; }
.bh-nav-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bh-nav.sub { gap: 6px; }
.bh-nav.sub a { padding: 6px 11px; font-size: 12px; font-weight: 600; }
.bh-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.bh-table {
  width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; background: #fff;
}
.bh-table th, .bh-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap;
}
.bh-table th { background: #f0fdfa; color: var(--muted); font-weight: 700; font-size: 12px; }
.bh-table tr:last-child td { border-bottom: 0; }
.bh-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.bh-toolbar .field { margin: 0; min-width: 140px; }
.bh-toolbar .field input, .bh-toolbar .field select {
  display: block; width: 100%; margin-top: 4px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; font-size: 13px;
}
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px;
}
.chip {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: #ccfbf1; color: #0f766e;
}

/* —— 个人中心 KYC（对齐 BilzatWork） —— */
.bw-pc .tabs { display:flex; gap:0; margin:0 0 16px; border-bottom:1px solid var(--line); }
.bw-pc .tab {
  border:0; background:transparent; padding:10px 16px; font-weight:700; font-size:14px;
  color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px;
}
.bw-pc .tab.active { color:var(--accent); border-bottom-color:var(--accent); }
.bw-pc .section-heading { font-size:16px; font-weight:800; margin:8px 0 12px; }
.bw-pc .kyc-level {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px; border-radius:10px; background:#eff6ff; border:1px solid #bfdbfe; margin-bottom:16px;
}
.bw-pc .level-title { font-weight:800; color:#1e3a8a; }
.bw-pc .level-desc { margin-top:4px; font-size:13px; color:#64748b; }
.bw-pc .badge {
  background:#2563eb; color:#fff; font-weight:800; border-radius:8px; padding:6px 10px; font-size:13px;
}
.bw-pc .block { margin-bottom:16px; }
.bw-pc .field-label { font-size:13px; font-weight:700; color:#334155; margin-bottom:8px; }
.bw-pc .field-label small { margin-left:8px; font-weight:400; color:#94a3b8; }
.bw-pc .input {
  width:100%; border:1px solid #d7dde8; border-radius:8px; padding:10px 12px; font-size:14px;
  background:#fff; box-sizing:border-box;
}
.bw-pc .input[readonly] { background:#f8fafc; }
.bw-pc .verify-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.bw-pc .verify-row .input { flex:1; min-width:180px; }
.bw-pc .verify-code-row { margin-top:8px; max-width:280px; }
.bw-pc .tag {
  display:inline-flex; align-items:center; padding:4px 8px; border-radius:6px;
  background:#fff7ed; color:#c2410c; font-size:12px; font-weight:700; white-space:nowrap;
}
.bw-pc .tag.ok { background:#ecfdf5; color:#047857; }
.bw-pc .link-btn {
  border:0; background:transparent; color:#2563eb; font-weight:700; font-size:13px; cursor:pointer; padding:4px 2px;
}
.bw-pc .verified-line { margin-top:8px; font-size:12px; color:#64748b; }
.bw-pc .hint { margin:8px 0 0; font-size:12px; color:#94a3b8; }
.bw-pc .verified-box {
  border:1px solid #e2e8f0; border-radius:10px; padding:12px 14px; background:#f8fafc; font-size:13px; line-height:1.7;
}
.bw-pc .vb-title { font-weight:800; margin-bottom:4px; }
.bw-pc .vb-tip { margin-top:6px; color:#64748b; font-size:12px; }
.bw-pc .rn-choose { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.bw-pc .rn-card {
  border:1px solid #e2e8f0; border-radius:12px; padding:14px; background:#fff;
}
.bw-pc .rn-card h4 { margin:0 0 6px; }
.bw-pc .rn-card p { margin:0 0 10px; color:#64748b; font-size:13px; }
.bw-pc .rn-card .link { color:#2563eb; font-weight:700; background:none; border:0; cursor:pointer; padding:0; }
.bw-pc .rn-panel .back {
  border:0; background:transparent; color:#2563eb; font-weight:700; cursor:pointer; padding:0; margin-bottom:8px;
}
.bw-pc .rn-panel h3 { margin:0 0 10px; }
.bw-pc .rn-panel .alert {
  background:#fff7ed; border:1px solid #fed7aa; color:#9a3412; border-radius:8px; padding:10px 12px;
  font-size:13px; margin-bottom:12px;
}
.bw-pc .rn-panel .field { display:block; margin-bottom:10px; font-size:13px; color:#64748b; }
.bw-pc .rn-panel .field span i { color:#e11d48; font-style:normal; margin-right:2px; }
.bw-pc .agree { display:flex; gap:8px; align-items:flex-start; font-size:12px; color:#475569; margin:10px 0; }
