/* Tripnook Trip Planner. Uses brand tokens from tripnook-brand. */
.tn-planner { width: 100%; max-width: 72rem; margin: 1.5rem auto 2.5rem; }
.tnp-form {
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 16px;
  padding: 1.25rem 1.1rem 1.4rem; box-shadow: 0 1px 2px rgba(15, 76, 129, .06);
}
@media (min-width: 768px) { .tnp-form { padding: 1.75rem 2rem 2rem; } }
.tnp-form__title { margin: 0 0 1rem; font-size: 1.35rem; }
.tnp-grid { display: grid; gap: 1rem 1.25rem; grid-template-columns: 1fr; margin-bottom: 1.1rem; }
@media (min-width: 600px) { .tnp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tnp-grid { grid-template-columns: repeat(3, 1fr); } }
.tnp-field label { display: block; font-weight: 600; margin: 0 0 .35rem; color: #1E293B; }
.tnp-field select, .tnp-field input[type="date"] {
  width: 100%; min-height: 44px; font-size: 1rem; padding: .5rem .65rem;
  border: 1px solid #94A3B8; border-radius: 8px; background: #fff; color: #1E293B;
}
.tnp-field--inline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: .75rem; }
.tnp-field--inline label { margin: 0; }
.tnp-field--inline select { width: auto; max-width: 100%; }
.tnp-help, .tnp-optional { font-size: .875rem; color: #475569; font-weight: 400; margin: .3rem 0 0; }
.tnp-fieldset { border: 0; margin: 0 0 1.1rem; padding: 0; min-width: 0; }
.tnp-fieldset legend { font-weight: 600; margin: 0 0 .5rem; padding: 0; color: #1E293B; }
.tnp-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.tnp-choice {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: .45rem .9rem; border: 1px solid #94A3B8; border-radius: 999px; background: #fff; cursor: pointer;
  font-size: .95rem; color: #1E293B; line-height: 1.2;
}
.tnp-choice input { margin: 0; width: 1.05rem; height: 1.05rem; accent-color: #0F4C81; flex: none; }
.tnp-choice:has(input:checked) { border-color: #0F4C81; background: #E8F0F8; box-shadow: inset 0 0 0 1px #0F4C81; }
.tnp-choice:has(input:focus-visible) { outline: 3px solid #FF8C42; outline-offset: 2px; }
.tnp-cities { margin-top: .85rem; }
.tnp-cities .tnp-help { margin: 0 0 .6rem; }
.tnp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .5rem; }
.tnp-submit { font-size: 1.05rem; padding: .7rem 1.5rem; border: 0; cursor: pointer; }
.tnp-submit:focus-visible, .tnp-tool:focus-visible, .tn-planner a:focus-visible { outline: 3px solid #FF8C42; outline-offset: 2px; }
.tnp-saved { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: 12px; background: #E7F7F4; border: 1px solid #A7E3D8; }
.tnp-saved p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tnp-result { margin-top: 2rem; outline: none; }
.tnp-result__head { padding: 1.25rem 1.1rem; border-radius: 16px; background: #0F4C81; color: #fff; }
@media (min-width: 768px) { .tnp-result__head { padding: 1.6rem 2rem; } }
.tnp-result__head h2 { color: #fff; margin: .2rem 0 .5rem; font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 768px) { .tnp-result__head h2 { font-size: 1.85rem; } }
.tnp-eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: #BFE9E2; }
.tnp-summary { margin: 0 0 1rem; color: #E2ECF5; }
.tnp-chain { list-style: none; margin: 0 0 1rem !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: tnp; }
.tnp-chain li {
  counter-increment: tnp; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: .35rem .85rem; font-size: .95rem;
}
.tnp-chain li::before { content: counter(tnp) ". "; font-weight: 600; color: #BFE9E2; }
.tnp-chain a { color: #fff !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tnp-chain span { color: #E2ECF5; }
.tnp-chain .tnp-chain__trip { color: #FFD3B0; }
.tnp-warn { background: #FFF4EB; color: #7A3A0C; border-radius: 10px; padding: .6rem .9rem; margin: 0 0 1rem; }
.tnp-warn p { margin: .2rem 0; }
.tnp-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.tnp-tool {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .9rem; border-radius: 8px;
  border: 1px solid #fff; background: #fff; color: #0F4C81 !important; font-weight: 600; font-size: .95rem;
  cursor: pointer; text-decoration: none !important; line-height: 1.2;
}
.tnp-tool--ghost { background: transparent; color: #fff !important; }
.tnp-saved .tnp-tool { border-color: #0F4C81; }
.tnp-saved .tnp-tool--ghost { color: #0F4C81 !important; }
.tnp-status { font-size: .9rem; color: #BFE9E2; min-height: 1.2em; }
@media (max-width: 599px) {
  .tnp-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
  .tnp-toolbar .tnp-tool { justify-content: center; text-align: center; padding: .45rem .5rem; font-size: .9rem; }
  .tnp-toolbar .tnp-status { grid-column: 1 / -1; }
  .tnp-chain li { font-size: .9rem; }
}
.tnp-card {
  margin: 1.25rem 0 0; padding: 1.1rem 1.1rem 1.2rem; border: 1px solid #E2E8F0; border-radius: 16px; background: #fff;
}
@media (min-width: 768px) { .tnp-card { padding: 1.4rem 1.75rem; } }
.tnp-card h3, .tnp-days > h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.tnp-cost { border-left: 6px solid #18B7A0; }
.tnp-big { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.5rem; color: #0F4C81; margin: 0 0 .4rem; }
.tnp-note { font-size: .9rem; color: #475569; }
.tnp-list { margin: 0; padding-left: 1.2rem; }
.tnp-list li { margin: 0 0 .45rem; }
.tnp-days { margin-top: 1.75rem; }
.tnp-daylist { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: .85rem; }
@media (min-width: 1024px) { .tnp-daylist { grid-template-columns: 1fr 1fr; } }
.tnp-day { border: 1px solid #E2E8F0; border-radius: 14px; padding: 1rem 1.1rem; background: #fff; break-inside: avoid; }
.tnp-day--transfer, .tnp-day--arrive { border-top: 4px solid #18B7A0; }
.tnp-day--depart { border-top: 4px solid #FF8C42; background: #FFFBF7; }
.tnp-day__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin-bottom: .4rem; }
.tnp-day__head h4 { flex: 1 1 100%; margin: 0; font-size: 1.05rem; line-height: 1.35; }
.tnp-day__n { font-weight: 700; color: #0F4C81; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.tnp-day__date { font-size: .85rem; color: #475569; }
.tnp-day p { margin: .35rem 0; font-size: .97rem; line-height: 1.55; }
.tnp-tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #0A365C; background: #E7F7F4; border-radius: 4px; padding: .05rem .4rem; margin-right: .25rem; }
.tnp-day__cost { color: #334155; font-size: .9rem !important; }
.tnp-day__link a { font-weight: 600; }
.tnp-book .tn-cta-row { margin-bottom: 0; }
.tnp-btn--outline { background: #fff !important; color: #0F4C81 !important; box-shadow: inset 0 0 0 2px #0F4C81; }
.tnp-btn--outline:hover, .tnp-btn--outline:focus { background: #E8F0F8 !important; color: #0A365C !important; }
.tnp-foot { margin-top: 1.25rem; }
.tn-planner-cta { margin-top: 1rem; font-weight: 600; }

@media print {
  #masthead, .site-header, #mobile-header, .site-footer, #colophon, .tn-site-footer, .tn-hero, .tn-breadcrumbs,
  .tnp-form, .tnp-saved, .tnp-toolbar, .tn-planner-intro, .tn-planner-faq, .tn-photo-credits, .tn-currency-picker-wrap,
  .tnp-book .tn-cta-row, .tnp-day__link, noscript { display: none !important; }
  body, .tnp-card, .tnp-day { background: #fff !important; }
  .tnp-result { margin: 0; }
  .tnp-result__head { background: #fff !important; color: #000 !important; border: 2px solid #0F4C81; }
  .tnp-result__head h2, .tnp-summary, .tnp-chain span, .tnp-chain a, .tnp-eyebrow { color: #000 !important; }
  .tnp-chain li { border-color: #94A3B8; background: #fff; }
  .tnp-chain li::before { color: #0F4C81; }
  .content-area, .site-main, .entry-content-wrap, .entry-content, .content-container, .site-container { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .tnp-result { font-size: 10.5pt; }
  .tnp-days > h3, .tnp-card h3 { break-after: avoid; page-break-after: avoid; }
  .tnp-daylist { display: block; }
  .tnp-day { margin: 0; padding: .45rem 0; border: 0 !important; border-top: 1px solid #CBD5E1 !important; border-radius: 0; page-break-inside: avoid; }
  .tnp-day p { margin: .15rem 0; font-size: 10pt; }
  .tnp-card { padding: .6rem .8rem; margin-top: .6rem; }
  .tnp-card { page-break-inside: avoid; }
  a { color: #000 !important; }
  .tn-guide > :not(.tn-planner), .tn-guide > .tn-faq-item { display: none !important; }
  @page { margin: 14mm; }
}

/* 1.1.0: line icons (from tripnook-brand). */
.tn-planner .tn-icon { margin-right: .35em; }
.tnp-field label .tn-icon, .tnp-fieldset legend .tn-icon { width: 1.05em; height: 1.05em; vertical-align: -.18em; }
.tnp-choice .tn-icon { width: 1.1em; height: 1.1em; margin: 0 -.15rem 0 0; color: #0F4C81; }
.tnp-tool .tn-icon { width: 1.05em; height: 1.05em; margin-right: .4em; color: currentColor; }
.tnp-tag .tn-icon { width: 1.1em; height: 1.1em; vertical-align: -.22em; margin-right: .25em; color: #0E7C6B; }
.tnp-chain__trip .tn-icon { color: currentColor; width: 1em; height: 1em; margin-right: .2em; }
.tnp-card h3 .tn-icon, .tnp-days > h3 .tn-icon { width: 1em; height: 1em; vertical-align: -.13em; margin-right: .4em; }
.tnp-day h4 .tn-icon { width: .95em; height: .95em; vertical-align: -.1em; margin-right: .3em; }
@media print { .tn-planner .tn-icon { display: none !important; } }
