:root{
  --bg:#f7f9fc;--card:#ffffff;--muted:#5f6c7b;--text:#0f172a;--border:#e5e7eb;--name:#d32f2f;
}
*{box-sizing:border-box}
body{margin:0;font:14px/1.5 system-ui,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text)}
header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;background:#fff}
.wrap{max-width:1200px;margin:0 auto;padding:16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
h1,h3{margin:0 0 10px}
.mt{margin-top:14px}
.controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.badge{background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;font-size:11px;padding:4px 8px;border-radius:999px}
input{width:100%;max-width:520px;padding:10px 12px;border-radius:10px;background:#fff;color:var(--text);border:1px solid var(--border)}

.map{height:420px;border:1px solid var(--border);border-radius:12px}
.list{display:grid;grid-template-columns:1fr;gap:12px;margin-top:10px}
.item{background:#fff;border:1px solid var(--border);padding:12px;border-radius:12px;transition:border-color .15s, box-shadow .15s}
.item.selected{border-color:#90caf9; box-shadow:0 0 0 3px rgba(144,202,249,.25)}
.name{font-weight:800;margin:0 0 6px;color:var(--name)}
.meta{display:flex;flex-direction:column;gap:6px}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.k{color:var(--muted);font-size:12px;min-width:70px}
.v{font-size:14px}
.link{background:#e8f5e9;border:1px solid #c8e6c9;color:#1b5e20;text-decoration:none;font-size:12px;padding:4px 8px;border-radius:999px}
.detail-status .v{color:#64748b;font-style:italic}
.hidden{display:none}
.link.uber{ background:#e8f0fe; border-color:#d2dcf8; color:#174ea6; }

/* Desktop */
@media (min-width: 980px){
  .map{height:520px}
  .list{grid-template-columns:repeat(2,minmax(300px,1fr))}
}
