/**
 * 实验室试剂合并 — 共用样式（小程序风格变量与布局，体积保持精简）
 * Tailwind 通过各页 HTML 引入 CDN，此处仅补充无法用工具类覆盖的语义化样式。
 */
:root {
  --wx-green: #07c160;
  --wx-green-active: #06ad56;
  --wx-bg: #f7f7f7;
  --wx-cell: #ffffff;
  --wx-text: #333333;
  --wx-text-sub: #999999;
  --wx-border: #e5e5e5;
  --wx-safe-top: env(safe-area-inset-top, 0px);
  --wx-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  color: var(--wx-text);
  background: var(--wx-bg);
}

/* 小程序式顶栏占位（与 Tailwind 的 pt-[44px] 等配合） */
.page-shell {
  min-height: 100vh;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 列表 cell 分割线（与 border-b 二选一，用于统一最后一项无底线） */
.cell-list .cell-item:last-child {
  border-bottom: none;
}

/* 复选框：原生样式弱化，配合 label 使用 */
input[type="checkbox"].wx-check {
  accent-color: var(--wx-green);
  width: 1.125rem;
  height: 1.125rem;
}

/* 禁用按钮视觉 */
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
