/* ============================================================
   中认北斗 · 具身智能产品北斗与安全测试系统
   base.css — 设计令牌 / 背景 / 壳层 / 通用组件
   配色取自《中认北斗安全检测中心有限公司-业务介绍》主色
   ============================================================ */

:root {
  --bg: #040a14;
  --bg-2: #061224;
  --bg-3: #030711;

  --panel-a: rgba(12, 29, 53, 0.86);
  --panel-b: rgba(6, 16, 32, 0.82);
  --panel-solid: #08172b;

  --line: rgba(72, 152, 255, 0.14);
  --line-2: rgba(72, 152, 255, 0.28);
  --line-3: rgba(72, 152, 255, 0.45);

  --brand: #0070c0;
  --brand-2: #1e8be8;
  --brand-3: #004f8c;
  --cyan: #38d9ff;
  --blue: #4a9bf5;
  --violet: #7b9cfe;
  --green: #2bd9a8;
  --amber: #ffb648;
  --red: #ff5d6c;
  --crit: #ff3b5c;

  --text: #e6effa;
  --text-2: #a2b8d4;
  --text-3: #6b85a3;
  --text-4: #405873;

  --glow: 0 0 24px rgba(0, 112, 192, 0.28);
  --glow-cyan: 0 0 20px rgba(56, 217, 255, 0.35);

  --font: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas,
    "Liberation Mono", monospace;
  --num: "Bahnschrift", "DIN Alternate", "Barlow", "Roboto Condensed", var(--font);

  --r: 4px;
  --sidebar-w: 234px;
  --topbar-h: 62px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
button { font-family: inherit; }
img { display: block; }

::selection { background: rgba(0, 112, 192, 0.55); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(74, 155, 245, 0.22);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(74, 155, 245, 0.42); background-clip: padding-box; }

.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.muted { color: var(--text-3); }
.dim { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 背景层 ---------- */
.bg-layers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(70, 150, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 150, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(900px) rotateX(0deg);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 82%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.bg-orb.a { width: 620px; height: 620px; left: -180px; top: -220px; background: rgba(0, 112, 192, 0.55); }
.bg-orb.b { width: 520px; height: 520px; right: -160px; top: 10%; background: rgba(56, 217, 255, 0.16); }
.bg-orb.c { width: 760px; height: 420px; left: 30%; bottom: -260px; background: rgba(123, 156, 254, 0.14); }

.bg-scan {
  position: absolute;
  left: 0; right: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, rgba(56, 217, 255, 0.05), transparent);
  animation: bgScan 9s linear infinite;
}
@keyframes bgScan {
  0% { top: -240px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* ---------- 品牌 ---------- */
.brand-mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(56, 217, 255, 0.35)); }

/* ---------- 登录页 ---------- */
.login {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(440px, 0.85fr);
  min-height: 100vh;
}

.login__visual {
  position: relative;
  padding: 54px clamp(40px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid rgba(72, 152, 255, 0.12);
}

.login__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0, 112, 192, 0.12));
  pointer-events: none;
}

