@charset "UTF-8";
/* =====================================================================
   中国广电职工佣金核算系统 · 设计系统
   主色 广电蓝 #0057B8 / 渐变 #003C8F → #0A6FD8
   辅色 科技青 #00C2FF / 强调 广电金 #E8B04B
   ===================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f5f8fc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p, figure, ul, ol, dl {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: #0057b8;
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ---------- 变量 ---------- */
:root {
  --brand: #0057b8;
  --brand-dark: #003c8f;
  --brand-light: #0a6fd8;
  --brand-soft: #eaf2fd;
  --cyan: #00c2ff;
  --gold: #e8b04b;
  --gold-deep: #b57a12;
  --bg: #f5f8fc;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-2: #6b7a90;
  --text-3: #96a3b8;
  --line: #e7eef7;
  --line-2: #f0f4fa;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 4px 20px rgba(15, 42, 80, 0.06);
  --shadow-lg: 0 14px 44px rgba(0, 60, 143, 0.13);
  --grad: linear-gradient(135deg, #003c8f 0%, #0a6fd8 100%);
  --grad-soft: linear-gradient(135deg, #eef5ff 0%, #f7fbff 100%);
  --green: #12a150;
  --green-bg: #e7f7ee;
  --orange: #e07b1a;
  --orange-bg: #fff3e3;
  --red: #d94a45;
  --red-bg: #fdeceb;
  --gray: #7c8ba1;
  --gray-bg: #f0f3f8;
  --blue: #0a6fd8;
  --blue-bg: #eaf2fd;
  --cyan-bg: #e3f8ff;
  --purple: #6b4fd8;
  --purple-bg: #f0ecff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- 通用 ---------- */
.mono,
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.num {
  letter-spacing: -0.02em;
}

.c-dim {
  color: var(--text-2);
}

.c-gold {
  color: var(--gold-deep);
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ico {
  flex: none;
  display: inline-block;
}

/* =====================================================================
   职工端框架
   ===================================================================== */
body.side-staff {
  background: var(--bg);
  padding-bottom: 76px;
}

.staff-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 顶部品牌栏 */
.app-header {
  position: relative;
  background: var(--grad);
  color: #fff;
  padding: 20px 0 0;
  overflow: hidden;
}

.app-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(460px 260px at 88% -10%, rgba(0, 194, 255, 0.4), transparent 70%),
    radial-gradient(320px 220px at 8% 110%, rgba(0, 194, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.app-header::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.app-header .staff-wrap {
  position: relative;
  z-index: 1;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  flex: none;
  backdrop-filter: blur(4px);
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.brand-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.brand-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 用户问候 */
.hello {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  flex: none;
}

.hello-name {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hello-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 21px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #62440a;
  background: linear-gradient(135deg, #ffe6ad, #e8b04b);
  box-shadow: 0 2px 8px rgba(232, 176, 75, 0.4);
  white-space: nowrap;
}

.badge-ghost {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* 页面标题（职工端内页） */
.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 14px;
}

.page-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.page-desc {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
}

.page-head .spacer {
  margin-left: auto;
}

/* 底部 Tab */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  color: var(--text-3);
  font-size: 10.5px;
  transition: color 0.2s;
}

.tab-item .ico {
  transition: transform 0.25s var(--ease);
}

.tab-item.active {
  color: var(--brand);
  font-weight: 600;
}

.tab-item.active .ico {
  transform: translateY(-1px) scale(1.06);
}

.tab-item .dot {
  position: absolute;
  transform: translate(12px, -2px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d4f;
}

/* 桌面端顶部导航 */
.topnav {
  display: none;
}

@media (min-width: 768px) {
  body.side-staff {
    padding-bottom: 40px;
  }
  .tabbar {
    display: none;
  }
  .topnav {
    display: flex;
    gap: 4px;
    padding: 0 0 0;
    margin-top: -6px;
    flex-wrap: wrap;
  }
  .topnav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    transition: background 0.2s, color 0.2s;
  }
  .topnav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  .topnav a.active {
    color: var(--brand-dark);
    background: var(--bg);
    font-weight: 600;
  }
}

/* =====================================================================
   卡片 / 区块
   ===================================================================== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(231, 238, 247, 0.9);
}

.card-pad {
  padding: 18px;
}

.section {
  margin-top: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 2px;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.section-head .spacer {
  margin-left: auto;
}

.link-more {
  font-size: 12.5px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.link-more:hover {
  color: var(--brand);
}

/* 三宫格数据卡 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(231, 238, 247, 0.9);
  overflow: hidden;
  min-width: 0;
}

.stat-card .stat-label {
  font-size: 11.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.35;
}

.stat-card .stat-value {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-card .stat-value small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin-left: 2px;
}

.stat-card .stat-foot {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-3);
}

.stat-card.gold {
  background: linear-gradient(150deg, #fffdf7 0%, #fff8e8 100%);
  border-color: #f6e3bb;
}

.stat-card.gold .stat-value {
  background: linear-gradient(180deg, #e8b04b 0%, #b57a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card.brand {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.stat-card.brand .stat-label,
.stat-card.brand .stat-foot {
  color: rgba(255, 255, 255, 0.72);
}

.stat-card.brand::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

/* 快捷入口 */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 4px 12px;
  border-radius: 12px;
  color: var(--text);
  transition: background 0.2s;
  text-align: center;
}

.quick-item:active {
  background: var(--brand-soft);
}

.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.quick-item:nth-child(2) .quick-icon {
  background: var(--cyan-bg);
  color: #0091c2;
}

.quick-item:nth-child(3) .quick-icon {
  background: #fff6e6;
  color: var(--gold-deep);
}

.quick-item:nth-child(4) .quick-icon {
  background: var(--purple-bg);
  color: var(--purple);
}

.quick-label {
  font-size: 12px;
  color: var(--text-2);
}

.quick-item .dot-badge {
  position: absolute;
  transform: translate(16px, -6px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* =====================================================================
   标签
   ===================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
}

.tag-green {
  color: var(--green);
  background: var(--green-bg);
}

.tag-gray {
  color: var(--gray);
  background: var(--gray-bg);
}

.tag-orange {
  color: var(--orange);
  background: var(--orange-bg);
}

.tag-red {
  color: var(--red);
  background: var(--red-bg);
}

.tag-blue {
  color: var(--blue);
  background: var(--blue-bg);
}

.tag-cyan {
  color: #0084b4;
  background: var(--cyan-bg);
}

.tag-gold {
  color: var(--gold-deep);
  background: #fdf3df;
}

.tag-purple {
  color: var(--purple);
  background: var(--purple-bg);
}

.tag-light {
  color: #8b98ab;
  background: #f4f6fa;
}

.tag-sm {
  height: 19px;
  font-size: 10.5px;
  padding: 0 6px;
}

.money-gold {
  font-weight: 700;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}

.money-gold.lg {
  font-size: 28px;
  background: linear-gradient(180deg, #e8b04b, #b57a12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================================
   号卡列表
   ===================================================================== */
.card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sim-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(231, 238, 247, 0.9);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.sim-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.sim-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad);
  opacity: 0.85;
}

.sim-card.is-off::before {
  background: linear-gradient(180deg, #c9d3e2, #a9b6c9);
}

.sim-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-no {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-no .eye-btn {
  color: var(--text-3);
  padding: 2px;
  display: inline-flex;
  border-radius: 6px;
}

.sim-no .eye-btn:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.sim-top .spacer {
  margin-left: auto;
}

.sim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-2);
}

.sim-meta .kv {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sim-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--text-2);
}

.sim-foot .rent {
  margin-left: auto;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 筛选条 */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 87, 184, 0.24);
}

.chip .cnt {
  font-size: 11px;
  opacity: 0.72;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box .ico {
  position: absolute;
  left: 12px;
  color: var(--text-3);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(10, 111, 216, 0.1);
}

/* =====================================================================
   表单
   ===================================================================== */
.field {
  margin-bottom: 14px;
}

.label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 6px;
  font-weight: 500;
}

.label .req {
  color: #e0453e;
}

.input,
.select,
.textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  font-size: 14px;
  color: var(--text);
}

.textarea {
  height: auto;
  min-height: 120px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.7;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(10, 111, 216, 0.1);
}

.input:disabled,
.input[readonly],
.select:disabled {
  background: #f7f9fc;
  color: var(--text-3);
  cursor: not-allowed;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .input {
  border-radius: 10px 0 0 10px;
}

.input-group .addon {
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-left: none;
  border-radius: 0 10px 10px 0;
  background: #f7f9fc;
  color: var(--text-2);
  font-size: 12.5px;
  white-space: nowrap;
}

.form-tip {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 5px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .form-row.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 开关 */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d9e2ef;
  transition: background 0.25s var(--ease);
  position: relative;
  flex: none;
}

.switch .track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 42, 80, 0.2);
  transition: transform 0.25s var(--ease);
}

.switch input:checked + .track {
  background: var(--brand);
}

.switch input:checked + .track::after {
  transform: translateX(20px);
}

.switch input:disabled + .track {
  opacity: 0.5;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.985);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 87, 184, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(0, 87, 184, 0.36);
  filter: brightness(1.04);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text-2);
}

.btn-ghost:hover {
  border-color: #c9d8ec;
  color: var(--text);
  background: #fbfdff;
}

.btn-soft {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn-soft:hover {
  background: #dfeafb;
}

.btn-gold {
  background: linear-gradient(135deg, #f0c063, #d99a2b);
  color: #4a3104;
  box-shadow: 0 6px 18px rgba(217, 154, 43, 0.3);
}

.btn-danger {
  background: #fdeceb;
  color: var(--red);
}

.btn-danger:hover {
  background: #fbdedd;
}

.btn-sm {
  height: 30px;
  padding: 0 10px;
  font-size: 12.5px;
  border-radius: 8px;
}

.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-link {
  color: var(--brand);
  font-size: 13px;
  padding: 2px 4px;
  border-radius: 6px;
}

.btn-link:hover {
  background: var(--brand-soft);
}

.btn-link.danger {
  color: var(--red);
}

.btn-link.danger:hover {
  background: var(--red-bg);
}

/* =====================================================================
   登录页
   ===================================================================== */
body.auth-page {
  min-height: 100vh;
  background: #eef3fa;
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .auth-wrap {
    grid-template-columns: 1.05fr 1fr;
  }
}

.auth-hero {
  position: relative;
  background: var(--grad);
  color: #fff;
  padding: 40px 32px;
  display: none;
  overflow: hidden;
}

@media (min-width: 992px) {
  .auth-hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 56px;
  }
}

.auth-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.045), 0 0 0 92px rgba(255, 255, 255, 0.03);
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 320px at 80% 20%, rgba(0, 194, 255, 0.34), transparent 65%);
}

