/* Planned (family-only) tab — itinerary timeline + planned-route map.
   Reuses the shared .wide-band shell (site.css) + trips.css map styles; bump ?v= in planned.html on change. */

.planned-msg {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 36rem;
  margin: 0 auto;
}
.planned-msg .empty { font-size: 1.2rem; font-style: normal; color: var(--text); margin-bottom: 0.5rem; }
.planned-msg p { color: var(--text-dim); }
.planned-msg a { color: var(--accent); }

.planned-head { margin-bottom: 1.25rem; }
.planned-title { font-size: 1.6rem; margin: 0 0 0.25rem; }
.planned-sub { color: var(--text); font-size: 1.05rem; margin: 0 0 0.35rem; }
.planned-dates {
  color: var(--accent-2); font-weight: 600; letter-spacing: 0.02em;
  margin: 0 0 0.6rem; text-transform: uppercase; font-size: 0.85rem;
}
.planned-summary { color: var(--text-dim); margin: 0; max-width: 60rem; }

/* ---- Timeline ---- */
.planned-timeline { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.pstop {
  position: relative;
  display: flex;
  gap: 0.9rem;
  padding: 0 0 1.4rem 0;
}
/* connecting line down the badge column */
.pstop::before {
  content: "";
  position: absolute;
  left: 17px; top: 34px; bottom: -2px;
  width: 2px;
  background: var(--border);
}
.pstop:last-child::before { display: none; }

.pstop-badge {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--text-dim);
  font-weight: 700; font-size: 0.95rem;
  z-index: 1;
}
.pstop-destination .pstop-badge { border-color: var(--accent-2); color: var(--accent-2); box-shadow: 0 0 0 3px rgba(63,185,80,0.18); }
.pstop-home .pstop-badge { border-color: var(--accent); background: rgba(88,166,255,0.12); }

.pstop-body {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
}
.pstop-destination .pstop-body { border-color: rgba(63,185,80,0.5); }
.pstop-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.pstop-name { font-weight: 600; font-size: 1.08rem; color: var(--text); }
.pstop-date { color: var(--text-dim); font-size: 0.85rem; white-space: nowrap; }
.pstop-city { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.1rem; }
.pstop-meta { color: var(--text); font-size: 0.9rem; margin-top: 0.45rem; }
.pstop-money { margin-top: 0.45rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pstop-rate {
  font-size: 0.82rem; padding: 0.1rem 0.5rem; border-radius: 999px;
  background: rgba(139,148,158,0.15); color: var(--text-dim);
}
.pstop-rate.is-paid { background: rgba(63,185,80,0.15); color: var(--accent-2); }
.pstop-deposit {
  font-size: 0.82rem; padding: 0.1rem 0.5rem; border-radius: 999px;
  background: rgba(210,153,34,0.15); color: #d29922;
}
.pstop-phone { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.4rem; }
.pstop-note { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.45rem; font-style: italic; }

/* ---- Map markers (numbered) ---- */
.pmarker span {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #1f6feb; color: #fff; font-weight: 700; font-size: 0.85rem;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.pmarker-destination span { background: #2ea043; width: 34px; height: 34px; }
.pmarker-home span { background: #6e40c9; }
