@charset "utf-8";
/* ============================================================
   医生直播会议预约 Demo — 样式
   设计规范：微信小程序设计规范（375 基准）
   主色：医疗蓝 #1677FF   辅助：白 #FFFFFF / 灰 #F5F6F7
   ============================================================ */

:root {
  --primary: #1677FF;
  --primary-light: #E8F2FF;
  --primary-dark: #0E5FDD;
  --bg: #F5F6F7;
  --card: #FFFFFF;
  --text: #1F2329;
  --text-2: #4E5969;
  --text-3: #86909C;
  --border: #E5E6EB;
  --danger: #F53F3F;
  --success: #00B42A;
  --warn: #FF7D00;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { background: #E9ECEF; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
}

/* ---------- 应用容器（无手机壳，纯 H5 移动端布局） ---------- */
.app {
  max-width: 375px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 24px rgba(0,0,0,.06);
  position: relative;
}

/* ---------- 顶栏 ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border-bottom: 1px solid var(--border);
}
.header .title { font-size: 17px; font-weight: 600; }
.header .back {
  position: absolute; left: 0; top: 0; width: 44px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; border: none; background: none;
}
.header .share {
  position: absolute; right: 0; top: 0; width: 44px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); cursor: pointer; border: none; background: none;
}

/* ---------- 内容区 ---------- */
.page {
  flex: 1;
  padding-bottom: 72px; /* 给固定 tabbar 留空间 */
}
.page::-webkit-scrollbar { display: none; }

