/* styles.css —— 一喵效期管家（移动优先，桌面居中限宽 640px）
   美术方案：喵屋暖阳（奶油底 + 暖橘主色 + 18px 大圆角 + 猫爪水印） */
:root {
  /* ===== 主色（喵屋暖阳） ===== */
  --primary: #E07A3F;
  --primary-2: #F2A65A;
  --primary-ink: #8A4B1C;
  --primary-soft: rgba(224, 122, 63, .13);
  --primary-line: rgba(224, 122, 63, .28);
  /* ===== 基础色 ===== */
  --bg: #FFF7F0;
  --bg2: #FFFDFA;
  --card: #FFFFFF;
  --text: #3B2F28;
  --muted: #9A8577;
  --danger: #DC4C4C;
  --border: #F1E5DA;
  /* 状态色（与 expiry.STATUS_META 一致） */
  --c-expired: #DC4C4C;
  --c-urgent: #E8722C;
  --c-warning: #D9992B;
  --c-soon: #3E8FB0;
  --c-ok: #3E9E6E;
  --c-unknown: #9A8577;
  /* ===== 形状与阴影 ===== */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 6px 18px rgba(160, 110, 70, .10);
  --shadow-sm: 0 2px 8px rgba(160, 110, 70, .08);
  --tabbar-h: 56px;
  /* ===== 排版令牌（8 级类型刻度） ===== */
  --fs-display: 24px; --lh-display: 30px;
  --fs-h1: 17px;      --lh-h1: 24px;
  --fs-h2: 13px;      --lh-h2: 18px;
  --fs-h3: 15px;      --lh-h3: 22px;
  --fs-body: 14px;    --lh-body: 22px;
  --fs-num: 16px;     --lh-num: 22px;
  --fs-cap: 12px;     --lh-cap: 18px;
  --fs-micro: 11px;   --lh-micro: 16px;
  --fs-mono: 14px;    --lh-mono: 20px;
  --track-mono: .6px; --track-latin: .2px;
  /* ===== 间距节奏（4px 基准） ===== */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  /* 猫爪水印 */
  --paw: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24' fill='%23E07A3F' fill-opacity='0.045'><circle cx='8' cy='8' r='2.1'/><circle cx='13' cy='6' r='2.1'/><circle cx='17' cy='9' r='2.1'/><circle cx='12.5' cy='13' r='3.4'/></svg>");
}

* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { width: 0; height: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
}

.hidden { display: none !important; }

/* ---------- 顶部 ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.app-title { font-size: 18px; font-weight: 700; }
.icon-btn {
  position: relative;
  border: none;
  background: transparent;
  font-size: 22px;
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
}
.badge-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--card);
  pointer-events: none;
}

/* ---------- 主体 ---------- */
main { padding: 12px 12px 8px; }
.view { display: none; }
.view.active { display: block; animation: fadeIn .18s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(17, 24, 39, .06);
  padding: 14px;
  margin-bottom: 12px;
}

