/* ==========================================================================
   KunClient 控制台 · 方向 A「仪器稿」
   --------------------------------------------------------------------------
   唯一视觉口径：docs/ui-instrument-2026-11.md（令牌值逐字照抄，改这里必须同步那边）。
   原型：tmp/redesign/dir-a.html 的 #con 二屏。

   一句话：把界面做成一台被拆开的仪器 —— 纸白底、0 圆角、2px 实线框、
   等宽字标注、酸性黄只用来标「活着的状态」。不靠阴影分层，靠线和留白分层。

   本文件是**单一浅色主题**：没有 data-theme，没有深色令牌，没有主题切换。
   ========================================================================== */

/* ── 0. 令牌 ───────────────────────────────────────────────────────────── */
:root {
  /* 🔴 2026-11-17 v7「与客户端一致」：令牌逐条复制自
     src/cpp/ui/theme/ThemeManager.cpp 的 kLightTokens。
     官网 src/app/globals.css 用同一套值 —— 改这里必须同步两边，
     并先对 ThemeManager.cpp 确认，不要自己配颜色。 */

  /* 面 */
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-3: #f1f4f8;

  /* 线 */
  --border: #e4e7ec;
  --border-subtle: #eef1f5;
  --line-strong: #d0d5dd;

  /* 字 */
  --text: #0f172a;
  --text-muted: #475467;
  --text-faint: #667085;
  --text-disabled: #98a2b3;

  /* 强调 */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-subtle: #eff4ff;
  --accent-text: #ffffff;

  /* 语义 */
  --success: #087443;
  --success-bg: #ecfdf3;
  --warning: #b54708;
  --warning-bg: #fffaeb;
  --danger: #b42318;
  --danger-bg: #fef3f2;

  /* 圆角：客户端红线只有 4 / 8，外加胶囊 */
  --r-sm: 4px;
  --r: 8px;
  --r-pill: 999px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, .08), 0 2px 4px -2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 20px 40px -12px rgba(16, 24, 40, .16), 0 8px 16px -8px rgba(16, 24, 40, .08);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --fast: .16s;

  --topbar: 52px;
  --rail-w: 212px;
  --rail-w-min: 60px;
  --row: 36px;

  color-scheme: light;
}

/* ── 1. 基础 ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 13px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--text); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--border); outline-offset: 1px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--text); width: 14px; height: 14px; vertical-align: -2px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--border-subtle); border: 2px solid var(--surface-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); border-color: var(--surface-alt); }

/* 网点底纹：只用仪器面板内部，不铺整页 */

/* ── 2. 仪器语汇：标签 / 面板 / 数值 ───────────────────────────────────── */
.tag {
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tag::before { content: ""; width: 18px; height: 2px; background: var(--border); }

.panel {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
}
.panel + .panel { margin-top: 16px; }
.panel-h {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  min-height: 38px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.panel-h .ht { flex: 1 1 auto; min-width: 0; }
.panel-h .t { font-size: 13px; font-weight: 650; line-height: 1.4; }
.panel-h .d {
  margin-top: 3px;
  max-width: 88ch;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-muted);
}
.panel-h .d b, .panel-h .d strong { color: var(--text); }
.panel-h .h-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.panel-b { padding: 16px; }
.panel-b.flush { padding: 0; }
.panel-b.tight { padding: 12px 16px; }
.panel-f {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}

/* 提示条：左 3px 色条 + paper-2 底，不用圆角不用阴影 */
.callout {
  border-radius: var(--r);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-left-width: 4px;
  background: var(--surface-alt);
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}
.callout svg { flex: 0 0 auto; margin-top: 1px; color: var(--text); }
.callout b { color: var(--text); }
.callout.warn { border-left-color: var(--danger); }
.callout.bad { border-left-color: var(--danger); }
.callout .mono { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--text); user-select: all; }

.notice {
  border-radius: var(--r);
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-alt);
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── 3. 外壳骨架 ───────────────────────────────────────────────────────── */
.app {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}
html[data-rail="min"] .app { grid-template-columns: var(--rail-w-min) minmax(0, 1fr); }