.auth-hero > * {
  position: relative;
  z-index: 1;
}

.auth-hero h1 {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-top: auto;
}

.auth-hero .lead {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
  font-size: 14px;
  max-width: 420px;
  line-height: 1.9;
}

.auth-hero .feats {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-hero .feat b {
  display: block;
  font-size: 22px;
  font-weight: 600;
}

.auth-hero .feat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: #fff;
}

.auth-card {
  width: 100%;
  max-width: 372px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.auth-brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 87, 184, 0.28);
}

.auth-brand .t1 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.auth-brand .t2 {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1.2px;
}

.auth-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.auth-sub {
  color: var(--text-2);
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 24px;
}

.captcha-row {
  display: flex;
  gap: 10px;
}

.captcha-row .input {
  flex: 1;
}

.captcha-img {
  width: 132px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: pointer;
  object-fit: cover;
  background: #f5f8fc;
}

.auth-foot {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.9;
}

/* =====================================================================
   后台框架
   ===================================================================== */
body.side-admin {
  background: var(--bg);
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 236px;
  flex: none;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  transition: transform 0.3s var(--ease);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--line-2);
}

.sidebar-brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  box-shadow: 0 6px 16px rgba(0, 87, 184, 0.26);
}

.sidebar-brand .t1 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.1px;
}

.sidebar-brand .t2 {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1.1px;
}

.side-nav {
  padding: 12px 10px;
  overflow-y: auto;
  flex: 1;
}

.side-label {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 1.4px;
  padding: 12px 10px 6px;
  text-transform: uppercase;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: #46566e;
  font-size: 13.5px;
  margin-bottom: 2px;
  transition: all 0.18s;
  position: relative;
}

.side-link:hover {
  background: #f4f8fd;
  color: var(--brand);
}

.side-link.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.side-link.active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}

.side-link .ico {
  color: currentColor;
  opacity: 0.85;
}

.side-foot {
  padding: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.7;
}

.admin-main {
  flex: 1;
  min-width: 0;
  margin-left: 236px;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  height: 60px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
}

.crumb b {
  color: var(--text);
  font-weight: 600;
}

.admin-topbar .spacer {
  margin-left: auto;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  color: var(--text-2);
}

.admin-user .ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  place-items: center;
  color: var(--text-2);
  background: #fff;
}

.admin-content {
  padding: 22px;
  flex: 1;
}

