html, body { margin: 0; height: 100%; font-family: system-ui, sans-serif; background: #f4f4f5; color: #18181b; }
#map { height: 55vh; }
#panel { height: 45vh; overflow-y: auto; padding: 16px; box-sizing: border-box; background: #fff;
  border-radius: 16px 16px 0 0; margin-top: -16px; position: relative; z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,.1); }
h2 { margin: 0 0 12px; }
.hidden { display: none !important; }
input { width: 100%; box-sizing: border-box; padding: 12px; font-size: 17px; border: 1px solid #d4d4d8;
  border-radius: 10px; margin-bottom: 10px; }
button { width: 100%; padding: 13px; font-size: 16px; border: 0; border-radius: 10px; background: #facc15;
  color: #18181b; font-weight: 600; margin-bottom: 8px; }
button.secondary { background: #e4e4e7; }
button.danger { background: #fee2e2; color: #b91c1c; }
.row { display: flex; gap: 8px; }
.hint { font-size: 15px; color: #52525b; margin-bottom: 10px; }
#trip-info { font-weight: 600; margin: 6px 0 10px; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px;
  border: 1px solid #e4e4e7; border-radius: 12px; margin-bottom: 8px; }
.offer small { color: #71717a; }
.offer .price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.offer button { width: auto; margin: 0; padding: 10px 14px; }
.status { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
#message { color: #b91c1c; margin-top: 8px; min-height: 1em; }
.card { border: 1px solid #e4e4e7; border-radius: 12px; padding: 12px; margin-bottom: 10px; }
a { color: #2563eb; }
.field { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.field input, .field button { margin-bottom: 0; }
.field input { flex: 1; min-width: 0; }
.field button { width: auto; padding: 12px 14px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.green { background: #16a34a; }
.dot.red { background: #dc2626; }
#results { margin-bottom: 8px; }
.result { padding: 10px 12px; border-bottom: 1px solid #e4e4e7; }
.result small { color: #71717a; }
.stars { display: flex; gap: 6px; margin: 6px 0 10px; }
.stars button { flex: 1; width: auto; margin: 0; padding: 6px 0; font-size: 28px; background: #f4f4f5; color: #d4d4d8; }
.stars button.on { color: #facc15; }
.history-item { border-bottom: 1px solid #e4e4e7; padding: 10px 0; }
.history-item .route { margin: 2px 0; }
.history-item small { color: #71717a; }
.section-head {
  position: sticky; top: -16px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; margin: -16px -16px 8px; padding: 16px 16px 10px;
  border-bottom: 1px solid #e4e4e7;
}
.section-head h2 { margin: 0; }
.section-head button { width: auto; margin: 0; padding: 10px 14px; }
.pay { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.pay label { display: flex; gap: 6px; align-items: center; }
.pay input { width: auto; margin: 0; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 10px; }
.pay .hint { grid-column: 1 / -1; margin: 0; }
.pay label { justify-content: center; padding: 10px; border: 1px solid #d4d4d8; border-radius: 10px; background: #fff; font-size: 15px; }
.pay input { display: none; }
.pay label:has(input:checked) { background: #fef9c3; border-color: #facc15; font-weight: 600; }
.city-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14px; color: #52525b; }
.city-row button { width: auto; margin: 0; padding: 6px 10px; font-size: 13px; background: #f4f4f5; }
.pay { align-items: stretch; }
.pay label { text-align: center; min-height: 48px; line-height: 1.25; }
