/* ─── 出行择日 · 智能吉日（浅冰蓝玻璃主题，参考起名页） ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #2c3e5d;            /* 主文字 */
  --ink-soft: rgba(44, 62, 93, .72);
  --ink-mute: rgba(44, 62, 93, .5);
  --panel: rgba(255, 255, 255, .72);        /* 大卡片底 */
  --panel-deep: rgba(255, 255, 255, .62);   /* 子卡/输入框底 */
  --panel-line: rgba(255, 255, 255, .9);
  --line-soft: rgba(44, 62, 93, .12);
  --bright: #2f7ce8;         /* 亮蓝高光 */
  --bright-deep: #1f5fd6;
  --gold: #b8862c;
  --ok: #2fa864;
  --warn: #e2574a;
  /* birth-picker 组件主题色 */
  --accent: #2f7ce8;
  --accent-rgb: 47, 124, 232;
  --accent-dark: #1f5fd6;
  --accent-2: #5c8cf8;
  --title: #1e3a6e;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: #eaf1f9;
  position: relative;
}
/* 冰蓝底色 + 柔光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 560px at 50% -8%, rgba(255, 255, 255, .95), transparent 62%),
    radial-gradient(900px 480px at 12% 88%, rgba(147, 197, 253, .22), transparent 58%),
    radial-gradient(900px 480px at 88% 92%, rgba(160, 150, 250, .16), transparent 58%),
    linear-gradient(180deg, #f2f7fd 0%, #e7eff9 46%, #dbe8f6 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ── 顶栏 ── */
.top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 10px;
  z-index: 20;
}
.link-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(44, 62, 93, .8);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.link-back:hover { color: var(--bright-deep); }
.logo-title {
  flex: 1;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: #1e3a6e;
  letter-spacing: 2px;
  margin-right: 76px;
  text-shadow: 0 2px 10px rgba(47, 124, 232, .25);
}

/* ── 主区 ── */
.page { max-width: 720px; margin: 0 auto; padding: 6px 14px 32px; }

