:root{
  --primary:#4f7cff;--primary-2:#6f5bff;
  --bg:#f2f5fb;--card:#ffffff;--ink:#1f2733;--ink-2:#5b6577;--muted:#8a94a6;
  --line:#e9edf5;--ok:#12a150;--warn:#f5a524;--danger:#e5484d;
  --radius:18px;--shadow:0 12px 32px rgba(31,45,90,.08);--shadow-sm:0 4px 14px rgba(31,45,90,.06);
  --fuel:#ff7a45;--electric:#12b886;--phev:#4f7cff;--ebike:#8b5cf6;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.5}
.hidden{display:none !important}
a{color:var(--primary);text-decoration:none}
button{font-family:inherit}

/* ===== Auth ===== */
.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;
  background:radial-gradient(1200px 600px at 10% 0%,#dfe8ff 0%,transparent 55%),radial-gradient(1000px 500px at 100% 100%,#efe4ff 0%,transparent 55%),#f2f5fb}
.auth-card{width:100%;max-width:420px;background:#fff;border-radius:24px;box-shadow:0 24px 60px rgba(40,60,120,.14);padding:34px 30px}
.brand{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.brand .logo{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--primary-2));display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;box-shadow:0 8px 20px rgba(79,124,255,.4)}
.brand h1{font-size:20px;margin:0}
.auth-card .sub{color:var(--muted);font-size:13px;margin:0 0 22px}
.auth-tabs{display:flex;background:#f2f5fb;border-radius:12px;padding:4px;margin-bottom:20px}
.auth-tabs button{flex:1;border:0;background:transparent;padding:10px;border-radius:9px;font-size:14px;color:var(--ink-2);cursor:pointer;font-weight:600}
.auth-tabs button.active{background:#fff;color:var(--primary);box-shadow:var(--shadow-sm)}

/* ===== 表单 ===== */
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;color:var(--ink-2);margin-bottom:6px;font-weight:600}
.field input,.field select,.field textarea{width:100%;border:1.5px solid var(--line);background:#fafbfe;border-radius:12px;padding:12px 14px;font-size:15px;color:var(--ink);outline:none;transition:.15s}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 4px rgba(79,124,255,.12)}
.field textarea{resize:vertical;min-height:70px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:12px;padding:11px 18px;font-size:14px;cursor:pointer;font-weight:600;transition:.15s;white-space:nowrap}
.btn:active{transform:scale(.97)}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 8px 20px rgba(79,124,255,.3)}
.btn-primary:hover{opacity:.93}
.btn-block{width:100%;padding:13px}
.btn-ghost{background:#eef2ff;color:var(--primary)}
.btn-ghost:hover{background:#e3eaff}
.btn-danger{background:#feeceb;color:var(--danger)}
.btn-danger:hover{background:#fdd9d8}
.btn-sm{padding:7px 12px;font-size:13px;border-radius:10px}
.btn-line{background:#fff;border:1.5px solid var(--line);color:var(--ink-2)}
.btn-line:hover{border-color:var(--primary);color:var(--primary)}

/* ===== App 布局 ===== */
#appView{min-height:100vh}
.sidebar{position:fixed;top:0;left:0;width:236px;height:100vh;background:#fff;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;z-index:30}
.sidebar .brand{margin-bottom:26px}
.nav{display:flex;flex-direction:column;gap:4px;flex:1;overflow:auto}
.nav-item{display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:12px;color:var(--ink-2);cursor:pointer;font-weight:600;font-size:14px;transition:.13s}
.nav-item .ico{font-size:18px;width:22px;text-align:center}
.nav-item:hover{background:#f5f7fc}
.nav-item.active{background:linear-gradient(135deg,rgba(79,124,255,.12),rgba(111,91,255,.12));color:var(--primary)}
.sidebar-foot{border-top:1px solid var(--line);padding-top:12px;margin-top:8px}
.mini-user{display:flex;align-items:center;gap:10px;padding:6px}
.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.mini-user .name{font-weight:700;font-size:14px;line-height:1.2}
.mini-user .role{font-size:12px;color:var(--muted)}

.main{margin-left:236px;padding:26px 30px 60px;min-height:100vh}
.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}
.topbar h2{margin:0;font-size:22px}
.topbar .desc{color:var(--muted);font-size:13px;margin-top:2px}
.mobile-top{display:none}

/* ===== 卡片/网格 ===== */
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px}
.card + .card{margin-top:16px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px;flex-wrap:wrap}
.section-head h3{margin:0;font-size:16px}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-bottom:16px}
.stat{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px 20px;position:relative;overflow:hidden}
.stat .k{font-size:13px;color:var(--muted);margin-bottom:8px;display:flex;align-items:center;gap:6px}
.stat .v{font-size:24px;font-weight:800;letter-spacing:-.5px}
.stat .u{font-size:13px;color:var(--muted);font-weight:500;margin-left:3px}
.stat::after{content:"";position:absolute;right:-20px;top:-20px;width:70px;height:70px;border-radius:50%;background:linear-gradient(135deg,rgba(79,124,255,.1),rgba(111,91,255,.05))}
.stat.alt::after{background:linear-gradient(135deg,rgba(18,184,134,.12),rgba(18,184,134,.04))}
.stat.warn::after{background:linear-gradient(135deg,rgba(245,165,36,.14),rgba(245,165,36,.05))}

/* 车辆卡片 */
.vehicle-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.vehicle{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px;position:relative;border-top:4px solid var(--primary)}
.vehicle.type-fuel{border-top-color:var(--fuel)}
.vehicle.type-electric{border-top-color:var(--electric)}
.vehicle.type-phev{border-top-color:var(--phev)}
.vehicle.type-ebike{border-top-color:var(--ebike)}
.vehicle .vname{font-size:17px;font-weight:800;display:flex;align-items:center;gap:8px}
.vehicle .vmeta{color:var(--muted);font-size:13px;margin-top:4px}
.vehicle .vrow{display:flex;gap:18px;margin-top:14px}
.vehicle .vrow .item{font-size:13px;color:var(--ink-2)}
.vehicle .vrow .item b{display:block;font-size:16px;color:var(--ink)}
.vehicle .vactions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}

.tag{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:8px;font-size:12px;font-weight:700}
.tag.fuel{background:#fff1eb;color:#e8590c}
.tag.electric{background:#e6fcf4;color:#0ca678}
.tag.phev{background:#eaf0ff;color:#3b5bdb}
.tag.ebike{background:#f3ecff;color:#7048e8}
.badge{padding:2px 8px;border-radius:20px;font-size:12px;font-weight:600;background:#eef2ff;color:var(--primary)}
.badge.ok{background:#e6fcf4;color:var(--ok)}
.badge.warn{background:#fff4e2;color:#d9480f}
.badge.danger{background:#feeceb;color:var(--danger)}

/* 列表/记录 */
.rec-list{display:flex;flex-direction:column;gap:10px}
.rec{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff;border-radius:14px;box-shadow:var(--shadow-sm)}
.rec .ricon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;flex:none;background:#f2f5fb}
.rec .rmain{flex:1;min-width:0}
.rec .rtitle{font-weight:700;font-size:14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rec .rsub{font-size:12.5px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis}
.rec .ramount{font-weight:800;font-size:16px;white-space:nowrap}
.rec .ractions{display:flex;gap:6px}
.rec .rthumb{width:46px;height:46px;border-radius:10px;object-fit:cover;flex:none}

.empty{text-align:center;padding:40px 16px;color:var(--muted)}
.empty .em{font-size:40px;margin-bottom:10px}

/* 图表柱状 */
.bars{display:flex;align-items:flex-end;gap:10px;height:180px;padding-top:10px}
.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px}
.bar-stack{width:100%;max-width:46px;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;height:100%}
.bar-seg{border-radius:5px 5px 0 0;min-height:2px;width:100%;transition:.3s}
.bar-seg.fuel{background:linear-gradient(180deg,#ff9a6b,#ff7a45)}
.bar-seg.charge{background:linear-gradient(180deg,#38d9a9,#12b886)}
.bar-seg.maint{background:linear-gradient(180deg,#8ab4ff,#4f7cff)}
.bar-label{font-size:11px;color:var(--muted)}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--ink-2);margin-top:8px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:middle}

/* 表格 */
.table-wrap{overflow:auto;border-radius:14px}
table.tb{width:100%;border-collapse:collapse;font-size:13.5px;background:#fff}
.tb th,.tb td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.tb th{color:var(--muted);font-weight:600;font-size:12.5px;background:#fafbfe}
.tb tr:last-child td{border-bottom:0}
.tb tr:hover td{background:#fafbfe}

/* AI */
.ai-wrap{display:flex;flex-direction:column;height:calc(100vh - 150px);min-height:480px}
.ai-chat{flex:1;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:6px 2px}
.msg{max-width:80%;padding:12px 16px;border-radius:16px;font-size:14.5px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.msg.user{align-self:flex-end;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;border-bottom-right-radius:4px}
.msg.ai{align-self:flex-start;background:#fff;box-shadow:var(--shadow-sm);border-bottom-left-radius:4px}
.msg.ai b{color:var(--primary)}
.ai-input{display:flex;gap:10px;margin-top:16px}
.ai-input textarea{flex:1;border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;font-size:15px;resize:none;height:52px;outline:none;font-family:inherit}
.ai-input textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(79,124,255,.12)}
.quick-q{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.chip{background:#eef2ff;color:var(--primary);padding:7px 13px;border-radius:20px;font-size:13px;cursor:pointer;font-weight:600;border:0}
.chip:hover{background:#e3eaff}

/* Modal */
.modal-mask{position:fixed;inset:0;background:rgba(20,30,60,.45);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:18px;z-index:100}
.modal{background:#fff;border-radius:20px;width:100%;max-width:480px;max-height:90vh;overflow:auto;box-shadow:0 30px 70px rgba(20,30,60,.3);animation:pop .18s ease}
@keyframes pop{from{transform:scale(.95);opacity:.6}to{transform:scale(1);opacity:1}}
.modal-head{padding:20px 22px 0;display:flex;align-items:center;justify-content:space-between}
.modal-head h3{margin:0;font-size:18px}
.modal-head .x{border:0;background:#f2f5fb;width:32px;height:32px;border-radius:9px;font-size:18px;cursor:pointer;color:var(--ink-2)}
.modal-body{padding:18px 22px}
.modal-foot{padding:0 22px 22px;display:flex;gap:10px;justify-content:flex-end}

/* Toast */
#toast{position:fixed;top:22px;left:50%;transform:translateX(-50%);z-index:200;display:flex;flex-direction:column;gap:8px;align-items:center}
.toast{background:#1f2733;color:#fff;padding:11px 20px;border-radius:12px;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.2);animation:pop .2s}
.toast.ok{background:var(--ok)}
.toast.err{background:var(--danger)}

/* 底部导航（移动） */
.bottom-nav{display:none}

/* 滚动条 */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#d5dce8;border-radius:8px}
::-webkit-scrollbar-track{background:transparent}

/* 响应式 */
@media(max-width:820px){
  .sidebar{display:none}
  .main{margin-left:0;padding:16px 14px 90px}
  .mobile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
  .mobile-top .brand .logo{width:36px;height:36px;font-size:18px;border-radius:11px}
  .mobile-top .brand h1{font-size:16px}
  .bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:40;justify-content:space-around}
  .bnav{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:var(--muted);border:0;background:transparent;padding:4px 8px;cursor:pointer;font-weight:600}
  .bnav .ico{font-size:19px}
  .bnav.active{color:var(--primary)}
  .stat-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .stat .v{font-size:20px}
  .vehicle-grid{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .ai-wrap{height:calc(100vh - 190px)}
  .topbar h2{font-size:19px}
}
/* ================= 定位停车 ================= */
.pk-actions-bar{display:flex;gap:10px;margin-bottom:16px}
.pk-main-btn{flex:1;padding:14px;font-size:15px}
.pk-main-btn span{font-size:18px;line-height:1}
.pk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.pk-card{background:#fff;border-radius:18px;box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;transition:.18s}
.pk-card:hover{box-shadow:var(--shadow)}
.pk-photo{height:184px;overflow:hidden;cursor:zoom-in;background:#eef2f8;position:relative}
.pk-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.pk-photo:hover img{transform:scale(1.05)}
.pk-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);cursor:pointer;background:repeating-linear-gradient(45deg,#f4f7fc,#f4f7fc 12px,#eef2f8 12px,#eef2f8 24px)}
.pk-photo-empty span{font-size:34px}
.pk-photo-empty small{font-size:12px}
.pk-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.pk-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.pk-title{font-weight:800;font-size:16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.pk-time{font-size:12px;color:var(--muted);white-space:nowrap;flex:none}
.pk-addr{font-size:13.5px;color:var(--ink-2);word-break:break-word}
.pk-veh{font-size:12.5px;color:var(--muted)}
.pk-note{font-size:13px;color:#5b6577;background:#f7f9fd;border-radius:10px;padding:9px 12px;white-space:pre-wrap;word-break:break-word;line-height:1.55}
.pk-acts{display:flex;gap:8px;margin-top:auto;padding-top:6px;flex-wrap:wrap}
.pk-acts .btn{flex:1;min-width:84px}

/* 照片选择器 */
.photo-preview{display:flex;gap:10px;flex-wrap:wrap}
.pp-add{width:96px;height:96px;border:1.5px dashed #c7d2e5;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);cursor:pointer;background:#fafbfe;transition:.15s}
.pp-add:hover{border-color:var(--primary);color:var(--primary);background:#f5f8ff}
.pp-add span{font-size:26px;line-height:1}
.pp-add small{font-size:11px}
.pp-item{position:relative;width:96px;height:96px;border-radius:14px;overflow:hidden;box-shadow:var(--shadow-sm)}
.pp-item img{width:100%;height:100%;object-fit:cover;display:block}
.pp-del{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.pp-del:hover{background:rgba(229,72,77,.92)}

/* 大图预览 */
.lightbox{text-align:center;line-height:0}
.lightbox img{max-width:100%;max-height:70vh;border-radius:12px;object-fit:contain}

@media(max-width:820px){
  .pk-grid{grid-template-columns:1fr}
  .pk-photo{height:200px}
  .pk-main-btn{padding:13px 10px;font-size:14.5px}
  .pk-acts .btn{padding:10px 12px}
}
/* ================= 限行查询 ================= */
.rs-hero{border-radius:18px;padding:20px 22px;color:#fff;margin-bottom:14px;box-shadow:var(--shadow-sm);background:linear-gradient(135deg,#12b886,#0ca678)}
.rs-hero.danger{background:linear-gradient(135deg,#ff6b6b,#e5484d)}
.rs-hero.warn{background:linear-gradient(135deg,#f5a524,#e8890c)}
.rs-hero-main{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rs-city{font-size:22px;font-weight:900;letter-spacing:-.5px}
.rs-status{font-size:18px;font-weight:800;background:rgba(255,255,255,.22);padding:6px 16px;border-radius:999px}
.rs-hero-sub{margin-top:10px;font-size:13px;opacity:.92}
.rs-reason{margin-top:6px;font-size:14px;font-weight:600}
.rs-info{padding:6px 20px}
.rs-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.rs-row:last-child{border-bottom:0}
.rs-row span{color:var(--muted);flex:none}
.rs-row b{text-align:right;font-weight:700}
.rs-week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.rsc-day{background:#f7f9fd;border-radius:12px;padding:10px 4px;text-align:center;display:flex;flex-direction:column;gap:5px}
.rsc-day .d{font-size:12px;color:var(--muted)}
.rsc-day .t{font-size:14px;font-weight:800}
.rsc-day.weekend{background:#f2f5fb;opacity:.7}
.rsc-day.today{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff}
.rsc-day.today .d{color:rgba(255,255,255,.85)}
.rs-disc{color:var(--muted);font-size:12.5px;line-height:1.6;margin:14px 2px 0}

/* ================= 保养计划 ================= */
.health-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.health-card{background:#fff;border-radius:18px;box-shadow:var(--shadow-sm);padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.hc-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.hc-name{font-weight:800;font-size:16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hc-odo{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.hc-bar{height:10px;border-radius:999px;background:#eef1f6;overflow:hidden}
.hc-fill{height:100%;border-radius:999px;transition:width .4s}
.hc-fill.ok{background:linear-gradient(90deg,#38d9a9,#12b886)}
.hc-fill.warn{background:linear-gradient(90deg,#f7c948,#f5a524)}
.hc-fill.danger{background:linear-gradient(90deg,#ff8787,#e5484d)}
.hc-meta{font-size:12.5px;color:var(--muted)}
.hc-next{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hc-next .hn{background:#f8faff;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.hc-next .hn span{font-size:12px;color:var(--muted)}
.hc-next .hn b{font-size:16px;font-weight:800}
.hc-next .hn small{font-size:12px;color:var(--ink-2)}
.hc-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hc-interval{font-size:12.5px;color:var(--muted)}

/* ================= 能耗趋势 ================= */
.trend-chart{padding:6px 2px}
.trend-chart svg{background:#fbfcff;border-radius:12px}
.trend-chart .legend2{margin-top:10px}

@media(max-width:820px){
  .rs-week{grid-template-columns:repeat(4,1fr)}
  .health-grid{grid-template-columns:1fr}
}
/* ================= 密码强度 / 列表加载更多 ================= */
.pwd-meter{display:flex;gap:6px;margin-top:8px}
.pwd-meter span{height:4px;flex:1;border-radius:999px;background:#eef1f6;transition:background .2s}
.pwd-meter.s1 span:nth-child(1){background:#e5484d}
.pwd-meter.s2 span:nth-child(-n+2){background:#f5a524}
.pwd-meter.s3 span{background:#12b886}
.pwd-hint{font-size:12px;color:var(--muted);margin-top:6px;min-height:16px;line-height:1.4}
.load-more{margin-top:16px;text-align:center}
@media(max-width:820px){
  .topbar{flex-wrap:wrap}
  .table-wrap{-webkit-overflow-scrolling:touch;border:1px solid var(--line)}
  .tb{min-width:560px}
  .rs-week{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}
  .rsc-day{flex:0 0 70px}
  .modal-mask{padding:12px}
  .modal{max-height:92vh}
}
@media(max-width:430px){
  .modal-mask{padding:0;align-items:flex-end}
  .modal{border-radius:20px 20px 0 0;max-height:94vh;width:100%}
  .ai-wrap{height:calc(100vh - 160px);min-height:360px}
  .stat-grid{gap:10px}
}
/* ===== 高德地图 / 仪表盘限行 ===== */
.pk-map{height:150px;overflow:hidden;cursor:zoom-in;background:#eef2f8;border-top:1px solid var(--line)}
.pk-map img{width:100%;height:100%;object-fit:cover;display:block}
.trip-map-preview{margin-top:12px;border-radius:12px;overflow:hidden;background:#eef2f8}
.trip-map-preview img{width:100%;max-height:240px;object-fit:cover;display:block}
.dash-restrict{display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:16px;padding:14px 18px;margin-bottom:16px;cursor:pointer;color:#fff;box-shadow:var(--shadow-sm);background:linear-gradient(135deg,#12b886,#0ca678)}
.dash-restrict.danger{background:linear-gradient(135deg,#ff6b6b,#e5484d)}
.dash-restrict .dr-line1{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dash-restrict .dr-city{font-size:18px;font-weight:900;letter-spacing:-.3px}
.dash-restrict .dr-status{font-size:13px;font-weight:800;background:rgba(255,255,255,.22);padding:3px 12px;border-radius:999px}
.dash-restrict .dr-meta{margin-top:5px;font-size:12.5px;opacity:.94;line-height:1.5}
.dash-restrict .dr-go{font-size:13px;font-weight:700;white-space:nowrap;opacity:.95}
@media(max-width:820px){
  .pk-map{height:140px}
  .dash-restrict{padding:12px 14px;gap:8px}
  .dash-restrict .dr-city{font-size:16px}
  .dash-restrict .dr-meta{font-size:12px}
  .dash-restrict .dr-go{font-size:12px}
}