/* 侧栏 */
.rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface-alt);
  border-right: 2px solid var(--border);
}
.rail-h {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--topbar);
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
  overflow: hidden;
}
.rail-h .brand {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.rail-h .brand i { font-style: normal; font-weight: 400; color: var(--text-muted); }
.rail-h .tt {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--text-faint);
  white-space: nowrap;
}
.rail-scroll { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 8px 0 14px; }
.rail-sec { padding: 10px 0 2px; }
.rail-lab {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 16px 6px;
  white-space: nowrap;
}
.rail-i {
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  text-align: left;
  white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.rail-i:hover { background: var(--bg); color: var(--text); }
.rail-i.on {
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  border-left-color: var(--text);
}
.rail-i .g {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
}
.rail-foot {
  flex: 0 0 auto;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
}
.rail-btns { display: flex; gap: 6px; }
.rail-foot .ib {
  border-radius: var(--r-sm);
  width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: background var(--fast), color var(--fast);
}
.rail-foot .ib:hover { background: var(--bg); color: var(--text); }
.rail-foot .ib svg { width: 14px; height: 14px; }
.rail-ver {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-rail="min"] .rail-ver { display: none; }

/* 收起态：只留字母方块，标签变分隔线 */
html[data-rail="min"] .rail-h { justify-content: center; padding: 0 8px; }
html[data-rail="min"] .rail-h .brand,
html[data-rail="min"] .rail-h .tt { display: none; }
html[data-rail="min"] .rail-i { justify-content: center; padding: 8px 0; border-left-width: 3px; }
html[data-rail="min"] .rail-i .lb { display: none; }
html[data-rail="min"] .rail-lab {
  height: 2px;
  padding: 0;
  margin: 8px 10px;
  background: var(--border-subtle);
  color: transparent;
  overflow: hidden;
  font-size: 0;
}
html[data-rail="min"] .rail-foot { flex-direction: column; align-items: center; }

/* 顶栏 */
.cmain { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ctop {
  flex: 0 0 auto;
  height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
}
.crumb b { color: var(--text); font-weight: 650; }
.crumb .sep { color: var(--border-subtle); }
.ctop .sp { flex: 1 1 auto; }

.searchbox {
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 212px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  transition: background var(--fast), color var(--fast);
}
.searchbox:hover { background: var(--surface); color: var(--text-muted); }
.searchbox svg { flex: 0 0 auto; }
.searchbox .sp { flex: 1 1 auto; }
.kbd {
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1;
  white-space: nowrap;
}
.who {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px 0 4px;
  border: 1px solid transparent;
  transition: border-color var(--fast), background var(--fast);
}
.who:hover { border-color: var(--border); background: var(--bg); }
.who .who-tx { min-width: 0; display: block; }
.who .nm {
  display: block;
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
}
.who .rl {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--text-faint);
  line-height: 1.3;
  text-align: left;
}
.av {
  border-radius: var(--r-sm);
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--accent);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  user-select: none;
}
.av.lg { width: 46px; height: 46px; font-size: 17px; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 内容区 */
.view { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; }
.view-inner { max-width: 1440px; margin: 0 auto; padding: 22px 24px 40px; }

.phead { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.phead > div { min-width: 0; }
.phead h1 { font-size: 28px; font-weight: 650; letter-spacing: -.02em; line-height: 1.05; }
.phead .sub { margin-top: 7px; font-size: 12.5px; color: var(--text-faint); max-width: 84ch; }
.phead .sub b { color: var(--text-muted); }
.phead .sp { flex: 1 1 auto; }
.phead .actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding-bottom: 2px; }

/* ── 4. 按钮四角色 ─────────────────────────────────────────────────────── */
.btn {
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }
.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 13px; height: 13px; flex: 0 0 auto; }
.btn.solid { background: var(--accent); color: var(--accent-text); }
.btn.acid { background: var(--accent); color: var(--text); }
.btn.ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.btn.ghost:hover { text-decoration: underline; transform: none; box-shadow: none; }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { box-shadow: var(--shadow-sm); transform: translate(-1px, -1px); }
.btn.sm { height: 26px; padding: 0 9px; font-size: 12px; box-shadow: var(--shadow-sm); }
.btn.sm:hover { box-shadow: var(--shadow-sm); }
.btn.sm.danger:hover { box-shadow: var(--shadow-sm); }
.btn.sm.ghost { box-shadow: none; }
.btn.wide { width: 100%; height: 34px; }
.btn.icon { width: 30px; padding: 0; }
.btn.icon.sm { width: 26px; }