.radar {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: 0.75;
  pointer-events: none;
}
.radar__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(56, 217, 255, 0.16);
  border-radius: 50%;
}
.radar__ring:nth-child(2) { inset: 12%; }
.radar__ring:nth-child(3) { inset: 24%; border-style: dashed; border-color: rgba(56, 217, 255, 0.12); }
.radar__ring:nth-child(4) { inset: 37%; }
.radar__ring:nth-child(5) { inset: 49%; border-color: rgba(56, 217, 255, 0.22); }
.radar__cross { position: absolute; inset: 0; }
.radar__cross::before,
.radar__cross::after {
  content: "";
  position: absolute;
  background: rgba(56, 217, 255, 0.1);
}
.radar__cross::before { left: 50%; top: 4%; bottom: 4%; width: 1px; }
.radar__cross::after { top: 50%; left: 4%; right: 4%; height: 1px; }
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 217, 255, 0) 0deg, rgba(56, 217, 255, 0) 300deg, rgba(56, 217, 255, 0.22) 358deg, rgba(56, 217, 255, 0.5) 360deg);
  animation: spin 7s linear infinite;
  mask-image: radial-gradient(circle, #000 0 49%, transparent 50%);
  -webkit-mask-image: radial-gradient(circle, #000 0 49%, transparent 50%);
}
.radar__dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 3px rgba(56, 217, 255, 0.55);
  animation: radarBlink 3.2s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes radarBlink {
  0%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

.login__brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; }
.login__brand img { height: 46px; width: auto; }
.login__brand-txt { display: flex; flex-direction: column; line-height: 1.3; }
.login__brand-txt b { font-size: 15px; letter-spacing: 0.14em; font-weight: 600; }
.login__brand-txt span { font-size: 10px; letter-spacing: 0.22em; color: var(--text-3); text-transform: uppercase; }

.login__hero { position: relative; z-index: 2; max-width: 620px; margin: 6vh 0; }
.login__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  padding: 5px 12px;
  border: 1px solid rgba(56, 217, 255, 0.28);
  border-radius: 2px;
  background: rgba(56, 217, 255, 0.05);
}
.login__eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2.4s infinite;
}
.login__hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.login__hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 10%, var(--cyan) 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.login__hero p { color: var(--text-2); font-size: 14px; max-width: 520px; }
.login__feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.login__feats li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-2);
  padding: 6px 12px;
  border: 1px solid rgba(72, 152, 255, 0.16);
  background: rgba(9, 22, 41, 0.6);
  border-radius: 2px;
}
.login__feats li svg { color: var(--cyan); }

.login__foot { position: relative; z-index: 2; }
.login__stats {
  display: flex;
  gap: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(72, 152, 255, 0.12);
}
.login__stats div { display: flex; flex-direction: column; gap: 2px; }
.login__stats b { font-family: var(--num); font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }
.login__stats span { font-size: 10px; letter-spacing: 0.16em; color: var(--text-3); text-transform: uppercase; }
.login__certs {
  margin-top: 26px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}
.login__certs i {
  font-style: normal;
  padding: 3px 9px;
  border: 1px solid rgba(107, 133, 163, 0.3);
  border-radius: 2px;
}

.login__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(28px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(6, 18, 36, 0.5), rgba(3, 8, 18, 0.85));
}

.login-card {
  width: 100%;
  max-width: 392px;
  position: relative;
  padding: 38px 34px 30px;
  background: linear-gradient(180deg, rgba(13, 31, 56, 0.88), rgba(6, 16, 32, 0.92));
  border: 1px solid rgba(72, 152, 255, 0.16);
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.login-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.85;
}
.login-card h2 { font-size: 20px; font-weight: 600; letter-spacing: 0.04em; }
.login-card > p { margin-top: 6px; font-size: 12px; color: var(--text-3); }

.login-tabs { display: flex; gap: 24px; margin: 26px 0 20px; border-bottom: 1px solid var(--line); }
.login-tabs button {
  position: relative;
  padding: 0 0 11px;
  background: none;
  border: 0;
  color: var(--text-3);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}
.login-tabs button.on { color: var(--text); }
.login-tabs button.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--cyan));
  box-shadow: 0 0 10px rgba(56, 217, 255, 0.6);
}

.field { margin-bottom: 15px; }
.field > label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(4, 12, 24, 0.7);
  border: 1px solid rgba(72, 152, 255, 0.18);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap:focus-within { border-color: rgba(56, 217, 255, 0.55); box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.16); }
.input-wrap > svg { margin: 0 10px 0 12px; color: var(--text-4); flex: none; }
.input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px 11px 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
}
.input-wrap input::placeholder { color: var(--text-4); }
.input-wrap .suffix {
  padding-right: 10px;
  font-size: 11px;
  color: var(--text-4);
  font-family: var(--mono);
}

.captcha {
  flex: none;
  margin-right: 10px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  background: rgba(56, 217, 255, 0.08);
  border: 1px dashed rgba(56, 217, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 0 12px rgba(56, 217, 255, 0.6);
}

.login-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; font-size: 12px; color: var(--text-3); }
.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.check input { display: none; }
.check i {
  width: 13px; height: 13px;
  border: 1px solid rgba(72, 152, 255, 0.4);
  border-radius: 2px;
  display: inline-grid;
  place-items: center;
  transition: all 0.15s;
}
.check input:checked + i { background: var(--brand-2); border-color: var(--brand-2); }
.check input:checked + i::after { content: ""; width: 4px; height: 7px; border: 1.4px solid #fff; border-top: 0; border-left: 0; transform: rotate(45deg) translate(-1px, -1px); }

.login-card .btn-block { width: 100%; justify-content: center; padding: 11px 16px; font-size: 14px; letter-spacing: 0.12em; }

.login-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(72, 152, 255, 0.14);
  font-size: 11px;
  color: var(--text-4);
  line-height: 1.7;
}
.login-note b { color: var(--text-3); font-weight: 500; }