/* ---------- 上传卡片 ---------- */
.upload-card {
  border: 2px dashed #94a3b8;
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
  padding: 22px 14px;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, background .15s;
}
.upload-card:hover,
.upload-card:active,
.upload-card.drag-over {
  border-color: var(--primary);
  background: rgba(13, 148, 136, .05);
}
.upload-icon { font-size: 30px; }
.upload-title { font-weight: 600; margin-top: 4px; }
.upload-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.upload-note { color: var(--primary); font-size: 12px; margin-top: 6px; }
/* 会员门禁锁定态 */
.upload-card.locked {
  cursor: not-allowed;
  opacity: .78;
  border-color: #d1d5db;
}
.upload-card.locked:hover,
.upload-card.locked:active,
.upload-card.locked.drag-over {
  border-color: #d1d5db;
  background: var(--card);
}
.upload-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- 搜索框 ---------- */
.search-box { position: relative; margin-bottom: 12px; }
.search-box input {
  width: 100%;
  padding: 11px 38px 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 15px;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .12);
}
.clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #e5e7eb;
  color: var(--muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 空状态 ---------- */
.empty { text-align: center; color: var(--muted); padding: 36px 10px; font-size: 14px; }

/* ---------- 列表卡片 ---------- */
.item-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(17, 24, 39, .06);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform .1s, background .1s;
}
.item-card:active { background: #f3f4f6; transform: scale(.985); }
.item-name { font-weight: 600; word-break: break-all; flex: 1; }
.item-days { font-size: 13px; margin-top: 4px; font-weight: 500; }
.item-meta, .item-dates { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ---------- 状态徽章 ---------- */
.badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 统计 chips ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.stat { text-align: center; padding: 12px 4px; margin-bottom: 0; cursor: default; }
.stat-num { font-size: 20px; font-weight: 700; }
.stat-num.stat-danger { color: var(--c-expired); }
.stat-num.stat-warn { color: var(--c-warning); }
.stat-num.stat-soon { color: var(--c-soon); }
.stat-num.stat-ok { color: var(--c-ok); }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
/* 统计卡下方小字（条数）；卡片为纯展示，无点击反馈 */
.stat-sub { font-size: 10px; color: var(--muted); margin-top: 1px; opacity: .85; }
.stat:hover { transform: none; box-shadow: none; }

/* 统计卡片：可点击筛选（用户确认） */
.stats-grid .stat {
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--card);
  transition: border-color .15s, background .15s;
}
.stats-grid .stat:active { background: #f0fdfa; }
.stats-grid .stat.active { border-color: var(--primary); background: rgba(13, 148, 136, .06); }

/* 卡片上的天数行：左天数、右月份（同一行） */
.item-days-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; }
.item-days-row .item-days { font-size: 15px; font-weight: 700; margin-top: 0; }
.item-days-row .item-days.expired { color: var(--c-expired); }
.item-days-row .item-days.soon { color: var(--c-warning); }
.item-months { font-size: 13px; color: var(--muted); flex: 0 0 auto; }

/* ===== iPhone 式滚动选择器 ===== */
.picker-card { padding: 14px; }
.wheel-wrap { display: flex; align-items: center; gap: 16px; }
/* 提醒页/设置页的滚轮卡：同样只留滑动（右侧「当前：N 个月」提示与滚轮重复，已删除），滚轮居中 */
.picker-card .wheel-wrap { justify-content: center; }
.wheel {
  position: relative;
  width: 150px;
  height: 132px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.wheel-scroll {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wheel-scroll::-webkit-scrollbar { display: none; }
.wheel-pad { height: 44px; }
.wheel-item {
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  scroll-snap-align: center;
  transition: color .15s, font-size .15s;
}
.wheel-item.on { color: var(--text); font-weight: 700; font-size: 21px; }
.wheel-band {
  position: absolute;
  left: 0; right: 0; top: 44px; height: 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 148, 136, .05);
  pointer-events: none;
  border-radius: 8px;
}
.wheel-side { display: flex; flex-direction: column; gap: 10px; }
.wheel-hint { font-size: 12px; color: var(--muted); }
.wheel-hint b { color: var(--text); }

/* ===== 分段控件（iOS segmented） ===== */
.segmented { display: inline-flex; background: #eef1f0; border-radius: 10px; padding: 3px; gap: 2px; }
.seg {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.seg.active { background: #fff; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* ===== 库存页分页：加载更多 ===== */
.loadmore {
  margin: 12px 0;
  padding: 13px;
  text-align: center;
  color: var(--primary);
  font-size: 13px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
}

/* ============================================================
   喵屋暖阳 · 排版与组件细化（放在文件末尾以覆盖上面的旧规则）
   规则：中文行高≥1.5、数字 tabular、名称 2 行截断、
        卡片信息两列对齐、批次码等宽、间距 4px 基准
   ============================================================ */

/* 底色 + 猫爪水印 */
body {
  background-color: var(--bg);
  background-image: var(--paw);
  background-size: 120px 120px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--track-latin);
  color: var(--text);
}
/* 数字统一等宽对齐 */
.stat-num, .item-days, .item-months, .detail-row, .mini, .num-input, .chip, .batch-badge,
.grp-title, .reminder-meta, .stat-sub, table {
  font-variant-numeric: tabular-nums;
}

/* 顶部栏：胶囊铃铛 + 线性图标 */
.app-header { padding: 14px 16px 10px; }
.app-title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; }
.app-logo, .logo {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: var(--shadow-sm);
}
.icon-btn, .bell {
  width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--card);
  border: 1px solid var(--border); display: grid; place-items: center; color: var(--primary);
  box-shadow: var(--shadow-sm); position: relative;
}
/* 线性图标尺寸 */
.ic svg, .tab-icon svg, .icon-btn svg, .bell svg { display: block; }
.tab-icon svg { width: 23px; height: 23px; }

/* 区块标题（H2） */
.sec-title, .section-title, .setting-title {
  font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700;
}

/* 搜索框 */
.search-box input, #search-input, #inventory-input {
  font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--track-latin);
}
.search-box { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* 上传卡 */
.upload-card { border-radius: var(--radius); border: 2px dashed var(--primary-line); box-shadow: var(--shadow-sm); }
.upload-icon { color: var(--primary); }
.upload-title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.upload-sub, .upload-note { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); }

