/* ==========================================================================
   Outbound · Design System
   Primary  #067A5B  深青绿（拨号 / 成功 / 主行动）
   Accent   #FF7A45  珊瑚橙（强调 / 待处理）
   Material 3 tonal + Apple HIG 8pt grid
   ========================================================================== */

:root {
  /* ---- Color ---- */
  --primary: #067A5B;
  --primary-hover: #05654B;
  --primary-press: #044D39;
  --primary-soft: #E6F4EF;
  --primary-soft-2: #D3EDE3;

  --accent: #FF7A45;
  --accent-soft: #FFF0E9;

  --ink: #0F1B17;
  --ink-2: #45564F;
  --ink-3: #8A9A93;
  --ink-4: #B4C1BB;

  --line: #E7ECE9;
  --line-2: #DCE4DF;
  --surface: #FFFFFF;
  --canvas: #F4F7F5;
  --canvas-2: #EDF2EF;

  --danger: #D93F3F;
  --danger-soft: #FDECEC;
  --amber: #B97609;
  --amber-soft: #FEF6E7;
  --blue: #2563EB;
  --blue-soft: #EDF2FE;

  /* ---- Space (8pt) ---- */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;

  /* ---- Radius ---- */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-full: 999px;

  /* ---- Shadow ---- */
  --sh-1: 0 1px 2px rgba(15, 27, 23, .04);
  --sh-2: 0 1px 2px rgba(15, 27, 23, .05), 0 6px 16px -8px rgba(15, 27, 23, .10);
  --sh-3: 0 2px 6px rgba(15, 27, 23, .06), 0 18px 40px -16px rgba(15, 27, 23, .18);
  --sh-dial: 0 10px 28px -8px rgba(6, 122, 91, .42);

  /* ---- Type ---- */
  --font: "Outfit", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: "Outfit", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2, 0, 0, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }

body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   BUTTON
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 16px;
  border-radius: var(--r-sm);
  font-weight: 550; font-size: 13.5px;
  letter-spacing: -.005em;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-2);
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.btn:hover { background: #FAFCFB; border-color: var(--ink-4); color: var(--ink); }
.btn:active { transform: scale(.975); }
.btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.9; fill: none; }