.link-btn {
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border-subtle);
}
.link-btn:hover { color: var(--text); border-bottom-color: var(--border); text-decoration: none; }

/* ── 5. 表单 ───────────────────────────────────────────────────────────── */
.field { margin-bottom: 13px; }
.field:last-child { margin-bottom: 0; }
.field > label, .label {
  display: block;
  margin-bottom: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.label .opt, .field label .opt { font-weight: 400; color: var(--text-faint); }

.input, .select, .textarea {
  border-radius: var(--r-sm);
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  outline: none;
  min-width: 0;
  transition: box-shadow var(--fast), background var(--fast), border-color var(--fast);
}
.textarea { height: auto; min-height: 88px; padding: 8px 9px; line-height: 1.6; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:hover, .select:hover, .textarea:hover { background: var(--bg); }
.input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 2px var(--accent); background: var(--surface); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--surface-alt); color: var(--text-faint); cursor: not-allowed; }
.select {
  border-radius: var(--r-sm);
  appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 12px;
}
.input.mono { font-family: var(--mono); font-size: 12px; }
.input.narrow { width: 110px; }
.hint { margin-top: 5px; font-size: 11.5px; line-height: 1.55; color: var(--text-faint); }
.hint b { color: var(--text-muted); }

.form-error {
  display: none;
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid var(--danger);
  border-left-width: 4px;
  background: var(--surface-alt);
  color: var(--danger);
  font-size: 12px;
  line-height: 1.55;
}
.form-error.on { display: block; }
.form-error.ok { border-color: var(--border); color: var(--text); }
.form-error.ok::before { content: "OK / "; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  cursor: pointer;
}
.check input { flex: 0 0 auto; margin: 1px 0 0; }
.check a { color: var(--text); border-bottom: 1.5px solid var(--border-subtle); }
.check a:hover { border-bottom-color: var(--border); text-decoration: none; }
.check strong { color: var(--text); font-weight: 650; }

/* 开关：方块滑块，不用圆角 */
.sw {
  border-radius: var(--r-pill);
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 20px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  transition: background var(--fast) var(--ease);
}
.sw::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 17px;
  height: 100%;
  background: var(--surface);
  border-right: 1px solid var(--border);
  transition: transform var(--fast) var(--ease);
}
.sw.on { background: var(--accent); }
.sw.on::after {
  transform: translateX(17px);
  border-right: 0;
  border-left: 1px solid var(--border);
}
.sw:disabled { opacity: .45; cursor: not-allowed; }

/* 设置行：左说明右开关 */
.set-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.set-row:first-child { padding-top: 0; }
.set-row:last-child { border-bottom: 0; padding-bottom: 0; }
.set-row .t { font-size: 12.5px; font-weight: 650; }
.set-row .d { margin-top: 2px; font-size: 11.5px; line-height: 1.55; color: var(--text-muted); max-width: 78ch; }
.set-row .d b { color: var(--text); }

/* ── 6. 读数条（stats）───────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.stat {
  border-radius: var(--r);
  min-width: 0;
  padding: 12px 16px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stat .k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat .v {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat .v.sm { font-family: var(--font); font-size: 13px; font-weight: 650; margin-top: 9px; }
.stat .v.mono { font-size: 15px; }
.stat .v.ok { background: var(--accent); display: inline-block; padding: 0 5px; }
.stat .v.bad { color: var(--danger); }
.stat .v.warn { color: var(--text); }

/* ── 7. 表格 ───────────────────────────────────────────────────────────── */
.tbl-wrap { width: 100%; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 14px;
  text-align: left;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.tbl td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--bg); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.mono { font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); }