/* 统计卡：数字分级 + 进度条 + 可点击 */
.stats-grid { gap: 10px; }
.stats-grid .stat {
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 13px 12px;
  border: 2px solid transparent; background: var(--card);
  cursor: pointer; font: inherit; color: inherit; text-align: center;
  transition: border-color .15s, background .15s;
}
.stats-grid .stat:active { background: #FFFCF8; }
.stats-grid .stat.active { border-color: var(--primary); background: var(--primary-soft); }
.stat-num { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 800; letter-spacing: -.4px; }
.stat-num .stat-unit { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.stat-label { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); margin-top: 2px; }
.stat-sub { font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--muted); opacity: .9; }
.stat-bar { height: 4px; border-radius: 3px; background: var(--border); overflow: hidden; margin-top: 9px; }
.stat-bar i { display: block; height: 100%; border-radius: 3px; background: var(--primary); }

/* 筛选 chips：更饱满、可点 */
.chip {
  min-height: 36px; padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 13px; border: 1px solid var(--border); background: var(--card); color: var(--muted);
}
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; box-shadow: var(--shadow-sm); }

/* 物品卡片：左侧色条 + 2 行截断名称 + 两列信息 */
.item-card {
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
  border-left: 4px solid var(--c-ok); margin-bottom: 10px;
  /* 大数据量优化：屏幕外的卡片跳过排版/绘制（实测 7140 行时切页长任务 200ms → 见 tools/measure-longtask.js）
     卡片高度约 150px，留个估值避免滚动条跳动 */
  content-visibility: auto;
  contain-intrinsic-size: auto 150px;
}
.item-card.status-expired { border-left-color: var(--c-expired); }
.item-card.status-urgent  { border-left-color: var(--c-urgent); }
.item-card.status-warning { border-left-color: var(--c-warning); }
.item-card.status-soon    { border-left-color: var(--c-soon); }
.item-name {
  font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; letter-spacing: var(--track-latin);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 卡片第二行：批次码靠左、状态标签靠右（排版稿：状态标签从名称行移到这里） */
.item-sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.item-sub .batch-line { margin: 0; }
.item-days-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; }
.item-days-row .item-days { font-size: var(--fs-num); line-height: var(--lh-num); font-weight: 800; margin-top: 0; }
.item-months { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); flex: 0 0 auto; }
/* 卡片信息两列（新结构） */
.item-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 10px; }
.item-kv > div { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); }
.item-kv b { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
/* 兼容旧结构（未改成 item-kv 时） */
.item-meta, .item-dates { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }

/* 批次码：等宽 + 字距，强调"识别码" */
.batch-line { margin: 10px 0 2px; }
.batch-badge, .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-mono); line-height: var(--lh-mono); font-weight: 700;
  letter-spacing: var(--track-mono); padding: 4px 10px; border-radius: 9px;
  background: var(--primary-soft); color: var(--primary-ink); border: 1px solid var(--primary-line);
}
.batch-badge.empty { background: var(--border); color: var(--muted); border-color: var(--border); }

