/* ==========================================================================
   TMS × WMS 一体化对接平台 · 样式表
   设计原则：浅色清爽、信息密度适中、状态色语义一致、零框架依赖
   ========================================================================== */

:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --border: #e3e8ef;
  --border-strong: #cdd5df;
  --text: #1f2933;
  --text-2: #52606d;
  --text-3: #9aa5b1;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff4ff;
  --success: #059669;
  --success-soft: #e7f6f0;
  --warning: #d97706;
  --warning-soft: #fef4e6;
  --danger: #dc2626;
  --danger-soft: #fdecec;
  --info: #0891b2;
  --info-soft: #e6f6f9;
  --purple: #7c3aed;
  --purple-soft: #f3ecff;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 10px 24px rgba(16, 24, 40, .1);
  --sidebar-w: 216px;
  --header-h: 56px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: var(--text); }

/* ---------------- 登录页 ---------------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f7fa 45%, #ecfdf5 100%);
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.login-intro {
  padding: 44px 40px;
  background: linear-gradient(150deg, #1e3a8a 0%, #2563eb 55%, #0891b2 100%);
  color: #fff;
}
.login-intro h1 { font-size: 22px; font-weight: 650; letter-spacing: -.2px; }
.login-intro .sub { margin-top: 8px; font-size: 13px; opacity: .85; line-height: 1.7; }
.login-flow { margin-top: 26px; display: flex; flex-direction: column; gap: 9px; }
.login-flow-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; opacity: .92;
}
.login-flow-step .n {
  width: 20px; height: 20px; flex: 0 0 20px;
  border-radius: 50%; background: rgba(255, 255, 255, .2);
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
}
.login-form { padding: 44px 40px; }
.login-form h2 { font-size: 18px; font-weight: 620; }
.login-form .tip { margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.login-form .fields { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.login-accounts { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--border); }
.login-accounts .t { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.acct-list { display: flex; flex-wrap: wrap; gap: 6px; }
.acct-chip {
  padding: 4px 9px; font-size: 11.5px; border-radius: 20px;
  background: var(--primary-soft); color: var(--primary-dark);
  border: 1px solid #d3e0fd; font-family: var(--mono);
}
.acct-chip:hover { background: #dfe9fe; }

/* ---------------- 布局 ---------------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: #16233a;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.sidebar-brand {
  height: var(--header-h);
  display: flex; align-items: center; gap: 9px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.sidebar-brand .logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff;
}
.sidebar-brand .txt { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.25; }
.sidebar-brand .txt small { display: block; font-size: 10.5px; color: #7f8ea8; font-weight: 400; }

.nav { flex: 1; overflow-y: auto; padding: 10px 8px 20px; }
.nav-group-title {
  padding: 12px 10px 5px; font-size: 10.5px; font-weight: 600;
  color: #64748b; text-transform: uppercase; letter-spacing: .6px;
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 6px;
  font-size: 13px; color: #cbd5e1; cursor: pointer;
  transition: background .13s, color .13s;
}
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; font-weight: 500; }
.nav-item .ico { width: 16px; text-align: center; font-size: 13px; opacity: .9; }
.nav-item .badge {
  margin-left: auto; min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: 9px; background: var(--danger); color: #fff;
  font-size: 10.5px; font-weight: 600; display: grid; place-items: center;
}
.nav-item.active .badge { background: rgba(255, 255, 255, .28); }

.sidebar-foot {
  padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 11px; color: #64748b;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.header {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  padding: 0 20px;
  position: sticky; top: 0; z-index: 20;
}
.header h1 { font-size: 15.5px; font-weight: 620; }
.header .crumb { font-size: 12px; color: var(--text-3); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
}
.user-chip .nm { font-size: 12.5px; font-weight: 500; }
.user-chip .rl { font-size: 10.5px; color: var(--text-3); }

.content { flex: 1; padding: 18px 20px 40px; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.card-head h3 { font-size: 14px; font-weight: 620; }
.card-head .desc { font-size: 12px; color: var(--text-3); }
.card-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-body { padding: 16px; }
.card-body.tight { padding: 0; }

/* ---------------- 统计卡 ---------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary);
}
.stat.ok::after { background: var(--success); }
.stat.warn::after { background: var(--warning); }
.stat.danger::after { background: var(--danger); }
.stat.info::after { background: var(--info); }
.stat.purple::after { background: var(--purple); }
.stat .lbl { font-size: 12px; color: var(--text-2); }
.stat .val { margin-top: 4px; font-size: 23px; font-weight: 650; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.stat .val small { font-size: 12px; font-weight: 500; color: var(--text-3); margin-left: 2px; }
.stat .sub { margin-top: 3px; font-size: 11.5px; color: var(--text-3); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); font-size: 12.5px; font-weight: 500;
  transition: background .13s, border-color .13s, opacity .13s;
  white-space: nowrap;
}
.btn:hover:not(:disabled) { background: var(--surface-2); border-color: var(--text-3); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn.success { background: var(--success); border-color: var(--success); color: #fff; }
.btn.success:hover:not(:disabled) { filter: brightness(.93); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger:hover:not(:disabled) { filter: brightness(.93); }
.btn.warn { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn.warn:hover:not(:disabled) { filter: brightness(.93); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn.sm { padding: 3px 8px; font-size: 11.5px; }
.btn.lg { padding: 9px 18px; font-size: 14px; }
.btn.block { width: 100%; justify-content: center; }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid.one { grid-template-columns: 1fr; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: 11.5px; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; padding: 7px 10px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); outline: none;
  transition: border-color .13s, box-shadow .13s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
.textarea { resize: vertical; min-height: 62px; }
.input:disabled, .select:disabled { background: var(--surface-2); color: var(--text-3); }
.checkbox { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.checkbox input { width: 14px; height: 14px; accent-color: var(--primary); }

.filters {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: flex-end;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.filters .field { min-width: 132px; }
.filters .field label { font-size: 11.5px; }
.filters .spacer { flex: 1; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.tbl th {
  text-align: left; padding: 9px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 11.5px; color: var(--text-2);
  white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
table.tbl td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0f3f7;
  vertical-align: middle;
}
table.tbl tbody tr:hover { background: #f8fafc; }
table.tbl tbody tr.clickable { cursor: pointer; }
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
table.tbl .mono { font-family: var(--mono); font-size: 11.5px; }
table.tbl .nowrap { white-space: nowrap; }
table.tbl .actions { white-space: nowrap; text-align: right; }
.tbl-empty { padding: 44px 20px; text-align: center; color: var(--text-3); }
.tbl-empty .big { font-size: 30px; opacity: .35; margin-bottom: 8px; }
.tbl-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-2); background: var(--surface-2);
}
.tbl-foot .right { margin-left: auto; display: flex; gap: 6px; align-items: center; }

/* ---------------- 标签 ---------------- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 11px;
  font-size: 11px; font-weight: 500; white-space: nowrap;
  background: #eef1f5; color: var(--text-2);
}
.tag.blue { background: var(--primary-soft); color: var(--primary-dark); }
.tag.green { background: var(--success-soft); color: var(--success); }
.tag.orange { background: var(--warning-soft); color: var(--warning); }
.tag.red { background: var(--danger-soft); color: var(--danger); }
.tag.cyan { background: var(--info-soft); color: var(--info); }
.tag.purple { background: var(--purple-soft); color: var(--purple); }
.tag.gray { background: #eef1f5; color: var(--text-2); }
.tag.dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------------- 时间线 ---------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 5px; bottom: 5px;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -23px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border-strong);
}
.tl-item.done::before { background: var(--success); border-color: var(--success); }
.tl-item.current::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.tl-item.sync::before { background: var(--info); border-color: var(--info); }
.tl-item.alert::before { background: var(--danger); border-color: var(--danger); }
.tl-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-title { font-size: 13px; font-weight: 550; }
.tl-time { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }
.tl-desc { margin-top: 3px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.tl-sys { font-size: 10.5px; padding: 1px 6px; border-radius: 9px; background: #eef1f5; color: var(--text-3); }

/* ---------------- 步骤条 ---------------- */
.steps { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 6px; }
.step .n {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); color: var(--text-3);
  display: grid; place-items: center; font-size: 10.5px; font-weight: 600;
  background: var(--surface); flex: 0 0 20px;
}
.step .t { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.step.done .n { background: var(--success); border-color: var(--success); color: #fff; }
.step.done .t { color: var(--text-2); }
.step.current .n { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .13); }
.step.current .t { color: var(--primary-dark); font-weight: 600; }
.step-line { width: 26px; height: 1.5px; background: var(--border-strong); margin: 0 8px; }
.step-line.done { background: var(--success); }

/* ---------------- 模态框 ---------------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .45);
  display: grid; place-items: center; z-index: 100; padding: 24px;
  animation: fade .14s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--surface); border-radius: 10px;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 560px; max-height: 88vh;
  display: flex; flex-direction: column;
  animation: rise .16s cubic-bezier(.2, .8, .3, 1);
}
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.modal.wide { max-width: 860px; }
.modal.xwide { max-width: 1080px; }
.modal-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 15px; font-weight: 620; }
.modal-head .x {
  margin-left: auto; border: none; background: none;
  font-size: 19px; color: var(--text-3); line-height: 1; padding: 2px 6px;
}
.modal-head .x:hover { color: var(--text); }
.modal-body { padding: 18px; overflow-y: auto; flex: 1; }
.modal-foot {
  display: flex; gap: 9px; justify-content: flex-end;
  padding: 13px 18px; border-top: 1px solid var(--border);
  background: var(--surface-2);
}

/* ---------------- Toast ---------------- */
.toast-host {
  position: fixed; top: 16px; right: 16px; z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  min-width: 260px; max-width: 420px;
  padding: 11px 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); font-size: 13px;
  display: flex; align-items: flex-start; gap: 9px;
  animation: slideIn .18s cubic-bezier(.2, .8, .3, 1);
}
@keyframes slideIn { from { transform: translateX(22px); opacity: 0; } }
.toast .ic { font-size: 15px; line-height: 1.3; }
.toast.ok { border-left: 3px solid var(--success); }
.toast.err { border-left: 3px solid var(--danger); }
.toast.warn { border-left: 3px solid var(--warning); }
.toast.info { border-left: 3px solid var(--primary); }
.toast .msg { flex: 1; line-height: 1.5; }
.toast .msg b { display: block; margin-bottom: 1px; font-weight: 600; }
.toast .msg span { color: var(--text-2); font-size: 12.5px; }

