/* =========================================================================
   硬件物料台账 · 基础样式（设计系统 + 通用组件）
   目标环境：桌面浏览器优先 / 树莓派 4B + Chromium
   原则：无动画特效、少阴影、系统字体、纯 CSS 绘制，降低渲染开销
   ========================================================================= */

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #1e293b;
  --text-2: #5b6b7f;
  --text-3: #94a3b8;
  --brand: #2c6e8f;
  --brand-strong: #22566f;
  --brand-weak: #eaf2f6;
  --ok: #2f855a;
  --ok-bg: #e9f6ef;
  --warn: #a8641a;
  --warn-bg: #fdf5e6;
  --danger: #b3413a;
  --danger-bg: #fcefee;
  --simple: #5f6b7a;
  --simple-bg: #eef1f4;
  --precise: #2563a8;
  --precise-bg: #e8f0fa;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --sidebar-w: 232px;
  --topbar-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(44, 110, 143, .18); }

/* 滚动条：细、静态 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cfd8e1; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #b8c4d0; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 文字与布局工具 ---------- */
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.mono { font-family: var(--mono); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.flex { display: flex; align-items: center; gap: 8px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn:hover { background: var(--surface-3); text-decoration: none; }
.btn:active { background: var(--surface-2); }
.btn:focus-visible { outline: 2px solid rgba(44, 110, 143, .35); outline-offset: 1px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn-primary:active { background: var(--brand-strong); }
.btn-danger { color: var(--danger); border-color: #e6c3c0; background: #fff; }
.btn-danger:hover { background: var(--danger-bg); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--surface-3); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 5px; }
.btn-block { width: 100%; height: 40px; font-size: 14.5px; }
.btn-link {
  border: 0; background: none; padding: 0; height: auto;
  color: var(--brand); font-size: 13px; cursor: pointer;
}
.btn-link:hover { text-decoration: underline; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-size: 13px; font-weight: 600; color: var(--text); }
.label .req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.select { padding-right: 26px; cursor: pointer; }
.textarea { height: auto; min-height: 76px; padding: 8px 10px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(44, 110, 143, .12);
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--surface-3); color: var(--text-2); cursor: not-allowed; }
.input-mono { font-family: var(--mono); font-size: 13px; }
.field-hint { font-size: 12px; color: var(--text-3); }
.field-row { display: flex; gap: 8px; align-items: center; }
.checkbox { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 14px; height: 14px; accent-color: var(--brand); }

/* ---------- 标签 / 徽标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.tag-simple { background: var(--simple-bg); color: var(--simple); border-color: #e0e5ea; }
.tag-precise { background: var(--precise-bg); color: var(--precise); border-color: #d5e3f5; }
.tag-ok { background: var(--ok-bg); color: var(--ok); border-color: #cfe9db; }
.tag-empty { background: #f1f3f5; color: #8a939c; border-color: #e4e8ec; }
.tag-warn { background: var(--warn-bg); color: var(--warn); border-color: #f0e0bd; }
.tag-danger { background: var(--danger-bg); color: var(--danger); border-color: #f0cfcc; }
.tag-brand { background: var(--brand-weak); color: var(--brand-strong); border-color: #d3e5ee; }
.tag-dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.card-title { font-size: 15px; font-weight: 700; }
.card-sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.card-bd { padding: 18px; }
.card-bd.is-flush { padding: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: 12.5px;
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafcfe; }
.table .col-actions { text-align: right; white-space: nowrap; }
.table .col-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 空状态 / 提示 ---------- */
.empty { padding: 52px 24px; text-align: center; color: var(--text-2); }
.empty-icon { margin: 0 auto 12px; width: 44px; height: 44px; color: var(--text-3); }
.empty-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.empty-desc { font-size: 13px; color: var(--text-3); max-width: 420px; margin: 0 auto; }
.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 13px;
  color: var(--text-2);
}
.notice.is-warn { border-left-color: #d9a441; background: var(--warn-bg); color: #7c5213; }
.notice.is-error { border-left-color: var(--danger); background: var(--danger-bg); color: #8a312b; }
.notice strong { color: var(--text); }

/* ---------- 轻提示 Toast ---------- */
.toast-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  min-width: 200px;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand);
  background: #1e293b;
  color: #f1f5f9;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .22);
}
.toast.is-ok { border-left-color: #4ade80; }
.toast.is-warn { border-left-color: #fbbf24; }
.toast.is-error { border-left-color: #f87171; }

/* ---------- 对话框 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .38);
}
.modal {
  width: min(480px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(15, 23, 42, .22);
}
.modal-hd { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 700; }
.modal-bd { padding: 18px 20px; font-size: 13.5px; color: var(--text-2); }
.modal-ft { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- 页面骨架（列表页 / 详情页通用） ---------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-title { font-size: 20px; font-weight: 700; letter-spacing: .2px; line-height: 1.35; }
.page-desc { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.page-head-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .input, .toolbar .select { width: auto; min-width: 150px; }
.toolbar .input-search { min-width: 240px; }
.section-gap { margin-top: 18px; }

/* ---------- 应用外壳：侧边导航 + 顶栏 ---------- */
.app { display: flex; min-height: 100vh; }
.app-sidebar {
  width: var(--sidebar-w);
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--topbar-h);
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  flex: none;
  color: var(--text);
  text-decoration: none;
}
.app-brand:hover { text-decoration: none; color: var(--text); }
.app-brand-logo {
  width: 30px;
  height: 30px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
}
.app-brand-logo svg { width: 20px; height: 20px; }
.app-brand-name { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.2; letter-spacing: .3px; }
.app-brand-sub { display: block; font-size: 11px; color: var(--text-3); line-height: 1.3; }
.app-nav { flex: 1; overflow-y: auto; padding: 14px 10px 20px; }
.nav-group { margin-top: 14px; }
.nav-group-title {
  padding: 0 10px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 1px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 10px;
  margin-bottom: 2px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13.5px;
  text-decoration: none;
}
.nav-item:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.nav-item.is-active { background: var(--brand-weak); color: var(--brand-strong); font-weight: 600; }
.nav-item svg { width: 16px; height: 16px; flex: none; }
.nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-sidebar-foot { flex: none; border-top: 1px solid var(--border); padding: 12px 14px; font-size: 11.5px; color: var(--text-3); }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  height: var(--topbar-h);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.app-topbar-left { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.app-topbar-title { font-size: 15px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.app-topbar-sub { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.app-topbar-right { display: flex; align-items: center; gap: 12px; min-width: 0; }

/* 顶栏全局搜索 */
.topbar-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 232px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text-3);
  transition: border-color .12s, background-color .12s;
}
.topbar-search:focus-within { border-color: #b9d2df; background: #fff; }
.topbar-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 12.5px;
  font-family: inherit;
}
.topbar-search input::placeholder { color: var(--text-3); }

.topbar-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3fae7a; flex: none; }

.topbar-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  text-decoration: none;
}
.topbar-icon-btn:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.topbar-icon-btn:focus-visible { outline: 2px solid rgba(44, 110, 143, .35); outline-offset: 1px; }
.topbar-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  border: 2px solid var(--surface);
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
  box-sizing: content-box;
}
.topbar-sep { width: 1px; height: 22px; background: var(--border); flex: none; }

.app-user { display: flex; align-items: center; gap: 8px; }
.app-user-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.app-user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.app-user-name { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.app-user-sub { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.app-user-role { font-size: 11px; }

@media (max-width: 1280px) {
  .topbar-status { display: none; }
}
@media (max-width: 1040px) {
  .app-topbar-sub { display: none; }
  .topbar-search { width: 168px; }
}
@media (max-width: 860px) {
  .topbar-search { display: none; }
  .app-user-meta { display: none; }
}
.app-content { padding: 24px; width: 100%; max-width: 1440px; margin: 0 auto; }

/* ---------- 响应式：窄屏时侧栏收为顶部横向 ---------- */
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .app-sidebar { width: 100%; height: auto; position: static; flex-direction: column; }
  .app-nav { display: flex; flex-wrap: wrap; padding: 8px; gap: 2px; }
  .nav-group { margin: 0; }
  .nav-group-title { display: none; }
  .nav-item { height: 32px; margin: 0; }
  .app-sidebar-foot { display: none; }
  .app-content { padding: 16px; }
}

/* =========================================================================
   活力色块主题（Vibrant & Block-based · 校园青春版）
   -------------------------------------------------------------------------
   设计原则：低饱和色块分区 / 暖白纸感底色 / 无复杂阴影 / 仅颜色与 hover 变化
   说明：仅样式覆盖，不改动布局尺寸、结构、字号与功能
   ========================================================================= */

:root {
  --bg: #f7f3ea;
  --surface: #fffefa;
  --surface-2: #fbf6ec;
  --surface-3: #f3ecdf;
  --border: #ece2d2;
  --border-strong: #dcd1be;
  --text: #26313b;
  --text-2: #5d6a75;
  --text-3: #8593a0;
  --brand: #2b7d6c;
  --brand-strong: #226658;
  --brand-weak: #ddefe8;
  --ok: #1f7a5c;
  --ok-bg: #d9f2e4;
  --warn: #95661c;
  --warn-bg: #fbf0d2;
  --danger: #ab3f38;
  --danger-bg: #fbe3e0;
  --simple: #5d6a75;
  --simple-bg: #e9eef0;
  --precise: #2f6d9c;
  --precise-bg: #dfeaf7;
  --shadow-sm: none;

  /* 低饱和色块（功能分区用） */
  --block-mint: #e0f1ea;
  --block-sky: #e2edf8;
  --block-lilac: #efe7f8;
  --block-peach: #fce7da;
  --block-lemon: #fbf1d3;
  --block-rose: #fbe3e7;
  --block-sand: #f5eee1;
}

::selection { background: #cde9df; }

/* 滚动条：低饱和暖色 */
::-webkit-scrollbar-thumb { background: #ddd0ba; border-color: var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #c9b99e; }

/* ---------- 按钮：色块 + 颜色变化 hover，无位移 / 无阴影 ---------- */
.btn { background: var(--surface); border-color: var(--border-strong); }
.btn:hover { background: var(--block-lemon); border-color: #e3d6b8; }
.btn:active { background: #f6eccf; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn-primary:active { background: var(--brand-strong); }
.btn-danger { background: var(--danger-bg); border-color: transparent; color: var(--danger); }
.btn-danger:hover { background: #f6d4d0; }
.btn-ghost:hover { background: var(--block-mint); }
.btn:focus-visible { outline: 2px solid rgba(43, 125, 108, .45); }

/* ---------- 表单：暖白底 + 清晰聚焦色 ---------- */
.input, .select, .textarea { background: #fffdf7; border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  box-shadow: none;
  outline: 2px solid rgba(43, 125, 108, .22);
  outline-offset: 0;
}
.input:disabled, .select:disabled, .textarea:disabled { background: var(--surface-3); }
.checkbox input { accent-color: var(--brand); }

/* 表单辅助文字：提升可读性 */
.field-hint { color: #6b7782; }

/* ---------- 标签：低饱和语义色块 ---------- */
.tag-simple { background: #e9eef0; color: var(--simple); border-color: transparent; }
.tag-precise { background: var(--block-sky); color: var(--precise); border-color: transparent; }
.tag-ok { background: var(--block-mint); color: var(--ok); border-color: transparent; }
.tag-empty { background: #f1f3f4; color: #67737e; border-color: transparent; }
.tag-warn { background: var(--block-lemon); color: #8a5f13; border-color: transparent; }
.tag-danger { background: var(--block-rose); color: #a03831; border-color: transparent; }
.tag-brand { background: #e4eef4; color: #2b6f86; border-color: transparent; }

/* ---------- 卡片：纯色块，不叠加阴影 ---------- */
.card { background: var(--surface); border-color: var(--border); box-shadow: none; }
.card-hd { border-bottom-color: var(--border); }

/* ---------- 表格：隔行底色 + 表头色块 ---------- */
.table th { background: #e6f3ec; color: #3d5a52; border-bottom-color: #d9e9e1; }
.table td { border-bottom-color: #f0e9dc; }
.table tbody tr:nth-child(even) { background: #fbf7ee; }
.table tbody tr:hover { background: #f1e9d8; }

/* ---------- 侧边导航：色块分区（仅颜色，不增加占位元素） ---------- */
.app-sidebar { background: var(--surface); border-right-color: var(--border); }
.app-brand { border-bottom-color: var(--border); }
.app-brand-logo { background: var(--brand); }
.nav-group:nth-child(1) .nav-group-title { color: #4a6b87; }
.nav-group:nth-child(2) .nav-group-title { color: #3f7563; }
.nav-group:nth-child(3) .nav-group-title { color: #8a6a34; }
.nav-group:nth-child(4) .nav-group-title { color: #6a5793; }
.nav-item:hover { background: var(--block-lemon); color: var(--text); }
.nav-item.is-active { background: var(--block-mint); color: var(--brand-strong); }
.nav-badge { background: var(--block-rose); color: #a03831; }
.app-sidebar-foot { border-top-color: var(--border); }

/* ---------- 顶栏 ---------- */
.app-topbar { background: var(--surface); border-bottom-color: var(--border); }
.topbar-search { background: var(--surface-2); border-color: var(--border); }
.topbar-search:focus-within { background: #fffdf7; border-color: #b9d9cc; }
.topbar-icon-btn:hover { background: var(--block-mint); }
.topbar-badge { background: #c9554c; border-color: var(--surface); }
.topbar-sep { background: var(--border); }
.status-dot { background: #3aa47c; }
.app-user-avatar { background: #e6dcf4; color: #5c4b86; }

/* ---------- 轻提示 / 对话框 ---------- */
.toast { background: #26313b; }
.toast.is-ok { border-left-color: #7fcfa9; }
.toast.is-warn { border-left-color: #e9c06a; }
.toast.is-error { border-left-color: #e58e86; }
.modal-mask { background: rgba(38, 49, 59, .35); }
.modal { background: var(--surface); box-shadow: 0 12px 32px rgba(38, 49, 59, .14); }

/* ---------- 提示条 / 空状态 ---------- */
.notice { background: var(--surface-2); border-color: var(--border); border-left-color: #8fc9b7; }
.notice.is-warn { background: var(--warn-bg); border-left-color: #e0b25c; color: #7c5713; }
.notice.is-error { background: var(--danger-bg); border-left-color: var(--danger); color: #8a312b; }
.empty > svg { color: #b9a98f; }

/* ---------- 无障碍：尊重减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