/* 详情弹窗：标签左、值右、可折行 */
.detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 15px; border-bottom: 1px solid var(--border); }
.detail-row .detail-label { color: var(--muted); flex: 0 0 auto; }
.detail-row .detail-value { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* 提醒页折叠区块 */
.reminder-section { border-radius: var(--radius); box-shadow: var(--shadow); }
.reminder-section .section-head { padding: 15px 16px; }
.reminder-section .section-caret { color: var(--muted); }
.fold .h b, .section-head .section-title { font-size: var(--fs-h3); }

/* 按钮 */
.btn { border-radius: var(--radius-sm); font-size: var(--fs-body); font-weight: 700; min-height: 44px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: var(--primary-soft); color: var(--primary-ink); }
.btn-danger { background: rgba(220, 76, 76, .12); color: var(--danger); }

/* 底部 tab：线性图标 + 选中态 */
.tabbar { background: rgba(255, 253, 250, .96); border-top: 1px solid var(--border); backdrop-filter: blur(8px); }
.tab-btn { color: var(--muted); font-size: var(--fs-micro); padding: 6px 0; min-height: 48px; }
.tab-btn.active { color: var(--primary); font-weight: 700; }
.tab-icon { display: block; margin-bottom: 2px; }

/* 空状态：线描插画 */
.empty { color: var(--muted); font-size: var(--fs-cap); line-height: var(--lh-cap); }
.empty svg { color: var(--primary); opacity: .72; }
.empty .empty-title { font-size: var(--fs-h3); font-weight: 700; color: var(--text); margin-top: 8px; }
.empty-ic { display: grid; place-items: center; margin-bottom: 2px; }

/* 开关 */
.switch .slider { background: var(--primary); }

/* 滚动选择器：浅橘高亮 */
.wheel-band { background: var(--primary-soft); border-color: var(--border); }
.wheel-item.on { color: var(--text); }

/* ============================================================
   第二批改动：页头居中 / 搜索放大镜 / 导入选项卡 / 分组信息行 / 滑动筛选抽屉
   ============================================================ */

/* 页头：标题居中，铃铛绝对定位右上（去掉左上角图标） */
.app-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 12px;
}
.app-header .app-title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; letter-spacing: .5px; }
.app-header .icon-btn { position: absolute; right: 14px; top: 12px; }

/* 搜索框：左侧放大镜 */
.search-box { display: flex; align-items: center; gap: 9px; }
.search-box .search-ic { display: grid; place-items: center; color: var(--muted); flex: 0 0 auto; }
.search-box input { flex: 1; }

