
/* ===== 金诺物流 App 原型 v2 · app.css（1/3 基础与设计系统） ===== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --brand: #1266D9; --brand-600: #0E56C0; --brand-100: #DCE9FF; --brand-50: #EEF4FF;
  --bg: #F4F6F9; --surface: #FFFFFF; --surface-2: #F7F8FA; --surface-3: #EEF1F5;
  --text: #111827; --text-2: #4B5563; --text-3: #8A94A6; --text-dis: #B9C1CD;
  --line: #E7EAF0; --line-2: #D7DCE4;
  --green: #0E9F6E; --green-bg: #E7F7F1; --amber: #B45309; --amber-bg: #FFF4E5;
  --red: #E02424; --red-bg: #FEECEC; --violet: #6D5BD0; --violet-bg: #F0EDFF;
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px; --r-full: 999px;
  --sh-xs: 0 1px 2px rgba(16,24,40,.05);
  --sh-sm: 0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --sh-md: 0 4px 12px rgba(16,24,40,.08), 0 1px 3px rgba(16,24,40,.05);
  --sh-lg: 0 16px 40px rgba(16,24,40,.14), 0 4px 12px rgba(16,24,40,.06);
  --ps: 1;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--font); background: #0A0C10; color: #E8EDF5; overflow: hidden; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
svg.ic { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- 工作台 ---------- */
.studio { display: flex; height: 100vh; min-height: 620px; }
.side { width: 266px; flex: 0 0 266px; height: 100%; background: linear-gradient(180deg, #0F141C 0%, #0B0F15 100%); border-right: 1px solid #1C2430; display: flex; flex-direction: column; padding: 18px 12px 12px; z-index: 60; }
.side-head { display: flex; align-items: center; gap: 11px; padding: 0 4px 15px; }
.logo-mark { width: 40px; height: 40px; border-radius: 13px; flex: none; background: linear-gradient(140deg, #4E97FF 0%, #1266D9 55%, #0B4DAE 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; box-shadow: 0 6px 16px rgba(18,102,217,.35), inset 0 1px 0 rgba(255,255,255,.3); }
.side-title { font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.side-sub { font-size: 10.5px; color: #707B8C; margin-top: 3px; }
.side-sub b { color: #93BBFA; font-weight: 600; }
.side-search { height: 36px; background: #151C26; border: 1px solid #222C3A; border-radius: 10px; display: flex; align-items: center; gap: 7px; padding: 0 10px; margin-bottom: 10px; color: #66738A; }
.side-search input { flex: 1; border: 0; background: none; color: #E8EDF5; font-size: 12.5px; outline: none; }
.side-search input::placeholder { color: #5A6578; }
.side-nav { flex: 1; overflow-y: auto; padding: 0 2px 6px; }
.side-nav::-webkit-scrollbar { display: none; }
.nav-group { margin-bottom: 4px; }
.nav-gtitle { display: flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .1em; color: #5A6578; padding: 10px 8px 6px; text-transform: uppercase; }
.nav-gtitle::after { content: ''; flex: 1; height: 1px; background: #1B2330; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #A8B3C3; font-size: 12px; text-align: left; padding: 6px 9px; border-radius: 8px; line-height: 1.35; position: relative; }
.nav-item i { font-style: normal; font-size: 9px; color: #556174; width: 17px; flex: none; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nav-item:hover { background: #161E29; color: #E8EDF5; }
.nav-item.active { background: linear-gradient(90deg, rgba(18,102,217,.28), rgba(18,102,217,.10)); color: #A9CBFF; }
.nav-item.active::before { content: ''; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2.5px; border-radius: 2px; background: #4E97FF; }
.nav-item.active i { color: #7FB0FF; }
.side-foot { border-top: 1px solid #1B2330; padding: 11px 6px 2px; font-size: 9.5px; color: #5A6578; line-height: 1.8; }
.side-foot .kb { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.side-foot kbd { font-family: inherit; font-size: 9px; background: #1A222D; border: 1px solid #293443; border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; color: #8A96A8; line-height: 15px; }

.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 14px 24px 12px; overflow: auto; position: relative;
  background-color: #0A0C10;
  background-image: radial-gradient(900px 520px at 72% -12%, rgba(18,102,217,.20), transparent 62%), radial-gradient(700px 420px at 8% 108%, rgba(14,159,110,.10), transparent 60%),
  linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}
.stage-bar { width: min(100%, 940px); display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.stage-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: #93BBFA; background: rgba(18,102,217,.16); border: 1px solid rgba(78,151,255,.24); padding: 3px 8px; border-radius: var(--r-full); flex: none; }
.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: #4E97FF; box-shadow: 0 0 0 3px rgba(78,151,255,.18); }
.crumb { font-size: 11px; color: #8090A5; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-actions { display: flex; gap: 8px; flex: none; }
.ghost-btn { height: 30px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.045); border: 1px solid #232D3C; color: #A8B3C3; font-size: 11.5px; text-decoration: none; display: inline-flex; align-items: center; }
.ghost-btn:hover { color: #fff; border-color: #37465B; background: rgba(255,255,255,.07); }
.phone-scale { width: calc(375px * var(--ps)); height: calc(812px * var(--ps)); position: relative; flex: none; }
.phone {
  width: 375px; height: 812px; position: relative; overflow: hidden; border-radius: 50px; background: var(--bg);
  transform: scale(var(--ps)); transform-origin: top left;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 0 3px #2A313D, 0 0 0 12px #0C0F14, 0 0 0 13px #39424F, 0 36px 70px rgba(0,0,0,.62), 0 0 100px rgba(18,102,217,.16);
}
.phone::after { content: ''; position: absolute; inset: 0; border-radius: 50px; pointer-events: none; z-index: 60; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.18); }
.phone.dark { background: #0B0F15; }
.statusbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 12px 30px 0 34px; color: var(--text); position: relative; z-index: 50; background: transparent; }
.phone.dark .statusbar { color: #F3F6FA; }
.sb-time { font-size: 15px; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; padding-top: 2px; }
.sb-icons { display: flex; align-items: center; gap: 6px; padding-top: 2px; }
.sb-icons svg { display: block; }
.DynamicIsland { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 118px; height: 35px; background: #000; border-radius: 20px; display: flex; align-items: center; justify-content: flex-end; padding-right: 11px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 2px 6px rgba(0,0,0,.35); }
.di-cam { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2E3E57, #070A0F 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.di-dot { width: 4px; height: 4px; border-radius: 50%; background: #16202E; margin-left: 7px; }
.phone.dark .DynamicIsland { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 2px 8px rgba(0,0,0,.5); }
.screen { position: relative; height: calc(100% - 54px); display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }
.screen.anim { animation: screenIn .22s cubic-bezier(.22,1,.36,1); }
.view { display: flex; flex-direction: column; height: 100%; position: relative; background: var(--bg); }
.phone.dark .screen, .phone.dark .view { background: #0B0F15; }
.home-ind { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: rgba(17,24,39,.28); z-index: 55; pointer-events: none; }
.phone.dark .home-ind { background: rgba(255,255,255,.42); }
.layer { position: absolute; inset: 0; z-index: 80; pointer-events: none; }
.layer > * { pointer-events: auto; }
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px); background: rgba(17,24,39,.94); color: #fff; font-size: 12.5px; padding: 10px 15px; border-radius: 12px; display: flex; align-items: center; gap: 7px; max-width: 300px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; line-height: 1.4; box-shadow: 0 12px 32px rgba(0,0,0,.28); backdrop-filter: blur(8px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 15px; height: 15px; color: #6EE7B7; }
.toast.warn svg { color: #FBBF24; }
.stage-foot { margin-top: 10px; font-size: 9.5px; color: #4E5A6D; }

/* ---------- 基础页面结构 ---------- */
.page { flex: 1; overflow-y: auto; overflow-x: hidden; padding-bottom: 18px; -webkit-overflow-scrolling: touch; }
.page::-webkit-scrollbar { display: none; }
.page-pad { padding: 0 16px; }
.navbar { flex: 0 0 44px; height: 44px; display: flex; align-items: center; padding: 0 6px; position: relative; background: var(--surface); border-bottom: .5px solid var(--line); z-index: 20; }
.navbar.clear { background: transparent; border-bottom: 0; }
.navbar.dark { background: transparent; border-bottom: 0; }
.nav-left, .nav-right { flex: 0 0 92px; display: flex; align-items: center; gap: 2px; }
.nav-right { justify-content: flex-end; }
.nav-btn { width: 40px; height: 40px; border: 0; background: none; color: var(--text); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.nav-btn:active { background: var(--surface-3); }
.nav-btn svg { width: 22px; height: 22px; }
.navbar.dark .nav-btn { color: #F3F6FA; }
.navbar.dark .nav-btn:active { background: rgba(255,255,255,.08); }
.nav-title { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; max-width: 200px; }
.nav-title h1 { font-size: 16.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.nav-title span { font-size: 9.5px; color: var(--text-3); white-space: nowrap; }
.navbar.dark .nav-title h1 { color: #F3F6FA; }
.navbar.dark .nav-title span { color: rgba(255,255,255,.5); }
.nav-text { border: 0; background: none; font-size: 14.5px; color: var(--text); padding: 0 8px; }
.nav-text.brand { color: var(--brand); font-weight: 600; }
.navbar.dark .nav-text { color: #F3F6FA; }
.tabbar { flex: 0 0 66px; height: 66px; padding: 4px 6px 18px; display: flex; background: rgba(255,255,255,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: .5px solid var(--line); z-index: 20; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: none; color: var(--text-3); font-size: 9.5px; position: relative; padding: 0; letter-spacing: .02em; }
.tab .tab-ic { width: 24px; height: 24px; }
.tab.on { color: var(--brand); font-weight: 500; }
.tab.on .tab-ic { stroke-width: 1.9; }
.tab .tab-badge { position: absolute; top: 1px; left: calc(50% + 6px); min-width: 15px; height: 15px; padding: 0 4px; background: #FA5151; color: #fff; border-radius: 8px; font-size: 9px; line-height: 15px; text-align: center; font-weight: 600; box-shadow: 0 0 0 1.5px #fff; }
.tab .tab-dot { position: absolute; top: 4px; left: calc(50% + 7px); width: 7px; height: 7px; border-radius: 50%; background: #FA5151; box-shadow: 0 0 0 1.5px #fff; }

/* ---------- 通用组件 ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-xs); margin: 0 16px 12px; overflow: hidden; }
.card.flat { background: var(--surface); border: .5px solid var(--line); box-shadow: none; }
.card-pad { padding: 16px; }
.group-label { padding: 20px 18px 8px; font-size: 11.5px; color: var(--text-3); letter-spacing: .02em; display: flex; justify-content: space-between; align-items: baseline; }
.group-label b { font-weight: 500; color: var(--text-2); font-size: 11.5px; }
.list { background: var(--surface); border-radius: var(--r-lg); margin: 0 16px 12px; overflow: hidden; box-shadow: var(--sh-xs); }
.row { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); text-align: left; color: var(--text); }
.row:last-child { border-bottom: 0; }
.row:active { background: var(--surface-2); }
.row-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.row-ico svg { width: 18px; height: 18px; }
.row-ico.green { background: var(--green-bg); color: var(--green); }
.row-ico.amber { background: var(--amber-bg); color: var(--amber); }
.row-ico.red { background: var(--red-bg); color: var(--red); }
.row-ico.violet { background: var(--violet-bg); color: var(--violet); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { font-size: 15px; color: var(--text); line-height: 1.35; }
.row-sub { font-size: 11.5px; color: var(--text-3); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-value { font-size: 13px; color: var(--text-3); flex: none; display: flex; align-items: center; gap: 6px; }
.row-arrow { color: var(--text-dis); display: flex; flex: none; }
.row-arrow svg { width: 16px; height: 16px; }
.row.danger .row-title, .row.danger .row-ico { color: var(--red); }
.row.danger .row-ico { background: var(--red-bg); }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(140deg, var(--g1, #DCE9FF), var(--g2, #1266D9)); color: #fff; font-weight: 600; flex: none; letter-spacing: .02em; user-select: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.28); position: relative; }
.avatar.sq { border-radius: 28%; }
.avatar.sys { background: linear-gradient(140deg, #64748B, #334155); }
.avatar-sq { border-radius: 13px; }
.avatar .online { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 10px; font-weight: 500; white-space: nowrap; letter-spacing: .01em; }
.tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .8; }
.tag.no-dot::before { display: none; }
.tag.blue { background: var(--brand-50); color: var(--brand-600); }
.tag.green { background: var(--green-bg); color: var(--green); }
.tag.amber { background: var(--amber-bg); color: var(--amber); }
.tag.red { background: var(--red-bg); color: var(--red); }
.tag.grey { background: var(--surface-3); color: var(--text-3); }
.tag.violet { background: var(--violet-bg); color: var(--violet); }
.btn { height: 44px; padding: 0 18px; border-radius: var(--r-md); border: 0; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; letter-spacing: .01em; box-shadow: 0 1px 2px rgba(18,102,217,.18); transition: transform .1s, opacity .1s; }
.btn:active { transform: scale(.985); opacity: .92; }
.btn svg { width: 18px; height: 18px; }
.btn.block { width: 100%; }
.btn.lg { height: 50px; font-size: 16px; border-radius: 14px; }
.btn.sm { height: 32px; font-size: 12.5px; padding: 0 12px; border-radius: 9px; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); box-shadow: var(--sh-xs); }
.btn.ghost { background: transparent; color: var(--text-2); box-shadow: none; }
.btn.text { background: none; color: var(--brand); padding: 0 4px; box-shadow: none; }
.btn.danger { background: var(--red); box-shadow: 0 1px 2px rgba(224,36,36,.2); }
.btn.danger-ghost { background: var(--red-bg); color: var(--red); box-shadow: none; }
.btn.white { background: #fff; color: var(--brand); }
.btn:disabled { opacity: .45; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--text); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-btn:active { background: var(--surface-3); }
.icon-btn svg { width: 22px; height: 22px; }
.chip { height: 34px; padding: 0 13px; border-radius: 10px; border: 1px solid transparent; background: var(--surface-3); color: var(--text-2); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; transition: background .12s, color .12s; }
.chip svg { width: 14px; height: 14px; }
.chip.on { background: var(--brand-50); color: var(--brand-600); border-color: rgba(18,102,217,.28); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: flex; background: var(--surface-3); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { flex: 1; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-size: 12.5px; }
.seg button.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--sh-xs); }
.seg-scroll { display: flex; gap: 6px; padding: 10px 16px 8px; overflow-x: auto; }
.seg-scroll::-webkit-scrollbar { display: none; }
.seg-scroll button { flex: none; height: 32px; padding: 0 14px; border-radius: 9px; border: 0; background: none; color: var(--text-3); font-size: 12.5px; white-space: nowrap; }
.seg-scroll button.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--sh-xs); }
.switch { width: 47px; height: 28px; border-radius: 14px; background: #DCE0E6; border: 0; padding: 0; position: relative; transition: background .2s; flex: none; }
.switch i { position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .2s; }
.switch.on { background: #1266D9; }
.switch.on i { transform: translateX(19px); }
.banner { display: flex; align-items: center; gap: 7px; margin: 8px 16px; padding: 10px 12px; border-radius: 12px; font-size: 11.5px; line-height: 1.45; }
.banner svg { width: 15px; height: 15px; flex: none; }
.banner span { flex: 1; }
.banner button { border: 0; background: none; color: inherit; font-weight: 600; font-size: 11.5px; padding: 2px 2px; flex: none; }
.banner.warn { background: var(--amber-bg); color: var(--amber); }
.banner.info { background: var(--brand-50); color: var(--brand-600); }
.fine-print { padding: 10px 24px 18px; font-size: 10.5px; color: var(--text-3); line-height: 1.65; text-align: center; }
.fine-print.left { text-align: left; }
.list-end { text-align: center; font-size: 10.5px; color: var(--text-dis); padding: 14px 0 4px; }
.fab { position: absolute; right: 18px; bottom: 84px; height: 48px; padding: 0 18px; border-radius: 24px; border: 0; background: linear-gradient(135deg, #2C7BF2, #0E56C0); color: #fff; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; box-shadow: 0 8px 20px rgba(18,102,217,.38), 0 2px 4px rgba(18,102,217,.2); z-index: 25; }
.fab svg { width: 19px; height: 19px; }
.divider-space { height: 8px; }

/* ---------- 表单 ---------- */
.field { padding: 12px 16px; }
.field-label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 8px; font-weight: 500; }
.field-label em { color: var(--red); font-style: normal; margin-left: 2px; }
.field-hint { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 6px; line-height: 1.5; }
.field-err { display: block; color: var(--red); font-size: 11px; margin-top: 6px; min-height: 0; line-height: 1.4; }
.input-wrap { min-height: 46px; border-radius: var(--r-md); background: var(--surface-2); display: flex; align-items: center; padding: 0 13px; border: 1px solid transparent; transition: border-color .15s, background .15s; }
.input-wrap:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px rgba(18,102,217,.10); }
.input-wrap.invalid { border-color: var(--red); background: #FFF7F7; }
.input-wrap input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15.5px; color: var(--text); height: 44px; }
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: var(--text-dis); }
.input-wrap .prefix { color: var(--text-3); font-size: 15px; padding-right: 6px; }
.input-wrap.amount .prefix { font-size: 20px; font-weight: 600; color: var(--text-2); }
.input-wrap.textarea { align-items: flex-start; padding: 11px 13px 20px; }
.input-wrap textarea { flex: 1; border: 0; background: none; outline: none; resize: none; font-size: 14.5px; color: var(--text); line-height: 1.55; min-height: 74px; }
.counter { position: absolute; right: 12px; bottom: 6px; font-size: 10px; color: var(--text-dis); font-variant-numeric: tabular-nums; }
.code-btn { border: 0; background: none; color: var(--brand); font-size: 12.5px; font-weight: 600; padding: 4px 2px 4px 10px; flex: none; white-space: nowrap; }
.code-btn:disabled { color: var(--text-dis); }
.auto-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; background: var(--surface-2); border-radius: var(--r-md); padding: 0 13px; font-size: 13px; color: var(--text-2); }
.auto-line .al-left { display: flex; align-items: center; gap: 8px; color: var(--text); min-width: 0; }
.auto-line svg { width: 17px; height: 17px; color: var(--text-3); }
.time-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.select { flex: 1; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; padding: 0 10px; outline: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.time-sep { font-size: 11px; color: var(--text-3); }
.tip-card { margin: 12px 16px; padding: 11px 13px; background: var(--brand-50); border: 1px solid rgba(18,102,217,.10); border-radius: 12px; font-size: 11.5px; color: var(--brand-600); line-height: 1.55; display: flex; gap: 8px; }
.tip-card svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.tip-card span { flex: 1; }
.form-card { padding: 4px 0; }
.form-actions { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- 登录（保留 v1 视觉，按 v2 细节微调） ---------- */
.login { height: 100%; overflow-y: auto; padding: 0 26px; background: linear-gradient(180deg, #EAF1FF 0%, #F7F9FC 48%, #F4F6F9 100%); display: flex; flex-direction: column; }
.login::-webkit-scrollbar { display: none; }
.login-hero { padding-top: 36px; display: flex; flex-direction: column; align-items: center; }
.login-hero .logo { width: 68px; height: 68px; border-radius: 21px; background: linear-gradient(140deg, #4E97FF 0%, #1266D9 55%, #0B4DAE 100%); color: #fff; font-size: 31px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(18,102,217,.34), inset 0 1px 0 rgba(255,255,255,.35); }
.login-brand { font-size: 25px; font-weight: 700; color: #10213F; margin-top: 16px; letter-spacing: .02em; }
.login-slogan { font-size: 11.5px; color: var(--text-3); margin-top: 7px; letter-spacing: .1em; }
.login-panel { margin-top: 26px; }
.login-title { font-size: 22px; font-weight: 700; color: var(--text); }
.login-sub { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }
.seg-login { display: flex; background: var(--surface-3); border-radius: 11px; padding: 3px; margin: 18px 0 4px; }
.seg-login button { flex: 1; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-size: 13px; }
.seg-login button.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--sh-xs); }
.login .field { padding: 10px 0; }
.login .btn.block { margin-top: 18px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 10.5px; color: var(--text-3); line-height: 1.55; margin-top: 4px; }
.checkbox { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px; background: var(--surface); }
.checkbox svg { width: 12px; height: 12px; opacity: 0; color: #fff; }
.checkbox.on { background: var(--brand); border-color: var(--brand); }
.checkbox.on svg { opacity: 1; }
.demo-tip { margin-top: 14px; display: flex; gap: 6px; align-items: flex-start; background: #EFF5FF; color: #0E56C0; border-radius: 10px; padding: 10px; font-size: 10.5px; line-height: 1.5; }
.demo-tip svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.login-foot { margin-top: auto; padding: 24px 0 26px; text-align: center; font-size: 10px; color: var(--text-dis); line-height: 1.7; }

/* ---------- 骨架 / 空 / 错 / 加载 ---------- */
.sk { background: linear-gradient(90deg, #EDF0F4 25%, #F7F8FA 37%, #EDF0F4 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite linear; border-radius: 6px; }
.sk-row { display: flex; gap: 12px; padding: 13px 16px; align-items: center; border-bottom: .5px solid var(--line); }
.sk-av { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.sk-main { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.sk-line { height: 11px; }
.w55 { width: 55%; } .w90 { width: 90%; }
.sk-hint { display: flex; gap: 6px; align-items: center; padding: 16px; font-size: 10.5px; color: var(--text-3); line-height: 1.5; }
.sk-hint svg { width: 14px; height: 14px; }
.state-note { margin: 12px 16px; padding: 10px 13px; background: var(--amber-bg); color: var(--amber); border-radius: 10px; font-size: 11px; line-height: 1.5; }
.state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 30px 26px; }
.state-illu { width: 104px; height: 104px; border-radius: 32px; background: linear-gradient(150deg, #EEF4FF, #DCE9FF); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.state-illu svg { width: 46px; height: 46px; }
.state-illu.error { background: linear-gradient(150deg, #FFF2F2, #FEECEC); color: var(--red); }
.state h2 { font-size: 17px; font-weight: 600; color: var(--text); }
.state p { font-size: 12px; color: var(--text-3); line-height: 1.65; margin-top: 7px; max-width: 270px; }
.state .btn { margin-top: 18px; min-width: 140px; }
.err-code { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 10px; color: var(--text-dis); background: var(--surface-3); padding: 2px 7px; border-radius: 5px; }
.empty-action { margin-top: 16px; }
.loading-mask { position: absolute; inset: 0; background: rgba(11,15,21,.42); backdrop-filter: blur(2px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 12.5px; z-index: 95; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.28); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes screenIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }



/* ===== app.css（2/3：消息 / 通讯录 / 我的 / 单据 / 车辆 / 安全） ===== */

/* 底部面板 / 弹窗 / 浮层 */
.scrim { position: absolute; inset: 0; background: rgba(10,14,20,.46); backdrop-filter: blur(2px); animation: fadeIn .18s ease-out; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 24px 24px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 76%; overflow-y: auto; animation: sheetUp .24s cubic-bezier(.22,1,.36,1); box-shadow: 0 -12px 40px rgba(16,24,40,.18); }
.sheet::-webkit-scrollbar { display: none; }
.sheet-handle { width: 36px; height: 5px; border-radius: 3px; background: #DCE0E6; margin: 0 auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.sheet-head small { font-size: 11px; color: var(--text-3); font-weight: 400; }
.sheet-close { width: 30px; height: 30px; border: 0; background: var(--surface-2); border-radius: 50%; color: var(--text-3); display: flex; align-items: center; justify-content: center; }
.sheet-close svg { width: 16px; height: 16px; }
.sheet-list { display: flex; flex-direction: column; margin-top: 4px; }
.sheet-list > button { height: 50px; border: 0; border-bottom: .5px solid var(--line); background: none; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text); text-align: left; padding: 0 2px; }
.sheet-list > button:last-child { border-bottom: 0; }
.sheet-list > button svg { width: 19px; height: 19px; color: var(--text-2); }
.sheet-list > button.danger { color: var(--red); }
.sheet-list > button.danger svg { color: var(--red); }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; padding: 14px 0 6px; }
.menu-item { display: flex; flex-direction: column; align-items: center; gap: 7px; background: none; border: 0; font-size: 10.5px; color: var(--text-2); }
.menu-item .mi-ico { width: 50px; height: 50px; border-radius: 16px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.menu-item .mi-ico svg { width: 24px; height: 24px; }
.attach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; padding: 14px 0 8px; }
.dialog { position: absolute; left: 30px; right: 30px; top: 50%; transform: translateY(-50%); background: var(--surface); border-radius: 20px; padding: 22px 20px 16px; animation: popIn .2s cubic-bezier(.22,1,.36,1); box-shadow: var(--sh-lg); }
.dlg-title { font-size: 16.5px; font-weight: 600; color: var(--text); text-align: center; }
.dlg-body { font-size: 12.5px; color: var(--text-2); line-height: 1.65; margin: 9px 0 18px; text-align: center; }
.dlg-actions { display: flex; gap: 8px; }
.dlg-actions .btn { flex: 1; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(-46%) scale(.97); } }
@keyframes sheetUp { from { transform: translateY(20px); opacity: .5; } }

/* 顶部搜索条 */
.page-search { padding: 6px 16px 10px; display: flex; gap: 8px; align-items: center; }
.search-pill { flex: 1; height: 36px; border-radius: 10px; background: var(--surface); border: .5px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 11px; color: var(--text-3); font-size: 12.5px; box-shadow: var(--sh-xs); }
.search-pill svg { width: 15px; height: 15px; }
.search-pill input { flex: 1; border: 0; background: none; outline: none; font-size: 12.5px; color: var(--text); }
.search-pill input::placeholder { color: var(--text-3); }
.org-chip { display: flex; align-items: center; gap: 6px; padding: 0 16px 8px; font-size: 11px; color: var(--text-3); }
.org-chip .oc-badge { display: flex; align-items: center; gap: 4px; background: var(--green-bg); color: var(--green); border-radius: 6px; padding: 2px 6px; font-size: 9.5px; }
.org-chip .oc-badge i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.chat-section { padding: 12px 18px 6px; font-size: 10.5px; color: var(--text-3); letter-spacing: .04em; display: flex; justify-content: space-between; }
.chat-list { background: var(--surface); border-radius: var(--r-lg); margin: 0 12px 12px; overflow: hidden; box-shadow: var(--sh-xs); }
.chat-item { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); text-align: left; }
.chat-item:last-child { border-bottom: 0; }
.chat-item:active { background: var(--surface-2); }
.chat-av-wrap { position: relative; flex: none; }
.chat-av-wrap .avatar { border-radius: 14px; }
.chat-av-wrap .online-dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; }
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.chat-line1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.chat-name { font-size: 15px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.chat-name .muted { color: var(--text-dis); display: inline-flex; }
.chat-name .muted svg { width: 13px; height: 13px; }
.chat-time { font-size: 10px; color: var(--text-dis); flex: none; font-variant-numeric: tabular-nums; }
.chat-line2 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.chat-last { flex: 1; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; }
.chat-last em { font-style: normal; color: var(--red); }
.badge { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #FA5151; color: #fff; font-size: 9.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.badge.soft { background: var(--surface-3); color: var(--text-3); }
.chat-pinned { padding: 8px 14px; background: var(--surface); border-bottom: .5px solid var(--line); }
.chat-pinned:last-child { border-bottom: 0; }

/* 会话详情 */
.chat-view { background: #EDF1F6; }
.chat-nav { flex: 0 0 48px; height: 48px; display: flex; align-items: center; padding: 0 4px; background: rgba(255,255,255,.94); backdrop-filter: blur(20px); border-bottom: .5px solid var(--line); position: relative; z-index: 20; }
.chat-nav .nav-left { flex: 0 0 84px; }
.chat-nav .nav-right { flex: 0 0 84px; }
.chat-title { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; max-width: 210px; }
.chat-title h1 { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title span { font-size: 9.5px; color: var(--text-3); margin-top: 1px; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 10px 12px 0; position: relative; }
.chat-scroll::-webkit-scrollbar { display: none; }
.chat-wm { position: absolute; top: 38%; left: 0; right: 0; text-align: center; font-size: 18px; color: rgba(17,24,39,.035); transform: rotate(-20deg); pointer-events: none; white-space: nowrap; letter-spacing: .1em; }
.msg-date { display: flex; justify-content: center; margin: 12px 0 10px; }
.msg-date span { font-size: 9.5px; color: var(--text-3); background: rgba(255,255,255,.85); padding: 3px 9px; border-radius: 999px; }
.msg-sys { display: flex; justify-content: center; margin: 8px 0 12px; padding: 0 20px; }
.msg-sys span { font-size: 10px; color: var(--text-3); text-align: center; line-height: 1.5; background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 8px; }
.msg-row { display: flex; gap: 8px; margin-bottom: 14px; align-items: flex-start; }
.msg-row.mine { flex-direction: row-reverse; }
.msg-content { max-width: 74%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.msg-row.mine .msg-content { align-items: flex-end; }
.msg-name { font-size: 10px; color: var(--text-3); padding-left: 2px; display: flex; align-items: center; gap: 4px; }
.msg-role { font-size: 8.5px; background: var(--surface-3); color: var(--text-3); border-radius: 4px; padding: 0 4px; }
.bubble { position: relative; padding: 9px 13px; border-radius: 16px; border-top-left-radius: 5px; background: var(--surface); color: var(--text); font-size: 14.5px; line-height: 1.5; text-align: left; border: 0; word-break: break-word; box-shadow: var(--sh-xs); }
.bubble.mine { background: linear-gradient(135deg, #2E7BF0 0%, #1266D9 100%); color: #fff; border-top-left-radius: 16px; border-top-right-radius: 5px; box-shadow: 0 2px 8px rgba(18,102,217,.22); }
.msg-meta { font-size: 9px; color: var(--text-3); display: flex; align-items: center; gap: 3px; padding: 0 2px; }
.msg-meta .read { color: var(--brand); }
.msg-meta svg { width: 11px; height: 11px; }
.msg-card-wrap { max-width: 84%; }
.msg-card { width: 264px; max-width: 100%; background: var(--surface); border-radius: 16px; border: .5px solid var(--line); box-shadow: var(--sh-sm); overflow: hidden; text-align: left; padding: 0; border: 0; display: block; margin-bottom: 14px; }
.msg-card-head { display: flex; align-items: center; gap: 6px; padding: 11px 13px; border-bottom: .5px solid var(--line); background: var(--surface-2); }
.msg-card-head .mc-ico { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.msg-card-head .mc-ico svg { width: 14px; height: 14px; }
.msg-card-head b { font-size: 11.5px; font-weight: 600; color: var(--text); flex: 1; }
.msg-card-head .mc-link { font-size: 10px; color: var(--brand); display: flex; align-items: center; }
.msg-card-head .mc-link svg { width: 12px; height: 12px; }
.msg-card-body { padding: 12px 13px 13px; }
.msg-card-title { font-size: 14px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.msg-card-title .amount { font-size: 19px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.mc-route { display: flex; align-items: center; gap: 8px; margin: 11px 0 10px; }
.mc-route .city { font-size: 13.5px; font-weight: 600; color: var(--text); }
.mc-route .line { flex: 1; position: relative; height: 1px; background: var(--line-2); }
.mc-route .line::before, .mc-route .line::after { content: ''; position: absolute; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.mc-route .line::before { left: 0; } .mc-route .line::after { right: 0; }
.mc-route .truck { color: var(--brand); display: flex; }
.mc-route .truck svg { width: 17px; height: 17px; }
.mc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; padding: 3px 0; }
.mc-row span { color: var(--text-3); } .mc-row b { color: var(--text-2); font-weight: 500; text-align: right; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: .5px dashed var(--line-2); font-size: 10.5px; color: var(--text-3); }
.mc-actions { display: flex; gap: 6px; }
.mc-actions button { height: 26px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 10.5px; }
.mc-actions button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.msg-photo { width: 208px; border-radius: 14px; overflow: hidden; position: relative; box-shadow: var(--sh-sm); border: .5px solid var(--line); background: #1F2937; }
.msg-photo .ph-scene { height: 150px; background: linear-gradient(155deg, #7C93AF 0%, #4A607C 45%, #263445 100%); position: relative; overflow: hidden; }
.msg-photo .ph-scene::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(112deg, rgba(255,255,255,.06) 0 2px, transparent 2px 13px); }
.msg-photo .ph-scene::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 34%; background: linear-gradient(transparent, rgba(0,0,0,.35)); }
.msg-photo .ph-truck { position: absolute; right: 14px; bottom: 12px; color: rgba(255,255,255,.5); }
.msg-photo .ph-truck svg { width: 42px; height: 42px; }
.msg-photo .ph-wm { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 7px 6px; font-size: 7px; line-height: 1.5; color: rgba(255,255,255,.94); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.msg-photo .ph-label { position: absolute; top: 7px; left: 7px; font-size: 9px; color: #fff; background: rgba(0,0,0,.35); border-radius: 5px; padding: 2px 6px; backdrop-filter: blur(4px); }
.msg-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 176px; border-radius: 12px; overflow: hidden; }
.msg-photo-grid span { height: 86px; background: linear-gradient(150deg, #8AA0BA, #34465C); position: relative; }
.msg-photo-grid span:nth-child(2) { background: linear-gradient(150deg, #6E849F, #2A3849); }
.msg-photo-grid span:nth-child(3) { background: linear-gradient(150deg, #97A9BE, #3C4D62); }
.msg-photo-grid span .more { position: absolute; inset: 0; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.bubble-voice { display: flex; align-items: center; gap: 9px; background: var(--surface); border-radius: 16px; border-top-left-radius: 5px; padding: 10px 13px; box-shadow: var(--sh-xs); border: 0; max-width: 236px; }
.bubble-voice.mine { background: linear-gradient(135deg, #2E7BF0, #1266D9); color: #fff; border-radius: 16px; border-top-right-radius: 5px; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 18px; flex: 1; min-width: 50px; }
.wave i { width: 2.5px; border-radius: 2px; background: currentColor; opacity: .62; }
.wave i:nth-child(3n) { opacity: .95; }
.voice-dur { font-size: 11.5px; color: var(--text-3); flex: none; }
.bubble-voice.mine .voice-dur { color: rgba(255,255,255,.8); }
.bubble-file { display: flex; align-items: center; gap: 11px; background: var(--surface); border-radius: 14px; padding: 11px 12px; width: 238px; border: 0; box-shadow: var(--sh-xs); text-align: left; }
.bubble-file .f-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.bubble-file .f-ico svg { width: 21px; height: 21px; }
.bubble-file .f-main { flex: 1; min-width: 0; }
.bubble-file .f-main b { display: block; font-size: 12.5px; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble-file .f-main span { font-size: 10px; color: var(--text-3); }
.bubble-file .f-dl { color: var(--text-3); display: flex; }
.bubble-file .f-dl svg { width: 17px; height: 17px; }
.chat-input-bar { flex: 0 0 auto; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border-top: .5px solid var(--line); padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; gap: 6px; }
.chat-input-bar .ib-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--text-2); display: flex; align-items: center; justify-content: center; flex: none; }
.chat-input-bar .ib-btn svg { width: 24px; height: 24px; }
.chat-input-bar .ib-btn.send { background: var(--brand); color: #fff; width: 34px; height: 34px; box-shadow: 0 2px 6px rgba(18,102,217,.3); }
.chat-input-bar .ib-btn.send svg { width: 18px; height: 18px; }
.chat-input-box { flex: 1; min-height: 38px; background: var(--surface-2); border-radius: 19px; border: 1px solid transparent; display: flex; align-items: center; padding: 0 6px 0 13px; }
.chat-input-box:focus-within { border-color: rgba(18,102,217,.35); background: var(--surface); }
.chat-input-box input { flex: 1; border: 0; background: none; outline: none; font-size: 14.5px; color: var(--text); height: 36px; }
.chat-input-box .ib-emoji { background: none; border: 0; color: var(--text-3); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.chat-input-box .ib-emoji svg { width: 20px; height: 20px; }
.hold-talk { flex: 1; height: 38px; border-radius: 19px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 13.5px; }

/* 通讯录 */
.quick-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px 16px 14px; }
.quick-card { background: var(--surface); border: 0; border-radius: 14px; padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--text-2); box-shadow: var(--sh-xs); position: relative; }
.quick-card .qc-ico { width: 34px; height: 34px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.quick-card .qc-ico svg { width: 19px; height: 19px; }
.quick-card .qd { position: absolute; top: 8px; right: 12px; min-width: 15px; height: 15px; border-radius: 8px; background: #FA5151; color: #fff; font-size: 9px; display: flex; align-items: center; justify-content: center; padding: 0 3px; font-weight: 600; }
.org-head-card { margin: 0 16px 12px; background: var(--surface); border-radius: 16px; box-shadow: var(--sh-xs); overflow: hidden; }
.org-head-row { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: .5px solid var(--line); }
.org-logo { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(140deg, #4E97FF, #0E56C0); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none; }
.org-head-row b { display: block; font-size: 15px; color: var(--text); }
.org-head-row span { font-size: 10.5px; color: var(--text-3); display: block; margin-top: 3px; }
.org-head-row .tag { margin-left: auto; }
.dept-block { background: var(--surface); }
.dept-head { width: 100%; display: flex; align-items: center; gap: 9px; padding: 12px 16px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); }
.dept-head .d-chev { display: flex; color: var(--text-3); transition: transform .18s; }
.dept-head .d-chev svg { width: 15px; height: 15px; }
.dept-head .d-chev.closed { transform: rotate(-90deg); }
.dept-head b { flex: 1; text-align: left; font-size: 13.5px; font-weight: 500; color: var(--text); }
.dept-head span { font-size: 10.5px; color: var(--text-3); }
.member-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 16px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); text-align: left; }
.member-item:last-child { border-bottom: 0; }
.member-item .m-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.member-item .m-name { font-size: 14.5px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.member-item .m-sub { font-size: 10.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-tag { font-size: 8.5px; background: var(--brand-50); color: var(--brand-600); padding: 1px 5px; border-radius: 4px; }
.alpha-index { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0; z-index: 12; padding: 2px 2px; }
.alpha-index button { width: 18px; height: 14px; border: 0; background: none; color: var(--text-3); font-size: 8px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.alpha-index button:active { color: var(--brand); background: var(--brand-50); border-radius: 4px; }

/* 名片 / 群详情 */
.profile-bg { height: 150px; background: linear-gradient(150deg, #2E7BF0 0%, #1266D9 45%, #0B3E8F 100%); position: relative; }
.profile-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(320px 160px at 80% 0%, rgba(255,255,255,.22), transparent 70%); }
.profile-card { margin: -58px 16px 12px; background: var(--surface); border-radius: 20px; box-shadow: var(--sh-md); padding: 18px 16px 14px; position: relative; z-index: 2; text-align: center; }
.profile-card .avatar { margin-top: -46px; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(16,24,40,.14); }
.profile-name { margin-top: 10px; font-size: 20px; font-weight: 700; color: var(--text); display: flex; align-items: center; justify-content: center; gap: 6px; }
.profile-pos { font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.profile-tags { display: flex; justify-content: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.profile-tags span { font-size: 10px; color: var(--text-2); background: var(--surface-2); border-radius: 6px; padding: 3px 8px; }
.profile-actions { display: flex; gap: 8px; margin-top: 16px; }
.profile-actions .btn { flex: 1; }
.common-group { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-bottom: .5px solid var(--line); background: var(--surface); width: 100%; border: 0; text-align: left; }
.common-group:last-child { border-bottom: 0; }
.common-group .cg-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.common-group .cg-ico svg { width: 20px; height: 20px; }
.common-group b { display: block; font-size: 13.5px; color: var(--text); font-weight: 500; }
.common-group span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 3px; }
.group-hero { background: var(--surface); padding: 18px 16px 14px; text-align: center; border-bottom: .5px solid var(--line); }
.group-avs { display: flex; justify-content: center; gap: 4px; }
.group-avs .avatar { border: 2px solid #fff; box-shadow: var(--sh-xs); }
.group-title { margin-top: 11px; font-size: 18px; font-weight: 650; color: var(--text); display: flex; align-items: center; justify-content: center; gap: 6px; }
.group-sub { font-size: 10.5px; color: var(--text-3); margin-top: 5px; }
.notice-box { margin: 12px 16px; background: var(--surface); border-radius: 14px; padding: 13px 14px; display: flex; gap: 9px; box-shadow: var(--sh-xs); }
.notice-box .nb-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--amber-bg); color: var(--amber); display: flex; align-items: center; justify-content: center; flex: none; }
.notice-box .nb-ico svg { width: 15px; height: 15px; }
.notice-box b { font-size: 11.5px; color: var(--text); }
.notice-box p { font-size: 11.5px; color: var(--text-2); line-height: 1.6; margin-top: 3px; }
.member-grid { margin: 0 16px 12px; background: var(--surface); border-radius: 16px; padding: 16px 8px 10px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 4px; box-shadow: var(--sh-xs); }
.member-cell { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9.5px; color: var(--text-2); }
.member-cell .add-av { width: 42px; height: 42px; border-radius: 50%; border: 1px dashed var(--line-2); color: var(--text-3); display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.member-cell .add-av svg { width: 18px; height: 18px; }

/* 搜索 */
.search-head { flex: 0 0 52px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--surface); border-bottom: .5px solid var(--line); }
.search-head .sh-input { flex: 1; height: 36px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; gap: 7px; padding: 0 11px; }
.search-head .sh-input svg { width: 16px; height: 16px; color: var(--text-3); flex: none; }
.search-head .sh-input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 13.5px; color: var(--text); height: 34px; }
.search-block { padding: 12px 16px 4px; }
.search-block .sb-label { font-size: 10.5px; color: var(--text-3); margin-bottom: 9px; display: flex; justify-content: space-between; }
.search-hist { display: flex; flex-wrap: wrap; gap: 8px; }
.search-hist button { height: 30px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--surface); color: var(--text-2); font-size: 11.5px; box-shadow: var(--sh-xs); }
.search-result { width: 100%; display: flex; gap: 11px; padding: 12px 16px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); text-align: left; }
.search-result .sr-av { flex: none; }
.search-result .sr-main { flex: 1; min-width: 0; }
.search-result .sr-main b { display: block; font-size: 13px; color: var(--text); font-weight: 500; }
.search-result .sr-main p { font-size: 11.5px; color: var(--text-2); line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.search-result .sr-main p em { font-style: normal; color: var(--brand); font-weight: 600; }
.search-result .sr-main i { display: block; font-style: normal; font-size: 9.5px; color: var(--text-3); margin-top: 3px; }

/* 我的 / 设置 / 设备 */
.me-head { margin: 12px 16px; background: linear-gradient(140deg, #2E7BF0 0%, #1266D9 52%, #0B3E8F 100%); border-radius: 20px; padding: 20px 18px 14px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 12px 28px rgba(18,102,217,.25); }
.me-head::after { content: ''; position: absolute; right: -30px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.22), transparent 65%); }
.me-top { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.me-top .avatar { border: 3px solid rgba(255,255,255,.32); }
.me-info { flex: 1; min-width: 0; }
.me-name { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.me-name .tag { background: rgba(255,255,255,.18); color: #fff; }
.me-name .tag::before { background: #fff; }
.me-sub { font-size: 10.5px; color: rgba(255,255,255,.72); margin-top: 5px; }
.me-phone { font-size: 10.5px; color: rgba(255,255,255,.62); margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.me-phone svg { width: 12px; height: 12px; }
.me-gear { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); border: 0; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.me-gear svg { width: 19px; height: 19px; }
.me-stats { display: flex; margin-top: 16px; padding-top: 13px; border-top: .5px solid rgba(255,255,255,.18); position: relative; z-index: 1; }
.me-stats .stat { flex: 1; text-align: center; position: relative; }
.me-stats .stat + .stat::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: .5px; height: 22px; background: rgba(255,255,255,.16); }
.me-stats b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.me-stats span { display: block; font-size: 9.5px; color: rgba(255,255,255,.66); margin-top: 3px; }
.settings-hero { margin: 12px 16px; padding: 16px; background: var(--surface); border-radius: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-xs); }
.settings-hero .sh-ico { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.settings-hero .sh-ico svg { width: 22px; height: 22px; }
.settings-hero b { display: block; font-size: 14px; color: var(--text); }
.settings-hero span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 4px; }
.device-big { margin: 12px 16px; background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--sh-xs); }
.db-top { display: flex; align-items: center; justify-content: space-between; }
.db-phone { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.db-phone svg { width: 26px; height: 26px; }
.db-name { font-size: 16px; font-weight: 600; color: var(--text); margin-top: 12px; }
.db-sub { font-size: 10.5px; color: var(--text-3); margin-top: 4px; }
.db-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--text-3); border-top: .5px solid var(--line); margin-top: 13px; padding-top: 11px; }
.device-row { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-bottom: .5px solid var(--line); background: var(--surface); width: 100%; border-left: 0; border-right: 0; border-top: 0; text-align: left; }
.device-row:last-child { border-bottom: 0; }
.device-row .dr-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); display: flex; align-items: center; justify-content: center; flex: none; }
.device-row .dr-ico svg { width: 19px; height: 19px; }
.device-row .dr-main { flex: 1; min-width: 0; }
.device-row .dr-main b { display: block; font-size: 13px; color: var(--text); font-weight: 500; }
.device-row .dr-main span { display: block; font-size: 10px; color: var(--text-3); margin-top: 3px; }
.device-row .off { font-size: 10.5px; color: var(--red); }

/* 工单 */
.wo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px 16px 12px; }
.wo-stat { background: var(--surface); border-radius: 14px; padding: 12px 12px 11px; box-shadow: var(--sh-xs); position: relative; overflow: hidden; }
.wo-stat b { font-size: 21px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.wo-stat span { display: block; font-size: 10px; color: var(--text-3); margin-top: 3px; }
.wo-stat .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-100); }
.wo-stat .bar i { display: block; height: 100%; background: var(--brand); border-radius: 0 3px 3px 0; }
.wo-item { display: block; width: calc(100% - 32px); margin: 0 16px 10px; background: var(--surface); border-radius: 16px; box-shadow: var(--sh-xs); padding: 14px 14px 12px; border: 0; text-align: left; position: relative; overflow: hidden; }
.wo-item::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.wo-item.done::before { background: var(--green); }
.wo-item.closed::before { background: var(--text-dis); }
.wo-item .wo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wo-item .wo-id { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.wo-item h3 { font-size: 14.5px; font-weight: 600; color: var(--text); margin: 7px 0 4px; }
.wo-item p { font-size: 11.5px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wo-item .wo-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: .5px dashed var(--line-2); font-size: 10px; color: var(--text-3); }
.wo-item .wo-foot .left { display: flex; align-items: center; gap: 4px; min-width: 0; }
.wo-item .wo-foot svg { width: 12px; height: 12px; }
.wo-sla { display: flex; align-items: center; gap: 5px; color: var(--amber); }
.wo-sla.urgent { color: var(--red); }
.wo-sla .sla-bar { width: 34px; height: 3px; border-radius: 2px; background: var(--red-bg); overflow: hidden; }
.wo-sla .sla-bar i { display: block; height: 100%; width: 68%; background: var(--red); }
.detail-hero { margin: 12px 16px; border-radius: 18px; padding: 18px; background: linear-gradient(140deg, #EFF5FF 0%, #F8FBFF 70%); border: .5px solid rgba(18,102,217,.10); position: relative; overflow: hidden; }
.detail-hero::after { content: ''; position: absolute; right: -20px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(18,102,217,.10), transparent 70%); }
.detail-hero .dh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-hero .dh-id { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.detail-hero h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 10px; }
.detail-hero p { font-size: 11.5px; color: var(--text-2); margin-top: 5px; }
.detail-hero .dh-tags { display: flex; gap: 6px; margin-top: 11px; flex-wrap: wrap; }
.timeline { padding: 16px 18px 6px; }
.tl-item { display: flex; gap: 13px; position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-rail { width: 20px; flex: none; display: flex; flex-direction: column; align-items: center; position: relative; }
.tl-item:not(:last-child) .tl-rail::after { content: ''; position: absolute; top: 22px; bottom: -18px; width: 1.5px; background: var(--line); }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 1; }
.tl-dot svg { width: 11px; height: 11px; }
.tl-item.done .tl-dot { background: var(--green); border-color: var(--green); }
.tl-item.current .tl-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.tl-item.todo .tl-dot { border-color: var(--line); background: var(--surface); }
.tl-body { flex: 1; min-width: 0; padding-top: 1px; }
.tl-body b { display: block; font-size: 12.5px; font-weight: 500; color: var(--text); }
.tl-item.current .tl-body b { color: var(--brand-600); }
.tl-body span { display: block; font-size: 10.5px; color: var(--text-3); line-height: 1.5; margin-top: 3px; }
.attach-grid-view { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 16px 12px; }
.attach-thumb { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(150deg, #8AA0BA, #34465C); position: relative; overflow: hidden; border: 0; }
.attach-thumb::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 2px, transparent 2px 12px); }
.attach-thumb svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 20px; height: 20px; color: rgba(255,255,255,.75); }
.attach-thumb .count { position: absolute; right: 5px; bottom: 4px; font-size: 8.5px; color: #fff; background: rgba(0,0,0,.35); border-radius: 4px; padding: 1px 4px; }
.attach-add { aspect-ratio: 1; border-radius: 10px; border: 1px dashed var(--line-2); background: var(--surface-2); color: var(--text-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 8.5px; }
.attach-add svg { width: 19px; height: 19px; }
.record-card { padding: 4px 16px 8px; }
.record-item { padding: 11px 0; border-bottom: .5px solid var(--line); }
.record-item:last-child { border-bottom: 0; }
.record-item .ri-head { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.record-item .ri-head b { font-weight: 500; color: var(--text); }
.record-item .ri-head span { font-size: 9.5px; color: var(--text-3); }
.record-item p { font-size: 11.5px; color: var(--text-2); line-height: 1.55; margin-top: 4px; }
.bottom-bar { flex: 0 0 auto; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); border-top: .5px solid var(--line); display: flex; gap: 9px; }
.bottom-bar .btn { flex: 1; }
.rating { text-align: center; padding: 24px 16px 4px; }
.rating .r-star { display: flex; justify-content: center; gap: 10px; margin: 16px 0 8px; }
.rating .r-star button { background: none; border: 0; color: #DDE2E9; padding: 2px; }
.rating .r-star button svg { width: 36px; height: 36px; }
.rating .r-star button.on { color: #F59E0B; }
.rating h2 { font-size: 19px; font-weight: 700; color: var(--text); }
.rating p { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.rating .r-label { font-size: 11px; color: var(--text-2); height: 16px; }
.rating-tags { padding: 10px 16px 4px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* 车辆 / 安全 */
.vehicle-card { margin: 12px 16px; border-radius: 20px; padding: 20px 18px; background: linear-gradient(145deg, #1A2636 0%, #0D141D 70%); color: #fff; position: relative; overflow: hidden; box-shadow: 0 14px 32px rgba(9,14,22,.35); }
.vehicle-card::after { content: ''; position: absolute; right: -40px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(rgba(78,151,255,.26), transparent 65%); }
.vehicle-card .v-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.vehicle-card .plate { font-size: 23px; font-weight: 700; letter-spacing: .08em; }
.vehicle-card .v-model { font-size: 13.5px; color: rgba(255,255,255,.82); margin-top: 10px; }
.vehicle-card .v-sub { font-size: 10.5px; color: rgba(255,255,255,.48); margin-top: 4px; }
.vehicle-card .v-line { height: .5px; background: rgba(255,255,255,.14); margin: 15px 0; }
.vehicle-card .v-meta { display: flex; justify-content: space-between; font-size: 9.5px; color: rgba(255,255,255,.5); }
.vehicle-card .v-meta b { color: rgba(255,255,255,.8); font-weight: 500; }
.vehicle-hero-icon { width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; color: #93BBFA; }
.vehicle-hero-icon svg { width: 24px; height: 24px; }
.security-hero { margin: 12px 16px; background: linear-gradient(135deg, #F0FBF7, #E7F7F1); border: .5px solid rgba(14,159,110,.18); border-radius: 18px; padding: 18px; display: flex; align-items: center; gap: 13px; }
.security-hero .sec-ico { width: 50px; height: 50px; border-radius: 15px; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-xs); flex: none; }
.security-hero .sec-ico svg { width: 26px; height: 26px; }
.security-hero b { display: block; font-size: 14.5px; color: #065F46; }
.security-hero span { display: block; font-size: 10.5px; color: #4B7A68; margin-top: 4px; line-height: 1.45; }
.security-hero .tag { margin-left: auto; flex: none; }
.water-demo { margin: 0 16px 12px; background: var(--surface); border-radius: 16px; padding: 14px; box-shadow: var(--sh-xs); }
.water-preview { height: 130px; border-radius: 12px; background: linear-gradient(155deg, #DDEAF9, #C3D7EF); overflow: hidden; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 20px 12px; position: relative; }
.water-preview span { font-size: 10.5px; color: rgba(18,102,217,.30); transform: rotate(-22deg); white-space: nowrap; }
.water-desc { display: flex; gap: 10px; margin-top: 12px; }
.water-desc .wd-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.water-desc .wd-ico svg { width: 17px; height: 17px; }
.water-desc b { display: block; font-size: 12.5px; color: var(--text); }
.water-desc p { font-size: 10.5px; color: var(--text-3); line-height: 1.5; margin-top: 3px; }



/* ===== app.css（3/3：会议 / 投屏 / 相机 / 差异 / 报销 / 响应式） ===== */

/* 会议 */
.meeting-view { height: 100%; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 50% 0%, #1C3A66 0%, #0D1626 52%, #070A10 100%); color: #fff; position: relative; overflow: hidden; }
.meeting-view::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 80% 90%, rgba(18,102,217,.16), transparent 70%); pointer-events: none; }
.meet-nav { flex: 0 0 48px; display: flex; align-items: center; padding: 0 6px; position: relative; z-index: 5; }
.meet-nav .nav-btn { color: #E7EDF6; }
.meet-nav .nav-btn:active { background: rgba(255,255,255,.10); }
.meet-title { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; display: flex; flex-direction: column; gap: 3px; max-width: 220px; }
.meet-title b { font-size: 15px; font-weight: 600; }
.meet-title span { font-size: 9.5px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 5px; justify-content: center; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #34D399; display: inline-block; animation: blink 1.8s infinite; }
.meet-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px; align-content: start; overflow-y: auto; position: relative; z-index: 2; }
.meet-grid::-webkit-scrollbar { display: none; }
.m-tile { position: relative; border-radius: 16px; overflow: hidden; min-height: 165px; background: linear-gradient(150deg, #2B4A78, #152238); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 4px 14px rgba(0,0,0,.18); }
.m-tile.t2 { background: linear-gradient(150deg, #3E6B5A, #142A26); }
.m-tile.t3 { background: linear-gradient(150deg, #5B4A7E, #1D1730); }
.m-tile.t4 { background: linear-gradient(150deg, #6E4A4A, #2A1718); }
.m-tile.t5 { background: linear-gradient(150deg, #3F5C74, #152430); }
.m-tile.speaking { box-shadow: inset 0 0 0 2px #34D399, 0 4px 18px rgba(52,211,153,.22); }
.m-tile .tile-glow { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 35%, rgba(255,255,255,.16), transparent 70%); }
.m-tile .tile-av { width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); box-shadow: 0 6px 16px rgba(0,0,0,.25); position: relative; z-index: 1; }
.m-tile .tile-cam { position: absolute; right: 7px; top: 7px; width: 22px; height: 22px; border-radius: 7px; background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.m-tile .tile-cam svg { width: 12px; height: 12px; color: rgba(255,255,255,.85); }
.m-tile .tile-name { position: absolute; left: 9px; bottom: 9px; display: flex; align-items: center; gap: 4px; font-size: 10px; background: rgba(0,0,0,.28); backdrop-filter: blur(8px); padding: 3px 7px; border-radius: 7px; color: #F1F5F9; }
.m-tile .tile-name .crown { color: #FBBF24; display: flex; }
.m-tile .tile-name .crown svg { width: 11px; height: 11px; }
.m-tile .tile-name .me-chip { font-size: 8px; background: rgba(147,187,250,.25); color: #BFD6FF; padding: 1px 4px; border-radius: 4px; }
.m-tile .muted-ic { position: absolute; right: 8px; bottom: 8px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.32); display: flex; align-items: center; justify-content: center; color: #FCA5A5; }
.m-tile .muted-ic svg { width: 11px; height: 11px; }
.meet-status { position: relative; z-index: 2; margin: 0 14px 8px; display: flex; align-items: center; gap: 6px; font-size: 10px; color: rgba(255,255,255,.55); padding: 7px 11px; background: rgba(255,255,255,.06); border: .5px solid rgba(255,255,255,.08); border-radius: 10px; backdrop-filter: blur(8px); }
.meet-status svg { width: 13px; height: 13px; color: #93C5FD; }
.meet-status .right { margin-left: auto; }
.share-banner { position: relative; z-index: 3; margin: 0 10px 6px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; background: rgba(18,102,217,.18); border: .5px solid rgba(78,151,255,.35); border-radius: 10px; font-size: 10px; color: #BFD6FF; backdrop-filter: blur(10px); }
.share-banner svg { width: 14px; height: 14px; }
.share-banner span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-banner button { border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 9.5px; padding: 3px 8px; border-radius: 6px; flex: none; }
.dock-wrap { position: relative; z-index: 4; padding: 6px 12px calc(16px + env(safe-area-inset-bottom)); }
.dock { height: 66px; border-radius: 24px; background: rgba(20,28,40,.72); border: .5px solid rgba(255,255,255,.10); backdrop-filter: blur(24px); display: flex; align-items: center; justify-content: space-around; padding: 0 6px; box-shadow: 0 12px 32px rgba(0,0,0,.32); }
.dock-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: rgba(255,255,255,.62); font-size: 8.5px; padding: 4px 2px; width: 44px; }
.dock-btn .db-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; color: #E5EAF2; }
.dock-btn .db-ico svg { width: 20px; height: 20px; }
.dock-btn.on .db-ico { background: rgba(255,255,255,.92); color: #111827; }
.dock-btn.active .db-ico { background: rgba(52,211,153,.18); color: #6EE7B7; }
.dock-btn.end .db-ico { background: #E02424; color: #fff; box-shadow: 0 4px 12px rgba(224,36,36,.4); }
.meet-wm { position: absolute; left: 0; right: 0; top: 44%; text-align: center; font-size: 11px; color: rgba(255,255,255,.05); transform: rotate(-14deg); pointer-events: none; z-index: 1; white-space: nowrap; letter-spacing: .06em; }

/* 等候室 */
.waiting-view { height: 100%; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 50% 0%, #1B3355 0%, #0C1320 58%, #070A10 100%); color: #fff; overflow: hidden; position: relative; }
.waiting-view::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 35% at 50% 60%, rgba(18,102,217,.18), transparent 70%); }
.wait-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 24px; overflow-y: auto; position: relative; z-index: 2; }
.wait-body::-webkit-scrollbar { display: none; }
.wait-ring { width: 104px; height: 104px; margin-top: 34px; display: flex; align-items: center; justify-content: center; position: relative; }
.wait-ring .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(147,197,253,.24); animation: pulseRing 2.4s infinite; }
.wait-ring .ring.r2 { animation-delay: .8s; }
.wait-ring .avatar { border: 3px solid rgba(255,255,255,.22); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.wait-title { font-size: 19px; font-weight: 600; margin-top: 24px; letter-spacing: .01em; }
.wait-sub { font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 8px; text-align: center; line-height: 1.6; }
.wait-card { width: 100%; margin-top: 26px; background: rgba(255,255,255,.055); border: .5px solid rgba(255,255,255,.08); border-radius: 16px; padding: 2px 16px; backdrop-filter: blur(10px); }
.wait-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: .5px solid rgba(255,255,255,.07); font-size: 11.5px; }
.wait-row:last-child { border-bottom: 0; }
.wait-row span { color: rgba(255,255,255,.48); }
.wait-row b { font-weight: 500; }
.wait-toggles { display: flex; gap: 22px; margin-top: 24px; }
.wait-toggle { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; color: rgba(255,255,255,.6); font-size: 9.5px; }
.wait-toggle .wt-ico { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.09); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.wait-toggle .wt-ico svg { width: 23px; height: 23px; }
.wait-toggle.on .wt-ico { background: rgba(18,102,217,.35); color: #BFD6FF; }
.wait-btn { margin-top: 22px; width: 220px; background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.18); color: #E7EDF6; box-shadow: none; }
.wait-foot { font-size: 9.5px; color: rgba(255,255,255,.32); text-align: center; padding: 18px 24px 26px; line-height: 1.6; position: relative; z-index: 2; }
@keyframes pulseRing { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* 会议首页 / 预定 */
.meet-hero { margin: 12px 16px; border-radius: 22px; padding: 20px; background: linear-gradient(140deg, #2E7BF0 0%, #1266D9 48%, #0B3E8F 100%); color: #fff; position: relative; overflow: hidden; box-shadow: 0 14px 30px rgba(18,102,217,.28); }
.meet-hero::before { content: ''; position: absolute; right: -36px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.24), transparent 65%); }
.meet-hero::after { content: ''; position: absolute; right: 20px; bottom: 16px; width: 110px; height: 70px; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.28) 0 2px, transparent 3px), radial-gradient(circle at 70% 70%, rgba(255,255,255,.18) 0 3px, transparent 4px); opacity: .6; }
.meet-hero .mh-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; background: rgba(255,255,255,.16); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(8px); position: relative; z-index: 1; }
.meet-hero .mh-badge svg { width: 13px; height: 13px; }
.meet-hero h2 { font-size: 24px; font-weight: 700; margin: 10px 0 5px; position: relative; z-index: 1; letter-spacing: .01em; }
.meet-hero p { font-size: 11px; color: rgba(255,255,255,.78); position: relative; z-index: 1; }
.meet-hero .btn { margin-top: 16px; font-size: 14px; height: 42px; border-radius: 12px; position: relative; z-index: 1; }
.join-card { margin: 0 16px 12px; background: var(--surface); border-radius: 16px; padding: 14px 15px; box-shadow: var(--sh-xs); }
.join-card .jc-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.join-card .jc-row { display: flex; gap: 8px; }
.join-card .jc-row input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 14.5px; color: var(--text); outline: none; background: var(--surface-2); }
.join-card .jc-row input:focus { border-color: var(--brand); background: var(--surface); }
.join-card .jc-sub { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--text-3); margin-top: 8px; }
.join-card .jc-sub svg { width: 12px; height: 12px; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 8px; }
.qa-btn { background: var(--surface); border: 0; border-radius: 14px; padding: 13px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-2); box-shadow: var(--sh-xs); }
.qa-btn .qa-ico { width: 34px; height: 34px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.qa-btn .qa-ico svg { width: 18px; height: 18px; }
.meet-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); width: 100%; text-align: left; }
.meet-row:last-child { border-bottom: 0; }
.meet-row .mr-date { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.meet-row .mr-date b { font-size: 12px; font-weight: 600; }
.meet-row .mr-date span { font-size: 8.5px; color: var(--brand); }
.meet-row .mr-main { flex: 1; min-width: 0; }
.meet-row .mr-main b { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); font-weight: 500; }
.meet-row .mr-main span { display: block; font-size: 10px; color: var(--text-3); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meet-row .mr-right { flex: none; display: flex; align-items: center; gap: 4px; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; background: var(--surface); border: 0; border-bottom: .5px solid var(--line); width: 100%; text-align: left; }
.history-row:last-child { border-bottom: 0; }
.history-row .hr-main b { display: block; font-size: 13px; color: var(--text); font-weight: 500; }
.history-row .hr-main span { display: block; font-size: 10px; color: var(--text-3); margin-top: 3px; }
.history-row .hr-dur { font-size: 10.5px; color: var(--text-3); }

/* 投屏 */
.cast-tabs { flex: 0 0 46px; display: flex; background: var(--surface); border-bottom: .5px solid var(--line); }
.cast-tabs button { flex: 1; border: 0; background: none; font-size: 13px; color: var(--text-3); position: relative; }
.cast-tabs button.on { color: var(--brand); font-weight: 600; }
.cast-tabs button.on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 2px; background: var(--brand); }
.scan-view { padding: 16px; }
.scan-box { height: 300px; border-radius: 22px; background: radial-gradient(75% 65% at 50% 30%, #22334C 0%, #0C121C 78%); position: relative; overflow: hidden; margin-bottom: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.scan-box .grid-lines { position: absolute; inset: 26px; border-radius: 14px; background-image: linear-gradient(rgba(147,197,253,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(147,197,253,.08) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.scan-box .sc { position: absolute; width: 26px; height: 26px; border: 2.5px solid #7FB0FF; }
.scan-box .sc.tl { left: 22px; top: 22px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.scan-box .sc.tr { right: 22px; top: 22px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.scan-box .sc.bl { left: 22px; bottom: 22px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.scan-box .sc.br { right: 22px; bottom: 22px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scan-line { position: absolute; left: 36px; right: 36px; top: 16%; height: 2px; background: linear-gradient(90deg, transparent, #7FB0FF, transparent); box-shadow: 0 0 16px rgba(127,176,255,.8); animation: scanline 2.7s ease-in-out infinite; }
.scan-hint { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: rgba(255,255,255,.62); font-size: 10.5px; }
.scan-tips { display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--text-3); line-height: 1.5; margin-bottom: 14px; }
.scan-tips svg { width: 14px; height: 14px; flex: none; }
.code-view { padding: 22px 18px; }
.code-view .code-hint { text-align: center; font-size: 12.5px; color: var(--text-2); }
.code-boxes { display: flex; justify-content: center; gap: 9px; margin: 22px 0 16px; }
.code-boxes span { width: 44px; height: 54px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; color: var(--text); box-shadow: var(--sh-xs); }
.code-input { display: block; width: 100%; height: 46px; margin-bottom: 14px; text-align: center; letter-spacing: 7px; font-size: 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); outline: none; }
.code-tip { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 18px; font-size: 10px; color: var(--text-3); }
.code-tip svg { width: 13px; height: 13px; }
.device-list { padding: 12px 16px; }
.device-row2 { display: flex; align-items: center; gap: 12px; background: var(--surface); border: .5px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 10px; width: 100%; text-align: left; box-shadow: var(--sh-xs); }
.device-row2 .d-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.device-row2 .d-ico svg { width: 22px; height: 22px; }
.device-row2 .d-main { flex: 1; min-width: 0; }
.device-row2 .d-main b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text); font-weight: 500; }
.device-row2 .d-main span { display: block; font-size: 10px; color: var(--text-3); margin-top: 3px; }
.device-row2 .d-go { font-size: 11.5px; color: var(--brand); flex: none; }
.device-row2 .d-go.off { color: var(--text-dis); }
.dot-online { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; display: inline-block; }
.dot-offline { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dis); display: inline-block; }
.cast-live-view { background: radial-gradient(120% 90% at 50% 0%, #1A3355, #0A0F18 65%); color: #E7EDF6; min-height: 100%; padding-bottom: 16px; }
.cast-preview { margin: 12px 16px; border-radius: 16px; height: 190px; position: relative; overflow: hidden; background: radial-gradient(90% 80% at 40% 20%, #2B4566, #0E1521); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.cast-preview .screen-mock { position: absolute; inset: 0; background-image: linear-gradient(150deg, rgba(78,151,255,.20), transparent 55%), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 34px); }
.cast-preview .cast-wm { position: absolute; left: 10px; right: 10px; bottom: 8px; font-size: 8.5px; color: rgba(255,255,255,.5); }
.cast-live-pill { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 5px; font-size: 9px; color: #6EE7B7; background: rgba(16,185,129,.16); border: .5px solid rgba(52,211,153,.35); border-radius: 999px; padding: 3px 8px; }
.cast-live-pill i { width: 5px; height: 5px; border-radius: 50%; background: #34D399; }
.cast-status { padding: 2px 18px 12px; }
.cast-status b { display: block; font-size: 15px; font-weight: 600; }
.cast-status span { display: block; font-size: 10px; color: rgba(255,255,255,.48); margin-top: 4px; }
.cast-code-card { margin: 0 16px; background: rgba(255,255,255,.055); border: .5px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; text-align: center; backdrop-filter: blur(10px); }
.cast-code-card .cc-label { font-size: 10px; color: rgba(255,255,255,.45); }
.cast-code-card .cc-code { font-size: 28px; font-weight: 700; letter-spacing: 5px; color: #BFD6FF; margin: 7px 0; font-variant-numeric: tabular-nums; }
.cast-code-card .cc-exp { font-size: 10px; color: rgba(255,255,255,.55); display: flex; justify-content: center; align-items: center; gap: 4px; }
.cast-code-card .cc-exp svg { width: 13px; height: 13px; }
.cast-actions { display: flex; gap: 10px; padding: 16px 16px 4px; }
.cast-actions .btn { flex: 1; }
.cast-actions .btn.secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #E7EDF6; }
.cast-tip { font-size: 9.5px; color: rgba(255,255,255,.36); padding: 12px 18px 16px; line-height: 1.6; }
.cast-live-view .field-err { color: #FCA5A5; }
@keyframes scanline { 0%,100% { top: 14%; } 50% { top: 82%; } }

/* 水印相机 */
.camera-view { height: 100%; background: #000; color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.camera-top { flex: 0 0 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; background: #000; z-index: 5; }
.camera-top .cam-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; display: flex; align-items: center; justify-content: center; }
.camera-top .cam-btn svg { width: 19px; height: 19px; }
.camera-top .cam-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9); }
.camera-top .cam-title span { display: block; font-size: 9px; color: rgba(255,255,255,.4); text-align: center; margin-top: 1px; }
.viewfinder { flex: 1; position: relative; overflow: hidden; background: #10151D; }
.viewfinder .scene { position: absolute; inset: 0; background: linear-gradient(165deg, #71879F 0%, #435769 42%, #263340 100%); }
.viewfinder .scene::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); }
.viewfinder .scene::after { content: ''; position: absolute; left: -20%; right: -20%; bottom: 0; height: 40%; background: linear-gradient(#33414F, #151C24); }
.viewfinder .vf-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 33.33% 33.33%; opacity: .55; }
.viewfinder .vf-corner { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.65); }
.viewfinder .vf-corner.tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.viewfinder .vf-corner.tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.viewfinder .vf-corner.bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.viewfinder .vf-corner.br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.viewfinder .truck-mock { position: absolute; right: 11%; bottom: 23%; color: rgba(255,255,255,.18); }
.viewfinder .truck-mock svg { width: 96px; height: 96px; }
.viewfinder .vf-warn { position: absolute; left: 16px; right: 16px; top: 16px; background: rgba(224,36,36,.82); border-radius: 9px; padding: 7px 10px; font-size: 9.5px; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(6px); }
.viewfinder .vf-warn svg { width: 14px; height: 14px; flex: none; }
.wm-card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: linear-gradient(180deg, rgba(8,12,18,.35), rgba(8,12,18,.78)); border: .5px solid rgba(255,255,255,.16); border-radius: 14px; padding: 10px 12px; backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 3px; }
.wm-card .wm-org { font-size: 9.5px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; }
.wm-card .wm-time { font-size: 17px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.wm-card .wm-line { font-size: 9px; color: rgba(255,255,255,.78); line-height: 1.45; display: flex; gap: 5px; align-items: flex-start; }
.wm-card .wm-line svg { width: 11px; height: 11px; flex: none; margin-top: 1px; color: #7FB0FF; }
.wm-card .wm-lock { font-size: 8px; color: rgba(255,255,255,.35); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.wm-card .wm-lock svg { width: 10px; height: 10px; }
.camera-modes { position: absolute; right: 16px; top: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.camera-modes span { font-size: 9.5px; color: rgba(255,255,255,.42); }
.camera-modes span.on { color: #BFD6FF; font-weight: 600; }
.camera-controls { flex: 0 0 118px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 4px; }
.cam-side { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; color: rgba(255,255,255,.55); }
.cam-side .cs-ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.82); }
.cam-side .cs-ico svg { width: 20px; height: 20px; }
.cam-side.on .cs-ico { background: rgba(18,102,217,.42); color: #BFD6FF; }
.shutter { width: 70px; height: 70px; border-radius: 50%; border: 3px solid rgba(255,255,255,.92); background: none; display: flex; align-items: center; justify-content: center; padding: 0; }
.shutter span { width: 56px; height: 56px; border-radius: 50%; background: #fff; transition: transform .1s; }
.shutter:active span { transform: scale(.9); }
.camera-foot { flex: 0 0 34px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 8px; font-size: 8.5px; color: rgba(255,255,255,.36); }
.camera-foot button { border: 0; background: none; color: #7FB0FF; font-size: 9px; display: flex; align-items: center; gap: 4px; }
.camera-foot svg { width: 12px; height: 12px; }
.wm-preview-view { height: 100%; background: #0B0F15; color: #E7EDF6; display: flex; flex-direction: column; overflow: hidden; }
.wm-preview-photo { margin: 12px 16px 0; border-radius: 16px; overflow: hidden; position: relative; height: 350px; background: #10151D; }
.wm-preview-photo .scene { position: absolute; inset: 0; background: linear-gradient(165deg, #71879F 0%, #435769 42%, #263340 100%); }
.wm-preview-photo .scene::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); }
.wm-preview-photo .scene::after { content: ''; position: absolute; left: -20%; right: -20%; bottom: 0; height: 40%; background: linear-gradient(#33414F, #151C24); }
.wm-preview-photo .truck-mock { position: absolute; right: 12%; bottom: 24%; color: rgba(255,255,255,.2); }
.wm-preview-photo .truck-mock svg { width: 88px; height: 88px; }
.wm-preview-photo .camera-wm { position: absolute; left: 12px; right: 12px; bottom: 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); padding: 12px 10px 8px; border-radius: 10px; display: flex; flex-direction: column; gap: 3px; }
.wm-preview-photo .camera-wm b { font-size: 12px; }
.wm-preview-photo .camera-wm span { font-size: 8.5px; color: rgba(255,255,255,.82); line-height: 1.45; }
.wm-thumbs { display: flex; gap: 8px; padding: 12px 16px; }
.wm-thumb { width: 50px; height: 50px; border-radius: 9px; background: linear-gradient(150deg, #5A7392, #24313F); border: 1.5px solid rgba(255,255,255,.15); }
.wm-thumb.add { border: 1px dashed rgba(255,255,255,.24); background: none; color: rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; }
.wm-thumb.add svg { width: 17px; height: 17px; }
.wm-fields { margin: 0 16px 12px; background: #171E28; border: .5px solid rgba(255,255,255,.07); border-radius: 16px; padding: 14px; }
.wm-fields .wf-head { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #93A3B8; margin-bottom: 8px; }
.wm-fields .wf-head svg { width: 14px; height: 14px; }
.wm-kv { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: .5px solid rgba(255,255,255,.06); font-size: 11px; }
.wm-kv:last-child { border-bottom: 0; }
.wm-kv span { color: #7B8A9E; flex: none; }
.wm-kv b { font-weight: 500; color: #DCE4EF; text-align: right; }
.wm-hint { display: flex; gap: 6px; padding: 0 18px 12px; font-size: 9.5px; color: #718096; line-height: 1.55; }
.wm-hint svg { width: 12px; height: 12px; flex: none; margin-top: 1px; }
.wm-actions { margin-top: auto; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); border-top: .5px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 8px; background: rgba(11,15,21,.9); backdrop-filter: blur(16px); }
.wm-actions .btn.secondary { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #E7EDF6; }
.wm-actions .btn.ghost { color: #93A3B8; }
.wm-photo-view { background: #0B0F15; color: #E7EDF6; }
.wm-hash-card { margin: 0 16px 12px; background: #171E28; border: .5px solid rgba(255,255,255,.07); border-radius: 16px; padding: 14px; }
.wm-hash-card .hc-title { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #93A3B8; margin-bottom: 6px; }
.wm-hash-card .hc-title svg { width: 14px; height: 14px; }
.wm-hash-card .mono { font-family: var(--mono); font-size: 10px; }
.wm-hash-card .kv-link { width: 100%; border: 0; border-top: .5px solid rgba(255,255,255,.08); background: none; color: #7FB0FF; font-size: 10.5px; display: flex; align-items: center; justify-content: flex-end; gap: 2px; padding: 10px 0 0; }
.wm-hash-card .kv-link svg { width: 13px; height: 13px; }
.wm-photo-actions { display: flex; gap: 8px; padding: 0 16px 16px; }
.wm-photo-actions .btn { flex: 1; }
.wm-photo-actions .btn.secondary { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #E7EDF6; }

/* 差异单 */
.diff-item { display: block; width: calc(100% - 32px); margin: 0 16px 10px; background: var(--surface); border-radius: 16px; padding: 14px; text-align: left; border: 0; box-shadow: var(--sh-xs); position: relative; overflow: hidden; }
.diff-item::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--amber); }
.diff-item.appealing::before { background: var(--brand); }
.diff-item.closed::before { background: var(--green); }
.diff-item .di-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.diff-item .di-id { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.diff-item h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 7px 0 4px; }
.diff-item h3 b { color: var(--red); }
.diff-item p { font-size: 11px; color: var(--text-3); line-height: 1.5; }
.diff-item .di-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: .5px dashed var(--line-2); font-size: 10px; color: var(--text-3); }
.diff-item .di-foot span { display: flex; align-items: center; gap: 4px; }
.diff-item .di-foot svg { width: 12px; height: 12px; }
.diff-hero { margin: 12px 16px; border-radius: 18px; padding: 17px; background: linear-gradient(140deg, #FFF7ED, #FFFBEB); border: .5px solid rgba(180,83,9,.14); }
.diff-hero .dh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.diff-hero .dh-id { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.diff-hero h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 9px; }
.diff-hero p { font-size: 11px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }
.result-card { margin: 0 16px 12px; background: var(--green-bg); border-radius: 16px; padding: 14px; }
.result-card b { font-size: 12.5px; color: var(--green); }
.result-card p { font-size: 11.5px; color: var(--text-2); line-height: 1.55; margin-top: 5px; }
.voice-recorder { margin: 0 16px 12px; display: flex; align-items: center; gap: 13px; background: var(--surface); border-radius: 16px; padding: 14px; box-shadow: var(--sh-xs); }
.voice-recorder .vr-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 4px 12px rgba(18,102,217,.3); }
.voice-recorder .vr-btn svg { width: 23px; height: 23px; }
.voice-recorder .vr-btn.on { background: var(--red); animation: blink 1.2s infinite; }
.voice-recorder .vr-main { flex: 1; }
.voice-recorder .vr-main b { display: block; font-size: 12.5px; color: var(--text); }
.voice-recorder .vr-main span { display: block; font-size: 9.5px; color: var(--text-3); margin-top: 3px; }
.voice-recorder .vr-time { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* 报销 */
.exp-summary { margin: 12px 16px; border-radius: 20px; padding: 18px; background: linear-gradient(140deg, #2E7BF0, #1266D9 55%, #0B3E8F); color: #fff; display: flex; justify-content: space-between; gap: 10px; box-shadow: 0 12px 26px rgba(18,102,217,.24); position: relative; overflow: hidden; }
.exp-summary::after { content: ''; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.2), transparent 65%); }
.exp-summary .es-item { position: relative; z-index: 1; }
.exp-summary span { font-size: 9.5px; color: rgba(255,255,255,.7); display: block; }
.exp-summary b { font-size: 18px; font-weight: 700; display: block; margin-top: 5px; font-variant-numeric: tabular-nums; }
.exp-item { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 10px; background: var(--surface); border-radius: 16px; padding: 13px 14px; border: 0; box-shadow: var(--sh-xs); text-align: left; }
.exp-ico { width: 42px; height: 42px; border-radius: 13px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.exp-ico svg { width: 21px; height: 21px; }
.exp-ico.amber { background: var(--amber-bg); color: var(--amber); }
.exp-ico.red { background: var(--red-bg); color: var(--red); }
.exp-ico.green { background: var(--green-bg); color: var(--green); }
.exp-item .ei-main { flex: 1; min-width: 0; }
.exp-item .ei-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.exp-item .ei-top b { font-size: 14px; font-weight: 500; color: var(--text); }
.exp-item .ei-sub { font-size: 10px; color: var(--text-3); margin-top: 4px; }
.exp-item .ei-note { font-size: 10px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-item .ei-amount { flex: none; font-size: 15.5px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.exp-hero { margin: 12px 16px; background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--sh-xs); }
.exp-hero .eh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.exp-hero .eh-id { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.exp-hero .eh-amount { font-size: 34px; font-weight: 700; color: var(--text); margin: 12px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.exp-hero .eh-amount small { font-size: 20px; font-weight: 600; color: var(--text-3); margin-right: 2px; }
.exp-hero .eh-cat { font-size: 11px; color: var(--text-3); }
.reject-card { margin: 0 16px 12px; background: var(--red-bg); border-radius: 16px; padding: 14px; border: .5px solid rgba(224,36,36,.12); }
.reject-card b { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--red); }
.reject-card b svg { width: 15px; height: 15px; }
.reject-card p { font-size: 11.5px; color: var(--text-2); line-height: 1.55; margin: 7px 0 10px; }
.reject-card .btn { height: 34px; font-size: 12px; padding: 0 12px; }
.receipt-preview { margin: 0 16px 12px; display: flex; gap: 8px; }
.receipt-preview .rp { flex: 1; aspect-ratio: 3/4; border-radius: 12px; background: linear-gradient(160deg, #EAF1FB, #CBD9EC); position: relative; overflow: hidden; border: .5px solid var(--line); }
.receipt-preview .rp::after { content: ''; position: absolute; inset: 12px; border: 1px dashed rgba(18,102,217,.28); border-radius: 6px; }
.receipt-preview .rp b { position: absolute; left: 0; right: 0; top: 40%; text-align: center; font-size: 17px; color: var(--text); }
.receipt-preview .rp span { position: absolute; left: 0; right: 0; top: 54%; text-align: center; font-size: 8px; color: var(--text-3); }
.amount-input { display: flex; align-items: center; gap: 4px; height: 66px; padding: 0 14px; background: var(--surface-2); border-radius: 14px; border: 1px solid transparent; }
.amount-input:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px rgba(18,102,217,.10); }
.amount-input .cur { font-size: 24px; font-weight: 600; color: var(--text-3); }
.amount-input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 32px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.amount-input input::placeholder { color: var(--text-dis); font-weight: 600; }



/* ===== app.css（4/4 v2 设计母题：运单轨迹 · 路线节点） =====
   概念：把「运单轨迹」的路线、节点、票据边角做成产品语言；
   色彩：墨黑主操作 + 纸感中性色 + 品牌蓝仅用于链接/选中 + 运单绿/安全橙做记忆点。
   目的：去掉模板化的蓝色按钮与蓝紫渐变，让界面有物流业务气质。 */

:root {
  --ink: #111827; --ink-2: #1F2937; --ink-3: #374151;
  --paper: #F3F3EE; --paper-2: #ECECE5;
  --bg: #F3F3EE; --surface: #FFFFFF; --surface-2: #F7F7F2; --surface-3: #ECECE5;
  --line: #E4E3DA; --line-2: #D3D2C7;
  --text: #12161C; --text-2: #4B5563; --text-3: #8B9199; --text-dis: #B9BDB9;
  --green: #0E7C5A; --green-bg: #E6F4EE; --amber: #B45309; --amber-bg: #FBF0DF;
  --orange: #F97316; --red: #D92D20; --red-bg: #FDECEC;
  --brand: #1266D9; --brand-50: #EDF3FC; --brand-100: #DCE8FA; --brand-600: #0F55B8;
  --sh-xs: 0 1px 2px rgba(18,22,28,.05);
  --sh-sm: 0 1px 3px rgba(18,22,28,.06), 0 1px 2px rgba(18,22,28,.04);
  --sh-md: 0 8px 24px rgba(18,22,28,.08), 0 2px 6px rgba(18,22,28,.04);
  --sh-lg: 0 20px 48px rgba(18,22,28,.14), 0 4px 12px rgba(18,22,28,.06);
}
.phone { background: var(--bg); }
.screen, .view { background: var(--bg); }
.page { background: var(--bg); }

/* ---- 大标题（2026 主流形态） ---- */
.large-head { flex: 0 0 auto; padding: 14px 20px 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.large-head h1 { font-size: 27px; font-weight: 750; letter-spacing: -.025em; color: var(--text); line-height: 1.08; }
.large-head .lh-sub { font-size: 10.5px; color: var(--text-3); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.large-head .lh-sub .dot-live { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14,124,90,.12); }
.large-head .lh-actions { display: flex; gap: 7px; align-items: center; padding-bottom: 3px; }
.large-head .lh-actions .nav-btn { background: var(--surface); box-shadow: var(--sh-xs); border: .5px solid var(--line); }

/* ---- 悬浮底栏 ---- */
.tabbar { flex: 0 0 60px; height: 60px; margin: 2px 12px 10px; padding: 3px 6px; border-radius: 22px; border: .5px solid rgba(18,22,28,.07); background: rgba(255,255,255,.90); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); box-shadow: 0 10px 26px rgba(18,22,28,.11), 0 1px 2px rgba(18,22,28,.05); border-top: 0; }
.tab { border-radius: 16px; gap: 1px; }
.tab.on { color: var(--ink); }
.tab.on .tab-ic { stroke-width: 2; transform: translateY(-1px); }
.tab .tab-ic { transition: transform .18s ease, stroke-width .18s; }
.tab .tab-badge { background: var(--orange); box-shadow: 0 0 0 2px #fff; }
.tab .tab-dot { background: var(--orange); }
.tab.on::after { content: ''; position: absolute; bottom: 2px; width: 16px; height: 2.5px; border-radius: 2px; background: var(--green); }

/* ---- 墨黑主操作 / 更克制的品牌色 ---- */
.btn { background: var(--ink); box-shadow: 0 1px 2px rgba(17,24,39,.22); }
.btn:active { transform: scale(.985); }
.btn.white { background: #fff; color: var(--ink); }
.btn.danger { background: var(--red); }
.btn.danger-ghost { background: var(--red-bg); color: var(--red); }
.chip.on { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg button.on { color: var(--ink); }
.nav-text.brand { color: var(--ink); }
.tab.on { color: var(--ink); }
.fab { background: var(--ink); box-shadow: 0 8px 22px rgba(17,24,39,.32); }
.fab:active { transform: scale(.96); }
.switch.on { background: var(--ink); }

/* ---- 会话列表：运单状态徽章 + 路线摘要 ---- */
.chat-route { display: flex; align-items: center; gap: 6px; margin-top: 4px; min-width: 0; }
.chat-route .cr-status { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 600; color: var(--green); background: var(--green-bg); border-radius: 5px; padding: 2px 6px; flex: none; letter-spacing: .02em; }
.chat-route .cr-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.chat-route .cr-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 6px); min-width: 18px; }
.chat-route .cr-text { font-size: 9px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-route .cr-tag { font-size: 8.5px; color: var(--amber); background: var(--amber-bg); border-radius: 5px; padding: 2px 5px; flex: none; }
.chat-item.finance .chat-last { color: var(--text-2); }
.chat-section { letter-spacing: .1em; text-transform: uppercase; font-size: 9px; font-weight: 600; }
.chat-section span:last-child { font-weight: 400; letter-spacing: 0; text-transform: none; }

/* ---- 会话详情：路线条 + 墨黑气泡 + 票据卡片 ---- */
.chat-routebar { flex: none; margin: 8px 12px 0; padding: 9px 12px; background: var(--surface); border: .5px solid var(--line); border-radius: 13px; box-shadow: var(--sh-xs); display: flex; align-items: center; gap: 9px; }
.chat-routebar .rb-ico { width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-routebar .rb-ico svg { width: 15px; height: 15px; }
.chat-routebar .rb-main { flex: 1; min-width: 0; }
.chat-routebar .rb-main b { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--text); font-weight: 600; }
.chat-routebar .rb-main b em { font-style: normal; font-size: 8px; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 1px 4px; }
.chat-routebar .rb-main .rb-route { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 9px; color: var(--text-3); }
.chat-routebar .rb-main .rb-route .rline { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 6px); position: relative; }
.chat-routebar .rb-main .rb-route .rline::after { content: ''; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-top: 1px solid var(--text-3); border-right: 1px solid var(--text-3); transform: rotate(45deg); }
.chat-routebar .rb-progress { flex: none; text-align: right; }
.chat-routebar .rb-progress b { font-size: 13px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.chat-routebar .rb-progress span { display: block; font-size: 8px; color: var(--text-3); margin-top: 1px; }
.bubble.mine { background: linear-gradient(155deg, #26303C 0%, #111827 100%); box-shadow: 0 2px 8px rgba(17,24,39,.18); }
.bubble-voice.mine { background: linear-gradient(155deg, #26303C, #111827); }
.msg-row { animation: bubbleIn .24s cubic-bezier(.22,1,.36,1) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px) scale(.985); } }
.msg-card { position: relative; }
.msg-card.ticket::before, .msg-card.ticket::after { content: ''; position: absolute; top: 54%; width: 12px; height: 12px; border-radius: 50%; background: #EDF1F6; transform: translateY(-50%); z-index: 2; }
.msg-card.ticket::before { left: -6px; }
.msg-card.ticket::after { right: -6px; }
.msg-card-head .mc-ico { background: var(--ink); }
.msg-card-title .amount { color: var(--ink); }
.mc-route .city { letter-spacing: .01em; }
.mc-link { color: var(--text-2); }
.route-stops { display: flex; align-items: flex-start; margin: 11px 0 9px; }
.route-stops .stop { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 40px; }
.route-stops .stop i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14,124,90,.12); position: relative; z-index: 1; }
.route-stops .stop.mid i { background: #fff; border: 1.5px solid var(--green); }
.route-stops .stop.todo i { background: var(--paper-2); box-shadow: none; }
.route-stops .stop b { font-size: 10px; color: var(--text); font-weight: 600; white-space: nowrap; }
.route-stops .stop span { font-size: 7.5px; color: var(--text-3); }
.route-stops .stop-line { flex: 1; height: 1.5px; margin-top: 4px; background: repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 6px); }
.route-stops .stop-line.done { background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 7px); }

/* ---- 会议：深色沉浸 + 墨绿夜航 ---- */
.meeting-view { background: radial-gradient(120% 90% at 50% 0%, #173027 0%, #0B110F 54%, #060807 100%); }
.m-tile { background: linear-gradient(152deg, #243A32 0%, #0F1A16 100%); }
.m-tile.t2 { background: linear-gradient(152deg, #2E3D46, #101820); }
.m-tile.t3 { background: linear-gradient(152deg, #3B332A, #17120E); }
.m-tile.t4 { background: linear-gradient(152deg, #3A2E2E, #170F0F); }
.m-tile.t5 { background: linear-gradient(152deg, #2C3440, #10151B); }
.m-tile.speaking { box-shadow: inset 0 0 0 2px #34D399, 0 6px 22px rgba(52,211,153,.16); }
.dock { background: rgba(14,20,17,.78); }
.dock-btn.end .db-ico { background: #D92D20; }
.meet-status { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.07); }
.meet-hero { background: linear-gradient(150deg, #26303C 0%, #111827 58%, #0B0F14 100%); box-shadow: 0 16px 34px rgba(17,24,39,.34); }
.meet-hero::after { display: none; }
.meet-hero .mh-badge { background: rgba(52,211,153,.14); color: #86EFAC; border: .5px solid rgba(52,211,153,.24); }
.meet-hero .btn.white { color: var(--ink); }
.meet-hero h2 { letter-spacing: -.02em; }

/* ---- 我的：墨黑卡 + 路线节点装饰 ---- */
.me-head { background: linear-gradient(150deg, #26303C 0%, #111827 62%, #0B0F14 100%); box-shadow: 0 16px 34px rgba(17,24,39,.3); }
.me-head::after { background: radial-gradient(rgba(52,211,153,.16), transparent 65%); }
.me-name .tag { background: rgba(255,255,255,.12); }
.me-head .me-stats .stat b { color: #fff; }
.me-head .me-gear { background: rgba(255,255,255,.1); }
.exp-summary { background: linear-gradient(150deg, #26303C, #111827 65%, #0B0F14); box-shadow: 0 14px 30px rgba(17,24,39,.28); }
.exp-summary::after { background: radial-gradient(rgba(249,115,22,.18), transparent 65%); }
.exp-summary b { color: #fff; }
.exp-summary span { color: rgba(255,255,255,.6); }
.exp-hero .eh-amount { color: var(--ink); }
.search-pill { background: #fff; }
.quick-card .qc-ico { background: var(--ink); color: #fff; }
.org-logo { background: linear-gradient(140deg, #374151, #111827); }
.profile-bg { background: linear-gradient(150deg, #26303C 0%, #111827 55%, #0B0F14 100%); }
.profile-bg::after { background: radial-gradient(300px 160px at 82% 0%, rgba(52,211,153,.22), transparent 70%); }
.sec-hero, .security-hero { border-color: rgba(14,124,90,.14); }
.water-preview { background: linear-gradient(155deg, #E9EDE6, #CBD4C9); }
.water-preview span { color: rgba(17,24,39,.24); }
.vehicle-card { background: linear-gradient(145deg, #26303C 0%, #111827 58%, #090D11 100%); }
.vehicle-card::after { background: radial-gradient(rgba(249,115,22,.18), transparent 65%); }
.vehicle-hero-icon { background: rgba(249,115,22,.16); color: #FDBA74; }
.vehicle-card .v-line { background: rgba(255,255,255,.12); }

/* ---- 登录：保留版式，统一到新视觉 ---- */
.login { background: linear-gradient(180deg, #EDEFE6 0%, #F4F4EF 46%, #F3F3EE 100%); }
.login-hero .logo { background: linear-gradient(150deg, #374151 0%, #111827 70%); box-shadow: 0 14px 28px rgba(17,24,39,.26), inset 0 1px 0 rgba(255,255,255,.22); }
.login-brand { color: #12161C; }
.login-brand::after { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--green); margin: 10px auto 0; }
.login-slogan { letter-spacing: .16em; }
.seg-login { background: var(--paper-2); }
.demo-tip { background: #EEF1E8; color: #3F4A3A; }
.login .checkbox.on { background: var(--ink); border-color: var(--ink); }
.login .code-btn { color: var(--ink); }
.login .brand-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 8.5px; color: var(--text-3); letter-spacing: .12em; }
.login .brand-line i { width: 18px; height: 1px; background: var(--line-2); }

/* ---- 微交互 ---- */
.row:active, .chat-item:active, .qa-btn:active, .quick-card:active, .wo-item:active, .exp-item:active, .diff-item:active, .meet-row:active { transform: scale(.992); }
.row, .chat-item, .qa-btn, .quick-card, .wo-item, .exp-item, .diff-item, .meet-row { transition: transform .12s ease, background .12s; }
:root { --ps: 1; }



/* ===== 补齐与收口（v2.1） ===== */
.btn.btn-lg { height: 50px; font-size: 16px; border-radius: 14px; }
.voice-recorder .rec-main b { display: block; font-size: 12.5px; color: var(--text); }
.voice-recorder .rec-time { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.chat-view { background: #EFF0E9; }
.msg-card.ticket::before, .msg-card.ticket::after { background: #EFF0E9; }
.timeline .tl-item.undefined { display: none; }

.row[role="button"], .meet-row[role="button"] { cursor: pointer; }
.row[role="button"]:active, .meet-row[role="button"]:active { transform: scale(.994); }
.msg-card.ticket::before, .msg-card.ticket::after { background: #EFF0E9; }

/* ===== 动态面板（bottom sheet）内的组件 ===== */
.menu-item > svg { width: 24px; height: 24px; color: var(--ink); }
.meet-chat { max-height: 260px; overflow-y: auto; padding: 4px 2px 0; }
.mc-msg { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: .5px solid var(--line); }
.mc-msg b { font-size: 10px; color: var(--text-3); font-weight: 500; }
.mc-msg span { font-size: 13px; color: var(--text); line-height: 1.45; }
.mc-msg i { font-style: normal; font-size: 9px; color: var(--text-dis); }
.meet-chat-bar { display: flex; gap: 8px; margin-top: 12px; }
.meet-chat-bar input { flex: 1; min-width: 0; height: 42px; border: 0; background: var(--surface-2); border-radius: 11px; padding: 0 12px; font-size: 13px; outline: none; color: var(--text); }
.meet-chat-bar .btn { padding: 0 16px; }
.member-list { max-height: 300px; overflow-y: auto; }
.meet-member { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: .5px solid var(--line); }
.mm-av { flex: none; }
.mm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mm-main b { font-size: 12.5px; color: var(--text); font-weight: 500; }
.mm-main span { font-size: 10px; color: var(--text-3); }
.mm-ic { display: flex; color: var(--text-3); }
.mm-ic.on { color: var(--green); }
.mm-ic.mute { color: var(--text-dis); }
.mm-ic svg { width: 15px; height: 15px; }
.mm-op { border: 0; background: var(--red-bg); color: var(--red); font-size: 10px; border-radius: 6px; padding: 4px 7px; }
.host-title { font-size: 10.5px; color: var(--text-3); margin: 12px 0 2px; }
.host-ops { display: flex; flex-direction: column; }
.host-ops button { height: 48px; border: 0; border-top: .5px solid var(--line); background: none; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); text-align: left; padding: 0 2px; }
.host-ops button svg { width: 18px; height: 18px; color: var(--text-2); }
.host-ops button.danger { color: var(--red); }
.host-ops button.danger svg { color: var(--red); }


/* ===== mobile responsive (added by lead for client demo on phones) ===== */
@media (max-width: 900px) {
  html, body { height: 100%; }
  body { overflow: hidden; }
  .studio { display: block; height: 100dvh; min-height: 0; }
  .side { display: none; }
  .stage { height: 100dvh; padding: 0; overflow: hidden; }
  .stage-bar, .stage-foot { display: none; }
  .phone-scale { width: 100vw; height: 100dvh; }
  .phone { width: 100vw; height: 100dvh; border-radius: 0; transform: none; box-shadow: none; }
  .phone::after { display: none; }
  .DynamicIsland { display: none; }
  .home-ind { bottom: 6px; }
}
@media (max-width: 900px) and (orientation: landscape) {
  .phone { width: 100vw; height: 100dvh; }
}


/* =====================================================================
   app.css v3 · 聊天页重做 / 报销统一 / 动效系统 / 全局打磨
   参考结论：办公 IM 靠信息结构而非装饰；输入区低干扰；动效 120/200/280ms
   解释状态变化；列表 stagger 引导视线；克制、尊重 reduced-motion。
   ===================================================================== */
:root {
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 280ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bg: #F6F6F4; --surface: #FFFFFF; --surface-2: #FAFAF7; --surface-3: #F0F0EB;
  --line: #ECECEA; --line-2: #E2E2DE;
  --text: #16181D; --text-2: #5A5F66; --text-3: #969B9F; --text-dis: #C3C6C3;
  --green: #0E7C5A; --green-bg: #E8F4EF; --amber: #B45309; --amber-bg: #FCF1E4;
  --red: #D92D20; --red-bg: #FDECEA; --blue-bg: #EDF3FC; --blue: #1266D9;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --sh-xs: 0 1px 2px rgba(17,24,39,.04);
  --sh-sm: 0 2px 6px rgba(17,24,39,.05);
  --sh-md: 0 8px 20px rgba(17,24,39,.07);
  --sh-lg: 0 16px 36px rgba(17,24,39,.10);
}
body { letter-spacing: 0; }
.page, .chat-page-v3, .chat-body-v3 { background: var(--bg); }
.btn { background: var(--ink); box-shadow: 0 1px 2px rgba(17,24,39,.10); }
.btn.primary { background: var(--ink); }
.chip.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tab.on { color: var(--ink); }
.tab.on::after { background: var(--green); }
.tabbar { border: .5px solid var(--line); box-shadow: 0 8px 22px rgba(17,24,39,.08); }
.large-head h1 { font-size: 27px; font-weight: 760; }
.large-head .lh-sub { font-size: 11px; }
.nav-title h1 { font-size: 17px; }
.nav-title span { font-size: 11px; }
.row-title { font-size: 15px; }
.row-sub { font-size: 12px; }
.group-label { font-size: 12px; }
.tag { font-size: 11px; }
.chat-name { font-size: 15.5px; font-weight: 600; }
.chat-time { font-size: 11.5px; }
.chat-last { font-size: 13.5px; }
.bubble { font-size: 15px; }

/* ---------- 1. 会话列表 v3 ---------- */
.chat-page-v3 { padding-bottom: 4px; }
.chat-group { margin: 0 12px 12px; }
.chat-group-title { display: flex; align-items: center; gap: 8px; padding: 8px 6px 7px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--text-3); }
.chat-group-title i { flex: 1; height: 1px; background: var(--line); }
.chat-group-body { background: var(--surface); border: .5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); }
.chat-item-v3 { width: 100%; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 12px; background: var(--surface); border: 0; position: relative; text-align: left; animation: listIn var(--dur-slow) var(--ease) both; animation-delay: calc(var(--i, 0) * 26ms); }
.chat-item-v3:active { background: var(--surface-2); }
.chat-item-v3 + .chat-item-v3::before { content: ''; position: absolute; left: 70px; right: 14px; top: 0; height: .5px; background: var(--line); }
.ci-avatar-wrap { position: relative; flex: none; width: 46px; height: 46px; }
.ci-avatar-wrap .avatar { border-radius: 14px; }
.ci-avatar-wrap .online-dot { position: absolute; right: -2px; bottom: -2px; border: 2px solid #fff; }
.ci-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ci-line1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ci-name { display: flex; align-items: center; gap: 5px; font-size: 15.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-time { font-size: 11.5px; color: var(--text-3); flex: none; font-variant-numeric: tabular-nums; }
.ci-line2 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ci-preview { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-name { color: var(--text-2); }
.chat-badge { display: inline-flex; align-items: center; height: 17px; padding: 0 5px; border-radius: 5px; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.chat-badge.green { background: var(--green-bg); color: var(--green); }
.chat-badge.amber { background: var(--amber-bg); color: var(--amber); }
.chat-badge.grey { background: var(--surface-3); color: var(--text-3); }
.unread-pill { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #F04438; color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; font-variant-numeric: tabular-nums; box-shadow: 0 1px 2px rgba(240,68,56,.25); }
.muted-flag { display: flex; color: var(--text-dis); }
.muted-flag svg { width: 14px; height: 14px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #12B76A; display: inline-block; flex: none; }
.route-inline { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 12px; color: var(--text-3); }
.route-inline b { font-weight: 500; color: var(--text-2); white-space: nowrap; }
.route-inline .ri-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex: none; }
.route-inline .ri-line { flex: 1; min-width: 12px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 6px); position: relative; }
.route-inline .ri-line::after { content: ''; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-top: 1px solid var(--text-3); border-right: 1px solid var(--text-3); transform: rotate(45deg); }
.route-inline em { font-style: normal; font-size: 11px; color: var(--green); font-weight: 600; }

/* ---------- 2. 对话页 v3 ---------- */
.chat-page-v3 { height: 100%; display: flex; flex-direction: column; }
.chat-topbar { flex: 0 0 52px; height: 52px; display: flex; align-items: center; gap: 2px; padding: 0 6px; background: rgba(255,255,255,.94); backdrop-filter: blur(20px); border-bottom: .5px solid var(--line); position: relative; z-index: 20; }
.chat-topbar .nav-btn { width: 38px; height: 38px; }
.chat-topbar .nav-btn svg { width: 22px; height: 22px; }
.chat-top-main { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; gap: 1px; }
.chat-top-main h1 { font-size: 17px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-top-main span { font-size: 11px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-top-actions { display: flex; gap: 0; flex: none; }
.chat-body-v3 { flex: 1; overflow-y: auto; padding: 10px 12px 0; position: relative; }
.chat-body-v3::-webkit-scrollbar { display: none; }
.msg-day { display: flex; justify-content: center; margin: 4px 0 12px; }
.msg-day { font-size: 11px; color: var(--text-3); }
.msg-time-divider { display: flex; justify-content: center; margin: 12px 0 10px; font-size: 11px; color: var(--text-3); }
.msg-time-divider::before, .msg-time-divider::after { content: ''; width: 22px; height: 1px; background: var(--line); align-self: center; margin: 0 8px; }
.msg-system { display: flex; justify-content: center; margin: 10px 0; padding: 0 20px; }
.msg-system span { font-size: 11.5px; color: var(--text-3); text-align: center; line-height: 1.5; background: var(--surface-3); padding: 4px 10px; border-radius: 8px; }
.msg-row-v3 { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; animation: msgIn var(--dur-base) var(--ease) both; }
.msg-row-v3.mine { flex-direction: row-reverse; }
.msg-av { flex: none; margin-top: 2px; }
.msg-content-v3 { max-width: 75%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.msg-row-v3.mine .msg-content-v3 { align-items: flex-end; }
.msg-name-v3 { font-size: 11px; color: var(--text-3); padding: 0 2px; display: flex; align-items: center; gap: 4px; min-height: 0; }
.msg-role { font-size: 9px; background: var(--surface-3); color: var(--text-3); border-radius: 4px; padding: 0 4px; }
.bubble-v3 { position: relative; padding: 9px 13px; border-radius: 18px; border-top-left-radius: 6px; background: var(--surface); color: var(--text); font-size: 15px; line-height: 1.5; text-align: left; border: 0; word-break: break-word; box-shadow: 0 1px 2px rgba(17,24,39,.05); }
.bubble-v3.mine { background: #1266D9; color: #fff; border-top-left-radius: 18px; border-top-right-radius: 6px; box-shadow: 0 2px 8px rgba(18,102,217,.18); }
.quote-in-bubble { display: block; text-align: left; margin: -2px 0 6px; padding: 5px 8px; border-left: 2.5px solid rgba(18,102,217,.55); background: rgba(18,102,217,.06); border-radius: 0 6px 6px 0; font-size: 12px; color: var(--text-2); line-height: 1.45; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble-v3.mine .quote-in-bubble { border-left-color: rgba(255,255,255,.65); background: rgba(255,255,255,.13); color: rgba(255,255,255,.9); }
.msg-meta-v3 { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-3); padding: 0 2px; }
.msg-meta-v3 .read-flag { color: var(--blue); display: inline-flex; align-items: center; gap: 2px; }
.msg-meta-v3 .read-flag svg { width: 12px; height: 12px; }
.chat-watermark-v3 { position: absolute; top: 42%; left: 0; right: 0; text-align: center; font-size: 17px; color: rgba(22,24,29,.03); transform: rotate(-18deg); pointer-events: none; white-space: nowrap; letter-spacing: .1em; }
.chat-input-v3 { flex: 0 0 auto; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border-top: .5px solid var(--line); padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); }
.ci-row { display: flex; align-items: flex-end; gap: 5px; }
.ci-btn { width: 36px; height: 36px; border: 0; background: none; color: var(--text-2); display: flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; }
.ci-btn svg { width: 23px; height: 23px; }
.ci-btn:active { transform: scale(.92); }
.ci-field { flex: 1; min-height: 44px; background: var(--surface-2); border: 1px solid transparent; border-radius: 22px; display: flex; align-items: center; padding: 0 4px 0 14px; }
.ci-field:focus-within { border-color: rgba(18,102,217,.28); background: #fff; }
.ci-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--text); height: 42px; }
.ci-emoji { width: 30px; height: 30px; border: 0; background: none; color: var(--text-3); display: flex; align-items: center; justify-content: center; flex: none; }
.ci-emoji svg { width: 20px; height: 20px; }
.ci-send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #1266D9; color: #fff; display: none; align-items: center; justify-content: center; flex: none; box-shadow: 0 2px 6px rgba(18,102,217,.26); }
.ci-send svg { width: 18px; height: 18px; }
.chat-input-v3.has-text .ci-send { display: flex; animation: popIn var(--dur-fast) var(--ease); }
.chat-input-v3.has-text .ci-btn:last-of-type { display: none; }
.hold-talk { flex: 1; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 14px; }
.quote-preview { display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin-bottom: 7px; background: var(--surface-2); border-radius: 10px; }
.qp-bar { width: 2.5px; height: 28px; border-radius: 2px; background: #1266D9; flex: none; }
.qp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qp-main b { font-size: 11px; color: var(--blue); font-weight: 500; }
.qp-main span { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-preview button { width: 26px; height: 26px; border: 0; background: none; color: var(--text-3); display: flex; align-items: center; justify-content: center; }
.quote-preview button svg { width: 15px; height: 15px; }

/* 消息卡片（运单 / 工单 / 报销） */
.msg-card-wrap { margin-bottom: 14px; animation: msgIn var(--dur-base) var(--ease) both; }
.msg-card-v3 { width: 276px; max-width: 100%; background: var(--surface); border: .5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); overflow: hidden; text-align: left; }
.card-head { display: flex; align-items: center; gap: 9px; padding: 12px 13px 10px; }
.card-ico { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.card-ico svg { width: 17px; height: 17px; }
.card-ico.blue { background: var(--blue-bg); color: var(--blue); }
.card-ico.green { background: var(--green-bg); color: var(--green); }
.card-ico.amber { background: var(--amber-bg); color: var(--amber); }
.card-head-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card-head-txt b { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-head-txt span { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 7px; border-radius: 6px; font-size: 10.5px; font-weight: 500; white-space: nowrap; flex: none; }
.pill::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.pill.blue { background: var(--blue-bg); color: var(--blue); }
.pill.green { background: var(--green-bg); color: var(--green); }
.pill.amber { background: var(--amber-bg); color: var(--amber); }
.pill.red { background: var(--red-bg); color: var(--red); }
.pill.grey { background: var(--surface-3); color: var(--text-3); }
.waybill-stops { display: flex; align-items: flex-start; padding: 6px 13px 12px; }
.w-stop { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 44px; }
.w-stop i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); border: 1.5px solid var(--line-2); }
.w-stop.done i { background: var(--green); border-color: var(--green); }
.w-stop.current i { background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.w-stop b { font-size: 10.5px; color: var(--text); font-weight: 600; white-space: nowrap; }
.w-stop em { font-style: normal; font-size: 9px; color: var(--text-3); }
.w-line { flex: 1; height: 1.5px; margin-top: 4px; background: repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 6px); }
.w-line.done { background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 7px); }
.card-rows { padding: 0 13px 10px; display: flex; flex-direction: column; gap: 5px; }
.card-rows > div { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; }
.card-rows span { color: var(--text-3); }
.card-rows b { color: var(--text-2); font-weight: 500; text-align: right; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 13px; border-top: .5px solid var(--line); background: #FCFCFA; }
.foot-note { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--text-3); min-width: 0; }
.foot-note svg { width: 12px; height: 12px; flex: none; }
.foot-actions { display: flex; gap: 6px; flex: none; }
.foot-actions button { height: 27px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line-2); background: #fff; color: var(--text-2); font-size: 10.5px; }
.foot-actions button.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.wo-steps { display: flex; align-items: center; gap: 0; padding: 4px 13px 12px; }
.wo-step { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--text-3); }
.wo-step i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 8px; }
.wo-step i svg { width: 9px; height: 9px; }
.wo-step.done i { background: var(--green); border-color: var(--green); color: #fff; }
.wo-step.now { color: var(--amber); font-weight: 500; }
.wo-step.now i { border-color: var(--amber); background: var(--amber-bg); }
.wo-step + .wo-step::before { content: ''; width: 18px; height: 1px; background: var(--line); margin: 0 5px; }
.expense-card .card-head { padding-bottom: 8px; }
.exp-card-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 13px 10px; }
.exp-card-left { min-width: 0; }
.exp-card-amount { font-size: 30px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; }
.exp-card-amount span { font-size: 17px; font-weight: 600; color: var(--text-2); margin-right: 1px; }
.exp-card-sub { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.receipt-thumb64 { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(160deg, #EFF5FF, #DCE8FA); border: .5px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; flex: none; }
.receipt-thumb64 i { font-style: normal; font-size: 10px; color: var(--text-3); }
.receipt-thumb64 b { font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.receipt-thumb64 em { font-style: normal; font-size: 8px; color: var(--text-3); }
.photo-grid-v3 { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 178px; border-radius: 12px; overflow: hidden; }
.pg-item { height: 86px; background: linear-gradient(150deg, #9CB1C9, #465C73); position: relative; }
.pg-item:nth-child(2) { background: linear-gradient(150deg, #889DB5, #34495E); }
.pg-item:nth-child(3) { background: linear-gradient(150deg, #A7B8CB, #55697E); }
.pg-item:nth-child(4) { background: linear-gradient(150deg, #7C93AC, #2E4053); }
.pg-item.more::after { content: '+2'; position: absolute; inset: 0; background: rgba(0,0,0,.42); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.receipt-img { width: 196px; border-radius: 12px; border: .5px solid var(--line); background: #fff; padding: 14px 12px 10px; text-align: center; box-shadow: var(--sh-xs); position: relative; overflow: hidden; border-color: var(--line); }
.ri-top { display: block; font-size: 10px; color: var(--text-3); }
.ri-amount { display: block; font-size: 28px; font-weight: 700; color: #16181D; margin: 5px 0 2px; font-variant-numeric: tabular-nums; }
.ri-merchant { display: block; font-size: 10px; color: var(--text-3); }
.ri-line { display: block; border-top: 1px dashed var(--line-2); margin: 9px 14px; }
.ri-foot { display: block; font-size: 8.5px; color: var(--text-3); line-height: 1.6; }
.ri-wm { position: absolute; top: 46%; left: -10%; right: -10%; transform: rotate(-18deg); font-size: 11px; color: rgba(22,24,29,.07); }
.img-single { width: 208px; border-radius: 14px; overflow: hidden; position: relative; border: .5px solid var(--line); background: #1F2937; padding: 0; }
.img-scene { display: block; height: 150px; background: linear-gradient(155deg, #7C93AF 0%, #4A607C 45%, #263445 100%); position: relative; }
.img-scene::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(112deg, rgba(255,255,255,.06) 0 2px, transparent 2px 13px); }
.img-truck { position: absolute; right: 14px; bottom: 12px; color: rgba(255,255,255,.5); }
.img-truck svg { width: 44px; height: 44px; }
.img-wm { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 7px 6px; font-size: 7px; line-height: 1.5; color: rgba(255,255,255,.94); background: linear-gradient(transparent, rgba(0,0,0,.6)); text-align: left; }
.img-tag { position: absolute; top: 7px; left: 7px; font-size: 9px; color: #fff; background: rgba(0,0,0,.35); border-radius: 5px; padding: 2px 6px; }
.voice-bubble-v3 { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 0; border-radius: 18px; border-top-left-radius: 6px; padding: 8px 13px 8px 8px; box-shadow: 0 1px 2px rgba(17,24,39,.05); max-width: 238px; }
.voice-bubble-v3 .vp-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.voice-bubble-v3 .vp-btn svg { width: 12px; height: 12px; }
.voice-bubble-v3 .wave { flex: 1; min-width: 55px; }
.voice-bubble-v3 .wave i { background: var(--blue); }
.voice-bubble-v3 > b { font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.file-bubble-v3 { display: flex; align-items: center; gap: 11px; background: var(--surface); border-radius: 14px; padding: 11px 12px; width: 238px; border: 0; box-shadow: var(--sh-xs); text-align: left; }
.file-bubble-v3 .fb-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.file-bubble-v3 .fb-ico svg { width: 20px; height: 20px; }
.file-bubble-v3 .fb-main { flex: 1; min-width: 0; }
.file-bubble-v3 .fb-main b { display: block; font-size: 12.5px; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-bubble-v3 .fb-main span { font-size: 10px; color: var(--text-3); }
.file-bubble-v3 .fb-dl { color: var(--text-3); display: flex; }
.file-bubble-v3 .fb-dl svg { width: 17px; height: 17px; }

/* ---------- 3. 报销：列表 / 详情 / 表单统一 ---------- */
.money { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.exp-summary-v3 { margin: 12px 16px; background: var(--surface); border: .5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); padding: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.exp-summary-v3 .es-main span { display: block; font-size: 11px; color: var(--text-3); }
.exp-summary-v3 .es-main b { display: block; font-size: 30px; font-weight: 700; color: var(--text); margin-top: 5px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.exp-summary-v3 .es-side { text-align: right; }
.exp-summary-v3 .es-side span { display: block; font-size: 10.5px; color: var(--text-3); }
.exp-summary-v3 .es-side b { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin: 3px 0 5px; font-variant-numeric: tabular-nums; }
.exp-summary-v3 .es-count { font-size: 10px; color: var(--text-3); }
.exp-row { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 10px; background: var(--surface); border: .5px solid var(--line); border-radius: var(--r-lg); padding: 13px 14px; text-align: left; box-shadow: var(--sh-xs); animation: listIn var(--dur-slow) var(--ease) both; animation-delay: calc(var(--i, 0) * 32ms); }
.exp-row-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.exp-row-ico svg { width: 20px; height: 20px; }
.exp-row-ico.green { background: var(--green-bg); color: var(--green); }
.exp-row-ico.blue { background: var(--blue-bg); color: var(--blue); }
.exp-row-ico.amber { background: var(--amber-bg); color: var(--amber); }
.exp-row-ico.grey { background: var(--surface-3); color: var(--text-2); }
.exp-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.exp-row-main b { font-size: 15px; font-weight: 600; color: var(--text); }
.exp-row-main span { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-row-main em { font-style: normal; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-row-right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.exp-row-right .money { font-size: 17px; font-weight: 600; color: var(--text); }
.exp-row-right .pill { height: 19px; font-size: 10px; }
.exp-hero-v3 { margin: 12px 16px; background: var(--surface); border: .5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); padding: 17px; }
.exp-hero-v3 .eh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.exp-no { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.eh-money { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 13px 0 4px; }
.eh-money span { font-size: 12px; color: var(--text-3); padding-bottom: 6px; }
.eh-money b { font-size: 34px; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -.02em; }
.eh-sub { font-size: 11.5px; color: var(--text-3); text-align: right; }
.form-card-v3 { margin: 0 16px 12px; background: var(--surface); border: .5px solid var(--line); border-radius: var(--r-lg); padding: 15px 14px; box-shadow: var(--sh-xs); }
.form-card-title { display: flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.form-card-title em { color: var(--red); font-style: normal; }
.form-title-note { margin-left: auto; font-size: 10.5px; color: var(--text-3); font-weight: 400; }
.page-title { padding: 14px 20px 2px; font-size: 27px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.page-sub { padding: 0 20px 12px; font-size: 11.5px; color: var(--text-3); }
.amount-input-v3 { display: flex; align-items: center; gap: 6px; height: 64px; padding: 0 14px; background: var(--surface-2); border-radius: var(--r-md); border: 1px solid transparent; }
.amount-input-v3:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(18,102,217,.08); }
.amount-input-v3 .cur { font-size: 26px; font-weight: 600; color: var(--text-3); }
.amount-input-v3 input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 34px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.exp-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.exp-type { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 2px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-size: 10.5px; color: var(--text-2); }
.exp-type .et-ico { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.exp-type .et-ico svg { width: 17px; height: 17px; }
.exp-type.on { border-color: var(--ink); background: #fff; color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); }
.exp-type.on .et-ico { background: var(--surface-3); }
.date-input { border: 0; background: none; font-size: 14px; color: var(--text); text-align: right; outline: none; font-family: inherit; }
.voucher-row { display: flex; flex-wrap: wrap; gap: 10px; }
.voucher-thumb { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(160deg, #EFF5FF, #DCE8FA); border: .5px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; position: relative; color: var(--text-3); }
.voucher-thumb i { font-style: normal; font-size: 9px; }
.voucher-thumb b { font-size: 12px; color: var(--text); font-variant-numeric: tabular-nums; }
.voucher-thumb em { font-style: normal; font-size: 8px; }
.voucher-thumb.add { border: 1px dashed var(--line-2); background: var(--surface-2); font-size: 8.5px; gap: 4px; }
.voucher-thumb.add svg { width: 20px; height: 20px; }
.voucher-thumb.ghost { background: var(--surface-2); font-size: 8.5px; gap: 4px; }
.voucher-thumb.ghost svg { width: 18px; height: 18px; }
.submit-spacer { height: 16px; }
.exp-submit-v3 { padding-bottom: 12px; }
.bottom-bar .btn.block { flex: 1; }
.draft-link { border: 0; background: none; color: var(--text-3); font-size: 12px; padding: 0 4px; flex: none; }

/* ---------- 4. 动效系统 ---------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes listIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes dockIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes flashOut { 0% { opacity: .92; } 100% { opacity: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.screen.anim { animation: pageIn var(--dur-slow) var(--ease) both; }
.dock { animation: dockIn var(--dur-slow) var(--ease) both; }
.sheet { animation: sheetUp var(--dur-slow) var(--ease); }
.scrim { animation: fadeIn var(--dur-base) var(--ease); }
.toast { transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.btn, .chip, .tab, .nav-btn, .ci-btn, .qa-btn, .quick-card, .row, .meet-row, .exp-type, .voucher-thumb { transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.btn:active, .chip:active, .ci-btn:active, .qa-btn:active, .quick-card:active, .exp-type:active, .nav-btn:active { transform: scale(.98); }
.tab-indicator { position: absolute; z-index: 56; width: 18px; height: 3px; border-radius: 2px; background: var(--green); opacity: 0; pointer-events: none; transition: transform var(--dur-slow) var(--ease), opacity var(--dur-fast) var(--ease); }
.shutter-flash { position: absolute; inset: 0; background: #fff; z-index: 30; pointer-events: none; animation: flashOut var(--dur-base) var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* v3 收口：输入栏状态、底栏、卡片微修饰 */
.chat-input-v3.has-text .ci-attach { display: none; }
.bottom-bar .btn.block { width: auto; flex: 1; }
.waybill-card .card-head { border-bottom: .5px solid var(--line); }
.workorder-card .card-head { border-bottom: .5px solid var(--line); }
.photo-grid-v3 .pg-item:only-child { grid-column: span 2; }

.quote-preview { margin: 0 12px 7px; }