.btn-primary {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 1px 2px rgba(6,122,91,.2), 0 6px 16px -8px rgba(6,122,91,.4);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-primary:active { background: var(--primary-press); }

.btn-soft { background: var(--primary-soft); border-color: transparent; color: var(--primary); }
.btn-soft:hover { background: var(--primary-soft-2); border-color: transparent; color: var(--primary); }

.btn-ghost { border-color: transparent; background: transparent; color: var(--ink-3); }
.btn-ghost:hover { background: var(--canvas-2); border-color: transparent; color: var(--ink); }

.btn-danger { color: var(--danger); border-color: #F3CFCF; }
.btn-danger:hover { background: var(--danger-soft); border-color: #F3CFCF; color: var(--danger); }

.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 7px; }
.btn-sm svg { width: 13px; height: 13px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: var(--r-md); }
.btn-icon { width: 32px; padding: 0; }

/* 表格内的文字操作按钮 */
.link-action {
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 12.5px;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.link-action:hover { text-decoration: underline; }
.link-action.danger { color: var(--danger); }
.link-action[disabled] { color: var(--ink-4); cursor: not-allowed; text-decoration: none; }
.link-action + form .link-action, .link-action + .link-action { margin-left: 10px; }

/* ==========================================================================
   BADGE / CHIP
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600;
  padding: 2.5px 8px; border-radius: var(--r-full);
  white-space: nowrap; letter-spacing: .005em;
}
.badge-green { background: var(--primary-soft); color: var(--primary); }
.badge-gray  { background: var(--canvas-2); color: var(--ink-2); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red   { background: var(--danger-soft); color: var(--danger); }
.badge-blue  { background: var(--blue-soft); color: var(--blue); }
.badge-accent{ background: var(--accent-soft); color: #C2410C; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: 0 0 5px; }

/* ==========================================================================
   CARD
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.card-title { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.card-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.card-head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-body { padding: 20px; }

/* ==========================================================================
   FORM
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.input, .select {
  height: 38px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); outline: none; font-size: 13.5px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input:hover, .select:hover { border-color: var(--ink-4); }
.input:focus, .select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,122,91,.10);
}
.input::placeholder { color: var(--ink-4); }
.select {
  appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A9A93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.search-wrap { position: relative; }
.search-wrap > svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; stroke: var(--ink-3); stroke-width: 2; fill: none;
  pointer-events: none;
}
.search-wrap .input { padding-left: 34px; width: 100%; }

/* ==========================================================================
   TABLE
   ========================================================================== */
.table-wrap { overflow-x: auto; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 600;
  color: var(--ink-3); letter-spacing: .02em;
  padding: 9px 16px; background: #FAFCFB;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 12px 16px; border-bottom: 1px solid #F3F6F4; vertical-align: middle; }
.table tbody tr { transition: background var(--t-fast) var(--ease); }
.table tbody tr:hover { background: #FAFCFB; }
.table tbody tr:last-child td { border-bottom: 0; }
.cell-strong { font-weight: 600; color: var(--ink); }
.cell-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; line-height: 1.45; }

/* ==========================================================================
   HINT
   ========================================================================== */
.hint {
  display: flex; gap: 9px; padding: 12px 14px;
  border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.6;
}
.hint svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1.5px; fill: none; stroke-width: 2; }
.hint-info { background: var(--primary-soft); color: #045C45; }
.hint-info svg { stroke: #045C45; }
.hint-warn { background: var(--amber-soft); color: #8A5806; }
.hint-warn svg { stroke: #8A5806; }

/* ==========================================================================
   PROGRESS
   ========================================================================== */
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-label { width: 76px; font-size: 12.5px; color: var(--ink-2); flex: 0 0 76px; }
.bar-track { flex: 1; height: 7px; background: var(--canvas-2); border-radius: var(--r-full); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-full); transition: width 600ms var(--ease); }
.bar-val { width: 42px; text-align: right; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

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

.sidebar {
  width: 236px; flex: 0 0 236px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 20px 18px 18px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--primary);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px -4px rgba(6,122,91,.5);
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.brand-sub { font-size: 10.5px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }

.nav { padding: 4px 12px; flex: 1; overflow-y: auto; }
.nav-group-title {
  font-size: 10.5px; color: var(--ink-4); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; font-size: 13.5px;
  margin-bottom: 1px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-item:hover { background: var(--canvas); color: var(--ink); }
.nav-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 650; }
.nav-item svg { width: 17px; height: 17px; stroke: var(--ink-3); stroke-width: 1.8; fill: none; flex: 0 0 17px; }
.nav-item.active svg { stroke: var(--primary); }
.nav-item:hover svg { stroke: var(--ink-2); }
.nav-badge {
  margin-left: auto; font-size: 10.5px; font-weight: 700;
  background: var(--accent-soft); color: #C2410C;
  padding: 1px 6px; border-radius: var(--r-full);
}

.sidebar-footer { padding: 12px; border-top: 1px solid var(--line); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); }
.user-chip:hover { background: var(--canvas); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-weight: 650; font-size: 12.5px; flex: 0 0 32px;
}
.user-name { font-size: 13px; font-weight: 600; }
.user-role { font-size: 10.5px; color: var(--ink-4); margin-top: 1px; }

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

.topbar {
  height: 62px; padding: 0 26px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  position: sticky; top: 0; z-index: 20;
}
.page-title { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.crumb { font-size: 11.5px; color: var(--ink-4); margin-top: 1px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 9px; }

.content { padding: 24px 26px 64px; flex: 1; }
.page-section[hidden] { display: none; }

/* ---- stat ---- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 17px 18px;
  box-shadow: var(--sh-1);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.stat:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.stat-top { display: flex; align-items: center; gap: 8px; }
.stat-label { font-size: 12.5px; color: var(--ink-2); font-weight: 550; }
.stat-icon {
  margin-left: auto; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; background: var(--primary-soft);
}
.stat-icon svg { width: 15px; height: 15px; stroke: var(--primary); stroke-width: 2; fill: none; }
.stat-value {
  font-size: 27px; font-weight: 700; letter-spacing: -.03em;
  margin-top: 10px; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat-value .unit { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 3px; letter-spacing: 0; }
.stat-foot { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.trend-up { color: var(--primary); font-weight: 650; }
.trend-down { color: var(--danger); font-weight: 650; }

/* ---- pager ---- */
.pager { display: flex; align-items: center; gap: 5px; padding: 14px 20px; border-top: 1px solid var(--line); }
.pager-info { font-size: 12px; color: var(--ink-3); margin-right: auto; }
.pager-btn {
  min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 7px; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 550; color: var(--ink-2);
  transition: all var(--t-fast) var(--ease);
}
.pager-btn:hover { background: var(--canvas); }
.pager-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---- steps ---- */
.steps { display: flex; align-items: center; margin-bottom: 22px; }
.step { display: flex; align-items: center; gap: 9px; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--canvas-2); color: var(--ink-3);
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700;
  transition: all var(--t-base) var(--ease);
}
.step.active .step-num { background: var(--primary); color: #fff; }
.step.done .step-num { background: var(--primary-soft); color: var(--primary); }
.step-label { font-size: 12.5px; color: var(--ink-3); font-weight: 550; }
.step.active .step-label { color: var(--ink); font-weight: 650; }
.step.done .step-label { color: var(--ink-2); }
.step-line { flex: 1; height: 1px; background: var(--line); margin: 0 14px; }

/* ---- dropzone ---- */
.dropzone {
  border: 1.5px dashed var(--line-2); border-radius: var(--r-lg);
  background: #FBFDFC; padding: 40px 20px; text-align: center;
  transition: all var(--t-base) var(--ease);
}
.dropzone:hover { border-color: var(--primary); background: var(--primary-soft); }
.dropzone-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; margin: 0 auto 14px;
  box-shadow: var(--sh-1);
}
.dropzone-icon svg { width: 21px; height: 21px; stroke: var(--primary); stroke-width: 1.8; fill: none; }
.dropzone-title { font-weight: 600; font-size: 14px; }
.dropzone-desc { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* ---- grids ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-32 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.grid-23 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }

/* ==========================================================================
   LOGIN
   ========================================================================== */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background:
    radial-gradient(900px 520px at 12% -10%, #E4F1EC, transparent 62%),
    radial-gradient(760px 480px at 92% 110%, #EFF1E9, transparent 60%),
    var(--canvas);
}
/* 居中卡片：大屏不再把左右两栏摊满 */
.login-shell {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1fr 424px;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(6, 35, 27, .16), 0 2px 8px rgba(6, 35, 27, .06);
  min-height: 616px;
}
.login-hero {
  background: #06231B; color: #fff; padding: 48px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.login-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 10% 100%, rgba(6,122,91,.55), transparent 70%),
    radial-gradient(600px 400px at 90% 0%, rgba(255,122,69,.18), transparent 65%);
}
.login-hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.09);
  right: -200px; bottom: -260px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.login-hero > * { position: relative; z-index: 1; }
.login-hero h1 { font-size: 33px; line-height: 1.3; font-weight: 700; letter-spacing: -.03em; margin-top: auto; }
.login-hero p { color: rgba(255,255,255,.62); margin-top: 15px; font-size: 14px; max-width: 400px; line-height: 1.75; }
.hero-features { margin-top: 36px; display: flex; flex-direction: column; gap: 13px; }
.hero-feature { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: rgba(255,255,255,.84); }
.hero-feature .tick {
  width: 21px; height: 21px; border-radius: 50%; flex: 0 0 21px;
  background: rgba(6,122,91,.4); display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14);
}
.hero-feature .tick svg { width: 11px; height: 11px; stroke: #7FE3BE; stroke-width: 3; fill: none; }
.login-panel { display: grid; place-items: center; padding: 40px; }
.login-box { width: 100%; max-width: 322px; }
.login-box h2 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.login-box .sub { color: var(--ink-3); font-size: 13px; margin-top: 7px; margin-bottom: 28px; }
.login-box .field { margin-bottom: 15px; }
.login-box .btn { width: 100%; height: 44px; margin-top: 10px; border-radius: var(--r-md); font-size: 14.5px; }
.login-tip { margin-top: 18px; font-size: 11.5px; color: var(--ink-4); text-align: center; }

/* ==========================================================================
   PHONE / MINI PROGRAM
   ========================================================================== */
.phone-stage {
  min-height: 100vh; background: #E9EEEB;
  display: flex; align-items: center; justify-content: center;
  padding: 30px 20px; gap: 44px;
}
.phone-frame {
  width: 390px; height: 844px; flex: 0 0 390px;
  background: #0B1512; border-radius: 48px; padding: 10px;
  box-shadow: 0 44px 90px -34px rgba(15,27,23,.42), 0 0 0 1px rgba(0,0,0,.05),
              inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%; background: var(--canvas);
  border-radius: 39px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}

.mp-statusbar {
  height: 46px; flex: 0 0 46px; display: flex; align-items: center;
  padding: 0 24px; font-size: 12.5px; font-weight: 650; color: var(--ink);
  position: relative; z-index: 12;
}
.mp-statusbar .notch {
  position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  width: 96px; height: 27px; background: #0B1512; border-radius: 15px;
}
.mp-statusbar .right { margin-left: auto; display: flex; gap: 5px; align-items: center; }

.mp-navbar {
  height: 46px; flex: 0 0 46px; display: flex; align-items: center; justify-content: center;
  font-size: 16.5px; font-weight: 700; letter-spacing: -.02em;
  padding: 0 16px; position: relative; background: var(--canvas); z-index: 10;
}
.mp-navbar.on-white { background: var(--surface); }
.mp-back {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  transition: background var(--t-fast) var(--ease);
}
.mp-back:active { background: var(--canvas-2); }
.mp-back svg { width: 19px; height: 19px; stroke: var(--ink); stroke-width: 2.2; fill: none; }
.mp-nav-action {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; font-weight: 600; color: var(--primary);
}

.mp-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--canvas); }
.mp-body::-webkit-scrollbar { width: 0; }

.mp-page { display: none; flex-direction: column; flex: 1; min-height: 0; }
.mp-page.active { display: flex; }
.mp-page.active > * { animation: fadeUp 320ms var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* tabbar */
.mp-tabbar {
  flex: 0 0 62px; background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: flex; padding-bottom: 8px; z-index: 9;
}
.mp-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 10.5px; color: var(--ink-3); padding-top: 6px;
  transition: color var(--t-fast) var(--ease);
}
.mp-tab svg { width: 21px; height: 21px; stroke: var(--ink-3); stroke-width: 1.7; fill: none; transition: stroke var(--t-fast); }
.mp-tab.active { color: var(--primary); font-weight: 650; }
.mp-tab.active svg { stroke: var(--primary); }
.mp-home-bar {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 128px; height: 4.5px; border-radius: 4px; background: #0B1512; opacity: .82; z-index: 40;
}

/* ---- 大标题头（任务页） ---- */
.mp-header { background: var(--canvas); padding: 2px 20px 0; }
.mp-header-top { display: flex; align-items: flex-start; gap: 10px; }
.mp-title { font-size: 25px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.mp-subtitle { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.mp-header-actions { margin-left: auto; display: flex; gap: 8px; }
.mp-round-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--sh-1);
  transition: transform var(--t-fast) var(--ease);
}
.mp-round-btn:active { transform: scale(.94); }
.mp-round-btn svg { width: 18px; height: 18px; stroke: var(--ink-2); stroke-width: 1.9; fill: none; }

/* 顶部大 tab（个人/企业） */
.mp-bigtabs { display: flex; gap: 22px; padding: 16px 20px 0; align-items: baseline; }
.mp-bigtab {
  font-size: 15px; font-weight: 500; color: var(--ink-3);
  padding-bottom: 9px; position: relative; transition: color var(--t-base) var(--ease);
}
.mp-bigtab.on { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.025em; }
.mp-bigtab.on::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 3px;
  background: var(--primary); border-radius: 3px;
}

/* 分段 tabs（全部/未完成/已完成） */
.mp-segtabs {
  display: flex; gap: 26px; padding: 6px 20px 0; border-bottom: 1px solid var(--line);
}
.mp-segtab {
  font-size: 13px; color: var(--ink-3); font-weight: 500;
  padding: 10px 0 11px; position: relative;
}
.mp-segtab.on { color: var(--ink); font-weight: 650; }
.mp-segtab.on::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -1px; width: 20px; height: 2.5px; background: var(--primary); border-radius: 3px;
}

/* ---- 任务卡片 ---- */
.mp-task-list { padding: 14px 16px 176px; display: flex; flex-direction: column; gap: 11px; }
.mp-task {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 15px 16px 14px;
  box-shadow: var(--sh-1);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
  position: relative; overflow: hidden;
}
.mp-task:active { transform: scale(.985); box-shadow: var(--sh-2); }
.mp-task-top { display: flex; align-items: center; gap: 8px; }
.mp-task-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; }
.mp-task-meta { font-size: 11px; color: var(--ink-4); margin-top: 3px; }
.mp-task-stats { display: flex; margin-top: 14px; }
.mp-task-stat { flex: 1; }
.mp-task-stat b {
  display: block; font-size: 19px; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.mp-task-stat span { font-size: 10.5px; color: var(--ink-3); }
.mp-task-stat b.dim { color: var(--ink-4); font-weight: 600; }
.mp-task-progress { margin-top: 12px; display: flex; align-items: center; gap: 9px; }
.mp-task-progress .track { flex: 1; height: 5px; background: var(--canvas-2); border-radius: var(--r-full); overflow: hidden; }
.mp-task-progress .fill { height: 100%; background: var(--primary); border-radius: var(--r-full); }
.mp-task-progress .pct { font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* FAB */
.mp-fab {
  position: absolute; right: 18px; bottom: 86px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--primary); display: grid; place-items: center;
  box-shadow: 0 8px 22px -6px rgba(6,122,91,.55);
  z-index: 15; transition: transform var(--t-fast) var(--spring);
}
.mp-fab:active { transform: scale(.92); }
.mp-fab svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 2.2; fill: none; }

/* ---- 任务详情 ---- */
.mp-ring-card {
  background: var(--surface); border-radius: var(--r-lg);
  margin: 12px 16px 0; padding: 20px 18px 18px;
  border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.mp-rings { display: flex; justify-content: space-around; }
.mp-ring { text-align: center; }
.mp-ring-wrap { position: relative; width: 96px; height: 96px; }
.mp-ring-wrap svg { transform: rotate(-90deg); }
.mp-ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.mp-ring-val { font-size: 18px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mp-ring-label { font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.mp-ring-caption { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }

.mp-detail-counts { display: flex; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mp-detail-count { flex: 1; text-align: center; }
.mp-detail-count b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; display: block; }
.mp-detail-count span { font-size: 10.5px; color: var(--ink-3); }

/* 客户行 */
.mp-customer-list { padding: 4px 16px 176px; display: flex; flex-direction: column; gap: 8px; }
.mp-customer {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 14px;
  display: flex; gap: 12px; align-items: flex-start;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}
.mp-customer:active { transform: scale(.988); box-shadow: var(--sh-2); }
.mp-customer-main { flex: 1; min-width: 0; }
.mp-customer-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mp-customer-name { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.mp-customer-phone { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mp-customer-lines { margin-top: 7px; display: flex; flex-direction: column; gap: 3px; }
.mp-customer-line { font-size: 11.5px; color: var(--ink-3); display: flex; gap: 5px; line-height: 1.5; }
.mp-customer-line svg { width: 12px; height: 12px; stroke: var(--ink-4); stroke-width: 1.9; fill: none; flex: 0 0 12px; margin-top: 1px; }
.mp-customer-line b { font-weight: 500; color: var(--ink-2); }
.mp-call-btn {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--primary-soft); display: grid; place-items: center;
  align-self: center; transition: transform var(--t-fast) var(--spring), background var(--t-fast);
}
.mp-call-btn:active { transform: scale(.9); background: var(--primary-soft-2); }
.mp-call-btn svg { width: 17px; height: 17px; stroke: var(--primary); stroke-width: 2; fill: none; }

.mp-sortbar {
  padding: 10px 18px 2px; display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--ink-3);
}
.mp-sortbar svg { width: 12px; height: 12px; stroke: var(--ink-4); stroke-width: 2; fill: none; }
.mp-sortbar .val { color: var(--ink-2); font-weight: 550; }

.mp-search-inline { padding: 12px 16px 2px; }
.mp-search-inline .box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); height: 40px;
  display: flex; align-items: center; gap: 8px; padding: 0 13px;
}
.mp-search-inline svg { width: 15px; height: 15px; stroke: var(--ink-3); stroke-width: 2; fill: none; }
.mp-search-inline input { border: 0; outline: none; background: transparent; flex: 1; font-size: 13px; }

/* ---- 客户详情 ---- */
.mp-profile { background: var(--surface); padding: 22px 20px 24px; text-align: center; }
.mp-profile-avatar {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 11px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 21px; font-weight: 700;
}
.mp-profile-name { font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.mp-profile-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.mp-profile-phone {
  font-size: 25px; font-weight: 700; letter-spacing: .01em;
  margin-top: 16px; font-variant-numeric: tabular-nums;
}
.mp-profile-tags { display: flex; gap: 6px; justify-content: center; margin-top: 11px; flex-wrap: wrap; }
.mp-dial-btn {
  width: 76px; height: 76px; border-radius: 50%; margin: 20px auto 0;
  background: var(--primary); display: grid; place-items: center;
  box-shadow: var(--sh-dial);
  transition: transform var(--t-base) var(--spring);
}
.mp-dial-btn:active { transform: scale(.93); }
.mp-dial-btn svg { width: 31px; height: 31px; stroke: #fff; stroke-width: 2; fill: none; }
.mp-dial-tip { font-size: 11px; color: var(--ink-3); margin-top: 10px; }

.mp-block {
  background: var(--surface); border-radius: var(--r-lg);
  margin: 10px 16px 0; border: 1px solid var(--line);
  overflow: hidden;
}
.mp-block-head {
  padding: 14px 16px 0; font-size: 12.5px; font-weight: 650;
  display: flex; align-items: center; gap: 6px;
}
.mp-block-head .more { margin-left: auto; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.mp-kv { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.mp-kv-row { display: flex; font-size: 12.5px; line-height: 1.65; }
.mp-kv-row .k { width: 58px; flex: 0 0 58px; color: var(--ink-3); }
.mp-kv-row .v { flex: 1; color: var(--ink-2); }
.mp-kv-row .v.mono { color: var(--ink); letter-spacing: .02em; }

.mp-timeline { padding: 10px 16px 16px; }
.mp-tl-item { display: flex; gap: 10px; padding-top: 11px; position: relative; }
.mp-tl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); margin-top: 6px; flex: 0 0 7px; position: relative; z-index: 1; }
.mp-tl-dot.ok { background: var(--primary); }
.mp-tl-dot.fail { background: #D9A227; }
.mp-tl-item:not(:last-child)::before {
  content: ""; position: absolute; left: 3px; top: 17px; bottom: -7px; width: 1px; background: var(--line);
}
.mp-tl-title { font-size: 12.5px; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mp-tl-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.55; }

.mp-bottom-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 14;
  padding: 12px 16px 26px;
  background: linear-gradient(to top, var(--surface) 74%, rgba(255,255,255,0));
  display: flex; gap: 10px;
}
.mp-btn {
  height: 48px; border-radius: var(--r-md); flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 15px; font-weight: 650; letter-spacing: -.01em;
  background: var(--canvas-2); color: var(--ink-2);
  transition: transform var(--t-fast) var(--ease);
}
.mp-btn:active { transform: scale(.98); }
.mp-btn svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill: none; }
.mp-btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px -8px rgba(6,122,91,.5); }
.mp-btn.ghost { background: var(--surface); border: 1px solid var(--line-2); }

/* ---- 登记 ---- */
.mp-reg-head { background: var(--surface); padding: 16px 20px 18px; text-align: center; }
.mp-reg-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; }
.mp-reg-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }

.mp-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 16px; }
.mp-result {
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 14px 6px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--surface);
  transition: all var(--t-fast) var(--ease);
}
.mp-result:active { transform: scale(.97); }
.mp-result svg { width: 19px; height: 19px; stroke: var(--ink-3); stroke-width: 1.9; fill: none; }
.mp-result span { font-size: 12px; color: var(--ink-2); font-weight: 550; }
.mp-result.on { border-color: var(--primary); background: var(--primary-soft); }
.mp-result.on svg { stroke: var(--primary); }
.mp-result.on span { color: var(--primary); font-weight: 650; }

.mp-stars { display: flex; gap: 7px; padding: 12px 16px 16px; }
.mp-star {
  flex: 1; padding: 11px 4px; text-align: center;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: 13px; font-weight: 650; color: var(--ink-2); background: var(--surface);
  transition: all var(--t-fast) var(--ease);
}
.mp-star small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.mp-star.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.mp-star.on small { color: var(--primary); }

.mp-quick-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px 14px; }
.mp-qtag {
  font-size: 12px; padding: 7px 12px; border-radius: var(--r-full);
  background: var(--canvas-2); color: var(--ink-2);
  transition: all var(--t-fast) var(--ease);
}
.mp-qtag.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.mp-textarea {
  width: 100%; border: 0; outline: none; resize: none;
  font-size: 13px; line-height: 1.7; padding: 0 16px 16px; min-height: 70px;
  color: var(--ink-2); background: transparent;
}
.mp-note-warn {
  margin: 10px 16px 0; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--amber-soft); font-size: 11.5px; color: #8A5806; line-height: 1.65;
}

