/* Trip Plan calculator page styles */

.plan-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.plan-shortcut {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--hairline, #D9D5CC);
  background: #fff;
  color: var(--ink, #1A1A1A);
  font-size: 0.85rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 500;
  cursor: pointer;
}
.plan-shortcut:hover {
  border-color: var(--honey, #E6A340);
  background: rgba(230,163,64,0.06);
}
.plan-shortcut.is-active {
  border-color: var(--navy, #0E2A47);
  background: var(--navy, #0E2A47);
  color: #fff;
}
#p-dest-filter {
  max-width: 100%;
}
#p-dest {
  max-width: 100%;
}

.plan-diff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.25rem 0 0;
}
@media (max-width: 720px) {
  .plan-diff { grid-template-columns: 1fr; }
}
.plan-diff-card {
  background: #fff;
  border: 1.5px solid var(--hairline, #D9D5CC);
  border-radius: 10px;
  padding: 14px 16px;
}
.plan-diff-card.is-here {
  border-color: var(--honey, #E6A340);
  box-shadow: 0 0 0 1px rgba(230,163,64,0.25);
}
.plan-diff-card h3 {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--navy, #0E2A47);
}
.plan-diff-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft, #5c564c);
}
.plan-verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.plan-verdict.fits { background: #e7f6ed; color: #1b6b3a; }
.plan-verdict.tight { background: #fff4df; color: #9a6b12; }
.plan-verdict.over { background: #fdecea; color: #a1281f; }
.plan-verdict-lg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 12px 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1rem;
}
.plan-verdict-lg.fits { background: #e7f6ed; color: #1b6b3a; }
.plan-verdict-lg.tight { background: #fff4df; color: #9a6b12; }
.plan-verdict-lg.over { background: #fdecea; color: #a1281f; }
.plan-verdict-word {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 1.6rem;
  font-weight: 700;
}
.plan-verdict-detail { font-weight: 500; }
.plan-headline { margin-bottom: 1.25rem; }
.plan-kicker {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--honey, #E6A340);
  margin: 0 0 4px;
}
.plan-dest-title {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 1.55rem;
  margin: 0 0 4px;
  color: var(--navy, #0E2A47);
}
.plan-headline-sub, .plan-headline-total, .plan-section-sub {
  margin: 0.35rem 0;
  color: var(--ink-soft, #5c564c);
  font-size: 0.95rem;
  line-height: 1.45;
}
.plan-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0.75rem 0 1.5rem;
}
@media (max-width: 720px) {
  .plan-tiers { grid-template-columns: 1fr; }
}
.plan-tier-card {
  background: #fff;
  border: 1.5px solid var(--hairline, #D9D5CC);
  border-radius: 12px;
  padding: 14px 16px;
}
button.plan-tier-card {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
button.plan-tier-card:hover {
  border-color: var(--honey, #E6A340);
  background: rgba(230,163,64,0.06);
}
button.plan-tier-card:focus-visible {
  outline: 2px solid var(--honey, #E6A340);
  outline-offset: 2px;
}
.plan-tier-card.is-recommended,
.plan-tier-card.is-selected {
  border-color: var(--navy, #0E2A47);
  background: linear-gradient(180deg, rgba(14,42,71,0.06), #fff);
  box-shadow: 0 0 0 1px var(--navy, #0E2A47);
}
.plan-tier-card.is-suggested:not(.is-selected) {
  border-color: var(--honey, #E6A340);
  box-shadow: 0 0 0 1px rgba(230,163,64,0.35);
}
.plan-tier-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft, #5c564c);
  background: #f4f1ea;
  vertical-align: middle;
}
.plan-tier-card.is-selected .plan-tier-badge {
  background: var(--navy, #0E2A47);
  color: #fff;
}
.plan-tier-card.is-suggested:not(.is-selected) .plan-tier-badge {
  background: rgba(230,163,64,0.2);
  color: #8a5a12;
}
.plan-tier-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy, #0E2A47);
}
.plan-tier-total {
  margin: 6px 0 2px;
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink, #1A1A1A);
}
.plan-tier-meta, .plan-tier-hint {
  margin: 4px 0;
  font-size: 0.85rem;
  color: var(--ink-soft, #5c564c);
}
.plan-itemize {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.92rem;
}
.plan-itemize th, .plan-itemize td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--hairline, #D9D5CC);
  vertical-align: top;
}
.plan-itemize td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-itemize-total th, .plan-itemize-total td {
  font-weight: 700;
  border-bottom: none;
  padding-top: 14px;
}
.plan-line-note {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft, #5c564c);
  margin-top: 2px;
}
.plan-line-tip {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft, #5c564c);
  margin-top: 5px;
  white-space: normal;
}
.plan-line-tip::before {
  content: "Tip: ";
  font-weight: 600;
  color: var(--honey, #B07A1F);
}
.plan-line-tip a {
  color: var(--navy, #0E2A47);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plan-line-tip-detail {
  display: block;
  font-weight: 400;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-soft, #5c564c);
  margin-top: 3px;
  white-space: normal;
}
.plan-cut-list, .plan-upgrade-list, .plan-deep-links, .plan-faq-list {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.2rem;
  line-height: 1.55;
}
.plan-save {
  color: var(--honey, #B07A1F);
  font-weight: 600;
  white-space: nowrap;
}
.plan-faq details {
  border: 1px solid var(--hairline, #D9D5CC);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 10px;
  background: #fff;
}
.plan-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy, #0E2A47);
}
.plan-faq details p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft, #5c564c);
}
.plan-recs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0.75rem 0 1.5rem;
}
.plan-rec-card--wide,
.plan-recs .plan-rec-card:nth-child(5) {
  grid-column: 1 / -1;
}
@media (max-width: 720px) {
  .plan-recs { grid-template-columns: 1fr; }
  .plan-rec-card--wide,
  .plan-recs .plan-rec-card:nth-child(5) { grid-column: auto; }
}
.plan-rec-card {
  background: #fff;
  border: 1.5px solid var(--hairline, #D9D5CC);
  border-radius: 12px;
  padding: 14px 16px;
}
.plan-rec-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--honey, #E6A340);
}
.plan-rec-title {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 4px 0 8px;
  color: var(--navy, #0E2A47);
  line-height: 1.3;
}
.plan-rec-body {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft, #5c564c);
}
.plan-rec-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink, #1A1A1A);
}
.plan-rec-list li { margin: 0 0 4px; }
.plan-rec-impact {
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy, #0E2A47);
}
