/* YEL TAXI 易乐出行 · 产品Demo 统一设计系统（品牌色 #00B3A6 teal + #0B2D45 navy） */
:root{
  --brand:#00a396;        /* YEL Teal（按钮/交互用比标准色略深一档保证对比度） */
  --brand-dark:#007d73;
  --navy:#0b2d45;         /* YEL Navy */
  --brand-pale:#e0f5f3;
  --ink:#0b2d45;
  --muted:#64748b;
  --line:#e2e8f0;
  --bg:#f4f7f9;
  --white:#fff;
  --amber:#b45309;
  --amber-bg:#fef3c7;
  --green:#15803d;
  --green-bg:#dcfce7;
  --blue:#1d4ed8;
  --blue-bg:#dbeafe;
  --red:#b91c1c;
  --red-bg:#fee2e2;
  --shadow:0 10px 30px rgba(19,32,48,.08);
  --radius:16px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.5}
button,input,textarea,select{font:inherit;color:inherit}

/* 手机端容器（乘客端/司机端页面用） */
.phone{max-width:420px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative;display:flex;flex-direction:column}
@media(min-width:480px){
  body.mobile-demo{padding:28px 0;background:#dfe7ec}
  .phone{min-height:calc(100vh - 56px);border-radius:34px;overflow:hidden;box-shadow:0 24px 70px rgba(19,32,48,.25);border:8px solid #1b2733}
}

/* 顶栏 */
.appbar{background:linear-gradient(135deg,#00b3a6 0%,#0b2d45 100%);color:#fff;padding:16px 18px 14px}
.appbar .brand-row{display:flex;align-items:center;gap:9px}
.appbar .logo{width:30px;height:30px;border-radius:9px;background:#fff;color:var(--brand);display:grid;place-items:center;font-weight:900;font-size:15px}
.appbar b{font-size:17px}
.appbar .sub{font-size:12px;opacity:.85;margin-top:2px}

/* 卡片与分组 */
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin:12px 14px}
.card h3{margin:0 0 10px;font-size:15px}
.card .row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0}
.card .row + .row{border-top:1px solid #f1f5f9}
.muted{color:var(--muted);font-size:13px}

/* 表单 */
.field{margin-bottom:12px}
.field label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff}
.field input:focus,.field select:focus{outline:3px solid var(--brand-pale);border-color:var(--brand)}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* 按钮 */
.btn{display:block;width:100%;border:0;border-radius:14px;padding:14px;font-weight:800;font-size:16px;cursor:pointer;text-align:center;text-decoration:none}
.btn.primary{background:var(--brand);color:#fff}
.btn.primary:active{background:var(--brand-dark)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.small{width:auto;display:inline-block;padding:9px 16px;font-size:14px;border-radius:11px}
.btn.danger{background:var(--red-bg);color:var(--red)}
.btn:disabled{opacity:.45}
.btn-row{display:flex;gap:10px;margin:12px 14px}
.btn-row .btn{margin:0}

/* 徽章/状态 */
.chip{display:inline-block;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:700}
.chip.new{background:var(--blue-bg);color:var(--blue)}
.chip.wait{background:var(--amber-bg);color:var(--amber)}
.chip.ok{background:var(--green-bg);color:var(--green)}
.chip.brand{background:var(--brand-pale);color:var(--brand-dark)}
.chip.off{background:#e2e8f0;color:#475569}

/* 乘车码 */
.pin{display:flex;gap:10px;justify-content:center;margin:10px 0}
.pin span{width:46px;height:56px;border-radius:12px;background:var(--brand-pale);color:var(--brand-dark);display:grid;place-items:center;font-size:26px;font-weight:900}

/* 步骤/时间线 */
.timeline{list-style:none;margin:0;padding:0}
.timeline li{position:relative;padding:0 0 16px 26px;font-size:14px}
.timeline li::before{content:'';position:absolute;left:6px;top:5px;width:10px;height:10px;border-radius:50%;background:#cbd5e1}
.timeline li::after{content:'';position:absolute;left:10px;top:17px;bottom:-2px;width:2px;background:#e2e8f0}
.timeline li:last-child::after{display:none}
.timeline li.done::before{background:var(--brand)}
.timeline li.active::before{background:var(--brand);box-shadow:0 0 0 4px var(--brand-pale)}
.timeline li.active{font-weight:800}

/* 桌面调度台 */
.desk{max-width:1280px;margin:0 auto;padding:18px 20px 40px}
.desk-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;flex-wrap:wrap}
.kanban{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:1000px){.kanban{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.kanban{grid-template-columns:1fr}}
.kcol{background:#eef2f5;border-radius:var(--radius);padding:10px;min-height:200px}
.kcol h4{margin:4px 6px 10px;font-size:13px;color:var(--muted);display:flex;justify-content:space-between}
.kcard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px;box-shadow:0 4px 12px rgba(19,32,48,.05);cursor:pointer}
.kcard:hover{border-color:var(--brand)}
.kcard .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.kcard .price{font-weight:900}
.kcard .meta{font-size:12.5px;color:var(--muted);line-height:1.45}

/* 弹层 */
.overlay{position:fixed;inset:0;background:rgba(19,32,48,.45);display:none;align-items:flex-end;justify-content:center;z-index:50}
.overlay.show{display:flex}
@media(min-width:480px){.overlay.show{align-items:center}}
.sheet{background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:420px;padding:18px;max-height:82vh;overflow:auto}
@media(min-width:480px){.sheet{border-radius:20px}}
.sheet h3{margin:0 0 12px}

/* 合规脚注 */
.legal{text-align:center;color:#94a3b8;font-size:11.5px;padding:14px 20px 22px;margin-top:auto}

/* Demo 工具条 */
.demo-bar{position:sticky;top:0;z-index:60;background:#0b2d45;color:#cbd5e1;font-size:12.5px;padding:7px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.demo-bar a,.demo-bar button{color:#7dd3c8;background:none;border:0;cursor:pointer;font-size:12.5px;text-decoration:none;font-weight:700}

/* ===== v2 视觉升级：SVG图标 / 状态栏 / 地图 / 头像 ===== */
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3.5px;flex:none}
.ic.sm{width:15px;height:15px;vertical-align:-2.5px}
.ic.lg{width:22px;height:22px}
.ic.xl{width:28px;height:28px}
.icon-box{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--brand-pale);color:var(--brand-dark);flex:none}
.icon-box .ic{width:20px;height:20px}
.icon-box.blue{background:var(--blue-bg);color:var(--blue)}
.icon-box.amber{background:var(--amber-bg);color:var(--amber)}
.icon-box.green{background:var(--green-bg);color:var(--green)}
.icon-box.red{background:var(--red-bg);color:var(--red)}
.icon-box.xl{width:52px;height:52px;border-radius:16px}
.icon-box.xl .ic{width:26px;height:26px}

/* 手机状态栏（appbar 顶部，营造真实App感） */
.status-bar{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:700;padding:2px 4px 8px;opacity:.95}
.status-bar .sb-right{display:flex;gap:6px;align-items:center}
.sb-cell{display:flex;gap:1.5px;align-items:flex-end;height:10px}
.sb-cell i{display:block;width:2.5px;background:currentColor;border-radius:1px}
.sb-cell i:nth-child(1){height:4px}.sb-cell i:nth-child(2){height:6px}.sb-cell i:nth-child(3){height:8px}.sb-cell i:nth-child(4){height:10px}
.sb-batt{width:20px;height:10px;border:1.5px solid currentColor;border-radius:3px;position:relative;opacity:.9}
.sb-batt::before{content:'';position:absolute;inset:1.5px;right:5px;background:currentColor;border-radius:1px}
.sb-batt::after{content:'';position:absolute;right:-3.5px;top:2.5px;width:2px;height:4px;background:currentColor;border-radius:1px}

/* 模拟地图（实时定位视觉） */
.map-strip{position:relative;height:158px;border-radius:14px;overflow:hidden;background:#e8eef0;border:1px solid var(--line)}
.map-strip::before{content:'';position:absolute;inset:0;background:
  repeating-linear-gradient(0deg,transparent 0 34px,#d8e2e4 34px 36px),
  repeating-linear-gradient(90deg,transparent 0 46px,#d8e2e4 46px 48px),
  linear-gradient(120deg,#e2ecee 0%,#eef4f2 55%,#e6efe9 100%)}
.map-strip::after{content:'';position:absolute;left:-20px;right:-20px;top:52%;height:26px;background:#fff;transform:rotate(-7deg);box-shadow:0 0 0 2px #e4e9ec}
.map-route{position:absolute;inset:0;z-index:2}
.map-route path{fill:none;stroke:var(--brand);stroke-width:3.5;stroke-linecap:round;stroke-dasharray:7 7;animation:routeFlow 1.2s linear infinite}
@keyframes routeFlow{to{stroke-dashoffset:-14}}
.map-pin-a,.map-pin-b{position:absolute;z-index:3;transform:translate(-50%,-100%);color:var(--brand-dark)}
.map-pin-b{color:var(--red)}
.map-car{position:absolute;z-index:4;width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;transform:translate(-50%,-50%);box-shadow:0 0 0 5px rgba(0,179,166,.28);animation:carPulse 1.6s ease-in-out infinite}
.map-car .ic{width:16px;height:16px}
@keyframes carPulse{50%{box-shadow:0 0 0 10px rgba(0,179,166,.14)}}
.map-eta{position:absolute;z-index:5;right:10px;top:10px;background:#0b2d45;color:#fff;font-size:12px;font-weight:700;padding:5px 10px;border-radius:99px;opacity:.92}
.map-live{position:absolute;z-index:5;left:10px;top:10px;background:#fff;color:var(--red);font-size:11.5px;font-weight:800;padding:4px 9px;border-radius:99px;display:flex;align-items:center;gap:5px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.map-live::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--red);animation:liveBlink 1s ease-in-out infinite}
@keyframes liveBlink{50%{opacity:.25}}

/* 头像 */
.avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#00b3a6,#0b2d45);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px;flex:none}
.avatar.lg{width:56px;height:56px;font-size:22px}

/* 行内图标文字排版辅助 */
.iconline{display:flex;align-items:center;gap:8px}
.iconline .muted{flex:1}