@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .menu-toggle {
    display: grid;
  }
  .admin-content {
    padding: 14px;
  }
  .admin-topbar {
    padding: 0 14px;
  }
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 48, 0.42);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.scrim.show {
  opacity: 1;
  pointer-events: auto;
}

/* 页面标题区 */
.ph {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ph h1 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.ph p {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 3px;
}

.ph .ph-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 面板 */
.panel {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(231, 238, 247, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel + .panel {
  margin-top: 16px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
}

.panel-title {
  font-size: 14.5px;
  font-weight: 600;
}

.panel-head .spacer {
  margin-left: auto;
}

.panel-body {
  padding: 18px;
}

.panel-body.tight {
  padding: 0;
}

.panel-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 说明条 */
.notice-bar {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid #dbeafe;
  color: #274b78;
  font-size: 12.5px;
  line-height: 1.8;
}

.notice-bar .ico {
  color: var(--brand);
  margin-top: 2px;
  flex: none;
}

.notice-bar.gold {
  background: #fffbf0;
  border-color: #f6e3bb;
  color: #6b4d10;
}

.notice-bar.gold .ico {
  color: var(--gold-deep);
}

/* =====================================================================
   表格
   ===================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  font-size: 13px;
  border-collapse: separate;
  border-spacing: 0;
}

.table th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-2);
  background: #f8fafd;
  padding: 10px 14px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1;
}

.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
  color: #2a3a52;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr {
  transition: background 0.15s;
}

.table tbody tr:hover {
  background: #fafcff;
}

.table .td-strong {
  font-weight: 600;
  color: var(--text);
}

.table .td-num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.table .td-actions {
  white-space: nowrap;
  text-align: right;
}

.table .row-total td {
  background: #f8fafd;
  font-weight: 600;
  color: var(--text);
}

.table.compact td,
.table.compact th {
  padding: 9px 12px;
}

.table-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-3);
}

/* =====================================================================
   空状态 / 骨架屏
   ===================================================================== */
.empty {
  padding: 40px 20px 44px;
  text-align: center;
}

.empty svg.art {
  width: 148px;
  height: 112px;
  margin-bottom: 6px;
}

.empty-title {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  margin-top: 8px;
}

.empty-desc {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
  line-height: 1.7;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #eef3fa;
  border-radius: 8px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.sk-line {
  height: 12px;
  margin-bottom: 8px;
}

.sk-card {
  height: 96px;
  border-radius: var(--radius);
}

/* =====================================================================
   Toast / 弹窗
   ===================================================================== */
.toast-wrap {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: 92vw;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(26, 40, 62, 0.94);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 34px rgba(12, 26, 48, 0.28);
  animation: toastIn 0.32s var(--ease);
  backdrop-filter: blur(10px);
}

.toast.success .ico {
  color: #4ade80;
}

.toast.error .ico {
  color: #ff8a80;
}

.toast.hide {
  animation: toastOut 0.28s var(--ease) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 48, 0.45);
  backdrop-filter: blur(3px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.modal-mask.show {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 404px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(12, 26, 48, 0.28);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.26s var(--ease);
}

.modal-mask.show .modal {
  transform: none;
}

.modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--orange-bg);
  color: var(--orange);
  margin-bottom: 12px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  margin-top: 6px;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions .btn {
  flex: 1;
}

/* =====================================================================
   折叠面板
   ===================================================================== */
.collapse {
  border-radius: var(--radius);
  border: 1px solid rgba(231, 238, 247, 0.9);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.collapse-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
}

.collapse-head .ico.chev {
  margin-left: auto;
  color: var(--text-3);
  transition: transform 0.25s var(--ease);
}

.collapse.open .collapse-head .ico.chev {
  transform: rotate(180deg);
}

.collapse-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.collapse.open .collapse-body {
  grid-template-rows: 1fr;
}

.collapse-inner {
  overflow: hidden;
}

.collapse-content {
  padding: 0 18px 18px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.9;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 22px;
  margin-top: 4px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: linear-gradient(180deg, #cfe0f5, #e7eef7);
}

.tl-item {
  position: relative;
  padding-bottom: 14px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}

.tl-item.gold::before {
  border-color: var(--gold);
}

.tl-item.gray::before {
  border-color: #c2ccdb;
}

.tl-month {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.tl-text {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 1px;
}

/* =====================================================================
   公告
   ===================================================================== */
.notice-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  transition: background 0.18s;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: #fafcff;
}

.notice-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}

.notice-main {
  flex: 1;
  min-width: 0;
}

.notice-title {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.notice-title > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.notice-title .tag {
  flex: none;
}

.notice-time {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
}

.unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  flex: none;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.12);
}

.notice-detail {
  font-size: 14px;
  line-height: 2;
  color: #2a3a52;
  word-break: break-word;
}

.notice-detail p {
  margin: 0 0 12px;
}

.notice-detail h3 {
  font-size: 15px;
  margin: 18px 0 8px;
  color: var(--text);
}

.notice-detail ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

/* =====================================================================
   等级 / 进度
   ===================================================================== */
.level-hero {
  position: relative;
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 60, 143, 0.24);
}

.level-hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.05);
}

.level-hero .lh-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.level-hero .lh-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.level-hero .lh-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #e9eff8;
  overflow: hidden;
  margin-top: 12px;
}

.progress.on-dark {
  background: rgba(255, 255, 255, 0.22);
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00c2ff, #7fe0ff);
  transition: width 0.7s var(--ease);
}

