/* ============================================================
   智落 · 运营中台（admin.css）
   深色数据驾驶舱：固定侧栏 + 顶栏 + 视图区 + 右侧抽屉 + 弹窗
   依赖 base.css 的 tokens / 按钮 / 表单 / 表格 / 时间线 / Toast
   ============================================================ */

/* ---------- 全局补充 ---------- */
[hidden] { display: none !important; }
.admin-body { overflow-x: hidden; }
.admin-body.drawer-open { overflow: hidden; }
.admin-body .zl-input,
.admin-body .zl-select,
.admin-body .zl-textarea { background-color: rgba(6, 16, 34, 0.6); }
.admin-body > .zl-toast-wrap { z-index: 200; }

@keyframes admin-spin { to { transform: rotate(360deg); } }
.spin {
  display: inline-block; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28); border-top-color: currentColor;
  animation: admin-spin 0.7s linear infinite; vertical-align: -2px;
}
@keyframes admin-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes admin-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
@keyframes admin-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============================================================
   登录页
   ============================================================ */
.login-shell {
  position: fixed; inset: 0; z-index: 10;
  display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(1000px 620px at 50% -12%, rgba(37, 99, 235, 0.22), transparent 62%),
    radial-gradient(760px 520px at 84% 108%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(620px 420px at 2% 100%, rgba(14, 165, 233, 0.12), transparent 62%),
    #050b18;
  overflow: hidden;
}
.login-glow {
  position: absolute; width: 760px; height: 760px; left: 50%; top: -420px; transform: translateX(-50%);
  background: conic-gradient(from 210deg at 50% 50%, rgba(56, 189, 248, 0.16), transparent 30%, transparent 62%, rgba(99, 102, 241, 0.14), transparent);
  filter: blur(38px); pointer-events: none;
}
.login-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
}
.login-card {
  position: relative; z-index: 2; width: min(430px, 100%);
  padding: 34px 34px 26px;
  background: linear-gradient(168deg, rgba(15, 33, 63, 0.92), rgba(8, 20, 41, 0.94));
  border: 1px solid var(--zl-border-hi);
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(2, 8, 23, 0.65), 0 0 0 1px rgba(56, 189, 248, 0.06) inset, 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(22px);
  animation: admin-fade-up 0.4s ease both;
}
.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.login-brand .brand-mark,
.sidebar-logo .brand-mark {
  display: inline-flex; width: 38px; height: 38px; border-radius: 11px;
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.35); flex: none; overflow: hidden;
}
.login-brand .brand-mark svg, .sidebar-logo .brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 16px; letter-spacing: 0.08em; color: var(--zl-ink); }
.brand-text span { font-size: 9.5px; letter-spacing: 0.22em; color: var(--zl-faint); margin-top: 3px; }
.login-heading { margin-bottom: 24px; }
.login-heading h1 { font-size: 26px; letter-spacing: -0.01em; color: #f1f6ff; }
.login-dot { color: var(--zl-accent); margin: 0 2px; }
.login-heading p { margin-top: 8px; font-size: 12.5px; color: var(--zl-muted); letter-spacing: 0.03em; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-input-wrap { position: relative; display: block; }
.login-input-wrap .zl-input { height: 46px; padding-left: 40px; padding-right: 40px; }
.login-input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--zl-faint); pointer-events: none; }
.login-eye {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border: 0; border-radius: 8px; background: transparent; color: var(--zl-faint);
}
.login-eye:hover { color: var(--zl-ink-2); background: rgba(148, 163, 184, 0.1); }
.login-error {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px; font-size: 12.5px;
  background: var(--zl-danger-soft); border: 1px solid rgba(239, 68, 68, 0.32); color: #fecaca;
  animation: admin-shake 0.42s ease;
}
.login-error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(239, 68, 68, 0.28); font-weight: 800; font-size: 11px; flex: none; }
.login-submit { margin-top: 2px; height: 46px; }
.login-submit.is-loading span { opacity: 0.75; }
.demo-account {
  display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 18px;
  border-top: 1px dashed rgba(96, 165, 250, 0.18);
}
.demo-label { font-size: 11px; color: var(--zl-faint); letter-spacing: 0.1em; flex: none; }
.demo-fill {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 8px 12px; border-radius: 9px; cursor: pointer;
  border: 1px dashed rgba(96, 165, 250, 0.28); background: rgba(56, 189, 248, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.demo-fill:hover { border-color: var(--zl-accent); background: rgba(56, 189, 248, 0.11); }
.demo-cred { font-family: var(--zl-mono); font-size: 12px; color: #bae6fd; letter-spacing: 0.02em; }
.demo-sep { color: var(--zl-faint); }
.demo-hint { margin-left: auto; font-size: 10.5px; color: var(--zl-faint); white-space: nowrap; }
.login-foot { margin-top: 20px; text-align: center; font-size: 10.5px; color: var(--zl-faint); letter-spacing: 0.04em; }

/* ============================================================
   应用框架
   ============================================================ */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 40;
  width: 224px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #08152a 0%, #060e1e 100%);
  border-right: 1px solid var(--zl-border);
}
.sidebar::after {
  content: ''; position: absolute; right: -1px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.35), transparent 40%, transparent 72%, rgba(99, 102, 241, 0.28));
  pointer-events: none;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 10px; height: 66px; padding: 0 18px; flex: none;
  border-bottom: 1px solid rgba(96, 165, 250, 0.1); color: var(--zl-ink);
}
.sidebar-logo:hover { opacity: 1; }
.sidebar-logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sidebar-logo-text b { font-size: 13.5px; letter-spacing: 0.02em; white-space: nowrap; }
.sidebar-logo-text em { font-style: normal; font-size: 8.5px; letter-spacing: 0.24em; color: var(--zl-faint); margin-top: 3px; white-space: nowrap; }
.sidebar-section-label {
  padding: 20px 20px 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--zl-faint); text-transform: uppercase;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; padding: 0 12px; flex: 1; overflow-y: auto; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 11px;
  height: 42px; padding: 0 12px; border-radius: 10px;
  color: var(--zl-muted); font-size: 13.5px; font-weight: 550;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-item:hover { color: var(--zl-ink); background: rgba(148, 163, 184, 0.08); }
.nav-item.active { color: #e0f2fe; background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0.05)); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2) inset; }
.nav-item.active::before {
  content: ''; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px;
  border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #38bdf8, #6366f1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}
.nav-icon { display: inline-flex; width: 18px; height: 18px; flex: none; opacity: 0.9; }
.nav-icon svg { width: 18px; height: 18px; }
.nav-item.active .nav-icon { color: var(--zl-accent); }
.nav-label { flex: 1; white-space: nowrap; }
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--zl-danger-soft); border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5; font-size: 10.5px; font-weight: 700;
}
.sidebar-status {
  display: flex; align-items: center; gap: 10px; margin: 12px 14px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(52, 211, 153, 0.05); border: 1px solid rgba(52, 211, 153, 0.16);
}
.sidebar-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zl-success); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); animation: admin-blink 2.4s ease infinite; flex: none; }
.sidebar-status div { min-width: 0; }
.sidebar-status b { display: block; font-size: 11px; color: #a7f3d0; white-space: nowrap; }
.sidebar-status em { display: block; font-style: normal; font-size: 10px; color: var(--zl-faint); margin-top: 1px; white-space: nowrap; }
.sidebar-foot { flex: none; padding: 14px; border-top: 1px solid rgba(96, 165, 250, 0.1); display: flex; flex-direction: column; gap: 10px; }
.account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.account-avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none;
  border-radius: 50%; font-size: 13px; font-weight: 700; color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(99, 102, 241, 0.35));
  border: 1px solid rgba(56, 189, 248, 0.4);
}
.account-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.account-meta b { font-size: 12.5px; color: var(--zl-ink); white-space: nowrap; }
.account-meta em { font-style: normal; font-size: 10.5px; color: var(--zl-faint); }

