:root {
  --bg: #f4f6fa;
  --card: #ffffff;
  --line: #e3e8f0;
  --text: #1c2534;
  --muted: #7b8798;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --ok: #0f9d58;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(24, 39, 75, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.hidden { display: none !important; }

/* ---------------- 登录 ---------------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(160deg, #e8efff 0%, #f4f6fa 55%);
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 40px rgba(24, 39, 75, .1);
}
.login-card h1 {
  font-size: 21px;
  margin: 0 0 4px;
  text-align: center;
}
.login-card .sub {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.seg {
  display: flex;
  background: #eef2f9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 500;
}
.seg button.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 4px rgba(24, 39, 75, .1);
}

/* ---------------- 通用控件 ---------------- */
label.field { display: block; margin-bottom: 14px; }
label.field > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { resize: vertical; min-height: 76px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all .15s;
  white-space: nowrap;
}
.btn:hover { border-color: #c9d3e2; }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn.primary:hover { background: var(--brand-dark); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.warn { background: var(--warn); border-color: var(--warn); color: #fff; }
.btn.danger { color: var(--danger); border-color: #f3c9c9; }
.btn.block { width: 100%; padding: 12px; font-size: 15px; }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- 主框架 ---------------- */
header.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
header.topbar .brand { font-weight: 600; font-size: 16px; }
header.topbar .who {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill {
  background: #eef2f9;
  color: var(--brand);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
}

nav.tabs {
  display: flex;
  gap: 6px;
  padding: 10px 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 49px;
  z-index: 19;
}
nav.tabs button {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
nav.tabs button.active {
  background: #e8efff;
  color: var(--brand-dark);
  font-weight: 600;
}

main { padding: 16px 18px 60px; max-width: 1080px; margin: 0 auto; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
}
.card h2 {
  font-size: 15px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card h2 .hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: auto;
}

.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 180px; }

/* ---------------- 列表 ---------------- */
.item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 10px;
  background: #fff;
}
.item .head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.item .name { font-weight: 600; }
.item .meta { font-size: 13px; color: var(--muted); }
.item .reason {
  font-size: 13px;
  color: #43506a;
  margin-top: 6px;
  background: #f7f9fd;
  border-radius: 8px;
  padding: 7px 10px;
  word-break: break-word;
}
.item .wait {
  font-size: 12.5px;
  color: #8a5a00;
  background: #fff8e6;
  border: 1px solid #ffe3a3;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 6px;
}
.item .actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

.badge {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
}
.badge.pending { background: #eaf1ff; color: #1d4ed8; border-color: #cfe0ff; }
.badge.approved { background: #e6f7ee; color: #0f7a45; border-color: #bfe9d3; }
.badge.rejected { background: #fdecec; color: #b91c1c; border-color: #f6cccc; }
.badge.waitlist { background: #fff5e0; color: #96620a; border-color: #ffe0a8; }
.badge.cancelled { background: #f1f3f7; color: #6b7688; border-color: #e2e6ee; }

.empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 26px 10px;
}

/* ---------------- 日历 ---------------- */
.cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cal-head .month { font-size: 16px; font-weight: 600; }
.cal-head .quota { margin-left: auto; font-size: 13px; color: var(--muted); }

.bar {
  height: 8px;
  background: #eef2f9;
  border-radius: 999px;
  overflow: hidden;
  margin: 6px 0 16px;
}
.bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4f8cff, #2563eb);
  border-radius: 999px;
  transition: width .3s;
}
.bar.over > i { background: linear-gradient(90deg, #f59e0b, #dc2626); }

.week-head, .week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.week-head div {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 4px;
}
.day {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 6px;
  font-size: 12px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: all .15s;
}
.day:hover { border-color: #b9c9e6; }
.day.blank { background: transparent; border: 0; cursor: default; }
.day.weekend { background: #fafbfe; color: #a6b0c0; }
.day.today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.day .d { font-weight: 600; font-size: 12.5px; }
.day .cnt {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1d4ed8;
}
.day.full .cnt { background: #fdecec; color: #b91c1c; }
.day .nm {
  display: block;
  font-size: 10.5px;
  color: #5a6478;
  line-height: 1.3;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.day.wl { outline: 1px dashed #f0b429; }

/* ---------------- 申请页日历选择器 ---------------- */
.pick-cal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  flex-wrap: wrap;
}
.pick-cal-head .month { font-size: 15px; font-weight: 600; }
.pick-legend {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}
.pick-legend .lg {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 3px;
  vertical-align: -1px;
  border: 1px solid var(--line);
}
.pick-legend .lg.free { background: #fff; }
.pick-legend .lg.full { background: #fdecec; border-color: #f5b5b5; }
.pick-legend .lg.spring { background: #fff4e5; border-color: #f7c98a; }

.pick-grid .day { cursor: pointer; }
.pick-grid .day.nonwork { opacity: .55; }
.pick-grid .day.spring { background: #fff8ee; border-color: #f7d7ad; }
.pick-grid .day.full { background: #fdf0f0; border-color: #f2c2c2; }
.pick-grid .day.mine { box-shadow: inset 0 0 0 1px #a78bfa; }
.pick-grid .day.sel { background: #e8f0ff; border-color: #6a9bff; }
.pick-grid .day.edge {
  background: #2563eb;
  border-color: #2563eb;
}
.pick-grid .day.edge .d,
.pick-grid .day.edge .nm,
.pick-grid .day.edge .cnt { color: #fff; }
.pick-grid .day.edge .cnt { background: rgba(255,255,255,.25); }

/* ---------------- 春节抽签 ---------------- */
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; background: #eef1f6; color: #5a6478; }
.badge.pending { background: #fff4e5; color: #b45309; }
.badge.approved { background: #e9f9f0; color: #0f7b4f; }
tr.row-cur td { background: #fff8ee; }

/* ---------------- 提示 ---------------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  background: #1c2534;
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all .25s;
  z-index: 100;
  max-width: 86vw;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: #b91c1c; }
#toast.ok { background: #0f7a45; }

.tip {
  font-size: 13px;
  color: var(--muted);
  background: #f7f9fd;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.tip b { color: var(--text); }

/* ---------------- 扫码弹层 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 42, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 90;
}
.modal-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  width: 100%;
  max-width: 340px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  animation: pop .2s ease-out;
}
@keyframes pop {
  from { transform: scale(.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
  text-align: center;
}
.modal-box img {
  width: 210px;
  height: 210px;
  image-rendering: pixelated;
  border-radius: 10px;
}

.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.stat {
  flex: 1 1 100px;
  background: #f7f9fd;
  border-radius: 10px;
  padding: 10px 12px;
}
.stat .n { font-size: 19px; font-weight: 600; }
.stat .l { font-size: 12px; color: var(--muted); }

table.mini { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.mini th, table.mini td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
}
table.mini th { color: var(--muted); font-weight: 500; font-size: 12.5px; }
table.mini td.ops { text-align: right; white-space: nowrap; }

@media (max-width: 640px) {
  main { padding: 12px 12px 60px; }
  /* 顶栏改为两行：标题独占一行，操作按钮换到第二行 */
  header.topbar {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  header.topbar .brand {
    flex: 1 1 100%;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header.topbar .who {
    margin-left: 0;
    flex: 1 1 100%;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  header.topbar .who::-webkit-scrollbar { display: none; }
  header.topbar .who > * { flex: 0 0 auto; white-space: nowrap; }
  /* 第二行高度约 44px，tabs 吸附位置相应下移 */
  nav.tabs { padding: 8px 12px; top: 96px; }
  .card { padding: 14px; }
  .day { min-height: 54px; padding: 4px; }
  /* 手机端不再隐藏姓名：改为单行省略，保证能看出是谁休假 */
  .day .nm {
    display: block;
    font-size: 9.5px;
    line-height: 1.25;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .day.has { cursor: pointer; }
  .row > * { flex: 1 1 100%; }

  /* 触控友好：所有按钮不小于 40px 高 */
  .btn { min-height: 42px; padding: 10px 16px; }
  .btn.sm { min-height: 38px; padding: 8px 14px; font-size: 13.5px; }
  .item .actions .btn { flex: 1 1 0; }

  /* iOS 输入框字号小于 16px 会触发自动放大，这里统一 16px */
  input, select, textarea { font-size: 16px; padding: 12px; }

  /* 底部安全区（全面屏 Home 指示条） */
  body { padding-bottom: env(safe-area-inset-bottom); }
  #toast { bottom: calc(24px + env(safe-area-inset-bottom)); }

  /* 日历格子在窄屏更紧凑 */
  .week-head, .week-grid { gap: 4px; }
  .day { min-height: 50px; border-radius: 8px; }
  .day .d { font-size: 12px; }
  .day .cnt { font-size: 10px; padding: 0 5px; }

  /* 弹层适配小屏 */
  .modal { padding: 16px; align-items: flex-end; }
  .modal-box { max-width: none; border-radius: 18px 18px 14px 14px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .modal-box img { width: 200px; height: 200px; }
}

/* 超小屏（320px 宽的老机型） */
@media (max-width: 360px) {
  .day { min-height: 44px; }
  .day .cnt { display: none; }
  .stat { flex: 1 1 100%; }
}


/* ---------------- v2 新增：按天分配 ---------------- */
.day-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.day-row:last-child { border-bottom: 0; }
.day-label {
  flex: 0 0 108px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13.5px;
}
.day-label b { font-weight: 600; }
.day-label .wd { font-size: 11.5px; color: var(--muted); }
.day-row select { flex: 1 1 auto; padding: 8px 10px; font-size: 14px; }

.alloc-summary {
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  background: #f7f9fd;
}
.alloc-summary.ok { border-color: #bfe9d3; background: #f0fbf5; }
.alloc-summary.bad { border-color: #ffe0a8; background: #fffbf0; }
.sum-line { line-height: 1.8; }
.sum-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip {
  background: #eef2f9;
  color: #43506a;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12.5px;
}
.chip.q { background: #e8efff; color: #1d4ed8; font-weight: 500; }

.types {
  font-size: 12.5px;
  color: #1d4ed8;
  background: #eef4ff;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 6px;
  display: inline-block;
}

/* 季度格子 */
.qgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.qcell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  background: #fafbfe;
}
.qcell.qbad { border-color: #f6cccc; background: #fdf4f4; }
.qcell.qwarn { border-color: #ffe0a8; background: #fffbf0; }
.qhead {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 6px;
}
.qhead b { font-size: 13px; }
.qhead span { color: var(--muted); }
.qbar {
  height: 5px;
  background: #e6ebf3;
  border-radius: 999px;
  overflow: hidden;
}
.qbar > i {
  display: block;
  height: 100%;
  background: #2563eb;
  border-radius: 999px;
}
.qcell.qbad .qbar > i { background: #dc2626; }
.qcell.qwarn .qbar > i { background: #f59e0b; }
.qnote { font-size: 11.5px; color: #b91c1c; margin-top: 5px; line-height: 1.4; }
.qcell.qwarn .qnote { color: #96620a; }
.qnote.ok { color: #0f7a45; }
.qnote.muted { color: #9aa4b4; }

/* 提醒列表 */
.reminders {
  border: 1px solid #ffe0a8;
  background: #fffbf0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.rhead { font-size: 13.5px; font-weight: 600; color: #96620a; margin-bottom: 8px; }
.ritem {
  font-size: 13px;
  padding: 6px 0;
  border-top: 1px dashed #ffe3a3;
  line-height: 1.6;
}
.ritem:first-of-type { border-top: 0; }
.ritem.danger { color: #b91c1c; }
.ritem.warn { color: #96620a; }

/* 表格单元格状态 */
td.cell-bad { background: #fdf4f4; color: #b91c1c; font-weight: 500; }
td.cell-warn { background: #fffbf0; color: #96620a; }
td.cell-ok { background: #f0fbf5; color: #0f7a45; }
.dept { font-size: 11.5px; color: var(--muted); }
.unit { font-size: 13px; color: var(--muted); font-weight: 400; }

.tag-q {
  background: #e8efff; color: #1d4ed8;
  border-radius: 6px; padding: 1px 8px; font-size: 12px;
}
.tag-n {
  background: #f1f3f7; color: #6b7688;
  border-radius: 6px; padding: 1px 8px; font-size: 12px;
}

/* 复选框行 */
label.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  padding: 9px 0;
  cursor: pointer;
}
label.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

table.mini td.ops { text-align: right; white-space: nowrap; }
table.mini { display: block; overflow-x: auto; white-space: nowrap; }

/* 抽签顺序交换 */
.swap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
  flex-wrap: wrap;
}
.swap-txt { flex: 1 1 auto; font-size: 13.5px; line-height: 1.5; min-width: 140px; }
.swap-ops { display: flex; gap: 6px; flex-wrap: wrap; }
.swap-ops .btn { flex: 0 0 auto; }

/* 站内消息 */
.msg-btn { position: relative; }
.msg-badge {
  display: inline-block;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  padding: 0 4px;
  margin-left: 4px;
  border-radius: 9px;
  background: #e5484d;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}
.msg-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  margin-bottom: 9px;
  background: #fff;
  cursor: pointer;
  transition: background .15s;
}
.msg-item:hover { background: #fafbfd; }
.msg-item.unread { border-left: 3px solid var(--brand); background: #f7f9fd; }
.msg-head { display: flex; align-items: center; gap: 7px; }
.msg-icon { flex: 0 0 auto; font-size: 14px; }
.msg-title { flex: 1 1 auto; font-size: 14px; font-weight: 600; color: var(--text); }
.msg-dot {
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e5484d;
}
.msg-body {
  margin-top: 5px;
  font-size: 13px;
  color: #5b6474;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}
.msg-time { margin-top: 6px; font-size: 11.5px; color: var(--muted); }

/* ---------------- 页脚备案信息 ---------------- */
.site-footer {
  padding: 22px 16px 26px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color .15s;
}
.site-footer a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.footer-line { margin-top: 2px; }

/* ---------------- 添加到主屏幕（iOS） ---------------- */
.ios-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .28);
  transition: transform .12s, box-shadow .12s;
  -webkit-tap-highlight-color: transparent;
}
.ios-footer-btn:active {
  transform: scale(.96);
  box-shadow: 0 2px 8px rgba(37, 99, 235, .24);
}

.ios-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ios-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.ios-steps li:last-child { border-bottom: none; }
.ios-step-no {
  flex: 0 0 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.ios-step-body { flex: 1 1 auto; min-width: 0; }
.ios-step-title {
  font-size: 14px;
  color: #1c2534;
  line-height: 1.4;
}
.ios-step-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
.ios-step-icon {
  flex: 0 0 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 8px;
  background: #f4f6fa;
  color: var(--brand);
  font-size: 16px;
}
.ios-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fff8e8;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #8a6416;
}

/* ---------------- 日历日期详情弹窗 ---------------- */
.day-people-list {
  max-height: 46vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.day-person {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
  font-size: 14px;
}
.day-person:last-child { margin-bottom: 0; }
.day-person.pending {
  background: #fffaf0;
  border-color: #f6e0b8;
}
.dp-name {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--text);
  min-width: 56px;
}
.dp-type {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: #5a6478;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dp-status {
  flex: 0 0 auto;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f5ec;
  color: #16794a;
}
.day-person.pending .dp-status {
  background: #fdf3e0;
  color: #a8681a;
}
