/* 人员状态看板 v2 —— 视觉样式 */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* 底部备案行高度：底部 tab、正文、提示条都要为它让位，避免备案号压住功能文字 */
:root {
  --footer-h: 26px;
  --footer-safe: env(safe-area-inset-bottom, 0px);
  /* +1px 是备案行的上边框，保证 tabs 底部与备案行顶边严丝合缝 */
  --footer-total: calc(var(--footer-h) + 1px + var(--footer-safe));
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #1e293b;
  background: #f4f6fa;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-x pan-y;
}

.hidden { display: none !important; }

/* ==================== 登录 ==================== */
.login-wrap {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px calc(70px + var(--footer-total));
  background:
    radial-gradient(900px 480px at 50% -12%, rgba(59, 130, 246, .16), transparent 62%),
    radial-gradient(680px 420px at 88% 108%, rgba(99, 102, 241, .12), transparent 60%),
    linear-gradient(170deg, #f1f5fd 0%, #f8fafc 46%, #eef2f8 100%);
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 402px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 26px;
  padding: 38px 26px 30px;
  box-shadow:
    0 24px 60px -22px rgba(15, 23, 42, .26),
    0 2px 8px rgba(15, 23, 42, .04),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: center;
}

.logo {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 21px;
  background: linear-gradient(140deg, #60a5fa 0%, #2563eb 52%, #1e40af 100%);
  color: #fff;
  font-size: 30px;
  line-height: 68px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 14px 28px -12px rgba(37, 99, 235, .78), inset 0 1px 0 rgba(255, 255, 255, .32);
}

/* 品牌区（登录页） */
.brand-block { text-align: center; margin-bottom: 24px; }

.logo-box {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: radial-gradient(120% 120% at 30% 18%, #1e3a8a 0%, #0f2744 58%, #081a31 100%);
  box-shadow:
    0 18px 36px -16px rgba(15, 23, 42, .55),
    0 0 0 6px rgba(37, 99, 235, .06),
    0 0 0 7px rgba(37, 99, 235, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-box.logo-missing {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.logo-box.logo-missing::before {
  content: '赛';
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-block h1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 7px;
  color: #0f172a;
}
.brand-block .sub {
  color: #a6b0be;
  font-size: 10px;
  letter-spacing: 2.4px;
  margin: 0;
  font-weight: 500;
}
.role-tags {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.role-tags span {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e8edf4;
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: .3px;
}

/* 登录表单标题（旧样式保留兼容） */
.login-card h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .6px;
  margin: 0 0 9px;
  color: #0f172a;
}

.login-card .sub {
  color: #94a3b8;
  font-size: 12.5px;
  letter-spacing: 2px;
  margin: 0 0 26px;
}

.login-card label:not(.agree-line) {
  display: block;
  text-align: left;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  margin: 15px 0 7px;
  letter-spacing: .3px;
}

.login-card input[type=tel],
.login-card input[type=password] {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  color: #0f172a;
  border: 1.5px solid #e4eaf2;
  border-radius: 13px;
  background: #f7f9fc;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-card input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .13);
}

.agree-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin: 17px 0 6px;
  line-height: 1.75;
  text-align: left;
}
.agree-line input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #2563eb; }
.agree-line a { color: #2563eb; text-decoration: none; border-bottom: 1px solid rgba(37, 99, 235, .28); }
.agree-line a:hover { border-bottom-color: #2563eb; }

.foot { color: #a3adba; font-size: 12px; margin: 18px 0 0; line-height: 1.7; }

/* ==================== 顶栏 ==================== */
.topbar-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.topbar .back-btn {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  margin-right: 8px;
  font-size: 18px;
  line-height: 1;
  border-radius: 10px;
}

.brand {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0f172a;
  min-width: 0;
}

.topbar-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 9px;
  object-fit: contain;
  background: linear-gradient(145deg, #1e3a8a, #0b1f3a);
  box-shadow: 0 4px 10px -4px rgba(15, 23, 42, .5);
}

.tag {
  font-size: 11.5px;
  font-weight: 500;
  color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #e0ecff);
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: .2px;
}

/* ==================== 主体 ==================== */
main {
  padding: 15px 14px calc(92px + var(--footer-total));
  min-height: calc(100vh - 130px);
}

.card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 17px;
  margin-bottom: 13px;
  box-shadow: 0 4px 18px -12px rgba(15, 23, 42, .18), 0 1px 3px rgba(15, 23, 42, .03);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.card-head h2 { font-size: 15px; font-weight: 650; margin: 0; letter-spacing: .2px; color: #0f172a; }
.card-h { font-size: 15px; font-weight: 650; margin: 0 0 12px; letter-spacing: .2px; color: #0f172a; }
.sub { color: #94a3b8; font-size: 12.5px; }

/* ==================== 表单控件 ==================== */
label.f {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
  margin: 13px 0 7px;
  letter-spacing: .2px;
}

select, input[type=text], input[type=password], input[type=tel],
input[type=date], input[type=datetime-local], textarea {
  width: 100%;
  padding: 12px 13px;
  font-size: 14px;
  color: #1e293b;
  border: 1.5px solid #e4eaf2;
  border-radius: 12px;
  background: #f8fafc;
  font-family: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
textarea { min-height: 86px; resize: vertical; line-height: 1.65; }

select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, .12);
}

select:disabled, input:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.contest-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.contest-bar select {
  flex: 1;
  font-weight: 550;
  color: #1e40af;
  background: #f5f8ff;
  border-color: #dbe6fb;
}

/* ==================== 按钮 ==================== */
.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .2px;
  cursor: pointer;
  background: #eef2f7;
  color: #334155;
  font-family: inherit;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .8);
}
.btn.primary:active {
  transform: translateY(1px);
  box-shadow: 0 5px 14px -8px rgba(37, 99, 235, .72);
}

.btn.block { width: 100%; display: block; padding: 14px 18px; font-size: 15px; font-weight: 600; }
.btn.tiny { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.btn.ghost {
  background: #fff;
  color: #2563eb;
  border: 1px solid #dbe6fb;
}
.btn.ghost:active { background: #f5f8ff; }
.btn.danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.btn.ok { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.btn.warn { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.btn-row { display: flex; gap: 9px; margin-top: 13px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; min-width: 92px; }

/* ==================== 人员卡片 ==================== */
.people { display: grid; gap: 10px; }

.person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe, #f7f9fc);
  border: 1px solid #edf1f7;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.person:active { border-color: #dbe6fb; box-shadow: 0 3px 12px -8px rgba(37, 99, 235, .5); }
.person-acts { flex: 1 0 100%; display: flex; justify-content: flex-end; margin-top: -4px; }

.person .nm { font-size: 15px; font-weight: 600; color: #0f172a; letter-spacing: .2px; }
.person .meta { font-size: 12px; color: #94a3b8; margin-top: 5px; line-height: 1.65; }

.st {
  font-size: 11.5px;
  font-weight: 550;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex: 0 0 auto;
  letter-spacing: .3px;
}
.st-在岗 { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.st-出差 { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.st-外出 { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.st-请假 { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ==================== 筛选 / 搜索 ==================== */
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 13px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }

.chip {
  padding: 8px 15px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4eaf2;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  cursor: pointer;
  transition: all .16s ease;
}
.chip.on {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .8);
}

.search { margin-bottom: 13px; }

/* ==================== 值班 ==================== */
.duty-day {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px dashed #eef2f7;
}
.duty-day:last-child { border-bottom: none; }
.duty-day .d { font-size: 12.5px; color: #94a3b8; width: 92px; flex: 0 0 auto; font-weight: 500; }
.duty-day .p { flex: 1; font-size: 14px; color: #1e293b; font-weight: 500; }
.duty-day .p .none { color: #cbd5e1; font-size: 13px; font-weight: 400; }

/* 排班多选（勾选式） */
.chk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}
.chk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 14px;
  color: #1e293b;
  cursor: pointer;
}
.chk-item input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #2563eb;
}
.chk-item:has(input:checked) {
  border-color: #93c5fd;
  background: #eff6ff;
}
.pick-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.pick-bar select { flex: 1 1 150px; }
.pick-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
}
.pick-all input { width: 17px; height: 17px; margin: 0; accent-color: #2563eb; }
.pick-count { font-size: 12px; color: #64748b; margin-left: auto; white-space: nowrap; }

/* 页面内确认框（替代原生 confirm，PC 微信内嵌浏览器支持） */
.dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .45);
}
.dialog-card {
  width: 100%;
  max-width: 340px;
  padding: 20px 18px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .25);
}
.dialog-msg {
  font-size: 14px;
  line-height: 1.7;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
}
.dialog-input {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  color: #1e293b;
  background: #f8fafc;
  box-sizing: border-box;
}
.dialog-acts {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.dialog-acts .btn {
  flex: 1;
}


/* 我的排班提示条 */
.my-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #eef6ff, #f8fbff);
  border: 1px solid #dbeafe;
  border-radius: 13px;
  padding: 11px 13px;
  margin: 12px 0 6px;
}
.my-bar .lb { font-size: 13px; color: #475569; font-weight: 600; }
.my-bar .none { font-size: 13px; color: #94a3b8; }
.my-bar .btn.tiny { padding: 5px 11px; font-size: 12px; border-radius: 8px; }
.head-acts { display: flex; gap: 6px; flex-wrap: wrap; }

/* 排班表附件 */
.duty-file {
  border: 1px solid #eef2f7;
  border-radius: 13px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.duty-file .t { font-size: 14px; font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.duty-thumb {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  display: block;
  background: #f1f5f9;
}
.swap-tip {
  font-size: 12.5px;
  color: #64748b;
  background: #f8fafc;
  border-left: 3px solid #93c5fd;
  border-radius: 8px;
  padding: 9px 11px;
  margin: 0 0 14px;
  line-height: 1.6;
}
.duty-name { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; }
.duty-name.me { font-weight: 650; color: #2563eb; }
.duty-name .btn.tiny { padding: 2px 9px; font-size: 11px; border-radius: 7px; }

/* ==================== 列表项 ==================== */
.item {
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe, #f8fafc);
  border: 1px solid #edf1f7;
  margin-bottom: 10px;
}
.item:last-child { margin-bottom: 0; }
.item .t { font-size: 14px; font-weight: 600; color: #0f172a; letter-spacing: .2px; }
.item .m { font-size: 12.5px; color: #8494a8; margin-top: 7px; line-height: 1.75; white-space: pre-wrap; }
.item .acts { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.confirm-tip { font-size: 12px; color: #b91c1c; align-self: center; }
.item-off { opacity: .6; background: #f8fafc; }

.badge {
  font-size: 11px;
  font-weight: 550;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.b-pending { background: #fffbeb; color: #d97706; }
.b-approved { background: #ecfdf5; color: #059669; }
.b-rejected { background: #fef2f2; color: #dc2626; }
.b-more_info { background: #eff6ff; color: #2563eb; }
.b-scope { background: #f1f5f9; color: #475569; }

.empty { text-align: center; color: #cbd5e1; font-size: 13px; padding: 34px 0; }

/* ==================== 产品研发中心签到 ==================== */
.ck-task { background: #fff; }
.ck-entries { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ck-entry {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.ck-entry .t { font-size: 13.5px; font-weight: 600; color: #0f172a; }
.ck-entry .m { font-size: 12.5px; color: #64748b; margin-top: 5px; line-height: 1.7; white-space: pre-wrap; }
.ck-entry .acts { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.ck-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 9px; }
.ck-editor {
  margin-top: 12px;
  padding: 13px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #dbe4f0;
}
.ck-editor input[type="file"] { font-size: 12.5px; color: #64748b; width: 100%; }
.ck-create { margin-bottom: 12px; }

/* ==================== 底部 tab ==================== */
.tabs {
  position: fixed;
  left: 0;
  right: 0;
  /* 始终为底部备案行让位，避免备案号压住 tab 文字 */
  bottom: var(--footer-total);
  z-index: 20;
  display: flex;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 232, 240, .9);
  padding: 7px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1 0 auto;
  min-width: 46px;
  text-align: center;
  padding: 5px 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  transition: color .16s ease;
  position: relative;
}
.tab .ico { font-size: 17px; display: block; line-height: 1.4; }
.tab.on { color: #2563eb; font-weight: 650; }
.tab.on::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* 未读红点 */
.tab { position: relative; }
.tab .dot {
  position: absolute;
  top: 2px;
  right: 50%;
  margin-right: -20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px #fff;
}

/* 今日提醒卡片 */
.notify-card { border-left: 3px solid #2563eb; background: linear-gradient(180deg, #f8fbff, #fff); }
.nt-item { font-size: 13.5px; color: #334155; line-height: 2; }
.nt-item b { color: #2563eb; font-weight: 650; }

/* 底部备案行（工信部要求，常驻页面最底部；tab 与正文已为它让位） */
.page-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  min-height: var(--footer-h);
  line-height: var(--footer-h);
  padding-bottom: var(--footer-safe);
  text-align: center;
  font-size: 11px;
  color: #a3adba;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid #eef2f7;
  white-space: nowrap;
  overflow-x: auto;
}

/* ==================== 微信通知额度用完横幅 ==================== */
.wx-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.4;
}

.wx-banner-ico {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wx-banner-text {
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}

.wx-banner-go {
  flex: 0 0 auto;
  border: 0;
  background: #f97316;
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.wx-banner-x {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #c2410c;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
}
.page-footer a { color: #8494a8; text-decoration: none; }
.page-footer .sep { margin: 0 6px; color: #dfe6ee; }

/* ==================== 消息 ==================== */
.msg-item { border-left: 3px solid #e8edf4; padding-left: 12px; }
.msg-item.unread { border-left-color: #2563eb; background: linear-gradient(90deg, rgba(59, 130, 246, .045), transparent 60%); }
.msg-item.unread .t::after {
  content: "未读";
  font-size: 10px;
  font-weight: 500;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 7px;
}

/* ==================== 提示 ==================== */
.msg { font-size: 13px; color: #e11d48; margin-top: 11px; min-height: 18px; line-height: 1.6; }
.msg.ok { color: #059669; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(104px + var(--footer-total));
  transform: translateX(-50%);
  background: rgba(15, 23, 42, .93);
  color: #fff;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 24px;
  z-index: 99;
  max-width: 82vw;
  text-align: center;
  box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: toastIn .18s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.hint { font-size: 12px; color: #94a3b8; line-height: 1.75; margin: 9px 0 0; }
.img-thumb { max-width: 100%; border-radius: 12px; margin-top: 9px; display: block; }
.plan-img { width: 100%; border-radius: 13px; margin-top: 11px; display: block; border: 1px solid #eef2f7; }
.plan-img-empty {
  margin-top: 11px;
  padding: 28px;
  text-align: center;
  color: #cbd5e1;
  font-size: 13px;
  background: #f8fafc;
  border: 1px dashed #e4eaf2;
  border-radius: 12px;
}
.file-link { color: #2563eb; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(37, 99, 235, .28); }
.att-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; align-items: flex-start; }
.att-list .att-img { display: block; }
.att-list .att-img img {
  max-width: 132px; max-height: 110px; object-fit: cover;
  border-radius: 10px; border: 1px solid #e2e8f0; display: block;
}
.att-list .att-file { padding: 5px 9px; background: #f8fafc; border-radius: 8px; border-bottom: 0; }
.section-title { font-size: 12.5px; color: #94a3b8; margin: 20px 0 10px; font-weight: 500; }
