/* 思思研学 · 后台管理系统 样式 */
:root {
  --primary: #0086ff;
  --primary-dark: #0068cc;
  --primary-soft: #e8f3ff;
  --bg: #f2f4f8;
  --card: #ffffff;
  --border: #e6eaf0;
  --border-strong: #d3dae4;
  --text: #1f2d3d;
  --text-sub: #5a6b82;
  --muted: #8a94a6;
  --danger: #f5222d;
  --danger-soft: #fff1f0;
  --success: #07c160;
  --warning: #fa8c16;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 10px rgba(31, 45, 61, 0.06);
  --shadow-lg: 0 12px 32px rgba(31, 45, 61, 0.16);
  --sidebar-w: 232px;
  --topbar-h: 58px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ============ 布局 ============ */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: #10233c;
  color: #c8d4e4;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
  padding: 2px;
}

.sidebar-brand .brand-text { line-height: 1.25; }
.sidebar-brand .brand-text b { display: block; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.sidebar-brand .brand-text span { font-size: 11px; color: #7d8fa8; }

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0 24px;
}

.nav-group-title {
  padding: 14px 20px 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #64768f;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

.nav-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-item.active { background: rgba(0, 134, 255, 0.16); border-left-color: var(--primary); color: #fff; }
.nav-item .ico { width: 20px; text-align: center; font-size: 15px; opacity: 0.9; }
.nav-item .label { flex: 1; }
.nav-item .badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1px 7px;
  color: #d7e3f4;
}

.sidebar-foot {
  padding: 12px 20px 18px;
  font-size: 11px;
  color: #64768f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.7;
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar h1 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.topbar .crumb { color: var(--muted); font-size: 12px; }
.topbar .spacer { flex: 1; }

.save-state {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); display: inline-block; }
.dot.dirty { background: var(--warning); }
.dot.off { background: var(--border-strong); }

.content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 0;
}

.editor { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.preview-col { width: 396px; flex: 0 0 396px; position: sticky; top: calc(var(--topbar-h) + 20px); }

/* ============ 通用组件 ============ */
.btn {
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-sub); }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.danger { color: var(--danger); border-color: #ffccc7; background: #fff; }
.btn.danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn.sm { padding: 4px 10px; font-size: 12px; }
.btn.icon { padding: 4px 8px; font-size: 12px; line-height: 1.4; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.card-head .desc { color: var(--muted); font-size: 12px; }
.card-head .spacer { flex: 1; }
.card-body { padding: 6px 18px 18px; }

.group-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.5px;
  margin: 18px 0 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.group-title:first-child { border-top: none; padding-top: 0; }

.field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f4f6f9;
}
.field:last-child { border-bottom: none; }
.field > label {
  width: 132px;
  flex: 0 0 132px;
  padding-top: 7px;
  color: var(--text-sub);
  font-size: 13px;
  text-align: right;
}
.field .ctrl { flex: 1; min-width: 0; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

input[type="text"], input[type="number"], input[type="url"], textarea, select {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="text"]:focus, input[type="number"]:focus, input[type="url"]:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 134, 255, 0.12);
}

textarea { resize: vertical; min-height: 68px; line-height: 1.7; }

.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 0; }

.color-field { display: flex; align-items: center; gap: 8px; }
.color-field input[type="color"] {
  width: 38px;
  height: 32px;
  padding: 2px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.color-field input[type="text"] { width: 108px; }

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d7dce3;
  cursor: pointer;
  transition: background 0.2s;
  flex: 0 0 42px;
  margin-top: 4px;
}
.switch.on { background: var(--primary); }
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.switch.on::after { transform: translateX(18px); }