/* 卡片信息：分组单行（替代 2×2 铁轨式） */
.item-info {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-cap);
  line-height: var(--lh-cap);
  color: var(--muted);
}
.item-info .info-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item-info .info-line + .info-line { margin-top: 3px; }
.item-info b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.item-info i { font-style: normal; color: #D6C7BB; }
.item-info .info-empty { color: var(--muted); }

/* 上传弹窗：导入方式两个大选项卡 */
.import-mode-list { display: flex; flex-direction: column; gap: 9px; margin: 14px 0; }
.import-opt {
  display: flex; gap: 10px; align-items: flex-start;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px; cursor: pointer; background: var(--card);
}
.import-opt.selected { border-color: var(--primary); background: var(--primary-soft); }
.import-opt.danger.selected { border-color: var(--c-expired); background: rgba(220, 76, 76, .07); }
.import-opt .import-radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #D8CCC2;
  flex: 0 0 auto; margin-top: 1px; position: relative;
}
.import-opt.selected .import-radio { border-color: var(--primary); }
.import-opt.selected .import-radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary);
}
.import-opt.danger.selected .import-radio { border-color: var(--c-expired); }
.import-opt.danger.selected .import-radio::after { background: var(--c-expired); }
.import-opt .import-text b { display: block; font-size: var(--fs-body); font-weight: 700; }
.import-opt .import-text span { display: block; font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); margin-top: 3px; }
.import-opt.danger.selected .import-text b { color: var(--c-expired); }

/* 底部抽屉（库存筛选滑动选择）
   关键：必须是 position:fixed 的浮层，而不是插在文档流里的卡片——
   否则打开时会把列表往下顶、还会跟筛选栏挤在一起。 */
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(120, 80, 50, .18);
  padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
  animation: sheetUp .22s cubic-bezier(.22, .8, .3, 1);
  text-align: center;
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* 抽屉遮罩：盖住 Tab 栏，点一下关掉 */
.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(45, 30, 20, .42);
  animation: fadeIn .18s ease;
}
.sheet .sheet-head { display: flex; align-items: center; justify-content: center; margin: 0 0 16px; }
.sheet .sheet-head b { font-size: 17px; font-weight: 700; }
.sheet .sheet-done {
  border: 0; background: transparent; color: var(--primary);
  font-size: var(--fs-body); font-weight: 700; font-family: inherit; cursor: pointer; min-height: 32px;
}
#inventory-sheet .wheel-wrap { justify-content: center; }
#inventory-sheet .sheet-foot { display: flex; justify-content: center; margin-top: 28px; }
#inventory-sheet .sheet-done {
  padding: 0 20px; border-radius: 10px; background: var(--primary-soft);
  border: 1px solid var(--primary-line); min-height: 34px;
}

/* 库存页：当前筛选条件摘要 */
.inventory-summary { font-size: 12px; color: var(--muted); margin: 8px 2px 2px; }

/* 库存页筛选栏（门槛只有底部滑动抽屉一套 UI，内联「≤ N 月/天」输入框已删除） */
#inventory-chips { margin-top: 8px; }

/* ---------- 筛选 chips ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.chip {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.inventory-actions { margin-top: 4px; }

/* ---------- 设置行 / 控件 ---------- */
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.setting-title { font-weight: 600; }
.setting-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
/* 临期阈值控件（数字 + 月/天） */
.threshold-ctrl { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.threshold-ctrl .num-input { width: 74px; }

/* 提醒页：折叠区块（默认收起，点标题展开） */
.reminder-section { padding: 0; overflow: hidden; margin-bottom: 10px; }
.reminder-section .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.reminder-section .section-title { font-weight: 600; font-size: 14px; }
.reminder-section .section-caret {
  color: var(--muted);
  font-size: 12px;
  transition: transform .18s;
}
.reminder-section.collapsed .section-caret { transform: rotate(90deg); }
.reminder-section .section-body { padding: 0 16px 14px; }
.reminder-section.collapsed .section-body { display: none; }
.reminder-section .group-list { display: flex; flex-direction: column; gap: 6px; }
.reminder-section .group-empty { padding: 6px 0; font-size: 12px; }
.num-input {
  width: 90px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
}
.select {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  font-size: 14px;
  min-width: 84px;
}

/* 开关 */
.switch { position: relative; display: inline-block; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #d1d5db;
  border-radius: 999px;
  transition: .2s;
}
.slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(20px); }

