@import url("./icons.css");
/* ============================================================
   XX教育 · 家教上门服务平台 原型设计系统  v2.0（时尚简约版）
   全部原型页面共用；正式开发时对应 uni-app 的设计 token
   v2 升级要点：大圆角卡片 / 彩色柔和投影 / 玻璃拟态导航与TabBar
   / 胶囊按钮 / iOS 风格分段器 / 灵动岛手机框 / 按压反馈
   注意：所有类名与 v1 完全一致，页面无需改动即可全站生效
   ============================================================ */
:root {
  --brand: #2E5BFF;
  --brand-deep: #1F44CC;
  --brand-light: #EAF0FF;
  --brand-grad: linear-gradient(135deg, #5B8CFF 0%, #2E5BFF 100%);
  --accent: #FF6A3D;
  --accent-light: #FFF1EA;
  --gold: #FFB300;
  --gold-light: #FFF7E6;
  --green: #00B578;
  --green-light: #E6F7F0;
  --red: #FA5151;
  --red-light: #FFECE8;
  --purple: #7B61FF;
  --purple-light: #F0EDFF;
  --text: #171A20;
  --text-2: #4E5969;
  --text-3: #8A919C;
  --bg: #F6F7FB;
  --line: rgba(23, 26, 32, .07);
  --hairline: rgba(23, 26, 32, .05);
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --shadow: 0 8px 24px rgba(46, 91, 255, .06);
  --shadow-hover: 0 12px 32px rgba(46, 91, 255, .12);
  --glass: rgba(255, 255, 255, .88);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 500px at 20% -10%, #E3E9FF 0%, transparent 60%),
              radial-gradient(1000px 500px at 90% 10%, #F0EAFF 0%, transparent 55%), #E9EBF2;
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .2px;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
/* ============ 手机模拟框（灵动岛） ============ */
.phone { width: 399px; margin: 28px auto; }
.phone-screen {
  width: 375px; min-height: 750px; margin: 0 auto;
  background: var(--bg); border-radius: 44px; overflow: hidden;
  border: 9px solid #0B0F17; box-shadow: 0 24px 60px rgba(16, 21, 30, .35), inset 0 0 0 2px rgba(255,255,255,.06);
  display: flex; flex-direction: column;
}
.phone-page-label {
  text-align: center; color: #6B7488; font-size: 12px; margin-top: 12px; letter-spacing: 2px;
}
.status-bar {
  height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 4px 26px 0 30px; font-size: 14px; font-weight: 700; background: var(--white);
  position: relative;
}
.status-bar::after { /* 灵动岛 */
  content: ""; position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  width: 98px; height: 27px; background: #0B0F17; border-radius: 16px;
}
.sb-right { display: flex; align-items: center; gap: 5px; }
.sb-signal, .sb-wifi, .sb-battery { display: inline-block; }
.sb-signal { width: 15px; height: 10px; background:
  linear-gradient(to top, var(--text) 0 3px, transparent 3px 5px, var(--text) 5px 8px, transparent 8px 10px, var(--text) 10px 13px, transparent 13px);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 62% 0, 62% 55%, 31% 55%, 31% 75%, 0 75%);
}
.sb-wifi { width: 14px; height: 14px; border: 2.4px solid var(--text); border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }
.sb-battery { width: 22px; height: 11px; border: 1.4px solid var(--text); border-radius: 3.5px; position: relative; }
.sb-battery::after { content: ""; position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; width: 68%; background: var(--text); border-radius: 1px; }
.sb-battery::before { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 5px; background: var(--text); border-radius: 0 1px 1px 0; }
/* ============ 导航栏（子页面 · 玻璃拟态） ============ */
.nav-bar {
  height: 48px; flex: none; display: flex; align-items: center; position: relative;
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--hairline); padding: 0 14px; z-index: 5;
}
.nav-back { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .15s; }
.nav-back:active { background: rgba(46, 91, 255, .1); }
.nav-back svg { width: 11px; height: 18px; }
.nav-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.nav-right { margin-left: auto; font-size: 13px; color: var(--text-2); }
.nav-search { flex: 1; }
/* ============ 页面主体 ============ */
.page-body { flex: 1; padding: 14px; overflow-y: auto; }
.page-body.no-pad { padding: 0; }
.page-body::-webkit-scrollbar { width: 0; }
.divider { height: 10px; flex: none; }
.safe-bottom { height: 16px; flex: none; }
/* ============ 底部 TabBar（玻璃拟态悬浮） ============ */
.tabbar {
  flex: none; display: flex; background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 -1px 0 var(--hairline), 0 -8px 24px rgba(23, 26, 32, .04);
  padding: 7px 0 20px;
}
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--text-3); transition: color .15s; }
.tab-item svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.tab-item.on { color: var(--brand); font-weight: 700; }
.tab-badge { position: relative; }
.tab-badge::after {
  content: "3"; position: absolute; top: -5px; right: -10px; min-width: 16px; height: 16px;
  background: var(--red); color: #fff; border-radius: 9px; font-size: 9px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  box-shadow: 0 2px 6px rgba(250, 81, 81, .4);
}
/* ============ 底部操作条（玻璃拟态） ============ */
.action-bar {
  flex: none; display: flex; align-items: center; gap: 10px;
  background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 -1px 0 var(--hairline); padding: 10px 14px 22px;
}
.action-bar .grow { flex: 1; }
/* ============ 通用组件：卡片 / 列表 ============ */
.card { background: var(--white); border-radius: var(--radius); padding: 15px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; }
.card-title .more { font-size: 12px; color: var(--text-3); font-weight: 400; }
.cells { background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow); }
.cell { display: flex; align-items: center; gap: 11px; padding: 14px; border-bottom: 1px solid var(--hairline); background: var(--white); transition: background .15s; }
.cell:active { background: #F7F9FF; }
.cell:last-child { border-bottom: none; }
.cell-main { flex: 1; min-width: 0; }
.cell-title { font-size: 14px; font-weight: 600; }
.cell-desc { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.cell-value { font-size: 13px; color: var(--text-3); }
.cell-arrow { color: #C6CBD6; font-size: 13px; }
/* ============ 头像（渐变光晕） ============ */
.avatar { border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; background: var(--brand-grad); }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.avatar.md { width: 44px; height: 44px; font-size: 16px; }
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.avatar.gold { background: linear-gradient(135deg, #FFC53D, #FF7A45); }
.avatar.green { background: linear-gradient(135deg, #34D399, #00B578); }
.avatar.purple { background: linear-gradient(135deg, #A78BFA, #7B61FF); }
/* ============ 按钮（胶囊 + 渐变 + 按压反馈） ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 999px; font-size: 14px; padding: 9px 24px; border: none; cursor: pointer; font-family: inherit; font-weight: 600; transition: transform .12s, box-shadow .15s, opacity .15s; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px rgba(46, 91, 255, .3); }
.btn-primary.deep { background: linear-gradient(135deg, #3D66E0, #1F44CC); }
.btn-outline { background: var(--white); color: var(--brand); border: 1.5px solid rgba(46, 91, 255, .45); }
.btn-ghost { background: var(--brand-light); color: var(--brand); }
.btn-warm { background: linear-gradient(135deg, #FF9A62, #FF6A3D); color: #fff; box-shadow: 0 6px 16px rgba(255, 106, 61, .3); }
.btn-danger { background: linear-gradient(135deg, #FF7069, #FA5151); color: #fff; }
.btn-green { background: linear-gradient(135deg, #2BD98B, #00B578); color: #fff; }
.btn-disabled { background: #EDEFF3; color: #ABB0BA; box-shadow: none; }
.btn-sm { font-size: 12px; padding: 6px 15px; }
.btn-lg { font-size: 16px; padding: 13px 0; width: 100%; border-radius: 999px; font-weight: 700; }
.btn-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
/* ============ 标签 / 徽章 ============ */
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 7px; font-size: 10px; line-height: 15px; white-space: nowrap; font-weight: 500; }
.tag-blue { background: var(--brand-light); color: var(--brand); }
.tag-orange { background: var(--accent-light); color: var(--accent); }
.tag-gold { background: var(--gold-light); color: #C78700; }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-red { background: var(--red-light); color: var(--red); }
.tag-gray { background: #F1F2F6; color: var(--text-3); }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-line { background: transparent; border: 1px solid currentColor; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }
/* ============ 价格 / 评分 ============ */
.price { color: var(--accent); font-weight: 800; font-size: 19px; letter-spacing: 0; }
.price small { font-size: 11px; font-weight: 500; }
.price.del-origin { color: var(--text-3); text-decoration: line-through; font-size: 12px; font-weight: 400; }
.stars { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.score { color: var(--gold); font-weight: 800; font-size: 17px; }
/* ============ 搜索 / 筛选 / 分段器（iOS 胶囊分段） ============ */
.search-bar { display: flex; align-items: center; gap: 8px; background: #F1F2F7; border-radius: 999px; padding: 9px 16px; }
.search-ico { width: 14px; height: 14px; border: 2px solid #AEB4C0; border-radius: 50%; position: relative; flex: none; }
.search-ico::after { content: ""; position: absolute; width: 7px; height: 2px; background: #AEB4C0; transform: rotate(45deg); right: -6px; bottom: -3px; }
.search-input { flex: 1; font-size: 13px; color: var(--text-3); }
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; }
.filter-bar::-webkit-scrollbar { height: 0; }
.chip { flex: none; padding: 6px 15px; border-radius: 999px; background: var(--white); color: var(--text-2); font-size: 12px; box-shadow: 0 2px 8px rgba(23,26,32,.04); transition: all .15s; }
.chip.on { background: rgba(46, 91, 255, .1); color: var(--brand); font-weight: 700; }
.sort-bar { display: flex; gap: 18px; padding: 10px 2px 6px; font-size: 13px; color: var(--text-2); }
.sort-bar .on { color: var(--brand); font-weight: 700; }
.segment { display: flex; background: rgba(46, 91, 255, .08); padding: 4px; border-radius: 14px; gap: 4px; margin-bottom: 12px; }
.segment-item { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; font-size: 14px; color: var(--text-2); transition: all .18s; }
.segment-item.on { background: var(--white); color: var(--brand); font-weight: 700; box-shadow: 0 3px 10px rgba(46, 91, 255, .16); }
/* ============ 首页：轮播 / 金刚位 / 学段入口 ============ */
.banner { border-radius: var(--radius); height: 108px; background: var(--brand-grad); color: #fff; padding: 17px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 10px 26px rgba(46, 91, 255, .28); }
.banner::after { content: ""; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.banner::before { content: ""; position: absolute; right: 40px; bottom: -50px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.banner h3 { font-size: 18px; margin-bottom: 7px; font-weight: 800; letter-spacing: .5px; }
.banner p { font-size: 12px; opacity: .88; }
.banner .banner-ico { position: absolute; right: 20px; font-size: 52px; opacity: .3; }
.banner-warm { background: linear-gradient(135deg, #FF9A62, #FF6A3D 55%, #FFB300); box-shadow: 0 10px 26px rgba(255, 106, 61, .28); }
.banner-teal { background: linear-gradient(135deg, #34D399, #00B578 55%, #0E9F6E); box-shadow: 0 10px 26px rgba(0, 181, 120, .26); }
.banner-dots { display: flex; gap: 4px; justify-content: center; margin-top: 8px; }
.banner-dots i { width: 12px; height: 3.5px; border-radius: 2px; background: rgba(23, 26, 32, .12); transition: all .2s; }
.banner-dots i.on { background: var(--brand); width: 20px; }
.grid-entry { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 6px 0 2px; }
.grid-item { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--text-2); }
.grid-ico { width: 46px; height: 46px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .15s; }
.grid-item:active .grid-ico { transform: scale(.9); }
.gi-blue { background: linear-gradient(135deg, #EAF0FF, #DCE6FF); }
.gi-orange { background: linear-gradient(135deg, #FFF1EA, #FFE3D6); }
.gi-green { background: linear-gradient(135deg, #E6F7F0, #D6F1E6); }
.gi-gold { background: linear-gradient(135deg, #FFF7E6, #FFEDC2); }
.gi-purple { background: linear-gradient(135deg, #F0EDFF, #E2DCFF); }
.stage-entry { display: flex; gap: 9px; }
.stage-card { flex: 1; border-radius: 14px; padding: 12px 8px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.stage-card::after { content: ""; position: absolute; right: -16px; bottom: -20px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.stage-card h4 { font-size: 15px; margin-bottom: 4px; font-weight: 800; }
.stage-card p { font-size: 10px; opacity: .88; }
.st-primary { background: var(--brand-grad); box-shadow: 0 6px 16px rgba(46, 91, 255, .25); }
.st-junior { background: linear-gradient(160deg, #34D399, #00A26A); box-shadow: 0 6px 16px rgba(0, 162, 106, .25); }
.st-senior { background: linear-gradient(160deg, #A78BFA, #7B61FF); box-shadow: 0 6px 16px rgba(123, 97, 255, .25); }
.st-zhiyuan { background: linear-gradient(160deg, #FFC53D, #FF7A45); box-shadow: 0 6px 16px rgba(255, 122, 69, .25); }
/* ============ 老师列表项 ============ */
.media-item { display: flex; gap: 11px; background: var(--white); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow); transition: box-shadow .2s; }
.media-item:active { box-shadow: var(--shadow-hover); }
.media-main { flex: 1; min-width: 0; }
.media-title { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.media-title .name { white-space: nowrap; }
.media-sub { font-size: 11px; color: var(--text-3); margin: 5px 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.media-foot { display: flex; align-items: baseline; gap: 8px; }
.media-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
/* ============ 统计条 / 进度 ============ */
.stat-strip { display: flex; background: var(--white); border-radius: var(--radius); padding: 13px 0; margin-bottom: 12px; box-shadow: var(--shadow); }
.stat-strip .si { flex: 1; text-align: center; border-right: 1px solid var(--hairline); }
.stat-strip .si:last-child { border-right: none; }
.si-num { font-size: 19px; font-weight: 800; color: var(--brand); letter-spacing: 0; }
.si-label { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.progress { height: 8px; background: #EDEFF4; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand-grad); border-radius: 99px; }
.progress.warm i { background: linear-gradient(90deg, #FF9A62, #FF6A3D); }
/* ============ 键值对 / 时间线 / 步骤 ============ */
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; }
.kv .k { color: var(--text-3); flex: none; }
.kv .v { color: var(--text); text-align: right; word-break: break-all; }
.timeline { position: relative; padding-left: 19px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 15px; }
.tl-item::before { content: ""; position: absolute; left: -18px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #CDD2DC; border: 2px solid #fff; box-shadow: 0 0 0 2px #E7EAF0; }
.tl-item.on::before { background: var(--brand); box-shadow: 0 0 0 2px rgba(46, 91, 255, .25); }
.tl-time { font-size: 11px; color: var(--text-3); margin-bottom: 3px; }
.tl-text { font-size: 13px; }
.steps { display: flex; margin: 6px 0 14px; }
.step { flex: 1; text-align: center; position: relative; font-size: 11px; color: var(--text-3); }
.step::before { content: ""; display: block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #E8EAEF; color: var(--text-3); font-size: 11px; margin: 0 auto 4px; text-align: center; }
.step::after { content: ""; position: absolute; top: 11px; left: -34%; width: 68%; height: 2px; background: #E8EAEF; }
.step:first-child::after { display: none; }
.step.on { color: var(--brand); font-weight: 700; }
.step.on::before { background: var(--brand-grad); color: #fff; }
.step.on::after { background: var(--brand); }
/* ============ 表单 ============ */
.form { background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow); }
.field { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-bottom: 1px solid var(--hairline); }
.field:last-child { border-bottom: none; }
.field-label { width: 84px; flex: none; font-size: 14px; color: var(--text); padding-top: 1px; }
.field-label em { color: var(--red); font-style: normal; margin-right: 2px; }
.field-main { flex: 1; font-size: 14px; }
.field-input { color: var(--text-3); }
.field-input.fill { color: var(--text); }
.textarea { border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 10px; font-size: 13px; color: var(--text-3); min-height: 78px; line-height: 1.7; background: #FAFBFD; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.radio { display: inline-flex; align-items: center; gap: 5px; }
.radio i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #CDD2DC; display: inline-block; transition: all .15s; }
.radio.on i { border: 4.5px solid var(--brand); }
.checkbox i { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid #CDD2DC; display: inline-block; position: relative; transition: all .15s; }
.checkbox.on i { background: var(--brand-grad); border-color: transparent; }
.checkbox.on i::after { content: "✓"; color: #fff; font-size: 10px; position: absolute; left: 1.5px; top: -1px; }
.picker { background: #F4F6FA; border-radius: var(--radius-xs); padding: 9px 11px; font-size: 13px; color: var(--text-2); display: flex; justify-content: space-between; }
.uploader { display: flex; gap: 10px; flex-wrap: wrap; }
.up-box { width: 72px; height: 72px; border-radius: var(--radius-xs); border: 1.5px dashed #C9CEDB; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-3); font-size: 11px; background: #FAFBFD; transition: all .15s; }
.up-box.preview { border: none; background: linear-gradient(135deg, #E8EEFF, #D5E0FF); color: var(--brand); font-size: 20px; font-weight: 700; }
/* ============ 时间槽 / 日历 ============ */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.slot { border: 1.5px solid var(--line); border-radius: var(--radius-xs); padding: 9px 4px; text-align: center; font-size: 12px; background: var(--white); transition: all .15s; }
.slot .t { font-weight: 700; }
.slot .s { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.slot.on { border-color: var(--brand); background: rgba(46, 91, 255, .07); color: var(--brand); box-shadow: 0 4px 12px rgba(46, 91, 255, .14); }
.slot.disabled { background: #F1F2F6; color: #C0C4CC; text-decoration: line-through; }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10px; color: var(--text-3); margin-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-cell { aspect-ratio: 1; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; background: var(--white); }
.cal-cell .mark { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); margin-top: 2px; }
.cal-cell.dim { color: #C0C4CC; }
.cal-cell.on { background: var(--brand-grad); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(46, 91, 255, .3); }
.cal-cell.on .mark { background: #fff; }
/* ============ 地图占位 / 签到 ============ */
.map-ph { height: 152px; border-radius: var(--radius); background:
  linear-gradient(90deg, transparent 48%, #D8E0F5 48%, #D8E0F5 52%, transparent 52%),
  linear-gradient(0deg, transparent 46%, #D8E0F5 46%, #D8E0F5 54%, transparent 54%),
  linear-gradient(135deg, #E9F4EC, #EAF0FF); position: relative; overflow: hidden; margin-bottom: 12px; }
.map-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); }
.map-pin i { display: block; width: 16px; height: 16px; background: var(--brand); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.map-ring { position: absolute; left: 50%; top: 46%; width: 88px; height: 88px; transform: translate(-50%, -50%); border: 2px solid rgba(46,91,255,.4); border-radius: 50%; }
.map-ring::after { content: ""; position: absolute; inset: 18px; border: 2px solid rgba(46,91,255,.25); border-radius: 50%; }
.checkin-circle { width: 136px; height: 136px; margin: 20px auto; border-radius: 50%; background: var(--brand-grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 16px 36px rgba(46, 91, 255, .4), 0 0 0 10px rgba(46, 91, 255, .08); transition: transform .15s; }
.checkin-circle:active { transform: scale(.95); }
.checkin-circle .ico { font-size: 34px; }
.checkin-circle .txt { font-size: 15px; font-weight: 800; margin-top: 6px; }
/* ============ 空态 / 提示条 / 原型说明 ============ */
.empty { text-align: center; padding: 44px 0; color: var(--text-3); font-size: 13px; }
.empty .ico { font-size: 42px; margin-bottom: 10px; opacity: .5; }
.notice-bar { display: flex; align-items: center; gap: 8px; background: var(--gold-light); color: #B57C00; border-radius: var(--radius-xs); padding: 9px 13px; font-size: 12px; margin-bottom: 12px; }
.pt-note { border: 1.5px dashed rgba(255, 106, 61, .5); background: linear-gradient(135deg, #FFF6F2, #FFF1EA); color: #C25A28; border-radius: var(--radius-xs); padding: 10px 13px; font-size: 12px; line-height: 1.75; margin-bottom: 12px; }
.pt-note b { color: #A8481B; }
/* ============ 海报 / 名片 ============ */
.poster { border-radius: 20px; overflow: hidden; background: linear-gradient(165deg, #5B8CFF 0%, #2E5BFF 45%, #7B61FF 100%); color: #fff; padding: 24px 18px; text-align: center; position: relative; }
.poster::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.poster .p-avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 10px; background: rgba(255,255,255,.2); border: 3px solid rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.qr-ph { width: 110px; height: 110px; margin: 12px auto; background:
  repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0/18px 18px, #fff; border-radius: 10px; border: 5px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
/* ============================================================
   管理后台（桌面布局 · 深色高级感侧栏）
   ============================================================ */
.admin { display: flex; min-height: 100vh; background: var(--bg); }
.sidebar { width: 218px; flex: none; background: linear-gradient(180deg, #171E2C 0%, #131A27 100%); color: #A6B1C2; display: flex; flex-direction: column; font-size: 13px; }
.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 20px 16px; color: #fff; font-size: 16px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar-logo .logo-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-grad); display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; box-shadow: 0 4px 12px rgba(46, 91, 255, .4); }
.menu-scroll { flex: 1; overflow-y: auto; padding: 10px 10px 30px; }
.menu-scroll::-webkit-scrollbar { width: 4px; }
.menu-group { margin: 14px 0 4px; padding: 0 10px; font-size: 11px; color: #5E6B7E; letter-spacing: 1.5px; }
.menu-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; margin-bottom: 2px; color: #A6B1C2; transition: all .15s; }
.menu-item .mi { width: 17px; text-align: center; font-size: 14px; font-style: normal; }
.menu-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.menu-item.on { background: var(--brand-grad); color: #fff; font-weight: 700; box-shadow: 0 6px 14px rgba(46, 91, 255, .35); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 58px; flex: none; background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--hairline); display: flex; align-items: center; padding: 0 22px; gap: 14px; }
.crumb { font-size: 13px; color: var(--text-3); }
.crumb b { color: var(--text); font-weight: 700; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-2); }
.top-tenant { display: flex; align-items: center; gap: 6px; background: rgba(46, 91, 255, .09); color: var(--brand); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.content { flex: 1; padding: 18px 22px 32px; }
.panel { background: var(--white); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.panel-title::before { content: ""; width: 4px; height: 15px; background: var(--brand-grad); border-radius: 2px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 4px; }
.stat-card { background: var(--white); border-radius: 14px; padding: 18px 20px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.stat-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand-grad); }
.stat-card.warm::after { background: linear-gradient(180deg, #FF9A62, #FF6A3D); }
.stat-card.green::after { background: linear-gradient(180deg, #2BD98B, #00B578); }
.stat-card.purple::after { background: linear-gradient(180deg, #A78BFA, #7B61FF); }
.stat-label { font-size: 12px; color: var(--text-3); }
.stat-num { font-size: 27px; font-weight: 800; margin: 7px 0 5px; letter-spacing: 0; }
.stat-foot { font-size: 11px; color: var(--text-3); }
.stat-foot .up { color: var(--red); }
.stat-foot .down { color: var(--green); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.tb-input { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 13px; font-size: 13px; color: var(--text-3); min-width: 180px; background: var(--white); transition: border-color .15s; }
.tb-input:focus { border-color: rgba(46, 91, 255, .5); outline: none; }
.tb-select { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 13px; color: var(--text-2); background: var(--white); }
.toolbar .grow { flex: 1; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { background: transparent; color: var(--text-3); font-weight: 600; text-align: left; padding: 10px 12px; white-space: nowrap; border-bottom: 1.5px solid var(--line); font-size: 12px; }
.table td { padding: 12px; border-bottom: 1px solid var(--hairline); color: var(--text); vertical-align: middle; }
.table tr:hover td { background: #F8FAFF; }
.table tr:last-child td { border-bottom: none; }
.table .link { color: var(--brand); cursor: pointer; font-weight: 500; }
.status-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; font-weight: 500; }
.sc-blue { background: var(--brand-light); color: var(--brand); }
.sc-green { background: var(--green-light); color: var(--green); }
.sc-orange { background: var(--accent-light); color: var(--accent); }
.sc-red { background: var(--red-light); color: var(--red); }
.sc-gray { background: #F1F2F6; color: var(--text-3); }
.sc-gold { background: var(--gold-light); color: #C78700; }
.sc-purple { background: var(--purple-light); color: var(--purple); }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding-top: 14px; font-size: 13px; color: var(--text-3); }
.pg-btn { min-width: 30px; height: 30px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; color: var(--text-2); font-size: 12px; transition: all .15s; }
.pg-btn.on { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: 0 4px 10px rgba(46, 91, 255, .3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.form-item .fi-label { width: 110px; flex: none; font-size: 13px; color: var(--text-2); padding-top: 2px; }
.form-item .fi-label em { color: var(--red); font-style: normal; margin-right: 2px; }
.form-item .fi-main { flex: 1; font-size: 13px; color: var(--text-3); min-width: 0; }
.fi-input, .fi-textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 13px; color: var(--text); background: var(--white); transition: border-color .15s; }
.fi-input:focus, .fi-textarea:focus { border-color: rgba(46, 91, 255, .5); outline: none; }
.fi-textarea { min-height: 74px; resize: vertical; line-height: 1.6; }
.fi-main.fill { color: var(--text); }
.audit-flow { display: flex; align-items: center; gap: 0; margin: 8px 0 2px; }
.af-node { text-align: center; flex: 1; font-size: 12px; color: var(--text-3); position: relative; }
.af-node .af-dot { width: 27px; height: 27px; line-height: 27px; border-radius: 50%; background: #E8EAEF; color: var(--text-3); margin: 0 auto 5px; font-size: 12px; }
.af-node::after { content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: #E8EAEF; z-index: 0; }
.af-node:last-child::after { display: none; }
.af-node.on { color: var(--brand); font-weight: 700; }
.af-node.on .af-dot { background: var(--brand-grad); color: #fff; position: relative; z-index: 1; box-shadow: 0 4px 10px rgba(46, 91, 255, .3); }
.af-node.on::after { background: var(--brand); }
.desc-list { font-size: 13px; line-height: 2; color: var(--text-2); }
.desc-list b { color: var(--text); font-weight: 700; }
/* ============ 后台登录页 ============ */
.admin-login-bg { min-height: 100vh; background: radial-gradient(900px 400px at 15% 20%, rgba(91, 140, 255, .5) 0%, transparent 55%), radial-gradient(800px 500px at 90% 80%, rgba(123, 97, 255, .45) 0%, transparent 55%), linear-gradient(135deg, #171E2C 0%, #24314A 100%); display: flex; align-items: center; justify-content: center; }
.login-box { width: 404px; background: var(--white); border-radius: 20px; padding: 38px 40px 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.login-logo { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.login-sub { text-align: center; color: var(--text-3); font-size: 12px; margin-bottom: 28px; }
.login-field { display: flex; align-items: center; background: #F4F6FA; border: 1.5px solid transparent; border-radius: 12px; padding: 0 15px; margin-bottom: 16px; transition: all .15s; }
.login-field:focus-within { background: var(--white); border-color: rgba(46, 91, 255, .5); }
.login-field .lf-ico { width: 18px; text-align: center; color: var(--text-3); margin-right: 11px; }
.login-field input { flex: 1; border: none; outline: none; background: transparent; padding: 13px 0; font-size: 14px; font-family: inherit; color: var(--text); }
.login-cap { flex: none; font-size: 12px; color: var(--brand); cursor: pointer; font-weight: 600; }
/* ============ index 总导航 ============ */
.doc-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 64px; }
.doc-head { background: var(--brand-grad); border-radius: 20px; padding: 30px 34px; margin-bottom: 18px; color: #fff; box-shadow: 0 16px 40px rgba(46, 91, 255, .3); position: relative; overflow: hidden; }
.doc-head::after { content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.doc-head::before { content: ""; position: absolute; right: 120px; bottom: -80px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.doc-h1 { font-size: 23px; font-weight: 800; margin-bottom: 10px; letter-spacing: .5px; }
.doc-sub { font-size: 13px; color: rgba(255, 255, 255, .88); line-height: 2; position: relative; z-index: 1; }
.doc-sub b { color: #fff; }
.doc-group { background: var(--white); border-radius: 16px; padding: 20px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.doc-group-title { font-size: 16px; font-weight: 800; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.doc-group-title::before { content: ""; width: 4px; height: 16px; background: var(--brand-grad); border-radius: 2px; }
.doc-group-desc { font-size: 12px; color: var(--text-3); margin-bottom: 13px; line-height: 1.8; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.doc-table th { text-align: left; color: var(--text-3); font-weight: 600; padding: 9px 10px; border-bottom: 1.5px solid var(--line); font-size: 12px; }
.doc-table td { padding: 9px 10px; border-bottom: 1px solid var(--hairline); }
.doc-table tr:hover td { background: #F8FAFF; }
.doc-table a { color: var(--brand); font-weight: 500; }
.doc-table a:hover { text-decoration: underline; }
.review-input { border: 1.5px dashed #C4C9D2; border-radius: 8px; min-width: 220px; min-height: 27px; transition: border-color .15s; }
.review-input:hover { border-color: rgba(46, 91, 255, .5); }