/* ---------- 应用壳 ---------- */
.app {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(180deg, rgba(10, 26, 48, 0.92), rgba(4, 11, 22, 0.96));
  border-right: 1px solid rgba(72, 152, 255, 0.12);
  position: relative;
}
.sidebar::after {
  content: "";
  position: absolute;
  right: -1px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(56, 217, 255, 0.5) 20%, rgba(0, 112, 192, 0.2) 70%, transparent);
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  height: var(--topbar-h);
  padding: 0 18px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.1);
  flex: none;
}
.side-brand img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(56, 217, 255, 0.3)); }
.side-brand b { display: block; font-size: 13px; letter-spacing: 0.1em; font-weight: 600; line-height: 1.25; }
.side-brand span { display: block; font-size: 8px; letter-spacing: 0.16em; color: var(--text-3); font-family: var(--mono); transform: scale(0.96); transform-origin: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.side-nav { flex: 1; overflow-y: auto; padding: 12px 10px 20px; }
.side-group { margin-top: 6px; }
.side-group > span {
  display: block;
  padding: 12px 10px 6px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--text-4);
  text-transform: uppercase;
  font-family: var(--mono);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  margin: 1px 0;
  background: none;
  border: 0;
  border-radius: 3px;
  color: var(--text-2);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.nav-item svg { flex: none; color: var(--text-3); transition: color 0.18s; }
.nav-item .nav-en {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-4);
  opacity: 0;
  transition: opacity 0.18s;
}
.nav-item:hover { background: rgba(46, 144, 255, 0.08); color: var(--text); }
.nav-item:hover .nav-en { opacity: 1; }
.nav-item.on {
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 112, 192, 0.34), rgba(0, 112, 192, 0.04));
  box-shadow: inset 0 0 0 1px rgba(74, 155, 245, 0.14);
}
.nav-item.on svg { color: var(--cyan); filter: drop-shadow(0 0 6px rgba(56, 217, 255, 0.6)); }
.nav-item.on::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.nav-item .nav-dot {
  margin-left: auto;
  min-width: 18px;
  height: 16px;
  padding: 0 5px;
  border-radius: 8px;
  background: rgba(255, 93, 108, 0.16);
  border: 1px solid rgba(255, 93, 108, 0.3);
  color: #ff8b96;
  font-size: 9px;
  font-family: var(--mono);
  display: grid;
  place-items: center;
}

.side-foot { flex: none; padding: 12px; border-top: 1px solid rgba(72, 152, 255, 0.1); }
.side-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 10.5px;
  color: var(--text-3);
  border: 1px solid rgba(72, 152, 255, 0.1);
  border-radius: 3px;
  background: rgba(4, 12, 24, 0.5);
}
.side-status b { color: var(--green); font-family: var(--mono); font-weight: 500; }

/* ---------- 顶栏 ---------- */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }

.topbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--topbar-h);
  padding: 0 22px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.12);
  background: rgba(5, 13, 26, 0.55);
  backdrop-filter: blur(10px);
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.crumb b { color: var(--text-2); font-weight: 500; }
.crumb i { color: var(--text-4); font-style: normal; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-clock {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0 12px 0 0;
  margin-right: 4px;
  border-right: 1px solid rgba(72, 152, 255, 0.12);
  font-family: var(--mono);
}
.top-clock b { font-size: 15px; color: var(--text); font-weight: 500; letter-spacing: 0.04em; }
.top-clock span { font-size: 10px; color: var(--text-3); white-space: nowrap; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  background: rgba(10, 24, 44, 0.6);
  border: 1px solid rgba(72, 152, 255, 0.14);
  border-radius: 3px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s;
}
.icon-btn:hover { color: var(--cyan); border-color: rgba(56, 217, 255, 0.35); background: rgba(0, 112, 192, 0.14); }
.icon-btn .badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-family: var(--mono);
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(255, 93, 108, 0.6);
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  margin-right: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--amber);
  border: 1px solid rgba(255, 182, 72, 0.3);
  border-radius: 2px;
  background: rgba(255, 182, 72, 0.06);
}
.mock-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); animation: pulse 1.8s infinite; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(72, 152, 255, 0.14);
  border-radius: 3px;
  background: rgba(10, 24, 44, 0.6);
  cursor: pointer;
  transition: border-color 0.18s;
}
.user-chip:hover { border-color: rgba(56, 217, 255, 0.35); }
.avatar {
  width: 24px; height: 24px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #dff3ff;
  background: linear-gradient(135deg, #0a6fc0, #0b3f72);
  border: 1px solid rgba(56, 217, 255, 0.3);
}
.user-chip .u-meta { line-height: 1.25; }
.user-chip .u-meta b { display: block; font-size: 12px; font-weight: 500; }
.user-chip .u-meta span { display: block; font-size: 9px; color: var(--text-3); letter-spacing: 0.06em; }

/* ---------- 内容区 ---------- */
.content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px 34px;
  scroll-behavior: smooth;
}
.view { max-width: 1720px; margin: 0 auto; animation: viewIn 0.34s ease both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.1);
}
.view-head h1 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.view-head h1::before {
  content: "";
  width: 3px; height: 20px;
  background: linear-gradient(180deg, var(--cyan), var(--brand));
  box-shadow: 0 0 12px rgba(56, 217, 255, 0.55);
}
.view-head .en { display: block; margin-top: 5px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em; color: var(--text-4); }
.view-head .head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- 面板 ---------- */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-a), var(--panel-b));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 34px rgba(0, 0, 0, 0.22);
  min-width: 0;
}
.panel::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 155, 245, 0.5), transparent);
}
.panel.framed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--line-3), var(--line-3)) 0 0 / 12px 1px no-repeat,
    linear-gradient(180deg, var(--line-3), transparent) 0 0 / 1px 12px no-repeat,
    linear-gradient(270deg, var(--line-3), var(--line-3)) 100% 0 / 12px 1px no-repeat,
    linear-gradient(180deg, var(--line-3), transparent) 100% 0 / 1px 12px no-repeat,
    linear-gradient(90deg, var(--line-3), var(--line-3)) 0 100% / 12px 1px no-repeat,
    linear-gradient(0deg, var(--line-3), transparent) 0 100% / 1px 12px no-repeat,
    linear-gradient(270deg, var(--line-3), var(--line-3)) 100% 100% / 12px 1px no-repeat,
    linear-gradient(0deg, var(--line-3), transparent) 100% 100% / 1px 12px no-repeat;
}

.panel-hd {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.09);
}
.panel-hd h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-hd h3::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--cyan);
}
.panel-hd .en { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--text-4); }
.panel-hd .hd-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.panel-bd { padding: 16px; flex: 1; min-height: 0; }
.panel-bd.tight { padding: 8px 0; }
.panel-bd.flush { padding: 0; }
.panel-ft { flex: none; padding: 10px 16px; border-top: 1px solid rgba(72, 152, 255, 0.09); }

/* ---------- KPI ---------- */
.kpi {
  position: relative;
  overflow: hidden;
  padding: 15px 16px 12px;
  background: linear-gradient(180deg, rgba(12, 30, 55, 0.9), rgba(6, 16, 32, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  opacity: 0.75;
}
.kpi::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 217, 255, 0.12), transparent 70%);
}
.kpi__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.kpi__label svg { color: var(--blue); opacity: 0.85; }
.kpi__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 9px 0 2px;
  font-family: var(--num);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.kpi__value em { font-style: normal; font-size: 12px; color: var(--text-3); font-family: var(--font); }