.progress-bar.gold {
  background: linear-gradient(90deg, #e8b04b, #f7d68e);
}

/* 等级阶梯 */
.ladder {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.ladder::-webkit-scrollbar {
  display: none;
}

.ladder-item {
  flex: none;
  width: 64px;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
  background: #fff;
}

.ladder-item.reached {
  border-color: #cfe3fb;
  background: var(--brand-soft);
}

.ladder-item.current {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.12);
}

.ladder-item .lv {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
}

.ladder-item.reached .lv,
.ladder-item.current .lv {
  color: var(--brand);
}

.ladder-item .need {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
}

/* 政策表 */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.policy-card {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfdff;
  position: relative;
}

.policy-card.support {
  background: linear-gradient(160deg, #eff6ff, #f8fbff);
  border-color: #d8e8fb;
}

.policy-card.stable {
  background: linear-gradient(160deg, #eefcff, #f7feff);
  border-color: #d3f1fb;
}

.policy-card.extra {
  background: linear-gradient(160deg, #fdf9ef, #fffdf8);
  border-color: #f3e5c7;
}

.policy-card .pc-stage {
  font-size: 11.5px;
  color: var(--text-2);
}

.policy-card .pc-ratio {
  font-size: 21px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: -0.4px;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.policy-card.extra .pc-ratio {
  color: var(--gold-deep);
}

.policy-card .pc-cycle {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 1px;
}

.policy-card.disabled {
  background: #f8fafc;
  border-style: dashed;
}

.policy-card.disabled .pc-ratio {
  color: var(--text-3);
}

/* 公式块 */
.formula {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafd;
  border: 1px dashed #d8e4f4;
  font-size: 13px;
  color: var(--text-2);
}

.formula b {
  color: var(--brand);
  font-weight: 600;
}

.formula .op {
  color: var(--text-3);
}

/* =====================================================================
   详情二级页 / 汇总
   ===================================================================== */
.staff-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 1100px) {
  .staff-detail-grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.side-summary {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(231, 238, 247, 0.9);
  box-shadow: var(--shadow);
  padding: 18px;
}

.side-summary .ss-name {
  font-size: 17px;
  font-weight: 600;
}

.side-summary .ss-meta {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
}

.kv-list {
  margin-top: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 12.5px;
}

.kv-row .k {
  color: var(--text-2);
}

.kv-row .v {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* 右下角悬浮总计 */
.total-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf7, #fff6e3);
  border: 1px solid #f3dfb4;
  box-shadow: 0 16px 40px rgba(181, 122, 18, 0.18);
}

.total-float .tf-label {
  font-size: 11.5px;
  color: #8a6a20;
}

.total-float .tf-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #e8b04b, #b57a12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.total-float .tf-count {
  font-size: 11.5px;
  color: #8a6a20;
  padding-left: 14px;
  border-left: 1px solid #f0dcae;
  text-align: center;
  line-height: 1.5;
}

.total-float .tf-count b {
  display: block;
  font-size: 17px;
  color: var(--gold-deep);
}

@media (max-width: 640px) {
  .total-float {
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 10px 16px;
  }
  .total-float .tf-value {
    font-size: 20px;
  }
}

/* =====================================================================
   工具类
   ===================================================================== */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.w-full { width: 100%; }
.f12 { font-size: 12px; }
.f13 { font-size: 13px; }
.f15 { font-size: 15px; }
.fw6 { font-weight: 600; }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }

/* 分页 */
.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  flex-wrap: wrap;
}

.pager-info {
  font-size: 12px;
  color: var(--text-3);
}

.pager-list {
  margin-left: auto;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.pager-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

.pager-btn:hover {
  border-color: var(--brand-light);
  color: var(--brand);
}

.pager-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.pager-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* 图片/插图 */
.illus {
  display: block;
}

/* 打印 */
@media print {
  .sidebar, .admin-topbar, .tabbar, .ph-actions, .pager, .total-float {
    display: none !important;
  }
  .admin-main {
    margin-left: 0;
  }
  body {
    background: #fff;
  }
}

/* =====================================================================
   响应式细节
   ===================================================================== */
@media (max-width: 420px) {
  .stat-card {
    padding: 13px 10px;
  }
  .stat-card .stat-label {
    font-size: 10.5px;
    gap: 3px;
  }
  .stat-card .stat-label .ico {
    width: 12px;
    height: 12px;
  }
  .stat-card .stat-value {
    font-size: 19px;
    letter-spacing: -0.3px;
  }
  .stat-card .stat-value small {
    font-size: 11px;
  }
  .stat-card .stat-foot {
    font-size: 10px;
  }
  .quick-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .quick-label {
    font-size: 11.5px;
  }
  .page-title {
    font-size: 17px;
  }
  .sim-no {
    font-size: 17px;
  }
}

/* 表格在窄屏下堆叠展示（加 .stack 类） */
@media (max-width: 640px) {
  .table.stack thead {
    display: none;
  }
  .table.stack,
  .table.stack tbody,
  .table.stack tfoot,
  .table.stack tr,
  .table.stack td {
    display: block;
    width: 100%;
  }
  .table.stack tr {
    padding: 10px 0 8px;
    border-bottom: 1px solid var(--line-2);
  }
  .table.stack tr:last-child {
    border-bottom: none;
  }
  .table.stack td {
    border: none;
    padding: 3px 14px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .table.stack td::before {
    content: attr(data-label);
    color: var(--text-2);
    font-size: 12px;
    text-align: left;
    flex: none;
  }
  .table.stack td:first-child {
    font-size: 15px;
    padding-bottom: 6px;
  }
  .table.stack td:first-child::before {
    display: none;
  }
  .table.stack td:first-child {
    justify-content: flex-start;
  }
  .table.stack tfoot tr {
    background: #f8fafd;
  }
}

/* 后台窄屏表格 */
@media (max-width: 768px) {
  .admin-content .table th,
  .admin-content .table td {
    padding: 10px 10px;
    font-size: 12.5px;
  }
  .ph h1 {
    font-size: 18px;
  }
}

/* ---------- 桌面端精修 ---------- */
@media (min-width: 768px) {
  .stat-card {
    padding: 18px 18px;
  }
  .stat-card .stat-label {
    font-size: 12.5px;
  }
  .stat-card .stat-value {
    font-size: 28px;
  }
  .stat-card .stat-value small {
    font-size: 13px;
  }
  .quick-item {
    padding: 18px 4px 16px;
    gap: 10px;
  }
  .quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .quick-icon .ico {
    width: 23px;
    height: 23px;
  }
  .quick-label {
    font-size: 13px;
  }
  .hello {
    padding-bottom: 24px;
  }
  .hello-name {
    font-size: 19px;
  }
  .page-title {
    font-size: 21px;
  }
  .section-title {
    font-size: 16px;
  }
  .notice-item {
    padding: 15px 18px;
  }
}

.hero-side {
  display: none;
}

@media (min-width: 900px) {
  .hero-side {
    display: block;
    margin-left: auto;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.7;
  }
  .hero-side b {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
  }
}

/* 系统设置双栏 */
@media (min-width: 1100px) {
  .sys-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* 年月输入（紧凑型数字框） */
.input-compact {
  height: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-color: #d3e0f2;
  background: #fbfdff;
}

.input-compact:focus {
  background: #fff;
  border-color: var(--brand-light);
}

.input-compact::-webkit-outer-spin-button,
.input-compact::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* =====================================================================
   职工端 · 职级板块
   ===================================================================== */
.grade-hero {
  position: relative;
  border-radius: 22px;
  padding: 22px 20px 24px;
  background: linear-gradient(135deg, #003c8f 0%, #0a6fd8 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 60, 143, 0.26);
}

.grade-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 88% -20%, rgba(0, 194, 255, 0.42), transparent 68%);
  pointer-events: none;
}

.grade-hero::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -58px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.grade-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.grade-medal {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: grid;
  place-items: center;
  flex: none;
  backdrop-filter: blur(4px);
  color: #ffe6ad;
}

.grade-lv {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.6px;
}

.grade-lv span {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0;
}

.grade-tip {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 8px;
  line-height: 1.75;
}

.grade-tip b {
  color: #ffe6ad;
  font-weight: 600;
}

.grade-seg {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 5px;
  margin-top: 16px;
}

.grade-seg i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.grade-seg i.on {
  background: rgba(255, 255, 255, 0.55);
}

.grade-seg i.cur {
  background: linear-gradient(90deg, #f0c063, #e8b04b);
  box-shadow: 0 0 10px rgba(232, 176, 75, 0.65);
}

/* 指标 */
.grade-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 8px;
  text-align: center;
}

.metric .m-val {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.metric .m-val small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-left: 1px;
}

.metric .m-lab {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 3px;
}

/* 权益 */
.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.benefit.on {
  border-color: #f3e2c2;
  background: linear-gradient(150deg, #fffdf7, #fff8e8);
}

.benefit.blue.on {
  border-color: #d8e8fb;
  background: linear-gradient(150deg, #f6faff, #eef5ff);
}

.benefit .b-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--gray-bg);
  color: var(--text-3);
}

.benefit.on .b-icon {
  background: linear-gradient(135deg, #fff6e6, #fdeac2);
  color: #b57a12;
}

.benefit.blue.on .b-icon {
  background: linear-gradient(135deg, #eef5ff, #dbeafe);
  color: #0057b8;
}

.benefit .b-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.benefit .b-sub {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 2px;
  line-height: 1.5;
}

.benefit .b-tail {
  margin-left: auto;
  text-align: right;
  flex: none;
}

.benefit .b-tail b {
  font-size: 16px;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}

.benefit .b-tail span {
  display: block;
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 1px;
}

/* 等级阶梯 */
.ladder-v2 {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 6px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

.ladder-v2::-webkit-scrollbar {
  display: none;
}

.lv-card {
  flex: none;
  width: 76px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 6px 10px;
  text-align: center;
  position: relative;
}

.lv-card .lv-n {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: -0.3px;
}

.lv-card .lv-need {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 3px;
}

.lv-card.done {
  background: var(--brand-soft);
  border-color: #cfe3fb;
}

.lv-card.done .lv-n {
  color: var(--brand);
}

.lv-card.cur {
  background: linear-gradient(135deg, #003c8f, #0a6fd8);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0, 87, 184, 0.28);
}

.lv-card.cur .lv-n,
.lv-card.cur .lv-need {
  color: #fff;
}

.lv-card.cur .lv-need {
  opacity: 0.82;
}

.lv-card .crown {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffe6ad, #e8b04b);
  color: #5b3d06;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(232, 176, 75, 0.4);
}

/* 职工端 · 手机端整行删除 logo 栏（顶部直接进入欢迎区 / 内页标题） */
@media (max-width: 767px) {
  .app-header {
    padding-top: 18px;
  }
  .app-header .brand-row {
    display: none !important;
  }
}

/* =====================================================================
   职工端视觉升级 · 中国广电通信行业元素（基站 / 电波 / SIM / 192 / 5G）
   ===================================================================== */

/* 统一由主体提供顶部留白，各页面头信息收进渐变头部 */
body.side-staff > main.staff-wrap {
  padding-top: 14px;
}

/* ---------- 顶部渐变：叠加光晕 ---------- */
.app-header {
  background:
    radial-gradient(520px 300px at 86% -14%, rgba(0, 194, 255, 0.42), transparent 68%),
    radial-gradient(380px 240px at 4% 112%, rgba(0, 194, 255, 0.2), transparent 70%),
    radial-gradient(320px 220px at 97% 96%, rgba(232, 176, 75, 0.18), transparent 70%),
    var(--grad);
}

/* ---------- 通信装饰层 ---------- */
.sig-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sig-deco .deco-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

.sig-deco .deco-tower {
  position: absolute;
  right: 10px;
  bottom: -8px;
  width: 104px;
  height: 139px;
  opacity: 0.85;
}

.sig-deco .deco-wave {
  position: absolute;
  right: -26px;
  top: -36px;
  width: 186px;
  height: 186px;
}

.sig-deco .deco-192 {
  position: absolute;
  left: -4px;
  bottom: -32px;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}

@media (max-width: 767px) {
  .sig-deco .deco-tower {
    width: 74px;
    height: 99px;
    right: 2px;
    opacity: 0.5;
  }
  .sig-deco .deco-wave {
    width: 138px;
    height: 138px;
    right: -22px;
    top: -28px;
  }
  .sig-deco .deco-192 {
    font-size: 62px;
    bottom: -20px;
  }
}

/* ---------- 品牌行（仅桌面端） ---------- */
.brand-row {
  padding-bottom: 14px;
}

.brand-net {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #bfe9ff;
  background: rgba(0, 194, 255, 0.14);
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.brand-net .ico {
  opacity: 0.9;
}

/* ---------- 欢迎区（首页） ---------- */
.hello {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
}

.hello-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
}

.avatar-wrap .avatar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 16px;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  overflow: visible;
}

.avatar-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}

.avatar-ring .rw {
  fill: none;
  stroke: rgba(0, 194, 255, 0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
  animation: gdRing 2.8s ease-in-out infinite;
}

@keyframes gdRing {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

.hello-txt {
  min-width: 0;
}

.hello-name {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hello-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.hm-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.hm-chip .ico {
  opacity: 0.8;
}

.hm-lv {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #ffe6ad;
  background: rgba(232, 176, 75, 0.18);
  border-color: rgba(232, 176, 75, 0.35);
}

.hello-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.hello-bell {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s;
}

.hello-bell:active {
  background: rgba(255, 255, 255, 0.26);
}

.hello-bell .hb-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5b57;
  box-shadow: 0 0 0 2px rgba(0, 60, 143, 0.5);
}

@media (min-width: 768px) {
  .hello-bell {
    display: none;
  }
}

/* 右侧核算状态 */
.hero-side {
  display: none;
  text-align: right;
}

.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #cfeeff;
  background: rgba(0, 194, 255, 0.16);
  border: 1px solid rgba(0, 194, 255, 0.32);
  white-space: nowrap;
}

.hs-date {
  display: none;
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

@media (min-width: 900px) {
  .hero-side {
    display: block;
    margin-left: auto;
  }
  .hs-date {
    display: block;
  }
}

/* ---------- 内页头部 ---------- */
.hello-page {
  align-items: center;
  padding-bottom: 20px;
}

.hp-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  color: #cfeeff;
  background: rgba(0, 194, 255, 0.16);
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.hp-txt {
  flex: 1;
  min-width: 0;
}

.hp-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 3px;
}

.hp-net {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #ffe6ad;
  background: rgba(232, 176, 75, 0.16);
  border: 1px solid rgba(232, 176, 75, 0.32);
}

.hp-net b {
  font-size: 11.5px;
  letter-spacing: 0.3px;
}

@media (max-width: 899px) {
  .hp-net {
    display: none;
  }
}

/* ---------- 返回条 ---------- */
.back-bar {
  padding: 0 0 12px;
}

.back-bar .btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
}

/* ---------- 统计卡：行业元素 ---------- */
.stat-card.sc-blue {
  background: linear-gradient(150deg, #f5faff 0%, #eaf3ff 100%);
  border-color: #dbeafe;
}

.stat-card.sc-cyan {
  background: linear-gradient(150deg, #f3fdff 0%, #e6f9ff 100%);
  border-color: #cdeff9;
}

.sc-deco {
  position: absolute;
  right: -8px;
  bottom: -12px;
  color: var(--brand);
  opacity: 0.07;
  pointer-events: none;
  transform: rotate(-8deg);
}

.stat-card.sc-cyan .sc-deco {
  color: #0091c2;
  opacity: 0.1;
}

.stat-card.gold .sc-deco {
  color: var(--gold-deep);
  opacity: 0.1;
}

.sc-bar {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  margin-top: 8px;
}

.sc-bar i {
  width: 3px;
  border-radius: 1.5px;
  background: var(--brand);
  opacity: 0.32;
}

.sc-bar i:nth-child(1) { height: 4px; }
.sc-bar i:nth-child(2) { height: 6px; }
.sc-bar i:nth-child(3) { height: 8px; }
.sc-bar i:nth-child(4) { height: 10px; opacity: 0.75; }

.sc-bar.gold i { background: var(--gold-deep); }
.sc-bar.cyan i { background: #0091c2; }

/* ---------- 快捷入口 ---------- */
.quick-card {
  padding: 12px 6px;
}

.quick-item {
  padding: 12px 4px 10px;
  gap: 7px;
  border-radius: 14px;
}

.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.quick-sub {
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: -3px;
  white-space: nowrap;
}

.qi-blue .quick-icon {
  background: linear-gradient(135deg, #e8f2ff, #d6e8ff);
  color: #0a6fd8;
}

.qi-gold .quick-icon {
  background: linear-gradient(135deg, #fff6e6, #fdeac2);
  color: var(--gold-deep);
}

.qi-cyan .quick-icon {
  background: linear-gradient(135deg, #e6f9ff, #cdf3ff);
  color: #0091c2;
}

.qi-purple .quick-icon {
  background: var(--purple-bg);
  color: var(--purple);
}

/* ---------- 区块标题：信号条 ---------- */
.section-title {
  display: inline-flex;
  align-items: center;
}

.st-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-right: 7px;
  flex: none;
}

.st-bars b {
  width: 3px;
  border-radius: 1.5px;
  background: linear-gradient(180deg, #0a6fd8, #00c2ff);
}

.st-bars b:nth-child(1) { height: 4px;  opacity: 0.45; }
.st-bars b:nth-child(2) { height: 6px;  opacity: 0.6; }
.st-bars b:nth-child(3) { height: 9px;  opacity: 0.8; }
.st-bars b:nth-child(4) { height: 12px; }

/* ---------- 首页职级卡 ---------- */
.home-grade {
  position: relative;
  overflow: hidden;
}

.hg-deco {
  position: absolute;
  right: -26px;
  top: -36px;
  width: 132px;
  height: 132px;
  pointer-events: none;
}

.hg-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff6e6, #fdeac2);
  color: var(--gold-deep);
  box-shadow: 0 4px 12px rgba(232, 176, 75, 0.22);
}

/* ---------- SIM 号卡 ---------- */
.sim-chip {
  width: 26px;
  height: 19px;
  border-radius: 4px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
  background: linear-gradient(135deg, #f6dca4, #e8b04b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.sim-chip i {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.75);
}

.sim-card.is-off .sim-chip {
  background: linear-gradient(135deg, #e2e7ef, #c3ccda);
}

.sim-net {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0a6fd8;
  background: rgba(0, 194, 255, 0.12);
  border: 1px solid rgba(0, 194, 255, 0.28);
  border-radius: 5px;
  padding: 1px 5px;
}

.sim-card.is-off .sim-net {
  color: var(--gray);
  background: var(--gray-bg);
  border-color: #e3e8f0;
}

.sim-wave {
  position: absolute;
  right: -16px;
  bottom: -20px;
  width: 112px;
  height: 112px;
  color: var(--brand);
  opacity: 0.5;
  pointer-events: none;
}

.sim-card.is-off .sim-wave {
  color: var(--gray);
  opacity: 0.28;
}

/* ---------- 用户中心头部 ---------- */
.profile-top {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pt-deco {
  position: absolute;
  right: -12px;
  top: -14px;
  width: 132px;
  height: 88px;
  pointer-events: none;
}

.pt-avatar {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  flex: none;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0, 87, 184, 0.24);
}

.pt-info {
  flex: 1;
  min-width: 0;
}

.pt-name {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pt-meta {
  margin-top: 7px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pt-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 21px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-2);
  background: #f4f8fd;
  border: 1px solid var(--line);
}

.pt-net {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-deep);
  background: #fff6e6;
  border: 1px solid #f6e3bb;
}

@media (max-width: 520px) {
  .pt-net {
    display: none;
  }
}

/* ---------- 首页页脚 ---------- */
.home-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-3);
}

.home-foot .ico {
  opacity: 0.7;
}

.hf-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.6;
}

/* ---------- 底部 Tab ---------- */
.tabbar {
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(15, 42, 80, 0.07);
}

.tab-item {
  position: relative;
  padding: 6px 0 5px;
}

.tab-item .ico {
  opacity: 0.85;
}

.tab-item.active .ico {
  opacity: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 87, 184, 0.26));
}

.tab-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.25s var(--ease);
}

.tab-item.active::before {
  transform: translateX(-50%) scaleX(1);
}

/* =====================================================================
   后台 · 品牌与页脚设置（实时预览）
   ===================================================================== */
.bp-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #f5f8fc;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}

.bp-foot .ico {
  opacity: 0.7;
}

.hf-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.6;
}

.bp-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 16px 16px 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: #fff;
  background: var(--grad);
}

.bp-head::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.3), transparent 70%);
}

.bp-mark {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.bp-head > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.bp-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

.bp-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 1px;
  margin-top: 1px;
}

.bp-net {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #bfe9ff;
  background: rgba(0, 194, 255, 0.14);
  border: 1px solid rgba(0, 194, 255, 0.3);
  white-space: nowrap;
}

.bp-wm {
  position: absolute;
  left: 10px;
  bottom: -14px;
  z-index: 0;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.09);
}

