/* 浅海 · 试剂配制台账 */

:root {
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-2: #fafbf8;
  --ink: #16211d;
  --ink-soft: #2e3b36;
  --muted: #5f6f69;
  --line: #e2e7e1;
  --line-strong: #cfd8d1;
  --accent: #0f6b5b;
  --accent-strong: #0a5347;
  --accent-soft: #e6f2ee;
  --ok: #187a56;
  --ok-soft: #e6f4ed;
  --warn: #a06100;
  --warn-soft: #fdf3e1;
  --danger: #b02a21;
  --danger-soft: #fbeae8;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 33, 28, 0.05);
  --shadow: 0 1px 2px rgba(19, 33, 28, 0.04), 0 10px 30px rgba(19, 33, 28, 0.06);
  --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1513;
    --surface: #161e1b;
    --surface-2: #1b2421;
    --ink: #e8efec;
    --ink-soft: #cfdad5;
    --muted: #98a8a2;
    --line: #26332e;
    --line-strong: #35453f;
    --accent: #3fb39a;
    --accent-strong: #6fd3bd;
    --accent-soft: #14332c;
    --ok: #4cc79b;
    --ok-soft: #12312a;
    --warn: #e0a53f;
    --warn-soft: #33270f;
    --danger: #ef7d73;
    --danger-soft: #361a18;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 650;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 1.2em;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

.muted {
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  left: 16px;
}

/* ------------------------------ 顶栏 ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0e6b5a, #14917b);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-link {
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-link.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.readonly-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13.5px;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.user-chip:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.inline-form {
  display: inline;
  margin: 0;
}

/* ------------------------------ 容器 ------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 64px;
  flex: 1 0 auto;
}

.section {
  margin-top: 40px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 19px;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------ 按钮 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.btn-dark {
  background: #0d2420;
  color: #fff;
}

.btn-dark:hover {
  background: #12332d;
  color: #fff;
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  color: var(--ink-soft);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: transparent;
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

.btn-plus {
  font-size: 16px;
  line-height: 1;
  margin-right: 2px;
}

/* ------------------------------ 提示条 ------------------------------ */
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 14px;
  border: 1px solid transparent;
}

.flash-ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 22%, transparent);
}

.flash-warn {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 25%, transparent);
}

.flash-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: currentColor;
  color: var(--surface);
  flex-shrink: 0;
}

/* ------------------------------ 首页 Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0c5b4d 0%, #0f7263 55%, #14836f 100%);
  color: #fff;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.45fr);
  gap: 32px;
  align-items: end;
  box-shadow: 0 18px 50px -22px rgba(12, 70, 60, 0.55);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -90px -170px auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 68%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -140px auto auto 46%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-main {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero .dot {
  background: #7ff0d4;
  box-shadow: 0 0 0 4px rgba(127, 240, 212, 0.16);
}

.hero h1 {
  font-size: 42px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero .lede {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero .btn-ghost {
  color: #dff5ee;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-side {
  position: relative;
  z-index: 1;
}

.hero-note {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-note span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-note strong {
  font-size: 34px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.hero-note .muted {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* ------------------------------ 统计卡 ------------------------------ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-sm);
}

.stat-label {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.stat-value {
  font-size: 30px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-sub {
  font-size: 12px;
  color: var(--muted);
}

.stat-warn .stat-value {
  color: var(--warn);
}

.stat-danger .stat-value {
  color: var(--danger);
}

/* ------------------------------ 提醒 ------------------------------ */
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.alert-row:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.alert-row.alert-soon {
  border-left: 3px solid var(--warn);
}

.alert-row.alert-expired {
  border-left: 3px solid var(--danger);
}

.alert-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

.alert-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
  line-height: 1.4;
}

.alert-main strong {
  font-weight: 600;
  font-size: 14.5px;
}

.alert-main .muted {
  font-size: 12px;
}

/* ------------------------------ 试剂卡片 ------------------------------ */
.reagent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 14px;
}

.reagent-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 17px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--line-strong);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.reagent-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.reagent-card.state-ok {
  border-top-color: var(--ok);
}

.reagent-card.state-soon {
  border-top-color: var(--warn);
}

.reagent-card.state-expired {
  border-top-color: var(--danger);
}

.reagent-card.state-none {
  border-top-color: var(--line-strong);
}

.reagent-card.is-inactive {
  opacity: 0.62;
}

.reagent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.reagent-card h3 {
  font-size: 15.5px;
  font-weight: 620;
  margin-top: 2px;
}

.reagent-sub {
  font-size: 12.5px;
  color: var(--muted);
  min-height: 1.2em;
}

.reagent-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.reagent-meta div {
  display: flex;
  flex-direction: column;
}

.reagent-meta span {
  font-size: 11.5px;
  color: var(--muted);
}

