/* 领秀电商管理系统 · 苹果风简约版 - 移动端优先 */
:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #86868b;
  --line: #e8e8ed;
  --primary: #3572e8;
  --primary-dark: #2b5ec7;
  --primary-light: #edf2fe;
  --danger: #ff3b30;
  --warn: #ff9500;
  --ok: #34c759;
  --ok-light: #e9f9ee;
  --warn-light: #fff3e0;
  --danger-light: #ffe9e7;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
#app { max-width: 520px; margin: 0 auto; min-height: 100%; padding-bottom: 84px; }
/* 移动端：内容区内部滚动，顶部栏与底部导航属于外壳，滚动时纹丝不动。
   不用 100dvh（微信内置浏览器支持不稳），改用 position:fixed 铺满 + 高度 100% 链。 */
@media (max-width: 1023px) {
  html, body { height: 100%; }
  body { margin: 0; }
  #app {
    position: fixed; inset: 0;
    max-width: none; margin: 0; padding-bottom: 0;
    display: flex; flex-direction: column; overflow: hidden;
  }
  #app > .layout { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  #app .content { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  #app .header { position: static; flex: none; }
  #app .main {
    flex: 1 1 auto; min-height: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  /* 底部导航：贴合屏幕底边，仅在其内部预留安全区（避免出现"悬空"间距） */
  #app .tabbar {
    position: static; transform: none; left: auto; bottom: auto;
    flex: none; width: 100%; max-width: none;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
  }
  /* 登录页 / 加载页不在 app 外壳内，需保持自身可滚动 */
  #app > .login-wrap, #app > .boot-loading { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  #app > .login-wrap { justify-content: flex-start; padding-top: calc(44px + env(safe-area-inset-top, 0px)); }
}
body.drawer-open { overflow: hidden; }
body.drawer-open #app .main { overflow: hidden; }
.boot-loading { text-align: center; padding: calc(120px + env(safe-area-inset-top, 0px)) 0 40px; color: var(--muted); }
.boot-logo { width: 76px; height: 76px; border-radius: 18px; display: block; margin: 0 auto 16px; box-shadow: 0 6px 18px rgba(46,100,188,.28); }
.boot-text { margin-top: 10px; font-size: 14px; letter-spacing: .5px; }
.boot-spinner {
  width: 26px; height: 26px; margin: 0 auto 14px;
  border: 2.5px solid var(--line); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 顶栏（苹果风毛玻璃） ===== */
.header {
  position: sticky; top: 0; z-index: 20;
  background: #fff;                 /* 纯白实底，不用半透明毛玻璃 */
  border-bottom: 1px solid var(--line);
  color: var(--text);
  /* 顶部安全区：兼容刘海屏 / 微信内置浏览器 / 添加到桌面（viewport-fit=cover） */
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
}
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.header-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hamburger {
  flex: none; width: 38px; height: 38px; margin-left: -6px;
  border: none; background: transparent; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 10px; padding: 0;
}
.hamburger:active { background: rgba(0,0,0,.05); }
.hamburger svg { width: 22px; height: 22px; }
.header .logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.header h1 { font-size: 16px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header .sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.bell { position: relative; font-size: 19px; cursor: pointer; padding: 4px 6px; }
.bell .dot {
  position: absolute; top: 0; right: 0; background: var(--danger); color: #fff;
  font-size: 10px; min-width: 16px; height: 16px; line-height: 16px;
  border-radius: 8px; text-align: center; padding: 0 3px; font-weight: 600;
}

/* ===== 底部导航（苹果风） ===== */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 520px; z-index: 30;
  background: #fff;                 /* 纯白实底 */
  border-top: 1px solid var(--line);
  display: flex; padding: 5px 0 max(6px, env(safe-area-inset-bottom));
}
.tabbar .tab {
  flex: 1; text-align: center; font-size: 10.5px; color: var(--muted);
  cursor: pointer; padding: 4px 0; transition: color .15s;
}
.tabbar .tab .ico { display: block; margin: 0 auto 2px; }
.tabbar .tab .ico svg { width: 23px; height: 23px; display: block; margin: 0 auto; }
.tabbar .tab.active { color: var(--primary); font-weight: 600; }

/* ===== 大数据柱状图（柱体与日期标签分层，不重叠） ===== */
.chart-head {
  display: flex; justify-content: space-between; font-size: 11px; color: var(--muted);
  margin: 4px 0 8px; padding: 0 2px;
}
.chart-plot {
  height: 150px; display: flex; align-items: flex-end; gap: 3px;
  border-bottom: 1px solid var(--line); padding: 0 2px;
}
.chart-col { flex: 1; max-width: 36px; height: 100%; display: flex; justify-content: center; }
.chart-stack {
  height: 100%; width: 100%; max-width: 30px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5px;
}
.chart-stack > div { width: 100%; border-radius: 2.5px 2.5px 0 0; min-height: 2px; }
.chart-days { display: flex; gap: 3px; padding: 0 2px; margin-top: 5px; }
.chart-day {
  flex: 1; max-width: 36px; text-align: center; font-size: 9.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden;
}
.chart-day.dim { visibility: hidden; }

/* ===== 添加到桌面引导 ===== */
.install-step {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 14px; line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.install-step:last-of-type { border-bottom: none; }
.step-no {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.install-btn { display: block; width: 100%; max-width: 340px; margin: 0 auto; }

/* ===== 通用卡片 ===== */
.main { padding: 14px 14px 24px; }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 15px; margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.card h3 .more { font-size: 12px; color: var(--primary); font-weight: 500; cursor: pointer; }
.section-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 6px 8px; letter-spacing: .3px; }

/* 统计网格 */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
/* 场次明细页筛选区：手机端每项独占一行，PC 端两列（grid 项需 min-width:0，否则日期输入框会把列撑爆） */
.detail-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.detail-filter .field { min-width: 0; }
@media (min-width: 1024px) { .detail-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; } }
/* 场次明细筛选操作行（紧跟在 .detail-filter 之后）：手机端各占一行，桌面端并排靠左 */
@media (min-width: 1024px) {
  .card .detail-filter + .btn-row { flex-wrap: nowrap; }
  .card .detail-filter + .btn-row > .btn { width: auto; flex: 0 0 auto; min-width: 220px; }
}
.stat { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.stat .label { font-size: 11.5px; color: var(--muted); }
.stat .value { font-size: 19px; font-weight: 700; margin-top: 4px; letter-spacing: -.3px; }
.stat .value.small { font-size: 15px; }
.stat.hl { background: var(--text); color: #fff; }
.stat.hl .label { color: rgba(255,255,255,.65); }
.money { color: #e8590c; }
.stat.hl .money { color: #ffb86b; }

/* 列表行 */
.row-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row-item:last-child { border-bottom: none; }
.rank-num { width: 24px; font-weight: 700; color: var(--muted); font-style: italic; }
.rank-num.r1 { color: #f5a623; } .rank-num.r2 { color: #9aa7bd; } .rank-num.r3 { color: #d38b5c; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 600; }
.row-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.row-right { text-align: right; flex-shrink: 0; }
.row-right .big { font-size: 15px; font-weight: 700; }
.row-right .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 徽章 */
.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.badge.ok { background: var(--ok-light); color: #1e9e4a; }
.badge.warn { background: var(--warn-light); color: #d97a00; }
.badge.gray { background: #f0f0f3; color: var(--muted); }
.badge.danger { background: var(--danger-light); color: var(--danger); }
.badge.blue { background: var(--primary-light); color: var(--primary); }
.badge.rank-A { background: var(--ok-light); color: #1e9e4a; font-weight: 700; }
.badge.rank-B { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.badge.rank-C { background: var(--warn-light); color: #d97a00; font-weight: 700; }
.badge.rank-D { background: var(--danger-light); color: var(--danger); font-weight: 700; }

/* 表单 */
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 12px; font-size: 15px; background: #f5f5f7; color: var(--text);
  outline: none; -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }
.field .tip { font-size: 12px; color: var(--muted); margin-top: 4px; }
.btn {
  width: 100%; border: none; border-radius: 12px; padding: 13px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  background: var(--primary); color: #fff;
}
.btn:active { background: var(--primary-dark); }
.btn.small { width: auto; padding: 7px 14px; font-size: 13px; border-radius: 9px; }
.btn.ghost { background: var(--primary-light); color: var(--primary); border: none; }
.btn.danger-btn { background: var(--danger); }
.btn.plain { background: #f0f0f3; color: var(--text); font-weight: 500; }
.btn.plain.danger-plain { background: rgba(255, 59, 48, .1); color: var(--danger); font-weight: 600; }
.btn.plain.danger-plain:active { background: rgba(255, 59, 48, .2); }
.btn:disabled { opacity: .45; }
.btn-row { display: flex; gap: 8px; }
/* 主操作大按钮：用于「录入资金」这类高频入口，置于页面顶部一眼可见 */
.btn-hero {
  width: 100%; border: none; border-radius: 14px; padding: 16px;
  font-size: 17px; font-weight: 700; cursor: pointer;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 16px rgba(53, 114, 232, .28);
  margin-bottom: 14px;
}
.btn-hero:active { background: var(--primary-dark); box-shadow: none; transform: translateY(1px); }
.btn-hero .hero-ico { font-size: 20px; line-height: 1; }

/* 头像 */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--primary-light); flex-shrink: 0; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-placeholder {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; flex-shrink: 0;
}
.avatar-placeholder.lg { width: 64px; height: 64px; font-size: 24px; }

/* 截图上传 */
.upload-box {
  border: 1.5px dashed #d2d2d7; border-radius: 12px; padding: 18px;
  text-align: center; color: var(--muted); font-size: 13px; cursor: pointer;
  background: #fafafa;
}
.upload-box img { max-width: 100%; max-height: 200px; border-radius: 8px; }
.screenshot-thumb { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; cursor: zoom-in; border: 1px solid var(--line); }
.screenshot-thumb:hover { opacity: .88; }

/* 进度条 */
.progress { height: 7px; background: #ececf0; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.progress .bar { height: 100%; background: var(--primary); border-radius: 4px; }
.progress .bar.done { background: var(--ok); }

/* 空状态 */
.empty { text-align: center; color: var(--muted); padding: 30px 0; font-size: 13px; }
.empty .ico { font-size: 34px; display: block; margin-bottom: 8px; opacity: .5; }

/* 登录页 */
.login-wrap {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(44px + env(safe-area-inset-top, 0px)) 30px calc(44px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
}
.login-logo { text-align: center; margin-bottom: 14px; }
.login-logo img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 30px rgba(53,114,232,.25); }
.login-title { text-align: center; font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.login-sub-title { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0 26px; letter-spacing: 2px; }
.login-card { width: 100%; background: #fff; border-radius: 20px; padding: 26px 20px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.login-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.7; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 50;
  display: flex; align-items: flex-end; justify-content: center;
}
.modal {
  background: #fff; width: 100%; max-width: 520px;
  border-radius: 18px 18px 0 0; padding: 18px 16px 28px;
  max-height: 86vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 14px; font-size: 16px; font-weight: 700; }
.modal-center { align-items: center; padding: 26px; }
.modal-center .modal { border-radius: 18px; }
/* 图片查看器：深色底 + 可缩放 */
.img-wrap {
  max-height: 66vh; overflow: auto; -webkit-overflow-scrolling: touch;
  background: #111; border-radius: 12px; padding: 6px;
  display: flex; align-items: flex-start; justify-content: center;
}
.img-wrap .img-preview {
  max-width: 100%; width: auto; height: auto; border-radius: 8px;
  display: block; cursor: zoom-in;
}
.img-wrap.zoom { display: block; text-align: center; }
.img-wrap.zoom .img-preview { max-width: none; width: auto; cursor: zoom-out; }

/* 截图查看浮层：独立于弹窗之上，关闭后原弹窗仍在 */
.img-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .82);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.img-overlay .img-box {
  width: 100%; max-width: 880px; max-height: 92vh;
  background: #1c1c1e; border-radius: 16px; padding: 12px 12px 14px;
  display: flex; flex-direction: column; overflow: hidden;
}
.img-overlay .img-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 15px; font-weight: 600; padding: 2px 2px 10px;
}
.img-overlay .img-close {
  border: none; background: rgba(255, 255, 255, .16); color: #fff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  font-size: 13px; line-height: 1; padding: 0;
}
.img-overlay .img-wrap { max-height: 56vh; }
.img-overlay .img-tip { color: #b9bec8; font-size: 12px; line-height: 1.6; margin-top: 9px; }
.img-overlay .img-acts { display: flex; gap: 8px; margin-top: 10px; }
.img-overlay .img-acts .btn { flex: 1; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; margin: 0; }
.img-overlay .img-acts .btn:active { background: rgba(255, 255, 255, .26); }

/* 分段控件（苹果风） */
.seg { display: flex; background: rgba(118,118,128,.12); border-radius: 10px; padding: 2.5px; margin-bottom: 14px; }
.seg .seg-item { flex: 1; text-align: center; padding: 7px 0; font-size: 13px; color: var(--text); border-radius: 8px; cursor: pointer; font-weight: 500; }
.seg .seg-item.active { background: #fff; font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.1); }

/* 横向滚动表格 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.mini-table th { color: var(--muted); font-weight: 500; text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
.mini-table tr:last-child td { border-bottom: none; }
.mini-table .act { color: var(--primary); font-weight: 500; cursor: pointer; }
.mini-table tfoot td { border-top: 1px solid var(--line); border-bottom: none; font-weight: 600; }

/* ---------- 账号管理 · 列表双版式 ----------
   手机端（<1024px）用 .acc-list-m 的卡片行；电脑端（≥1024px）用 .acc-list-pc 的表格。
   两套标记同时输出，仅由 CSS 切换显示，避免 JS 里判断断点 */
.acc-list-pc { display: none; }
/* 账号管理页容器：手机端普通块级；电脑端见下方媒体查询（管理卡通栏，账号列表通栏） */
.acc-page { display: block; }
.acc-table { font-size: 13px; }
.acc-table th, .acc-table td { white-space: nowrap; }
.acc-table th.num, .acc-table td.num { text-align: right; }
.acc-table td:last-child, .acc-table th:last-child { width: 42px; padding-right: 0; text-align: right; }
.acc-table .acc-name { font-weight: 600; color: var(--text); }
.acc-table td .money { font-weight: 700; }
.acc-table td .dim { color: #c3c7d0; }
.acc-table th, .acc-table td { padding-right: 8px; }
/* 营业执照列允许折行（宽屏一行显示全，窄屏折两行而不是被截断）；剩余宽度按内容比例分配，避免「法人」被推得太远 */
.acc-table .acc-lic { white-space: normal; }
.acc-table tbody tr:hover td { background: #f7f9fc; }
.acc-table tbody tr:hover td:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.acc-table tbody tr:hover td:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.acc-table td:first-child, .acc-table th:first-child { padding-left: 8px; }

/* 账号列表排序控件（手机端 / 电脑端共用；电脑端表头也可点击排序） */
.acc-sortbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 10px; }
.acc-sortbar-t { flex: none; font-size: 13px; color: var(--muted); }
.acc-sortbar select {
  flex: 1 1 120px; min-width: 0; max-width: 260px; width: auto;
  border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px;
  font-size: 14px; background: #f5f5f7; color: var(--text);
  outline: none; -webkit-appearance: none; appearance: none;
}
.acc-sortbar select:focus { border-color: var(--primary); background: #fff; }
.acc-sortbar .btn { flex: 0 0 auto; width: auto; white-space: nowrap; padding: 10px 14px; font-size: 14px; }
.acc-table th.acc-sortable { cursor: pointer; -webkit-user-select: none; user-select: none; }
.acc-table th.acc-sortable:hover { color: var(--primary); }
.acc-table th.acc-sortable.on { color: var(--primary); font-weight: 600; }
.acc-table th.acc-sortable .acc-arrow { margin-left: 3px; font-size: 11px; opacity: .4; }
.acc-table th.acc-sortable.on .acc-arrow { opacity: 1; }

/* ---------- 列表交互与可点区域的可用性优化 ---------- */

/* 表格内的行内操作（改 / 删除 / 编辑）：原来只有 13x17px，手指很容易点错，改为小药丸按钮 */
.mini-table td .more, .mini-table td .act {
  display: inline-block; padding: 6px 10px; border-radius: 8px; min-width: 34px;
  font-size: 12.5px; line-height: 1.35; font-weight: 600; text-align: center;
  background: #f0f0f3; color: var(--primary);
}
.mini-table td .more:active, .mini-table td .act:active { background: var(--primary-light); }

/* 分页控件（操作日志等长列表） */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 0 10px; }
.pager-info { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pager .btn.small { width: auto; }
.pager .btn[disabled] { opacity: .4; }

/* 「我的」页底部动作区：手机端通栏；电脑端限宽居中，避免出现 1000px+ 的超宽按钮 */
.me-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

@media (max-width: 1023px) {
  /* 窄屏日期输入更紧凑，避免 yyyy/mm/dd 被截断 */
  input[type="date"] { padding-left: 9px; padding-right: 9px; font-size: 14px; }
}
@media (min-width: 1024px) {
  .me-actions { max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* 通知 */
.notif { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: none; }
.notif .n-ico { font-size: 19px; }
.notif .n-title { font-size: 14px; font-weight: 600; }
.notif .n-body { font-size: 13px; color: var(--muted); margin-top: 2px; }
.notif.unread .n-title::after { content: "•"; color: var(--danger); margin-left: 4px; }
.notif .n-time { font-size: 11px; color: var(--muted); margin-top: 3px; }
.notif-list { max-height: 58vh; overflow-y: auto; margin: 0 -2px; padding: 0 2px; }
.notif-del {
  flex: 0 0 auto; align-self: flex-start; width: 26px; height: 26px; margin-top: 1px;
  border: none; border-radius: 50%; cursor: pointer; padding: 0; line-height: 1;
  background: rgba(0, 0, 0, .06); color: var(--muted);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.notif-del:active { background: rgba(255, 59, 48, .16); color: var(--danger); }

/* Toast */
#toast {
  position: fixed; top: 14%; left: 50%; transform: translateX(-50%);
  background: rgba(29,29,31,.9); color: #fff; padding: 11px 22px;
  border-radius: 12px; font-size: 14px; z-index: 99; max-width: 82%;
  text-align: center; display: none;
}
.formula-note { font-size: 12px; color: var(--muted); line-height: 1.7; background: #f5f5f7; border-radius: 11px; padding: 10px 12px; margin-top: 10px; }
.chip { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 11px; padding: 2px 8px; border-radius: 9px; margin-left: 6px; vertical-align: middle; }
.alert-card { background: #fff5f5; border: 1px solid #ffd9d6; }
.alert-card .row-title { color: #d70015; }


/* ================= 侧边抽屉（移动端） ================= */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 264px; z-index: 61;
  background: #fff; transform: translateX(-102%);
  transition: transform .28s cubic-bezier(.32,.72,0,1);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 26px rgba(0,0,0,.14);
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.show { transform: translateX(0); }
.drawer-head {
  padding: calc(20px + env(safe-area-inset-top, 0px)) 18px 16px;
  background: linear-gradient(140deg, #3572e8, #2b5ec7);
  color: #fff;
}
.drawer-head .d-logo {
  width: 46px; height: 46px; border-radius: 13px; object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); margin-bottom: 10px;
}
.drawer-head .d-name { font-size: 17px; font-weight: 700; letter-spacing: .3px; }
.drawer-head .d-role { font-size: 12px; opacity: .82; margin-top: 3px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 10px 10px 16px; }
.drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: 11px; cursor: pointer;
  font-size: 15px; color: var(--text); margin-bottom: 2px;
}
.drawer-item:active { background: #f2f2f5; }
.drawer-item .di-ico { width: 22px; height: 22px; flex: none; color: var(--muted); }
.drawer-item .di-ico svg { width: 22px; height: 22px; display: block; }
.drawer-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.drawer-item.active .di-ico { color: var(--primary); }
.drawer-item .di-name { flex: 1; }
.drawer-divider { height: 1px; background: var(--line); margin: 8px 12px; }
.drawer-foot { padding: 12px 18px 18px; border-top: 1px solid var(--line); }
.drawer-foot .d-out {
  display: flex; align-items: center; gap: 10px; color: var(--danger);
  font-size: 15px; cursor: pointer; padding: 8px 0;
}
.drawer-foot .d-out svg { width: 20px; height: 20px; }

/* ================= 电脑版（≥1024px） ================= */
.sidebar { display: none; }
@media (min-width: 1024px) {
  body { background: #eef0f4; }
  #app { max-width: none; margin: 0; padding-bottom: 0; }
  .tabbar { display: none !important; }
  .hamburger { display: none !important; }

  .layout { display: flex; min-height: 100vh; align-items: flex-start; }

  .sidebar {
    display: flex; flex-direction: column;
    width: 236px; flex: none; align-self: flex-start;
    height: 100vh; position: sticky; top: 0;
    background: #fff; border-right: 1px solid var(--line);
    padding: 22px 12px 14px;
  }
  .sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 20px; }
  .sidebar-brand img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
  .sidebar-brand .b-name { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
  .sidebar-brand .b-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
  .sidebar-nav { flex: 1; overflow-y: auto; }
  .sidebar-item {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: 10px; cursor: pointer;
    font-size: 14px; color: #4a4a52; margin-bottom: 2px;
  }
  .sidebar-item:hover { background: #f3f4f7; }
  .sidebar-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
  .sidebar-item .di-ico, .sidebar-item .di-ico svg { width: 20px; height: 20px; display: block; flex: none; }
  .sidebar-item .di-ico { color: var(--muted); }
  .sidebar-item.active .di-ico { color: var(--primary); }
  .sidebar-foot { border-top: 1px solid var(--line); padding-top: 10px; }
  .sidebar-foot .d-out {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    color: var(--danger); font-size: 14px; cursor: pointer; border-radius: 10px;
  }
  .sidebar-foot .d-out:hover { background: #fff1f0; }
  .sidebar-foot .d-out svg { width: 19px; height: 19px; }

  .content { flex: 1; min-width: 0; }
  .header { padding: 14px 32px; }
  .header h1 { font-size: 18px; }
  .main { padding: 24px 32px 40px; max-width: 1120px; margin: 0 auto; }
  /* 顶栏内容与主区左右对齐 */
  .header-row { max-width: 1120px; margin: 0 auto; }
  /* 单行表单控件不要拉太长（卡片内的独立字段） */
  .card > .field input, .card > .field select, .card > .field textarea { max-width: 520px; }
  /* 整页由多张卡片组成时（且没有分段控件 / 统计网格 / 宽表格 / 筛选区等结构性元素），
     电脑端自动排成两列——避免出现"移动端被放大"的单列超宽观感。
     含 .detail-filter（如场次明细）的页面必须单列通栏，否则筛选区会被二次挤压 */
  .main:has(> .card + .card):not(:has(> .seg, > .grid2, > .grid3, > .grid4,
      > .btn-hero, > .dash-cols, > .cols-3, > .table-scroll, > .alert-card, .detail-filter, .cost-list)) {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 18px; align-items: start;
  }
  .main:has(> .card + .card):not(:has(> .seg, > .grid2, > .grid3, > .grid4,
      > .btn-hero, > .dash-cols, > .cols-3, > .table-scroll, > .alert-card, .detail-filter, .cost-list)) > .card { margin-bottom: 0; }
  /* 卡片以外的东西（按钮、说明文字等）占满整行 */
  .main:has(> .card + .card):not(:has(> .seg, > .grid2, > .grid3, > .grid4,
      > .btn-hero, > .dash-cols, > .cols-3, > .table-scroll, > .alert-card, .detail-filter, .cost-list)) > *:not(.card) { grid-column: 1 / -1; }

  /* 电脑端多列布局 */
  .grid2 { gap: 16px; }
  .grid3 { gap: 14px; }
  .grid4 { gap: 14px; }
  .card { padding: 20px; margin-bottom: 18px; }
  .card h3 { font-size: 16px; }
  .stat { padding: 17px 18px; }
  .stat .value { font-size: 27px; }
  .stat .value.small { font-size: 21px; }
  .stat .label { font-size: 12.5px; }
  .dash-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
  .dash-cols.single { grid-template-columns: 1fr; }
  .cols-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: start; }
  .modal-mask { align-items: center; }
  .modal { max-width: 660px; border-radius: 18px; }
  /* 登录页：电脑端整体放大，避免"宽屏里一小条" */
  .login-wrap { padding: 48px 30px; }
  .login-logo { margin-bottom: 18px; }
  .login-logo img { width: 104px; height: 104px; border-radius: 26px; }
  .login-title { font-size: 27px; letter-spacing: 1px; }
  .login-sub-title { font-size: 13.5px; margin: 8px 0 30px; letter-spacing: 3px; }
  .login-card { width: 100%; max-width: 460px; margin: 0 auto; padding: 34px 32px; border-radius: 22px; }
  .login-card .field label { font-size: 13px; margin-bottom: 6px; }
  .login-card .field input { padding: 13px 14px; font-size: 16px; }
  .login-card .btn { padding: 15px; font-size: 17px; }
  .login-card .field { margin-bottom: 16px; }
  .install-btn { max-width: 460px; margin-top: 14px; }
  .login-foot { font-size: 12.5px; margin-top: 20px; }
  .table-scroll { overflow-x: visible; }
  /* 账号管理：电脑端切到表格版式 */
  .acc-list-m { display: none; }
  .acc-list-pc { display: block; }
  /* 账号管理页电脑端网格：管理卡通栏在上，账号列表通栏在下（资金入口卡已移除）。
     用显式网格定位，DOM 顺序不必改动（手机端仍是纵向顺序：管理 → 列表） */
  .acc-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px; align-items: start; }
  .acc-page > .card { margin-bottom: 0; }
  .acc-page > .card:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  .acc-page > .card:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .chart-plot { height: 210px; }
  .chart-col, .chart-day { max-width: 52px; }
}
@media (min-width: 1440px) {
  .main, .header-row { max-width: 1260px; }
}
@media (min-width: 1800px) {
  .main, .header-row { max-width: 1440px; }
}


/* ---------- 时长自动核算提示（审核 / 编辑 / 申请弹窗共用） ---------- */
.dur-hint {
  font-size: 12px; line-height: 1.65; color: #6b7280;
  background: #f5f7fa; border: 1px solid var(--line, #e8ecf3); border-radius: 10px;
  padding: 9px 11px; margin: 0 0 12px;
}
.dur-hint.on { color: var(--primary, #3572e8); background: #eef4ff; border-color: #d6e4ff; font-weight: 600; }
.dur-hint.warn { color: #b42318; background: #fff2f0; border-color: #ffd3cc; font-weight: 700; }
#sb-hours[readonly] { background: #f5f7fa; color: #1d4ed8; font-weight: 700; }
/* 自动计算的时长字段（只读态） */
#rv-hours[readonly], #rs-hours[readonly], #er-hours[readonly] { background: #f5f7fa; color: #4b5563; font-weight: 700; }


/* ---------- 初始密码提醒条 ---------- */
.pwd-banner {
  flex: none; display: flex; align-items: center; gap: 10px;
  background: #fff8e6; border-bottom: 1px solid #ffe2a8;
  padding: 10px 16px; color: #8a5a00;
}
.pwd-banner .pb-ico { font-size: 17px; line-height: 1; }
.pwd-banner .pb-main { flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; }
.pwd-banner .pb-sub { font-size: 11.5px; color: #a9791f; margin-top: 1px; }
.pwd-banner .pb-btn {
  flex: none; border: none; border-radius: 9px; padding: 7px 13px;
  background: #f0a500; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}
.pwd-banner .pb-btn:active { background: #d99300; }
.pwd-card-hl { border: 1.5px solid #f0a500; box-shadow: 0 3px 12px rgba(240,165,0,.18); }
.pwd-card-hl h3 { color: #a9791f; }

/* ---------- 月度经营报表 ---------- */
/* 用一层包裹容器，避免命中「顶层多张 card 自动两列」的规则，保持单列通栏 */
.biz-wrap { display: block; }
.rpt-status { font-size: 13px; color: var(--muted); padding: 11px 0; }
.rpt-sum {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px dashed var(--line); margin-top: 2px; padding-top: 11px;
  font-size: 13px; color: var(--muted);
}
.rpt-sum b { font-size: 18px; color: var(--text); }
.rpt-profit-card { border: 1.5px solid #d9e6ff; background: #f8fbff; }
.rpt-profit { font-size: 34px; font-weight: 800; letter-spacing: -.6px; color: #1e9e4a; margin: 4px 0 2px; }
.rpt-profit.neg { color: var(--danger); }
.money-neg { color: var(--danger); }
.rpt-hist { cursor: pointer; }
.rpt-hist:hover { background: #fafbfd; }

/* ---------- 月度经营报表：两级支出分类 + 支出占比饼图 ---------- */
.rpt-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
.rpt-group-head h3 { margin: 0; flex: 0 1 auto; }
.rpt-group-head .g-sum { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.rpt-group-head .g-sum b { font-size: 16px; color: var(--text); font-weight: 700; margin-left: 2px; }
.rpt-in[readonly] { background: #f4f6fa; color: var(--muted); }
.rpt-link { color: var(--primary); cursor: pointer; }
.rpt-net { font-size: 23px; font-weight: 800; letter-spacing: -.4px; color: #1e9e4a; padding: 9px 0 3px; }
.rpt-net.neg { color: var(--danger); }
.rpt-pie-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
/* 产品类型卡：标题与饼图之间留一点；并与上方区块保持统一间距（原来会紧贴前一个 grid3） */
.ptype-card { margin-top: 18px; }
.ptype-card h3 { margin-bottom: 16px; }
.rpt-pie-box { flex: none; width: 188px; height: 188px; }
.rpt-donut { width: 100%; height: 100%; display: block; }
.rpt-donut-lbl { font-size: 11px; fill: var(--muted); }
.rpt-donut-val { font-size: 16px; font-weight: 700; fill: var(--text); }
.rpt-legend { flex: 1; min-width: 210px; }
.lg-row {
  display: flex; align-items: center; gap: 9px; padding: 8px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px;
}
.lg-row:last-child { border-bottom: none; }
.lg-row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lg-row .lg-name { flex: 1; color: var(--text); min-width: 0; }
.lg-row b { font-weight: 600; white-space: nowrap; }
.lg-row em { font-style: normal; color: var(--muted); width: 54px; text-align: right; flex: none; }
/* 产品类型色点（报表 / 看板的分类统计行） */
.pt-dot { width: 12px; height: 12px; border-radius: 3px; flex: none; margin-right: 8px; display: block; }
@media (max-width: 1023px) {
  .rpt-pie-wrap { gap: 16px; }
  .rpt-pie-box { width: 152px; height: 152px; margin: 0 auto; }
  .rpt-legend { min-width: 100%; }
}
@media (min-width: 1024px) {
  .rpt-profit { font-size: 42px; }
  .rpt-profit-card { padding: 24px; }
}

/* ---------- 审核记录列表（紧凑行，取代「一条一张卡」） ---------- */
.card.rev-list { padding: 6px 15px; }
.rev-row { cursor: pointer; }
.rev-row:hover { background: #fafbfd; }
.rev-date { font-size: 12px; color: var(--muted); font-weight: 500; }
.rev-side { flex: none; text-align: right; min-width: 88px; }
.rev-side .big { font-size: 17px; font-weight: 700; }
.rev-side .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rev-act { flex: none; display: flex; gap: 6px; }
.rev-act .btn.small { width: auto; padding: 6px 12px; font-size: 12.5px; border-radius: 8px; white-space: nowrap; }
.btn.ok-btn { background: var(--ok); }
.btn.ok-btn:active { background: #2aa84a; }
@media (max-width: 1023px) {
  .rev-row { flex-wrap: wrap; }
  /* 按钮整行占位并右对齐，避免和金额挤在同一行 */
  .rev-act { flex: 1 0 100%; justify-content: flex-end; margin-top: 8px; }
}
@media (min-width: 1024px) {
  .card.rev-list { padding: 8px 20px; }
  .rev-row {
    display: grid; grid-template-columns: minmax(0, 1fr) 110px auto;
    column-gap: 20px; align-items: center; padding: 13px 0;
  }
  .rev-row .row-main { min-width: 0; }
}
@media (min-width: 1024px) { .pwd-banner { padding: 11px 32px; } }
/* ---------- 可下钻统计卡（点一下看每日明细） ---------- */
.stat.click { position: relative; cursor: pointer; }
.stat.click:active { transform: scale(.985); }
.stat.click .drill {
  position: absolute; top: 9px; right: 10px;
  font-size: 10.5px; font-weight: 600; color: var(--primary);
  background: rgba(10,122,254,.10); border-radius: 20px; padding: 1px 7px;
}
.stat.hl.click .drill { color: #ffb86b; background: rgba(255,184,107,.16); }

/* ---------- 销售数据趋势（每日销售额折线） ---------- */
.trend-box { margin: 12px 0 0; }
.trend-svg { width: 100%; height: auto; display: block; }
.trend-x {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--muted); margin-top: 4px; padding: 0 4px;
}
.trend-legend {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--muted); margin-top: 8px;
}
.trend-legend i {
  display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  margin-right: 5px; vertical-align: -1px;
}
.daily-sum-row td { font-weight: 700; border-top: 2px solid var(--line); }

/* ================= 菜单一二级分组 ================= */
.nav-group {
  font-size: 11.5px; color: var(--muted); font-weight: 600;
  letter-spacing: .4px; padding: 12px 14px 5px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none;
}
.nav-group .ng-arrow { font-size: 10px; opacity: .55; transition: transform .18s ease; }
.nav-group.collapsed .ng-arrow { transform: rotate(-90deg); }
.nav-sub-wrap.collapsed { display: none; }
/* 权限管理：角色菜单勾选 */
.perm-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 14px; }
.perm-item { display: flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: var(--card, #fff); }
.perm-item input { width: 16px; height: 16px; margin: 0; }
.perm-item em { font-style: normal; font-size: 11px; color: var(--muted); }
.perm-item.locked { opacity: .7; cursor: default; }
.perm-item input:disabled { opacity: .55; }
/* 可折叠区块（场次明细查询板块等） */
.collapsible.collapsed { display: none; }
.drawer-item.sub { padding-left: 24px; font-size: 14.5px; }
.sidebar-item.sub { padding-left: 24px; }

/* ================= 每日概况：成本清单 ================= */
.cost-list { margin-bottom: 14px; }
.cost-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.cost-row:last-child { border-bottom: none; }
.cost-row .cost-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.cost-row .cost-name .cost-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 1px 7px; border-radius: 20px; margin-left: 8px; vertical-align: 1px;
}
.cost-tag.auto { background: rgba(118,118,128,.14); color: var(--muted); }
.cost-tag.manual { background: #fff3e0; color: #c26a00; }
.cost-row .cost-tip { font-size: 11.5px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.cost-row .cost-val { flex: none; width: 150px; font-size: 15px; font-weight: 600; text-align: right; padding-top: 8px; }
.cost-row .cost-val input {
  width: 100%; border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 12px; font-size: 15px; background: #f5f5f7; color: var(--text);
  outline: none; text-align: right; -webkit-appearance: none; appearance: none;
}
.cost-row .cost-val input:focus { border-color: var(--primary); background: #fff; }
.cost-row.total { border-top: 1px solid var(--line); border-bottom: none; padding-top: 13px; }
.cost-row.total .cost-name { font-weight: 700; font-size: 14.5px; }
.cost-row.total .cost-val { font-size: 16px; font-weight: 700; padding-top: 0; color: #e8590c; }
@media (max-width: 519px) {
  .cost-row { gap: 10px; }
  .cost-row .cost-val { width: 118px; }
}

/* ================= 面试管理（v114） ================= */
.nav-badge {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 9px; line-height: 1;
}
.iv-banner {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  margin: 0 0 10px; padding: 12px 14px; border-radius: 14px;
  background: #fff7e6; border: 1px solid #ffe0a3;
}
.iv-banner .ivb-ico { font-size: 20px; flex: none; }
.iv-banner .ivb-main { flex: 1 1 auto; min-width: 0; }
.iv-banner .ivb-main b { font-size: 14px; color: #8a5200; display: block; }
.iv-banner .ivb-sub { font-size: 12px; color: #a97a2a; margin-top: 2px; }
.iv-banner .ivb-go { flex: none; font-size: 12.5px; color: #b26b00; font-weight: 600; }

.iv-due-card { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 14px; border: 1px solid #ffd9d5; }
.iv-due-t { font-size: 14px; font-weight: 700; color: var(--danger); margin-bottom: 8px; }
.iv-due-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 13.5px; }
.iv-due-row:first-child { border-top: none; }
.iv-due-n { font-weight: 600; flex: none; }
.iv-due-p { color: var(--muted); flex: none; }
.iv-due-tm { color: var(--danger); margin-left: auto; flex: none; font-size: 12.5px; }
.iv-due-go { color: var(--primary); flex: none; font-size: 12.5px; }

.iv-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.iv-f-item { display: flex; flex-direction: column; gap: 4px; }
.iv-f-item label { font-size: 11.5px; color: var(--muted); }
.iv-f-item select, .iv-f-item input { height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; min-width: 104px; }
.iv-f-item.iv-f-kw { flex: 1 1 160px; min-width: 0; }
.iv-f-item.iv-f-kw input { width: 100%; min-width: 0; }

.iv-list { margin-top: 4px; }
.iv-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.iv-row:last-child { border-bottom: none; }
.iv-row.overdue { background: #fffafa; margin: 0 -6px; padding-left: 6px; padding-right: 6px; border-radius: 10px; }
.iv-ava { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.iv-main { flex: 1 1 auto; min-width: 0; }
.iv-line1 { display: flex; align-items: center; gap: 6px; font-size: 14.5px; flex-wrap: wrap; }
.iv-line2 { font-size: 12.5px; color: #4a4a4f; margin-top: 3px; }
.iv-line3 { font-size: 12px; color: var(--muted); margin-top: 2px; }
.iv-line3 a { color: var(--primary); text-decoration: none; }
.iv-imp { font-size: 12.5px; color: #4a4a4f; margin-top: 4px; background: #f7f7f9; border-radius: 8px; padding: 5px 8px; line-height: 1.5; }
.iv-plan { font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.iv-right { flex: none; font-size: 12.5px; color: var(--primary); }

.iv-info { background: #f7f7f9; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.iv-info-row { display: flex; gap: 10px; font-size: 13px; padding: 3px 0; }
.iv-info-row span { color: var(--muted); flex: none; width: 76px; }
.iv-info-row b { font-weight: 500; word-break: break-all; }
.iv-info-row a { color: var(--primary); text-decoration: none; }
.iv-fit-box { display: flex; gap: 8px; }
.iv-fit-btn { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--text); cursor: pointer; }
.iv-fit-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.iv-switch-row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; color: var(--text); }
.iv-switch-row input { width: 18px; height: 18px; }

.qr-box { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; }
.qr-box canvas, .qr-box img { display: block; max-width: 100%; }
.qr-url { margin-top: 8px; font-size: 11.5px; color: var(--muted); word-break: break-all; text-align: center; }

/* ---------- 免登录填报页 ---------- */
body.apply-body #app {
  position: static; inset: auto; max-width: 560px; height: auto; min-height: 100%;
  display: block; overflow: visible; padding: 0 0 40px; background: var(--bg);
}
.apply-wrap { padding: 18px 14px 0; }
.apply-head { text-align: center; padding: 22px 0 18px; }
.apply-logo { width: 62px; height: 62px; border-radius: 16px; display: block; margin: 0 auto 10px; box-shadow: 0 6px 16px rgba(46,100,188,.2); }
.apply-brand { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }
.apply-title { font-size: 23px; font-weight: 700; margin-top: 6px; letter-spacing: -.4px; }
.apply-sub { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.apply-card { background: #fff; border-radius: 18px; padding: 18px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.apply-field { margin-bottom: 14px; }
.apply-field > label { display: block; font-size: 13px; font-weight: 600; color: #3a3a3f; margin-bottom: 6px; }
.apply-field > label i { color: var(--danger); font-style: normal; }
.apply-field input, .apply-field select, .apply-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px;
  font-size: 16px; background: #fafafc; color: var(--text); font-family: inherit; outline: none;
}
.apply-field textarea { resize: vertical; line-height: 1.55; }
.apply-field input:focus, .apply-field select:focus, .apply-field textarea:focus { border-color: var(--primary); background: #fff; }
.apply-row2 { display: flex; gap: 10px; }
.apply-row2 .apply-field { flex: 1; min-width: 0; }
.apply-exp { display: flex; gap: 10px; }
.apply-exp-btn {
  flex: 1; text-align: center; padding: 12px 0; border-radius: 12px; border: 1px solid var(--line);
  background: #fafafc; font-size: 14.5px; color: var(--text); cursor: pointer;
}
.apply-exp-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.apply-submit {
  width: 100%; height: 50px; margin-top: 6px; border: none; border-radius: 14px;
  background: var(--primary); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; box-shadow: 0 6px 16px rgba(53,114,232,.28);
}
.apply-submit:active { transform: translateY(1px); }
.apply-submit[disabled] { opacity: .6; }
.apply-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.apply-foot { text-align: center; font-size: 11.5px; color: #b0b0b6; padding: 20px 0 6px; }
.apply-done { text-align: center; padding: 34px 18px 28px; }
.apply-ok { width: 62px; height: 62px; line-height: 62px; border-radius: 50%; margin: 0 auto 16px; background: var(--ok-light); color: #1e9e4a; font-size: 30px; font-weight: 700; }
.apply-done-t { font-size: 20px; font-weight: 700; }
.apply-done-s { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.apply-done-logo { width: 44px; height: 44px; border-radius: 12px; margin-top: 22px; opacity: .85; }

.iv-page .grid3 { max-width: 560px; }
@media (min-width: 1024px) {
  .iv-page .iv-row { padding: 13px 0; }
  .iv-page .iv-main { max-width: none; }
}

/* 勾选框：.field input 统一 appearance:none，checkbox 需单独恢复原生外观 */
.field input[type="checkbox"], .iv-switch-row input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto;
  width: 18px; height: 18px; min-width: 18px; padding: 0;
  border: none; background: none; border-radius: 4px;
  accent-color: var(--primary); flex: none; margin: 0;
}

.iv-head-acts { display: flex; align-items: center; gap: 12px; flex: none; }
.iv-appt { font-size: 12.5px; color: var(--primary); font-weight: 500; margin-top: 4px; }
.apply-hint { font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.apply-hint b { color: var(--primary); }
.qr-holder { line-height: 0; }
.qr-holder img, .qr-holder canvas { display: block; border-radius: 6px; }
.qr-origin-row { display: flex; gap: 8px; align-items: stretch; }
.qr-origin-row input { flex: 1; min-width: 0; }

/* ---------- 预约表单：手机号重复提醒 + 面试地点卡（v120） ---------- */
.ap-tip { margin-top: 8px; font-size: 12.5px; line-height: 1.65; padding: 9px 11px; border-radius: 10px; }
.ap-tip.warn { background: var(--warn-light); color: #8a5a00; border: 1px solid #ffe1a8; }
.ap-tip b { font-weight: 700; color: #6b4600; }

.apply-shop { margin-top: 14px; background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.apply-shop-t { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.apply-shop-t::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--primary); }
.apply-shop-addr { font-size: 13.5px; line-height: 1.7; color: #3a3a3c; }
.apply-shop-acts { display: flex; gap: 8px; margin-top: 12px; }
.apply-shop-btn { flex: 1; text-align: center; padding: 10px 0; border-radius: 10px; font-size: 13px;
  border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none;
  cursor: pointer; font-family: inherit; line-height: 1.4; display: block; }
.apply-shop-btn:active { opacity: .7; }
.apply-shop-btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.apply-shop-line { display: flex; justify-content: space-between; align-items: center; margin-top: 14px;
  padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.apply-shop-tel { color: var(--primary); font-weight: 700; text-decoration: none; font-size: 15.5px; letter-spacing: .4px; }