.bp-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(231, 238, 247, 0.9);
  box-shadow: var(--shadow);
}

.bp-no {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-variant-numeric: tabular-nums;
}

/* =====================================================================
   职工端 · 佣金月份选择（可填任意年月）
   ===================================================================== */
.month-picker {
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(231, 238, 247, 0.9);
  box-shadow: var(--shadow);
}

.mp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mp-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  flex: none;
}

.mp-unit {
  font-size: 12px;
  color: var(--text-3);
  margin-left: -4px;
  flex: none;
}

.month-picker .input-compact {
  width: 76px;
  height: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.mp-row .btn {
  margin-left: auto;
}

.mp-quick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.mp-quick .chip {
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.mp-quick .chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.mp-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-3);
}

.mp-tip .ico {
  flex: none;
  margin-top: 1px;
  opacity: 0.8;
}

.notice-bar.warn {
  background: #fff8ea;
  border-color: #f6e3bb;
  color: #8a5d09;
}

.notice-bar.warn .ico {
  color: var(--gold-deep);
}

/* =====================================================================
   号卡开通（职工端入口 / 公开申请页 / 图片上传）
   ===================================================================== */

/* ---------- 职工端「我的」入口 ---------- */
.apply-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(120deg, #f3f9ff 0%, #eaf4ff 100%);
  border-color: #d7e8fb;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.apply-entry:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.ae-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(0, 87, 184, 0.24);
}