/* ---- 工作台 ---- */
.mp-workbench-banner {
  margin: 8px 16px 0; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, #06231B, #0A4635 55%, #067A5B);
  padding: 20px; color: #fff; position: relative;
}
.mp-workbench-banner::after {
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  right: -50px; top: -60px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 34px rgba(255,255,255,.04);
}
.mp-wb-eyebrow { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.mp-wb-title { font-size: 19px; font-weight: 700; margin-top: 6px; letter-spacing: -.025em; position: relative; }
.mp-wb-desc { font-size: 11.5px; opacity: .62; margin-top: 6px; line-height: 1.6; max-width: 230px; position: relative; }

.mp-grid-menu {
  margin: 12px 16px 0; background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--line); padding: 18px 10px 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 4px;
}
.mp-grid-item { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mp-grid-icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  transition: transform var(--t-fast) var(--spring);
}
.mp-grid-item:active .mp-grid-icon { transform: scale(.92); }
.mp-grid-icon svg { width: 21px; height: 21px; stroke-width: 1.9; fill: none; }
.mp-grid-label { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.g-green { background: var(--primary-soft); } .g-green svg { stroke: var(--primary); }
.g-orange { background: var(--accent-soft); } .g-orange svg { stroke: #E5622F; }
.g-blue { background: var(--blue-soft); } .g-blue svg { stroke: var(--blue); }
.g-amber { background: var(--amber-soft); } .g-amber svg { stroke: var(--amber); }
.g-violet { background: #F3EEFE; } .g-violet svg { stroke: #7C3AED; }
.g-rose { background: #FDEEF3; } .g-rose svg { stroke: #D6407F; }

.mp-chart-card { margin: 12px 16px 100px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 16px 14px 10px; }
.mp-chart-head { display: flex; align-items: center; padding: 0 4px 12px; }
.mp-chart-title { font-size: 13px; font-weight: 650; }
.mp-chart-legend { margin-left: auto; display: flex; gap: 10px; font-size: 10px; color: var(--ink-3); }
.mp-chart-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 3px; }

/* ---- 记录 ---- */
.mp-rec-stats { display: flex; margin: 10px 16px 4px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 15px 0; }
.mp-rec-stat { flex: 1; text-align: center; }
.mp-rec-stat b { font-size: 17px; font-weight: 700; display: block; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mp-rec-stat span { font-size: 10.5px; color: var(--ink-3); }
.mp-day-label { padding: 14px 20px 8px; font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }

.mp-rec-list { padding: 0 16px 100px; display: flex; flex-direction: column; gap: 8px; }
.mp-rec {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 13px 14px; display: flex; gap: 11px;
}
.mp-rec-icon { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px; display: grid; place-items: center; background: var(--primary-soft); }
.mp-rec-icon svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; fill: none; }
.mp-rec-icon.fail { background: var(--amber-soft); }
.mp-rec-icon.fail svg { stroke: var(--amber); }
.mp-rec-main { flex: 1; min-width: 0; }
.mp-rec-top { display: flex; align-items: center; gap: 7px; }
.mp-rec-name { font-size: 14px; font-weight: 650; }
.mp-rec-time { margin-left: auto; font-size: 10.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.mp-rec-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.mp-rec-note {
  font-size: 11px; color: var(--ink-3); margin-top: 6px; background: var(--canvas);
  border-radius: 6px; padding: 5px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- 我的 ---- */
.mp-me-head { background: var(--surface); padding: 20px 20px 18px; display: flex; align-items: center; gap: 13px; }
.mp-me-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), #0FA87C); color: #fff;
  display: grid; place-items: center; font-size: 21px; font-weight: 700;
  box-shadow: 0 6px 18px -8px rgba(6,122,91,.55);
}
.mp-me-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.mp-me-id { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.mp-me-quick { display: flex; background: var(--surface); padding: 0 0 18px; }
.mp-me-cell { flex: 1; text-align: center; }
.mp-me-cell b { font-size: 17px; font-weight: 700; display: block; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mp-me-cell span { font-size: 10.5px; color: var(--ink-3); }
.mp-menu { background: var(--surface); margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mp-menu-item { display: flex; align-items: center; gap: 12px; padding: 15px 20px; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid #F5F7F6; }
.mp-menu-item:last-child { border-bottom: 0; }
.mp-menu-item:active { background: var(--canvas); }
.mp-menu-item svg.ic { width: 18px; height: 18px; stroke: var(--ink-3); stroke-width: 1.8; fill: none; }
.mp-menu-item .arrow { margin-left: auto; width: 15px; height: 15px; stroke: var(--ink-4); stroke-width: 2; fill: none; }
.mp-menu-item .val { margin-left: auto; font-size: 12px; color: var(--ink-3); }

/* ---- 登录 ---- */
.mp-login { padding: 0 28px; display: flex; flex-direction: column; flex: 1; background: var(--surface); }
.mp-login-logo {
  width: 66px; height: 66px; border-radius: 19px; margin: 56px auto 18px;
  background: var(--primary); display: grid; place-items: center;
  box-shadow: 0 16px 32px -12px rgba(6,122,91,.6);
}
.mp-login-logo svg { width: 31px; height: 31px; stroke: #fff; stroke-width: 1.9; fill: none; }
.mp-login h2 { text-align: center; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.mp-login p { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; margin-bottom: 32px; line-height: 1.6; }
.mp-input-row {
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px;
  padding: 14px 2px; transition: border-color var(--t-fast);
}
.mp-input-row:focus-within { border-color: var(--primary); }
.mp-input-row svg { width: 17px; height: 17px; stroke: var(--ink-3); stroke-width: 1.8; fill: none; }
.mp-input-row input { flex: 1; border: 0; outline: none; font-size: 14.5px; background: transparent; }
.mp-login .mp-btn { margin-top: 28px; }
.mp-login-foot { margin-top: auto; padding-bottom: 34px; text-align: center; font-size: 10.5px; color: var(--ink-4); line-height: 1.9; }

/* ---- 拨号遮罩 ---- */
.mp-calling {
  position: absolute; inset: 0; z-index: 50;
  background: radial-gradient(700px 500px at 50% 0%, #0E4E3C, #06231B 62%, #041A14);
  color: #fff; display: none; flex-direction: column;
  align-items: center; justify-content: center; padding: 0 30px;
}
.mp-calling.show { display: flex; animation: fadeIn 220ms var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mp-calling-name { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.mp-calling-num { font-size: 14.5px; opacity: .6; margin-top: 7px; letter-spacing: .04em; }
.mp-calling-pulse {
  width: 104px; height: 104px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center; margin: 34px 0 26px;
  animation: pulse 2s ease-out infinite;
}
.mp-calling-pulse svg { width: 40px; height: 40px; stroke: #fff; stroke-width: 1.7; fill: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.2); }
  100% { box-shadow: 0 0 0 48px rgba(255,255,255,0); }
}
.mp-calling-status { font-size: 13px; opacity: .72; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mp-calling-tip { font-size: 11px; opacity: .38; text-align: center; line-height: 1.8; margin-top: 10px; }
.mp-calling-end {
  width: 64px; height: 64px; border-radius: 50%; background: #E5484D;
  display: grid; place-items: center; margin-top: 40px;
  box-shadow: 0 10px 24px -8px rgba(229,72,77,.7);
  transition: transform var(--t-fast) var(--spring);
}
.mp-calling-end:active { transform: scale(.92); }
.mp-calling-end svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 2; fill: none; transform: rotate(135deg); }

/* ---- 空态 ---- */
.mp-empty { padding: 58px 20px; text-align: center; }
.mp-empty-art {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 26px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--sh-1);
}
.mp-empty-art svg { width: 38px; height: 38px; stroke: var(--ink-4); stroke-width: 1.5; fill: none; }
.mp-empty-title { font-size: 13px; color: var(--ink-3); }

/* 首页 · 直接拨打 */
.mp-quickdial {
  position: absolute; left: 16px; right: 16px; bottom: 74px; z-index: 20;
  height: 58px; border-radius: var(--r-lg);
  background: var(--primary); color: #fff;
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  box-shadow: 0 14px 30px -12px rgba(6,122,91,.65);
  transition: transform var(--t-fast) var(--spring), background var(--t-fast);
}
.mp-quickdial:active { transform: scale(.972); background: var(--primary-hover); }
.mp-quickdial-ico {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
  background: rgba(255,255,255,.16);
  display: grid; place-items: center;
}
.mp-quickdial-ico svg { width: 17px; height: 17px; stroke: #fff; stroke-width: 2; fill: none; }
.mp-quickdial-text { min-width: 0; }
.mp-quickdial-title { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.mp-quickdial-sub {
  display: block; font-size: 10.5px; opacity: .68; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mp-quickdial-arrow { margin-left: auto; width: 18px; height: 18px; stroke: rgba(255,255,255,.7); stroke-width: 2.2; fill: none; }

/* ---- 侧边说明 ---- */
.stage-notes { max-width: 306px; }
.stage-notes h3 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.stage-notes ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.stage-notes li { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; padding-left: 16px; position: relative; }
.stage-notes li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4);
}
.stage-notes li b { color: var(--ink); font-weight: 650; }
.stage-notes .back-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .stage-notes { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-32, .grid-23 { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; max-width: 460px; min-height: 0; }
  .login-hero { display: none; }
  .login-wrap { padding: 24px 16px; }
}
@media (max-width: 720px) {
  .phone-stage { padding: 0; }
  .phone-frame { width: 100%; height: 100vh; border-radius: 0; padding: 0; }
  .phone-screen { border-radius: 0; }
  .phone-frame .notch { display: none; }
  .mp-home-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