/* ---------- 按钮 ---------- */
.btn {
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: opacity .15s, transform .05s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost { background: #f3f4f6; color: var(--text); border: 1px solid var(--border); }
.btn-block { width: 100%; margin-top: 12px; }
.actions-row { display: flex; gap: 10px; }
.actions-row .btn { flex: 1; }
.actions-col { display: flex; flex-direction: column; gap: 10px; }
.last-check { font-size: 12px; margin: 0 2px 12px; }
.muted { color: var(--muted); }

/* ---------- 提醒分组 ---------- */
.group-card { padding: 12px 14px; }
.group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.group-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.group-title { font-weight: 600; flex: 1; }
.group-count {
  background: #f3f4f6;
  color: var(--muted);
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 600;
}
.reminder-item { padding: 8px 0; border-bottom: 1px solid #f3f4f6; cursor: pointer; }
.reminder-item:last-child { border-bottom: none; }
.reminder-name { font-size: 14px; font-weight: 500; }
.reminder-meta { color: var(--muted); font-size: 12px; }
.group-empty { padding: 4px 0 2px; font-size: 13px; }

/* ---------- 关于 ---------- */
.about-version { margin-top: 4px; }
.about-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.about-list li { margin-bottom: 4px; }

/* ---------- 账户页（二期：账号 + 会员） ---------- */
#account-root { display: flex; flex-direction: column; gap: 12px; }
#account-root .card { margin-bottom: 0; }

/* 头像 / 标题区 */
#account-root .account-head { display: flex; align-items: center; gap: 12px; }
#account-root .account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 148, 136, .12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
#account-root .account-name { font-weight: 700; font-size: 16px; word-break: break-all; }
#account-root .account-sub { color: var(--muted); font-size: 13px; }

/* 会员 / 状态徽章 */
#account-root .member-badge,
#account-root .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
#account-root .member-badge.active,
#account-root .status-badge.active { background: rgba(22, 163, 74, .14); color: var(--c-ok); }
#account-root .member-badge.inactive,
#account-root .status-badge.inactive { background: #f3f4f6; color: var(--muted); }

/* 表单输入框（账号 / 登录 / 注册 / 支付等） */
#account-root input[type="text"],
#account-root input[type="password"],
#account-root input[type="number"],
#account-root input:not([type]),
#account-root textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 15px;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
}
#account-root textarea { min-height: 72px; resize: vertical; font-family: inherit; }
#account-root input:focus,
#account-root textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .12);
}

/* 表单行 / 按钮组 / 说明文字 */
#account-root .account-form { display: flex; flex-direction: column; gap: 10px; }
#account-root .account-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
#account-root .account-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#account-root .account-hint { color: var(--muted); font-size: 12px; }

/* 二维码容器（会员支付 / 兑换） */
#account-root .qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin: 8px 0;
}
#account-root .qr-box img,
#account-root .qr-box canvas,
#account-root .qr-box svg { max-width: 180px; max-height: 180px; }
#account-root .qr-caption { color: var(--muted); font-size: 12px; text-align: center; }

/* 内联错误 / 提示文字（登录注册失败、提交失败等，不 alert） */
#account-root .account-error { color: var(--danger); font-size: 13px; }
#account-root .account-ok { color: var(--c-ok); font-size: 13px; }

/* ---------- 底部 Tab 栏 ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab-btn {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0 6px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.tab-icon { position: relative; font-size: 20px; line-height: 1; }
.tab-btn.active { color: var(--primary); font-weight: 600; }

/* ---------- 弹窗（移动端底部 sheet，桌面居中） ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, .45);
}
.modal.active { display: flex; }
.modal-card {
  background: var(--card);
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 16px;
  animation: sheetUp .25s ease;
}
@keyframes sheetUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close {
  border: none;
  background: #f3f4f6;
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }

@media (min-width: 640px) {
  .modal { align-items: center; }
  .modal-card {
    border-radius: var(--radius);
    max-width: 560px;
    width: calc(100% - 48px);
    animation: popIn .2s ease;
  }
}
@keyframes popIn {
  from { transform: scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- 详情弹窗 ---------- */