.ae-main {
  flex: 1;
  min-width: 0;
}

.ae-title {
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ae-desc {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 3px;
}

.ae-go {
  color: var(--text-3);
  flex: none;
}

/* ---------- 职工端号卡开通页 ---------- */
.apply-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 20px;
}

.ah-deco {
  position: absolute;
  right: -30px;
  top: -40px;
  width: 150px;
  height: 150px;
  pointer-events: none;
}

.ah-deco svg {
  width: 100%;
  height: 100%;
}

.ah-head {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.ah-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  color: #0a6fd8;
  background: linear-gradient(135deg, #e8f2ff, #d6e8ff);
}

.ah-title {
  font-size: 15.5px;
  font-weight: 600;
}

.ah-desc {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
  line-height: 1.5;
}

.qr-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, #f7fbff, #eef5ff);
  border: 1px solid var(--line);
  position: relative;
}

.qr-img {
  flex: none;
  width: 148px;
  height: 148px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 42, 80, 0.1);
  display: grid;
  place-items: center;
}

.qr-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-side {
  flex: 1;
  min-width: 0;
}

.qr-who {
  display: flex;
  align-items: center;
  gap: 9px;
}

.qr-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  background: var(--grad);
}

.qr-name {
  font-size: 14px;
  font-weight: 600;
}