/* ---------- 底部 TabBar（固定在底部，与容器同宽） ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 375px; height: 56px;
  background: var(--card); border-top: 1px solid var(--border);
  display: flex; z-index: 30;
}
.tabbar .tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: var(--text-3); cursor: pointer; font-size: 10px;
  border: none; background: none;
}
.tabbar .tab.active { color: var(--primary); }

/* ---------- Banner ---------- */
.banner {
  margin: 12px; height: 132px; border-radius: var(--radius);
  background: linear-gradient(135deg, #1677FF 0%, #3D9BFF 60%, #6FB5FF 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 0 20px; position: relative; overflow: hidden;
}
.banner .b-title { font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.banner .b-sub { font-size: 13px; opacity: .92; margin-top: 8px; }
.banner .b-badge {
  position: absolute; right: 16px; top: 14px;
  font-size: 11px; background: rgba(255,255,255,.2);
  padding: 3px 8px; border-radius: 10px;
}
.banner::after {
  content: ""; position: absolute; right: -30px; bottom: -40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.banner::before {
  content: ""; position: absolute; right: 40px; top: -40px;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}

/* ---------- 主题卡片（一级界面） ---------- */
.theme-card {
  position: relative; margin: 12px; height: 148px; border-radius: var(--radius);
  color: #fff; padding: 20px; display: flex; flex-direction: column;
  cursor: pointer; overflow: hidden;
  box-shadow: 0 6px 18px rgba(22,119,255,.25);
}
.theme-card .theme-name { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.theme-card .theme-sub { font-size: 13px; opacity: .92; margin-top: 8px; }
.theme-card .theme-arrow {
  margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; background: rgba(255,255,255,.2); padding: 5px 12px; border-radius: 14px;
}

/* ---------- 订单里的主题标识 ---------- */
.order-theme { color: var(--primary); font-weight: 500; }

/* ---------- 卡片 / 通用 ---------- */
.card { background: var(--card); border-radius: var(--radius); margin: 12px; padding: 16px; }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.section-title { font-size: 15px; font-weight: 600; margin: 14px 16px 8px; }
.muted { color: var(--text-3); font-size: 12px; }

/* 讲座要求列表 */
.req-item { display: flex; padding: 8px 0; border-bottom: 1px solid #F2F3F5; }
.req-item:last-child { border-bottom: none; }
.req-label { flex: none; width: 68px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.req-desc { flex: 1; font-size: 14px; color: var(--text); line-height: 1.6; }
.req-note { margin-top: 8px; font-size: 12px; color: var(--warn); background: #FFF7EF; border-radius: 6px; padding: 8px 10px; }

/* ---------- 日期条（1 行，横向滚动） ---------- */
.date-strip {
  display: flex; gap: 8px; padding: 4px 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  flex: none; width: 54px; padding: 9px 0; border-radius: 12px;
  background: var(--card); text-align: center; cursor: pointer;
  border: 1px solid var(--border);
}
.date-chip .d { font-size: 15px; font-weight: 600; }
.date-chip .w { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.date-chip.full { background: #F2F3F5; border-color: #E5E6EB; }
.date-chip.full .d, .date-chip.full .w { color: #C9CDD4; }
.date-chip.active { background: var(--primary); border-color: var(--primary); }
.date-chip.active .d, .date-chip.active .w { color: #fff; }
.date-chip.off { opacity: .5; }
.date-chip.off .d, .date-chip.off .w { color: var(--text-3); }
.date-chip.closed { background: #F7F8FA; border-color: #E5E6EB; }
.date-chip.closed .d, .date-chip.closed .w { color: #C9CDD4; }
.date-chip.active.closed { background: var(--primary); border-color: var(--primary); }
.date-chip.active.closed .d, .date-chip.active.closed .w { color: #fff; }

/* 报名截止提示条 */
.deadline-note {
  margin: 4px 12px 0; padding: 8px 12px; font-size: 12px;
  color: var(--text-2); background: #F5F6F7; border-radius: 8px; line-height: 1.5;
}

/* ---------- 讲座要求折叠 ---------- */
.req-head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.req-arrow { color: var(--text-3); display: flex; align-items: center; }

/* ---------- 日期筛选栏 ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px; }
.filter-label { font-size: 15px; font-weight: 600; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--border); background: var(--card); color: var(--primary);
  font-size: 13px; padding: 6px 12px; border-radius: 16px; cursor: pointer;
}

/* ---------- 日历弹层 ---------- */
.cal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.cal-panel {
  width: 328px; background: #fff; border-radius: 14px; padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .month { font-size: 16px; font-weight: 600; }
.cal-nav { width: 28px; height: 28px; border: none; background: var(--bg); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-week { text-align: center; font-size: 12px; color: var(--text-3); padding: 4px 0; }
.cal-day {
  height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; border-radius: 8px; cursor: pointer; color: var(--text);
  position: relative;
}
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: #C9CDD4; cursor: not-allowed; }
.cal-day.selected { background: var(--primary); color: #fff; font-weight: 600; }
.cal-day.today { color: var(--primary); font-weight: 600; }
.cal-day.selected.today { color: #fff; }
.cal-day.full { color: #C9CDD4; }
.cal-day.full::after {
  content: "已满"; position: absolute; top: 1px; right: 2px;
  font-size: 9px; line-height: 1; color: #C9CDD4;
  transform: scale(.85); transform-origin: top right;
}
.cal-day.full.today { color: #C9CDD4; font-weight: 400; }
.cal-day.selected.full, .cal-day.selected.full.today { color: #fff; }
.cal-day.selected.full::after { color: rgba(255,255,255,.85); }
.cal-day.paused { color: #C9CDD4; text-decoration: line-through; }
.cal-day.paused::after {
  content: "暂停"; position: absolute; top: 1px; right: 2px;
  font-size: 9px; line-height: 1; color: #C9CDD4;
  transform: scale(.85); transform-origin: top right;
}
.cal-day.paused.today { color: #C9CDD4; font-weight: 400; }
.cal-day.selected.paused, .cal-day.selected.paused.today { color: #fff; text-decoration: none; }
.cal-day.selected.paused::after { color: rgba(255,255,255,.85); }
.cal-day.deadline { color: #C9CDD4; }
.cal-day.deadline::after {
  content: "截止"; position: absolute; top: 1px; right: 2px;
  font-size: 9px; line-height: 1; color: #C9CDD4;
  transform: scale(.85); transform-origin: top right;
}
.cal-day.deadline.today { color: #C9CDD4; font-weight: 400; }
.cal-day.selected.deadline, .cal-day.selected.deadline.today { color: #fff; }
.cal-day.selected.deadline::after { color: rgba(255,255,255,.85); }

/* ---------- 单日预约统计 ---------- */
.day-stats {
  margin: 8px 12px 4px; padding: 14px 12px;
  background: var(--card); border-radius: var(--radius);
  display: flex; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.stat-item { flex: 1; text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 26px; background: #F0F1F3;
}
.stat-num { font-size: 22px; font-weight: 700; color: var(--text); }
.stat-num em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--text-3); margin-left: 2px; }
.stat-item.hl .stat-num { color: var(--primary); }
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 5px; }

/* ---------- 时间段格子 ---------- */
.slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 12px 12px; }
.slot {
  border: 1px solid var(--border); border-radius: 12px; background: var(--card);
  padding: 14px 12px; cursor: pointer; position: relative;
}
.slot .time { font-size: 15px; font-weight: 600; }
.slot .rest { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.slot .rest b { color: var(--primary); font-weight: 600; }
.slot.full { background: #F2F3F5; border-color: #F2F3F5; cursor: not-allowed; }
.slot.full .time, .slot.full .rest { color: #C9CDD4; }
.slot.full::after {
  content: "已满"; position: absolute; right: 10px; top: 12px;
  font-size: 12px; color: #C9CDD4; background: #E5E6EB;
  border-radius: 4px; padding: 2px 6px;
}
.slot.paused { background: #F2F3F5; border-color: #F2F3F5; cursor: not-allowed; }
.slot.paused .time, .slot.paused .rest { color: #C9CDD4; }
.slot.paused::after {
  content: "暂停"; position: absolute; right: 10px; top: 12px;
  font-size: 12px; color: #C9CDD4; background: #E5E6EB;
  border-radius: 4px; padding: 2px 6px;
}
.slot.closed { background: #F7F8FA; border-color: #F7F8FA; cursor: not-allowed; }
.slot.closed .time, .slot.closed .rest { color: #C9CDD4; }
.slot.closed::after {
  content: "已截止"; position: absolute; right: 10px; top: 12px;
  font-size: 12px; color: #C9CDD4; background: #E5E6EB;
  border-radius: 4px; padding: 2px 6px;
}

/* ---------- 表单 ---------- */
.form-item { padding: 14px 16px; background: var(--card); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.form-item:last-child { border-bottom: none; }
.form-item .flabel { width: 72px; font-size: 15px; flex: none; }
.form-item .flabel .req { color: var(--danger); margin-right: 2px; }
.form-item input, .form-item textarea {
  flex: 1; border: none; outline: none; font-size: 15px; font-family: inherit;
  background: transparent; resize: none; color: var(--text);
}
.form-item textarea { height: 68px; }
.form-item input::placeholder, .form-item textarea::placeholder { color: #C9CDD4; }

/* 职称下拉选择框 */
.select-box {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; color: var(--text); font-size: 15px;
}
.select-box .select-value.placeholder { color: #C9CDD4; }
.select-box svg { color: var(--text-3); }

/* 下拉选项列表 */
.pick-list { display: flex; flex-direction: column; gap: 2px; }
.pick-opt {
  padding: 13px 14px; border-radius: 8px; font-size: 15px; cursor: pointer;
  color: var(--text); text-align: center;
}
.pick-opt:active { background: var(--bg); }
.pick-opt.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.photo-box { flex: 1; display: flex; align-items: center; gap: 10px; }
.photo-upload {
  width: 60px; height: 60px; border-radius: 8px; border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-3);
  cursor: pointer; overflow: hidden; background: var(--bg); flex: none;
}
.photo-upload img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload .plus { font-size: 26px; }
.avatar-default {
  width: 56px; height: 56px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  flex: none; cursor: default; pointer-events: none;
}

.attach-box { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.attach-box .muted { line-height: 1.6; }
.attach-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: var(--bg); border-radius: 6px; padding: 6px 8px; box-sizing: border-box;
}
.attach-item .attach-name { flex: 1; font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-item .attach-del {
  flex: none; width: 20px; height: 20px; border: none; border-radius: 50%;
  background: #E5E6EB; color: var(--text-3); font-size: 14px; line-height: 20px;
  cursor: pointer; padding: 0;
}
.upload-btn {
  flex: none; height: 34px; padding: 0 14px; border-radius: 6px;
  border: 1px dashed var(--primary); color: var(--primary); background: var(--primary-light);
  font-size: 13px; cursor: pointer;
}
.upload-btn:disabled { opacity: .5; cursor: not-allowed; }

.cell {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--card);
  border-bottom: 1px solid var(--border);
}
.cell:last-child { border-bottom: none; }
.cell .label { font-size: 15px; }
.cell .value { color: var(--text-3); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.cell-list { border-radius: var(--radius); margin: 12px; overflow: hidden; }

/* ---------- 按钮 ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  height: 44px; border-radius: 22px; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer; width: 100%;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:active { background: var(--primary-dark); }
.btn-primary[disabled] { background: #B8D4FF; cursor: not-allowed; }
.btn-ghost { background: var(--card); color: var(--primary); border: 1px solid var(--primary); }

/* ---------- 开关 ---------- */
.switch {
  width: 44px; height: 24px; border-radius: 12px; background: #E5E6EB;
  position: relative; cursor: pointer; transition: background .2s; flex: none; border: none;
}
.switch.on { background: var(--primary); }
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch.on::after { left: 22px; }

/* ---------- 订单 ---------- */
.order-card { background: var(--card); border-radius: var(--radius); margin: 12px; padding: 14px 16px; }
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-name { font-size: 16px; font-weight: 600; }
.order-meta { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.7; }
.order-attach { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.order-attach .link { word-break: break-all; }

/* 医生填写区：普通分组 */
.os-block { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.os-item { display: flex; gap: 10px; font-size: 13px; line-height: 1.6; }
.os-k { flex: none; color: var(--text-3); width: 40px; }
.os-v { flex: 1; color: var(--text-2); word-break: break-all; }
.os-links { display: flex; flex-direction: column; gap: 4px; }

/* 运营回填区：浅蓝底 + 标题，与医生填写区视觉区分 */
.op-block { margin-top: 12px; background: var(--primary-light); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.op-title { font-size: 12px; font-weight: 600; color: var(--primary-dark); }
.op-item { display: flex; gap: 10px; font-size: 13px; line-height: 1.6; align-items: flex-start; }
.op-k { flex: none; color: var(--primary-dark); width: 56px; }
.op-v { flex: 1; color: var(--text-2); word-break: break-all; }
.op-item .enter { flex: none; font-size: 12px; font-weight: 600; color: #fff; background: var(--primary); border: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.op-imgs { display: flex; flex-wrap: wrap; gap: 6px; }
.op-img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; flex: none; }
.tag.booked { color: var(--warn); background: #FFF3E8; }
.tag.backfilled { color: var(--primary); background: var(--primary-light); }
.tag.done { color: var(--text-3); background: #F2F3F5; }
.order-actions { margin-top: 12px; display: flex; gap: 10px; }

.meeting-box {
  margin-top: 12px; background: var(--primary-light); border-radius: 8px;
  padding: 12px; display: flex; align-items: center; justify-content: space-between;
}
.meeting-box .url { font-size: 13px; color: var(--primary-dark); word-break: break-all; flex: 1; margin-right: 8px; }
.meeting-box .enter { flex: none; font-size: 13px; font-weight: 600; color: #fff; background: var(--primary); border: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,.78); color: #fff; font-size: 14px;
  padding: 12px 18px; border-radius: 8px; z-index: 999; opacity: 0;
  transition: opacity .2s; pointer-events: none; max-width: 260px; text-align: center;
}
.toast.show { opacity: 1; }

/* ---------- 分享弹层 ---------- */
.share-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
}
.share-sheet {
  width: 100%; max-width: 375px; background: #fff;
  border-radius: 16px 16px 0 0; padding: 20px 16px 24px;
  animation: sheetUp .2s ease;
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.share-sheet .s-title { font-size: 16px; font-weight: 600; text-align: center; margin-bottom: 16px; }
.share-sheet .s-qr { display: flex; justify-content: center; margin-bottom: 16px; }
.share-sheet .s-qr-img { width: 160px; height: 160px; display: block; border: 1px solid var(--border); border-radius: 8px; padding: 6px; background: #fff; }
.share-sheet .s-qr-err { font-size: 13px; color: var(--text-3); }
.share-sheet .s-url {
  font-size: 13px; color: var(--text-2); background: var(--bg);
  border-radius: 8px; padding: 12px; word-break: break-all; line-height: 1.6;
  margin-bottom: 16px;
}
.share-sheet .s-btns { display: flex; gap: 10px; }
.share-sheet .s-btns .btn { flex: 1; }
.share-sheet .s-hint { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 12px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 0; color: var(--text-3); }
.empty .ico { font-size: 46px; margin-bottom: 10px; opacity: .5; }

/* ---------- 侧边栏（端切换，可收起） ---------- */
.side-rail {
  position: fixed; top: 0; right: 0; height: 100vh; z-index: 1000;
  display: flex; align-items: center;
}
.rail-toggle {
  width: 22px; height: 72px; flex: none;
  border: none; cursor: pointer; background: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: -2px 0 10px rgba(0,0,0,.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
}
.rail-toggle svg { transition: transform .2s; }
.rail-panel {
  width: 168px; height: auto; max-height: 80vh; overflow-y: auto;
  background: #fff; border-radius: 12px 0 0 12px;
  box-shadow: -2px 0 16px rgba(0,0,0,.14);
  padding: 12px 10px; display: flex; flex-direction: column; gap: 8px;
  transition: width .2s ease, padding .2s ease, opacity .2s ease;
}
.side-rail.collapsed .rail-panel {
  width: 0; padding-left: 0; padding-right: 0; opacity: 0; overflow: hidden;
}
.side-rail.collapsed .rail-toggle svg { transform: rotate(180deg); }
.rail-panel .rail-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  font-size: 13px; color: var(--text-2); border: none; background: none;
  text-align: left; white-space: nowrap;
}
.rail-panel .rail-item .ico { font-size: 16px; }
.rail-panel .rail-item.active { background: var(--primary); color: #fff; }
.rail-panel .rail-group {
  font-size: 11px; color: var(--text-3); padding: 4px 12px 0; margin-top: 4px;
}

/* ---------- 运营端（飞书机器人） ---------- */
.fs-bg { background: #EEF0F3; min-height: 100%; padding: 12px; }

.bot-header { display: flex; align-items: center; gap: 10px; padding: 4px 2px 12px; }
.bot-avatar {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #1677FF, #3D9BFF);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
}
.bot-info { flex: 1; }
.bot-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.bot-badge { font-size: 9px; color: #fff; background: var(--primary); border-radius: 4px; padding: 1px 4px; font-weight: 600; letter-spacing: .5px; }
.bot-status { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* 飞书卡片 */
.fs-card {
  background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06);
  border: 1px solid #E5E6EB; margin-bottom: 12px; overflow: hidden;
}
.fs-card-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 0; }
.fs-card-head .bar { width: 3px; height: 16px; background: var(--primary); border-radius: 2px; flex: none; }
.fs-card-title { font-size: 15px; font-weight: 600; flex: 1; }
.fs-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; flex: none; }
.fs-tag.booked { color: var(--warn); background: #FFF3E8; }
.fs-tag.backfilled { color: var(--primary); background: var(--primary-light); }
.fs-tag.done { color: var(--text-3); background: #F2F3F5; }
.fs-tag.cancelled { color: #E5484D; background: #FDE8E8; }

.fs-body { padding: 10px 16px 4px; }
.fs-field { display: flex; padding: 6px 0; align-items: flex-start; }
.fs-label { flex: none; width: 68px; font-size: 13px; color: var(--text-3); padding-top: 1px; }
.fs-value { flex: 1; font-size: 14px; color: var(--text); word-break: break-all; }
.fs-value .link { color: var(--primary); }
.fs-photo { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; display: block; }
.fs-note { margin: 4px 0; font-size: 12px; color: var(--text-2); background: #F5F6F7; border-radius: 6px; padding: 8px 10px; line-height: 1.6; }
.fs-divider { height: 1px; background: #F0F1F3; margin: 8px 0; }

.fs-actions { padding: 8px 16px 14px; display: flex; gap: 10px; }
.fs-btn {
  flex: 1; height: 36px; border-radius: 6px; font-size: 14px; font-weight: 500;
  border: none; cursor: pointer;
}
.fs-btn.primary { background: var(--primary); color: #fff; }
.fs-btn.primary:active { background: var(--primary-dark); }
.fs-btn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.fs-btn-sm {
  flex: none; width: auto; height: 26px; padding: 0 12px;
  font-size: 12px; border-radius: 6px;
}

/* 卡片内回填表单 */
.fs-form { padding: 4px 16px 14px; }
.fs-input {
  width: 100%; height: 36px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; padding: 0 10px; outline: none; color: var(--text); background: #fff;
}
.fs-input:focus { border-color: var(--primary); }
.fs-input:disabled { background: #F2F3F5; color: var(--text-3); cursor: not-allowed; border-color: #E5E6EB; }
.fs-form-btns { display: flex; gap: 10px; margin-top: 10px; }

/* 会议现场照片上传区 */
.bf-img-field { margin-top: 10px; }
.bf-img-label { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.bf-img-list { display: flex; gap: 8px; flex-wrap: wrap; }
.bf-img {
  position: relative; width: 76px; height: 76px; border-radius: 8px;
  overflow: hidden; border: 1px solid var(--border);
}
.bf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-img-del {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
  font-size: 13px; line-height: 18px; cursor: pointer; padding: 0;
}
.bf-img-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.bf-img-hint { font-size: 12px; color: var(--text-3); }
.bf-img-actions .fs-btn-sm:disabled { opacity: .5; cursor: not-allowed; }

/* 预约详情 · 日期筛选（日历选择） */
.list-date-row { flex: 1; display: flex; align-items: center; gap: 8px; }
.list-date-chip {
  flex: none; padding: 0 12px; height: 32px; line-height: 32px;
  border-radius: 8px; font-size: 13px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
}
.list-date-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.cal-list-all {
  margin-top: 12px; padding: 11px 0; text-align: center; border-radius: 8px;
  font-size: 14px; cursor: pointer; color: var(--text-2);
  background: var(--bg); border: 1px solid var(--border);
}
.cal-list-all.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* 配置胶囊 tab */
.fs-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.fs-tab {
  flex: 1; height: 36px; border-radius: 18px; font-size: 14px;
  cursor: pointer; background: #fff; color: var(--text-2); border: 1px solid var(--border);
}
.fs-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

.cap-input { width: 44px; text-align: center; border: 1px solid var(--border); border-radius: 6px; height: 28px; font-size: 14px; }

/* ---------- 主题选择条（场次/首页设置顶部） ---------- */
.admin-theme-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.at-label { font-size: 13px; color: var(--text-3); flex: none; }
.at-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-chip {
  height: 30px; padding: 0 14px; border-radius: 15px; font-size: 13px;
  cursor: pointer; background: #fff; color: var(--text-2); border: 1px solid var(--border);
}
.theme-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* ---------- 主题下拉搜索选择 ---------- */
.theme-select-wrap { flex: 1; max-width: 200px; }
.theme-select {
  width: 100%; height: 32px; border-radius: 8px; padding: 0 10px;
  border: 1px solid var(--border); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 13px; color: var(--text);
}
.theme-select .ts-val { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-select svg { color: var(--text-3); flex: none; }
.theme-pick-list .pick-opt { text-align: left; }

/* ---------- 主题管理：状态标签 ---------- */
.at-status { font-size: 12px; color: var(--text-3); flex: none; }

/* ---------- 运营台 · 场次日历 ---------- */
.sc-legend {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  padding: 4px 16px 12px; font-size: 12px; color: var(--text-3);
}
.sc-legend .lg-holiday { color: #E5484D; }
.sc-legend .lg-work { color: var(--warn); }
.sc-legend .lg-closed { color: #C9CDD4; }
.sc-legend .lg-paused { color: var(--text-3); }
.sc-legend .lg-deadline { color: #C9CDD4; }

.sc-cal { padding: 0 12px 14px; }
.sc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.sc-month { font-size: 16px; font-weight: 600; }
.sc-nav {
  width: 28px; height: 28px; border: none; background: var(--bg);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: var(--text-2);
}

.sc-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.sc-week { text-align: center; font-size: 12px; color: var(--text-3); padding: 4px 0; }
.sc-day {
  min-height: 52px; border-radius: 8px; padding: 4px 4px 3px;
  background: #fff; border: 1px solid #EEF0F3; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  position: relative;
}
.sc-day.empty { background: none; border: none; cursor: default; }
.sc-day-top { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 2px; }
.sc-day-sub { font-size: 10px; color: var(--text-3); line-height: 1; }
.sc-day.closed { color: #C9CDD4; background: #F7F8FA; }
.sc-day.closed .sc-day-sub { color: #C9CDD4; }
.sc-day.paused { background: #F2F3F5; }
.sc-day.paused .sc-day-top { color: #C9CDD4; text-decoration: line-through; }
.sc-day.paused .sc-day-sub { color: #C9CDD4; }
.sc-day.deadline { background: #F7F8FA; }
.sc-day.deadline .sc-day-top, .sc-day.deadline .sc-day-sub { color: #C9CDD4; }
.sc-day.today { border-color: var(--primary); }
.sc-day.selected {
  border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary);
  background: var(--primary-light);
}
.sc-day.selected.paused { background: #F2F3F5; box-shadow: 0 0 0 1px var(--primary); }

.sc-badge {
  font-size: 9px; line-height: 1; padding: 1px 3px; border-radius: 3px;
  transform: scale(.9); transform-origin: left center; flex: none;
}
.sc-badge.holiday { color: #E5484D; background: #FDE8E8; }
.sc-badge.work { color: var(--warn); background: #FFF3E8; }

/* 批量暂停：日期勾选态 */
.sc-day.batch-checked {
  border-color: var(--primary); background: var(--primary-light);
}
.sc-check {
  position: absolute; top: 2px; right: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 10px; line-height: 14px;
  text-align: center;
}

/* 批量暂停工具栏 */
.batch-pause-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #F5F6F7; border: 1px dashed var(--border); border-radius: 8px;
  padding: 8px 10px; margin: 0 12px 10px;
}
.batch-pause-hint { flex: 1; font-size: 12px; color: var(--text-3); }

/* 通用规则设置 · 报名截止 */
.deadline-rule {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.deadline-rule .dl-label { flex: none; font-size: 13px; color: var(--text-3); width: 60px; }
.deadline-rule .dl-text { flex: none; font-size: 13px; color: var(--text-2); }
.deadline-rule .dl-days { flex: none; width: 56px; text-align: center; }
.deadline-rule .dl-time { flex: none; width: 116px; }

/* ---------- 场次设置 · 时间段编辑块 ---------- */
.slot-section { padding: 6px 0 4px; }
.slot-section-title { font-size: 13px; color: var(--text-3); padding-top: 1px; margin-bottom: 8px; }
.batch-cap-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary-light); border-radius: 8px;
  padding: 8px 10px; margin-bottom: 10px;
}
.batch-cap-label { flex: none; font-size: 12px; color: var(--primary-dark); }
.batch-cap-bar input { flex: 1; min-width: 0; }
.batch-cap-bar .fs-btn-sm { flex: none; }
.slot-edit-list { display: flex; flex-direction: column; gap: 10px; }
.slot-edit-row {
  background: #F7F8FA; border: 1px solid #EEF0F3; border-radius: 8px;
  padding: 10px;
}
.slot-edit-top { display: flex; align-items: center; gap: 8px; }
.slot-time-wrap { flex: 1; display: flex; align-items: center; gap: 6px; }
.slot-time-wrap input[type="time"] {
  flex: 1; min-width: 0; font-size: 13px; padding: 0 8px;
}
.slot-time-sep { flex: none; color: var(--text-3); font-size: 12px; }
.slot-edit-bottom {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.slot-cap-label { flex: 1; font-size: 12px; color: var(--text-3); }
.slot-cap { width: 64px; flex: none; text-align: center; }
.slot-cap-unit { flex: none; font-size: 12px; color: var(--text-3); }

/* ---------- 确认弹层 ---------- */
.confirm-panel { width: 288px; }
.confirm-msg { font-size: 14px; line-height: 1.6; padding: 4px 0 16px; word-break: break-all; }
.confirm-btns { display: flex; gap: 10px; }

/* ---------- 预约详情列表 ---------- */
.list-slot { border-top: 1px solid #F0F1F3; padding: 8px 16px 12px; }
.list-slot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ls-time { font-size: 14px; font-weight: 600; }
.ls-progress { font-size: 12px; color: var(--text-3); }
.list-row { padding: 8px 0; border-bottom: 1px dashed #F0F1F3; }
.list-row:last-child { border-bottom: none; }
.lr-main { display: flex; align-items: center; gap: 8px; }
.lr-name { font-size: 14px; font-weight: 500; }
.lr-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.5; }

/* ---------- 数据统计 ---------- */
.stat-dist { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-table-wrap { overflow-x: auto; padding: 4px 16px 14px; }
.stat-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.stat-table th, .stat-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid #F0F1F3;
}
.stat-table th { color: var(--text-3); font-weight: 600; background: #F7F8FA; position: sticky; top: 0; }
.stat-table td { color: var(--text); }
.stat-table tr:last-child td { border-bottom: none; }
.stat-table td.stat-names { white-space: normal; word-break: break-all; color: var(--text-2); font-size: 12px; }
