/* 金鉴管家（ds版）· 品牌视觉样式（红金主题，手机优先响应式） */
:root {
  --red: #B01F24;
  --red-600: #9C1A1F;
  --red-700: #7E1518;
  --red-900: #5C0F12;
  --red-soft: #FCF1F1;
  --red-soft2: #F8E4E4;
  --gold: #C8A24A;
  --bg: #F3F4F7;
  --card: #FFFFFF;
  --text: #1B1F24;
  --muted: #7C828B;
  --line: #EDEFF3;
  --green: #14804A;
  --green-soft: #E8F6EE;
  --orange: #B8730A;
  --orange-soft: #FDF3E3;
  --danger: #C02525;
  --blue: #1B5FBF;
  --blue-soft: #EAF2FC;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 30, .04);
  --shadow: 0 4px 18px rgba(20, 24, 30, .06);
  --shadow-lg: 0 12px 36px rgba(20, 24, 30, .12);
  --grad-red: linear-gradient(135deg, #8E161A 0%, #B01F24 48%, #CB3B2E 100%);
  --grad-red-btn: linear-gradient(135deg, #C0282D 0%, #9A171B 100%);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #E7E9EE; color: var(--text); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
input, select, textarea, button { font-family: inherit; font-size: 15px; color: var(--text); }
img { max-width: 100%; }

/* ---------- 启动闪屏 ---------- */
.boot-splash { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100dvh; color: var(--muted); }
.boot-splash img { width: 150px; margin-bottom: 16px; }

/* =========================================================
   登录页
   ========================================================= */
#app.login-page {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 80% at 10% 0%, #C93A2E 0%, #A31C21 38%, #6E1114 100%);
  position: relative; overflow: hidden; padding: 24px 0;
}
#app.login-page::before,
#app.login-page::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
#app.login-page::before { width: 520px; height: 520px; top: -220px; right: -180px; }
#app.login-page::after { width: 420px; height: 420px; bottom: -200px; left: -160px; }
.login-card {
  position: relative; z-index: 1;
  width: min(90vw, 390px); background: #fff; border-radius: 26px;
  padding: 32px 26px 22px; text-align: center;
  box-shadow: 0 24px 70px rgba(60, 6, 8, .34), 0 2px 0 rgba(255, 255, 255, .6) inset;
}
.login-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.login-logo { width: 188px; max-width: 78%; margin-top: 2px; }
.login-title { font-size: 25px; margin: 14px 0 4px; letter-spacing: 5px; font-weight: 700; color: var(--red-700); }
.login-sub { color: var(--muted); font-size: 12.5px; margin: 0 0 22px; letter-spacing: .5px; }
.login-form { text-align: left; }
.login-err { color: var(--danger); font-size: 13px; min-height: 20px; margin-bottom: 6px; padding-left: 2px; }
.login-tip { color: #ADB3BC; font-size: 11.5px; margin: 18px 0 0; }
.login-foot { color: rgba(255, 255, 255, .62); font-size: 11.5px; margin-top: 22px; letter-spacing: 1px; text-align: center; position: relative; z-index: 1; }
.login-field { position: relative; margin-bottom: 12px; }
.login-field .input { height: 50px; border-radius: 13px; background: #F7F8FA; border: 1px solid transparent; padding-left: 44px; }
.login-field .input:focus { background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(176, 31, 36, .08); }
.login-field .licon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #A6ACB5; display: flex; }
.login-field:focus-within .licon { color: var(--red); }
.login-card .btn-primary { height: 50px; border-radius: 13px; font-size: 16px; letter-spacing: 4px; margin-top: 4px; }

/* =========================================================
   应用外壳
   ========================================================= */
#app.app-shell {
  max-width: 640px; margin: 0 auto; height: 100dvh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #F6F7F9 0%, var(--bg) 100%);
  box-shadow: 0 0 40px rgba(20, 24, 30, .07); position: relative;
}
.topbar {
  height: 56px; flex: 0 0 auto; display: flex; align-items: center; padding: 0 4px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); position: relative; z-index: 5;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, #D0523F 45%, rgba(176, 31, 36, 0) 100%);
  opacity: .55;
}
.topbar-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  max-width: calc(100% - 132px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 17px; font-weight: 700; letter-spacing: .5px; text-align: center; pointer-events: none;
}
.topbar-btn { width: 44px; height: 44px; border: none; background: none; display: flex; align-items: center; justify-content: center; color: var(--text); cursor: pointer; border-radius: 12px; }
.topbar-btn:active { background: #F2F3F5; }
.topbar-btn:disabled { opacity: 0; }
.topbar-left { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: flex-start; padding-left: 10px; position: relative; flex: 0 0 auto; }
.topbar-left .topbar-btn { position: absolute; left: 0; top: 0; padding-left: 0; }
.topbar-logo { height: 26px; width: auto; display: block; }
.view { flex: 1 1 auto; overflow-y: auto; padding: 12px 12px 30px; -webkit-overflow-scrolling: touch; }
.view.enter { animation: viewIn .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tabbar {
  flex: 0 0 auto; display: flex; background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0 4px; color: #9AA0A8; font-size: 10.5px; cursor: pointer; position: relative; border-radius: 12px; }
.tab .tab-ico { width: 38px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 10px; transition: background .18s, transform .18s; }
.tab.active { color: var(--red); font-weight: 600; }
.tab.active .tab-ico { background: var(--red-soft); transform: translateY(-1px); }
.tab-badge {
  position: absolute; top: 2px; left: calc(50% + 5px); background: var(--danger); color: #fff;
  font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; border-radius: 9px; padding: 0 4px;
  text-align: center; box-shadow: 0 2px 6px rgba(192, 37, 37, .4);
}

/* =========================================================
   通用组件
   ========================================================= */
.card { background: var(--card); border-radius: var(--radius); padding: 15px; margin-bottom: 11px; box-shadow: var(--shadow); }
.card-tight { padding: 11px 15px; }
.card-title { font-size: 15px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; letter-spacing: .2px; }
.card-title > span:first-child { position: relative; padding-left: 11px; }
.card-title > span:first-child::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; border-radius: 2px; background: var(--grad-red-btn);
}
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12.5px; }
.mt8 { margin-top: 8px; }
.mb0 { margin-bottom: 0; }
.flex { display: flex; align-items: center; }
.flex-1 { flex: 1; }
.gap8 { gap: 8px; }
.gap6 { gap: 6px; }
.space-between { justify-content: space-between; }
.text-right { text-align: right; }
.strong { font-weight: 600; }
.money-red { color: var(--red); font-weight: 700; }
.money-green { color: var(--green); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 17px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 500; cursor: pointer; background: #F1F2F5; color: var(--text);
  transition: transform .12s, opacity .15s, box-shadow .15s;
}
.btn:active { transform: scale(.985); opacity: .88; }
.btn:disabled { opacity: .5; }
.btn-primary { background: var(--grad-red-btn); color: #fff; box-shadow: 0 5px 14px rgba(176, 31, 36, .26); font-weight: 600; }
.btn-outline { background: #fff; border: 1.4px solid var(--red); color: var(--red); font-weight: 600; }
.btn-ghost { background: #F2F3F6; color: #4F555D; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 0 11px; font-size: 13px; border-radius: 9px; }
.btn-xs { min-height: 29px; padding: 0 9px; font-size: 12.5px; border-radius: 8px; }

/* 标签 */
.tag { display: inline-flex; align-items: center; font-size: 11.5px; padding: 2px 8px; border-radius: 7px; line-height: 18px; white-space: nowrap; font-weight: 500; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-orange { background: var(--orange-soft); color: var(--orange); }
.tag-red { background: #FCEBEB; color: var(--danger); }
.tag-gray { background: #F1F2F4; color: #6B7280; }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-redline { background: var(--red-soft); color: var(--red); }

/* 表单 */
.field { margin-bottom: 14px; }
.field-label { display: block; font-size: 12.5px; color: #5E656E; margin-bottom: 6px; font-weight: 500; }
.field-label .req { color: var(--danger); }
.input, input.input, select.input, textarea.input {
  width: 100%; height: 46px; border: 1px solid #E4E7EC; border-radius: 11px;
  padding: 0 13px; background: #FAFBFC; outline: none; appearance: none; transition: border-color .18s, box-shadow .18s, background .18s;
}
.input:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(176, 31, 36, .07); }
select.input {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A9099' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
textarea.input { height: auto; min-height: 76px; padding: 11px 13px; }
.form-row { display: flex; gap: 10px; }
.form-row .field { flex: 1; min-width: 0; }
.field-hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* 列表行 */
.row-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F3F4F7; }
.row-item:last-child { border-bottom: none; }
.list-card { background: #fff; border-radius: var(--radius); padding: 4px 15px; margin-bottom: 11px; box-shadow: var(--shadow); }

/* 学员卡片 */
.student-card { background: #fff; border-radius: var(--radius); padding: 14px 15px; margin-bottom: 10px; cursor: pointer; box-shadow: var(--shadow); transition: transform .14s, box-shadow .14s; }
.student-card:active { transform: scale(.994); box-shadow: var(--shadow-sm); }
.student-name { font-size: 15.5px; font-weight: 700; }
.student-meta { color: var(--muted); font-size: 12px; margin-top: 3px; }
.student-money { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.65; flex: 0 0 auto; }
.stu-avatar {
  width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: var(--red);
  background: linear-gradient(135deg, #FCEFEF 0%, #F6DCDC 100%);
  box-shadow: inset 0 0 0 1px rgba(176, 31, 36, .07);
}

/* 统计卡片 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 11px; }
.stats-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat-card {
  background: #fff; border-radius: 14px; padding: 13px 8px 12px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid #F4F5F8;
}
.stat-num { font-size: 16.5px; font-weight: 700; margin-top: 3px; letter-spacing: -.2px; }
.stat-label { font-size: 11.5px; color: var(--muted); }
.stat-num.red { color: var(--red); }
.stat-num.green { color: var(--green); }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 7px 5px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 9px 5px; border-bottom: 1px solid #F4F5F7; }
.table tr:last-child td { border-bottom: none; }
.table .num { text-align: right; }

/* 检索栏 */
.search-bar { display: flex; gap: 8px; margin-bottom: 10px; }
.search-box { flex: 1; position: relative; }
.search-box .input { padding-left: 38px; border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); height: 46px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9BA1AA; }
.filter-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-bottom: 9px; margin-bottom: 2px; }
.filter-row select { width: 100%; min-width: 0; height: 38px; font-size: 13px; padding: 0 26px 0 10px; border-radius: 10px; background-color: #fff; box-shadow: var(--shadow-sm); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 7px 15px; border-radius: 20px; background: #fff; color: #5A6068; font-size: 13px; border: 1px solid #E9EBEF; cursor: pointer; transition: all .16s; }
.chip.active { background: var(--grad-red-btn); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(176, 31, 36, .24); }

/* 操作行 / FAB */
.actions-row { display: flex; gap: 9px; }
.actions-row .btn { flex: 1; }
.fab {
  position: fixed; right: max(16px, calc(50vw - 320px + 16px)); bottom: calc(80px + env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%; background: var(--grad-red-btn); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(176, 31, 36, .38); cursor: pointer; z-index: 20;
}
.fab:active { transform: scale(.94); }

/* 弹窗 */
.mask { position: fixed; inset: 0; background: rgba(15, 18, 22, .5); z-index: 100; display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(2px); }
.modal { background: #fff; width: 100%; max-width: 640px; border-radius: 22px 22px 0 0; max-height: 90dvh; display: flex; flex-direction: column; animation: slideUp .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes slideUp { from { transform: translateY(46px); opacity: .55; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; padding: 16px 16px 10px; flex: 0 0 auto; position: relative; }
.modal-head::before {
  content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 2px; background: #E3E5E9;
}
.modal-title { flex: 1; font-size: 16.5px; font-weight: 700; padding-top: 6px; }
.modal-close { border: none; background: #F2F3F5; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-top: 6px; }
.modal-body { overflow-y: auto; padding: 4px 16px 14px; flex: 1 1 auto; }
.modal-foot { display: flex; gap: 10px; padding: 11px 16px calc(15px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: 0 0 auto; }
.modal-foot .btn { flex: 1; }
.confirm-msg { padding: 8px 4px 18px; font-size: 15px; line-height: 1.75; white-space: pre-wrap; }

/* 轻提示 */
.toast {
  position: fixed; top: 18px; left: 50%; transform: translate(-50%, -10px);
  background: rgba(30, 33, 38, .94); color: #fff; font-size: 13.5px; padding: 11px 17px;
  border-radius: 12px; z-index: 200; opacity: 0; pointer-events: none;
  transition: all .24s cubic-bezier(.2, .8, .2, 1); max-width: 86vw; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 空状态 */
.empty-box { text-align: center; color: var(--muted); padding: 46px 16px 40px; font-size: 14px; }
.empty-box::before {
  content: ""; display: block; width: 62px; height: 62px; margin: 0 auto 14px;
  background: url("/assets/logo-mark.png") center / contain no-repeat; opacity: .14; filter: grayscale(1);
}
.empty-box .sub { font-size: 12px; color: #B4B9C2; margin-top: 6px; }

/* 上传 */
.upload-field { display: flex; align-items: flex-start; gap: 10px; }
.upload-thumb {
  width: 96px; height: 96px; border: 1.5px dashed #D6DAE0; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #9AA0A8; font-size: 11.5px; gap: 4px; overflow: hidden; cursor: pointer; background: #FAFBFC;
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb.has { border-style: solid; border-color: var(--line); }

/* 凭证 */
.voucher-wrap { background: #fff; border-radius: var(--radius); padding: 11px; margin-bottom: 12px; box-shadow: var(--shadow); }
.voucher-canvas { width: 100%; display: block; border-radius: 10px; border: 1px solid var(--line); }
.voucher-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 6px 14px; }

/* 记录条目 */
.rec-item { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #F3F4F7; cursor: pointer; }
.rec-item:last-child { border-bottom: none; }
.rec-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rec-icon.pay { background: var(--red-soft); color: var(--red); }
.rec-icon.refund { background: var(--orange-soft); color: var(--orange); }
.rec-main { flex: 1; min-width: 0; }
.rec-title { font-size: 14px; }
.rec-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* 分段切换 */
.segmented { display: flex; background: #E9EBF0; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.segmented .seg { flex: 1; text-align: center; padding: 9px 0; font-size: 14px; border-radius: 9px; color: #5A6068; cursor: pointer; transition: all .16s; }
.segmented .seg.active { background: #fff; color: var(--red); font-weight: 700; box-shadow: 0 2px 8px rgba(20, 24, 30, .08); }

/* 后台管理 */
.admin-item { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid #F3F4F7; }
.admin-item:last-child { border-bottom: none; }
.admin-item .grow { flex: 1; min-width: 0; }
.sub-item { display: flex; align-items: center; gap: 8px; padding: 9px 0 9px 18px; border-bottom: 1px dashed #F1F2F5; }
.sub-item:last-child { border-bottom: none; }

/* 我的 */
.profile-card { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 56px; height: 56px; border-radius: 18px; background: var(--grad-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(176, 31, 36, .3);
}
.menu-item { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid #F3F4F7; cursor: pointer; color: var(--text); }
.menu-item:last-child { border-bottom: none; }
.menu-item > svg { color: var(--red); opacity: .82; }
.menu-item .menu-label { flex: 1; }
.menu-item .chev { color: #C9CDD3; }
.menu-item.danger, .menu-item.danger > svg { color: var(--danger); }

/* 详情 */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.detail-row { display: flex; padding: 7px 0; font-size: 14px; }
.detail-row .dl { color: var(--muted); width: 88px; flex: 0 0 auto; font-size: 13px; }
.detail-row .dv { flex: 1; word-break: break-all; }

/* 截图 */
.shot-thumb { max-width: 122px; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.shot-full { width: 100%; border-radius: 12px; }

/* =========================================================
   工作台 Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden; border-radius: 20px;
  padding: 20px 18px 16px; margin-bottom: 12px;
  background: var(--grad-red); color: #fff;
  box-shadow: 0 12px 30px rgba(126, 21, 24, .26);
}
.hero::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px;
  border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.hero::after {
  content: ""; position: absolute; width: 150px; height: 150px; right: -20px; bottom: -100px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
}
.hero-logo {
  position: absolute; right: 6px; top: 10px;
  width: 88px; opacity: .16; pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .1));
}
.hero-top { position: relative; display: flex; align-items: center; gap: 10px; padding-right: 84px; }
.hero-greeting { font-size: 17.5px; font-weight: 700; letter-spacing: .3px; }
.hero-role {
  font-size: 11px; padding: 2px 9px; border-radius: 20px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .26); white-space: nowrap;
}
.hero-sub { position: relative; font-size: 12px; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.hero-stats { position: relative; display: flex; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-stat { flex: 1; min-width: 0; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 12px; margin-left: 4px; }
.hs-num { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.hs-label { font-size: 11px; color: rgba(255, 255, 255, .72); margin-top: 2px; }

/* 待审批提醒 */
.pending-card {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; margin-bottom: 11px;
  border-radius: 14px; cursor: pointer; background: linear-gradient(135deg, #FFF8EC 0%, #FDEFD8 100%);
  border: 1px solid #F5E2C0; box-shadow: 0 3px 12px rgba(184, 115, 10, .08);
}
.pending-ico { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: #B8730A; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(184, 115, 10, .12); flex: 0 0 auto; }
.pending-txt { flex: 1; font-size: 14px; }
.pending-txt b { color: #A5620A; }
.pending-go { font-size: 12px; color: #B8730A; white-space: nowrap; }

/* 快捷操作宫格 */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 4px 12px; border-radius: 14px; background: #F8F9FB;
  cursor: pointer; position: relative; transition: background .16s, transform .12s;
  border: 1px solid #F1F2F6;
}
.tile:active { background: #F0F1F5; transform: scale(.98); }
.tile-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #FCEDED 0%, #F7DEDE 100%); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(176, 31, 36, .07);
}
.tile-label { font-size: 12.5px; font-weight: 500; }
.tile-sub { font-size: 10.5px; color: var(--muted); }

/* 组织架构 */
.org-toolbar { display: flex; gap: 9px; margin-bottom: 6px; }
.org-toolbar .btn { flex: 1; }
.org-hint { color: var(--muted); font-size: 12px; line-height: 1.7; padding: 0 4px 10px; }
.org-tree { padding-bottom: 20px; }
.org-row { display: flex; align-items: stretch; gap: 4px; }
.org-toggle {
  width: 26px; flex: 0 0 26px; border: none; background: none; color: #9AA0A8;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.org-toggle.hidden { visibility: hidden; }
.org-toggle svg { transition: transform .18s; }
.org-toggle.collapsed svg { transform: rotate(-90deg); }
.org-card {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 11px 11px 11px 12px;
  box-shadow: var(--shadow-sm); border: 1px solid #F1F2F6; margin-bottom: 8px; cursor: pointer;
}
.org-card:active { background: #FAFAFB; }
.org-avatar {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
}
.org-avatar.department { background: var(--blue-soft); color: var(--blue); }
.org-avatar.person { background: linear-gradient(135deg, #FCEFEF 0%, #F6DCDC 100%); color: var(--red); }
.org-main { flex: 1; min-width: 0; }
.org-name-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.org-name { font-weight: 700; font-size: 14.5px; }
.org-sub { color: var(--muted); font-size: 11.5px; margin-top: 2px; line-height: 1.45; white-space: normal; word-break: normal; overflow-wrap: break-word; }
.org-actions { display: flex; gap: 4px; flex: 0 0 auto; }
.org-act {
  width: 30px; height: 30px; border: none; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; background: #F4F5F7; color: #6B7280;
}
.org-act.add { background: var(--red-soft); color: var(--red); }
.org-act:active { opacity: .7; }
.org-children { margin-left: 15px; padding-left: 10px; border-left: 1.5px dashed #E2E5EA; }

/* 品牌页脚 */
.brand-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 26px 0 6px; color: #B3B8C0; font-size: 11px; letter-spacing: .6px; }
.brand-foot img { width: 20px; opacity: .35; filter: grayscale(.4); }

/* 桌面端 */
@media (min-width: 700px) {
  .mask { align-items: center; }
  .modal { border-radius: 20px; max-height: 84vh; }
  .view { padding: 16px 18px 32px; }
  .hero { padding: 22px 20px 18px; }
}
@media (max-width: 360px) {
  .stat-num { font-size: 14.5px; }
  .hero-logo { width: 100px; opacity: .13; }
}