.qr-meta {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 2px;
}

.qr-tip {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-3);
}

.qr-tip .ico {
  flex: none;
  margin-top: 1px;
}

.ah-link {
  margin-top: 16px;
  position: relative;
}

@media (max-width: 520px) {
  .qr-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .qr-img {
    width: 172px;
    height: 172px;
    margin: 0 auto;
  }
  .qr-who {
    justify-content: center;
  }
  .qr-tip {
    text-align: left;
  }
}

.apply-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
}

.apply-row:last-child {
  border-bottom: none;
}

.ar-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
}

.ar-main {
  flex: 1;
  min-width: 0;
}

.ar-title {
  font-size: 13.5px;
  font-weight: 600;
}

.ar-sub {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 公开申请页 ---------- */
.apply-page {
  padding-bottom: 30px;
}

.apply-header {
  padding: 14px 0 16px;
}

.apply-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.ab-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ab-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 1px;
  margin-top: 1px;
}

.apply-main {
  padding-top: 16px;
}

.af-card {
  padding: 18px 16px 20px;
}

.af-staff {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, #f4f9ff, #eaf3ff);
  border: 1px solid #dce9f8;
}

.af-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  background: var(--grad);
}

.af-staff-name {
  font-size: 13.5px;
  font-weight: 600;
}

.af-staff-meta {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 2px;
}

.af-badge {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid #c9ecd8;
}

.af-sec {
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.af-sec-title {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 0 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 14px;
}

.af-form .field {
  margin-bottom: 14px;
}

.af-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-3);
}

.af-note .ico {
  flex: none;
  margin-top: 1px;
}

.apply-foot {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.form-error {
  margin-top: 6px;
  font-size: 12px;
  color: var(--red);
}

/* ---------- 图片上传控件 ---------- */
.upload-field {
  margin-bottom: 16px;
}

.uf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.uf-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.uf-tip {
  font-size: 11.5px;
  color: var(--text-3);
  margin-left: auto;
  text-align: right;
}

.uf-drop {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed #cfdcee;
  background: #fafcff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.uf-drop:hover {
  border-color: var(--brand);
  background: #f4f9ff;
}

.uf-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.uf-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-3);
  text-align: center;
}

.uf-ph b {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

.uf-ph i {
  font-style: normal;
  font-size: 11px;
}

.uf-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  display: block;
}

.uf-drop.has-file {
  border-style: solid;
  border-color: var(--brand);
  background: #fff;
}

.uf-drop.has-file .uf-ph {
  display: none;
}

.upload-field.has-error .uf-drop {
  border-color: var(--red);
  background: #fffafa;
}

/* ---------- 提交成功 / 链接无效 ---------- */
.af-done {
  text-align: center;
  padding: 30px 20px 26px;
}

.afd-ico {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-bg);
}

.afd-ico.err {
  color: var(--orange);
  background: var(--orange-bg);
}

.afd-title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
}

.afd-desc {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.afd-box {
  margin-top: 18px;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  background: #f7fafd;
  border: 1px solid var(--line);
  text-align: left;
}

.afd-tip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-3);
}

/* ---------- 后台：图片查看 ---------- */
.img-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .img-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .img-grid {
    grid-template-columns: 1fr;
  }
}

.img-cell {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7fafd;
}

.img-cell .ic-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-2);
  background: #fff;
}

.img-cell .ic-body {
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef3f9 center/cover no-repeat;
}

.img-cell .ic-foot {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #fff;
}