.detail-head { margin-bottom: 10px; }
.detail-name { font-size: 17px; font-weight: 700; word-break: break-all; margin-bottom: 6px; }
.detail-head .badge { margin-left: 0; }
.detail-head .item-days { margin-top: 6px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--muted); flex-shrink: 0; }
.detail-value { text-align: right; word-break: break-all; }

/* ---------- 列映射弹窗 ---------- */
.mapping-info { margin-bottom: 10px; }
.mapping-file { font-weight: 600; word-break: break-all; }
.preview-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  max-height: 220px;
  overflow-y: auto;
}
.preview-table { border-collapse: collapse; font-size: 12px; min-width: 100%; }
.preview-table th, .preview-table td {
  border: 1px solid #eef0f2;
  padding: 5px 8px;
  white-space: nowrap;
  text-align: left;
}
.preview-table th { background: #f9fafb; font-weight: 600; }
.map-title { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.map-rows { margin-bottom: 12px; }
.map-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f6;
}
.map-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.map-select {
  width: 46%;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  font-size: 13px;
}
.radio-group { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.radio-label input { accent-color: var(--primary); }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* ---------- 骨架屏（自适应：只有渲染真的超过 120ms 才会出现，见 js/skeleton.js） ---------- */
.sk {
  background: linear-gradient(90deg, #F3E9E0 25%, #FBF5EF 37%, #F3E9E0 63%);
  background-size: 400% 100%;
  animation: skShimmer 1.3s ease infinite;
  border-radius: 6px;
  display: block;
}
@keyframes skShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

.sk-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--border);
  padding: 14px;
  margin-bottom: 10px;
}
.sk-title { height: 18px; width: 58%; }
.sk-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.sk-badge { height: 22px; width: 96px; border-radius: 9px; }
.sk-pill { height: 22px; width: 62px; border-radius: 999px; }
.sk-days { height: 22px; width: 46%; margin-top: 14px; }
.sk-line { height: 12px; margin-top: 12px; }
.sk-short { width: 72%; }
.sk-sec { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 10px; }
.sk-num { height: 26px; width: 62%; border-radius: 8px; margin: 0 auto; }

/* 上传卡：解析表格时的即时反馈（用户主动点的按钮，必须立刻有反应） */
.upload-card.loading { pointer-events: none; }
.upload-card.loading .upload-icon,
.upload-card.loading .upload-title,
.upload-card.loading .upload-sub,
.upload-card.loading .upload-note { opacity: .35; }
.upload-busy { display: none; }
.upload-card.loading .upload-busy {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px; font-size: 13px; color: var(--primary-ink); font-weight: 600;
}
.spin {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--primary-line); border-top-color: var(--primary);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- 数据安全（设置页）+ 撤销条 ---------- */
.safe-card .setting-sub { margin-top: 6px; }
.safe-actions { display: flex; gap: 10px; margin-top: 12px; }
.safe-actions .btn { flex: 1; }
.safe-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.safe-row-txt { min-width: 0; }
.safe-row-title { font-size: var(--fs-body); font-weight: 600; }
.safe-row-btns { display: flex; gap: 8px; flex: 0 0 auto; }
.safe-row .btn { padding: 8px 14px; font-size: 13px; }

/* 数据自检结果 */
#selfcheck-list { margin-top: 12px; }
.check-row {
  border-left: 3px solid var(--border); padding: 8px 0 8px 10px; margin-top: 10px;
}
.check-row.sev-high { border-left-color: var(--c-expired); }
.check-row.sev-mid { border-left-color: var(--c-warning); }
.check-row.sev-low { border-left-color: var(--border); }
.check-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.check-top b { font-size: var(--fs-body); }
.check-n { font-size: 12px; font-weight: 700; color: var(--primary-ink); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.check-hint { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); margin-top: 3px; }
.check-sample { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }

/* 撤销条：底部浮出，8 秒内可捡回刚删的记录 */
.undo-bar {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);
  transform: translateX(-50%) translateY(12px);
  z-index: 210; width: calc(100% - 32px); max-width: 560px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(31, 41, 55, .96); color: #fff;
  border-radius: 12px; padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  opacity: 0; transition: opacity .2s, transform .2s;
}
.undo-bar.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.undo-text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.undo-btn {
  flex: 0 0 auto; font-family: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--primary); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22); border-radius: 9px;
  padding: 7px 14px; cursor: pointer; min-height: 34px;
}
.undo-btn:active { transform: scale(.97); }
.undo-x {
  flex: 0 0 auto; width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: transparent; color: rgba(255,255,255,.6); font-size: 18px; line-height: 1; cursor: pointer;
}