.kpi__meta { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--text-3); }
.kpi__delta { display: inline-flex; align-items: center; gap: 3px; font-family: var(--mono); font-size: 10px; }
.kpi__delta.up { color: var(--red); }
.kpi__delta.down { color: var(--green); }
.kpi__delta.flat { color: var(--text-3); }
.kpi__spark { position: absolute; right: 0; bottom: 0; width: 44%; height: 34px; opacity: 0.9; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-size: 12px;
  color: var(--text-2);
  background: rgba(10, 24, 44, 0.7);
  border: 1px solid rgba(72, 152, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn:hover { color: var(--text); border-color: rgba(56, 217, 255, 0.45); background: rgba(0, 112, 192, 0.16); }
.btn.primary {
  color: #f2fbff;
  background: linear-gradient(135deg, #0a84ff, #0060b0);
  border-color: rgba(56, 217, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 96, 176, 0.35);
}
.btn.primary:hover { background: linear-gradient(135deg, #1a94ff, #0a6fc0); box-shadow: 0 8px 24px rgba(0, 120, 220, 0.45); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 9px; font-size: 11px; }
.btn.xs { padding: 3px 8px; font-size: 10.5px; border-radius: 2px; }
.btn.icon { padding: 6px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.danger { color: #ff9aa4; border-color: rgba(255, 93, 108, 0.3); }
.btn.danger:hover { background: rgba(255, 93, 108, 0.12); border-color: rgba(255, 93, 108, 0.55); }

/* ---------- 标签 / 徽记 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  font-size: 10.5px;
  line-height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(72, 152, 255, 0.22);
  background: rgba(72, 152, 255, 0.08);
  color: var(--text-2);
  white-space: nowrap;
}
.tag i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.tag.cyan { color: #7fe8ff; border-color: rgba(56, 217, 255, 0.3); background: rgba(56, 217, 255, 0.08); }
.tag.green { color: #77efcb; border-color: rgba(43, 217, 168, 0.3); background: rgba(43, 217, 168, 0.08); }
.tag.amber { color: #ffd08a; border-color: rgba(255, 182, 72, 0.32); background: rgba(255, 182, 72, 0.08); }
.tag.red { color: #ff9aa4; border-color: rgba(255, 93, 108, 0.32); background: rgba(255, 93, 108, 0.09); }
.tag.violet { color: #bac9ff; border-color: rgba(123, 156, 254, 0.32); background: rgba(123, 156, 254, 0.09); }
.tag.plain { border-color: rgba(107, 133, 163, 0.25); background: rgba(107, 133, 163, 0.08); color: var(--text-3); }

.sev {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  padding: 1px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
.sev::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: currentColor; box-shadow: 0 0 6px currentColor; }
.sev.crit { color: #ff5b74; background: rgba(255, 59, 92, 0.1); }
.sev.high { color: #ff9a64; background: rgba(255, 122, 69, 0.1); }
.sev.mid { color: #ffce5f; background: rgba(255, 197, 61, 0.1); }
.sev.low { color: #6fd8ff; background: rgba(56, 217, 255, 0.1); }
.sev.info { color: #9fb0ff; background: rgba(123, 156, 254, 0.1); }

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex: none;
}
.dot.green { color: var(--green); }
.dot.amber { color: var(--amber); }
.dot.red { color: var(--red); }
.dot.gray { color: var(--text-4); box-shadow: none; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 12.5px; }
.tbl thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: #08182d;
  border-bottom: 1px solid rgba(72, 152, 255, 0.14);
  white-space: nowrap;
}
.tbl tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.06);
  color: var(--text-2);
  vertical-align: middle;
}
.tbl tbody tr { transition: background 0.15s; }
.tbl tbody tr:hover { background: rgba(46, 144, 255, 0.06); }
.tbl tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--cyan); }
.tbl td .strong, .strong { color: var(--text); font-weight: 500; }
.tbl .id { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.tbl .nowrap { white-space: nowrap; }
.tbl .right { text-align: right; }
.tbl .center { text-align: center; }
.tbl .ops { display: flex; gap: 6px; justify-content: flex-end; }

.progress {
  position: relative;
  height: 5px;
  min-width: 78px;
  border-radius: 3px;
  background: rgba(72, 152, 255, 0.12);
  overflow: hidden;
}
.progress > i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--cyan));
  box-shadow: 0 0 10px rgba(56, 217, 255, 0.4);
  transition: width 0.6s ease;
}
.progress.amber > i { background: linear-gradient(90deg, #d9822b, var(--amber)); }
.progress.red > i { background: linear-gradient(90deg, #b32b3d, var(--red)); }
.progress.green > i { background: linear-gradient(90deg, #159b78, var(--green)); }
.progress-row { display: flex; align-items: center; gap: 8px; }
.progress-row span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); min-width: 30px; text-align: right; }

/* ---------- 工具条 ---------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.09);
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 31px;
  min-width: 230px;
  background: rgba(4, 12, 24, 0.7);
  border: 1px solid rgba(72, 152, 255, 0.16);
  border-radius: 3px;
  color: var(--text-4);
  transition: border-color 0.18s;
}
.search:focus-within { border-color: rgba(56, 217, 255, 0.45); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 12px; font-family: inherit; }
.search input::placeholder { color: var(--text-4); }

.select {
  height: 31px;
  padding: 0 9px;
  background: rgba(4, 12, 24, 0.7);
  border: 1px solid rgba(72, 152, 255, 0.16);
  border-radius: 3px;
  color: var(--text-2);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}
.select:focus { border-color: rgba(56, 217, 255, 0.45); }
.select option { background: #08182d; }

.chip {
  padding: 4px 10px;
  font-size: 11.5px;
  border: 1px solid rgba(72, 152, 255, 0.16);
  background: rgba(10, 24, 44, 0.55);
  color: var(--text-3);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.16s;
  white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: rgba(56, 217, 255, 0.35); }
.chip.on { color: #cdf2ff; border-color: rgba(56, 217, 255, 0.5); background: rgba(56, 217, 255, 0.1); box-shadow: inset 0 0 12px rgba(56, 217, 255, 0.08); }

.tabs { display: flex; gap: 2px; padding: 0 16px; border-bottom: 1px solid rgba(72, 152, 255, 0.1); overflow-x: auto; }
.tabs button {
  position: relative;
  padding: 12px 14px 11px;
  background: none;
  border: 0;
  color: var(--text-3);
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s;
}
.tabs button:hover { color: var(--text-2); }
.tabs button.on { color: #eaf7ff; }
.tabs button.on::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--cyan));
  box-shadow: 0 0 10px rgba(56, 217, 255, 0.55);
}

/* ---------- 分页 ---------- */
.pager { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pager .pg {
  min-width: 26px; height: 26px;
  padding: 0 7px;
  display: grid; place-items: center;
  background: rgba(10, 24, 44, 0.6);
  border: 1px solid rgba(72, 152, 255, 0.16);
  border-radius: 2px;
  color: var(--text-3);
  font-size: 11px;
  font-family: var(--mono);
  cursor: pointer;
}
.pager .pg:hover { color: var(--text); border-color: rgba(56, 217, 255, 0.4); }
.pager .pg.on { color: #d9f6ff; background: rgba(0, 112, 192, 0.3); border-color: rgba(56, 217, 255, 0.45); }
.pager .pg.dis { opacity: 0.35; pointer-events: none; }

/* ---------- 抽屉 / 弹窗 / 提示 ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(2, 6, 14, 0.66);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s both;
}
@keyframes fadeIn { from { opacity: 0; } }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 61;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0b1d35, #050e1d);
  border-left: 1px solid rgba(72, 152, 255, 0.22);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
  animation: drawerIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0.4; } }
.drawer-hd {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(72, 152, 255, 0.12);
}
.drawer-hd h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.03em; }
.drawer-hd p { margin-top: 4px; font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.drawer-bd { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer-ft { flex: none; display: flex; gap: 8px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid rgba(72, 152, 255, 0.12); background: rgba(4, 12, 24, 0.5); }

.modal {
  position: fixed;
  z-index: 61;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0b1d35, #050e1d);
  border: 1px solid rgba(72, 152, 255, 0.24);
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -47%) scale(0.98); } }
.modal-hd { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid rgba(72, 152, 255, 0.12); }
.modal-hd h3 { font-size: 15px; font-weight: 600; }
.modal-bd { padding: 20px; overflow-y: auto; }
.modal-ft { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid rgba(72, 152, 255, 0.12); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 11px; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; }
.fld input, .fld .select, .fld textarea {
  width: 100%;
  padding: 9px 11px;
  background: rgba(4, 12, 24, 0.7);
  border: 1px solid rgba(72, 152, 255, 0.18);
  border-radius: 2px;
  color: var(--text);
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
}
.fld .select { height: auto; }
.fld textarea { resize: vertical; min-height: 70px; }
.fld input:focus, .fld textarea:focus, .fld .select:focus { border-color: rgba(56, 217, 255, 0.5); }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-cards label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(72, 152, 255, 0.16);
  border-radius: 2px;
  background: rgba(10, 24, 44, 0.5);
  cursor: pointer;
  font-size: 12px;
  color: var(--text-2);
}
.radio-cards input { accent-color: #1e8be8; margin-top: 2px; }

.toast-root {
  position: fixed;
  top: 74px; right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 260px;
  max-width: 380px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(12, 32, 58, 0.98), rgba(6, 18, 34, 0.98));
  border: 1px solid rgba(56, 217, 255, 0.3);
  border-radius: 3px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 12.5px;
  color: var(--text-2);
  animation: toastIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.toast.out { animation: toastOut 0.2s both; }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }
.toast svg { flex: none; margin-top: 1px; color: var(--green); }
.toast.err svg { color: var(--red); }
.toast.warn svg { color: var(--amber); }

/* ---------- 通用小组件 ---------- */
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--text-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend i.line { height: 2px; width: 12px; border-radius: 1px; }

.mini-list { display: flex; flex-direction: column; }
.mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(72, 152, 255, 0.1);
  font-size: 12px;
}
.mini-list li:last-child { border-bottom: 0; }
.mini-list .k { color: var(--text-3); }
.mini-list .v { margin-left: auto; color: var(--text); font-family: var(--num); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 12px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; color: var(--text-2); text-align: right; }

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(72, 152, 255, 0.25), transparent); }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 50px 20px;
  color: var(--text-4);
  font-size: 12.5px;
}

.loading { display: flex; align-items: center; justify-content: center; padding: 60px; color: var(--text-3); font-size: 12px; gap: 10px; }
.spinner {
  width: 14px; height: 14px;
  border: 1.5px solid rgba(56, 217, 255, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.skeleton {
  background: linear-gradient(90deg, rgba(72, 152, 255, 0.06) 25%, rgba(72, 152, 255, 0.14) 37%, rgba(72, 152, 255, 0.06) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 2px;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 快捷键提示 ---------- */
.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 17px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-3);
  border: 1px solid rgba(107, 133, 163, 0.35);
  border-bottom-width: 2px;
  border-radius: 2px;
  background: rgba(10, 24, 44, 0.7);
}

/* ---------- 动画关键帧 ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes segIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes blipPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
.blip { animation: blipPulse 3.2s ease-in-out infinite; }
.sat { animation: satFloat 7s ease-in-out infinite; }
@keyframes satFloat {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ---------- 会话建立过场 ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(4, 10, 20, 0.965);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.18s both;
}
.boot-inner { width: 360px; text-align: center; }
.boot-logo { color: var(--cyan); margin-bottom: 20px; filter: drop-shadow(0 0 22px rgba(56, 217, 255, 0.55)); animation: pulse 1.6s infinite; }
.boot-title { font-size: 12px; letter-spacing: 0.28em; color: var(--text-2); font-family: var(--mono); }
.boot-bar { height: 2px; margin: 18px 0 16px; background: rgba(56, 217, 255, 0.14); border-radius: 2px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0070c0, var(--cyan)); box-shadow: 0 0 12px rgba(56, 217, 255, 0.7); animation: bootBar 1.05s ease forwards; }
@keyframes bootBar { to { width: 100%; } }
.boot-lines { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); text-align: left; line-height: 1.95; }
.boot-lines div { opacity: 0; animation: bootLine 0.3s ease forwards; }
.boot-lines div:nth-child(1) { animation-delay: 0.1s; }
.boot-lines div:nth-child(2) { animation-delay: 0.32s; }
.boot-lines div:nth-child(3) { animation-delay: 0.54s; }
.boot-lines div:nth-child(4) { animation-delay: 0.76s; }
@keyframes bootLine { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1360px) {
  :root { --sidebar-w: 210px; }
  .content { padding: 16px 18px 30px; }
}
@media (max-width: 1100px) {
  .login { grid-template-columns: 1fr; }
  .login__visual { display: none; }
}
@media (max-width: 1280px) {
  .topbar .crumb > span, .topbar .crumb > i { display: none; }
  .panel-hd .en { display: none; }
}
@media (max-width: 1100px) {
  .mock-pill { display: none; }
}
@media (max-width: 980px) {
  .app { grid-template-columns: 64px minmax(0, 1fr); }
  .side-brand b, .side-brand span, .nav-item span, .nav-en, .side-status, .side-group > span { display: none; }
  .nav-item { justify-content: center; padding: 11px 0; }
  .side-brand { justify-content: center; padding: 0; }
}