.img-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--text-3);
  font-size: 12px;
}

.af-no {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}

/* ==================================================================
 * 后台 · 基本信息分节与长文本换行（v1.1.2）
 * ================================================================== */
.kv-sec {
  margin: 2px 0 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--brand);
}
.kv-sec:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.kv-row.wrap {
  align-items: flex-start;
}
.kv-row.wrap .k {
  flex: none;
  padding-top: 1px;
}
.kv-row.wrap .v {
  max-width: 64%;
  text-align: right;
  line-height: 1.55;
  word-break: break-all;
  white-space: normal;
}
.kv-row.empty-v .v {
  font-weight: 500;
  color: var(--text-3);
}

/* ==================================================================
 * 后台 · 网卡管理批量选择（v1.1.7）
 * ================================================================== */
.bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--brand-soft, #F4F8FF);
}

.bulk-bar .cb-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}

.bulk-bar .bulk-count {
  font-size: 12.5px;
  color: var(--text-3);
  padding-left: 4px;
}

.bulk-bar .spacer {
  flex: 1;
}

.table .td-check {
  width: 40px;
  text-align: center;
  padding-left: 10px;
  padding-right: 0;
}

.table .td-check input[type="checkbox"],
.bulk-bar input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
  vertical-align: middle;
}

.table tbody tr.is-picked {
  background: #F4F8FF;
}

.btn-danger-solid {
  background: var(--red) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.btn-danger-solid:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ==================================================================
 * 卡板管理（v1.1.8）
 * ================================================================== */
.quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #EAF2FD;
  color: var(--brand);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.quota-pill:hover {
  background: var(--brand);
  color: #fff;
}
.quota-pill .u {
  font-size: 11px;
  font-weight: 500;
}
.quota-pill.is-empty {
  background: #FDECEB;
  color: #A33A35;
}
.quota-pill.is-empty:hover {
  background: #A33A35;
  color: #fff;
}

.quota-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
}
.quota-radio input {
  accent-color: var(--brand);
  margin: 0;
}
.quota-radio:has(input:checked) {
  border-color: var(--brand);
  background: #EAF2FD;
  color: var(--brand);
  font-weight: 600;
}

/* 职工端 · 卡板余额入口卡（v1.1.8） */
.quota-entry {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.quota-entry .qe-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A6FD8, #00C2FF);
  color: #fff;
}
.quota-entry .qe-main {
  flex: 1;
  min-width: 0;
}
.quota-entry .qe-label {
  font-size: 12.5px;
  color: var(--text-2);
}
.quota-entry .qe-value {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.quota-entry .qe-value small {
  font-size: 13px;
  font-weight: 600;
  margin-left: 3px;
}
.quota-entry .qe-desc {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 2px;
}
.quota-entry .qe-go {
  flex: none;
  color: var(--text-3);
  display: flex;
}

/* ==================================================================
 * 统计卡金额自适应字号（v1.1.9）
 * ------------------------------------------------------------------
 * 职工端统计卡为 3 列等宽，卡内可用宽度有限。金额越长，字号越小，
 * 避免出现被 text-overflow 截断（显示成「￥1,234…」）的情况。
 * ================================================================== */
.stat-card .stat-value.sv-m   { font-size: 20px; letter-spacing: -0.5px; }
.stat-card .stat-value.sv-s   { font-size: 18px; letter-spacing: -0.5px; }
.stat-card .stat-value.sv-xs  { font-size: 16px; letter-spacing: -0.4px; }
.stat-card .stat-value.sv-xxs { font-size: 14px; letter-spacing: -0.3px; }

/* 窄屏（<=400px）：收紧栅格与卡片内边距，进一步给金额让出宽度 */
@media (max-width: 400px) {
  .stat-grid {
    gap: 8px;
  }
  .stat-card {
    padding: 14px 10px;
  }
  .stat-card .stat-label {
    font-size: 11.5px;
    gap: 4px;
  }
  .stat-card .stat-value {
    font-size: 21px;
    letter-spacing: -0.5px;
  }
  .stat-card .stat-value.sv-m   { font-size: 19px; }
  .stat-card .stat-value.sv-s   { font-size: 17px; }
  .stat-card .stat-value.sv-xs  { font-size: 15px; }
  .stat-card .stat-value.sv-xxs { font-size: 13px; }
  .stat-card .stat-value small {
    font-size: 11px;
  }
  .stat-card .stat-foot {
    font-size: 10.5px;
  }
}

/* 三按钮确认弹窗（如「是否退还卡板」）在窄屏下换行，避免挤压 */
@media (max-width: 480px) {
  .modal-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .modal-actions .btn {
    flex: 1 1 auto;
    font-size: 12.5px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .modal-actions .btn[data-act="cancel"] {
    order: 3;
    flex: 1 1 100%;
  }
}

/* ==================================================================
 * 职工端 · 意见反馈卡片（v1.2.1）
 * ================================================================== */
.fb-card {
  padding: 15px 16px;
}
.fb-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.fb-ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EAF2FD, #DDEEFF);
  color: var(--brand);
}
.fb-main {
  flex: 1;
  min-width: 0;
}
.fb-label {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.3;
}
.fb-mail {
  display: inline-block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.fb-mail:active {
  opacity: .7;
}
.fb-copy {
  flex: none;
}
.fb-tip {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ==================================================================
 * 职工端 · 卡板明细（v1.2.2）
 * ================================================================== */
.qh-card {
  padding: 16px;
  background: linear-gradient(150deg, #F7FBFF 0%, #EEF6FF 100%);
  border: 1px solid #DCEAFA;
}
.qh-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.qh-label {
  font-size: 12.5px;
  color: var(--text-2);
}
.qh-value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.qh-value small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 4px;
}
.qh-ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A6FD8, #00C2FF);
  color: #fff;
}
.qh-stats {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.qh-stat {
  flex: 1;
  background: rgba(255, 255, 255, .78);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}
.qh-stat-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.qh-stat-num.plus { color: #12A150; }
.qh-stat-num.minus { color: #E07B1A; }
.qh-stat-label {
  display: block;
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 2px;
}
.qh-tip {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.6;
}

.ql-list {
  padding: 0;
  overflow: hidden;
}
.ql-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line-2);
}
.ql-item:last-child {
  border-bottom: 0;
}
.ql-main {
  flex: 1;
  min-width: 0;
}
.ql-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ql-time {
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.ql-remark {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  word-break: break-all;
}
.ql-side {
  flex: none;
  text-align: right;
  min-width: 52px;
}
.ql-num {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.ql-num.plus { color: #12A150; }
.ql-num.minus { color: #E07B1A; }
.ql-balance {
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