.tbl .cell-actions { display: flex; align-items: center; gap: 5px; justify-content: flex-end; }
.tbl .muted { color: var(--text-faint); }
.tbl.compact td { padding: 5px 12px; }
.tbl td.wrap { white-space: normal; }

/* ── 8. 徽标 ───────────────────────────────────────────────────────────── */
.badge {
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 6px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: nowrap;
}
.badge.ok, .badge.acid { border-color: transparent; background: var(--success-bg); color: var(--success); }
.badge.bad, .badge.rust { border-color: transparent; background: var(--danger-bg); color: var(--danger); }
.badge.warn { border-color: transparent; background: var(--warning-bg); color: var(--warning); }
.badge.info { border-color: transparent; background: var(--accent-subtle); color: var(--accent); }
.badge.outline { border-color: var(--border); color: var(--text-muted); }
.badge .dot { width: 5px; height: 5px; flex: 0 0 auto; background: currentColor; }

/* ── 9. 筛选 chips / 工具条 ────────────────────────────────────────────── */
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .grow { flex: 1 1 200px; min-width: 150px; }
.toolbar .sp { flex: 1 1 auto; }

.chips { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--surface); }
.chip {
  border-radius: var(--r-sm);
  height: 26px;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-right: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.chip:last-child { border-right: 0; }
.chip:hover { background: var(--bg); color: var(--text); }
.chip.on { background: var(--accent); color: var(--accent-text); }

/* ── 10. 列表项（反馈 / 告警 / 申诉 / 日志）───────────────────────────── */
.item {
  border-radius: var(--r); padding: 13px 16px; border-bottom: 1px solid var(--border-subtle); }
.item:last-child { border-bottom: 0; }
.item:hover { background: var(--bg); }
.item-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.item-h b { font-size: 12.5px; font-weight: 650; }
.item-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); }
.item-meta .sep { margin: 0 5px; color: var(--border-subtle); }
.item-b {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
}
.item-reply {
  border-radius: var(--r-sm);
  margin-top: 8px;
  padding: 8px 10px;
  border-left: 2px solid var(--border);
  background: var(--surface-alt);
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  white-space: pre-wrap;
}
.item-foot { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); }
.item-actions { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* ── 11. 空态 / 加载 ───────────────────────────────────────────────────── */
.empty {
  border-radius: var(--r);
  padding: 34px 16px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-faint);
  background: var(--surface-alt);
}
.empty svg { display: block; margin: 0 auto 9px; width: 22px; height: 22px; color: var(--text-muted); }
.empty b { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 650; color: var(--text-muted); }

.skeleton {
  display: block;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--border-subtle) 0 6px, transparent 6px 12px);
  animation: sk 1.1s steps(6) infinite;
}
@keyframes sk { to { background-position: 12px 0; } }