.reagent-meta strong {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.reagent-meta-empty strong {
  color: var(--muted);
  font-weight: 500;
}

.reagent-foot {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ------------------------------ 状态徽章 ------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.pill-soon {
  background: var(--warn-soft);
  color: var(--warn);
}

.pill-expired {
  background: var(--danger-soft);
  color: var(--danger);
}

.pill-archived,
.pill-none {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}

.pill-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

/* ------------------------------ 页头 ------------------------------ */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.page-head h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.page-sub {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.eyebrow {
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ------------------------------ 筛选 ------------------------------ */
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}

.filter-field label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.filter-search {
  flex: 1 1 300px;
}

.filter-actions {
  display: flex;
  gap: 6px;
  padding-bottom: 1px;
}

input[type="text"],
input[type="search"],
input[type="date"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="email"],
select,
textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 9px 11px;
  width: 100%;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

textarea {
  resize: vertical;
  min-height: 84px;
}

.filter-bar input,
.filter-bar select {
  padding: 8px 10px;
  font-size: 13.5px;
}

/* ------------------------------ 表格 ------------------------------ */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--surface-2);
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table .row-actions,
.data-table .drug-actions-inner,
.data-table .method-actions-inner {
  justify-content: center;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: color-mix(in srgb, var(--accent) 3.5%, var(--surface));
}

.row-expired td:first-child {
  box-shadow: inset 3px 0 0 var(--danger);
}

.row-soon td:first-child {
  box-shadow: inset 3px 0 0 var(--warn);
}

.cell-reagent {
  min-width: 190px;
}

.cell-title {
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.cell-title:hover {
  color: var(--accent);
}

.cell-sub {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

.cell-batch {
  max-width: 170px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.cell-notes {
  max-width: 180px;
  color: var(--muted);
  font-size: 12.5px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.link-danger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--danger);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.link-danger:hover {
  text-decoration: underline;
}

.cell-actions {
  white-space: nowrap;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.pager-info {
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------ 空状态 ------------------------------ */
.empty-state,
.empty-banner {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  margin-top: 22px;
}

.empty-banner {
  margin-top: 28px;
}

.empty-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.empty-state p,
.empty-banner p {
  color: var(--muted);
  font-size: 13.5px;
}

.empty-banner strong {
  font-size: 16px;
}

.empty-banner p {
  margin: 6px 0 16px;
}

/* ------------------------------ 方法卡片 ------------------------------ */
.method-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.method-card summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.method-card summary::-webkit-details-marker {
  display: none;
}

.method-card summary::after {
  content: "详情";
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.method-card[open] summary::after {
  content: "收起";
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
}

.method-card[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.method-title {
  font-weight: 620;
  font-size: 14.5px;
}

.method-meta {
  font-size: 12.5px;
  color: var(--muted);
}

.method-body {
  padding: 18px 20px 20px;
}

.method-h {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 8px;
}

.method-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--warn-soft);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.method-note strong {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--warn);
  margin-bottom: 4px;
}

.method-source {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.link-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 550;
}

/* ------------------------------ 详情 ------------------------------ */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin: 0;
}

.spec-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-grid div {
  min-width: 0;
}

.spec-grid dt,
.kv dt {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 2px;
}

.spec-grid dd,
.kv dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
}

.prose p {
  margin: 0 0 10px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-size: 14px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.record-foot {
  margin-top: 26px;
  font-size: 12px;
}

.danger-zone {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ------------------------------ 表单 ------------------------------ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.req {
  color: var(--danger);
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.input-with-btn {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.input-with-btn input {
  flex: 1 1 auto;
  min-width: 0;
}

.input-with-btn .btn {
  flex: 0 0 auto;
}

.formula-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.formula-label {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 4px 0 2px;
  white-space: nowrap;
}

.formula-divider {
  width: 1px;
  height: 16px;
  background: var(--line-strong);
  margin: 0 6px;
}

.formula-btn {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
}

.formula-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.formula-btn:active {
  transform: translateY(1px);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-actions-inline {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13.5px;
  cursor: pointer;
}

.check-label input {
  width: auto;
}

.plain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 1.1em;
}

/* ------------------------------ 登录 ------------------------------ */
.auth-wrap {
  display: grid;
  place-items: center;
  min-height: 56vh;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.brand-mark-lg {
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 14px;
  margin: 0 auto 16px;
}

.auth-card h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-card .muted {
  font-size: 13.5px;
  line-height: 1.7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  text-align: left;
}

.auth-card .flash {
  margin-top: 18px;
  margin-bottom: 0;
  text-align: left;
}

.auth-foot {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
}

/* ------------------------------ 来源说明 ------------------------------ */
.source-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  font-size: 13.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.source-card p {
  margin-bottom: 10px;
}

.source-card ul {
  margin: 0 0 14px;
}

.source-card li {
  margin-bottom: 4px;
}

.source-links a {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 3px;
}

/* ------------------------------ 错误页 ------------------------------ */
.error-page {
  text-align: center;
  padding: 90px 20px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: var(--line-strong);
  line-height: 1;
  margin-bottom: 10px;
}

.error-page h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: auto;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-left strong {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-right a {
  color: var(--muted);
}

.footer-right a:hover {
  color: var(--accent);
}

.print-only {
  display: none;
}

/* ------------------------------ 管理端 ------------------------------ */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  color: var(--ink);
}

.admin-kicker {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.admin-card h3 {
  font-size: 16px;
}

.admin-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.admin-go {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}

.stat-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.option-panel {
  display: flex;
  flex-direction: column;
  height: 430px;
  min-height: 0;
}

.option-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.option-panel .inline-add {
  flex: 0 0 auto;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.option-row:last-child {
  border-bottom: none;
}

.option-name {
  flex: 1;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: text;
  font-size: 14px;
}

.option-name:hover {
  background: var(--surface-2);
}

.option-empty {
  padding: 14px 12px;
  font-size: 13px;
}

.inline-add {
  display: flex;
  gap: 8px;
  align-items: center;
}

.inline-add input {
  flex: 1;
}

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.source-edit {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1;
  margin: 0;
}

.source-edit input[type="text"] {
  width: auto;
  flex: 1 1 160px;
  min-width: 120px;
  padding: 6px 9px;
  font-size: 13px;
}

.source-kind {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.source-kind.is-file {
  color: var(--warn);
  background: var(--warn-soft);
}

.source-preview {
  grid-column: 1 / -1;
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}

.credential-box {
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.credential-box strong {
  color: var(--warn);
  font-size: 13px;
}

.credential-box code {
  font-size: 18px;
  letter-spacing: 1px;
  background: var(--surface);
}

.credential-box p {
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.invite-code {
  font-size: 20px;
  letter-spacing: 3px;
  padding: 8px 16px;
  font-weight: 600;
}

.member-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-img {
  object-fit: cover;
}

.avatar-lg {
  width: 68px;
  height: 68px;
  font-size: 28px;
  border-radius: 18px;
}

.avatar-preview {
  margin-bottom: 16px;
}

.auth-wide .auth-card {
  max-width: 540px;
}

.auth-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
}

.auth-links span {
  color: var(--line-strong);
}

.question-box {
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.template-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.formula-toolbar input,
.formula-toolbar button {
  width: auto;
}

@media (max-width: 900px) {
  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-panel {
    height: 360px;
  }
}

/* ------------------------------ 项目 ------------------------------ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-card h3 {
  font-size: 17px;
}

.project-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 2.6em;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
}

.project-counts {
  display: flex;
  gap: 14px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--accent);
}

.check-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
}

.check-chip input {
  width: auto;
  margin: 0;
}

.check-chip:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.import-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cell-project {
  min-width: 120px;
  max-width: 180px;
  white-space: normal;
  line-height: 1.5;
  font-size: 12.5px;
  color: var(--muted);
}

.cell-level {
  min-width: 200px;
  max-width: 260px;
  white-space: normal;
  line-height: 1.5;
}

.cell-level .lm-manufacturer {
  color: var(--muted);
}

.cell-level .lm-grade {
  font-weight: 500;
}

.view-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.view-tab {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.view-tab.is-active {
  background: var(--accent);
  color: #fff;
}

.project-section .section-head {
  flex-wrap: wrap;
  gap: 8px 16px;
}

.project-section .section-head h2 a {
  color: var(--ink);
}

.project-section .section-head h2 a:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .import-grid {
    grid-template-columns: 1fr;
  }

  .cell-level {
    white-space: normal;
  }
}

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 34px 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-side {
    display: none;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .kv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    gap: 14px;
  }

  .brand-sub {
    display: none;
  }

  .nav-link {
    padding: 7px 9px;
    font-size: 13px;
  }

  .readonly-chip {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 20px 16px 48px;
  }

  .header-inner {
    height: auto;
    min-height: 58px;
    padding: 10px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .brand-text {
    display: none;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    margin-left: auto;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-actions {
    width: 100%;
  }

  .nav-link {
    font-size: 12.5px;
    padding: 6px 8px;
  }

  .header-actions .btn-primary span.btn-plus {
    display: none;
  }

  .user-name {
    display: none;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .lede {
    font-size: 14px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat {
    padding: 14px 15px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-sub {
    font-size: 11px;
  }

  .page-head h1 {
    font-size: 24px;
  }

  .form-card {
    padding: 20px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid,
  .spec-grid-wide,
  .kv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-card summary {
    padding: 13px 14px;
    gap: 8px;
  }

  .method-meta {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filter-field {
    flex: 1 1 100%;
    min-width: 0;
  }

  .filter-actions {
    width: 100%;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    box-shadow: none;
  }

  /* 表格在手机上变成卡片，便于阅读 */
  .data-table.responsive,
  .data-table.responsive tbody,
  .data-table.responsive tr,
  .data-table.responsive td {
    display: block;
    width: 100%;
  }

  .data-table.responsive thead {
    display: none;
  }

  .data-table.responsive tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: var(--surface);
  }

  .data-table.responsive td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    border: none;
    padding: 7px 0;
    max-width: none;
    overflow-wrap: anywhere;
  }

  .data-table.responsive td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
  }

  .data-table.responsive td.cell-reagent {
    display: block;
    padding-top: 10px;
  }

  .data-table.responsive td.cell-reagent::before {
    display: none;
  }

  .row-expired td:first-child,
  .row-soon td:first-child {
    box-shadow: none;
  }

  .data-table.responsive tbody tr:hover td {
    background: transparent;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------ 打印 ------------------------------ */
@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --surface-2: #fff;
    --ink: #000;
    --muted: #444;
    --line: #bbb;
    --line-strong: #999;
    --shadow: none;
    --shadow-sm: none;
  }

  body {
    background: #fff;
  }

  .site-header,
  .site-footer,
  .filter-bar,
  .page-actions,
  .pager,
  .flash,
  .breadcrumb,
  .row-actions,
  .alert-list {
    display: none !important;
  }

  .print-only {
    display: block;
    margin-bottom: 14px;
  }

  .print-head h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .print-head p {
    font-size: 11px;
    color: #444;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .table-scroll {
    overflow: visible;
    border: none;
  }

  .data-table th,
  .data-table td {
    border-bottom: 1px solid #bbb;
    padding: 6px 8px;
    font-size: 10.5px;
  }

  .data-table th {
    background: #f2f2f2;
  }

  .pill {
    border: 1px solid #999;
    background: #fff !important;
    color: #000 !important;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .section,
  .page-head {
    break-inside: avoid;
  }

  @page {
    margin: 12mm;
  }
}

/* 所用药品 */
.component-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.component-table {
  width: 100%;
  min-width: 920px;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--surface);
}

.component-table th,
.component-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.component-table th:nth-child(1), .component-table td:nth-child(1) { width: 34%; }
.component-table th:nth-child(2), .component-table td:nth-child(2) { width: 14%; }
.component-table th:nth-child(3), .component-table td:nth-child(3) { width: 14%; }
.component-table th:nth-child(4), .component-table td:nth-child(4) { width: 16%; }
.component-table th:nth-child(5), .component-table td:nth-child(5) { width: 14%; }
.component-table th:nth-child(6), .component-table td:nth-child(6) { width: 8%; }

.component-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.component-table input,
.component-table select {
  width: 100%;
  min-width: 76px;
  padding: 6px 8px;
  font-size: 13px;
}

.component-table .comp-drug {
  min-width: 260px;
}

.comp-readonly {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.component-table .btn-xs {
  white-space: nowrap;
}

.inline-form {
  display: inline;
  margin-left: 8px;
}

.btn-xs {
  padding: 3px 9px;
  font-size: 12px;
}

.btn-danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 35%, transparent);
}

.formula-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.readonly-value {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft, #f4f7f4);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

@media (max-width: 680px) {
  .cell-level,
  .cell-project {
    min-width: 0;
    max-width: none;
  }
}

/* 手机端：总览试剂卡片两列紧凑；项目详情配制记录横向表格 */
@media (max-width: 680px) {
  .reagent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .reagent-card {
    padding: 10px 10px 9px;
    gap: 3px;
    border-radius: 10px;
    border-top-width: 2px;
  }

  .reagent-card h3 {
    font-size: 13px;
    line-height: 1.25;
    margin-top: 0;
  }

  .reagent-sub {
    font-size: 9.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0;
  }

  .reagent-card .code {
    font-size: 9.5px;
  }

  .reagent-card .pill {
    font-size: 9px;
    padding: 3px 5px;
  }

  .reagent-meta {
    gap: 3px;
    margin-top: 4px;
    padding-top: 6px;
  }

  .reagent-meta span {
    font-size: 9.5px;
  }

  .reagent-meta strong {
    font-size: 10.5px;
  }

  .reagent-foot {
    font-size: 9.5px;
    margin-top: 0;
  }

  .project-prep-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }

  .project-prep-table {
    min-width: 620px;
    font-size: 12px;
  }

  .project-prep-table th,
  .project-prep-table td {
    padding: 8px 8px;
  }

  .project-prep-table .cell-title {
    font-size: 13px;
  }

  .project-prep-table .cell-sub {
    font-size: 11px;
  }
}

/* 项目详情：固定列宽，避免“试剂”和“配制日期”之间出现大片空白 */
.project-prep-table {
  table-layout: fixed;
  width: 100%;
}

.project-prep-table th:nth-child(1),
.project-prep-table td:nth-child(1) {
  width: 28%;
}

.project-prep-table th:nth-child(2),
.project-prep-table td:nth-child(2) {
  width: 17%;
}

.project-prep-table th:nth-child(3),
.project-prep-table td:nth-child(3) {
  width: 11%;
}

.project-prep-table th:nth-child(4),
.project-prep-table td:nth-child(4) {
  width: 15%;
}

.project-prep-table th:nth-child(5),
.project-prep-table td:nth-child(5) {
  width: 15%;
}

.project-prep-table th:nth-child(6),
.project-prep-table td:nth-child(6) {
  width: 14%;
}

.project-prep-table td:nth-child(1) {
  white-space: normal;
}

/* 批量导入：三个面板等高，表单贴底对齐 */
.import-grid {
  align-items: stretch;
}

.import-grid > .panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.import-grid > .panel .stack-form {
  margin-top: auto;
}

/* 配制记录：固定列宽，压缩空档，级别/厂家获得更多空间 */
.records-table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}

.records-table th:nth-child(1), .records-table td:nth-child(1) { width: 12%; }
.records-table th:nth-child(2), .records-table td:nth-child(2) { width: 8%; }
.records-table th:nth-child(3), .records-table td:nth-child(3) { width: 6%; }
.records-table th:nth-child(4), .records-table td:nth-child(4) { width: 8%; }
.records-table th:nth-child(5), .records-table td:nth-child(5) { width: 11%; }
.records-table th:nth-child(6), .records-table td:nth-child(6) { width: 9%; }
.records-table th:nth-child(7), .records-table td:nth-child(7) { width: 10%; }
.records-table th:nth-child(8), .records-table td:nth-child(8) { width: 16%; }
.records-table th:nth-child(9), .records-table td:nth-child(9) { width: 7%; }
.records-table th:nth-child(10), .records-table td:nth-child(10) { width: 5%; }
.records-table th:nth-child(11), .records-table td:nth-child(11) { width: 8%; }

.records-table .cell-status {
  padding-right: 14px;
}

.records-table .cell-project {
  padding-left: 12px;
}

.records-table .cell-project,
.records-table .cell-level {
  min-width: 0;
  max-width: none;
}

.records-table .cell-notes {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-scroll {
  max-height: 3.2em;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

@media (max-width: 680px) {
  .records-table {
    min-width: 0;
    table-layout: auto;
  }

  .records-table th,
  .records-table td {
    width: auto;
  }

  .project-scroll {
    max-height: none;
    overflow: visible;
  }
}

/* 手机端：配制记录横向表格；管理页宽表格可横向滚动 */
@media (max-width: 680px) {
  .records-table {
    min-width: 1100px;
    table-layout: fixed;
  }

  .records-table td {
    white-space: normal;
  }

  .records-table .cell-level,
  .records-table .cell-project {
    min-width: 0;
    max-width: none;
  }

  .project-scroll {
    max-height: 3.2em;
    overflow-y: auto;
  }

  .component-scroll,
  .members-scroll,
  .admin-reagents-scroll,
  .records-scroll {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .members-table {
    min-width: 760px;
  }

  .members-table .member-cell {
    min-width: 0;
  }

  .members-table .member-cell strong {
    white-space: nowrap;
  }

  .admin-reagents-table {
    min-width: 820px;
  }

  .admin-reagents-table td:last-child {
    white-space: nowrap;
  }

  .admin-reagents-table td:last-child .inline-form {
    margin-left: 10px;
  }
}

/* 手机端：固定列宽，压缩表格空档 */
@media (max-width: 680px) {
  .members-table {
    min-width: 620px;
    table-layout: fixed;
  }
  .members-table th:nth-child(1), .members-table td:nth-child(1) { width: 29%; }
  .members-table th:nth-child(2), .members-table td:nth-child(2) { width: 22%; }
  .members-table th:nth-child(3), .members-table td:nth-child(3) { width: 11%; }
  .members-table th:nth-child(4), .members-table td:nth-child(4) { width: 10%; }
  .members-table th:nth-child(5), .members-table td:nth-child(5) { width: 18%; }
  .members-table th:nth-child(6), .members-table td:nth-child(6) { width: 10%; }

  .admin-reagents-table {
    min-width: 660px;
    table-layout: fixed;
  }
  .admin-reagents-table th:nth-child(1), .admin-reagents-table td:nth-child(1) { width: 7%; }
  .admin-reagents-table th:nth-child(2), .admin-reagents-table td:nth-child(2) { width: 33%; }
  .admin-reagents-table th:nth-child(3), .admin-reagents-table td:nth-child(3) { width: 14%; }
  .admin-reagents-table th:nth-child(4), .admin-reagents-table td:nth-child(4) { width: 10%; }
  .admin-reagents-table th:nth-child(5), .admin-reagents-table td:nth-child(5) { width: 10%; }
  .admin-reagents-table th:nth-child(6), .admin-reagents-table td:nth-child(6) { width: 10%; }
  .admin-reagents-table th:nth-child(7), .admin-reagents-table td:nth-child(7) { width: 16%; }

  .project-reagents-table {
    min-width: 540px;
    table-layout: fixed;
  }
  .project-reagents-table th:nth-child(1), .project-reagents-table td:nth-child(1) { width: 10%; }
  .project-reagents-table th:nth-child(2), .project-reagents-table td:nth-child(2) { width: 40%; }
  .project-reagents-table th:nth-child(3), .project-reagents-table td:nth-child(3) { width: 28%; }
  .project-reagents-table th:nth-child(4), .project-reagents-table td:nth-child(4) { width: 22%; }

  .component-view-table {
    min-width: 720px;
    table-layout: fixed;
  }
  .component-view-table th:nth-child(1), .component-view-table td:nth-child(1) { width: 21%; }
  .component-view-table th:nth-child(2), .component-view-table td:nth-child(2) { width: 11%; }
  .component-view-table th:nth-child(3), .component-view-table td:nth-child(3) { width: 17%; }
  .component-view-table th:nth-child(4), .component-view-table td:nth-child(4) { width: 14%; }
  .component-view-table th:nth-child(5), .component-view-table td:nth-child(5) { width: 16%; }
  .component-view-table th:nth-child(6), .component-view-table td:nth-child(6) { width: 10%; }
  .component-view-table th:nth-child(7), .component-view-table td:nth-child(7) { width: 11%; }

  .reagent-history-table {
    min-width: 680px;
    table-layout: fixed;
  }
  .reagent-history-table th:nth-child(1), .reagent-history-table td:nth-child(1) { width: 14%; }
  .reagent-history-table th:nth-child(2), .reagent-history-table td:nth-child(2) { width: 9%; }
  .reagent-history-table th:nth-child(3), .reagent-history-table td:nth-child(3) { width: 11%; }
  .reagent-history-table th:nth-child(4), .reagent-history-table td:nth-child(4) { width: 12%; }
  .reagent-history-table th:nth-child(5), .reagent-history-table td:nth-child(5) { width: 10%; }
  .reagent-history-table th:nth-child(6), .reagent-history-table td:nth-child(6) { width: 10%; }
  .reagent-history-table th:nth-child(7), .reagent-history-table td:nth-child(7) { width: 20%; }
  .reagent-history-table th:nth-child(8), .reagent-history-table td:nth-child(8) { width: 14%; }
}

@media (max-width: 680px) {
  .audit-table {
    min-width: 680px;
    table-layout: fixed;
  }
  .audit-table th:nth-child(1), .audit-table td:nth-child(1) { width: 15%; }
  .audit-table th:nth-child(2), .audit-table td:nth-child(2) { width: 12%; }
  .audit-table th:nth-child(3), .audit-table td:nth-child(3) { width: 10%; }
  .audit-table th:nth-child(4), .audit-table td:nth-child(4) { width: 12%; }
  .audit-table th:nth-child(5), .audit-table td:nth-child(5) { width: 51%; }

  .prep-history-table {
    min-width: 520px;
    table-layout: fixed;
  }
  .prep-history-table th:nth-child(1), .prep-history-table td:nth-child(1) { width: 20%; }
  .prep-history-table th:nth-child(2), .prep-history-table td:nth-child(2) { width: 14%; }
  .prep-history-table th:nth-child(3), .prep-history-table td:nth-child(3) { width: 18%; }
  .prep-history-table th:nth-child(4), .prep-history-table td:nth-child(4) { width: 18%; }
  .prep-history-table th:nth-child(5), .prep-history-table td:nth-child(5) { width: 30%; }
}

/* 密码框显示 / 隐藏 */
.password-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.password-wrap input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (max-width: 680px) {
  .password-toggle {
    width: 36px;
    height: 36px;
    right: 5px;
  }
}

/* 失效通知 */
.notify-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
}

.notify-bell:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.notify-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.notify-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--warn) 8%, var(--surface));
}

.notify-banner strong {
  margin-right: 8px;
}

.notify-banner span {
  color: var(--muted);
  font-size: 13.5px;
}

.notify-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13.5px;
}

.notify-summary strong {
  color: var(--ink);
}

.notifications-table th:nth-child(1), .notifications-table td:nth-child(1) { width: 13%; }
.notifications-table th:nth-child(2), .notifications-table td:nth-child(2) { width: 31%; }
.notifications-table th:nth-child(3), .notifications-table td:nth-child(3) { width: 14%; }
.notifications-table th:nth-child(4), .notifications-table td:nth-child(4) { width: 14%; }
.notifications-table th:nth-child(5), .notifications-table td:nth-child(5) { width: 14%; }
.notifications-table th:nth-child(6), .notifications-table td:nth-child(6) { width: 14%; }

@media (max-width: 680px) {
  .notify-bell {
    width: 32px;
    height: 32px;
  }

  .notify-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .notifications-table {
    min-width: 640px;
    table-layout: fixed;
  }
}

.notify-section-title {
  margin: 28px 0 10px;
  font-size: 16px;
}

/* 药品库存列表与展开详情 */
.drugs-table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}

.drugs-table th:nth-child(1), .drugs-table td:nth-child(1) { width: 26%; }
.drugs-table th:nth-child(2), .drugs-table td:nth-child(2) { width: 14%; }
.drugs-table th:nth-child(3), .drugs-table td:nth-child(3) { width: 11%; }
.drugs-table th:nth-child(4), .drugs-table td:nth-child(4) { width: 10%; }
.drugs-table th:nth-child(5), .drugs-table td:nth-child(5) { width: 9%; }
.drugs-table th:nth-child(6), .drugs-table td:nth-child(6) { width: 12%; }
.drugs-table th:nth-child(7), .drugs-table td:nth-child(7) { width: 8%; }
.drugs-table th:nth-child(8), .drugs-table td:nth-child(8) { width: 10%; }

.drug-actions {
  white-space: nowrap;
}

.drug-actions .inline-form {
  display: inline;
  margin-left: 8px;
}

.drug-residual {
  color: var(--accent);
  font-weight: 600;
}

.drug-detail-row td {
  padding: 0;
  background: var(--surface-2);
}

.drug-detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 22px;
  padding: 16px 18px 18px;
}

.drug-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.drug-detail-head h3 {
  font-size: 14px;
}

.drug-inline-batches {
  min-width: 620px;
  font-size: 12.5px;
}

.drug-inline-batches th,
.drug-inline-batches td {
  padding: 7px 8px;
}

.drug-inline-uses {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drug-inline-uses li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}

.drug-inline-uses li span:nth-child(2) {
  flex: 1;
  color: var(--muted);
}

@media (max-width: 680px) {
  .drugs-table {
    min-width: 900px;
    table-layout: fixed;
  }
  .drugs-table th:nth-child(1), .drugs-table td:nth-child(1) { width: 26%; }
  .drugs-table th:nth-child(2), .drugs-table td:nth-child(2) { width: 14%; }
  .drugs-table th:nth-child(3), .drugs-table td:nth-child(3) { width: 11%; }
  .drugs-table th:nth-child(4), .drugs-table td:nth-child(4) { width: 10%; }
  .drugs-table th:nth-child(5), .drugs-table td:nth-child(5) { width: 9%; }
  .drugs-table th:nth-child(6), .drugs-table td:nth-child(6) { width: 12%; }
  .drugs-table th:nth-child(7), .drugs-table td:nth-child(7) { width: 8%; }
  .drugs-table th:nth-child(8), .drugs-table td:nth-child(8) { width: 10%; }

  .drug-detail-panel {
    grid-template-columns: 1fr;
  }

  .drug-inline-batches {
    min-width: 620px;
  }
}

@media (max-width: 680px) {
  .drug-batches-table {
    min-width: 820px;
    table-layout: fixed;
  }
  .drug-batches-table th:nth-child(1), .drug-batches-table td:nth-child(1) { width: 12%; }
  .drug-batches-table th:nth-child(2), .drug-batches-table td:nth-child(2) { width: 12%; }
  .drug-batches-table th:nth-child(3), .drug-batches-table td:nth-child(3) { width: 20%; }
  .drug-batches-table th:nth-child(4), .drug-batches-table td:nth-child(4) { width: 12%; }
  .drug-batches-table th:nth-child(5), .drug-batches-table td:nth-child(5) { width: 12%; }
  .drug-batches-table th:nth-child(6), .drug-batches-table td:nth-child(6) { width: 10%; }
  .drug-batches-table th:nth-child(7), .drug-batches-table td:nth-child(7) { width: 12%; }
  .drug-batches-table th:nth-child(8), .drug-batches-table td:nth-child(8) { width: 10%; }

  .drug-uses-table {
    min-width: 640px;
    table-layout: fixed;
  }
  .drug-uses-table th:nth-child(1), .drug-uses-table td:nth-child(1) { width: 14%; }
  .drug-uses-table th:nth-child(2), .drug-uses-table td:nth-child(2) { width: 44%; }
  .drug-uses-table th:nth-child(3), .drug-uses-table td:nth-child(3) { width: 18%; }
  .drug-uses-table th:nth-child(4), .drug-uses-table td:nth-child(4) { width: 24%; }
}

.drug-spec-input {
  max-width: 150px;
}

.drug-spec-unit {
  max-width: 110px;
}

.form-section-title {
  margin: 8px 0 2px;
  font-size: 15px;
}

.expiry-preview {
  padding: 9px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--accent);
  background: var(--surface-2);
  font-size: 13.5px;
}

/* 药品库存列表（复用试剂与方法的展开样式） */
.drug-card summary {
  row-gap: 6px;
}

.drug-summary-stock {
  margin-left: 4px;
}

.drug-quick-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.drug-quick-form label {
  font-size: 13px;
  font-weight: 600;
}

.drug-quick-form select {
  min-width: 260px;
}

.drug-admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 680px) {
  .drug-quick-form select {
    min-width: 0;
    width: 100%;
  }

  .drug-quick-form .btn {
    width: 100%;
  }

  .drug-admin-actions .btn {
    flex: 1 1 auto;
  }
}

/* 公开药品库存：摘要平均铺满一行 */
.drug-summary {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) minmax(150px, 1fr) 76px minmax(150px, 1.1fr) 96px 110px auto;
  align-items: center;
  gap: 14px;
}

.drug-col {
  min-width: 0;
}

.drug-col-name {
  font-weight: 620;
  font-size: 14.5px;
}

.drug-col-meta,
.drug-col-stock,
.drug-col-residual,
.drug-col-expiry {
  font-size: 12.5px;
  color: var(--muted);
}

.drug-col-residual {
  color: var(--accent);
  font-weight: 600;
}

.drug-quick-form select {
  flex: 1 1 260px;
  width: auto;
}

@media (max-width: 680px) {
  .drug-summary {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
  }

  .drug-col-name {
    grid-column: 1 / -1;
  }

  .drug-col-stock,
  .drug-col-residual,
  .drug-col-expiry {
    grid-column: 1 / -1;
  }

  .drug-quick-form select {
    flex-basis: 100%;
    width: 100%;
  }
}

/* 公开药品库存：七列表格 */
.drugs-public-table {
  min-width: 0;
}

.drugs-public-table th:nth-child(1), .drugs-public-table td:nth-child(1) { width: 28%; }
.drugs-public-table th:nth-child(2), .drugs-public-table td:nth-child(2) { width: 15%; }
.drugs-public-table th:nth-child(3), .drugs-public-table td:nth-child(3) { width: 12%; }
.drugs-public-table th:nth-child(4), .drugs-public-table td:nth-child(4) { width: 12%; }
.drugs-public-table th:nth-child(5), .drugs-public-table td:nth-child(5) { width: 10%; }
.drugs-public-table th:nth-child(6), .drugs-public-table td:nth-child(6) { width: 14%; }
.drugs-public-table th:nth-child(7), .drugs-public-table td:nth-child(7) { width: 9%; }

@media (max-width: 680px) {
  .drugs-public-table {
    min-width: 900px;
    table-layout: fixed;
  }
  .drugs-public-table th:nth-child(1), .drugs-public-table td:nth-child(1) { width: 28%; }
  .drugs-public-table th:nth-child(2), .drugs-public-table td:nth-child(2) { width: 15%; }
  .drugs-public-table th:nth-child(3), .drugs-public-table td:nth-child(3) { width: 12%; }
  .drugs-public-table th:nth-child(4), .drugs-public-table td:nth-child(4) { width: 12%; }
  .drugs-public-table th:nth-child(5), .drugs-public-table td:nth-child(5) { width: 10%; }
  .drugs-public-table th:nth-child(6), .drugs-public-table td:nth-child(6) { width: 14%; }
  .drugs-public-table th:nth-child(7), .drugs-public-table td:nth-child(7) { width: 9%; }
}

.drug-actions {
  vertical-align: middle;
}

.drug-actions-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.drug-actions-inner .inline-form {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
}

.drug-actions-inner .btn {
  line-height: 1;
}

/* 试剂与方法：表格展示 */
.methods-table {
  table-layout: fixed;
  width: 100%;
  min-width: 1100px;
}

.methods-table th:nth-child(1), .methods-table td:nth-child(1) { width: 7%; }
.methods-table th:nth-child(2), .methods-table td:nth-child(2) { width: 26%; }
.methods-table th:nth-child(3), .methods-table td:nth-child(3) { width: 10%; }
.methods-table th:nth-child(4), .methods-table td:nth-child(4) { width: 9%; }
.methods-table th:nth-child(5), .methods-table td:nth-child(5) { width: 10%; }
.methods-table th:nth-child(6), .methods-table td:nth-child(6) { width: 13%; }
.methods-table th:nth-child(7), .methods-table td:nth-child(7) { width: 25%; }

.method-actions {
  vertical-align: middle;
}

.method-actions-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.method-actions-inner .inline-form {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
}

.method-actions-inner .btn {
  line-height: 1;
}

.method-detail-row td {
  padding: 0;
  background: var(--surface-2);
}

.method-detail-panel {
  padding: 16px 18px 18px;
}

@media (max-width: 680px) {
  .methods-table {
    min-width: 900px;
    table-layout: fixed;
  }
}

.drug-select-wrap {
  position: relative;
  width: 100%;
}

.drug-select-label {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 30px 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drug-select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.drug-select-wrap .comp-drug {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drug-select-wrap:focus-within {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-radius: 8px;
}

/* 配制记录操作列：编辑/删除保持横向 */
.records-table .cell-actions {
  white-space: nowrap;
}

.records-table .row-actions {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
}

.records-table .row-actions a,
.records-table .row-actions button {
  white-space: nowrap;
}
/* 悬停显示完整文本 */
.hover-tooltip {
  position: fixed;
  z-index: 3000;
  max-width: min(420px, calc(100vw - 16px));
  padding: 8px 11px;
  border-radius: 8px;
  background: #1f2933;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.footer-icp {
  font-size: 12px;
}

.footer-icp a {
  color: var(--muted);
}

.footer-icp a:hover {
  color: var(--accent);
}
