.tbw-tb { background: var(--wp--preset--color--white); border: 2px solid var(--wp--preset--color--brand); border-radius: 16px; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.tbw-tb > * { margin-block: 0; }
.tbw-tb h2.tbw-tb__title, .tbw-tb h3.tbw-tb__name { margin-block: 0; }
.tbw-tb h3.tbw-tb__results { margin-block: .5rem 0; }
.wp-block-post-content .tbw-tb .tbw-eyebrow { display: none; }
.tbw-tb__title { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--large); line-height: 1.2; margin: 0; }
.tbw-tb__lead { color: var(--wp--preset--color--ink-soft); margin: 0; }
.tbw-tb__entry { display: grid; gap: .25rem .75rem; grid-template-columns: minmax(0, 1fr); }
.tbw-tb__big { align-items: center; background: var(--wp--preset--color--white); border: 1.5px solid var(--wp--preset--color--brand); border-radius: 999px; box-sizing: border-box; color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: pointer; display: flex; font: 600 1.0625rem/1.2 var(--wp--preset--font-family--inter); justify-content: center; min-height: 52px; padding: .5rem 1.25rem; text-align: center; text-decoration: none; width: 100%; }
.tbw-tb__big--p { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: #fff; }
.tbw-tb__big--p:hover, .tbw-tb__big--p:focus-visible { color: #fff; filter: brightness(1.08); }
.tbw-tb__big:focus-visible, .tbw-tb__btn:focus-visible, .tbw-tb__links a:focus-visible, .tbw-tb__seg input:focus-visible + span { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; }
.tbw-tb__hint { color: var(--wp--preset--color--ink-soft); display: block; font-size: .8125rem; margin: 0 0 .5rem; text-align: center; }
.tbw-tb__form { display: flex; flex-direction: column; gap: .75rem; }
.tbw-tb__form label, .tbw-tb__group legend { font-size: .875rem; font-weight: 600; }
.tbw-tb__form select, .tbw-tb__search { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; box-sizing: border-box; font: inherit; min-height: 48px; padding: 0 .75rem; width: 100%; }
.tbw-tb__form .tbw-tb__big { margin-top: .25rem; }
.tbw-tb__field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.tbw-tb__row { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
.tbw-tb__group { border: 0; display: flex; flex-direction: column; gap: .4rem; margin: 0; min-width: 0; padding: 0; }
.tbw-tb__group legend { margin: 0 0 .35rem; padding: 0; }
.tbw-tb__form .tbw-tb__hint { margin: 0; text-align: left; }
.tbw-tb__search { margin-bottom: .25rem; }
/* Budget level: three segments, real radio buttons (keyboard: arrows), the chosen one filled. */
.tbw-tb__segs { display: grid; gap: .4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)); } /* 3 in a row at 375px, wraps (2 + 1) at 320px: "Comfortable" never clips (QA 2026-11-23) */
.tbw-tb__seg { cursor: pointer; display: block; font-weight: 400 !important; position: relative; }
.tbw-tb__seg input { height: 1px; margin: 0; opacity: 0; position: absolute; width: 1px; }
.tbw-tb__seg span { align-items: center; background: #fff; border: 1.5px solid var(--wp--preset--color--line); border-radius: 12px; box-sizing: border-box; display: flex; font-size: .9375rem; justify-content: center; line-height: 1.2; min-height: 48px; overflow-wrap: anywhere; padding: .35rem .25rem; text-align: center; }
.tbw-tb__seg input:checked + span { background: #eef3f8; border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-ink, #0F4C81); font-weight: 600; }
.tbw-tb__change { border-top: 1px solid var(--wp--preset--color--line); padding-top: .5rem; }
.tbw-tb__change > summary { align-items: center; cursor: pointer; display: flex; font-weight: 600; min-height: 44px; }
.tbw-tb__change[open] > summary { margin-bottom: .5rem; }
.tbw-tb__results { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--medium); margin: .5rem 0 0; }
.tbw-tb__cards { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
.tbw-tb__card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; display: flex; flex-direction: column; gap: .5rem; padding: .5rem .5rem 1rem; }
.tbw-tb__card > *:not(.tbw-tb__img) { padding-inline: .5rem; }
.tbw-tb__img { position: relative; }
.tbw-tb__img img { aspect-ratio: 16 / 9; border-radius: 10px; display: block; height: auto; object-fit: cover; width: 100%; }
.tbw-tb__tag { background: #dcefe3; border-radius: 999px; color: #1f6a3e; font-size: .75rem; font-weight: 700; left: .5rem; padding: .3rem .65rem; position: absolute; top: .5rem; }
.tbw-tb__name { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--medium); margin: 0; }
.tbw-tb__meta, .tbw-tb__note, .tbw-tb__empty { color: var(--wp--preset--color--ink-soft); font-size: .875rem; margin: 0; }
.tbw-tb__go { margin: .25rem 0 0; }
.tbw-tb__go .tbw-tb__btn { box-sizing: border-box; justify-content: center; width: 100%; }
.tbw-tb__links { display: flex; flex-wrap: wrap; font-size: .875rem; gap: 0 1rem; margin: 0; }
.tbw-tb__links a { align-items: center; color: var(--wp--preset--color--ink); display: inline-flex; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; }
.tbw-tb__more { margin: 0; }
.tbw-tb__btn { align-items: center; background: var(--wp--preset--color--brand); border: 1.5px solid var(--wp--preset--color--brand); border-radius: 999px; color: #fff; display: inline-flex; font-size: .9375rem; font-weight: 600; min-height: 44px; padding: 0 1rem; text-decoration: none; }
.tbw-tb__btn--ghost { background: #fff; border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-ink, #0F4C81); }
.tbw-tb__btn:hover, .tbw-tb__btn:focus-visible, .tbw-tb__btn:active { color: #fff; }
.tbw-tb__btn--ghost:hover, .tbw-tb__btn--ghost:focus-visible, .tbw-tb__btn--ghost:active { background: #eef3f8; color: var(--wp--preset--color--brand-ink, #0F4C81); }
.tbw-tb__big:not(.tbw-tb__big--p):hover, .tbw-tb__big:not(.tbw-tb__big--p):focus-visible { background: #eef3f8; }
.tbw-tb__link { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 640px) {
	.tbw-tb__entry { grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; }
	/* Three choices when the gift button is there (2026-11-25): same row, same size. */
	.tbw-tb__entry:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tbw-tb__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tbw-tb__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbw-tb__trip > .tbw-tb__big, .tbw-tb__ideas > .tbw-tb__big { align-self: flex-start; min-width: 16rem; width: auto; }
}
/* Notices (wizard and plan page, EN and PT): small print, muted ink-soft (#4F5B66 on white: 7:1, AA). */
.tbw-tb__legal { border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--ink-soft); font-size: .8rem; line-height: 1.4; margin-top: .25rem; padding-top: .6rem; }
.tbw-tb__legal p { font-size: inherit; line-height: inherit; margin: 0 0 .3rem; }
.tbw-tb__legal p:last-child { margin-bottom: 0; }
/* The notices (plan page, form page, the in-post widget; EN and PT): small and muted whatever the theme gives a body p (the
   theme's paragraph rules are more specific than one class, as with the tips box title). */
.tbw-tb aside.tbw-tb__legal, .tbw-tb aside.tbw-tb__legal p { color: var(--wp--preset--color--ink-soft); font-size: .8rem; line-height: 1.4; }
.tbw-tb aside.tbw-tb__legal p { margin: 0 0 .3rem; }
.tbw-tb aside.tbw-tb__legal p:last-child { margin-bottom: 0; }
.tbw-tb__legal a { padding: .75rem .15rem; text-decoration: underline; } /* "How we handle your data", contact@: inline padding makes a 44px tap area without moving the lines (QA 2026-11-23). */

.tbw-tb__plan { display: flex; flex-direction: column; gap: .75rem; margin-top: .5rem; }
.tbw-plan { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; display: flex; flex-direction: column; gap: .75rem; padding: 1rem; }
.tbw-plan__title { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--medium); margin: 0; }
.tbw-plan__meta, .tbw-plan__area, .tbw-plan__note { color: var(--wp--preset--color--ink-soft); font-size: .875rem; margin: 0; }
.tbw-plan__block { background: var(--wp--preset--color--sand); border-radius: 12px; padding: .75rem; }
.tbw-plan__block h4 { font-size: 1rem; margin: 0 0 .5rem; }
.tbw-plan__stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.tbw-plan__stop { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; display: flex; flex-direction: column; gap: .5rem; padding: .75rem; }
.tbw-plan__head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; justify-content: space-between; }
.tbw-plan__head span { color: var(--wp--preset--color--ink-soft); font-size: .875rem; }
.tbw-plan__ghost { display: flex; flex-direction: column; gap: .4rem; filter: blur(3px); }
.tbw-plan__ghost i { background: var(--wp--preset--color--line); border-radius: 6px; display: block; height: .9rem; }
.tbw-plan__ghost i:nth-child(1) { height: 1.1rem; width: 55%; } .tbw-plan__ghost i:nth-child(2) { width: 80%; } .tbw-plan__ghost i:nth-child(3) { width: 45%; }
.tbw-plan__ghost b { background: #c9d8e8; border-radius: 999px; display: inline-block; height: 2rem; margin-right: .5rem; max-width: 45%; width: 9rem; }
/* Locked preview: what is visible sells the plan; the details are placeholders (they are not in the HTML). */
.tbw-plan__top { align-items: flex-start; display: flex; flex-wrap: wrap; gap: .4rem .75rem; justify-content: space-between; }
.tbw-plan__went { background: #dcefe3; border-radius: 999px; color: #1f6a3e; font-size: .8125rem; font-weight: 700; padding: .3rem .7rem; white-space: nowrap; }
.tbw-plan__counts { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tbw-plan__counts li { background: #eef3f8; border-radius: 999px; color: var(--wp--preset--color--brand-ink, #0F4C81); font-size: .875rem; font-weight: 600; padding: .35rem .75rem; }
.tbw-plan__locked { background: var(--wp--preset--color--sand); border-radius: 10px; display: flex; flex-direction: column; gap: .5rem; padding: .65rem .75rem; }
.tbw-plan__locked .tbw-plan__ghost { display: block; }
.tbw-plan__locked .tbw-plan__ghost i { margin-bottom: .4rem; }
.tbw-plan__locked .tbw-plan__ghost b + b { width: 6rem; }
.tbw-plan__lockline { align-items: center; color: var(--wp--preset--color--ink-soft); display: flex; font-size: .8125rem; gap: .35rem; margin: 0; }
.tbw-plan__lockline svg { flex: 0 0 14px; height: 14px; width: 14px; } /* Never squeezed into a dot by a long line (QA 2026-11-23, the sample). */
.tbw-plan__ghostline { background: var(--wp--preset--color--line); border-radius: 6px; display: block; filter: blur(3px); height: .75rem; margin-top: .3rem; width: 85%; }
.tbw-plan--locked .tbw-plan__days li:first-child { border-top: 0; }
.tbw-plan__places { color: var(--wp--preset--color--ink); font-size: .875rem; list-style: none; margin: .25rem 0 0; padding: 0; }
.tbw-plan__places li { display: inline; }
.tbw-plan__places li:not(:last-child)::after { color: var(--wp--preset--color--ink-soft); content: " \00b7  "; }
.tbw-plan__origin { border-top: 1px solid var(--wp--preset--color--line); display: flex; flex-direction: column; gap: .35rem; margin-top: .75rem; padding-top: .75rem; }
.tbw-plan__origin label { font-size: .875rem; font-weight: 600; }
/* "De onde partes?" and "Tens um código?" share one row style (owners, 2026-11-23): field and ghost button stacked, full
   width, under 380px; one row from 380px up (field flex 1, button auto width). 48px, 16px text (no iOS zoom). */
.tbw-plan__origin-row, .tbw-pay__coderow { display: flex; flex-direction: column; gap: .5rem; }
.tbw-tb .tbw-plan__origin input[type="text"], .tbw-tb .tbw-pay__coderow input[type="text"] { background: #fff; border: 1px solid var(--wp--preset--color--ink-soft, #4F5B66); border-radius: 8px; box-sizing: border-box; color: inherit; font: inherit; font-size: 1rem; height: auto; letter-spacing: .08em; margin: 0; max-width: 100%; min-height: 48px; min-width: 0; padding: 0 .875rem; text-transform: uppercase; width: 100%; }
.tbw-tb .tbw-plan__origin input[type="text"]:focus-visible, .tbw-tb .tbw-pay__coderow input[type="text"]:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 1px; }
.tbw-tb .tbw-plan__origin-row .tbw-tb__btn, .tbw-tb .tbw-pay__coderow .tbw-tb__btn { box-sizing: border-box; justify-content: center; min-height: 48px; width: 100%; }
@media (min-width: 380px) {
	.tbw-plan__origin-row, .tbw-pay__coderow { align-items: stretch; flex-direction: row; }
	.tbw-tb .tbw-plan__origin input[type="text"], .tbw-tb .tbw-pay__coderow input[type="text"] { flex: 1 1 auto; width: auto; }
	.tbw-tb .tbw-plan__origin-row .tbw-tb__btn, .tbw-tb .tbw-pay__coderow .tbw-tb__btn { flex: 0 0 auto; width: auto; }
}
.tbw-plan__origin .tbw-tb__hint { margin: 0; text-align: left; }
.tbw-plan__hotel { display: flex; flex-direction: column; gap: .35rem; }
.tbw-plan__hotel.has-photo { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); }
.tbw-plan__photo { aspect-ratio: 4 / 3; background: var(--wp--preset--color--sand); border-radius: 10px; display: block; height: auto; max-width: 100%; object-fit: cover; width: 100%; }
.tbw-plan__hinfo { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
@media (min-width: 640px) { .tbw-plan__hotel.has-photo { align-items: start; gap: .9rem; grid-template-columns: 12rem minmax(0, 1fr); } }
.tbw-plan__tag { align-self: flex-start; background: #e3ecf5; border-radius: 999px; color: var(--wp--preset--color--brand-ink); font-size: .75rem; font-weight: 700; padding: .25rem .6rem; }
.tbw-plan__tag.is-stayed { background: #dcefe3; color: #1f6a3e; }
.tbw-plan__row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.tbw-lock { border: 2px solid var(--wp--preset--color--brand); border-radius: 14px; display: flex; flex-direction: column; gap: .6rem; padding: 1rem; }
.tbw-lock__h { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--medium); margin: 0; }
.tbw-lock__lead, .tbw-lock__terms p { color: var(--wp--preset--color--ink-soft); font-size: .875rem; margin: 0 0 .5rem; }
.tbw-lock__err { background: #fbe9e6; border-radius: 10px; color: #9f3223; font-size: .875rem; margin: 0; padding: .5rem .75rem; }
.tbw-lock__form { display: flex; flex-direction: column; gap: .5rem; }
.tbw-lock__form input[type="text"] { background: #fff; box-sizing: border-box; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; font: inherit; letter-spacing: .1em; min-height: 48px; padding: 0 .75rem; text-transform: uppercase; width: 100%; }
.tbw-lock__hp { height: 0; margin: 0; overflow: hidden; position: absolute; width: 0; }
.tbw-lock__terms summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.tbw-tb__form input[type="date"], .tbw-tb__form input[type="text"] { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; font: inherit; min-height: 48px; padding: 0 .75rem; width: 100%; }

.tbw-sr { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
/* Home spotlight (view.v5.js): only the box changes, nothing covers the page. */
.tbw-tb[data-tbw-spot] { transition: box-shadow .45s ease, transform .45s ease; }
.tbw-tb.tbw-spot-lit { box-shadow: 0 0 0 4px rgba(15, 76, 129, .22), 0 12px 32px rgba(15, 76, 129, .28); transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) { .tbw-tb[data-tbw-spot] { transition: none; } .tbw-tb.tbw-spot-lit { box-shadow: 0 0 0 4px rgba(15, 76, 129, .35); transform: none; } }

.tbw-tb--post { margin-block: 2.5rem 1.5rem; }
.tbw-tb__teaser { background: var(--wp--preset--color--sand); border-radius: 12px; font-size: .9375rem; margin: 1rem 0; padding: .75rem 1rem; }
.tbw-tb__teaser a { font-weight: 600; text-decoration: underline; }
.tbw-tb.tbw-glow { animation: tbw-glow 1.4s ease-out 1; }
@keyframes tbw-glow { 0% { box-shadow: 0 0 0 0 rgba(15, 76, 129, .45); } 100% { box-shadow: 0 0 0 14px rgba(15, 76, 129, 0); } }
@media (prefers-reduced-motion: reduce) { .tbw-tb.tbw-glow { animation: none; } }

.tbw-tb__form input, .tbw-tb__form select { box-sizing: border-box; max-width: 100%; }

.tbw-plan__takeaway { margin-top: .25rem; }
.tbw-take { background: var(--wp--preset--color--sand); border-radius: 14px; display: flex; flex-direction: column; gap: .6rem; padding: 1rem; }
.tbw-take__h { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--medium); margin: 0; }
.tbw-take__form { display: flex; flex-direction: column; gap: .5rem; }
.tbw-take__form label { font-size: .875rem; font-weight: 600; }
.tbw-take__form input[type="email"] { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; box-sizing: border-box; font: inherit; min-height: 48px; padding: 0 .75rem; width: 100%; }
.tbw-take__opt { align-items: flex-start; display: flex; font-weight: 400 !important; gap: .6rem; min-height: 44px; }
.tbw-take__opt input { flex: 0 0 1.4rem; height: 1.4rem; margin-top: .1rem; width: 1.4rem; }
.tbw-take__fine { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: 0; }
.tbw-take__ok { background: #dcefe3; border-radius: 10px; color: #1f6a3e; font-size: .9375rem; font-weight: 600; margin: 0; padding: .6rem .8rem; }

.tbw-tb, .tbw-plan, .tbw-lock, .tbw-take, .tbw-tb__card { box-sizing: border-box; }

.tbw-plan__timing { background: #eef3f8; border-left: 3px solid var(--wp--preset--color--brand); font-size: .9375rem; margin: 0; padding: .6rem .8rem; }
.tbw-plan__timing.is-off { background: #fbeee9; border-left-color: var(--wp--preset--color--accent); }
.tbw-plan__ai { background: #fbeee9; border-left: 3px solid var(--wp--preset--color--accent); font-size: .875rem; margin: 0; padding: .6rem .8rem; }
.tbw-plan__map { margin: 0 auto; max-width: 720px; width: 100%; } /* Desktop: no 1300px map pushing the plan down (QA 2026-11-23). */
.tbw-plan__map img { border-radius: 12px; display: block; height: auto; margin: 0 auto; max-height: min(480px, 70vh); max-width: 100%; width: auto; }
.tbw-plan__map figcaption { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin-top: .25rem; }
.tbw-plan__days { list-style: none; margin: 0; padding: 0; }
.tbw-plan__days li { border-top: 1px solid var(--wp--preset--color--line); font-size: .9375rem; padding: .45rem 0; }
.tbw-plan__dn { color: var(--wp--preset--color--accent-dark); font-size: .8125rem; font-weight: 700; margin-right: .35rem; }
.tbw-plan__dd { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin-right: .35rem; }
.tbw-plan__big { color: var(--wp--preset--color--brand); font-family: var(--wp--preset--font-family--fraunces); font-size: 1.5rem; margin: 0; }
.tbw-plan__big span { color: var(--wp--preset--color--ink-soft); font-family: var(--wp--preset--font-family--inter); font-size: .8125rem; }
.tbw-plan__tips h4, .tbw-plan__faq h4, .tbw-plan__ess h4 { font-size: 1rem; margin: 0 0 .5rem; }
.tbw-plan__tips ul { margin: 0; padding-left: 1.1rem; }
.tbw-plan__tips li, .tbw-plan__faq p { font-size: .9375rem; margin: 0 0 .5rem; }
.tbw-plan__ess dl { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.tbw-plan__ess dl > div { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: .5rem .65rem; }
.tbw-plan__ess dt { color: var(--wp--preset--color--accent-dark); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tbw-plan__ess dd { font-size: .9375rem; margin: 0; }
/* AI plans: every AI item carries this label; the waiting and "ready tomorrow" messages. */
.tbw-ai-tag { background: #f1ecf8; border-radius: 999px; color: #5b3d8a; display: inline-block; font-size: .75rem; font-weight: 600; line-height: 1.5; margin-left: .35rem; padding: 0 .5rem; vertical-align: middle; white-space: nowrap; }
.tbw-plan__ddesc { color: var(--wp--preset--color--ink-soft); display: block; font-size: .875rem; margin-top: .15rem; }
.tbw-plan__acth { font-size: .875rem; font-weight: 600; margin: .6rem 0 .25rem; }
.tbw-plan__acts { font-size: .9375rem; margin: 0; padding-left: 1.1rem; }
.tbw-plan__acts li { margin: 0 0 .3rem; }
.tbw-plan__ours h4 { font-size: 1rem; margin: 0 0 .5rem; }
.tbw-plan__ours ul { margin: 0; padding-left: 1.1rem; }
.tbw-plan__ours li { font-size: .9375rem; margin: 0 0 .4rem; }
/* AI wait: a spinner while the plan is prepared (static ring with reduced motion), then a done or queued state. */
.tbw-tb__wait { align-items: center; display: flex; gap: .6rem; }
.tbw-tb__wait[hidden] { display: none; }
.tbw-tb__spin { border: 3px solid #c9d8e8; border-radius: 50%; border-top-color: var(--wp--preset--color--brand); flex: 0 0 auto; height: 1.25rem; width: 1.25rem; animation: tbw-spin .9s linear infinite; }
.tbw-tb__wait.is-done .tbw-tb__spin, .tbw-tb__wait.is-queued .tbw-tb__spin { animation: none; border-color: var(--wp--preset--color--brand); }
.tbw-tb__wait.is-queued { border-left-color: var(--wp--preset--color--accent-dark, #9F3223); }
.tbw-tb__wait.is-queued .tbw-tb__spin { border-color: var(--wp--preset--color--accent-dark, #9F3223); }
[data-tb-submit][aria-busy="true"] { cursor: progress; opacity: .7; }
@keyframes tbw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tbw-tb__spin { animation: none; border-top-color: var(--wp--preset--color--brand); border-right-color: var(--wp--preset--color--brand); } }
.tbw-tb__wait, .tbw-tb__queued { background: #eef3f8; border-left: 3px solid var(--wp--preset--color--brand); color: var(--wp--preset--color--ink); font-size: .9375rem; margin: .5rem 0; padding: .6rem .8rem; }
/* Unlock: the pay box (inc/trip-pay.php) is the one call to action; the Instagram code folds under it. */
.tbw-unlock-cta { display: flex; flex-direction: column; gap: .5rem; }
.tbw-pay { background: #fff; }
.tbw-pay__price { align-items: baseline; display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: 0; }
.tbw-pay__price strong { color: var(--wp--preset--color--brand); font-family: var(--wp--preset--font-family--fraunces); font-size: 1.75rem; line-height: 1.1; }
.tbw-pay__price span { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; }
.tbw-pay__form { display: flex; flex-direction: column; gap: .6rem; }
.tbw-pay__consent { align-items: flex-start; cursor: pointer; display: flex; font-size: .875rem; gap: .6rem; line-height: 1.4; min-height: 44px; }
.tbw-pay__consent input { flex: 0 0 1.5rem; height: 1.5rem; margin: .1rem 0 0; width: 1.5rem; } /* 24px boxes; the whole label is the 44px target. */
.tbw-pay__note { background: #eef3f8; border-radius: 10px; font-size: .875rem; margin: 0; padding: .5rem .75rem; }
.tbw-pay__fine { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: 0; }
.tbw-pay__withdraw { font-size: .8125rem; margin: .5rem 0 0; }
.tbw-pay__withdraw a { align-items: center; color: var(--wp--preset--color--ink-soft); display: inline-flex; min-height: 44px; text-decoration: underline; }
.tbw-lock__alt > summary { align-items: center; color: var(--wp--preset--color--ink); cursor: pointer; display: flex; font-size: .9375rem; font-weight: 600; min-height: 44px; }
.tbw-lock__alt[open] > summary { margin-bottom: .5rem; }
.tbw-lock__alt .tbw-lock { border-width: 1px; border-color: var(--wp--preset--color--line); }
/* Change requests before payment (inc/trip-changes.php): "Queres ajustar o roteiro?" above the unlock / pay box. */
.tbw-chg { background: #f6f9fc; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; box-sizing: border-box; margin: 0 0 .75rem; padding: .85rem 1rem; }
.tbw-chg[open], .tbw-chg.is-done { display: flex; flex-direction: column; gap: .6rem; }
.tbw-chg__h { color: var(--wp--preset--color--ink); cursor: pointer; font-family: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin: 0; min-height: 28px; }
.tbw-chg.is-done .tbw-chg__h { cursor: default; }
.tbw-chg__lead, .tbw-chg__left { margin: 0; }
.tbw-chg__form { display: flex; flex-direction: column; gap: .6rem; }
.tbw-chg__form input[type="email"], .tbw-chg__form input[type="text"] { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; box-sizing: border-box; font: inherit; min-height: 48px; padding: 0 .75rem; width: 100%; }
.tbw-chg__form input:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 1px; }
.tbw-chg__fine { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; line-height: 1.45; margin: 0; }
.tbw-chg__next { align-self: flex-start; cursor: pointer; }
/* Suggestion chips of the adjustments box (2026-11-23): 44px targets, wrap on small screens. */
.tbw-chg__chips { align-items: center; display: flex; flex-wrap: wrap; gap: .4rem; }
.tbw-chg__chip { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--ink); cursor: pointer; font: inherit; font-size: .875rem; line-height: 1.2; min-height: 44px; padding: .45rem .8rem; }
.tbw-chg__chip:hover, .tbw-chg__chip[aria-pressed="true"] { border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand); }
.tbw-chg__chip:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 1px; }
.tbw-chg__list { margin: 0; padding-left: 1.2rem; }
.tbw-chg__list li { margin: .15rem 0; }
.tbw-chg__note { background: #eef3f8; border-left: 3px solid var(--wp--preset--color--brand); margin: 0; padding: .5rem .75rem; }
.tbw-chg__back { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.tbw-chg button[aria-disabled="true"] { cursor: progress; opacity: .6; }
.tbw-chg__sub { font-weight: 600; margin: .25rem 0 0; }
.tbw-chg__hist { margin: 0; padding-left: 1.2rem; }
.tbw-chg__hist li { margin: .15rem 0; overflow-wrap: anywhere; }
.tbw-chg.is-wait .tbw-tb__wait { margin: 0; }
.tbw-chg [hidden] { display: none !important; }
/* "From our post" links under an AI day (unlocked plan only): our own pages, same tab. */
.tbw-plan__src { color: var(--wp--preset--color--ink-soft); display: block; font-size: .8125rem; margin-top: .2rem; }
.tbw-plan__src a { color: var(--wp--preset--color--brand); text-decoration: underline; text-underline-offset: 2px; }
/* Google Maps badge of a day place (inc/trip-gplaces.php). The attribution keeps Google's inline style (Roboto 400, 12 px, #5E5E5E). */
.tbw-gp { display: inline; font-size: .75rem; white-space: normal; }
.tbw-gp__link { color: var(--wp--preset--color--brand); font-size: .75rem; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.tbw-gp__info { color: var(--wp--preset--color--ink-soft); display: inline; font-size: .75rem; margin-left: .25rem; }
.tbw-gp__rating { color: inherit; text-decoration: none; white-space: nowrap; }
.tbw-gp__rating:hover, .tbw-gp__rating:focus-visible { text-decoration: underline; }
.tbw-gp__count { color: var(--wp--preset--color--ink-soft); }
.tbw-gp__hours { display: inline-block; vertical-align: top; }
.tbw-gp__hours summary { cursor: pointer; display: inline; text-decoration: underline dotted; }
.tbw-gp__hours ul { font-size: .75rem; list-style: none; margin: .25rem 0; padding: 0; }
.tbw-gp__attr { margin-left: .25rem; }
/* Dark backgrounds: Google allows white for the attribution there. The theme has no prefers-color-scheme dark mode (the
   plan box stays white), so the override keys on an actual dark container, never on the OS setting alone. */
.is-dark-theme .tbw-gp__attr, [data-theme="dark"] .tbw-gp__attr, .has-ink-background-color .tbw-gp__attr { color: #FFFFFF !important; }
/* Pay box email (optional, for the receipt): label above, full-width field like the newsletter and form fields. */
.tbw-pay__email { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.tbw-pay__email label { font-size: .875rem; font-weight: 600; }
.tbw-pay__email input { background: #fff; border: 1px solid var(--wp--preset--color--ink-soft, #4F5B66); border-radius: 8px; box-sizing: border-box; color: inherit; font: inherit; font-size: 1rem; max-width: 100%; min-height: 48px; padding: 0 .875rem; width: 100%; }
.tbw-pay__email input:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 1px; }
.tbw-pay__email + .tbw-pay__consent { margin-top: .4rem; } /* with the form gap (.6rem): 1rem above the consent box */
/* Free sample (inc/trip-sample.php), "Os meus planos" (inc/trip-myplans.php) and the gift form (inc/trip-gift.php). */
.tbw-tb__more-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; justify-content: center; }
.tbw-sample__link { margin: 0; }
.tbw-sample__link a { align-items: center; color: var(--wp--preset--color--ink); display: inline-flex; font-size: .9375rem; font-weight: 600; gap: .35rem; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; }
.tbw-sample__link--plan { border: 1px dashed var(--wp--preset--color--line); border-radius: 12px; padding: 0 .75rem; }
.tbw-sample__badge { align-self: flex-start; background: #fbeee9; border-radius: 999px; color: #9f3223; font-size: .75rem; font-weight: 700; letter-spacing: .04em; margin: 0; padding: .25rem .7rem; text-transform: uppercase; }
.tbw-sample__lead { color: var(--wp--preset--color--ink-soft); font-size: .9375rem; margin: 0; }
.tbw-sample__off .tbw-plan__lockline { align-items: flex-start; font-size: .875rem; }
.tbw-sample__off .tbw-plan__lockline svg { margin-top: .2em; }
.tbw-sample__rest { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: 0; }
.tbw-sample__cta { background: #fff; }
.tbw-sample__pdf { font-size: .875rem; margin: 0; text-align: center; }
.tbw-sample__pdf a { align-items: center; display: inline-flex; min-height: 44px; text-decoration: underline; }
.tbw-sample__pdf span { color: var(--wp--preset--color--ink-soft); }
.tbw-myplans { display: flex; flex-direction: column; gap: .75rem; }
.tbw-myplans__form input[type="email"] { background: #fff; border: 1px solid var(--wp--preset--color--ink-soft, #4F5B66); border-radius: 8px; box-sizing: border-box; font: inherit; font-size: 1rem; min-height: 48px; padding: 0 .875rem; width: 100%; }
.tbw-gift { border-top: 1px solid var(--wp--preset--color--line); margin-top: .25rem; padding-top: .25rem; }
.tbw-gift > summary { align-items: center; color: var(--wp--preset--color--ink); cursor: pointer; display: flex; font-size: .9375rem; font-weight: 600; gap: .4rem; min-height: 44px; }
.tbw-gift[open] > summary { margin-bottom: .25rem; }
.tbw-pay__email textarea { background: #fff; border: 1px solid var(--wp--preset--color--ink-soft, #4F5B66); border-radius: 8px; box-sizing: border-box; color: inherit; font: inherit; font-size: 1rem; max-width: 100%; min-height: 5.5rem; padding: .6rem .875rem; resize: vertical; width: 100%; }
.tbw-gift__when { border: 0; display: flex; flex-direction: column; gap: .25rem; margin: 0; min-width: 0; padding: 0; }
.tbw-gift__when legend { font-size: .875rem; font-weight: 600; margin: 0 0 .25rem; padding: 0; }
.tbw-gift__when input[type="radio"] { flex: 0 0 1.5rem; height: 1.5rem; margin: 0; width: 1.5rem; }
.tbw-gift__opt { align-items: center; min-height: 44px; }
/* The send day shows only with "Num dia à escolha / On a day you choose" (no JavaScript; without :has it always shows). */
.tbw-gift__when:has(input[value="now"]:checked) .tbw-gift__day { display: none; }
.tbw-gift__day { display: flex; flex-direction: column; gap: .25rem; }
.tbw-pay__remind { margin-top: .1rem; }
.tbw-plan__daymap{display:inline-block;margin-top:4px;font-size:.85rem}
/* Enrichments on the unlocked plan (2026-11-23): legs, sun times, holidays, local-currency line, map embed frame. */
.tbw-plan__leg,.tbw-plan__sun{display:block;font-size:.8125rem;color:var(--wp--preset--color--ink-soft);margin:.2rem 0}.tbw-plan__holidays ul{margin:.3rem 0;padding-left:1.1rem}.tbw-plan__fx{margin:.4rem 0 0}.tbw-embed__frame{display:grid;place-items:center;background:var(--wp--preset--color--sand,#F1E9DB);border-radius:12px;overflow:hidden}
.tbw-plan__leg .tbw-gp__attr{margin-left:0}
.tbw-plan__fx,.tbw-plan__fx strong{font-size:.875rem;line-height:1.45}
/* Locked preview, pay box and adjustments (2026-11-23, style.v6.css): day category chips, the "Where do you start your trip?" flights form, the after-purchase line, the remaining-changes counter. */
.tbw-plan__days--locked li { align-items: center; display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
.tbw-plan__days--locked .tbw-plan__dn { margin-right: 0; }
.tbw-plan__dstop { color: var(--wp--preset--color--ink-soft); font-size: .875rem; }
.tbw-plan__cat { background: #eef3f8; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--ink); display: inline-block; font-size: .8125rem; font-weight: 600; line-height: 1.5; padding: .05rem .6rem; white-space: nowrap; }
.tbw-plan__fly h4 { margin: 0 0 .35rem; }
.tbw-plan__fly .tbw-plan__flightprice { margin: 0 0 .4rem; }
.tbw-plan__origin--locked { border-top: 0; margin-top: .25rem; padding-top: 0; }
.tbw-plan__origin--locked input[type="text"] { letter-spacing: normal; text-transform: none; width: 13rem; max-width: 100%; }
.tbw-plan__origin--locked .tbw-lock__err { display: block; }
.tbw-pay__after { background: #eef3f8; border-left: 3px solid var(--wp--preset--color--brand); font-size: .9375rem; font-weight: 600; line-height: 1.45; margin: 0; padding: .5rem .75rem; }
.tbw-chg__counter { margin: 0; }
.tbw-chg__count { background: var(--wp--preset--color--brand); border-radius: 999px; color: #fff; display: inline-block; font-size: .875rem; font-weight: 700; line-height: 1.5; padding: .1rem .7rem; vertical-align: middle; white-space: nowrap; }
.tbw-chg__h .tbw-chg__count { margin-left: .35rem; }
.tbw-chg__count.is-zero { background: var(--wp--preset--color--ink-soft); }
/* The result title gets focus by script (screen readers announce the plan); no visible frame for that programmatic focus. */
.tbw-tb__title[tabindex="-1"]:focus { outline: none; }
/* One code field inside the pay box (2026-11-23): free Instagram codes and discount codes; the discounted price with the original struck through; 44px targets. */
.tbw-pay__pricebox { display: flex; flex-direction: column; gap: .3rem; }
.tbw-pay__was { color: var(--wp--preset--color--ink-soft); font-size: 1.0625rem; text-decoration-thickness: 2px; }
.tbw-pay__disc { align-items: center; color: var(--wp--preset--color--ink); display: flex; flex-wrap: wrap; font-size: .9375rem; font-weight: 600; gap: 0 .75rem; margin: 0; }
.tbw-pay__remove { align-items: center; color: var(--wp--preset--color--ink-soft); display: inline-flex; font-weight: 400; min-height: 44px; min-width: 44px; text-decoration: underline; text-underline-offset: 2px; }
.tbw-pay__code { border-bottom: 1px solid var(--wp--preset--color--line); border-top: 1px solid var(--wp--preset--color--line); display: flex; flex-direction: column; gap: .35rem; margin-block: .5rem; padding-block: .75rem .25rem; } /* Before the pay form (owners, 2026-11-23). */
.tbw-pay__codeform { display: flex; flex-direction: column; gap: .35rem; }
.tbw-pay__codelabel { color: var(--wp--preset--color--ink); font-size: .9375rem; font-weight: 600; }
.tbw-pay__coderow { display: flex; gap: .5rem; }
.tbw-pay__coderow input { background: #fff; border: 1px solid var(--wp--preset--color--ink-soft, #4F5B66); border-radius: 8px; box-sizing: border-box; color: inherit; flex: 1 1 auto; font: inherit; font-size: 1rem; letter-spacing: .06em; min-height: 48px; min-width: 0; padding: 0 .875rem; text-transform: uppercase; }
.tbw-pay__coderow input:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 1px; }
.tbw-pay__coderow .tbw-pay__apply { flex: 0 0 auto; min-height: 48px; width: auto; }
.tbw-pay__codelinks { font-size: .875rem; margin: 0; }
.tbw-pay__codelinks a { align-items: center; color: var(--wp--preset--color--ink-soft); display: inline-flex; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; }
.tbw-pay__terms summary { font-size: .875rem; }
/* The theme's floating "back to top" button (tbw/functions.php, .tbw-top: fixed, 48px, 1rem from the bottom) must not sit
   on the last rows of the planner (an FAQ row, "In your full plan"): room at the end of the page content (QA 2026-11-23). */
body:has(.tbw-steps) main { padding-bottom: 5rem; } /* The planner page (the steps block is there), not the home teaser or a post. */
/* Planner pages only (this file loads with the block): the breadcrumb links get a 44px row (blocks/breadcrumbs/style.css is
   published under its old name, so it is not edited in place). */
body:has(.tbw-steps) .tbw-breadcrumbs a { align-items: center; display: inline-flex; min-height: 44px; }
/* Picker of a destination with several itineraries (links, no script): 48px targets, stacked on a phone, a row from 600px (2026-11-24). */
.tbw-tb__pick { margin: 0 0 1rem; }
.tbw-tb__pick-h { font-size: .9375rem; font-weight: 600; margin: 0 0 .5rem; }
.tbw-tb__pick-list { display: grid; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tbw-tb__pick-a { align-items: center; background: #fff; border: 1.5px solid var(--wp--preset--color--line); border-radius: 12px; box-sizing: border-box; color: inherit; display: flex; font-size: .9375rem; line-height: 1.25; min-height: 48px; padding: .4rem .8rem; text-decoration: none; }
a.tbw-tb__pick-a:hover { border-color: var(--wp--preset--color--brand); }
a.tbw-tb__pick-a:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; }
.tbw-tb__pick-a.is-current { background: #eef3f8; border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-ink, #0F4C81); font-weight: 600; }
@media (min-width: 600px) { .tbw-tb__pick-list { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }

/* Flying-from row (2026-11-25, style.v8.css): the field never collapses on a narrow card, the buttons wrap under it. */
.tbw-tb .tbw-plan__origin-row { align-items: stretch; display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.tbw-tb .tbw-plan__origin input[type="text"], .tbw-tb .tbw-plan__origin--locked input[type="text"] { flex: 1 1 11rem; max-width: 100%; min-width: 0; text-transform: none; letter-spacing: normal; width: auto; }
.tbw-tb .tbw-plan__origin-row .tbw-tb__btn { flex: 0 0 auto; width: auto; }
@media (max-width: 480px) { .tbw-tb .tbw-plan__origin-row .tbw-tb__btn { flex: 1 1 100%; } }

/* v9 (2026-11-25): the flying-from row holds the field, Skyscanner and "See flight prices"; when the field would get too small both buttons drop under it, side by side, then full width. */
.tbw-tb .tbw-plan__origin input[type="text"], .tbw-tb .tbw-plan__origin--locked input[type="text"] { flex: 1 1 14rem; }
.tbw-tb .tbw-plan__origin-row .tbw-tb__btn { flex: 1 1 auto; text-align: center; }
@media (max-width: 480px) { .tbw-tb .tbw-plan__origin-row .tbw-tb__btn { flex: 1 1 100%; } }
.tbw-tb .tbw-plan__origin-btns { display: flex; flex: 0 1 auto; flex-wrap: nowrap; gap: .5rem; }
.tbw-tb .tbw-plan__origin-btns .tbw-tb__btn { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 480px) { .tbw-tb .tbw-plan__origin-btns { flex: 1 1 100%; } }

/* v10 (2026-11-25): the two buttons never overflow the card: they shrink, and wrap one under the other when they still do not fit. */
.tbw-tb .tbw-plan__origin-btns { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.tbw-tb .tbw-plan__origin-btns .tbw-tb__btn { flex: 1 1 9rem; min-width: 0; padding-left: .75rem; padding-right: .75rem; white-space: normal; }
.tbw-tb .tbw-plan__origin input[type="text"] { text-overflow: ellipsis; }

/* v11 (2026-11-25): the two buttons stay side by side under the field on a phone (owners: not stacked); they stack only below ~17rem. */
.tbw-tb .tbw-plan__origin-btns .tbw-tb__btn { flex: 1 1 6.5rem; }
@media (max-width: 480px) { .tbw-tb .tbw-plan__origin-btns { flex: 1 1 100%; } }

/* v12 (2026-11-25): the button text stays on one line; on desktop the pair keeps its natural width next to the field, on a phone the pair sits under it (and stacks only if even that is too narrow). */
.tbw-tb .tbw-plan__origin-btns .tbw-tb__btn { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 480px) { .tbw-tb .tbw-plan__origin-btns .tbw-tb__btn { font-size: .9375rem; padding-left: .5rem; padding-right: .5rem; } }

/* v13 (2026-11-25): the longer Portuguese label ("Ver preço dos voos") also fits next to Skyscanner on a 375 px phone. */
@media (max-width: 480px) { .tbw-tb .tbw-plan__origin-btns { gap: .375rem; } .tbw-tb .tbw-plan__origin-btns .tbw-tb__btn { font-size: .875rem; padding-left: .375rem; padding-right: .375rem; } }

/* "Oferecer um plano" (inc/trip-giftcode.php): the third entry choice, outlined so the two planning choices stay first. */
.tbw-tb__big--gift { border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand); gap: .5rem; }
.tbw-tb__big--gift:hover, .tbw-tb__big--gift:focus-visible { background: var(--wp--preset--color--paper, #FBF7F0); color: var(--wp--preset--color--brand); }
.tbw-tb__big--gift svg { flex: 0 0 auto; }

.tbw-plan__cover { margin: 0 0 1rem; } /* Plan cover (owners, 2026-11-26): fixed ratio so the page does not jump while the photo loads. */
.tbw-plan__cover-img { aspect-ratio: 3 / 2; border-radius: 12px; display: block; height: auto; max-height: 420px; object-fit: cover; width: 100%; }

/* QA 2026-11-26 (style.v17.css). */
/* Search box: a visible line when no destination matches (P1-06). */
.tbw-tb__nomatch { color: var(--wp--preset--color--accent-dark, #9A3324); font-size: .9375rem; margin: .25rem 0 .5rem; }
.tbw-tb__nomatch[hidden] { display: none; }
/* Desktop: a wide, low cover so the plan's summary, flights and first stop stay above the fold (P2-16). */
@media (min-width: 600px) {
	.tbw-plan__cover-img { aspect-ratio: 16 / 6; max-height: 280px; }
}
/* No empty band between the cover and the map (P2-17): the flow layout gave the cover a 24px bottom margin. */
.tbw-plan .tbw-plan__cover { margin-block-end: .5rem; }
.tbw-plan .tbw-plan__cover + .tbw-plan__map { margin-block-start: 0; }
/* The map keeps its space before it loads (width and height attributes give the ratio), so long plans do not jump (P2-10). */
.tbw-plan__map img { height: auto; object-fit: contain; width: 100%; }

/* v18 = v17 (QA fixes) + these (2026-11-26): interactive map with every pin (cities, hotels, places): a gap between the map and its buttons, the
   "Show all" button in the accent colour, the pressed city, the legend and the My Maps export row. */
.tbw-embed__frame { position: relative; }
.tbw-embed__stops { margin-top: .875rem; }
.tbw-tb .tbw-embed__all { background: var(--wp--preset--color--accent, #C2412E); border-color: var(--wp--preset--color--accent, #C2412E); color: #fff; }
.tbw-tb .tbw-embed__all:hover, .tbw-tb .tbw-embed__all:focus-visible, .tbw-tb .tbw-embed__all:active { background: var(--wp--preset--color--accent-dark, #9E3323); border-color: var(--wp--preset--color--accent-dark, #9E3323); color: #fff; }
.tbw-tb .tbw-embed__stops [aria-pressed="true"]:not(.tbw-embed__all) { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: #fff; }
.tbw-embed__legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .8125rem; color: var(--wp--preset--color--ink-soft); margin: .625rem 0 0; padding: 0; list-style: none; }
.tbw-embed__legend li { align-items: center; display: inline-flex; gap: .375rem; }
.tbw-embed__legend i { border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.25); display: inline-block; height: 12px; width: 12px; }
.tbw-embed__legend .k-city { background: #0F4C81; }
.tbw-embed__legend .k-hotel { background: #C2412E; }
.tbw-embed__legend .k-place { background: #2E7D5B; }
.tbw-embed__iw { font: 14px/1.4 system-ui, sans-serif; max-width: 240px; }
.tbw-embed__iw strong { display: block; }
.tbw-embed__iw span { color: #4F5B66; display: block; font-size: 12px; margin: 2px 0 4px; }
.tbw-plan__mymaps { margin-top: .75rem; align-items: center; }
/* Origin airport list (assets/trip-origin.v1.js): right under the field, every airport on focus, filtered while typing. */
.tbw-origin__list { background: #fff; border: 1px solid var(--wp--preset--color--line, #DDD3C2); border-radius: 10px; box-shadow: 0 8px 24px rgba(15,35,55,.16); box-sizing: border-box; list-style: none; margin: 0; max-height: 17rem; overflow-y: auto; padding: .25rem 0; position: absolute; z-index: 50; }
.tbw-origin__list li { align-items: center; cursor: pointer; display: flex; gap: .75rem; justify-content: space-between; min-height: 44px; padding: .5rem .875rem; font-size: .9375rem; line-height: 1.3; }
.tbw-origin__list li b { color: var(--wp--preset--color--ink-soft, #4F5B66); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.tbw-origin__list li:hover, .tbw-origin__list li[aria-selected="true"] { background: var(--wp--preset--color--sand, #F1E9DB); }
/* v19 (2026-11-26): whole-trip Google Maps links and the 3-step Google My Maps guide. */
.tbw-plan__tripmaps { margin-top: .75rem; }
.tbw-plan__tripmaps .tbw-tb__btn { height: auto; min-height: 44px; padding-bottom: .375rem; padding-top: .375rem; text-align: left; white-space: normal; }
.tbw-plan__mymaps { margin-top: .75rem; }
.tbw-plan__mymaps-h { font-size: .875rem; font-weight: 600; margin: .625rem 0 .25rem; }
.tbw-plan__mymaps-steps { font-size: .875rem; margin: 0; padding-left: 1.25rem; }
.tbw-plan__mymaps-steps li { margin: .125rem 0; }
/* One map (2026-11-26): the route image is the picture of the interactive map box until the click. */
.tbw-embed__frame > .tbw-embed__poster { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.tbw-embed__cap { margin: .375rem 0 0; }
.tbw-embed__gorow { margin-top: .625rem; }
.tbw-embed [hidden] { display: none !important; } /* City buttons and legend wait for the click (button display rules would show them). */

/* QA round 2, 2026-11-26 (style.qa2-v1.css). */
/* The "Terms of sale" link inside the consent label: a 24px+ tap target on phones without moving the text (R2-12). */
.tbw-pay__consent a { display: inline-block; margin-block: -.45rem; padding-block: .45rem; }

/* v20 (2026-11-26, owner in chat): the route map of the preview and the plan fills the content width (no 720 px / 480 px cap). */
.tbw-tb .tbw-plan__map { margin-inline: 0; max-width: none; width: 100%; }
.tbw-tb .tbw-plan__map img { max-height: none; max-width: 100%; width: 100%; }
/* Hotel and place toggles in the map legend (2026-11-26): ring = hidden, filled = shown; 44 px tap height. */
.tbw-tb .tbw-embed__tg { align-items: center; background: none; border: 0; color: inherit; cursor: pointer; display: inline-flex; font: inherit; gap: .375rem; min-height: 44px; padding: 0 .25rem; }
.tbw-tb .tbw-embed__tg:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; border-radius: 6px; }
.tbw-embed__tg[aria-pressed="false"] i { background: transparent !important; box-shadow: none; }
.tbw-embed__tg[aria-pressed="false"] i.k-hotel { border-color: #C2412E; }
.tbw-embed__tg[aria-pressed="false"] i.k-place { border-color: #2E7D5B; }
.tbw-embed__tg i { height: 14px; width: 14px; }

/* Destination picker (v21, 2026-11-27; assets/trip-picker.v1.js): only on a form the script enhanced (.tbw-pk); without the script none of this applies. */
.tbw-pk { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.tbw-pk [hidden] { display: none !important; }
.tbw-pk__main { display: flex; flex-direction: column; gap: .875rem; min-width: 0; }
.tbw-pk__step { background: #fff; border: 1.5px solid var(--wp--preset--color--brand); border-radius: 14px; min-width: 0; padding: 1rem; }
.tbw-pk__step.is-locked { border-color: var(--wp--preset--color--line); }
.tbw-pk__step.is-locked .tbw-pk__body { display: none; }
.tbw-pk__step.is-locked .tbw-pk__sh h3 { color: var(--wp--preset--color--ink-soft); }
.tbw-pk__step--1 { background: none; border: 0; border-radius: 0; padding: 0; }
.tbw-pk__vh { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
.tbw-pk__sh { align-items: center; display: flex; gap: .625rem; }
.tbw-pk__sh h3 { font-size: 1.25rem; line-height: 1.2; margin: 0; }
.tbw-pk__num { align-items: center; background: var(--wp--preset--color--brand); border-radius: 50%; color: #fff; display: inline-flex; flex: none; font: 700 .875rem/1 var(--wp--preset--font-family--inter, system-ui); height: 1.75rem; justify-content: center; width: 1.75rem; }
.tbw-pk__step.is-locked .tbw-pk__num { background: var(--wp--preset--color--line); color: var(--wp--preset--color--ink); }
.tbw-pk p.tbw-pk__hint { margin: .25rem 0 0 2.375rem; }
.tbw-pk p.tbw-pk__hint, .tbw-pk p.tbw-pk__legend, .tbw-pk p.tbw-pk__first { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; line-height: 1.4; }
.tbw-pk__body { display: flex; flex-direction: column; gap: .75rem; margin-top: .875rem; min-width: 0; }
.tbw-pk__search { position: relative; }
.tbw-pk__search svg { color: var(--wp--preset--color--ink-soft); left: .875rem; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); }
.tbw-pk__search input { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; box-sizing: border-box; font: inherit; font-size: 1.0625rem; min-height: 52px; padding: 0 .875rem 0 2.75rem; width: 100%; }
.tbw-pk__browse { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.tbw-pk__filters { min-width: 0; }
.tbw-pk__chips { display: flex; gap: .5rem; min-width: 0; overflow-x: auto; padding: 2px 1.5rem 2px 2px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); }
.tbw-pk__chips::-webkit-scrollbar { display: none; }
.tbw-pk__chips .tbw-pk__chip { flex: none; scroll-snap-align: start; white-space: nowrap; }
.tbw-pk__chip, .tbw-pk__pill { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--ink); cursor: pointer; font: inherit; font-size: .9375rem; min-height: 44px; padding: 0 .875rem; }
.tbw-pk__chip[aria-pressed="true"] { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: #fff; }
.tbw-pk__pill { border-radius: 12px; min-width: 3.25rem; }
.tbw-pk__pill[aria-pressed="true"] { background: #eef3f8; border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-ink, #0F4C81); font-weight: 600; }
.tbw-pk p.tbw-pk__legend { margin: 0; }
.tbw-pk p.tbw-pk__first { margin: 0; text-align: center; }
.tbw-pk__badge { border-radius: 999px; display: inline-block; font: 600 .6875rem/1 var(--wp--preset--font-family--inter, system-ui); padding: .3rem .5rem; white-space: nowrap; }
.tbw-pk__badge.is-went { background: #e9f0f6; color: #134a7c; }
.tbw-pk__badge.is-ai { background: #f1ecf8; color: #5b3d8a; }
.tbw-pk__gh { color: var(--wp--preset--color--ink-soft); font: 600 .8125rem/1.2 var(--wp--preset--font-family--inter, system-ui); letter-spacing: .06em; margin: 1rem 0 .5rem; text-transform: uppercase; }
.tbw-pk__link { background: #fff; border: 1px solid var(--wp--preset--color--brand); border-radius: 999px; color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: pointer; font: inherit; font-size: .9375rem; min-height: 44px; padding: 0 1rem; }
.tbw-pk__back { background: none; border: 0; color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: pointer; font: inherit; font-size: .9375rem; min-height: 44px; padding: 0 .25rem; text-decoration: underline; }
.tbw-pk__tiles { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tbw-pk__tile { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; color: var(--wp--preset--color--ink); cursor: pointer; display: flex; flex-direction: column; font: inherit; min-width: 0; overflow: hidden; padding: 0; text-align: left; }
.tbw-pk__tph { aspect-ratio: 3 / 2; background: repeating-linear-gradient(135deg, #ece4d6 0 10px, #e4dbcb 10px 20px); display: block; overflow: hidden; position: relative; width: 100%; }
.tbw-pk__img { display: block; height: 100%; left: 0; object-fit: cover; position: absolute; top: 0; width: 100%; }
.tbw-pk__badges { display: flex; flex-wrap: wrap; gap: .25rem; left: .4rem; position: absolute; top: .4rem; z-index: 1; }
.tbw-pk__cap { box-sizing: border-box; display: flex; flex-direction: column; gap: .125rem; height: 4.75rem; min-width: 0; padding: .5rem .625rem; }
.tbw-pk__cn { -webkit-box-orient: vertical; -webkit-line-clamp: 2; display: -webkit-box; font-size: .9375rem; font-weight: 600; height: 2.5em; line-height: 1.25; overflow: hidden; overflow-wrap: anywhere; }
.tbw-pk__n { color: var(--wp--preset--color--ink-soft); display: block; font-size: .75rem; font-weight: 400; height: 1.25em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbw-pk__trips { display: grid; gap: .625rem; grid-template-columns: minmax(0, 1fr); }
.tbw-pk__trip, .tbw-pk__picked { align-items: center; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; color: var(--wp--preset--color--ink); display: grid; font: inherit; gap: .75rem; grid-template-columns: 6rem minmax(0, 1fr); min-width: 0; padding: .625rem; text-align: left; }
.tbw-pk__trip { cursor: pointer; }
.tbw-pk__picked { grid-template-columns: 5.5rem minmax(0, 1fr) auto; scroll-margin-top: .5rem; }
.tbw-pk__tile:hover, .tbw-pk__trip:hover { border-color: var(--wp--preset--color--brand); }
/* Owners 2026-11-27: the photo fills its side of the route card edge to edge, full card height; theme img rules (height: auto) must not shrink it. */
.tbw-pk .tbw-pk__trip { align-items: stretch; grid-template-columns: 7.5rem minmax(0, 1fr); overflow: hidden; padding: 0; }
.tbw-pk .tbw-pk__trip > .tbw-pk__ph { aspect-ratio: auto; border-radius: 0; height: 100%; min-height: 6.5rem; }
.tbw-pk .tbw-pk__trip > :not(.tbw-pk__ph) { align-self: center; padding: .75rem .875rem .75rem 0; }
.tbw-pk .tbw-pk__tile .tbw-pk__ph, .tbw-pk .tbw-pk__trip .tbw-pk__ph, .tbw-pk .tbw-pk__tile .tbw-pk__ph img.tbw-pk__img, .tbw-pk .tbw-pk__trip .tbw-pk__ph img.tbw-pk__img, .tbw-pk .tbw-pk__tile .tbw-pk__tph, .tbw-pk .tbw-pk__tile .tbw-pk__tph img.tbw-pk__img { border-radius: 0; } /* Square bottom edge; the tile's own rounded corners clip the top. */
.tbw-pk .tbw-pk__mini img.tbw-pk__img { border-radius: 0; height: 100%; inset: 0; max-height: none; max-width: none; object-fit: cover; position: absolute; width: 100%; } /* v22: the phone bar thumbnail fills its box too. */
.tbw-pk .tbw-pk__ph img.tbw-pk__img { height: 100%; inset: 0; max-height: none; max-width: none; object-fit: cover; position: absolute; width: 100%; }
.tbw-pk__ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, #ece4d6 0 8px, #e4dbcb 8px 16px); border-radius: 8px; display: block; overflow: hidden; position: relative; }
.tbw-pk__txt { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.tbw-pk__txt > .tbw-pk__badge { align-self: flex-start; }
.tbw-pk__tt { -webkit-box-orient: vertical; -webkit-line-clamp: 3; display: -webkit-box; font-size: 1rem; font-weight: 600; line-height: 1.25; overflow: hidden; overflow-wrap: anywhere; }
.tbw-pk__route { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--wp--preset--color--ink-soft); display: -webkit-box; font-size: .8125rem; line-height: 1.35; overflow: hidden; overflow-wrap: anywhere; }
.tbw-pk__empty { border: 1px dashed var(--wp--preset--color--line); border-radius: 12px; color: var(--wp--preset--color--ink-soft); padding: 1rem; }
.tbw-pk__empty p { margin: 0 0 .75rem; }
.tbw-pk__acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.tbw-pk__btn { align-items: center; background: #fff; border: 1px solid var(--wp--preset--color--brand); border-radius: 999px; color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: pointer; display: inline-flex; font: inherit; font-size: .9375rem; min-height: 44px; padding: 0 1rem; text-decoration: none; }
.tbw-pk__mini { display: none; }
.tbw-pk__search input { scroll-margin-top: .5rem; }
.tbw-pk__body--2 { gap: .875rem; }
.tbw-pk__grp { display: flex; flex-direction: column; gap: .4rem; }
.tbw-pk__lab { font-size: .875rem; font-weight: 600; }
.tbw-pk__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.tbw-pk__stepper { align-items: center; display: flex; gap: .75rem; }
.tbw-pk__stepper button { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 50%; color: var(--wp--preset--color--ink); cursor: pointer; font: inherit; font-size: 1.25rem; height: 44px; line-height: 1; width: 44px; }
.tbw-pk__stepper button[aria-disabled="true"] { cursor: not-allowed; opacity: .4; }
.tbw-pk__stepper output { min-width: 5.5rem; text-align: center; }
.tbw-pk__ticket { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden; }
.tbw-pk__th { background: var(--wp--preset--color--brand); color: #fff; font: 600 .75rem/1 var(--wp--preset--font-family--inter, system-ui); letter-spacing: .08em; margin: 0; padding: .6rem .875rem; text-transform: uppercase; }
.tbw-pk__rows { margin: 0; padding: .25rem .875rem; }
.tbw-pk__row { border-bottom: 1px dashed var(--wp--preset--color--line); display: flex; font-size: .875rem; gap: .625rem; justify-content: space-between; padding: .5rem 0; }
.tbw-pk__row:last-child { border-bottom: 0; }
.tbw-pk__row dt { color: var(--wp--preset--color--ink-soft); }
.tbw-pk__row dd { font-weight: 600; margin: 0; min-width: 0; overflow-wrap: anywhere; text-align: right; }
.tbw-pk__row dd.is-todo { color: var(--wp--preset--color--ink-soft); font-weight: 400; }
.tbw-pk__foot { border-top: 1px dashed var(--wp--preset--color--line); display: flex; flex-direction: column; gap: .5rem; padding: .75rem .875rem; }
.tbw-pk__foot .tbw-tb__big { margin-top: 0; }
.tbw-pk__foot .tbw-tb__big:disabled { background: #b9c3cd; border-color: #b9c3cd; cursor: not-allowed; }
.tbw-pk button:focus-visible, .tbw-pk__search input:focus-visible, .tbw-pk__picked:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; }
@media (min-width: 560px) {
	.tbw-pk__trips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbw-pk__tiles { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
	.tbw-pk__chips { flex-wrap: wrap; overflow-x: visible; padding-right: 2px; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 559px) {
	.tbw-pk__browse.is-searching .tbw-pk__filters, .tbw-pk__browse.is-searching .tbw-pk__legend { display: none; }
}
@media (min-width: 960px) {
	.tbw-pk { align-items: start; grid-template-columns: minmax(0, 1fr) 18.5rem; }
	.tbw-pk__side { position: sticky; top: 1rem; }
}
@media (max-width: 959px) {
	/* The panel is a bar at the bottom: the destination and the one button. */
	/* Sticky, not fixed: the bar stays only while the form is in view, so it never covers the page after it (WCAG 2.4.11). */
	.tbw-pk__side { bottom: 0; position: sticky; z-index: 20; }
	/* Hidden until a destination is picked, then it slides up (no movement under reduced motion, see the last rule). */
	.tbw-pk:not(.has-pick) .tbw-pk__side { display: none; }
	.tbw-pk.has-pick .tbw-pk__side { animation: tbw-pk-up .25s ease-out; }
	.tbw-pk__row--keep dt { display: none; }
	.tbw-pk__row--keep { align-items: center; justify-content: flex-start; }
	.tbw-pk__row--keep dd { text-align: left; }
	.tbw-pk__mini { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, #ece4d6 0 6px, #e4dbcb 6px 12px); border-radius: 6px; display: block; flex: none; overflow: hidden; position: relative; width: 3.25rem; }
	.tbw-pk__ticket { border-radius: 14px 14px 0 0; border-width: 1px 0 0; box-shadow: 0 -4px 14px rgba(0, 0, 0, .1); }
	.tbw-pk__th, .tbw-pk__row:not(.tbw-pk__row--keep) { display: none; }
	.tbw-pk__rows { padding: .25rem .875rem 0; }
	.tbw-pk__row { border-bottom: 0; }
	.tbw-pk__foot { border-top: 0; padding: .375rem .875rem .75rem; }
}
@keyframes tbw-pk-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tbw-pk, .tbw-pk * { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }

/* ===== v23 (2026-11-27): the rest of the planner in the picker's design language (view.v15.js adds the instant ideas filters). ===== */

/* 1. One badge system: only "AI suggestion" (purple, as in the picker); our own trips carry none. The old green pills are gone from the markup. */
.tbw-plan__top .tbw-pk__badge { align-self: center; }

/* 2. Ideas filters: a form the script enhanced (.is-live) shows the picker's region chips and the month select, no button; without the script the selects and "Show me ideas" work as before. */
.tbw-tb__ideas > [data-tb-ideas-go] { display: none; } /* v24: shown only without JavaScript, by a <noscript><style> in the form; nothing changes after load (CLS). */
.tbw-tb__ideas .tbw-tb__row { grid-template-columns: minmax(0, 1fr); }
.tbw-tb__ideas .tbw-tb__field--month { max-width: 16rem; }
/* v24: the region chips are server-rendered links, styled like the picker's chip buttons; the active one is aria-current. */
.tbw-tb a.tbw-pk__chip { align-items: center; background: #fff; border: 1px solid var(--wp--preset--color--line); box-sizing: border-box; color: var(--wp--preset--color--ink); display: inline-flex; font-size: .9375rem; line-height: 1.2; text-decoration: none; }
.tbw-tb a.tbw-pk__chip[aria-current="true"] { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: #fff; }
.tbw-tb a.tbw-pk__chip:hover { border-color: var(--wp--preset--color--brand); }
.tbw-tb .tbw-tb__chipgroup .tbw-pk__chip { flex: none; scroll-snap-align: start; white-space: nowrap; }
.tbw-tb a.tbw-pk__chip:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; }
.tbw-tb__chipgroup { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.tbw-tb__chipgroup .tbw-pk__lab { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.tbw-tb .tbw-tb__chipgroup .tbw-pk__chip:focus-visible, .tbw-tb .tbw-tb__ideas select:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; }
.tbw-tb__cards--ideas [hidden], .tbw-tb__more[hidden], .tbw-tb__empty[hidden] { display: none !important; }

/* 3. Idea cards like the picker tiles: photo edge to edge, square bottom edge, fixed caption, the button at the bottom, a fixed two-column links list. */
.tbw-tb .tbw-tb__cards--ideas { align-items: stretch; }
.tbw-tb .tbw-tb__card--idea { border-radius: 12px; gap: 0; min-width: 0; overflow: hidden; padding: 0; }
.tbw-tb .tbw-tb__card--idea > *:not(.tbw-tb__img) { padding-inline: .75rem; }
.tbw-tb .tbw-tb__card--idea > .tbw-tb__img { aspect-ratio: 3 / 2; background: repeating-linear-gradient(135deg, #ece4d6 0 10px, #e4dbcb 10px 20px); border-radius: 0; display: block; flex: none; overflow: hidden; padding: 0; position: relative; width: 100%; }
.tbw-tb .tbw-tb__card--idea .tbw-tb__img img.tbw-tb__photo, .tbw-tb .tbw-tb__card--idea .tbw-tb__img img { aspect-ratio: auto; border-radius: 0; display: block; height: 100%; inset: 0; margin: 0; max-height: none; max-width: none; object-fit: cover; position: absolute; width: 100%; }
.tbw-tb .tbw-tb__card--idea .tbw-pk__badges { display: flex; flex-wrap: wrap; gap: .25rem; left: .4rem; position: absolute; top: .4rem; z-index: 1; }
.tbw-tb .tbw-tb__card--idea > .tbw-tb__cap { box-sizing: border-box; display: flex; flex: none; flex-direction: column; gap: .25rem; height: 6rem; min-width: 0; padding-block: .625rem 0; }
.tbw-tb .tbw-tb__card--idea h3.tbw-tb__name { -webkit-box-orient: vertical; -webkit-line-clamp: 2; display: -webkit-box; font-size: 1.0625rem; height: 2.5em; line-height: 1.25; overflow: hidden; overflow-wrap: anywhere; }
.tbw-tb .tbw-tb__card--idea p.tbw-tb__meta { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--wp--preset--color--ink-soft); display: -webkit-box; font-size: .8125rem; height: 2.8em; line-height: 1.4; margin: 0; overflow: hidden; overflow-wrap: anywhere; }
.tbw-tb .tbw-tb__card--idea > p.tbw-tb__go { margin: auto 0 0; padding-block: .5rem .25rem; }
.tbw-tb .tbw-tb__card--idea > nav.tbw-tb__links { align-items: center; box-sizing: border-box; display: flex; flex: none; flex-wrap: wrap; gap: 0 .875rem; margin: 0; min-height: 44px; padding-bottom: .375rem; } /* wrap only as a fallback on very narrow cards, never clip a link */ /* Owners 2026-11-27: the links on one row. */
.tbw-tb .tbw-tb__card--idea .tbw-tb__links a { align-items: center; display: inline-flex; flex: none; font-size: .8125rem; min-height: 44px; white-space: nowrap; }

/* 4. Buttons: primary = navy filled pill; secondary = navy outlined pill (base rules above). The disabled pay button stays readable: navy outline and navy text on white (8.8:1); the hint says what to do. */
.tbw-tb .tbw-pay button[aria-disabled="true"] { background: #fff; border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: not-allowed; filter: none; opacity: 1; }
.tbw-tb .tbw-pay button[aria-disabled="true"]:hover, .tbw-tb .tbw-pay button[aria-disabled="true"]:focus-visible { background: #fff; color: var(--wp--preset--color--brand-ink, #0F4C81); filter: none; }

/* 5. Small print: every helper line of the planner shares the picker's style (.8125rem, line-height 1.4, ink-soft); labels share one style. Element + class selectors beat the theme's paragraph rules. */
.tbw-tb p.tbw-tb__count, .tbw-tb p.tbw-tb__hint, .tbw-tb span.tbw-tb__hint, .tbw-tb p.tbw-tb__note, .tbw-tb p.tbw-pay__fine, .tbw-tb p.tbw-pay__hint, .tbw-tb p.tbw-take__fine, .tbw-tb p.tbw-chg__fine, .tbw-tb p.tbw-sample__rest, .tbw-tb p.tbw-plan__note,
.tbw-tb .tbw-lock__terms p, .tbw-tb aside.tbw-tb__legal, .tbw-tb aside.tbw-tb__legal p { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; line-height: 1.4; }
.tbw-tb p.tbw-pay__hint { margin: .25rem 0 .5rem; }
.tbw-tb p.tbw-tb__count { margin: 0; }
.tbw-tb p.tbw-tb__count { min-height: 1.1375rem; } /* v24: the line keeps its height before the first filter, so it never shifts the cards (CLS). */
.tbw-tb p.tbw-pay__fine { margin-top: .5rem; }
.tbw-tb .tbw-tb__form label, .tbw-tb .tbw-tb__group legend, .tbw-tb .tbw-pay__email label, .tbw-tb .tbw-plan__origin label, .tbw-tb .tbw-take__form label, .tbw-tb .tbw-pay__codelabel, .tbw-tb .tbw-gift__when legend { font-size: .875rem; font-weight: 600; line-height: 1.3; }

/* 6. "Change the destination, ...": a navy summary; the form inside opens with the current trip picked and its details filled in. */
.tbw-tb__change > summary { color: var(--wp--preset--color--brand-ink, #0F4C81); font-size: .9375rem; }

/* 7. Unlock box: the code options fold under one disclosure ("Have a code?"), closed unless a code message is being shown. */
.tbw-pay__codes { border-bottom: 1px solid var(--wp--preset--color--line); border-top: 1px solid var(--wp--preset--color--line); margin-block: .5rem; }
.tbw-pay__codes > summary { align-items: center; color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: pointer; display: flex; font-size: .9375rem; font-weight: 600; gap: .5rem; justify-content: space-between; list-style: none; min-height: 44px; }
.tbw-pay__codes > summary::-webkit-details-marker { display: none; }
.tbw-pay__codes > summary::after { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; content: ""; flex: none; height: .5rem; margin-right: .25rem; transform: rotate(45deg); transition: transform .15s ease; width: .5rem; }
.tbw-pay__codes[open] > summary::after { transform: rotate(-135deg); }
.tbw-pay__codes > summary:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #C2412E); outline-offset: 2px; }
.tbw-tb .tbw-pay__codes .tbw-pay__code { border: 0; margin: 0; padding-block: 0 .5rem; }
.tbw-tb .tbw-pay__codes .tbw-pay__codelabel { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; } /* The summary is the visible question; the label stays as the field's name. */
.tbw-tb .tbw-pay__codes .tbw-pay__ly { font-size: .875rem; margin: 0 0 .5rem; }
.tbw-tb .tbw-pay__codes .tbw-pay__ly > summary, .tbw-tb .tbw-pay__codes .tbw-pay__terms > summary { align-items: center; color: var(--wp--preset--color--brand-ink, #0F4C81); cursor: pointer; display: flex; font-size: .875rem; font-weight: 600; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .tbw-pay__codes > summary::after { transition: none; } }
/* ===== v24 (2026-11-27): ideas screen without a layout shift: server-rendered region chips, no button swap, reserved count line. ===== */
/* Conversational entry screen (v25): a greeting bubble on the left above a full-width chat composer,
   the send button inside the composer, suggestion chips under it, then "Or choose" with the three choices. */
.tbw-tb__ask, .tbw-tb__chips { align-self: stretch; box-sizing: border-box; width: 100%; }
.tbw-tb__bubble { align-self: flex-start; box-sizing: border-box; max-width: 85%; }
.tbw-tb__bubble { align-items: center; display: flex; gap: .6rem; margin: .5rem 0 0; }
.tbw-tb__bubble > span:last-child { background: #eef3f8; border-radius: 16px 16px 16px 4px; padding: .6rem .9rem; }
.tbw-tb__avatar { align-items: center; background: var(--wp--preset--color--brand); border-radius: 50%; color: #fff; display: inline-flex; flex: none; font-size: .6rem; font-weight: 700; height: 2rem; justify-content: center; width: 2rem; }
.tbw-tb__ask { margin: 0; }
.tbw-tb__composer { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 22px; box-shadow: 0 2px 10px rgba(15, 76, 129, .08); padding: .9rem 1.1rem .7rem; }
.tbw-tb__composer:focus-within { border-color: var(--wp--preset--color--brand); }
.tbw-tb__composer textarea { background: transparent; border: 0; box-sizing: border-box; color: inherit; display: block; font: inherit; font-size: 1.0625rem; line-height: 1.5; min-height: 3.2rem; outline: 0; resize: none; width: 100%; }
.tbw-tb__composer-foot { display: flex; justify-content: flex-end; margin-top: .4rem; }
.tbw-tb__send { background: var(--wp--preset--color--brand); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-weight: 600; min-height: 44px; padding: 0 1.3rem; }
.tbw-tb__send:focus-visible { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 2px; }
.tbw-tb__chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0; }
.tbw-tb .tbw-tb__chips a.tbw-pk__chip { border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--brand); min-height: 40px; padding: 0 1rem; }
.tbw-tb__sub { border-top: 1px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--large); line-height: 1.2; margin: .75rem 0 0; padding-top: 1.25rem; }
/* The focus shows on the composer itself (border and soft ring), not as the theme outline around the text. */
.tbw-tb .tbw-tb__composer textarea:focus, .tbw-tb .tbw-tb__composer textarea:focus-visible { box-shadow: none !important; outline: 0 !important; }
.tbw-tb__composer:focus-within { box-shadow: 0 0 0 3px rgba(15, 76, 129, .15); }
/* Chat thread (chat.v1.js): messages, quick replies and the three itineraries. */
.tbw-tb__ask[hidden], .tbw-tb__chips[hidden], .tbw-tb__left[hidden] { display: none !important; }
.tbw-tb__thread { align-self: stretch; display: flex; flex-direction: column; gap: .6rem; }
.tbw-tb__thread:empty { display: none; }
.tbw-tb__msg { align-items: flex-end; display: flex; gap: .5rem; max-width: 85%; }
.tbw-tb__msg--user { align-self: flex-end; }
.tbw-tb__b { background: #eef3f8; border-radius: 16px 16px 16px 4px; padding: .6rem .9rem; }
.tbw-tb__msg--user .tbw-tb__b { background: var(--wp--preset--color--brand); border-radius: 16px 16px 4px 16px; color: #fff; }
.tbw-tb__typing .tbw-tb__b { color: var(--wp--preset--color--ink-soft); letter-spacing: .2em; }
.tbw-tb__note-line { color: var(--wp--preset--color--ink-soft); font-size: .875rem; margin: 0 0 0 2.5rem; }
.tbw-tb__replies, .tbw-tb__ractions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: 2.5rem; }
.tbw-tb__reply { background: #fff; border: 1px solid var(--wp--preset--color--brand); border-radius: 999px; color: var(--wp--preset--color--brand); cursor: pointer; font: inherit; font-size: .9375rem; min-height: 40px; padding: 0 1rem; }
.tbw-tb__reply:hover, .tbw-tb__reply:focus-visible { background: var(--wp--preset--color--brand); color: #fff; }
.tbw-tb__reply--skip { border-color: var(--wp--preset--color--line); border-style: dashed; color: var(--wp--preset--color--ink-soft); }
.tbw-tb__rgrid { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-left: 2.5rem; }
.tbw-tb__rcard { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.tbw-tb__rcard img, .tbw-tb__rph { aspect-ratio: 3 / 2; background: #e9e2d3; display: block; object-fit: cover; width: 100%; }
.tbw-tb__rbody { display: flex; flex: 1; flex-direction: column; gap: .25rem; padding: .7rem .8rem .8rem; }
.tbw-tb__rwhy { color: var(--wp--preset--color--ink-soft); font-size: .875rem; }
.tbw-tb__rgo { align-self: stretch; background: var(--wp--preset--color--brand); border-radius: 999px; color: #fff; font-weight: 600; margin-top: auto; padding: .5rem .75rem; text-align: center; text-decoration: none; }
.tbw-tb__left { color: var(--wp--preset--color--ink-soft); font-size: .875rem; margin: -.4rem 0 0; text-align: right; }
@media (max-width: 640px) { .tbw-tb__rgrid { grid-template-columns: minmax(0, 1fr); margin-left: 0; } .tbw-tb__replies, .tbw-tb__ractions, .tbw-tb__note-line { margin-left: 0; } .tbw-tb__msg { max-width: 100%; } }
.tbw-tb .tbw-tb__note-line { color: var(--wp--preset--color--ink-soft); font-size: .75rem; line-height: 1.4; margin: -.2rem 0 0 2.5rem; }
/* The planner banner at the top of a post (2026-11-30): drawing, question, what it does, one button. */
.tbw-tb__teaser--banner { align-items: center; background: var(--wp--preset--color--sand); border: 2px solid var(--wp--preset--color--brand); border-radius: 16px; display: flex; gap: 1.25rem; margin: 1.5rem 0; padding: 1.1rem 1.25rem; }
.tbw-tb__teaser-art { flex: none; height: auto; width: 110px; }
.tbw-tb__teaser-t { display: flex; flex: 1; flex-direction: column; gap: .25rem; min-width: 0; }
.tbw-tb__teaser-t strong { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.25rem; line-height: 1.25; }
.tbw-tb__teaser-t span { color: var(--wp--preset--color--ink-soft); font-size: .9375rem; }
.tbw-tb__teaser--banner a.tbw-tb__teaser-btn { background: var(--wp--preset--color--brand); border-radius: 999px; color: #fff; flex: none; font-weight: 600; padding: .7rem 1.3rem; text-decoration: none; white-space: nowrap; }
.tbw-tb__teaser--banner a.tbw-tb__teaser-btn:hover, .tbw-tb__teaser--banner a.tbw-tb__teaser-btn:focus-visible { filter: brightness(1.12); }
@media (max-width: 640px) { .tbw-tb__teaser--banner { align-items: flex-start; flex-direction: column; gap: .75rem; } .tbw-tb__teaser-art { width: 84px; } .tbw-tb__teaser--banner a.tbw-tb__teaser-btn { align-self: stretch; text-align: center; } }
/* v26 (owners, 2026-11-30). Offering the plan: a card with a drawing, not a small text line. */
.tbw-tb .tbw-gift { border-top: 0; margin-top: 1rem; padding-top: 0; }
.tbw-tb .tbw-gift > summary { align-items: center; background: var(--wp--preset--color--sand); border: 2px solid var(--wp--preset--color--brand); border-radius: 16px; display: flex; gap: 1rem; list-style: none; min-height: 0; padding: 1rem 1.1rem; }
.tbw-tb .tbw-gift > summary::-webkit-details-marker { display: none; }
.tbw-gift__art { flex: none; height: auto; width: 76px; }
.tbw-gift__t { display: flex; flex: 1; flex-direction: column; gap: .2rem; min-width: 0; }
.tbw-gift__h { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.tbw-gift__s { color: var(--wp--preset--color--ink-soft); font-size: .9375rem; font-weight: 400; }
.tbw-gift__b { background: var(--wp--preset--color--brand); border-radius: 999px; color: #fff; flex: none; font-weight: 600; padding: .6rem 1.2rem; }
.tbw-tb .tbw-gift[open] > summary { margin-bottom: .75rem; }
.tbw-tb .tbw-gift[open] .tbw-gift__b { display: none; }
/* The free Instagram code: the same kind of card, visible at once above "Have a code?" (the whole card is the link). */
.tbw-pay__igfree { margin: 1rem 0 .75rem; }
.tbw-tb .tbw-pay__igfree a { align-items: center; background: #fff; border: 2px solid var(--wp--preset--color--brand); border-radius: 16px; color: var(--wp--preset--color--ink); display: flex; gap: 1rem; padding: 1rem 1.1rem; text-decoration: none; }
.tbw-tb .tbw-pay__igfree a:hover { background: #eef3f8; }
@media (max-width: 560px) { .tbw-tb .tbw-gift > summary, .tbw-tb .tbw-pay__igfree a { align-items: flex-start; flex-wrap: wrap; } .tbw-gift__art { width: 60px; } .tbw-gift__b { text-align: center; width: 100%; } }
/* v27 (2026-11-30). The planner landing: a hero with two ways in, the chat and a three-field form on the left, a real itinerary on the right; then the trust line and free vs full. */
.tbw-tb__hero { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.tbw-tb__hero-l { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.tbw-tb__hero-l .tbw-eyebrow { color: var(--wp--preset--color--accent-dark); margin: 0; }
.tbw-tb__title--hero { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -.01em; line-height: 1.1; }
.tbw-tb__mine { margin: 0; text-align: right; }
.tbw-tb__mine a { border: 1.5px solid var(--wp--preset--color--brand); border-radius: 999px; color: var(--wp--preset--color--brand-ink, #0F4C81); display: inline-flex; align-items: center; font-size: .875rem; font-weight: 600; min-height: 40px; padding: 0 .9rem; text-decoration: none; }
.tbw-tb__mine a:hover { background: #eef3f8; }
.tbw-tb__modes { border: 0; display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); margin: .25rem 0 0; min-width: 0; padding: 0; }
.tbw-tb__mode { background: #fff; border: 1.5px solid var(--wp--preset--color--line); border-radius: 14px; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: .25rem; min-height: 84px; padding: .85rem 1rem; }
.tbw-tb__mode b { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.tbw-tb__mode span { color: var(--wp--preset--color--ink-soft); font-size: .875rem; line-height: 1.4; }
.tbw-tb__modes input:checked + .tbw-tb__mode { background: #eef3f8; border-color: var(--wp--preset--color--brand); box-shadow: inset 0 0 0 1px var(--wp--preset--color--brand); }
.tbw-tb__modes input:focus-visible + .tbw-tb__mode { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 2px; }
.tbw-tb__box { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; display: flex; flex-direction: column; gap: .75rem; padding: 1rem; }
.tbw-tb__box .tbw-tb__bubble { margin: 0; }
.tbw-tb__or { align-items: center; color: var(--wp--preset--color--ink-soft); display: flex; font-size: .8125rem; gap: .75rem; margin: .25rem 0 0; }
.tbw-tb__or::before, .tbw-tb__or::after { background: var(--wp--preset--color--line); content: ""; flex: 1; height: 1px; }
.tbw-tb__find { display: flex; flex-direction: column; gap: .75rem; margin: 0; }
.tbw-tb__fields { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tbw-tb__f { min-width: 0; }
.tbw-tb__f--month, .tbw-tb__f--place { grid-column: 1 / -1; }
.tbw-tb__f label { color: var(--wp--preset--color--ink-soft); display: block; font-size: .8125rem; font-weight: 600; margin: 0 0 .3rem; }
.tbw-tb__f select, .tbw-tb__f input { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; box-sizing: border-box; color: var(--wp--preset--color--ink); font: inherit; height: 46px; padding: 0 .7rem; width: 100%; }
/* One of "when" and "destination" shows, by the way in that is picked (no script). */
.tbw-tb__f--place { display: none; }
.tbw-tb__hero:has(#tbw-tb-m-place:checked) .tbw-tb__f--place { display: block; }
.tbw-tb__hero:has(#tbw-tb-m-place:checked) .tbw-tb__f--month { display: none; }
.tbw-tb .tbw-tb__find-go { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.tbw-tb .tbw-tb__find-go:hover { background: var(--wp--preset--color--accent-dark); border-color: var(--wp--preset--color--accent-dark); filter: none; }
.tbw-tb__find-note { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: 0; }
/* The preview card: the sample itinerary. */
.tbw-pv { align-self: start; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(27, 36, 48, .08); overflow: hidden; }
.tbw-pv__photo { aspect-ratio: 3 / 2; background: #c9d6e2; position: relative; }
.tbw-pv__img { display: block; height: 100%; object-fit: cover; width: 100%; }
.tbw-pv__badge { background: #fff; border-radius: 999px; color: var(--wp--preset--color--brand-ink, #0A3558); font-size: .8125rem; font-weight: 700; left: .75rem; padding: .35rem .7rem; position: absolute; top: .75rem; }
.tbw-pv__body { display: flex; flex-direction: column; gap: .7rem; padding: 1rem 1.1rem 1.1rem; }
.tbw-pv__h { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.4rem; line-height: 1.2; margin: 0; }
.tbw-pv__pills { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.tbw-pv__pills span { background: var(--wp--preset--color--sand); border-radius: 999px; font-size: .8125rem; padding: .3rem .65rem; }
.tbw-pv__stops { border-top: 1px solid var(--wp--preset--color--line); display: flex; flex-direction: column; font-size: .9375rem; gap: .45rem; list-style: none; margin: 0; padding: .75rem 0 0; }
.tbw-pv__stops li { align-items: baseline; display: flex; gap: .5rem; justify-content: space-between; }
.tbw-pv__stops b { font-weight: 600; }
.tbw-pv__stops b::before { background: var(--wp--preset--color--accent); border-radius: 50%; content: ""; display: inline-block; height: 8px; margin-right: .5rem; vertical-align: middle; width: 8px; }
.tbw-pv__stops span { color: var(--wp--preset--color--ink-soft); font-size: .875rem; white-space: nowrap; }
.tbw-pv__sample { font-size: .875rem; margin: 0; text-align: center; }
.tbw-tb a.tbw-tb__mode { color: var(--wp--preset--color--ink); text-decoration: none; }
.tbw-tb a.tbw-tb__mode:hover { background: #eef3f8; border-color: var(--wp--preset--color--brand); }
.tbw-pv__lock { align-items: flex-start; background: var(--wp--preset--color--sand); border-radius: 10px; color: var(--wp--preset--color--ink-soft); display: flex; font-size: .875rem; gap: .4rem; margin: 0; padding: .55rem .7rem; }
.tbw-pv__go { margin: 0; }
.tbw-pv__go .tbw-tb__btn { box-sizing: border-box; justify-content: center; width: 100%; }
/* Trust line and free vs full. */
.tbw-trust { background: var(--wp--preset--color--brand-ink, #0A3558); border-radius: 14px; color: #fff; display: grid; font-size: .875rem; font-weight: 600; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: .75rem 0 0; overflow: hidden; padding: 0; text-align: center; }
.tbw-trust li { border: 0 solid rgba(255, 255, 255, .14); border-width: 0 1px 1px 0; padding: .85rem .6rem; }
.tbw-cmp { display: flex; flex-direction: column; gap: .5rem; margin: 1.25rem 0 .5rem; text-align: center; }
.tbw-cmp__h { font-family: var(--wp--preset--font-family--fraunces); font-size: var(--wp--preset--font-size--large); margin: 0; }
.tbw-cmp__p { color: var(--wp--preset--color--ink-soft); margin: 0 0 .5rem; }
.tbw-cmp__grid { display: grid; gap: .9rem; grid-template-columns: minmax(0, 1fr); text-align: left; }
.tbw-cmp__card { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.tbw-cmp__card--full { background: #eef3f8; border: 2px solid var(--wp--preset--color--brand); }
.tbw-cmp__k { color: var(--wp--preset--color--accent-dark); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; margin: 0 0 .3rem; text-transform: uppercase; }
.tbw-cmp__card h4 { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.2rem; margin: 0 0 .6rem; }
.tbw-cmp__card ul { display: flex; flex-direction: column; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tbw-cmp__card li { display: flex; gap: .5rem; }
.tbw-cmp__card li::before { color: var(--wp--preset--color--brand); content: "\2713"; font-weight: 800; }
.tbw-cmp__cta { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: .75rem 0 0; }
.tbw-tb .tbw-cmp__cta .tbw-tb__btn--plan { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #fff; min-height: 48px; padding: 0 1.5rem; }
.tbw-tb .tbw-cmp__cta .tbw-tb__btn--ghost { min-height: 48px; padding: 0 1.5rem; }
.tbw-cmp__once { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: 0; }
@media (min-width: 560px) {
	.tbw-tb__modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbw-tb__fields { grid-template-columns: 1.3fr .7fr 1fr; }
	.tbw-tb__f--month, .tbw-tb__f--place { grid-column: auto; }
	.tbw-cmp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbw-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tbw-trust li { border-bottom-width: 0; }
}
@media (min-width: 960px) {
	.tbw-tb__hero { align-items: start; gap: 2rem; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
	.tbw-tb:has(> .tbw-tb__hero) { padding: 1.75rem; }
}
/* "How it works" has three steps now (blocks/trip-builder-steps): one row on wide screens. */
@media (min-width: 1024px) { .tbw-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* v28 (2026-12-01). The trust lines of an itinerary: when we travelled it, when its links were checked, AI additions labelled. */
.tbw-ticks { display: flex; flex-direction: column; font-size: .9375rem; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.tbw-ticks li { display: flex; gap: .5rem; }
.tbw-ticks li::before { color: var(--wp--preset--color--brand); content: "\2713"; flex: none; font-weight: 800; }
.tbw-sample .tbw-ticks { margin: .25rem 0 .75rem; }

/* Chat mode (2026-12-02): the conversation takes the full width; the example folds into one line. */
.tbw-tb--chat .tbw-tb__hero { grid-template-columns: minmax(0, 1fr); }
.tbw-tb--chat .tbw-pv { display: none; }
.tbw-tb--chat.tbw-tb--ex-open .tbw-pv { display: block; }
.tbw-tb__ex { display: block; width: 100%; min-height: 44px; margin: 0 0 .75rem; padding: .6rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: #fff; color: var(--wp--preset--color--brand); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.tbw-tb__ex[hidden] { display: none; }
/* "See more options" is a link, not a button: same pill as the buttons, no underline (2026-12-02). */
a.tbw-tb__reply { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
a.tbw-tb__reply:hover, a.tbw-tb__reply:focus-visible { text-decoration: none; }
/* The form disclaimer: small, under all the fields (2026-12-02). */
.tbw-tb p.tbw-tb__find-disc { color: var(--wp--preset--color--ink-soft); font-size: .6875rem; line-height: 1.4; margin: .25rem 0 .75rem; }
/* Landing audit batch (2026-12-02): example label, AI line, key differences, collapsible examples. */
.tbw-pv__eyebrow { margin: 0 0 .25rem; color: var(--wp--preset--color--brand); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tbw-tb p.tbw-trust__ai { color: var(--wp--preset--color--ink-soft); font-size: .75rem; line-height: 1.4; margin: .5rem 0 0; }
.tbw-tb p.tbw-cmp__more { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: .5rem 0 0; }
.tbw-tb__more-ex { margin: 0 0 .5rem; }
.tbw-tb__more-ex > summary { color: var(--wp--preset--color--brand); cursor: pointer; font-size: .9375rem; font-weight: 600; list-style: none; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.tbw-tb__more-ex > summary::-webkit-details-marker { display: none; }
.tbw-tb__more-ex[open] > summary { margin-bottom: .5rem; }
/* "Give as a gift" is a secondary link, not a full-width button (2026-12-02). */
.tbw-tb a.tbw-tb__big.tbw-tb__big--gift { align-self: center; display: inline-flex; align-items: center; gap: .4rem; width: auto; min-height: 40px; padding: 0; background: none; border: 0; box-shadow: none; color: var(--wp--preset--color--brand); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.tbw-tb a.tbw-tb__big.tbw-tb__big--gift:hover, .tbw-tb a.tbw-tb__big.tbw-tb__big--gift:focus-visible { background: none; filter: none; }
.tbw-tb a.tbw-tb__big--gift svg { width: 16px; height: 16px; }
/* Landing audit follow-up (2026-12-02): the example card matches the left column on desktop; the strip has three cells. */
@media (min-width: 900px) {
	.tbw-tb__hero { align-items: stretch; }
	.tbw-tb .tbw-pv { align-self: stretch; display: flex; flex-direction: column; }
	.tbw-tb .tbw-pv__body { flex: 1; }
	.tbw-tb .tbw-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Follow-up (2026-12-02): the comparison prints outside .tbw-tb now, so these rules are not scoped to it. */
@media (min-width: 900px) {
	.tbw-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
p.tbw-trust__ai { color: var(--wp--preset--color--ink-soft); font-size: .75rem; line-height: 1.4; margin: .5rem 0 0; }
p.tbw-cmp__more { color: var(--wp--preset--color--ink-soft); font-size: .8125rem; margin: .5rem 0 0; }
/* The card: content spread from the top, the two buttons the same size and on the bottom edge. */
/* The trust ticks sit in the middle of the free space above the lock note (2026-12-02). */
.tbw-pv__body > .tbw-ticks { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0; }
.tbw-pv__go, .tbw-pv__sample { margin: 0; }
.tbw-pv__go a, .tbw-pv__sample a { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; text-align: center; }
.tbw-pv__go { margin-top: auto; }