/* ── 12. Toast ─────────────────────────────────────────────────────────── */
.toasts {
  position: fixed;
  top: 58px;
  right: 16px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-left-width: 5px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  animation: toast-in .16s var(--ease);
  pointer-events: auto;
}
.toast.out { animation: toast-out .16s var(--ease) forwards; }
.toast .ic { flex: 0 0 auto; margin-top: 1px; color: var(--text-faint); }
.toast .ic svg { display: block; }
.toast.ok { border-left-color: var(--accent); }
.toast.ok .ic { color: var(--text); }
.toast.err { border-left-color: var(--danger); }
.toast.err .ic { color: var(--danger); }
.toast.warn { border-left-color: var(--text); }
@keyframes toast-in { from { opacity: 0; transform: translateX(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(8px); } }

/* ── 13. 弹窗 ─────────────────────────────────────────────────────────── */
.mask {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 7vh 18px 24px;
  background: rgba(18, 20, 15, .45);
  overflow-y: auto;
  animation: fade .14s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.modal {
  border-radius: var(--r);
  width: 580px;
  max-width: 100%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  animation: modal-in .16s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(6px); } }
.modal.wide { width: 780px; }
.modal.narrow { width: 430px; }
.modal-h {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.modal-h .t { font-size: 13px; font-weight: 650; }
.modal-h .x { margin-left: auto; }
.modal-b { flex: 1 1 auto; padding: 16px; overflow-y: auto; }
.modal-f {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}
.modal-f .sp { flex: 1 1 auto; }

.icon-btn {
  border-radius: var(--r-sm);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid transparent;
  color: var(--text-muted);
  transition: background var(--fast), border-color var(--fast), color var(--fast);
}
.icon-btn:hover { border-color: var(--border); background: var(--bg); color: var(--text); }
.icon-btn svg { width: 15px; height: 15px; }

/* 弹窗内小节 */
.sec { padding: 13px 0; border-bottom: 1px solid var(--border-subtle); }
.sec:first-child { padding-top: 0; }
.sec:last-child { border-bottom: 0; padding-bottom: 0; }
.sec > .t {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sec .cur { font-size: 12px; line-height: 1.75; color: var(--text-muted); }
.sec .cur b { color: var(--text); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; font-size: 12px; }
.kv dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--text-faint); padding-top: 2px; }
.kv dd { color: var(--text-muted); }

.code-block {
  border-radius: var(--r);
  margin: 0;
  padding: 9px 11px;
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--border);
  background: var(--bg);
  font: 11.5px/1.6 var(--mono);
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-all;
}

/* ── 14. 命令面板 ─────────────────────────────────────────────────────── */
.palette-mask { align-items: flex-start; padding-top: 12vh; }
.palette {
  border-radius: var(--r);
  width: 580px;
  max-width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  animation: modal-in .14s var(--ease);
}
.palette-input {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.palette-input svg { flex: 0 0 auto; color: var(--text-faint); }
.palette-input input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 13.5px;
  color: var(--text);
}
.palette-list { max-height: 52vh; overflow-y: auto; padding: 6px; }
.palette-group {
  padding: 8px 8px 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.palette-item {
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 34px;
  padding: 0 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: left;
}
.palette-item svg { flex: 0 0 auto; opacity: .8; }
.palette-item .hint { margin: 0 0 0 auto; font-size: 10.5px; color: var(--text-faint); }
.palette-item:hover { background: var(--bg); }
.palette-item.sel { background: var(--accent-subtle); color: var(--accent); }
.palette-item.sel .hint { color: var(--surface-alt); }
.palette-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: var(--text-faint);
}
.palette-foot .sp { flex: 1 1 auto; }

/* ── 15. 下拉菜单 ─────────────────────────────────────────────────────── */
.menu {
  position: fixed;
  z-index: 180;
  min-width: 190px;
  padding: 3px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  animation: modal-in .12s var(--ease);
}
.menu-item {
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 30px;
  padding: 0 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: left;
}
.menu-item:hover { background: var(--bg); color: var(--text); }
.menu-item svg { flex: 0 0 auto; opacity: .8; }
.menu-item.danger { color: var(--danger); }
.menu-sep { height: 1px; margin: 3px 2px; background: var(--border-subtle); }

/* ── 16. 登录 ─────────────────────────────────────────────────────────── */
.login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 24px;
  background: var(--bg);
}
.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 52px;
  width: 100%;
  max-width: 980px;
  align-items: center;
}
.login-side { min-width: 0; }
.login-side .brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.login-side .brand i { font-style: normal; font-weight: 400; color: var(--text-muted); }
.login-side .tagline {
  margin-top: 22px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.login-side .lede {
  margin-top: 14px;
  max-width: 36em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}
.spec { margin-top: 28px; border-top: 1px solid var(--border); }
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
}
.spec-row .k {
  flex: 0 0 auto;
  width: 84px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.spec-row .v { color: var(--text-muted); }
.login-side .foot { margin-top: 20px; font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); }