.img-field { display: flex; gap: 12px; align-items: flex-start; }
.img-field .thumb {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #f7f9fc center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
}
.img-field .thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-field .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.img-path {
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* 多图列表 */
.imagelist { display: flex; flex-wrap: wrap; gap: 10px; }
.il-cell {
  width: 104px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.il-cell img { width: 100%; height: 76px; object-fit: cover; display: block; background: #eef1f6; }
.il-ops { display: flex; gap: 2px; padding: 4px; justify-content: center; }
.il-ops .btn { padding: 2px 6px; font-size: 11px; line-height: 1.3; border-color: transparent; background: #f4f6f9; }
.il-ops .btn.danger { color: var(--danger); }
.il-add {
  width: 104px;
  height: 104px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  background: #fbfcfe;
}
.il-add:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
}
.chip .x { cursor: pointer; opacity: 0.6; font-size: 13px; }
.chip .x:hover { opacity: 1; }
.chip.gray { background: #f0f2f5; color: var(--text-sub); }
.chip.hot { background: #fff1f0; color: #f5222d; }
.chip-input {
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  width: 96px;
  outline: none;
}
.chip-input:focus { border-color: var(--primary); }

/* 列表编辑器 */
.list-editor { display: flex; flex-direction: column; gap: 12px; }
.list-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfdff;
  overflow: hidden;
}
.list-item.open { background: #fff; border-color: var(--border-strong); }
.list-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
}
.list-item-head:hover { background: #f6f9ff; }
.list-item-head .idx {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-item-head .mini {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 7px;
  background: #eef1f6 center/cover no-repeat;
  border: 1px solid var(--border);
}
.list-item-head .t { flex: 1; min-width: 0; }
.list-item-head .t b { display: block; font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item-head .t span { font-size: 11px; color: var(--muted); }
.list-item-head .ops { display: flex; gap: 4px; opacity: 0.55; }
.list-item-head:hover .ops { opacity: 1; }
.list-item-body { padding: 4px 12px 12px; border-top: 1px solid var(--border); }
.empty-tip {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 22px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  background: #fbfcfe;
}

/* 数据总览 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 26px; font-weight: 600; margin-top: 6px; }
.stat .v small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }

.check-list { display: flex; flex-direction: column; gap: 8px; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f9fc;
  font-size: 13px;
}
.check .mark { width: 18px; text-align: center; }
.check.ok .mark { color: var(--success); }
.check.warn { background: #fffbe6; }
.check.warn .mark { color: var(--warning); }
.check .path { color: var(--muted); font-size: 12px; margin-left: auto; }

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { padding: 9px 10px; text-align: left; border-bottom: 1px solid #f1f4f8; }
table.data th { color: var(--muted); font-weight: 500; background: #fafbfd; }
table.data tr:hover td { background: #fafcff; }

/* ============ 手机预览 ============ */
.phone-wrap { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.phone-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.phone-bar .tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.phone-bar .tabs .btn { padding: 4px 10px; font-size: 12px; }
.phone-bar .tabs .btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.phone {
  width: 375px;
  height: 720px;
  background: #fff;
  border-radius: 34px;
  border: 9px solid #14181f;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-status {
  height: 26px;
  flex: 0 0 26px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  transition: background 0.2s;
}
.phone-view { flex: 1; overflow-y: auto; overflow-x: hidden; background: #f5f7fa; position: relative; }
.phone-tabbar {
  flex: 0 0 52px;
  display: flex;
  border-top: 1px solid #eceff3;
  background: #fff;
}
.phone-tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
}
.phone-tabbar .tab img { width: 22px; height: 22px; object-fit: contain; }
.phone-tabbar .tab .ic {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.85;
}

/* 预览内部（模拟小程序渲染，单位按 750rpx = 375px 折算） */
.pv-navbar {
  color: #fff;
  padding: 8px 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pv-navbar .pv-brand { font-size: 24px; font-family: "LiSu", "STLiti", "隶书", serif; letter-spacing: 1px; }
.pv-navbar .pv-right { font-size: 13px; color: rgba(255, 255, 255, 0.92); }
.pv-navbar.plain { justify-content: center; font-size: 15px; font-weight: 600; padding: 10px 0; }
.pv-section-title { font-size: 17px; font-weight: 600; padding: 14px 16px 10px; display: flex; justify-content: space-between; align-items: baseline; }
.pv-section-title .more { font-size: 12px; color: #8a94a6; font-weight: 400; }
.pv-card { background: #fff; border-radius: 12px; overflow: hidden; margin: 0 12px 12px; }
.pv-img { width: 100%; display: block; object-fit: cover; background: #eef1f6; }

.pv-banner { position: relative; height: 180px; background: #eef1f6; }
.pv-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.pv-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.pv-dots i.on { background: #fff; width: 14px; border-radius: 3px; }

.pv-grid {
  background: #fff;
  margin: -16px 12px 0;
  border-radius: 12px;
  padding: 16px 8px;
  display: flex;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}
.pv-grid .gi { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; text-align: center; }
.pv-grid .gi .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
}
.pv-grid .gi .ic .badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ff4d4f;
  color: #fff;
  font-size: 9px;
  border-radius: 8px;
  padding: 1px 5px;
  white-space: nowrap;
}

.pv-product { display: flex; gap: 0; flex-direction: column; }
.pv-product .body { padding: 10px 12px; }
.pv-product .title { font-size: 15px; font-weight: 600; }
.pv-product .sub { font-size: 12px; color: #8a94a6; margin-top: 3px; }
.pv-product .price { color: #ff6b35; font-size: 19px; font-weight: 700; margin-top: 6px; }
.pv-product .price small { font-size: 11px; color: #999; font-weight: 400; }
.pv-product .origin { color: #b0b8c4; font-size: 11px; text-decoration: line-through; margin-left: 6px; }
.pv-tags { margin-top: 6px; display: flex; gap: 5px; flex-wrap: wrap; }
.pv-tag { font-size: 10px; background: #e8f3ff; color: #0086ff; border-radius: 4px; padding: 1px 6px; }
.pv-tag.hot { background: #fff5f5; color: #ff4d4f; }

/* 学员风采审核用的状态标签 */
.pv-tag.warn { background: #fff7e6; color: #d48806; }
.pv-tag.ok { background: #f0f9eb; color: #12a150; }
.pv-tag.err { background: #fff1f0; color: #f5222d; }

.pv-login {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}
.pv-login .logo { width: 112px; height: 112px; border-radius: 24px; background: #fff; object-fit: contain; padding: 6px; }
.pv-login .brand { color: #fff; font-size: 26px; font-family: "LiSu", "STLiti", "隶书", serif; margin-top: 18px; letter-spacing: 4px; }
.pv-login .slogan { color: rgba(255, 255, 255, 0.9); font-size: 13px; margin-top: 9px; letter-spacing: 2px; }
.pv-login .btns { width: 100%; display: flex; gap: 14px; margin-top: 62px; }
.pv-login .btns .btn1, .pv-login .btns .btn2 {
  flex: 1; text-align: center; padding: 12px 0; border-radius: 26px; font-size: 15px;
}
.pv-login .btn1 { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.pv-login .btn2 { background: #fff; color: #0086ff; font-weight: 600; }
.pv-login .wx {
  width: 100%; margin-top: 20px; background: #07c160; color: #fff;
  border: 1px solid #07c160; border-radius: 26px;
  padding: 12px 0; text-align: center; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pv-login .wx .wxi { width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #07c160; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.pv-chips { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.pv-chips .c { flex: 0 0 auto; font-size: 12px; padding: 5px 12px; border-radius: 999px; background: #fff; color: #5a6b82; border: 1px solid #e6eaf0; }
.pv-chips .c.on { background: #0086ff; color: #fff; border-color: #0086ff; }

.pv-menu { background: #fff; border-radius: 12px; margin: 0 12px 12px; }
.pv-menu .mi { display: flex; align-items: center; gap: 10px; padding: 14px 14px; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.pv-menu .mi:last-child { border-bottom: none; }
.pv-menu .mi .ic { width: 26px; height: 26px; border-radius: 8px; background: #e8f3ff; color: #0086ff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.pv-menu .mi .arrow { margin-left: auto; color: #c8d0da; }

.pv-detail-block { padding: 0 12px 12px; }
.pv-detail-block .h { font-size: 15px; font-weight: 600; margin: 14px 0 8px; }
.pv-detail-block p { font-size: 13px; line-height: 1.85; color: #4a5768; margin: 0 0 10px; }
.pv-detail-block img { width: 100%; border-radius: 10px; display: block; margin-bottom: 10px; }

/* 行程亮点小标签 */
.pv-pts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; }
.pv-pts span { font-size: 11.5px; color: #0086ff; background: #eef6ff; border-radius: 6px; padding: 2px 8px; }

/* 行程安排：每天一张卡 */
.pv-day {
  background: #fff;
  border-radius: 10px;
  padding: 12px 12px 8px;
  margin-bottom: 10px;
}
.pv-day-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed #eef1f6; }
.pv-day-badge {
  flex: 0 0 auto;
  background: #0086ff;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 8px;
}
.pv-day-title { font-size: 13.5px; font-weight: 600; color: #1f2d3d; }
.pv-day-item { display: flex; gap: 6px; font-size: 12.5px; line-height: 1.75; color: #4a5768; padding: 4px 0; }
.pv-day-item .pv-time { flex: 0 0 auto; color: #0086ff; }

/* 住宿 / 餐饮 卡片 */
.pv-hotel-cards { display: flex; gap: 8px; margin-bottom: 8px; }
.pv-hcard, .pv-meal-tag {
  flex: 1;
  background: #f7faff;
  border: 1px solid #e6effb;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.pv-hcard .ico, .pv-meal-tag .ico { font-size: 20px; }
.pv-hcard b, .pv-meal-tag b { display: block; font-size: 12.5px; margin-top: 4px; }
.pv-hcard span, .pv-meal-tag span { display: block; font-size: 11px; color: #8a94a6; margin-top: 2px; }
.pv-meal-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.pv-notes { background: #fff; border-radius: 10px; padding: 10px 12px; }
.pv-note { font-size: 12.5px; line-height: 1.8; color: #4a5768; }

/* 费用说明 */
.pv-fee {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 3px solid #52c41a;
}
.pv-fee.out { border-left-color: #ffa39e; }
.pv-fee b { display: block; font-size: 12.5px; margin-bottom: 4px; color: #1f2d3d; }
.pv-fee span { font-size: 12.5px; line-height: 1.8; color: #4a5768; }

.pv-survey { padding: 12px; }
.pv-survey .q { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.pv-survey .q .qt { font-size: 14px; font-weight: 600; margin-bottom: 10px; line-height: 1.6; }
.pv-survey .q .qt em { color: #ff4d4f; font-style: normal; margin-right: 4px; }
.pv-survey .opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4a5768; padding: 6px 0; }
.pv-survey .opt .bx { width: 16px; height: 16px; border: 1px solid #dfe4ec; border-radius: 50%; flex: 0 0 16px; }
.pv-survey .opt .bx.sq { border-radius: 4px; }
.pv-survey .inp { height: 34px; border: 1px solid #eef1f6; border-radius: 8px; background: #fafbfd; }
.pv-survey .submit { background: #0086ff; color: #fff; text-align: center; border-radius: 24px; padding: 13px; font-size: 15px; font-weight: 600; }

.pv-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }

/* 搜索框（首页） */
.pv-search {
  margin: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12.5px;
  color: #a9b2bf;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pv-search .ico { font-size: 13px; }

/* 城市 / 分类筛选标签 */
.pv-regions { display: flex; gap: 8px; padding: 0 12px 10px; overflow-x: auto; }
.pv-regions span {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: #5a6b82;
  border: 1px solid #e6eaf0;
}
.pv-regions span.on { background: #0086ff; color: #fff; border-color: #0086ff; }

/* 学校卡片：预览图 + 名字 + 地点（照原型 .school-card：140×90 预览图） */
.pv-school-scroll { display: flex; gap: 12px; padding: 0 12px 10px; overflow-x: auto; }
.pv-school-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px 12px; }
.pv-school-card {
  flex: 0 0 140px;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.pv-school-grid .pv-school-card { flex: none; width: auto; }
.pv-school-img {
  width: 100%;
  height: 90px;
  background-size: cover;
  background-position: center;
  background-color: #eef1f6;
}
.pv-school-img.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.pv-school-body { padding: 10px; }
.pv-school-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-school-loc { font-size: 11px; color: #999; }

/* 入口卡（首页两屏共用） */
.pv-entry-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 12px 8px;
}
.pv-entry-card .ico { font-size: 22px; line-height: 1; }
.pv-entry-card .info { flex: 1; min-width: 0; }
.pv-entry-card .info b { font-size: 14px; }
.pv-entry-card .info .desc { font-size: 11.5px; color: #8a94a6; margin-top: 3px; }
.pv-entry-card .arrow { color: #c8d0da; font-size: 16px; }
.pv-entry-card { background: #f0f7ff; border: 1px solid #dbeafe; }

/* 产品卡底部元信息行 */
.pv-product .meta-line { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.pv-tag.gray { background: #f2f4f8; color: #7b8798; }
.pv-img.emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, #eef6ff, #e4f0ff);
}

/* 我的：菜单右侧角标 */
.pv-menu .mi .cnt {
  margin-left: auto;
  margin-right: 6px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  border-radius: 999px;
  padding: 1px 7px;
}
.pv-menu .mi .cnt + .arrow { margin-left: 0; }

/* 报名表 */
.pv-form { padding: 12px; }
.pv-form-sec {
  font-size: 14px;
  font-weight: 600;
  color: #0086ff;
  border-left: 3px solid #0086ff;
  padding-left: 8px;
  margin: 4px 0 10px;
}
.pv-field { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.pv-field .lb { font-size: 13.5px; font-weight: 500; color: #333; margin-bottom: 8px; }
.pv-field .lb em { color: #ff4d4f; font-style: normal; margin-left: 3px; }
.pv-field .inp {
  border: 1px solid #eef1f6;
  background: #fafbfd;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  color: #b6bec9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pv-field .inp.area { height: 60px; align-items: flex-start; }
.pv-field .opt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4a5768; padding: 5px 0; }
.pv-field .opt .bx { width: 15px; height: 15px; border: 1px solid #dfe4ec; border-radius: 50%; flex: 0 0 15px; }
.pv-field .opt .bx.sq { border-radius: 4px; }
.pv-field .inp { margin-top: 6px; }
.pv-form .submit {
  background: #0086ff;
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;
}

.pv-gallery .g { border-radius: 10px; overflow: hidden; background: #fff; }
.pv-gallery .g img { width: 100%; height: 104px; object-fit: cover; display: block; }
.pv-gallery .g .cap { font-size: 11px; color: #5a6b82; padding: 6px 8px; }

.pv-list-rows { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.pv-school { display: flex; gap: 10px; background: #fff; border-radius: 12px; padding: 10px; }
.pv-school img { width: 78px; height: 66px; border-radius: 8px; object-fit: cover; flex: 0 0 78px; background: #eef1f6; }
.pv-school .info { flex: 1; min-width: 0; }
.pv-school .info b { font-size: 14px; }
.pv-school .info .city { font-size: 11px; color: #8a94a6; margin-top: 2px; }
.pv-school .info .intro { font-size: 11px; color: #6b7a8d; margin-top: 6px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pv-empty { text-align: center; color: #a9b2bf; font-size: 12px; padding: 40px 20px; }
.pv-pad { height: 14px; }

/* ============ 弹窗 / 提示 ============ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(16, 35, 60, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 760px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.modal-head h3 { margin: 0; font-size: 15px; }
.modal-head .spacer { flex: 1; }
.modal-body { padding: 16px 18px; overflow-y: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.lib-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.lib-item:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(0, 134, 255, 0.16); }
.lib-item img { width: 100%; height: 96px; object-fit: cover; display: block; background: #f2f4f8; }
.lib-item .nm { font-size: 11px; padding: 6px 8px; color: var(--text-sub); word-break: break-all; white-space: pre-line; line-height: 1.5; }
.lib-item.active { border-color: var(--primary); background: var(--primary-soft); }

#toast {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translate(-50%, 20px);
  background: rgba(23, 34, 48, 0.94);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 200;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.code-view {
  background: #0f1c2e;
  color: #cfe3ff;
  border-radius: 10px;
  padding: 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  max-height: 420px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.note {
  background: #f6f9ff;
  border: 1px solid #dbe9ff;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.85;
  color: #3d5573;
}
.note b { color: var(--primary-dark); }
.note code { background: #e8f3ff; color: #0068cc; padding: 1px 5px; border-radius: 4px; font-size: 12px; }

.map-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.map-table th, .map-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.map-table th { background: #fafbfd; color: var(--text-sub); font-weight: 500; }
.map-table code { background: #f2f5fa; padding: 1px 4px; border-radius: 4px; font-size: 11.5px; color: #2b4a72; }

@media (max-width: 1380px) {
  .preview-col { width: 340px; flex: 0 0 340px; }
  .phone { width: 340px; height: 672px; }
}
@media (max-width: 1180px) {
  .content { flex-direction: column; }
  .preview-col { position: static; width: 100%; flex: 1 1 auto; }
  .field > label { width: 104px; flex: 0 0 104px; }
}
@media (max-width: 820px) {
  .sidebar { display: none; }
}

/* ============ 问卷数据统计 ============ */
.stats-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.stats-tabs .btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
.stats-tabs .btn .cnt {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 1px 8px;
}
.stats-tabs .btn.primary .cnt { background: rgba(255, 255, 255, 0.25); color: #fff; }

.stat-bar { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.stat-bar .lb {
  width: 260px;
  flex: 0 0 260px;
  color: #4a5768;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stat-bar .track {
  flex: 1;
  height: 10px;
  background: #f0f3f8;
  border-radius: 999px;
  overflow: hidden;
  min-width: 80px;
}
.stat-bar .track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0086ff, #52b0ff);
}
.stat-bar .vv { width: 110px; flex: 0 0 110px; text-align: right; color: #8a94a6; }

.text-answer {
  background: #f7f9fc;
  border-left: 3px solid #d9e6f8;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: #4a5768;
  line-height: 1.7;
}

.qa-row { padding: 10px 0; border-bottom: 1px solid #f4f6f9; }
.qa-row .q { font-size: 13px; color: #5a6b82; margin-bottom: 5px; }
.qa-row .a { font-size: 13.5px; color: #1f2d3d; line-height: 1.7; }
.qa-row .a.empty { color: #b6bec9; }

@media (max-width: 1380px) {
  .stat-bar .lb { width: 180px; flex: 0 0 180px; }
  .stat-bar .vv { width: 92px; flex: 0 0 92px; }
}

/* ============ 我的：3 组菜单 + 图标底色 ============ */
.pv-menu .mi .ic {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
  flex: 0 0 36px;
}
.pv-menu .mi .nm { flex: 1; }
.pv-menu .mi .cnt.dyn { background: #fff7e6; color: #fa8c16; }

/* ============ 联系客服 / 邀请好友 子页面 ============ */
.pv-page { padding: 12px; }
.pv-page-desc { font-size: 12px; color: #8a94a6; line-height: 1.8; margin-bottom: 10px; }
.pv-qr-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  margin-bottom: 12px;
}
.pv-qr-card img { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; background: #f7f9fc; }
.pv-qr-card .qr-empty {
  width: 150px; height: 150px; margin: 0 auto; border: 1px dashed #d3dae4; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #b6bec9; font-size: 12px;
}
.pv-qr-card .tip { font-size: 11.5px; color: #8a94a6; margin-top: 10px; line-height: 1.7; }
.pv-qr-card .code-label { font-size: 12px; color: #8a94a6; }
.pv-qr-card .code-value {
  font-size: 20px; font-weight: 700; letter-spacing: 2px; color: #0086ff; margin: 6px 0 10px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.pv-qr-dyn {
  margin: 0 auto; border: 1px dashed #b9d6f7; border-radius: 10px;
  background: repeating-linear-gradient(45deg, #f7fbff, #f7fbff 8px, #eef6ff 8px, #eef6ff 16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.pv-qr-dyn span { font-size: 13px; font-weight: 600; color: #0086ff; }
.pv-qr-dyn em { font-style: normal; font-size: 10.5px; color: #8a94a6; }
.pv-list-card { background: #fff; border-radius: 12px; padding: 4px 14px; margin-bottom: 12px; }
.pv-list-card .pv-sec-t { font-size: 13px; font-weight: 600; color: #1f2d3d; padding: 12px 0 6px; }
.pv-list-card .li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: #5a6b82;
}
.pv-list-card .li:last-child { border-bottom: none; }
.pv-list-card .li b { color: #1f2d3d; font-weight: 500; }
.pv-list-card .li.rule { justify-content: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.7; color: #4a5768; }
.pv-btn-row { display: flex; gap: 10px; margin: 4px 0 14px; }
.pv-btn-row .b {
  flex: 1; text-align: center; padding: 12px 0; border-radius: 24px; font-size: 14px; font-weight: 600;
}
.pv-btn-row .b.main { color: #fff; }
.pv-btn-row .b.ghost { background: #fff; color: #0086ff; border: 1px solid #cfe4ff; }

/* ============ 侧边栏分组（可折叠） ============ */
.nav-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.nav-group-title:hover { color: #93a4bd; }
.nav-group-title .caret { font-size: 13px; opacity: .7; }
.nav-group.collapsed .nav-item { display: none; }

/* ============ 优惠券页 ============ */
.pv-coupon {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.pv-coupon .left {
  width: 104px;
  flex: 0 0 104px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
}
.pv-coupon .left .amt { font-size: 24px; font-weight: 700; line-height: 1.1; }
.pv-coupon .left .amt small { font-size: 12px; font-weight: 400; margin-left: 2px; }
.pv-coupon .left .cond { font-size: 10.5px; opacity: .92; margin-top: 4px; text-align: center; }
.pv-coupon .right { flex: 1; min-width: 0; padding: 12px 12px 12px 14px; position: relative; border-left: 1px dashed #eef1f6; }
.pv-coupon .right .nm { font-size: 14px; font-weight: 600; color: #1f2d3d; }
.pv-coupon .right .vd { font-size: 11px; color: #8a94a6; margin-top: 4px; }
.pv-coupon .right .ds { font-size: 11px; color: #a9b2bf; margin-top: 4px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-coupon .right .use { position: absolute; right: 12px; bottom: 10px; font-size: 12px; font-weight: 600; }

/* ============ 用户管理 ============ */
.u-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #0086ff, #52b0ff); color: #fff;
  font-size: 12px; font-weight: 600; vertical-align: middle;
}
.u-avatar.big { width: 46px; height: 46px; font-size: 20px; }
.ud-head { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; border-bottom: 1px solid #f4f6f9; }
.ud-head b { font-size: 15px; }
.ud-grid { display: flex; gap: 22px; align-items: flex-start; }
.ud-left { flex: 0 0 300px; max-width: 300px; }
.ud-right { flex: 1; min-width: 0; }
.ud-right .field > label { width: 84px; flex: 0 0 84px; }
.mini-list { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 10px; }
.mini-row {
  display: flex; align-items: baseline; gap: 10px;
  background: #f7f9fc; border-radius: 8px; padding: 8px 10px; font-size: 12.5px;
}
.mini-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4a5768; }
.mini-row b { color: #0086ff; font-weight: 600; }
.mini-row em { font-style: normal; color: #8a94a6; font-size: 11.5px; }
.pw-box {
  margin-top: 10px; padding: 14px; border-radius: 10px; text-align: center;
  background: #f2f8ff; border: 1px dashed #b9d6f7; color: #0068cc;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: 2px;
}
@media (max-width: 1180px) {
  .ud-grid { flex-direction: column; }
  .ud-left { flex: 1 1 auto; max-width: none; width: 100%; }
}

/* ============ 财务报表 ============ */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 190px; padding-top: 18px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.chart .bar-wrap { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.chart .bar {
  width: 60%; max-width: 42px; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #0086ff, #52b0ff); min-height: 2px;
  transition: height .25s;
}
.chart .bar-wrap .val { position: absolute; top: -2px; font-size: 10px; color: #8a94a6; }
.chart .lb { font-size: 11px; color: #8a94a6; margin-top: 6px; }
.chart .col:hover .bar { background: linear-gradient(180deg, #0068cc, #0086ff); }
table.data td b { color: #1f2d3d; }

/* ============ 批量操作条 ============ */
.bulk-bar {
  position: sticky;
  top: calc(var(--topbar-h) + 12px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #f2f8ff;
  border: 1px solid #cfe4ff;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(0, 134, 255, .10);
}
.bulk-bar .cnt { font-size: 13.5px; font-weight: 600; color: var(--primary-dark); margin-right: 4px; }
.bulk-bar .sep { width: 1px; height: 20px; background: #cfe4ff; margin: 0 4px; }

/* 批量改密码弹窗里的单选行 */
.radio-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text); padding: 8px 10px;
  border-radius: 8px; background: #f7f9fc; margin-bottom: 8px; cursor: pointer;
}
.radio-row:hover { background: #f0f6ff; }
.radio-row input { width: auto; }

/* 表格里的勾选框列 */
table.data td input[type="checkbox"], table.data th input[type="checkbox"] {
  width: 15px; height: 15px; cursor: pointer; accent-color: var(--primary);
}

/* 工具栏里把危险操作推到最右 */
.push-right { flex: 1; min-width: 12px; }

/* ============ 后台登录页 ============ */
.login-mask {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(1200px 600px at 20% 10%, #12395f, #0b1b2c 60%, #07131f);
}
.login-mask.hide { display: none; }
.login-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 60px rgba(3, 12, 22, .45);
}
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.login-brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #f7f9fc; padding: 2px; }
.login-brand b { display: block; font-size: 16px; }
.login-brand span { font-size: 12px; color: var(--muted); }
.login-field { display: block; margin-bottom: 14px; }
.login-field > span { display: block; font-size: 12.5px; color: var(--text-sub); margin-bottom: 6px; }
.login-field input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
}
.login-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 134, 255, .14); }
.login-hint {
  background: #f6f9ff;
  border: 1px solid #dbe9ff;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.85;
  color: #3d5573;
}
.login-hint.err { background: #fff2f0; border-color: #ffccc7; border-left-color: #f5222d; color: #a8071a; }
.login-hint code { background: #e8f3ff; color: #0068cc; padding: 1px 5px; border-radius: 4px; }
.login-submit {
  width: 100%;
  margin-top: 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.login-submit:hover { background: var(--primary-dark); }
.login-submit:disabled { opacity: .7; cursor: default; }
.login-links {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; font-size: 12.5px; color: var(--muted);
}
.login-links a { color: var(--primary); cursor: pointer; }

/* 顶栏里的当前用户 */
.user-chip {
  font-size: 12px;
  color: var(--text-sub);
  background: #f2f5fa;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ============ 预定关闭状态 ============ */
.pv-closed {
  background: #fff;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  margin-bottom: 12px;
}
.pv-closed .ico { font-size: 34px; }
.pv-closed .t { font-size: 16px; font-weight: 600; color: #1f2d3d; margin-top: 10px; }
.pv-closed .d { font-size: 12.5px; color: #8a94a6; line-height: 1.8; margin-top: 8px; }
.pv-btn-row .b.disabled { background: #eef1f6; color: #a9b2bf; cursor: not-allowed; flex: 1; }

/* ============ 产品卡片的预定状态行 ============ */
.pv-product .book-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pv-product .book-line span {
  font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 10px;
}
.pv-product .book-line span.on { background: #e8f3ff; color: #0086ff; }
.pv-product .book-line span.off { background: #f2f4f8; color: #8a94a6; }
.pv-product .book-line em { font-style: normal; font-size: 11px; color: #a9b2bf; }

/* ============ 数据总览（仪表盘） ============ */
.dash-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px 26px;
  color: #fff;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background:
    radial-gradient(900px 320px at 88% -12%, rgba(255, 255, 255, .28), transparent 62%),
    linear-gradient(135deg, #0b62c4 0%, #0086ff 48%, #3aa6ff 100%);
  box-shadow: 0 14px 34px rgba(0, 108, 214, .28);
}
.dash-hero::after {
  content: "";
  position: absolute; right: -60px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .10);
}
.dash-hero .hero-left { min-width: 260px; }
.dash-hero .hero-title { font-size: 26px; font-weight: 700; letter-spacing: 3px; }
.dash-hero .hero-sub { font-size: 13px; opacity: .9; margin-top: 6px; letter-spacing: .5px; }
.dash-hero .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dash-hero .hero-chips span {
  font-size: 12px; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: 5px 12px; backdrop-filter: blur(2px);
}
.dash-hero .hero-right { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.dash-hero .hero-kpi {
  min-width: 84px; text-align: center; padding: 10px 12px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
}
.dash-hero .hero-kpi b { display: block; font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.dash-hero .hero-kpi span { font-size: 11px; opacity: .88; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.kpi {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.kpi:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 45, 61, .10); border-color: #d6e6fb; }
.kpi.hl { background: linear-gradient(180deg, #f7fbff, #fff); border-color: #cfe4ff; }
.kpi .kpi-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.kpi .kpi-top .ico { font-size: 15px; }
.kpi .kpi-val { font-size: 26px; font-weight: 700; margin: 8px 0 4px; letter-spacing: .5px; color: #14283f; }
.kpi.hl .kpi-val { color: #0068cc; }
.kpi .kpi-hint { font-size: 11.5px; color: var(--muted); }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.quick {
  display: flex; align-items: center; gap: 10px;
  background: #f7f9fc; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
  font-size: 13.5px; color: var(--text); text-align: left;
  transition: all .15s;
}
.quick:hover { background: #eef6ff; border-color: #cfe4ff; color: var(--primary-dark); transform: translateY(-1px); }
.quick .ico { font-size: 18px; }

@media (max-width: 1180px) {
  .dash-hero { padding: 18px; }
  .dash-hero .hero-title { font-size: 22px; }
}

/* 仪表盘三栏（完成度环 / 收入趋势 / 报名榜） */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.tile-t { font-size: 13.5px; font-weight: 600; color: #1f2d3d; margin-bottom: 12px; }
.tile-sub { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.donut { width: 132px; height: 132px; border-radius: 50%; margin: 4px auto 0; display: flex; align-items: center; justify-content: center; }
.donut .hole { width: 98px; height: 98px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut .hole b { font-size: 24px; color: #0068cc; }
.donut .hole span { font-size: 11px; color: var(--muted); }
.mini-chart { display: flex; align-items: flex-end; gap: 5px; height: 120px; }
.mini-chart .mc-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.mini-chart .mc-bar { width: 70%; max-width: 22px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #0086ff, #63b9ff); }
.mini-chart .mc-col:hover .mc-bar { background: linear-gradient(180deg, #0068cc, #0086ff); }
.mini-chart .mc-col span { font-size: 10px; color: var(--muted); }
.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rank-row .rk { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px; background: #f0f3f8; color: #8a94a6; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.rank-row .rk.top { background: #fff3e0; color: #fa8c16; font-weight: 700; }
.rank-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4a5768; }
.rank-row b { color: #0068cc; }
.dash-hero .hero-chips .clock b { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; }

/* ============ 后台人员总览（角色 / 审核 / 日志） ============ */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.role-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: #fbfdff; }
.role-card.super { border-color: #cfe4ff; background: linear-gradient(180deg, #f4faff, #fff); }
.role-card.admin { border-color: #dbe9ff; background: linear-gradient(180deg, #f8fbff, #fff); }
.role-card.staff { border-color: #e8eef7; }
.role-card .role-t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.role-card ul { margin: 0; padding-left: 18px; }
.role-card li { font-size: 12px; color: #5a6b82; line-height: 1.95; }
.role-card li b { color: #0068cc; }

.badge-role {
  display: inline-block; font-size: 11px; border-radius: 999px; padding: 2px 9px;
  background: #eef2f7; color: #5a6b82; font-weight: 500; white-space: nowrap;
}
.badge-role.super { background: #e8f3ff; color: #0068cc; }
.badge-role.admin { background: #f0ecff; color: #6b4bff; }
.badge-role.staff { background: #eafaf1; color: #12a150; }

/* 职责身份（业务 / 财务 / 内容运营 / 客服 / 其他） */
.duty-explain {
  margin-top: 14px; border: 1px solid #e4eefb; border-radius: 12px;
  background: linear-gradient(180deg, #f7fbff, #fff); padding: 14px 16px;
}
.duty-explain .de-t { font-size: 13.5px; font-weight: 600; color: #1f2d3d; margin-bottom: 6px; }
.duty-explain .de-s { font-size: 12.5px; color: #5a6b82; line-height: 1.8; }
.duty-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.duty-pill {
  display: inline-block; font-size: 11.5px; font-weight: 600; border-radius: 999px;
  padding: 3px 11px; background: #eef2f7; color: #5a6b82; white-space: nowrap;
}
.duty-pill.sm { font-size: 11px; padding: 2px 9px; }
.duty-pill.all { background: #e8f3ff; color: #0068cc; }
.duty-pill.business { background: #e8f3ff; color: #0068cc; }
.duty-pill.finance { background: #fff4e6; color: #d46b08; }
.duty-pill.content { background: #f0ecff; color: #6b4bff; }
.duty-pill.service { background: #eafaf1; color: #12a150; }
.duty-pill.other { background: #eef2f7; color: #5a6b82; }
label.req::after { content: " *"; color: #f5222d; font-weight: 700; }
.modal-head .desc { font-size: 12px; color: var(--muted); margin-left: 10px; }

.approval-row {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid #e6eefc; border-left: 4px solid var(--primary);
  background: #f7fbff; border-radius: 12px; padding: 12px 14px;
}
.approval-row .ar-main { flex: 1; min-width: 0; }
.approval-row .ar-t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.approval-row .ar-s { font-size: 13px; color: #1f2d3d; margin: 6px 0 4px; }
.approval-row .ar-ops { display: flex; gap: 6px; flex-wrap: wrap; }
.approval-row input[type="checkbox"] { width: auto; flex: 0 0 auto; }
.pick-all { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-sub); white-space: nowrap; }
.pick-all input[type="checkbox"] { width: auto; margin: 0; }

.log-list { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
.log-row {
  display: grid; grid-template-columns: 132px 84px 150px 1fr; gap: 10px;
  font-size: 12.5px; padding: 7px 10px; border-radius: 8px; background: #f9fbfd;
}
.log-row .lt { color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }
.log-row .la { color: #0068cc; font-weight: 600; }
.log-row .lb { color: var(--text-sub); }
.log-row .ld { color: #4a5768; }
@media (max-width: 1180px) { .log-row { grid-template-columns: 120px 72px 1fr; } .log-row .lb { display: none; } }

.scope-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.scope-item {
  border: 1px solid var(--border-strong); background: #fff; color: var(--text-sub);
  border-radius: 10px; padding: 9px 10px; font-size: 12.5px; cursor: pointer; text-align: center;
  transition: all .15s;
}
.scope-item:hover { border-color: var(--primary); color: var(--primary); }
.scope-item.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); font-weight: 600; }
