/* ==========================================================================
   体检中心排检系统 · 样式
   浅色专业医疗风：深蓝主色 + 青蓝（内检）/ 暖橙（外检）+ 香槟金点缀
   ========================================================================== */

:root {
  --navy: #12344f;
  --navy2: #1c4767;
  --blue: #3173a8;
  --inner: #17798d;
  --inner-soft: #e5f2f4;
  --outer: #c2703c;
  --outer-soft: #fbeee3;
  --vip: #8a6a2f;
  --vip-soft: #f7f0dd;
  --pending: #c0453a;
  --pending-soft: #fdeceb;
  --gold: #c2a86b;
  --ok: #12794a;
  --rest: #98a7b4;
  --rest-soft: #f0f3f6;

  /* 康养板块：青绿主色（与体检的青蓝/暖橙区分开） */
  --ky: #2f7d5c;
  --ky-soft: #e6f3ec;
  --am: #2f7fa8;
  --am-soft: #e7f2f9;
  --pm: #c2703c;
  --pm-soft: #fbeee3;

  --bg: #eef3f8;
  --card: #ffffff;
  --line: #dbe4ee;
  --line-soft: #eaeff5;
  --text: #1b2b3a;
  --muted: #6b7f92;
  --muted2: #93a4b3;

  --shadow-1: 0 1px 2px rgba(18, 52, 79, .06), 0 2px 8px rgba(18, 52, 79, .05);
  --shadow-2: 0 6px 28px rgba(18, 52, 79, .14);
  --radius: 12px;
  --radius-sm: 8px;

  /* 全站统一左右留白：顶栏 / 主页内容 / 弹层 / 登录页共用一个基准，
     这样每个页面看起来一样宽，不会一个大一个小（手机端 14px）。
     页面最大宽度也统一走 --page-max。 */
  --gutter: 26px;
  --page-max: 1360px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #e6eef6 0%, var(--bg) 240px, #f4f8fb 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

body.modal-open { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .2px; }
p { margin: 0; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
a { color: var(--blue); }

/* ============================== 通用按钮 ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: all .16s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(180deg, #1c5a86 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(18, 52, 79, .22);
}
.btn-primary:hover { background: linear-gradient(180deg, #20669a 0%, #173f5e 100%); }
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #f7fbff; }
.btn-plain {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn-plain:hover { background: var(--rest-soft); color: var(--navy); }
.btn-danger { background: var(--pending); color: #fff; }
.btn-danger:hover { background: #a93a30; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-row { display: flex; gap: 10px; justify-content: flex-end; width: 100%; }
.btn-row .btn { min-width: 88px; }

/* ============================== 顶部导航 ============================== */

.topbar {
  position: sticky; top: 0; z-index: 60;
  padding: 12px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  box-shadow: 0 2px 12px rgba(18, 52, 79, .18);
}
/* 顶栏内容与主页内容共用同一条左右基准线，宽屏下徽标与日历左边缘对齐 */
.topbar-inner {
  max-width: var(--page-max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; }
/* 品牌徽标：浅蓝白渐变底 + 香槟金细描边 + 内白线，深蓝顶栏上更像"徽章" */
.brand-mark {
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #eff5fb 100%);
  border: 1px solid rgba(194, 168, 107, .85);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(8, 26, 42, .24),
              inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.brand-mark img { width: 30px; height: 30px; display: block; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text b {
  color: #fff; font-size: 16px; letter-spacing: .5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text em { color: rgba(255,255,255,.62); font-size: 11.5px; font-style: normal; letter-spacing: .3px; }

/* 顶栏右侧用户区：整块不参与收缩。
   ⚠️ 之前 .nav-user / .nav-menu 都是"可收缩"的 flex 项，窗口一挤宽就把 .nav-menu 压到
   只有一个按钮宽（实测恒为 36px）→ 里面的 ✉ 与 ⋯ 变成**竖排堆叠**（任何宽度都这样）。
   flex:none + .nav-menu 自身改 flex 行，双管齐下才彻底解决。 */
.nav-user { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-user-info { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* 头像＝「姓名胶囊」：显示完整姓名（原来只切了第一个字＝只显示姓） */
.nu-avatar {
  min-width: 30px; height: 30px; padding: 0 9px;
  border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .2px;
  display: inline-flex; align-items: center; justify-content: center;
}
.nu-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.nu-text b { color: #fff; font-size: 13px; white-space: nowrap; }
.nu-text em { color: rgba(255,255,255,.6); font-size: 11px; font-style: normal; white-space: nowrap; }
.nu-avatar.nu-guest { background: rgba(194,168,107,.26); border-color: rgba(194,168,107,.5); color: #f0e4c4; }
/* 管理员头像：香槟金实心（深蓝顶栏上很醒目；手机端隐藏了姓名文字，靠它就够） */
.nu-avatar.nu-admin {
  background: linear-gradient(180deg, #efe0b8 0%, #c2a86b 100%);
  border-color: #e6d0a0;
  color: #3a2c0c; font-weight: 800;
}
/* 管理员徽标：顶栏姓名后的小金标 */
.nu-badge {
  display: inline-block; vertical-align: 1px;
  margin-left: 5px; padding: 1px 5px;
  font-style: normal; font-size: 10px; font-weight: 700; line-height: 1.5;
  color: #3a2c0c; background: linear-gradient(180deg, #e8d5a4 0%, #c2a86b 100%);
  border-radius: 4px; letter-spacing: .3px;
}
.nav-login-btn {
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14);
  color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 13px; border-radius: 8px;
  transition: all .16s ease;
}
.nav-login-btn:hover { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.62); }
.nav-mbtn {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 16px; line-height: 1;
}
.nav-mbtn:hover { background: rgba(255,255,255,.22); }
/* ✉ / ⋯ 一行并排（自身就是 flex 行，且不许被压缩 —— 见上面 .nav-user 的说明） */
.nav-menu { position: relative; display: flex; align-items: center; gap: 8px; flex: none; }
.nav-drop {
  display: none; position: absolute; right: 0; top: 38px; z-index: 80;
  min-width: 178px; padding: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow-2);
}
.nav-drop.open { display: block; }
.nav-drop button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border: 0; background: none;
  border-radius: 7px; color: var(--text); font-size: 13.5px;
}
.nav-drop button:hover { background: #f2f7fc; }
.nav-drop button.danger { color: var(--pending); }
.nav-drop button.danger:hover { background: var(--pending-soft); }
.nav-drop button.hl { color: var(--blue); font-weight: 600; }
/* ⋯ 菜单里「修改密码」右侧的小红标：还在用初始密码（＝工号）时提示一下 */
.nav-drop button .mm-tip {
  font-style: normal; font-size: 10.5px; font-weight: 700;
  margin-left: 6px; padding: 1px 6px; border-radius: 4px;
  background: var(--pending-soft); color: var(--pending); letter-spacing: .3px;
}
.nav-drop hr { border: 0; border-top: 1px solid var(--line-soft); margin: 5px 4px; }

/* ============================== 主区域 ============================== */

.view-main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 22px var(--gutter) 40px;
}

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}
.tb-left { display: flex; align-items: center; gap: 8px; }
.tb-month {
  min-width: 148px; text-align: center;
  font-size: 17px; color: var(--navy);
}
.tb-nav {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-size: 17px; line-height: 1;
}
.tb-nav:hover { border-color: var(--blue); color: var(--blue); }
.tb-right { display: flex; align-items: center; gap: 10px; }

.seg {
  display: inline-flex; padding: 3px;
  background: #e3ebf3; border-radius: 9px;
}
.seg button {
  border: 0; background: none; padding: 7px 15px;
  border-radius: 7px; color: var(--muted); font-size: 13.5px; font-weight: 600;
}
.seg button.on {
  background: #fff; color: var(--navy);
  box-shadow: 0 1px 3px rgba(18,52,79,.14);
}

/* ============================== 概览卡 ============================== */

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 16px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow-1); position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); opacity: .85;
}
.sc-inner::before { background: var(--inner); }
.sc-outer::before { background: var(--outer); }
.sc-book::before { background: var(--navy); }
.sc-pending::before { background: var(--pending); }
.sc-load::before { background: var(--gold); }
.sc-label { font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }
.sc-value { font-size: 25px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-top: 2px; }
.sc-value em { font-size: 12px; font-weight: 500; color: var(--muted2); font-style: normal; margin-left: 3px; }
.sc-sub { font-size: 11.5px; color: var(--muted2); margin-top: 3px; }

/* ============================== 日历 ============================== */

.cal-wrap {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-1);
  overflow: hidden;
}
.cal-head {
  display: grid; grid-template-columns: repeat(7, 1fr);
  background: #f4f8fc; border-bottom: 1px solid var(--line);
}
.ch-cell {
  padding: 9px 0; text-align: center;
  font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 1px;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  background: var(--line-soft); gap: 1px;
}
.cal-cell {
  background: #fff; padding: 8px 9px 7px;
  min-height: 104px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .14s ease, box-shadow .14s ease;
  position: relative;
}
.cal-cell:hover { background: #f6fbff; box-shadow: inset 0 0 0 1.5px var(--blue); z-index: 2; }
.cal-cell.outside { background: #fafcfd; }
.cal-cell.outside .cc-day { color: var(--muted2); }
.cal-cell.rest { background: #f6f8fa; }
.cal-cell.rest:hover { background: #f2f7fb; }
.cal-cell.makeup { background: #fdfbf4; }
.cal-cell.today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-cell.today::after {
  content: '今天'; position: absolute; right: 6px; bottom: 5px;
  font-size: 10px; color: var(--gold); font-weight: 700; letter-spacing: .5px;
}

/* 游客（未登录）不可点：无 hover 抬升、鼠标不变手型 */
.cal-cell.readonly { cursor: default; }
.cal-cell.readonly:hover { background: #fff; box-shadow: none; z-index: auto; }
.cal-cell.readonly.outside:hover { background: #fafcfd; }
.cal-cell.readonly.rest:hover { background: #f6f8fa; }
.cal-cell.readonly.makeup:hover { background: #fdfbf4; }

.cc-top { display: flex; align-items: center; gap: 4px; }
.cc-day { font-size: 15px; font-weight: 700; color: var(--navy); flex: none; }
.cal-cell.rest .cc-day { color: var(--rest); }
.cc-badge {
  font-size: 10px; padding: 1px 5px; border-radius: 4px;
  font-weight: 600; letter-spacing: .2px;
  white-space: nowrap; flex: none;
}
.badge-holiday { background: #fdeceb; color: var(--pending); }
.badge-rest { background: var(--rest-soft); color: var(--rest); }
.badge-makeup { background: #fbf3dd; color: #9a7c2c; }
.cc-count { margin-left: auto; font-size: 10.5px; color: var(--muted2); }

.cc-nums { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 1px; }
.cc-nums .n {
  font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px;
  letter-spacing: .2px;
}
.n-inner { background: var(--inner-soft); color: var(--inner); }
.n-vip { background: var(--vip-soft); color: var(--vip); }
.n-outer { background: var(--outer-soft); color: var(--outer); }
.cc-empty .n-none { color: #cbd6df; font-weight: 400; background: none; }

.cc-foot {
  margin-top: auto; font-size: 10.5px; color: var(--muted2);
  display: flex; flex-wrap: wrap; gap: 5px;
}
.c-pending { color: var(--pending); font-weight: 600; }
.c-ot { color: #9a7c2c; font-weight: 600; }
.c-inner { color: var(--inner); }
.c-outer { color: var(--outer); }

.cal-legend {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  padding: 11px 16px; border-top: 1px solid var(--line);
  background: #fbfdff; font-size: 12px; color: var(--muted);
}
.cal-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dot-inner { background: var(--inner); }
.dot-vip { background: var(--vip); }
.dot-outer { background: var(--outer); }
.dot-rest { background: var(--rest); }
.dot-pending { background: var(--pending); }
.lg-tip { margin-left: auto; color: var(--muted2); }

/* ---------- 游客登录入口（日历下方，全系统唯一） ---------- */

.guest-cta {
  margin-top: 16px;
  display: flex; justify-content: center;
}
.guest-cta .btn {
  padding: 11px 34px; font-size: 14px; font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(49,115,168,.22);
}

/* ============================== 项目汇总矩阵 ============================== */

.matrix-wrap {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: 16px; overflow: hidden;
}
.mx-hint {
  font-size: 12.5px; color: var(--muted);
  background: #f5f9fd; border-left: 3px solid var(--gold);
  padding: 9px 12px; border-radius: 0 8px 8px 0; margin-bottom: 12px; line-height: 1.65;
}
.matrix-scroll, .matrix-wrap > table { display: block; }
table.matrix {
  border-collapse: separate; border-spacing: 0;
  font-size: 12.5px; width: max-content; min-width: 100%;
  display: block;
}
table.matrix th, table.matrix td {
  border-bottom: 1px solid var(--line-soft);
  padding: 5px 4px; text-align: center; white-space: nowrap;
}
table.matrix thead th {
  position: sticky; top: 0; z-index: 5;
  background: #f4f8fc; color: var(--muted);
  font-weight: 600; font-size: 11.5px; padding: 7px 4px;
  border-bottom: 1px solid var(--line);
}
.mx-day { min-width: 34px; }
.mx-day.rest { background: #eef1f4; color: var(--rest); }
.mx-d { display: block; font-size: 12px; }
.mx-w { display: block; font-size: 9.5px; color: var(--muted2); }
.mx-day.rest .mx-d, .mx-day.rest .mx-w { color: var(--rest); }

.mx-name {
  text-align: left !important; padding-left: 10px !important;
  min-width: 168px; max-width: 200px; font-weight: 600; color: var(--navy);
}
.sticky-l { position: sticky; left: 0; z-index: 6; background: #fff; }
.sticky-r { position: sticky; right: 0; z-index: 6; background: #fff; font-weight: 700; }
thead .sticky-l, thead .sticky-r { z-index: 8; background: #f4f8fc; }
.mx-unit { font-size: 10px; color: var(--muted2); font-style: normal; margin-left: 4px; font-weight: 400; }
.mx-item { font-weight: 400; color: var(--text); padding-left: 16px; }
.dev-tag {
  font-size: 9.5px; font-style: normal; margin-left: 5px;
  background: #f0e9f7; color: #7a5ea8; padding: 0 4px; border-radius: 3px;
}
.mx-toggle {
  border: 0; background: none; color: var(--muted);
  font-size: 10px; padding: 0 4px 0 0; line-height: 1;
}
.mx-cat-row { background: #f8fbfe; cursor: pointer; }
.mx-cat-row:hover { background: #eef6fd; }
.mx-cat-row .mx-name { color: var(--navy); }
.mx-cat-row .sticky-l, .mx-cat-row .sticky-r { background: #f8fbfe; }
.mx-cat-row:hover .sticky-l, .mx-cat-row:hover .sticky-r { background: #eef6fd; }
.mx-item-row.hidden { display: none; }
.mx-cell { color: var(--muted2); }
.mx-cell.cat { background: #fbfdff; color: var(--navy); font-weight: 600; }
.mx-cell.has { color: var(--text); font-weight: 600; background: #f3fafc; }
.mx-cell.sum { background: #fbf6ea; color: #8a6a2f; font-weight: 700; }
.mx-cell:hover { outline: 1.5px solid var(--blue); outline-offset: -1.5px; cursor: pointer; }
.zero { color: #dde4ea; }

/* 页脚已整块移除（2026-09-21 阿秋定）；.page-foot 仅供"存储不可用"告警复用 */
.page-foot {
  margin-top: 16px; text-align: center;
  font-size: 11.5px; color: var(--muted2);
}
.pf-warn { color: var(--pending); font-weight: 600; }

/* ---------- 游客锁定卡（明细需员工身份） ---------- */

.lock-card {
  margin-top: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fc 100%);
  border: 1px solid #dfe9f2;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 15px 17px 16px;
}
.lk-head { display: flex; gap: 10px; align-items: flex-start; }
.lk-ico {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  background: var(--vip-soft); color: var(--vip);
  display: flex; align-items: center; justify-content: center;
}
.lk-title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.lk-sub { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 1px; }
.lk-list {
  margin: 11px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.lk-list li {
  position: relative; padding-left: 15px;
  font-size: 12.5px; color: var(--muted);
}
.lk-list li::before {
  content: ''; position: absolute; left: 2px; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.lock-card .btn { margin-top: 14px; }

/* 空数据引导 */
.empty-guide {
  background: #fff; border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  margin-bottom: 16px; text-align: center;
}
.empty-guide .eg-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.empty-guide p {
  font-size: 13px; color: var(--muted); margin: 8px auto 16px;
  max-width: 560px; line-height: 1.8;
}

/* ============================== 弹层 ============================== */

.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 34, 51, .5);
  backdrop-filter: blur(2px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 16px 6vh;
  overflow-y: auto;
  opacity: 0; transition: opacity .2s ease;
}
.modal-mask.in { opacity: 1; }
.modal-box {
  background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-2);
  width: 100%; max-width: 560px;
  transform: translateY(10px); transition: transform .2s ease;
  overflow: hidden;
}
.modal-mask.in .modal-box { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.modal-head h3 { font-size: 16px; color: var(--navy); }
.modal-x {
  border: 0; background: none; font-size: 22px; line-height: 1;
  color: var(--muted2); padding: 0 4px;
}
.modal-x:hover { color: var(--pending); }
.modal-body { padding: 18px 20px; }
.modal-foot {
  padding: 13px 20px; border-top: 1px solid var(--line);
  background: #fbfdff;
}
.confirm-text { font-size: 14px; line-height: 1.75; color: var(--text); }

/* ============================== 向导 ============================== */

.wiz-steps {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.ws {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted2); font-weight: 600;
}
.ws i {
  width: 19px; height: 19px; border-radius: 50%;
  background: #eef2f6; color: var(--muted2);
  font-size: 11px; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.ws.cur { color: var(--navy); }
.ws.cur i { background: var(--navy); color: #fff; }
.ws.done { color: var(--ok); }
.ws.done i { background: #e2f2ea; color: var(--ok); }
.ws-line { width: 14px; height: 1px; background: var(--line); }

.wiz-body-inner { min-height: 120px; }
.wiz-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.foot-right { display: flex; gap: 10px; margin-left: auto; }

.q-hint {
  font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.7;
}
.q-hint b { color: var(--navy); }

/* 日期步骤 */
.date-picker-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.date-input {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: 14px; color: var(--navy); font-weight: 600;
  font-family: inherit; background: #fff; flex: none;
}
.date-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,115,168,.12); }
.quick-dates { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-dates button {
  border: 1px solid var(--line); background: #fff; border-radius: 7px;
  padding: 8px 12px; font-size: 13px; color: var(--navy);
}
.quick-dates button:hover { border-color: var(--blue); color: var(--blue); background: #f7fbff; }

.card-soft {
  background: #f7fafd; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 14px;
}
.di-date { font-size: 15px; font-weight: 700; color: var(--navy); }
.di-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.di-load { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }

/* 每日预约量上限（第十三轮）：日期步骤的「当日余量」。
   满额用「待补红」（--pending）标出来，与「已满」小标呼应。 */
.di-cap {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--line-soft);
}
.dc-title { font-size: 11.5px; font-weight: 600; color: var(--muted2); }
.dc-item {
  display: inline-flex; align-items: baseline; gap: 3px;
  padding: 2px 9px; border-radius: 20px;
  background: #eef5fa; color: var(--navy); font-size: 11.5px;
}
.dc-item b { font-size: 13px; font-weight: 700; }
.dc-item i { font-style: normal; color: var(--muted2); font-size: 11px; }
.dc-item em {
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff;
  background: var(--pending); border-radius: 20px; padding: 0 6px; margin-left: 2px;
}
.dc-item.full { background: var(--pending-soft); color: var(--pending); }
.dc-note { font-size: 11px; color: var(--muted2); }

.tag {
  display: inline-block; font-size: 11.5px; padding: 2px 9px;
  border-radius: 20px; font-weight: 600;
}
.tag-rest { background: var(--rest-soft); color: var(--rest); }
.tag-work { background: #e7f3ec; color: var(--ok); }
.tag-warn-soft { background: #fbf3dd; color: #9a7c2c; }
.tag-muted { background: #eef2f6; color: var(--muted2); }

/* 选项卡片 */
.choice-group { display: grid; gap: 10px; }
.choice-group.two { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); background: #fff;
  border-radius: var(--radius); padding: 15px 16px;
  text-align: left; transition: all .16s ease;
}
.choice:hover { border-color: #a9c4dd; background: #fafdff; }
.choice.active {
  border-color: var(--navy); background: #f4f9fd;
  box-shadow: 0 0 0 3px rgba(18,52,79,.07);
}
.choice-icon {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: #eef4f9; color: var(--navy);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.choice.active .choice-icon { background: var(--navy); color: #fff; }
.choice-main { display: flex; flex-direction: column; }
.choice-label { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.choice-desc { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* 表单 */
.form-block { margin-bottom: 16px; }
.fl {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 6px;
}
.fl-sub { font-size: 11.5px; color: var(--muted2); font-weight: 400; margin-left: 4px; }
.req { color: var(--pending); }
.text-input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: 14px; font-family: inherit;
  color: var(--text); background: #fff;
}
.text-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,115,168,.12); }
textarea.text-input { resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.form-err {
  display: none; color: var(--pending); font-size: 13px;
  background: var(--pending-soft); padding: 8px 12px; border-radius: 7px; margin-top: 8px;
}
.form-err.show { display: block; }

/* 步进器 */
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: #fff;
}
.st-btn {
  width: 34px; height: 36px; border: 0; background: #f5f9fc;
  color: var(--navy); font-size: 17px; line-height: 1;
}
.st-btn:hover { background: #e8f1f9; }
.st-input {
  width: 62px; height: 36px; border: 0; text-align: center;
  font-size: 14.5px; font-weight: 700; color: var(--navy);
  font-family: inherit; background: #fff;
  -moz-appearance: textfield;
}
.st-input::-webkit-outer-spin-button,
.st-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-input:focus { outline: none; background: #f7fbff; }

/* 项目编辑区（按科室勾选 —— 2026-09-22 取代原「常规项目行 + 加项 chip + 上传套餐」） */
.items-head { margin: 4px 0 10px; }

/* 散客：项目明细选填 → 折叠头（收起 / 展开） */
.items-fold {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #f6fafd; padding: 11px 13px; margin-bottom: 12px;
}
.items-fold.is-collapsed { border-style: dashed; background: #f8fbfe; }
.if-main { min-width: 0; }
.if-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.if-opt {
  font-style: normal; font-size: 11px; font-weight: 400;
  color: #8a6a2f; background: #fdf3dc; border: 1px solid #ecdcb6;
  padding: 1px 6px; border-radius: 3px; margin-left: 6px;
}
.if-sub { font-size: 11.5px; color: var(--muted2); margin-top: 3px; line-height: 1.55; }
.fl-gap { margin-top: 12px; }

/* 科室一节 */
.item-group {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden;
}
.ig-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #f6fafd; padding: 8px 13px;
  border-bottom: 1px solid var(--line-soft);
}
.ig-head .ig-title { padding: 0; background: none; border-bottom: 0; }
.ig-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.ig-title span { font-weight: 400; font-size: 11.5px; color: var(--muted2); margin-left: 6px; }
.ig-ops { display: flex; gap: 6px; flex: none; }
.ig-op {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 11.5px; font-family: inherit; padding: 2px 9px;
  border-radius: 20px; cursor: pointer; line-height: 1.7;
}
.ig-op:hover { border-color: var(--inner); color: var(--inner); }

/* 单个项目的勾选行 */
.ip-row {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 13px; border-bottom: 1px dashed var(--line-soft);
}
.ip-row:last-child { border-bottom: 0; }
.ip-row:hover { background: #fafcfe; }
.ip-row.on { background: var(--inner-soft); }
.ip-main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.ip-main input[type=checkbox] {
  width: 15px; height: 15px; margin: 0; flex: none;
  accent-color: var(--inner); cursor: pointer;
}
.ip-name {
  font-size: 13.5px; color: var(--text);
  display: flex; align-items: center; gap: 6px;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ip-num {
  flex: none; width: 58px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 3px 7px; font-size: 12.5px; text-align: center;
  font-family: inherit; color: var(--muted2); background: #fbfdff;
  -moz-appearance: textfield;
}
.ip-num::-webkit-outer-spin-button,
.ip-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ip-num:focus { outline: none; }
.ip-row.on .ip-num {
  color: var(--navy); font-weight: 600; background: #fff; border-color: var(--inner);
}
.ir-unit { font-size: 10.5px; color: var(--muted2); font-style: normal; flex: none; }
.ir-del {
  flex: none; border: 0; background: none; color: var(--muted2); font-size: 16px;
  padding: 0 2px; line-height: 1; cursor: pointer;
}
.ir-del:hover { color: var(--pending); }

.custom-adder { display: flex; gap: 8px; padding: 11px 13px; }
.custom-adder .text-input { flex: 1; }

.items-sum {
  background: #f6fafd; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 10px 13px;
}
.sum-line { font-size: 13px; color: var(--muted); }
.sum-line b { color: var(--navy); font-size: 14px; }
.sum-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.sum-chip {
  font-size: 11.5px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 2px 10px; color: var(--muted);
}
.sum-chip b { color: var(--inner); }

@media (max-width: 860px) {
  .ig-head { flex-wrap: wrap; gap: 6px; }
  .ip-name { font-size: 13px; }
  .ip-num { width: 52px; }
}

/* 确认页 */
.confirm-list {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 14px;
}
.cf-row {
  display: flex; gap: 14px; padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft); font-size: 13.5px;
}
.cf-row:last-child { border-bottom: 0; }
.cf-row:nth-child(odd) { background: #fbfdff; }
.cf-k { flex: none; width: 78px; color: var(--muted); }
.cf-v { flex: 1; color: var(--text); }
/* 确认页「名额占用」单元格（第十三轮）：已占 / 上限，超限标红 */
.cap-k { font-style: normal; color: var(--muted); margin-right: 3px; }
.cap-v { font-size: 14px; font-weight: 700; color: var(--navy); margin-right: 2px; }
.cap-v.over { color: var(--pending); }
.cap-lim { font-style: normal; font-size: 11.5px; color: var(--muted2); }
.cap-over {
  font-style: normal; font-size: 11px; font-weight: 700; color: #fff;
  background: var(--pending); border-radius: 20px; padding: 1px 7px; margin-left: 4px;
}
.cap-sep { display: inline-block; width: 16px; }
.cf-no {
  font-style: normal; font-size: 11.5px; font-weight: 600;
  color: var(--navy2); background: #eef4fa;
  padding: 0 5px; border-radius: 4px;
}
.cf-items { margin-bottom: 14px; }
.cf-items-title { font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.cf-item {
  display: inline-block; font-size: 12px; background: #f4f8fc;
  border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 3px 9px; margin: 0 6px 6px 0; color: var(--text);
}
.cf-item b { color: var(--inner); }

/* 提示条 */
.notice {
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 12.5px; line-height: 1.75; margin-top: 12px;
}
.notice-warn { background: #fdf6e7; border-left: 3px solid var(--gold); color: #7d6428; }
.notice-info { background: #f2f8fd; border-left: 3px solid var(--blue); color: var(--navy2); }
.notice b { font-weight: 700; }

/* 当日详情 */
.day-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dh-date { font-size: 18px; font-weight: 700; color: var(--navy); }
.dh-tags { display: flex; gap: 6px; }
.day-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px;
}
.ds {
  background: #f7fafd; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 10px 13px;
}
.ds > span { font-size: 12px; color: var(--muted); display: block; }
.ds b { font-size: 21px; color: var(--navy); }
.ds em { font-size: 12px; color: var(--muted2); font-style: normal; margin-left: 2px; }
.ds small { display: block; font-size: 11px; color: var(--muted2); margin-top: 2px; }

/* 每日名额容量条（当日详情，第十三轮）：体检板块 + 员工可见。
   紧跟人数卡，用负上边距收一下间距（.day-stats 自带 16px） */
.cap-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 13px; margin: -6px 0 16px;
  background: #f7fafd; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.cb-title { font-size: 11.5px; font-weight: 600; color: var(--muted2); }
.cb-item { display: inline-flex; align-items: baseline; gap: 3px; font-size: 12px; }
.cb-k { font-style: normal; color: var(--muted); }
.cb-v { font-size: 14px; font-weight: 700; color: var(--navy); }
.cb-lim { font-style: normal; font-size: 11px; color: var(--muted2); }
.cb-left {
  font-size: 10.5px; font-weight: 600; color: var(--ok);
  background: #e7f3ec; border-radius: 20px; padding: 1px 7px; margin-left: 2px;
}
.cb-item.full .cb-v { color: var(--pending); }
.cb-item.full .cb-left { color: #fff; background: var(--pending); }
/* 内 / V 标记（与日历格一致） */
.wp {
  display: inline-block; font-style: normal; font-size: 10px; font-weight: 700;
  padding: 0 4px; border-radius: 3px; margin-right: 3px;
}
.wp-in { background: var(--inner-soft); color: var(--inner); }
.wp-vip { background: var(--vip-soft); color: var(--vip); margin-left: 8px; }

.day-proj {
  background: #fbfdff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 13px 15px; margin-bottom: 16px;
}
.day-proj h4 { font-size: 13px; color: var(--navy); margin-bottom: 9px; }
.dp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.dp-cat {
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 11px; font-size: 12.5px; color: var(--muted);
}
.dp-cat b { color: var(--navy); font-size: 15px; }
.dp-items { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-item {
  font-size: 11.5px; background: #f2f8fd; border-radius: 5px;
  padding: 3px 9px; color: var(--muted);
}
.dp-item b { color: var(--inner); }

.day-list h4 { font-size: 13px; color: var(--navy); margin-bottom: 9px; }
.dl-role { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted2); margin-left: 8px; }
.bk-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 11px 14px; margin-bottom: 9px; background: #fff;
}
.bk-card.pending { border-left: 3px solid var(--gold); background: #fffdf8; }
.bc-line1 { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }
.bc-type {
  font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 5px;
}
.t-inner { background: var(--inner-soft); color: var(--inner); }
.t-outer { background: var(--outer-soft); color: var(--outer); }
.bc-who { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.bc-head { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.bc-head b { color: var(--navy); font-size: 15px; }
.bc-line2 { font-size: 12px; color: var(--muted); }
.bc-file { color: var(--ok); }
/* 管理员视角：这条不是自己提交的 */
.bc-other {
  font-style: normal; font-size: 10.5px; color: #8a6a2f;
  background: #fdf3dc; border: 1px solid #ecdcb6;
  padding: 0 4px; border-radius: 3px; margin-left: 4px;
  white-space: nowrap;
}
.bc-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bc-line3 {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 7px; padding-top: 7px;
  border-top: 1px dashed var(--line-soft);
}
.bc-by { font-size: 11.5px; color: var(--muted2); }
.bc-no {
  font-style: normal; font-size: 10.5px; color: var(--navy2);
  background: #eef4fa; padding: 0 4px; border-radius: 3px;
}
.bc-ops {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; flex-wrap: wrap;
}
.bc-op {
  border: 0; background: none; color: var(--blue); font-size: 12.5px;
  padding: 0; text-decoration: none; cursor: pointer;
}
.bc-op:hover { text-decoration: underline; }
.bc-op.danger { color: var(--pending); }
/* 不是自己提交的记录：不显示按钮，用灰字说明为什么不能改 */
.bc-lock {
  font-size: 11.5px; color: var(--muted2);
  background: #f4f7fa; border: 1px dashed var(--line);
  padding: 1px 7px; border-radius: 5px;
}

/* ============================== 登录页 ============================== */

.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 30px var(--gutter);
}
.login-card {
  width: 100%; max-width: 440px; background: #fff;
  border-radius: 16px; box-shadow: 0 10px 44px rgba(18,52,79,.16);
  padding: 30px 30px 24px; border: 1px solid var(--line);
}
.lg-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
/* 登录页 logo：与顶栏徽标同一套语言（渐变底 + 金边 + 内白线），尺寸放大一档 */
.lg-logo {
  width: 52px; height: 52px; flex: none; border-radius: 15px;
  background: linear-gradient(180deg, #ffffff 0%, #eff5fb 100%);
  border: 1px solid rgba(194, 168, 107, .85);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(18, 52, 79, .14),
              inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.lg-logo img { width: 38px; height: 38px; display: block; }
.lg-brand h1 { font-size: 18px; color: var(--navy); }
.lg-brand p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.lg-reason {
  margin: 0 0 16px; padding: 9px 12px;
  background: #fbf7ee; border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; font-size: 12.5px; color: #7d6428;
}
.lg-actions { display: flex; gap: 10px; margin-top: 20px; }
.lg-actions .btn { flex: 1; }
.lg-form .fl { margin-top: 14px; }
.lg-form .fl:first-child { margin-top: 0; }

/* — 密码登录（2026-09-22 第十一轮）：原来第二栏是工号，现在换成密码 —
   `.lg-opt` ＝ 标签右侧的灰字说明（「首次登录＝本人工号」）
   `.lg-pwd` ＝ 密码框 + 右侧「显示 / 隐藏」小按钮（手机端输密码容易打错） */
.lg-form .fl .lg-opt {
  float: right; font-size: 11.5px; font-weight: 400; color: var(--muted2);
}
.lg-pwd { position: relative; }
.lg-pwd .text-input { padding-right: 58px; letter-spacing: .5px; }
.lg-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; cursor: pointer;
  font-size: 12px; color: var(--muted2);
  padding: 4px 9px; border-radius: 6px; line-height: 1.4;
}
.lg-eye:hover { color: var(--blue); background: #f2f7fc; }
.lg-eye.on { color: var(--blue); font-weight: 600; }

/* ============================== 员工名册弹层 ============================== */

.roster-sec { margin-top: 16px; }
.rs-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.rs-title em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted2); margin-left: 6px; }
.roster-head, .roster-row {
  display: grid; grid-template-columns: 1fr .85fr 1fr 96px 96px;
  gap: 8px; align-items: center;
}
.roster-head {
  font-size: 11px; color: var(--muted2); padding: 0 10px 5px;
  border-bottom: 1px solid var(--line);
}
.roster-list {
  max-height: 268px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 8px; margin-top: 5px;
}
.roster-row {
  padding: 7px 10px; font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.roster-row:last-child { border-bottom: 0; }
.roster-row:nth-child(odd) { background: #fbfdff; }
.rr-name { font-weight: 600; color: var(--text); }
.rr-no { font-size: 12px; color: var(--navy2); letter-spacing: .3px; }
.rr-dept { font-size: 12px; color: var(--muted); }
.rr-del {
  border: 0; background: none; color: var(--muted2);
  font-size: 15px; line-height: 1; padding: 0;
}
.rr-del:hover { color: var(--pending); }

/* 「密码」列（第十一轮）：密码状态小标 + 删除 ×。
   「初始」＝还在用工号当密码（灰），「已改密」＝员工自己改过（金） */
.rr-ops { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.rr-pwd {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 10.5px; padding: 2px 7px; border-radius: 5px; cursor: pointer;
  white-space: nowrap; line-height: 1.5; transition: all .14s ease;
}
.rr-pwd:hover { border-color: var(--blue); color: var(--blue); }
.rr-pwd.on {
  border-color: var(--gold); color: #8a6a2f; background: #fffdf6; font-weight: 700;
}

/* — 名册里的「管理权限」列 — */
.rr-perm { display: flex; justify-content: flex-start; }
.perm-btn {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 11px; padding: 2px 8px; border-radius: 5px; cursor: pointer;
  white-space: nowrap; transition: all .14s ease;
}
.perm-btn:hover { border-color: var(--gold); color: #8a6a2f; background: #fffdf6; }
.perm-btn.on {
  background: linear-gradient(180deg, #f0e2bd 0%, #ddc48a 100%);
  border-color: #c2a86b; color: #4a370f; font-weight: 700;
}
.perm-tag {
  font-size: 11px; color: var(--muted2);
  border: 1px solid var(--line-soft); border-radius: 5px; padding: 2px 8px;
}
.perm-tag.on {
  color: #4a370f; background: linear-gradient(180deg, #f0e2bd 0%, #ddc48a 100%);
  border-color: #c2a86b; font-weight: 700;
}
.rs-admin-cnt { color: #8a6a2f !important; font-weight: 600; }
.rs-tip { font-size: 11.5px; color: var(--muted2); line-height: 1.7; margin: 8px 0 0; }
.roster-empty { padding: 18px 12px; text-align: center; font-size: 12.5px; color: var(--muted2); }
.roster-add { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap: 8px; }
.roster-import-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.roster-box textarea.text-input { margin-top: 2px; resize: vertical; font-size: 13px; }

/* ========================== 体检套餐附件预览 ========================== */

.fp-box { display: flex; flex-direction: column; gap: 10px; }
.fp-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.fp-tag {
  font-size: 11.5px; font-weight: 600; color: var(--navy2);
  background: #eef4fa; border-radius: 5px; padding: 2px 8px;
}
.fp-who { font-size: 13px; color: var(--navy); }
.fp-date { color: var(--muted2); }
.fp-by { margin-left: auto; font-size: 11.5px; color: var(--muted2); }

.fp-img-wrap {
  background: #f4f7fa; border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 8px; max-height: 62vh; overflow: auto; text-align: center;
}
.fp-img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 0 auto; }
.fp-frame {
  width: 100%; height: 62vh; border: 1px solid var(--line-soft);
  border-radius: 10px; background: #f4f7fa;
}
.fp-hint { font-size: 11.5px; color: var(--muted2); margin: 0; }
.fp-none {
  background: #f8fbfe; border: 1px dashed var(--line); border-radius: 10px;
  padding: 26px 18px; text-align: center;
}
.fp-none-ico { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.fp-none p { margin: 0 0 6px; font-size: 13px; color: var(--navy2); line-height: 1.8; }
.fp-none-sub { font-size: 11.5px !important; color: var(--muted2) !important; }

.fp-info {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fbfdff; border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 8px 12px; font-size: 12.5px;
}
.fp-name { color: var(--navy2); word-break: break-all; }
.fp-size { color: var(--muted2); flex: none; }

/* 「下载到本机」是 <a>，别带链接默认样式 */
a.btn { text-decoration: none; }

/* ============== 消息提醒（管理员）：顶栏信封 + 公告条 + 消息中心 ==============
   像游戏里的内嵌邮件 / 公告：有新预约时顶栏信封带红点数字，
   日历上方出一条公告条，点开进消息中心按日期看明细。
   配色沿用中心的 navy + 香槟金，未读用暖红 #c0453a 提请注意。 */

/* —— 顶栏信封（只对管理员渲染）—— */
.nav-mail {
  position: relative; margin-right: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-mail svg { display: block; }
.nav-mail .nu-dot {
  position: absolute; top: -5px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-block;
  background: #c0453a; color: #fff;
  border: 1.5px solid var(--navy); border-radius: 9px;
  font-size: 10px; font-weight: 700; font-style: normal;
  line-height: 14px; text-align: center;
}
.nav-mail.has {
  background: rgba(194,168,107,.28);
  border-color: rgba(226,203,146,.75);
  color: #fdf3dc;
}
.nav-mail.has svg { animation: mailBob 1.8s ease-in-out infinite; }
@keyframes mailBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* —— 日历上方的公告条 —— */
.mail-banner {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding: 11px 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #fdf6e9 100%);
  border: 1px solid #ecdcb6; border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
}
.mb-ico {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(180deg, #1c4767 0%, var(--navy) 100%);
  color: #fdf3dc;
  display: flex; align-items: center; justify-content: center;
}
.mb-dot {
  position: absolute; top: -5px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: #c0453a; color: #fff;
  border: 1.5px solid #fff; border-radius: 9px;
  font-size: 10px; font-weight: 700; font-style: normal;
  line-height: 15px; text-align: center;
}
.mb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mb-txt b { color: var(--navy); font-size: 14px; }
.mb-txt em { color: #8a6a2f; font-size: 11.5px; font-style: normal; }
.mail-banner .btn { flex: none; }

/* —— 消息中心弹层 —— */
.mail-tip {
  background: #f2f8fd; border-left: 3px solid var(--blue); border-radius: 6px;
  color: var(--navy2); font-size: 12.5px; line-height: 1.75; padding: 9px 12px;
}
.mail-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 12px; padding-right: 2px;
  max-height: 56vh; overflow-y: auto;
}
.mail-block {
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; overflow: hidden;
}
.mail-block.fresh { border-color: #ecdcb6; box-shadow: 0 3px 14px rgba(194,168,107,.18); }
.mail-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 12px; cursor: pointer;
}
.mail-block.fresh .mail-item { background: linear-gradient(180deg, #fffdf7 0%, #fffbf2 100%); }
.mail-item:hover { background: #f7fbff; }
.mi-ico {
  flex: none; width: 32px; height: 32px; border-radius: 9px;
  background: #eef4f9; color: var(--muted2);
  display: flex; align-items: center; justify-content: center;
}
.mail-block.fresh .mi-ico {
  background: linear-gradient(180deg, #1c4767 0%, var(--navy) 100%);
  color: #fdf3dc;
}
.mi-main { flex: 1; min-width: 0; }
.mi-t { font-size: 14px; font-weight: 700; color: var(--navy); }
.mi-new {
  display: inline-block; vertical-align: 1px; margin-left: 6px;
  font-style: normal; font-size: 10px; font-weight: 700;
  color: #fff; background: #c0453a; padding: 1px 5px; border-radius: 4px;
}
.mi-sub { font-size: 12px; color: var(--muted2); margin-top: 3px; }
.mi-time {
  flex: none; font-size: 11.5px; color: var(--muted2);
  display: flex; align-items: center; gap: 5px;
}
.mi-caret { font-style: normal; display: inline-block; transition: transform .16s ease; }
.mail-block.open .mi-caret { transform: rotate(90deg); }
.mi-detail {
  display: none; padding: 0 12px 12px;
  border-top: 1px solid var(--line-soft); background: #fbfdff;
}
.mail-block.open .mi-detail { display: block; }
.md-sum { font-size: 11.5px; color: var(--muted2); padding: 9px 0 3px; }
.md-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 7px 0 6px;
}
.md-head b { font-size: 13px; color: var(--navy); }
.md-head span { font-size: 11.5px; color: #8a6a2f; }
.md-row {
  padding: 7px 10px; margin-bottom: 6px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 8px;
}
.md-l1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.md-tag { flex: none; font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.md-tag.t-inner { background: #e8f4f6; color: #17798d; }
.md-tag.t-outer { background: #fdf0e6; color: #c2703c; }
.md-who { font-size: 13px; font-weight: 600; color: var(--navy2); }
.md-n { margin-left: auto; font-size: 12px; color: var(--muted2); }
.md-n b { color: var(--navy); font-size: 13.5px; }
.md-l2 { font-size: 11.5px; color: var(--muted2); margin-top: 3px; }
.md-note { font-size: 11.5px; color: #8a6a2f; margin-top: 3px; }
.md-ops { display: flex; gap: 8px; margin-top: 6px; }
.mail-none {
  margin-top: 12px; padding: 8px 12px;
  background: #f7fbff; border: 1px dashed var(--line); border-radius: 8px;
  font-size: 12px; color: var(--muted2); text-align: center;
}
.mail-empty { text-align: center; padding: 30px 16px 26px; }.me-ico { color: #c7d5e0; display: flex; justify-content: center; margin-bottom: 10px; }
.mail-empty p { margin: 0 0 5px; font-size: 14px; font-weight: 600; color: var(--navy); }
.mail-empty span { font-size: 12px; color: var(--muted2); line-height: 1.7; }

/* ============================== Toast ============================== */

.toast-host {
  position: fixed; left: 50%; top: 22px; transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column; gap: 8px;
  align-items: center; pointer-events: none;
}
.toast {
  background: rgba(23, 43, 61, .94); color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 13.5px;
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(-8px); transition: all .25s ease;
  max-width: 80vw;
}
.toast.in { opacity: 1; transform: translateY(0); }
.toast-ok { background: rgba(18, 121, 74, .95); }
.toast-error { background: rgba(192, 69, 58, .95); }

/* ============================== 响应式 ============================== */

@media (max-width: 1024px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --gutter: 14px; }         /* 手机端统一留白 → 主页/弹层/登录页同宽 */
  .view-main { padding: 16px var(--gutter) 32px; }
  .topbar { padding: 10px 0; }
  .topbar-inner { padding: 0 var(--gutter); gap: 10px; }
  .brand-text em { display: none; }
  .brand-text b { font-size: 13.5px; letter-spacing: .2px; line-height: 1.3; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-mark img { width: 27px; height: 27px; }
  .nu-text { display: none; }
  .cal-cell { min-height: 82px; padding: 6px; }
  .cc-day { font-size: 13.5px; }
  .cc-nums { gap: 3px; }
  .cc-nums .n { font-size: 10.5px; padding: 1px 4px; }
  .cc-foot { font-size: 9.5px; }
  .cal-legend { gap: 10px; font-size: 11px; }
  .cal-legend .lg-tip { display: none; }
  .cc-top { flex-wrap: wrap; }
  /* 折叠头窄屏竖排：说明在上、按钮整宽在下 */
  .items-fold { flex-direction: column; align-items: stretch; gap: 9px; }
  .items-fold .btn { width: 100%; }
}

@media (max-width: 720px) {
  .brand-text b { font-size: 12.5px; }
  .nav-login-btn { padding: 5px 9px; font-size: 12px; }
  .toolbar { gap: 10px; }
  .tb-left { width: 100%; justify-content: space-between; }
  .tb-right { width: 100%; justify-content: space-between; }
  .tb-month { min-width: 120px; font-size: 15.5px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { padding: 11px 12px; }
  .sc-value { font-size: 20px; }
  .cal-cell { min-height: 68px; padding: 5px; }
  .cc-day { font-size: 12.5px; }
  .cc-badge { font-size: 9px; padding: 0 4px; }
  .cc-count { display: none; }
  .cc-nums .n { font-size: 10px; padding: 0 4px; }
  .cc-foot { display: none; }
  .cal-legend { padding: 9px 12px; }
  .choice-group.two { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .day-stats { grid-template-columns: 1fr; }
  /* 弹层不再顶到屏幕两边：与主页内容共用同一左右留白，四角都收圆 */
  .modal-mask { padding: 12px var(--gutter); align-items: flex-end; }
  .modal-box { border-radius: 16px; max-height: calc(100vh - 24px); overflow-y: auto; }
  .modal-body { padding: 15px 16px; }
  .login-wrap { padding: 20px var(--gutter); }
  .wiz-steps { gap: 2px; }
  .ws { font-size: 11px; }
  .ws-line { width: 8px; }
  .mx-name { min-width: 128px; }
  /* 名册在手机上换成 flex 折行（规则在下面 860px 断点里），这里只压字号与留白 */
  .roster-row { font-size: 12px; gap: 5px 8px; }
  /* 手机端名册去掉「科室」列（列太挤），只留 姓名 / 工号 / 管理权限 / 密码 / 删除 */
  .roster-head span:nth-child(3), .roster-row .rr-dept { display: none; }
  .perm-btn, .perm-tag { font-size: 10.5px; padding: 2px 6px; }
  .fp-frame { height: 46vh; }
  /* 手机端：操作按钮独占一行右对齐（三个按钮 + 人名挤一行会折得很碎） */
  .bc-line3 { flex-wrap: wrap; row-gap: 7px; }
  .bc-ops { flex: 0 0 100%; }
  .bc-op {
    font-size: 12px; padding: 2px 9px; border-radius: 5px;
    background: #f3f8fc; color: var(--navy2);
  }
  .bc-op.danger { background: #fdf0ee; }
  .bc-lock { margin-left: auto; }
  .roster-head { font-size: 10.5px; }
  .roster-add { grid-template-columns: 1fr 1fr; }
  .roster-add select { grid-column: 1 / -1; }
  .lg-actions { flex-direction: column-reverse; }
  .lock-card { padding: 13px 14px 15px; }
  .lock-card .btn { width: 100%; }
  .guest-cta { margin-top: 16px; }
  .guest-cta .btn { width: 100%; }
  /* 手机端：公告条按钮独占一行，消息中心明细收窄 */
  .mail-banner { flex-wrap: wrap; gap: 9px; padding: 10px 12px; }
  .mail-banner .btn { flex: 0 0 100%; width: 100%; }
  .mb-txt b { font-size: 13px; }
  .mb-txt em { font-size: 11px; }
  .mail-list { max-height: 52vh; }
  .mail-item { padding: 10px; gap: 8px; }
  .mi-t { font-size: 13px; }
  .mi-time { font-size: 11px; }
  .md-n { margin-left: auto; }
  .md-row { padding: 7px 9px; }
}

/* ==========================================================================
   双板块（2026-09-22）：板块切换 / 康养配色 / 三级权限开关 / 超管徽标
   ========================================================================== */

/* ---- 板块切换：体检排期 / 康养排期（主页最上方，游客也可切换看人数） ---- */
.board-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px;
}
.board-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; text-align: left; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-1);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
/* 选中态：**不要再把图标块刷成深色实心**（阿秋："点击以后颜色太深了，不好看"）——
   改成「浅色底 + 品牌色描边的图标块 + 品牌色标题 + 金色细描边」，一眼能看出选中，但不压沉。 */
.board-tab:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.bt-ico {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; background: var(--rest-soft);
  transition: background .15s ease, box-shadow .15s ease;
}
.bt-main { min-width: 0; }
.bt-main b { display: block; font-size: 15px; color: var(--text); letter-spacing: .3px; }
.bt-main em {
  display: block; font-style: normal; font-size: 11.5px;
  color: var(--muted2); margin-top: 2px;
}
.board-tab.bt-tijian.on {
  border-color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  box-shadow: 0 2px 10px rgba(18, 52, 79, .10), inset 0 0 0 1px rgba(194, 168, 107, .34);
}
.board-tab.bt-tijian.on .bt-ico { background: #e7eff7; box-shadow: inset 0 0 0 1px rgba(18, 52, 79, .12); }
.board-tab.bt-tijian.on .bt-main b { color: var(--navy); }
.board-tab.bt-kangyang.on {
  border-color: var(--ky);
  background: linear-gradient(180deg, #ffffff 0%, #f3f9f5 100%);
  box-shadow: 0 2px 10px rgba(18, 52, 79, .10), inset 0 0 0 1px rgba(194, 168, 107, .34);
}
.board-tab.bt-kangyang.on .bt-ico { background: var(--ky-soft); box-shadow: inset 0 0 0 1px rgba(47, 125, 92, .14); }
.board-tab.bt-kangyang.on .bt-main b { color: var(--ky); }

/* ---- 康养日历标签：上 N / 下 N ---- */
.n-am { background: var(--am-soft); color: var(--am); }
.n-pm { background: var(--pm-soft); color: var(--pm); }
.dot-am { background: var(--am); }
.dot-pm { background: var(--pm); }
.dot-ot { background: #b8973a; }
.c-am { color: var(--am); font-weight: 700; }
.c-pm { color: var(--pm); font-weight: 700; }
.bc-plain { color: var(--muted2); }

/* 记录卡 / 消息明细的时段标签 */
.t-am { background: var(--am-soft); color: var(--am); }
.t-pm { background: var(--pm-soft); color: var(--pm); }
.md-tag.t-am { background: var(--am-soft); color: var(--am); }
.md-tag.t-pm { background: var(--pm-soft); color: var(--pm); }

/* 康养概览卡 */
.sc-am::before { background: var(--am); }
.sc-pm::before { background: var(--pm); }

/* ---- 名册权限三开关：检 / 康 / 超 ---- */
.perm-col { display: inline-flex; gap: 4px; }
.pc-btn {
  width: 26px; height: 22px; padding: 0;
  border: 1px solid var(--line); background: #fff; color: var(--muted2);
  font-size: 11px; border-radius: 5px; cursor: pointer;
  transition: all .14s ease;
}
.pc-btn:hover { border-color: var(--gold); color: #8a6a2f; background: #fffdf6; }
.pc-btn.on { font-weight: 700; color: #fff; }
.pc-adminT.on { background: var(--inner); border-color: var(--inner); }
.pc-adminK.on { background: var(--ky); border-color: var(--ky); }
.pc-super.on {
  background: linear-gradient(180deg, #d8bc7e 0%, #b39455 100%);
  border-color: #b39455; color: #2e2309;
}

/* ---- 顶栏超级管理员徽标（比板块管理员更醒目） ---- */
.nu-badge.nu-super {
  color: #fff;
  background: linear-gradient(180deg, #b4453c 0%, #93362f 100%);
}

/* ---- 消息中心：板块标 ---- */
.mi-board {
  display: inline-block; vertical-align: 1px; margin-right: 6px;
  font-style: normal; font-size: 10.5px; font-weight: 700;
  padding: 1px 6px; border-radius: 4px; letter-spacing: .3px;
}
.mi-board.mb-tj { background: var(--inner-soft); color: var(--inner); }
.mi-board.mb-ky { background: var(--ky-soft); color: var(--ky); }

/* 名册行网格：权限列从单按钮（76px）加宽到三开关；最后一列放「密码状态 / 重置 + 删除」 */
.roster-head, .roster-row {
  grid-template-columns: 1fr .85fr 1fr 96px 96px;
}

@media (max-width: 860px) {
  .board-tabs { gap: 8px; }
  .board-tab { padding: 10px 11px; gap: 9px; }
  .bt-ico { width: 32px; height: 32px; font-size: 16px; border-radius: 9px; }
  .bt-main b { font-size: 13.5px; }
  .bt-main em { font-size: 10.5px; }
  /* 手机上名册改成 flex 折行：列太挤时宁可换行，也绝不横向溢出 */
  .roster-head { display: none; }
  .roster-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px;
  }
  .roster-row .rr-dept { display: none; }
  .roster-row .rr-ops { margin-left: auto; }
}

/* ==========================================================================
   体检预约排行榜（2026-09-22 阿秋："我想在主页面的下方显示一个排行榜，分为团体预约榜
   和散客预约榜，会显示本月前5名预约的业务员的名字以及预约人数"）
   仅登录员工可见、仅体检板块渲染（康养板块不需要）。
   ========================================================================== */
.rank-wrap {
  margin-top: 16px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.rank-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: #f6fafd;
  border-bottom: 1px solid var(--line-soft);
}
.rank-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.rank-title span { font-weight: 400; font-size: 12px; color: var(--muted2); margin-left: 8px; }
.rank-sub { font-size: 11.5px; color: var(--muted2); flex: none; }

.rank-cols { display: grid; grid-template-columns: 1fr 1fr; }
.rank-col { padding: 12px 16px 14px; }
.rank-col + .rank-col { border-left: 1px dashed var(--line-soft); }
.rank-col-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--navy2);
  padding-bottom: 8px; margin-bottom: 2px;
  border-bottom: 1px solid var(--line-soft);
}
.rank-col-head em {
  font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--muted2);
}
.rank-col-head i {
  font-style: normal; margin-left: auto; font-size: 10.5px;
  font-weight: 400; color: var(--muted2);
}

.rank-row {
  display: grid; grid-template-columns: 26px 1fr auto auto;
  align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px dashed var(--line-soft);
}
.rank-row:last-child { border-bottom: 0; }
.rk-no {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700;
  background: #eef2f6; color: var(--muted);
}
.rk-1 .rk-no { background: #c2a86b; color: #fff; }
.rk-2 .rk-no { background: #dfe4e9; color: #4a5560; }
.rk-3 .rk-no { background: #ecdfd3; color: #7a6250; }
.rk-name {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rk-name em {
  font-style: normal; font-weight: 400; font-size: 11px;
  color: var(--muted2); margin-left: 6px;
}
.rk-val { font-size: 13.5px; font-weight: 700; color: var(--navy); flex: none; }
.rk-val i {
  font-style: normal; font-weight: 400; font-size: 11px;
  color: var(--muted2); margin-left: 2px;
}
.rk-cnt { font-size: 11px; color: var(--muted2); flex: none; }
.rank-empty { font-size: 12.5px; color: var(--muted2); padding: 12px 0 4px; }

@media (max-width: 860px) {
  .rank-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rank-cols { grid-template-columns: 1fr; }
  .rank-col { padding: 12px 14px 14px; }
  .rank-col + .rank-col { border-left: 0; border-top: 1px dashed var(--line-soft); }
  .rank-row { gap: 8px; }
}

/* ==========================================================================
   修改密码弹层（2026-09-22 第十一轮：登录改为「姓名 + 密码」，初始密码＝工号）
   ========================================================================== */
.pwd-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  font-size: 12.5px; color: var(--muted);
  background: var(--inner-soft); border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 9px 12px; margin-bottom: 4px;
}
.pwd-note b { color: var(--navy); font-size: 13.5px; }
.pwd-note span { font-size: 12px; color: var(--navy2); letter-spacing: .3px; }
.pwd-note em {
  font-style: normal; font-size: 11.5px; color: #8a6a2f;
  background: #fffdf6; border: 1px solid var(--gold);
  border-radius: 5px; padding: 1px 7px;
}
.pwd-tip {
  font-size: 11.5px; color: var(--muted2); line-height: 1.7;
  margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-soft);
}