.login-card {
  border-radius: var(--r);
  padding: 26px 24px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.login-card h2 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.login-card .sub { margin-top: 4px; font-size: 12px; color: var(--text-faint); }
.login-card .tabs { margin: 16px 0 15px; }
.login-card .tabs .chips { width: 100%; }
.login-card .tabs .chip { flex: 1 1 0; text-align: center; height: 28px; }
.login-card .btn.wide { margin-top: 4px; }
.login-card .back { margin-top: 12px; text-align: center; font-size: 12px; }
.login-ver {
  margin-top: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.login-legal { margin-top: 8px; display: flex; justify-content: center; gap: 14px; font-size: 11px; }
.login-legal a { color: var(--text-faint); border-bottom: 1px solid transparent; }
.login-legal a:hover { color: var(--text-muted); border-bottom-color: var(--border-subtle); text-decoration: none; }

/* ── 17. 订阅页 ───────────────────────────────────────────────────────── */
.sub-hero {
  border-radius: var(--r);
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left-width: 6px;
  background: var(--surface);
}
.sub-hero.on { border-left-color: var(--accent); }
.sub-hero.bad { border-left-color: var(--danger); }
.sub-hero-main { flex: 1 1 auto; min-width: 0; }
.sub-hero .badge { margin-bottom: 10px; }
.sub-title { font-size: 21px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.sub-meta { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
.sub-note { margin-top: 10px; max-width: 82ch; font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.sub-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.sub-hero-side {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-left: 20px;
  border-left: 1px solid var(--border-subtle);
}
.sub-big { min-width: 104px; text-align: center; }
.sub-big b {
  display: block;
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.sub-big span {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sub-big.muted b { color: var(--text-faint); }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 16px; }
.plan-card {
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.plan-card.rec { box-shadow: var(--shadow-sm); }
.plan-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.plan-top .badge { margin-left: auto; }
.plan-name {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.plan-price b {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 680;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--text-faint); }
.plan-sub { margin-top: 7px; min-height: 17px; font-size: 11.5px; color: var(--text-faint); }
.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}
.plan-feats li { display: flex; align-items: center; gap: 7px; }
.plan-feats svg { flex: 0 0 auto; color: var(--text); }
.plan-card .btn.wide { margin-top: 16px; }
.sub-trial .big {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.03em;
  color: var(--text);
}

.progress {
  display: block;
  height: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.progress i { display: block; height: 100%; background: var(--accent); border-right: 2px solid var(--border); }

/* ── 18. 工具类 ───────────────────────────────────────────────────────── */
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.row.nowrap > .input,
.row.nowrap > .select { flex: 1 1 auto; }
.col { display: flex; flex-direction: column; gap: 8px; }
.sp { flex: 1 1 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.grid-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split > div { min-width: 0; }
.muted { color: var(--text-faint); }
.dim { color: var(--text-muted); }
.small { font-size: 11.5px; }
.strong { font-weight: 650; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.break { word-break: break-all; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.hr { height: 2px; background: var(--border-subtle); margin: 14px 0; }

/* ── 19. 响应式 ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .login-shell { grid-template-columns: 1fr 380px; gap: 32px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.even { grid-template-columns: minmax(0, 1fr); }
  .grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .login-side { display: none; }
  .login-shell { grid-template-columns: minmax(0, 400px); justify-content: center; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: var(--rail-w-min) minmax(0, 1fr); }
  .rail-h { justify-content: center; padding: 0 8px; }
  .rail-h .brand, .rail-h .tt { display: none; }
  .rail-i { justify-content: center; padding: 8px 0; }
  .rail-i .lb { display: none; }
  .rail-lab { height: 2px; padding: 0; margin: 8px 10px; background: var(--border-subtle); color: transparent; overflow: hidden; font-size: 0; }
  .rail-foot { flex-direction: column; align-items: center; }
  .view-inner { padding: 16px 14px 32px; }
  .phead { flex-wrap: wrap; align-items: flex-start; }
  .phead .actions { margin-left: auto; }
  .searchbox { min-width: 0; }
  .searchbox .lb, .searchbox .kbd { display: none; }
}
@media (max-width: 720px) {
  .grid-form { grid-template-columns: minmax(0, 1fr); }
  .sub-hero { flex-direction: column; gap: 14px; }
  .sub-hero-side { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--border-subtle); }
  .sub-big { text-align: left; }
  .sub-big b { display: inline; margin-right: 6px; font-size: 28px; }
  .sub-big span { display: inline; }
  .who .nm, .who .rl { display: none; }
  .crumb { display: none; }
  .panel-h { flex-wrap: wrap; }
  .panel-h .h-actions { margin-left: 0; width: 100%; }
  .input.narrow { width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================
   登录页视觉打磨（2026-11-21）
   与官网 kLightTokens 同源：浅色 / 4-8px 圆角 / 克制阴影 / 细边框
   仅覆盖登录页，不影响登录后工作台。
   ============================================================ */
.login {
  background:
    radial-gradient(1100px 520px at 12% 6%, #eef4ff 0%, rgba(238,244,255,0) 60%),
    radial-gradient(900px 520px at 92% 92%, #f0fdf4 0%, rgba(240,253,244,0) 55%),
    var(--bg);
}
.login-shell { gap: 72px; max-width: 1040px; }

/* 品牌：加 logo 图形 */
.login-side .brand {
  font-size: 22px;
  letter-spacing: -.02em;
}
.login-side .brand::before {
  content: "";
  display: inline-block;
  width: 26px; height: 26px;
  margin-right: 10px;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
  vertical-align: middle;
}
.login-side .brand::after {
  content: "";
  position: absolute;
  left: 10px; top: 8px;
  width: 12px; height: 11px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: skewY(-28deg);
  pointer-events: none;
}

/* 标题：更醒目、不压缩中文字距 */
.login-side .tagline {
  margin-top: 28px;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--text);
}
.login-side .tagline br { display: block; }
.login-side .lede {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 34em;
}

/* 规格表：更像「读数列表」 */
.spec { margin-top: 34px; }
.spec-row { padding: 11px 0; font-size: 12.5px; }
.spec-row .k { width: 92px; font-size: 9.5px; letter-spacing: .1em; }
.spec-row .v { color: var(--text); font-weight: 500; }

/* 卡片：顶部蓝色细条 + 更精致阴影 */
.login-card {
  position: relative;
  padding: 30px 28px 22px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 28px -12px rgba(16,24,40,.14);
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #60a5fa 100%);
}
.login-card h2 { font-size: 21px; font-weight: 700; letter-spacing: 0; }
.login-card .sub { margin-top: 6px; font-size: 12.5px; }

/* 标签页 */
.login-card .tabs { margin: 22px 0 18px; }
.login-card .tabs .chip { height: 32px; font-size: 12.5px; font-weight: 600; }

/* 表单 */
.login-card .field { margin-bottom: 16px; }
.login-card .field > label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.login-card .input {
  height: 40px;
  font-size: 13px;
  border-radius: 4px;
}
.login-card .input:focus { box-shadow: 0 0 0 3px rgba(37,99,235,.14); }

/* 主按钮 */
.login-card .btn.wide {
  height: 42px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 4px 12px -4px rgba(37,99,235,.5);
}
.login-card .btn.wide:hover { box-shadow: 0 6px 16px -6px rgba(37,99,235,.6); }

/* 版本号与法务链接 */
.login-ver { margin-top: 18px; font-size: 10px; }
.login-legal { margin-top: 10px; gap: 18px; }

@media (max-width: 860px) {
  .login-shell { grid-template-columns: 1fr; gap: 28px; max-width: 440px; }
  .login-side .tagline { font-size: 30px; }
}

/* logo：用站点真实 logo 替换纯色方块 */
.login-side .brand::before {
  content: none;
}
.login-side .brand::after {
  content: none;
}
.login-side .brand {
  padding-left: 34px;
  position: relative;
}
.login-side .brand > b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: url('/logo.png') center/contain no-repeat;
}