/* ---------------- 明细/描述列表 ---------------- */
.dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 20px; }
.dl.one { grid-template-columns: 1fr; }
.dl.three { grid-template-columns: repeat(3, 1fr); }
.dl-item { min-width: 0; }
.dl-item .k { font-size: 11.5px; color: var(--text-3); }
.dl-item .v { font-size: 13px; font-weight: 500; margin-top: 1px; word-break: break-word; }
.dl-item .v.mono { font-family: var(--mono); }
.dl-item.full { grid-column: 1 / -1; }

.divider { height: 1px; background: var(--border); margin: 16px 0; }
.section-title {
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  margin-bottom: 10px; display: flex; align-items: center; gap: 7px;
}
.section-title::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: var(--primary); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1100px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .dl, .dl.three { grid-template-columns: 1fr; }
  .login-card { grid-template-columns: 1fr; }
  .login-intro { display: none; }
}

.progress { height: 6px; background: #eef1f5; border-radius: 3px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 3px; transition: width .3s; }
.progress.ok > i { background: var(--success); }
.progress.warn > i { background: var(--warning); }
.progress.danger > i { background: var(--danger); }

.code-block {
  font-family: var(--mono); font-size: 12px; line-height: 1.65;
  background: #16233a; color: #cbd5e1;
  padding: 13px 15px; border-radius: var(--radius);
  overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}
.code-block .k { color: #7dd3fc; }
.code-block .s { color: #86efac; }
.code-block .n { color: #fdba74; }

.muted { color: var(--text-3); }
.small { font-size: 12px; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.flex { display: flex; align-items: center; gap: 8px; }
.flex-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spacer { flex: 1; }
.txt-success { color: var(--success); }
.txt-danger { color: var(--danger); }
.txt-warning { color: var(--warning); }
.txt-primary { color: var(--primary); }

/* 提示条：用于多币种、试算说明等需要引起注意但不阻断操作的信息 */
.notice {
  padding: 10px 13px; border-radius: 7px; font-size: 12.5px; line-height: 1.65;
  border: 1px solid transparent; word-break: break-word;
}
.notice.info { background: #f0f6ff; border-color: #cfe2ff; color: #1a4a8a; }
.notice.warn { background: #fff8ec; border-color: #ffe0b2; color: #8a5300; }
.notice.ok { background: #f0faf3; border-color: #c4e9d3; color: #16663a; }
.notice b { font-weight: 600; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); padding: 0 16px; }
.tab {
  padding: 9px 14px; font-size: 13px; color: var(--text-2);
  border: none; background: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 550; }

.pager { display: flex; align-items: center; gap: 6px; }
.pager button {
  min-width: 27px; height: 27px; padding: 0 7px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 12px; color: var(--text-2);
}
.pager button:hover:not(:disabled) { background: var(--surface-2); }
.pager button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

.loading { padding: 40px; text-align: center; color: var(--text-3); }
.spinner {
  width: 22px; height: 22px; margin: 0 auto 10px;
  border: 2.5px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.help-box {
  background: var(--primary-soft); border: 1px solid #d3e0fd;
  border-radius: var(--radius); padding: 11px 14px;
  font-size: 12.5px; color: #1e3a8a; line-height: 1.65;
}
.help-box.warn { background: var(--warning-soft); border-color: #fde3b0; color: #7c4a03; }
.help-box.danger { background: var(--danger-soft); border-color: #f8c9c9; color: #991b1b; }
.help-box.ok { background: var(--success-soft); border-color: #b9e6d3; color: #065f46; }
.help-box b { font-weight: 620; }