/* 多标签页提示条：另一个页面改了数据，就挂在这（不打断正在输入的表单） */
.sync-host {
  position: fixed; left: 0; right: 0; top: 0; z-index: 260;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 12px 0; pointer-events: none;
}
.sync-banner {
  pointer-events: auto;
  width: 100%; max-width: 560px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(31, 41, 55, .96); color: #fff;
  border-radius: 12px; padding: 9px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  animation: sync-in .18s ease-out;
}
.sync-banner-warn { background: rgba(146, 64, 14, .96); }
@keyframes sync-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.sync-banner-text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.5; }
.sync-banner-btn {
  flex: 0 0 auto; font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--primary); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22); border-radius: 9px;
  padding: 6px 12px; cursor: pointer; min-height: 32px;
}
.sync-banner-btn:active { transform: scale(.97); }

/* ---------- Toast ---------- */
#toast-root {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
/* 底部抽屉/弹窗打开时，提示条挪到顶部，免得把滚轮挡住 */
body.modal-open #toast-root { bottom: auto; top: 14px; }
.toast {
  background: rgba(31, 41, 55, .95);
  color: #fff;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);animation: toastUp .28s ease;
  pointer-events: auto;
}
@keyframes toastUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.toast-out { opacity: 0; transform: translateY(8px); transition: .35s; }
.toast-problems {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 12px;
  opacity: .85;
  max-height: 130px;
  overflow-y: auto;
}
.toast-problems li { margin-bottom: 2px; }

/* ================= 批次码（名称下方 · 重点显示） ================= */
.batch-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 2px;
}
.batch-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(13, 148, 136, .13);
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  cursor: pointer;
  border: 1px solid rgba(13, 148, 136, .22);
  transition: transform .12s;
}
.batch-badge:active { transform: scale(.95); }
.batch-badge.empty {
  background: #f3f4f6;
  color: var(--muted);
  border-color: var(--border);
  font-weight: 500;
  cursor: default;
}
.batch-sub {
  color: var(--muted);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
/* 日期校验强调色 */
.batch-warn { color: var(--danger); font-weight: 600; }
.batch-minor { color: var(--c-warning); }
.batch-ok { color: var(--c-ok); }

/* ================= 批次多选筛选区 ================= */
.batch-filter { padding: 12px; margin: 10px 0; }
.batch-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.batch-filter-title { font-size: 13px; font-weight: 600; color: var(--text); }
.batch-filter-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.batch-filter-actions button {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--primary);
  cursor: pointer;
}
.batch-filter-actions button:active { background: rgba(13, 148, 136, .1); }
.batch-filter-list { display: flex; flex-direction: column; gap: 6px; }
.batch-filter-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  background: var(--card);
  transition: background .15s, border-color .15s;
}
.batch-filter-item.selected {
  border-color: var(--primary);
  background: rgba(13, 148, 136, .09);
  font-weight: 600;
}
.batch-filter-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex: 0 0 auto;
  margin: 0;
}
.batch-filter-name { flex: 1 1 auto; word-break: break-all; }
.batch-filter-count { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 400; }