.main-shell { flex: 1; min-width: 0; margin-left: 224px; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 30; flex: none;
  display: flex; align-items: center; gap: 20px; height: 66px; padding: 0 24px;
  background: rgba(6, 13, 31, 0.82); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--zl-border);
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--zl-faint); flex: none; }
.crumb svg { opacity: 0.55; }
.crumb b { font-size: 14px; font-weight: 650; color: var(--zl-ink); letter-spacing: 0.01em; }
.crumb-root { letter-spacing: 0.04em; }
.topbar-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  width: min(360px, 30vw); height: 38px; padding: 0 12px; margin-left: auto;
  border-radius: 10px; border: 1px solid var(--zl-border);
  background: rgba(6, 16, 34, 0.6); color: var(--zl-faint);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.topbar-search:focus-within { border-color: var(--zl-accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12); background: rgba(8, 21, 44, 0.85); }
.topbar-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
  color: var(--zl-ink); font-size: 12.5px;
}
.topbar-search input::placeholder { color: var(--zl-faint); }
.topbar-search input::-webkit-search-cancel-button { filter: grayscale(1) invert(0.6); }
.search-kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 4px; border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.24); background: rgba(148, 163, 184, 0.08);
  font-family: var(--zl-mono); font-size: 10px; color: var(--zl-faint);
}
.topbar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.topbar-actions .zl-btn { height: 34px; padding: 0 13px; font-size: 12.5px; }
.topbar-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 9px; border: 1px solid var(--zl-border); background: rgba(148, 163, 184, 0.06);
  color: var(--zl-ink-2); transition: all 0.2s ease;
}
.topbar-icon-btn:hover { color: var(--zl-ink); border-color: var(--zl-border-hi); background: rgba(56, 189, 248, 0.1); }
.topbar-icon-btn.is-loading svg { animation: admin-spin 0.8s linear infinite; }
.topbar-clock {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  padding-left: 14px; border-left: 1px solid var(--zl-border); min-width: 92px;
}
.topbar-clock b { font-family: var(--zl-mono); font-size: 14px; font-weight: 600; color: #e0f2fe; letter-spacing: 0.04em; }
.topbar-clock span { font-size: 10px; color: var(--zl-faint); letter-spacing: 0.03em; margin-top: 2px; }
.view-root { flex: 1; min-width: 0; padding: 20px 24px 44px; }
.view-root > .page-head { animation: admin-fade-up 0.28s ease both; }

/* ---------- 页面标题 ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.page-head h2 { font-size: 20px; letter-spacing: -0.01em; }
.page-sub { margin-top: 5px; font-size: 12px; color: var(--zl-muted); }
.page-head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.page-head-actions .zl-btn { height: 36px; font-size: 12.5px; }

/* ---------- 通用面板 ---------- */
.panel {
  display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(180deg, rgba(15, 32, 61, 0.72), rgba(11, 25, 48, 0.72));
  border: 1px solid var(--zl-border); border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow-sm); backdrop-filter: blur(14px);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--zl-border); flex: none;
}
.panel-title { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 650; color: var(--zl-ink); }
.panel-title::before {
  content: ''; width: 3px; height: 13px; border-radius: 2px; flex: none;
  background: linear-gradient(180deg, #38bdf8, #6366f1); box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}
.panel-sub { font-size: 11px; color: var(--zl-faint); }
.panel-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.panel-body { padding: 16px 18px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.panel-body-flush { padding: 0; }
.panel-body-scroll { overflow: auto; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: 999px; background: rgba(52, 211, 153, 0.09); border: 1px solid rgba(52, 211, 153, 0.24);
  font-size: 10.5px; font-weight: 600; color: #6ee7b7; letter-spacing: 0.05em;
}
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--zl-success); animation: admin-blink 1.8s ease infinite; }
.refresh-note { font-size: 10.5px; color: var(--zl-faint); font-variant-numeric: tabular-nums; }

/* ============================================================
   总览
   ============================================================ */
.ov-wrap { display: flex; flex-direction: column; gap: 16px; animation: admin-fade-up 0.3s ease both; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-card {
  position: relative; overflow: hidden; min-width: 0;
  padding: 15px 17px 13px; border-radius: var(--zl-radius);
  background: linear-gradient(165deg, rgba(18, 38, 72, 0.78), rgba(10, 23, 45, 0.8));
  border: 1px solid var(--zl-border);
  box-shadow: var(--zl-shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover { transform: translateY(-2px); border-color: var(--zl-border-hi); box-shadow: var(--zl-glow); }
.kpi-card::after {
  content: ''; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, var(--kpi-glow, rgba(56, 189, 248, 0.16)), transparent 68%);
  pointer-events: none;
}
.kpi-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--kpi-bar, linear-gradient(180deg, #38bdf8, rgba(56, 189, 248, 0.1)));
  opacity: 0.9;
}
.kpi-card.tone-accent { --kpi-glow: rgba(56, 189, 248, 0.2); --kpi-bar: linear-gradient(180deg, #38bdf8, rgba(56, 189, 248, 0.08)); }
.kpi-card.tone-violet { --kpi-glow: rgba(167, 139, 250, 0.2); --kpi-bar: linear-gradient(180deg, #a78bfa, rgba(167, 139, 250, 0.08)); }
.kpi-card.tone-warn { --kpi-glow: rgba(245, 158, 11, 0.2); --kpi-bar: linear-gradient(180deg, #f59e0b, rgba(245, 158, 11, 0.08)); }
.kpi-card.tone-danger { --kpi-glow: rgba(239, 68, 68, 0.22); --kpi-bar: linear-gradient(180deg, #ef4444, rgba(239, 68, 68, 0.08)); }
.kpi-card.tone-success { --kpi-glow: rgba(52, 211, 153, 0.2); --kpi-bar: linear-gradient(180deg, #34d399, rgba(52, 211, 153, 0.08)); }
.kpi-card.tone-pink { --kpi-glow: rgba(244, 114, 182, 0.18); --kpi-bar: linear-gradient(180deg, #f472b6, rgba(244, 114, 182, 0.08)); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-label { font-size: 12px; color: var(--zl-muted); font-weight: 550; letter-spacing: 0.02em; white-space: nowrap; }
.kpi-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(148, 163, 184, 0.08); color: var(--zl-faint); flex: none; }
.kpi-icon svg { width: 15px; height: 15px; }
.kpi-card.tone-accent .kpi-icon { color: #7dd3fc; background: rgba(56, 189, 248, 0.1); }
.kpi-card.tone-violet .kpi-icon { color: #c4b5fd; background: rgba(167, 139, 250, 0.1); }
.kpi-card.tone-warn .kpi-icon { color: #fcd34d; background: rgba(245, 158, 11, 0.1); }
.kpi-card.tone-danger .kpi-icon { color: #fca5a5; background: rgba(239, 68, 68, 0.1); }
.kpi-card.tone-success .kpi-icon { color: #6ee7b7; background: rgba(52, 211, 153, 0.1); }
.kpi-card.tone-pink .kpi-icon { color: #f9a8d4; background: rgba(244, 114, 182, 0.1); }
.kpi-value { display: flex; align-items: baseline; gap: 5px; margin-top: 9px; font-size: 27px; font-weight: 700; letter-spacing: -0.02em; color: #f1f6ff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-unit { font-size: 11.5px; font-weight: 500; color: var(--zl-faint); letter-spacing: 0; }
.kpi-aux { margin-top: 7px; font-size: 11px; color: var(--zl-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-aux b { font-weight: 650; }
.kpi-delta.up { color: #6ee7b7; }
.kpi-delta.down { color: #fca5a5; }
.kpi-delta.flat { color: var(--zl-muted); }
.kpi-card .kpi-dot-urgent { color: #fca5a5; }

.ov-grid {
  display: grid; gap: 16px; align-items: stretch;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.ov-map { grid-column: 1 / span 8; grid-row: 1 / span 2; }
.ov-queue { grid-column: 9 / span 4; grid-row: 1; }
.ov-funnel { grid-column: 9 / span 4; grid-row: 2; }
.ov-trend { grid-column: 1 / span 8; grid-row: 3; }
.ov-scenario { grid-column: 9 / span 4; grid-row: 3; }
.ov-city { grid-column: 1 / span 4; grid-row: 4; }
.ov-level { grid-column: 5 / span 4; grid-row: 4; }
.ov-events { grid-column: 9 / span 4; grid-row: 4; }

/* 地图 */
.map-wrap { position: relative; flex: 1; min-height: 424px; display: flex; }
.map-wrap > .zl-map { flex: 1; min-height: 424px; height: 100%; display: flex; align-items: center; justify-content: center; }
.map-legend {
  position: absolute; left: 14px; top: 12px; z-index: 4; pointer-events: none;
  display: flex; flex-direction: column; gap: 7px;
  padding: 11px 13px; border-radius: 11px;
  background: rgba(6, 17, 37, 0.8); border: 1px solid var(--zl-border-hi);
  box-shadow: var(--zl-shadow-sm); backdrop-filter: blur(9px);
}
.legend-title { font-size: 10px; letter-spacing: 0.14em; color: var(--zl-faint); text-transform: uppercase; }
.legend-stat { display: flex; align-items: baseline; gap: 5px; font-size: 12px; color: var(--zl-muted); white-space: nowrap; }
.legend-stat b { font-size: 16px; color: #e0f2fe; font-variant-numeric: tabular-nums; }
.legend-stat .legend-sep { color: var(--zl-faint); }
.legend-dots { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 2px; padding-top: 7px; border-top: 1px solid rgba(96, 165, 250, 0.14); }
.legend-dot { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--zl-muted); white-space: nowrap; }
.legend-dot i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.legend-dot i.partner { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.8); }
.legend-dot i.order { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.8); }
.map-hint {
  position: absolute; right: 14px; bottom: 12px; z-index: 4; pointer-events: none;
  font-size: 10px; color: var(--zl-faint); padding: 5px 9px; border-radius: 7px;
  background: rgba(6, 17, 37, 0.72); border: 1px solid rgba(96, 165, 250, 0.16);
}
.map-fallback {
  flex: 1; min-height: 424px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--zl-muted); font-size: 12.5px; text-align: center; padding: 24px;
}
.map-fallback .map-fallback-icon { font-size: 30px; opacity: 0.55; }
.map-fallback button { margin-top: 4px; }

/* 人工介入队列 */
.queue-list { display: flex; flex-direction: column; gap: 9px; max-height: 236px; overflow-y: auto; padding-right: 2px; }
.queue-item {
  padding: 10px 12px; border-radius: 10px;
  background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.16);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.queue-item:hover { border-color: rgba(239, 68, 68, 0.34); background: rgba(239, 68, 68, 0.08); }
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.queue-no { font-family: var(--zl-mono); font-size: 11.5px; color: #fca5a5; letter-spacing: 0.02em; }
.queue-customer { margin-top: 5px; font-size: 12px; color: var(--zl-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-customer span { color: var(--zl-faint); font-size: 11px; }
.queue-reason {
  margin-top: 5px; font-size: 10.5px; color: var(--zl-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.queue-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.queue-age { font-size: 10px; color: var(--zl-faint); font-variant-numeric: tabular-nums; }
.queue-item .zl-btn { height: 26px; padding: 0 10px; font-size: 11px; border-radius: 7px; }
.queue-more { margin-top: 8px; text-align: center; }
.queue-more a { font-size: 11px; color: var(--zl-accent); }

/* 成交漏斗 */
.funnel-chart { display: flex; flex-direction: column; gap: 9px; flex: 1; justify-content: center; }
.funnel-row { display: grid; grid-template-columns: 84px 1fr 46px; align-items: center; gap: 10px; }
.funnel-name { font-size: 11.5px; color: var(--zl-muted); white-space: nowrap; }
.funnel-track { position: relative; height: 22px; border-radius: 6px; background: rgba(148, 163, 184, 0.07); overflow: hidden; }
.funnel-fill {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.85), rgba(99, 102, 241, 0.8));
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  min-width: 2px;
}
.funnel-row:nth-child(2) .funnel-fill { background: linear-gradient(90deg, rgba(56, 189, 248, 0.78), rgba(99, 102, 241, 0.72)); }
.funnel-row:nth-child(3) .funnel-fill { background: linear-gradient(90deg, rgba(129, 140, 248, 0.8), rgba(139, 92, 246, 0.74)); }
.funnel-row:nth-child(4) .funnel-fill { background: linear-gradient(90deg, rgba(168, 85, 247, 0.78), rgba(217, 70, 239, 0.7)); }
.funnel-row:nth-child(5) .funnel-fill { background: linear-gradient(90deg, rgba(52, 211, 153, 0.8), rgba(16, 185, 129, 0.72)); }
.funnel-val { font-family: var(--zl-mono); font-size: 12px; color: var(--zl-ink); text-align: right; font-variant-numeric: tabular-nums; }
.funnel-conv { grid-column: 2 / span 3; margin-top: -5px; font-size: 9.5px; color: var(--zl-faint); padding-left: 2px; }
.funnel-conv b { color: #7dd3fc; font-weight: 600; }

/* 折线/柱状趋势 */
.trend-chart { width: 100%; height: auto; display: block; }
.chart-legend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.legend-key { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--zl-muted); }
.legend-swatch { width: 10px; height: 10px; border-radius: 3px; background: rgba(56, 189, 248, 0.7); }
.legend-swatch.line { width: 14px; height: 2.5px; border-radius: 2px; background: #34d399; }
.chart-empty { display: flex; align-items: center; justify-content: center; min-height: 200px; color: var(--zl-faint); font-size: 12px; }

/* 横向条（场景 / 等级） */
.hb-list { display: flex; flex-direction: column; gap: 11px; flex: 1; justify-content: center; }
.hb-row { display: grid; grid-template-columns: 118px 1fr 34px; align-items: center; gap: 10px; }
.hb-name { font-size: 11.5px; color: var(--zl-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { height: 8px; border-radius: 99px; background: rgba(148, 163, 184, 0.09); overflow: hidden; }
.hb-track > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0ea5e9, #6366f1); transition: width 0.5s ease; }
.hb-row:nth-child(2n) .hb-track > i { background: linear-gradient(90deg, #6366f1, #a78bfa); }
.hb-row:nth-child(3n) .hb-track > i { background: linear-gradient(90deg, #0ea5e9, #22d3ee); }
.hb-val { font-family: var(--zl-mono); font-size: 11.5px; color: var(--zl-ink); text-align: right; font-variant-numeric: tabular-nums; }
.hb-row .zl-badge { justify-self: start; }

/* 城市排行 */
.rank-list { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rank-row {
  display: grid; grid-template-columns: 22px 1fr 1fr 38px; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 8px; transition: background 0.16s ease;
}
.rank-row:hover { background: rgba(56, 189, 248, 0.05); }
.rank-no {
  display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px;
  border-radius: 6px; font-size: 10.5px; font-weight: 700; font-family: var(--zl-mono);
  background: rgba(148, 163, 184, 0.1); color: var(--zl-muted);
}
.rank-row:nth-child(1) .rank-no { background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.12)); color: #fbbf24; }
.rank-row:nth-child(2) .rank-no { background: rgba(203, 213, 225, 0.16); color: #cbd5e1; }
.rank-row:nth-child(3) .rank-no { background: rgba(180, 83, 9, 0.24); color: #fdba74; }
.rank-city { font-size: 12px; color: var(--zl-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-track { height: 6px; border-radius: 99px; background: rgba(148, 163, 184, 0.08); overflow: hidden; }
.rank-track > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(56, 189, 248, 0.75), rgba(99, 102, 241, 0.7)); }
.rank-count { font-family: var(--zl-mono); font-size: 11.5px; color: var(--zl-ink); text-align: right; font-variant-numeric: tabular-nums; }

/* 实时动态 */
.feed { display: flex; flex-direction: column; gap: 2px; max-height: 246px; overflow-y: auto; padding-right: 3px; }
.feed-item {
  position: relative; display: flex; gap: 10px; padding: 8px 8px 8px 2px; border-radius: 8px;
  cursor: pointer; transition: background 0.16s ease;
}
.feed-item:hover { background: rgba(56, 189, 248, 0.05); }
.feed-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; flex: none; background: var(--zl-accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1); }
.feed-dot.tone-success { background: var(--zl-success); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12); }
.feed-dot.tone-warn { background: var(--zl-warn); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12); }
.feed-dot.tone-danger { background: var(--zl-danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.feed-dot.tone-violet { background: var(--zl-violet); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.12); }
.feed-dot.tone-pink { background: var(--zl-pink); box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.12); }
.feed-main { min-width: 0; flex: 1; }
.feed-title { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--zl-ink-2); font-weight: 600; }
.feed-title .feed-order { font-family: var(--zl-mono); font-size: 10px; color: var(--zl-faint); font-weight: 400; }
.feed-detail { margin-top: 2px; font-size: 10.5px; color: var(--zl-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.feed-meta { font-size: 9.5px; color: var(--zl-faint); margin-top: 2px; }

/* ============================================================
   筛选 / 表格 / 分页（订单中心 / 服务商 / 派单记录）
   ============================================================ */
.filter-card { padding: 14px 18px 12px; margin-bottom: 14px; }
.status-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(96, 165, 250, 0.1); }
.status-tab {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border: 1px solid transparent; border-radius: 8px; background: transparent;
  color: var(--zl-muted); font-size: 12.5px; font-weight: 550;
  transition: all 0.18s ease;
}
.status-tab:hover { color: var(--zl-ink); background: rgba(148, 163, 184, 0.08); }
.status-tab.active { color: #e0f2fe; background: rgba(56, 189, 248, 0.13); border-color: rgba(56, 189, 248, 0.32); box-shadow: 0 0 14px rgba(56, 189, 248, 0.1) inset; }
.status-tab .tab-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.status-tab.active .tab-dot { opacity: 1; box-shadow: 0 0 6px currentColor; }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-row .zl-select { width: 160px; height: 36px; font-size: 12.5px; }
.filter-row .search-box { width: 280px; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box > svg { position: absolute; left: 12px; color: var(--zl-faint); pointer-events: none; }
.search-box .zl-input { height: 36px; font-size: 12.5px; padding-left: 34px; }
.filter-result { margin-left: auto; font-size: 11.5px; color: var(--zl-faint); white-space: nowrap; }
.filter-result b { color: var(--zl-ink-2); font-family: var(--zl-mono); }
.filter-row .zl-btn { height: 36px; font-size: 12.5px; }

.table-card { overflow: hidden; }
.table-card .zl-table-wrap { max-height: none; }
.table-card .zl-table th { padding: 10px 14px; }
.table-card .zl-table td { padding: 11px 14px; }
.table-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 46px 20px; color: var(--zl-muted); font-size: 12.5px; }
.table-empty { padding: 52px 20px; text-align: center; color: var(--zl-faint); font-size: 12.5px; }
.table-empty .empty-icon { display: block; font-size: 30px; opacity: 0.55; margin-bottom: 10px; }
.table-empty b { display: block; color: var(--zl-ink-2); font-size: 13px; margin-bottom: 4px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; max-width: 210px; }
.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px;
  font-size: 10.5px; font-weight: 550; white-space: nowrap;
  background: rgba(148, 163, 184, 0.1); color: var(--zl-ink-2);
}
.tag-blue { background: rgba(56, 189, 248, 0.11); color: #7dd3fc; }
.tag-violet { background: rgba(167, 139, 250, 0.12); color: #c4b5fd; }
.tag-green { background: rgba(52, 211, 153, 0.11); color: #6ee7b7; }
.tag-amber { background: rgba(245, 158, 11, 0.12); color: #fcd34d; }
.tag-red { background: rgba(239, 68, 68, 0.11); color: #fca5a5; }
.tag-more { background: transparent; color: var(--zl-faint); padding: 0 2px; }
.cell-note { display: block; margin-top: 2px; font-size: 10.5px; color: var(--zl-faint); }
.cell-note.danger { color: #fca5a5; }
.order-no-cell { font-family: var(--zl-mono); font-size: 12px; color: #bae6fd; letter-spacing: 0.01em; white-space: nowrap; }
.row-demo-tag { display: inline-block; margin-left: 5px; padding: 0 4px; height: 16px; line-height: 16px; border-radius: 4px; font-size: 9px; font-weight: 600; color: #fcd34d; background: rgba(245, 158, 11, 0.14); vertical-align: 1px; }
.partner-cell { display: flex; flex-direction: column; gap: 2px; max-width: 190px; }
.cell-ellipsis { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-cell b { font-weight: 600; color: var(--zl-ink-2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-cell span { font-size: 10.5px; color: var(--zl-faint); }
.load-mini { display: flex; flex-direction: column; gap: 4px; min-width: 64px; }
.load-mini-top { display: flex; align-items: baseline; gap: 3px; font-family: var(--zl-mono); font-size: 11px; color: var(--zl-ink-2); }
.load-mini-top em { font-style: normal; color: var(--zl-faint); font-size: 9.5px; }
.load-mini-track { height: 4px; border-radius: 99px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.load-mini-track > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34d399, #10b981); }
.load-mini.is-high .load-mini-track > i { background: linear-gradient(90deg, #f59e0b, #f97316); }
.load-mini.is-full .load-mini-track > i { background: linear-gradient(90deg, #ef4444, #dc2626); }
.sla-pill { display: inline-flex; align-items: center; gap: 4px; font-family: var(--zl-mono); font-size: 10.5px; color: var(--zl-muted); }
.sla-pill.is-urgent { color: #fcd34d; }
.sla-pill.is-overdue { color: #fca5a5; }
.rating-stars { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--zl-ink); }
.rating-stars .star { color: #fbbf24; letter-spacing: -0.1em; font-size: 11px; }
.rating-stars em { font-style: normal; font-family: var(--zl-mono); font-size: 11px; }
.row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.row-actions .zl-btn { height: 27px; padding: 0 9px; font-size: 11px; border-radius: 7px; }
.row-actions .zl-icon-btn { width: 27px; height: 27px; font-size: 14px; }
.cell-nowrap { white-space: nowrap; }
.cell-right { text-align: right; }
.table-card .zl-table td .zl-mono { white-space: nowrap; }
.table-card .zl-table .zl-status { white-space: nowrap; }
.table-card .zl-table .sla-pill { white-space: nowrap; }
.cell-city { white-space: nowrap; }
.score-cell { display: flex; flex-direction: column; gap: 3px; min-width: 54px; }
.score-cell b { font-family: var(--zl-mono); font-size: 11.5px; color: var(--zl-ink); font-weight: 600; }
.score-bar { height: 3px; border-radius: 99px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.score-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #6366f1); }
.auto-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.auto-tag.yes { background: rgba(56, 189, 248, 0.11); color: #7dd3fc; }
.auto-tag.no { background: rgba(167, 139, 250, 0.12); color: #c4b5fd; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--zl-border); flex-wrap: wrap; }
.pager-info { font-size: 11.5px; color: var(--zl-faint); font-variant-numeric: tabular-nums; }
.pager-info b { color: var(--zl-ink-2); font-family: var(--zl-mono); font-weight: 600; }
.pager-pages { display: flex; align-items: center; gap: 5px; }
.pager-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px;
  border: 1px solid var(--zl-border); border-radius: 7px; background: transparent;
  color: var(--zl-muted); font-size: 12px; font-family: var(--zl-mono);
  transition: all 0.16s ease;
}
.pager-btn:hover:not(:disabled) { color: var(--zl-ink); border-color: var(--zl-border-hi); background: rgba(56, 189, 248, 0.08); }
.pager-btn.active { color: #e0f2fe; border-color: rgba(56, 189, 248, 0.42); background: rgba(56, 189, 248, 0.14); font-weight: 700; }
.pager-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pager-ellipsis { color: var(--zl-faint); font-size: 11px; padding: 0 2px; }

/* ============================================================
   订单详情抽屉
   ============================================================ */
.drawer-mask {
  position: fixed; inset: 0; z-index: 70; background: rgba(2, 8, 23, 0.62);
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.order-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(720px, 94vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0a1830 0%, #071224 100%);
  border-left: 1px solid var(--zl-border-hi);
  box-shadow: -30px 0 80px rgba(2, 8, 23, 0.7);
  transform: translateX(102%); transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  visibility: hidden;
}
.order-drawer.open { transform: none; visibility: visible; }
.drawer-head {
  position: relative; flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 18px 22px 16px; border-bottom: 1px solid var(--zl-border);
  background: linear-gradient(180deg, rgba(20, 42, 78, 0.55), rgba(10, 24, 48, 0.2));
}
.drawer-title-wrap { min-width: 0; }
.drawer-order-no { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.drawer-order-no h3 { font-family: var(--zl-mono); font-size: 17px; letter-spacing: 0.02em; color: #e0f2fe; font-weight: 650; }
.drawer-head-sub { margin-top: 7px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--zl-muted); }
.drawer-head-sub .sep { color: var(--zl-faint); }
.drawer-close {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none;
  border: 1px solid var(--zl-border); border-radius: 9px; background: rgba(148, 163, 184, 0.06);
  color: var(--zl-muted); font-size: 18px; transition: all 0.18s ease;
}
.drawer-close:hover { color: var(--zl-ink); border-color: var(--zl-border-hi); background: rgba(239, 68, 68, 0.12); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 48px; }
.drawer-loading { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.drawer-loading .zl-skeleton { height: 18px; }
.drawer-error { padding: 40px 10px; text-align: center; color: var(--zl-muted); font-size: 12.5px; }
.drawer-error .zl-btn { margin-top: 14px; }

.d-section { margin-bottom: 22px; }
.d-section:last-child { margin-bottom: 0; }
.d-section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 11px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--zl-faint); text-transform: uppercase;
}
.d-section-title .d-section-side { display: flex; align-items: center; gap: 8px; }
.d-section-title .d-section-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 17px;
  padding: 0 5px; border-radius: 5px; background: rgba(148, 163, 184, 0.12);
  color: var(--zl-ink-2); font-size: 10px; font-family: var(--zl-mono); letter-spacing: 0;
}
.d-card { padding: 14px 16px; border-radius: 12px; background: rgba(11, 26, 51, 0.55); border: 1px solid var(--zl-border); }
.d-card + .d-card { margin-top: 10px; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.d-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d-item { min-width: 0; }
.d-item.wide { grid-column: span 2; }
.d-label { font-size: 10.5px; color: var(--zl-faint); letter-spacing: 0.03em; }
.d-value { margin-top: 3px; font-size: 12.5px; color: var(--zl-ink-2); word-break: break-all; }
.d-value.strong { color: var(--zl-ink); font-weight: 600; }
.d-value.mono { font-family: var(--zl-mono); font-size: 11.5px; }
.d-value .tag-list { max-width: none; }
.d-desc { font-size: 12px; color: var(--zl-ink-2); line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.d-desc.muted { color: var(--zl-muted); }
.d-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.d-actions .zl-btn { height: 34px; font-size: 12.5px; }
.d-actions .zl-spacer { flex: 1; }
.d-note { margin-top: 8px; font-size: 11px; color: var(--zl-faint); line-height: 1.5; }
.sla-box { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.18); }
.sla-box.is-overdue { background: rgba(239, 68, 68, 0.07); border-color: rgba(239, 68, 68, 0.24); }
.sla-box .sla-label { font-size: 10.5px; color: var(--zl-faint); }
.sla-box .sla-time { font-family: var(--zl-mono); font-size: 18px; font-weight: 600; color: #fcd34d; font-variant-numeric: tabular-nums; }
.sla-box .sla-time.is-overdue { color: #fca5a5; }
.sla-box .sla-time.is-urgent { color: #fb923c; }
.sla-box .sla-time.is-urgent { color: #fb923c; }
.sla-box .sla-meta { margin-left: auto; text-align: right; font-size: 10.5px; color: var(--zl-faint); }
.partner-brief { display: flex; align-items: flex-start; gap: 12px; }
.partner-brief-avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  border-radius: 11px; font-size: 15px; font-weight: 700; color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.partner-brief-main { flex: 1; min-width: 0; }
.partner-brief-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 650; color: var(--zl-ink); }
.partner-brief-meta { margin-top: 5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--zl-muted); }
.partner-brief-meta b { color: var(--zl-ink-2); font-weight: 600; }

/* 候选服务商 */
.cand-list { display: flex; flex-direction: column; gap: 10px; }
.cand {
  position: relative; padding: 13px 14px 12px; border-radius: 12px;
  background: rgba(10, 24, 48, 0.6); border: 1px solid var(--zl-border);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cand:hover { border-color: var(--zl-border-hi); }
.cand.is-top { border-color: rgba(56, 189, 248, 0.38); background: linear-gradient(160deg, rgba(56, 189, 248, 0.07), rgba(10, 24, 48, 0.55)); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.1) inset; }
.cand.is-unavailable { opacity: 0.78; }
.cand.is-unavailable:hover { opacity: 1; }
.cand-head { display: flex; align-items: center; gap: 10px; }
.cand-rank {
  display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; flex: none;
  border-radius: 7px; font-family: var(--zl-mono); font-size: 11px; font-weight: 700;
  background: rgba(148, 163, 184, 0.12); color: var(--zl-muted);
}
.cand.is-top .cand-rank { background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(99, 102, 241, 0.26)); color: #e0f2fe; }
.cand-name-wrap { flex: 1; min-width: 0; }
.cand-name { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12.5px; font-weight: 650; color: var(--zl-ink); }
.cand-meta { margin-top: 2px; font-size: 10.5px; color: var(--zl-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cand-side { text-align: right; flex: none; }
.cand-score { font-family: var(--zl-mono); font-size: 17px; font-weight: 700; color: #7dd3fc; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cand-score small { display: block; font-size: 9px; font-weight: 400; color: var(--zl-faint); letter-spacing: 0.06em; }
.cand-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.bar-item { min-width: 0; }
.bar-label { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 9.5px; color: var(--zl-faint); }
.bar-label b { font-family: var(--zl-mono); font-size: 9.5px; font-weight: 500; color: var(--zl-muted); }
.bar-track { margin-top: 3px; height: 4px; border-radius: 99px; background: rgba(148, 163, 184, 0.11); overflow: hidden; }
.bar-track > i { display: block; height: 100%; border-radius: inherit; background: #38bdf8; transition: width 0.4s ease; }
.bar-item:nth-child(2) .bar-track > i { background: #a78bfa; }
.bar-item:nth-child(3) .bar-track > i { background: #fbbf24; }
.bar-item:nth-child(4) .bar-track > i { background: #34d399; }
.reason-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.reason-tag { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 5px; font-size: 10px; background: rgba(148, 163, 184, 0.1); color: var(--zl-muted); }
.cand-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding-top: 10px; border-top: 1px dashed rgba(96, 165, 250, 0.14); }
.cand-unavailable { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #fca5a5; }
.cand-unavailable::before { content: '⊘'; font-size: 11px; }
.cand-available { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #6ee7b7; }
.cand-available::before { content: '●'; font-size: 8px; }
.cand-foot .zl-btn { height: 28px; padding: 0 11px; font-size: 11px; border-radius: 7px; }
.cand-note { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(56, 189, 248, 0.05); border: 1px dashed rgba(56, 189, 248, 0.2); font-size: 10.5px; color: var(--zl-muted); line-height: 1.5; }

/* 历次派单 */
.dispatch-list { display: flex; flex-direction: column; gap: 7px; }
.dispatch-row { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; background: rgba(10, 24, 48, 0.5); border: 1px solid rgba(96, 165, 250, 0.1); }
.dispatch-round { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 7px; background: rgba(148, 163, 184, 0.1); font-family: var(--zl-mono); font-size: 10px; color: var(--zl-muted); }
.dispatch-main { flex: 1; min-width: 0; }
.dispatch-main b { display: block; font-size: 11.5px; font-weight: 600; color: var(--zl-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dispatch-meta { margin-top: 2px; font-size: 10px; color: var(--zl-faint); }
.dispatch-meta b { color: var(--zl-muted); font-family: var(--zl-mono); font-weight: 500; }
.dispatch-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.dispatch-side .zl-badge { height: 20px; font-size: 10px; }
.dispatch-side .dispatch-time { font-size: 9.5px; color: var(--zl-faint); font-family: var(--zl-mono); }

/* 时间线（复用 base.css，补充 actor） */
.tl-actor { margin-left: 6px; font-size: 9.5px; color: var(--zl-faint); }
.d-timeline { padding-left: 22px; }
.d-timeline .zl-tl-item { padding-bottom: 15px; }

/* 抽屉空态 */
.drawer-empty { padding: 16px; text-align: center; border: 1px dashed rgba(96, 165, 250, 0.2); border-radius: 10px; color: var(--zl-faint); font-size: 11.5px; }

/* ============================================================
   弹窗（复用 base.css 的 .zl-modal-mask / .zl-modal）
   ============================================================ */
#modalRoot .zl-modal-mask { z-index: 180; }
#modalRoot .zl-modal { width: min(560px, 100%); max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
#modalRoot .zl-modal.modal-wide { width: min(820px, 100%); }
#modalRoot .zl-modal.modal-sm { width: min(430px, 100%); }
#modalRoot .zl-modal-head,
#modalRoot .zl-modal-foot { flex: none; }
#modalRoot .zl-modal-body { flex: 1; min-height: 0; overflow-y: auto; }
.modal-desc { font-size: 12.5px; color: var(--zl-muted); line-height: 1.7; }
.modal-note {
  display: flex; gap: 9px; padding: 10px 12px; border-radius: 9px; margin-top: 14px;
  background: rgba(56, 189, 248, 0.06); border: 1px solid rgba(56, 189, 248, 0.18);
  font-size: 11px; color: var(--zl-muted); line-height: 1.6;
}
.modal-note.warn { background: var(--zl-warn-soft); border-color: rgba(245, 158, 11, 0.24); color: #fde68a; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form .zl-form-grid { gap: 14px 16px; }
.modal-form .zl-field-full { grid-column: span 2; }
.field-error { font-size: 11px; color: #fca5a5; min-height: 0; }
.field-error:empty { display: none; }
.modal-foot-note { margin-right: auto; font-size: 11px; color: var(--zl-faint); align-self: center; }
.prompt-input { margin-top: 12px; }
.prompt-meta { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; color: var(--zl-faint); }
.modal-actions-row { display: flex; align-items: center; gap: 10px; }

/* 多选 chips */
.ms-group { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; border-radius: 10px; background: rgba(6, 16, 34, 0.4); border: 1px solid var(--zl-border); max-height: 148px; overflow-y: auto; }
.ms-chip { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.ms-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ms-chip span { display: inline-flex; align-items: center; height: 27px; padding: 0 10px; border-radius: 7px; border: 1px solid rgba(148, 163, 184, 0.16); background: rgba(148, 163, 184, 0.06); color: var(--zl-muted); font-size: 11.5px; transition: all 0.15s ease; }
.ms-chip:hover span { color: var(--zl-ink-2); border-color: var(--zl-border-hi); }
.ms-chip input:checked + span { color: #e0f2fe; border-color: rgba(56, 189, 248, 0.42); background: rgba(56, 189, 248, 0.14); box-shadow: 0 0 10px rgba(56, 189, 248, 0.08) inset; }
.ms-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18); }

/* 服务商选择器 */
.picker-search { margin-bottom: 12px; }
.picker-list { display: flex; flex-direction: column; gap: 7px; max-height: 380px; overflow-y: auto; }
.picker-item {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; text-align: left;
  border-radius: 9px; border: 1px solid var(--zl-border); background: rgba(10, 24, 48, 0.5);
  color: var(--zl-ink-2); transition: all 0.16s ease;
}
.picker-item:hover { border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.08); }
.picker-item-main { flex: 1; min-width: 0; }
.picker-item-main b { display: block; font-size: 12px; color: var(--zl-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-item-main span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--zl-faint); }
.picker-item-tags { display: flex; align-items: center; gap: 5px; flex: none; }
.picker-empty { padding: 34px 12px; text-align: center; color: var(--zl-faint); font-size: 11.5px; }
.picker-loading { padding: 26px; text-align: center; color: var(--zl-muted); font-size: 11.5px; }

/* 服务商详情弹窗 */
.pd-hero { display: flex; align-items: center; gap: 13px; padding-bottom: 15px; border-bottom: 1px solid var(--zl-border); }
.pd-hero-avatar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; font-size: 17px; font-weight: 700; color: #e0f2fe; background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.3)); border: 1px solid rgba(56, 189, 248, 0.32); flex: none; }
.pd-hero-main { flex: 1; min-width: 0; }
.pd-hero-name { font-size: 15px; font-weight: 650; color: var(--zl-ink); }
.pd-hero-meta { margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--zl-muted); }
.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.pd-stat { padding: 10px 12px; border-radius: 9px; background: rgba(10, 24, 48, 0.6); border: 1px solid var(--zl-border); }
.pd-stat b { display: block; font-family: var(--zl-mono); font-size: 17px; color: #e0f2fe; font-weight: 650; }
.pd-stat span { display: block; margin-top: 2px; font-size: 10px; color: var(--zl-faint); }
.pd-block { margin-top: 14px; }
.pd-label { font-size: 10.5px; color: var(--zl-faint); letter-spacing: 0.06em; margin-bottom: 6px; }
.pd-block .tag-list { max-width: none; }

/* ============================================================
   派单规则
   ============================================================ */
.rules-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rules-card { padding: 20px; }
.rules-card .panel-body { gap: 0; }
.rule-block { margin-bottom: 22px; }
.rule-block:last-child { margin-bottom: 0; }
.rule-block-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.rule-block-title h4 { font-size: 13px; color: var(--zl-ink); font-weight: 650; }
.rule-block-title .rule-tip { font-size: 10.5px; color: var(--zl-faint); }
.weight-list { display: flex; flex-direction: column; gap: 14px; }
.weight-row { display: grid; grid-template-columns: 82px 1fr 58px; align-items: center; gap: 12px; }
.weight-name { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--zl-ink-2); }
.weight-name .weight-swatch { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.weight-name .weight-swatch.s1 { background: #38bdf8; }
.weight-name .weight-swatch.s2 { background: #a78bfa; }
.weight-name .weight-swatch.s3 { background: #fbbf24; }
.weight-name .weight-swatch.s4 { background: #34d399; }
.weight-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, rgba(56, 189, 248, 0.55) var(--pct, 40%), rgba(148, 163, 184, 0.14) var(--pct, 40%)); outline: none; cursor: pointer; }
.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: #e0f2fe; border: 3px solid #0ea5e9; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15), 0 2px 6px rgba(2, 8, 23, 0.5);
  transition: box-shadow 0.16s ease;
}
.weight-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.2), 0 2px 6px rgba(2, 8, 23, 0.5); }
.weight-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #e0f2fe; border: 3px solid #0ea5e9; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); }
.weight-pct { text-align: right; font-family: var(--zl-mono); font-size: 15px; font-weight: 700; color: #e0f2fe; font-variant-numeric: tabular-nums; }
.weight-pct span { font-size: 10px; color: var(--zl-faint); font-weight: 400; }
.weight-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 11px 13px; border-radius: 9px; background: rgba(52, 211, 153, 0.06); border: 1px solid rgba(52, 211, 153, 0.2); font-size: 11.5px; color: var(--zl-muted); }
.weight-sum b { font-family: var(--zl-mono); font-size: 15px; color: #6ee7b7; }
.weight-sum.is-bad { background: rgba(239, 68, 68, 0.07); border-color: rgba(239, 68, 68, 0.28); }
.weight-sum.is-bad b { color: #fca5a5; }
.weight-sum .sum-hint { font-size: 10.5px; color: var(--zl-faint); }
.rule-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.rule-field-grid .zl-field { gap: 6px; }
.rule-field-grid .zl-label { font-size: 11.5px; }
.rule-field-grid .zl-input, .rule-field-grid .zl-select { height: 38px; font-size: 12.5px; }
.rule-field-grid .zl-help { margin-top: 1px; }
.quick-sla { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.quick-chip { height: 24px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--zl-border); background: transparent; color: var(--zl-muted); font-size: 10.5px; font-family: var(--zl-mono); transition: all 0.15s ease; }
.quick-chip:hover { color: var(--zl-ink); border-color: var(--zl-border-hi); }
.quick-chip.active { color: #e0f2fe; border-color: rgba(56, 189, 248, 0.42); background: rgba(56, 189, 248, 0.13); }
.rule-actions { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--zl-border); flex-wrap: wrap; }
.rule-actions .rule-meta { margin-left: auto; font-size: 10.5px; color: var(--zl-faint); }
.save-state { font-size: 11px; color: var(--zl-faint); }
.save-state.is-bad { color: #fca5a5; }
.save-state.is-ok { color: #6ee7b7; }

/* 算法说明卡 */
.algo-card { padding: 18px; }
.algo-card + .algo-card { margin-top: 14px; }
.algo-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--zl-ink); margin-bottom: 12px; }
.algo-title .algo-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(56, 189, 248, 0.12); color: #7dd3fc; font-size: 12px; flex: none; }
.algo-formula {
  padding: 12px 14px; border-radius: 9px; font-family: var(--zl-mono); font-size: 11.5px; line-height: 1.9;
  background: rgba(3, 10, 24, 0.6); border: 1px solid rgba(96, 165, 250, 0.16); color: #bae6fd;
  overflow-x: auto; white-space: nowrap;
}
.algo-formula .k { color: #c4b5fd; }
.algo-formula .n { color: #fcd34d; }
.algo-formula .op { color: var(--zl-faint); }
.algo-list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.algo-list li { display: flex; gap: 9px; font-size: 11.5px; color: var(--zl-muted); line-height: 1.6; }
.algo-list li .algo-no { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; flex: none; margin-top: 1px; border-radius: 5px; background: rgba(148, 163, 184, 0.12); color: var(--zl-ink-2); font-family: var(--zl-mono); font-size: 9.5px; }
.algo-list li b { color: var(--zl-ink-2); font-weight: 600; }
.algo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.algo-note { margin-top: 12px; font-size: 10.5px; color: var(--zl-faint); line-height: 1.6; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1440px) {
  .view-root { padding: 18px 20px 40px; }
  .topbar { padding: 0 20px; }
  .kpi-grid { gap: 12px; }
  .kpi-value { font-size: 25px; }
  .hb-row { grid-template-columns: 104px 1fr 32px; }
}

@media (max-width: 1280px) {
  .sidebar { width: 208px; }
  .main-shell { margin-left: 208px; }
  .topbar-search { width: min(300px, 26vw); }
  .kpi-card { padding: 13px 14px 12px; }
  .kpi-value { font-size: 23px; }
  .kpi-aux { font-size: 10.5px; }
  .hb-row { grid-template-columns: 92px 1fr 30px; }
  .rank-row { grid-template-columns: 20px 1fr 1fr 34px; gap: 8px; }
  .rules-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

@media (max-width: 1120px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-map { grid-column: 1 / span 12; grid-row: auto; }
  .ov-queue { grid-column: 1 / span 6; grid-row: auto; }
  .ov-funnel { grid-column: 7 / span 6; grid-row: auto; }
  .ov-trend { grid-column: 1 / span 12; grid-row: auto; }
  .ov-scenario { grid-column: 1 / span 6; grid-row: auto; }
  .ov-level { grid-column: 7 / span 6; grid-row: auto; }
  .ov-city { grid-column: 1 / span 6; grid-row: auto; }
  .ov-events { grid-column: 7 / span 6; grid-row: auto; }
  .topbar-search { width: min(240px, 22vw); }
  .topbar-clock { min-width: 80px; }
  .rules-grid { grid-template-columns: 1fr; }
  .drawer-body { padding: 16px 18px 40px; }
}

@media (max-width: 960px) {
  .sidebar { width: 76px; }
  .main-shell { margin-left: 76px; }
  .sidebar-logo { justify-content: center; padding: 0; }
  .sidebar-logo-text, .sidebar-section-label, .sidebar-status, .account-meta, .sidebar-foot .zl-btn span, .nav-label { display: none; }
  .sidebar-nav { padding: 10px 12px; align-items: center; }
  .nav-item { justify-content: center; width: 46px; padding: 0; }
  .nav-item.active::before { left: -12px; }
  .nav-badge { position: absolute; top: 4px; right: 3px; }
  .sidebar-foot { align-items: center; }
  .account { justify-content: center; }
  .sidebar-foot .zl-btn { width: 40px; height: 36px; padding: 0; }
  .sidebar-foot .zl-btn svg { margin: 0; }
  .topbar { gap: 12px; }
  .topbar-search { margin-left: 0; flex: 1; width: auto; }
  .topbar-clock { display: none; }
  .d-grid { grid-template-columns: 1fr; }
  .d-item.wide { grid-column: span 1; }
  .pd-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .view-root { padding: 14px 12px 32px; }
  .topbar { padding: 0 12px; height: 58px; }
  .topbar-search { display: none; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ov-queue, .ov-funnel, .ov-scenario, .ov-level, .ov-city, .ov-events { grid-column: 1 / span 12; }
  .filter-row .zl-select, .filter-row .search-box { width: 100%; }
  .rules-grid { grid-template-columns: 1fr; }
  .rule-field-grid { grid-template-columns: 1fr; }
  .order-drawer { width: 100vw; }
  .cand-bars { grid-template-columns: repeat(2, 1fr); }
  .funnel-row { grid-template-columns: 72px 1fr 38px; }
}

/* ---------- 入驻申请详情（材料 / 通知 / 留痕） ---------- */
.app-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app-detail-company { font-size: 17px; font-weight: 700; color: var(--zl-ink); }
.app-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 16px; }
.app-detail-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-detail-grid > div.span-2 { grid-column: span 2; }
.app-detail-grid span { font-size: 11px; color: var(--zl-faint); letter-spacing: 0.02em; }
.app-detail-grid b { font-size: 12.5px; font-weight: 500; color: var(--zl-ink-2); line-height: 1.6; word-break: break-all; }
.app-detail-h { margin: 18px 0 8px; font-size: 13px; font-weight: 650; color: var(--zl-ink); }
.app-detail-empty { padding: 14px; border-radius: 10px; background: rgba(148, 163, 184, 0.06); border: 1px dashed rgba(148, 163, 184, 0.28); font-size: 12px; color: var(--zl-muted); }
.app-files { display: flex; flex-direction: column; gap: 8px; }
.app-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 12px; border-radius: 10px; background: rgba(148, 163, 184, 0.07); border: 1px solid rgba(148, 163, 184, 0.16); font-size: 12px; color: var(--zl-ink-2); }
.app-file-name { font-weight: 600; }
.app-file-size { color: var(--zl-faint); font-size: 11px; }
.app-file-actions { margin-left: auto; color: var(--zl-accent); font-size: 11.5px; }
.app-file-actions a { color: var(--zl-accent); }
.app-file-error { color: #fca5a5; }
.app-file-thumb { max-width: 220px; max-height: 140px; border-radius: 8px; border: 1px solid rgba(96, 165, 250, 0.25); margin-left: auto; }
.app-logs { display: flex; flex-direction: column; gap: 10px; }
.app-log { display: flex; gap: 10px; align-items: flex-start; }
.app-log-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #38bdf8; flex: 0 0 8px; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12); }
.app-log b { font-size: 12.5px; color: var(--zl-ink); }
.app-log-detail { font-size: 11.5px; color: var(--zl-muted); line-height: 1.6; margin-top: 1px; }
.app-log-time { font-size: 10.5px; color: var(--zl-faint); margin-top: 2px; font-family: var(--zl-mono); }

@media (max-width: 720px) {
  .app-detail-grid { grid-template-columns: 1fr; }
  .app-detail-grid > div.span-2 { grid-column: span 1; }
}