.seal-note {
  text-align: center;
  font-size: 13.5px;
  color: rgba(44, 62, 93, .75);
  margin: 6px 0 16px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ── 功能切换（连体卡片顶） ── */
.kind-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 12px 2px;
  background: var(--panel);
  border: 1.5px solid var(--panel-line);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 8px 28px rgba(96, 125, 170, .22);
}
.kind-tab {
  appearance: none;
  border: 1.5px solid rgba(120, 150, 200, .38);
  background: rgba(255, 255, 255, .6);
  border-radius: 18px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.kind-tab.is-active {
  border-color: rgba(96, 150, 240, .8);
  background: linear-gradient(160deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: 0 5px 16px rgba(92, 140, 248, .28), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.kind-tab-label { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.kind-tab-desc { font-size: 11.5px; color: rgba(44, 62, 93, .55); }
.kind-tab.is-active .kind-tab-label { color: var(--bright-deep); }
.kind-tab.is-active .kind-tab-desc { color: rgba(47, 124, 232, .8); }

/* tab 面板 = 卡片主体（连体） */
.tab-panel {
  padding: 14px 16px 20px;
  background: var(--panel);
  border: 1.5px solid var(--panel-line);
  border-top: none;
  border-radius: 0 0 26px 26px;
  margin-bottom: 18px;
}
.result-panel { margin-top: 16px; }

/* ── 表单 ── */
.field { display: block; flex: 1; min-width: 0; }
.field-label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #2c3e5d;
  margin-bottom: 7px;
}
.field-row { display: flex; gap: 12px; align-items: flex-end; }
.field-row.two-col { margin-bottom: 12px; }
.field-row + .field-row { margin-top: 12px; }

.field-row input,
.field-row select,
.field input,
.field select {
  width: 100%;
  border: 1.5px solid rgba(120, 150, 200, .42);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 15px;
  background: var(--panel-deep);
  color: var(--ink);
  font-family: inherit;
}
.field select, .birth-hour-native {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e5d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
  padding-right: 36px;
}
.field-row input::placeholder,
.field input::placeholder { color: rgba(80, 105, 150, .45); }
.field-row input:focus,
.field-row select:focus,
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--bright);
  box-shadow: 0 0 0 3px rgba(47, 124, 232, .16);
}

/* 出生日期按钮（birth-picker 组件） */
.birth-date-block .birth-pick-btn {
  min-height: 46px;
  width: 100%;
  background: var(--panel-deep);
  border: 1.5px solid rgba(120, 150, 200, .42);
  border-radius: 14px;
  color: var(--ink);
  font-size: 15px;
}
.birth-date-block .birth-pick-btn.placeholder { color: rgba(80, 105, 150, .45); }

/* 日期选择弹层保持组件默认浅色主题：本页 --panel 与组件变量撞名，此处恢复 */
.birth-picker-modal {
  --panel: #fff;
  --panel-alt: #faf8f4;
}

.birth-hour-block { margin-top: 12px; }

/* ── 多事主行 ── */
.person-list { display: flex; flex-direction: column; gap: 9px; }
.person-row {
  display: flex;
  gap: 9px;
  align-items: stretch;
}
.person-pick {
  flex: 1;
  min-height: 46px;
  padding: 10px 13px;
  border: 1.5px solid rgba(120, 150, 200, .42);
  border-radius: 14px;
  background: var(--panel-deep);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.person-pick.placeholder { color: rgba(80, 105, 150, .45); }
.person-pick:focus {
  outline: none;
  border-color: var(--bright);
  box-shadow: 0 0 0 3px rgba(47, 124, 232, .16);
}
.btn-remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 46px;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  border: 1px solid rgba(226, 87, 74, .4);
  color: var(--warn);
  border-radius: 14px;
  cursor: pointer;
}
.btn-add {
  width: 100%;
  margin-top: 9px;
  padding: 10px 0;
  border: 1.5px dashed rgba(120, 150, 200, .55);
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
  color: var(--bright-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
}
.btn-add:active { background: rgba(47, 124, 232, .08); }

/* ── 按钮 ── */
.actions { margin-top: 18px; }
.btn {
  appearance: none;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary {
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, #3fb9f9 0%, #5c8cf8 55%, #8d7cf9 100%);
  color: #fff;
  letter-spacing: 8px;
  text-indent: 8px;
  box-shadow: 0 6px 20px rgba(92, 140, 248, .38), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-primary:active { opacity: .88; }

.panel-note {
  text-align: center;
  font-size: 12px;
  color: rgba(44, 62, 93, .5);
  margin-top: 16px;
  letter-spacing: .5px;
}

.hidden { display: none !important; }

/* ── 结果：核查结论 ── */
.verdict {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 2px 16px;
  border-bottom: 1px dashed var(--line-soft);
  margin-bottom: 14px;
}
.verdict-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #7cc0f8 0%, #2f7ce8 100%);
  box-shadow: 0 6px 20px rgba(47, 124, 232, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
  text-shadow: 0 2px 8px rgba(20, 60, 130, .35);
}
.verdict-icon.ok {
  background: linear-gradient(180deg, #7edcae 0%, #2fa864 100%);
  box-shadow: 0 6px 20px rgba(47, 168, 100, .42), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.verdict-icon.warn {
  background: linear-gradient(180deg, #ffc59a 0%, #ef7a4e 100%);
  box-shadow: 0 6px 20px rgba(239, 122, 78, .42), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.verdict-main { min-width: 0; }
.verdict-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.verdict-sub {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(44, 62, 93, .08);
  font-size: 13.5px;
}
.fact-list li:last-child { border-bottom: none; }
.fact-list li span { color: var(--ink-mute); flex-shrink: 0; }
.fact-list li b { color: var(--ink); font-weight: 600; text-align: right; word-break: break-all; }

.disclaimer {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.7;
}

/* ── 子卡 ── */
.sub-card {
  border: 1px solid rgba(120, 150, 200, .32);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  background: var(--panel-deep);
}
.sub-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.sub-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 8px;
  background: rgba(47, 124, 232, .14);
  color: var(--bright-deep);
  vertical-align: 1px;
}
.sub-badge.bad { background: rgba(226, 87, 74, .12); color: var(--warn); }

.reject-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.reject-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(226, 87, 74, .1);
  color: var(--warn);
  border: 1px solid rgba(226, 87, 74, .28);
}

.smart-summary {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ── 吉日卡 ── */
.day-card {
  border: 1px solid rgba(120, 150, 200, .32);
  border-radius: 16px;
  background: var(--panel-deep);
  padding: 13px 14px 12px;
  margin-bottom: 12px;
}
.day-card:last-child { margin-bottom: 0; }
.day-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.day-date { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.day-week { font-size: 12.5px; color: var(--ink-soft); }
.day-badges { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.badge-yi {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7dc94 0%, #e2b04a 100%);
  color: #6b4a0d;
  box-shadow: 0 2px 8px rgba(226, 176, 74, .35);
}
.badge-level {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 8px;
  letter-spacing: 1px;
}
.badge-level.lv-dj { background: linear-gradient(180deg, #f7dc94 0%, #e2b04a 100%); color: #6b4a0d; box-shadow: 0 2px 8px rgba(226, 176, 74, .35); }
.badge-level.lv-zj { background: rgba(47, 168, 100, .14); color: var(--ok); border: 1px solid rgba(47, 168, 100, .3); }
.badge-level.lv-xj { background: rgba(47, 124, 232, .12); color: var(--bright-deep); border: 1px solid rgba(47, 124, 232, .28); }
.badge-level.lv-ping { background: rgba(44, 62, 93, .08); color: var(--ink-mute); border: 1px solid rgba(44, 62, 93, .16); }
.badge-level.lv-cha { background: rgba(226, 87, 74, .12); color: var(--warn); border: 1px solid rgba(226, 87, 74, .3); }
.badge-score {
  min-width: 38px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  padding: 3px 7px;
  border-radius: 10px;
  background: linear-gradient(180deg, #6db4f7 0%, #2f7ce8 100%);
  box-shadow: 0 2px 8px rgba(47, 124, 232, .35);
}
.day-lunar { margin-top: 3px; font-size: 11.5px; color: var(--ink-mute); }
.day-gz {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.day-gz b { color: var(--bright-deep); font-weight: 700; }
.day-gz .gz-em { font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.day-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(47, 124, 232, .1);
  color: var(--bright-deep);
  border: 1px solid rgba(47, 124, 232, .22);
}
.tag-item.gold {
  background: rgba(226, 176, 74, .14);
  color: var(--gold);
  border: 1px solid rgba(184, 134, 44, .32);
}
.tag-item.bad {
  background: rgba(226, 87, 74, .1);
  color: var(--warn);
  border: 1px solid rgba(226, 87, 74, .3);
}

/* ── 忌出行时辰 ── */
.ps-avoid {
  flex-basis: 100%;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.ps-avoid-label { font-weight: 600; color: var(--warn); }
.ps-avoid-list { display: block; margin-top: 3px; }
.avoid-item {
  display: inline-block;
  margin: 2px 6px 2px 0;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(226, 87, 74, .07);
  border: 1px solid rgba(226, 87, 74, .18);
  color: var(--ink-soft);
  font-size: 11px;
}
.avoid-item u {
  text-decoration: none;
  color: var(--warn);
  font-style: normal;
}

/* ── 主/次事主角色标签 ── */
.person-role {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(160deg, #e8f1fd 0%, #dcebfc 100%);
  color: var(--bright-deep);
  border: 1px solid rgba(47, 124, 232, .28);
  white-space: nowrap;
}

/* ── 被排除 / 不足吉区块 ── */
.excluded-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
}
.excluded-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--warn);
  letter-spacing: 1px;
}
.excluded-sub {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.day-card.excluded {
  background: rgba(246, 240, 238, .65);
  border-color: rgba(226, 87, 74, .22);
}
.day-card.excluded .day-date { color: var(--ink-soft); }
.day-card.excluded .badge-score {
  background: linear-gradient(180deg, #c9ccd6 0%, #9aa1b2 100%);
  box-shadow: none;
}

/* ── 事主评分 ── */
.day-persons {
  margin-top: 10px;
  border-top: 1px dashed var(--line-soft);
  padding-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ps-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ps-label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ps-score { font-size: 15px; font-weight: 700; color: var(--bright-deep); }
.ps-level {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 7px;
  letter-spacing: 1px;
}
.ps-level.lv-dj { background: linear-gradient(180deg, #f7dc94 0%, #e2b04a 100%); color: #6b4a0d; }
.ps-level.lv-zj { background: rgba(47, 168, 100, .14); color: var(--ok); }
.ps-level.lv-xj { background: rgba(47, 124, 232, .12); color: var(--bright-deep); }
.ps-level.lv-ping { background: rgba(44, 62, 93, .08); color: var(--ink-mute); }
.ps-level.lv-cha { background: rgba(226, 87, 74, .12); color: var(--warn); }
.ps-tags { flex-basis: 100%; font-size: 11.5px; color: var(--ok); line-height: 1.6; }
.ps-warn { flex-basis: 100%; font-size: 11.5px; color: var(--warn); line-height: 1.6; }
.day-cautions {
  margin-top: 9px;
  font-size: 12px;
  color: var(--warn);
  line-height: 1.65;
}

/* ── 加载/错误 ── */
.state-tip {
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 18px 0 8px;
}
.err-tip {
  text-align: center;
  font-size: 13px;
  color: var(--warn);
  padding: 10px 0 0;
}
.script-err {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(226, 87, 74, .1);
  border: 1px solid rgba(226, 87, 74, .3);
  color: var(--warn);
  font-size: 12.5px;
  line-height: 1.6;
  word-break: break-all;
}

/* ── 页脚 ── */
.site-footer {
  text-align: center;
  font-size: 13px;
  color: rgba(44, 62, 93, .75);
  padding: 18px 0 26px;
}

@media (max-width: 420px) {
  .field-row { flex-wrap: wrap; }
  .logo-title { margin-right: 0; }
  .day-date { font-size: 15.5px; }
}

/* ── 事主出生日期历法切换（阳历/阴历） ── */
.field-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.calendar-segment {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  padding: 2px;
  border-radius: 999px;
  background: #e4eefb;
}

.calendar-segment-item {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.calendar-segment-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.calendar-segment-item span {
  display: block;
  min-width: 2.7rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  color: #5a7396;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.calendar-segment-item input:checked + span,
.calendar-segment-item:has(input:checked) span {
  color: #fff;
  background: #2f6fed;
  box-shadow: 0 2px 8px rgba(47, 111, 237, 0.28);
}

/* ── 日卡字号放大（可读性） ── */
.day-week { font-size: 13.5px; }
.badge-yi { font-size: 12.5px; }
.badge-level { font-size: 12.5px; }
.badge-score { font-size: 15.5px; min-width: 42px; }
.day-lunar { font-size: 13px; }
.day-gz { font-size: 14.5px; }
.tag-item { font-size: 13px; }
.ps-avoid { font-size: 13px; }
.ps-avoid-label { font-size: 13.5px; }
.avoid-item { font-size: 12.5px; }
.ps-label { font-size: 14px; }
.ps-score { font-size: 16px; }
.ps-level { font-size: 12px; padding: 2px 8px; }
.ps-tags { font-size: 13px; }
.ps-warn { font-size: 13px; }
.day-cautions { font-size: 13.5px; }
.smart-summary { font-size: 14px; }
@media (max-width: 420px) {
  .day-date { font-size: 16.5px; }
}

/* ── 折叠块（吉日/被排除列表） ── */
.collapsible { margin-bottom: 12px; }
.collapsible-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(120, 150, 200, .32);
  border-radius: 12px;
  background: var(--panel-deep);
  cursor: pointer;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}
.collapsible-arrow { color: var(--ink-mute); font-size: 13px; width: 14px; flex: 0 0 auto; }
.collapsible-count { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-mute); }
.collapsible-body.collapsed { display: none; }
.excluded-block .collapsible-head { border-color: rgba(226, 87, 74, .26); color: var(--warn); }

/* ── 加载动画 ── */
.loading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 1px;
}
.spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 3px solid rgba(47, 124, 232, .18);
  border-top-color: #2f7ce8;
  border-radius: 50%;
  animation: zeri-spin .8s linear infinite;
}
@keyframes zeri-spin {
  to { transform: rotate(360deg); }
}

/* ── 内容条目（fact-list）表格布局优化：标签右对齐贴线、横线轻盈 ── */
.fact-list li {
  justify-content: flex-start;
  gap: 0;
  position: relative;
  border-bottom: 1px dashed rgba(44, 62, 93, .14);
  padding: 10px 2px;
}
.fact-list li:last-child { border-bottom: none; }
.fact-list li::before {
  content: "";
  position: absolute;
  left: calc(2px + 6em);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(44, 62, 93, .18);
}
.fact-list li span {
  flex: 0 0 6em;
  text-align: right;
  color: #6b7a94;
}
.fact-list li b {
  flex: 1;
  text-align: left;
  padding-left: 14px;
  word-break: break-all;
}

/* ── 日卡表格版式（字段|内容 全边框表） ── */
.day-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}
.day-table th,
.day-table td {
  border: 1px solid #b9c0cb;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.55;
  word-break: break-all;
}
.day-table thead th {
  background: #f4f5f7;
  color: #2e7d32;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 2px;
}
.day-table thead .col-field { width: 6em; }
.day-table tbody th {
  width: 6em;
  color: #2c3e5d;
  font-weight: 700;
  background: #fafbfc;
}
.day-table td { color: #2c3e5d; }
.day-table td.cell-red { color: #a03d3d; }
.day-table .dt { font-weight: 700; font-size: 16px; }
.day-table .wk { color: #6b7a94; }
.day-table .badge-yi,
.day-table .badge-level,
.day-table .badge-score {
  margin-left: 8px;
  vertical-align: 2px;
}
.day-table .tag-item { margin: 2px 6px 2px 0; display: inline-block; }
.day-table .ps-row {
  display: block;
  line-height: 1.9;
}
.day-table .ps-row > * { margin-right: 8px; }
.day-table .ps-label { white-space: nowrap; }
.day-table .ps-sizhu { color: #1e3a6e; font-weight: 600; letter-spacing: 1px; }
.day-table .ps-avoid {
  display: flex;
  align-items: flex-start;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(160, 61, 61, .25);
}
.day-table .ps-avoid .ps-avoid-label { flex: 0 0 auto; color: #a03d3d; }
.day-table .ps-avoid .ps-avoid-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.day-card.excluded .day-table { background: #fdf7f7; }
