/* Treherbert travel vaccine planner. Brand: forest #163A2A, teal #1F6F5C, ink #1F2933, Red Hat Display. */
.tpt, .tpt-mini {
	--tpt-forest: #163a2a;
	--tpt-forest-2: #0f2b1f;
	--tpt-teal: #1f6f5c;
	--tpt-teal-dark: #175646;
	--tpt-mint: #eaf4f0;
	--tpt-mint-2: #d6ebe2;
	--tpt-ink: #1f2933;
	--tpt-muted: #5f6b76;
	--tpt-line: #e1e8e5;
	--tpt-amber: #b7791f;
	--tpt-amber-soft: #fff6e5;
	--tpt-radius: 18px;
	--tpt-shadow: 0 1px 2px rgba(11, 90, 48, .06), 0 10px 30px rgba(11, 90, 48, .08);
	font-family: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--tpt-ink);
	line-height: 1.55;
}
.tpt *, .tpt-mini * { box-sizing: border-box; }
.tpt h2, .tpt h3, .tpt h4 { font-family: inherit; letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.tpt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.tpt-btn:active { transform: translateY(1px); }
.tpt-btn-primary { background: var(--tpt-teal); color: #fff !important; }
.tpt-btn-primary:hover { background: var(--tpt-teal-dark); }
.tpt-btn-light { background: #fff; color: var(--tpt-forest) !important; }
.tpt-btn-light:hover { background: var(--tpt-mint); }
.tpt-btn-outline { background: #fff; color: var(--tpt-forest) !important; border-color: var(--tpt-forest); }
.tpt-btn-outline:hover { background: var(--tpt-forest); color: #fff !important; }
.tpt-btn:focus-visible, .tpt input:focus-visible, .tpt summary:focus-visible { outline: 3px solid #f2c14e; outline-offset: 2px; }

/* ---------- Hero / search ---------- */
.tpt-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 48px 36px 34px; margin: 0 0 28px; color: #fff; background: radial-gradient(900px 380px at 90% -10%, rgba(168, 224, 189, .35), transparent 60%), linear-gradient(140deg, var(--tpt-forest) 0%, var(--tpt-forest-2) 100%); }
.tpt-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); pointer-events: none; }
.tpt-eyebrow { margin: 0 0 8px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a8e0bd !important; }
.tpt-hero-title { margin: 0 0 10px !important; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; font-weight: 800; color: #fff !important; }
.tpt-lede { max-width: 720px; margin: 0 0 24px !important; font-size: clamp(16px, 2vw, 18px); color: rgba(255, 255, 255, .86) !important; }
.tpt-search { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.tpt-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #fff; }
.tpt-field label span { font-weight: 400; opacity: .75; }
.tpt-field input { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: var(--tpt-ink); font: inherit; font-size: 17px; }
.tpt-search .tpt-btn { height: 52px; min-height: 52px; background: #a8e0bd; color: var(--tpt-forest) !important; }
.tpt-search .tpt-btn:hover { background: #fff; }
.tpt-hero-note { position: relative; z-index: 1; margin: 18px 0 0 !important; font-size: 14px; color: rgba(255, 255, 255, .8) !important; }
.tpt-badge-yf { display: inline-block; margin-right: 8px; padding: 4px 10px; border-radius: 999px; background: #f2c14e; color: #3b2a00; font-size: 12px; font-weight: 800; letter-spacing: .02em; }

/* ---------- Popular ---------- */
.tpt-popular h3 { margin: 0 0 14px; font-size: 22px; color: var(--tpt-forest); }
.tpt-popular-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tpt-pop { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--tpt-line); border-radius: 14px; background: #fff; text-decoration: none !important; box-shadow: var(--tpt-shadow); transition: transform .15s, border-color .15s; }
.tpt-pop:hover { transform: translateY(-2px); border-color: var(--tpt-teal); }
.tpt-pop-name { font-weight: 800; font-size: 17px; color: var(--tpt-forest); }
.tpt-pop-meta { font-size: 13px; color: var(--tpt-muted); }

/* ---------- Result layout ---------- */
.tpt-result-wrap.is-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }
.tpt-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 32px; align-items: start; }
.tpt-side { position: sticky; top: 20px; padding: 30px 28px; border-radius: 24px; color: #fff; background: linear-gradient(170deg, var(--tpt-forest) 0%, #06331b 100%); box-shadow: var(--tpt-shadow); }
.tpt-side-eyebrow { margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a8e0bd !important; }
.tpt-country { margin: 4px 0 4px !important; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; color: #fff !important; }
.tpt-side-lede { margin: 0 0 22px !important; color: rgba(255, 255, 255, .75) !important; }
.tpt-side-h { margin: 0 0 4px !important; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: #a8e0bd !important; }
.tpt-before { list-style: none; margin: 0 !important; padding: 0 !important; }
.tpt-before li { position: relative; margin: 0 !important; padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15.5px; color: #fff; }
.tpt-before li::before { position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 6px; font-size: 13px; line-height: 22px; text-align: center; background: rgba(255, 255, 255, .12); }
.tpt-before .tpt-i-doc::before { content: "📄"; }
.tpt-before .tpt-i-mal::before { content: "🦟"; }
.tpt-before .tpt-i-alert::before { content: "!"; background: #f2c14e; color: #3b2a00; font-weight: 800; }
.tpt-before .tpt-i-routine::before { content: "✓"; }
.tpt-before .tpt-i-fcdo::before { content: "↗"; }
.tpt-before a { color: #a8e0bd !important; }
.tpt-mal-high, .tpt-mal-risk { font-weight: 600; }
.tpt-mal-areas { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); }
.tpt-mal-areas summary { cursor: pointer; font-weight: 700; color: #a8e0bd; }
.tpt-mal-areas ul { margin: 8px 0 0 18px !important; padding: 0 !important; }
.tpt-mal-areas li { margin: 0 0 6px !important; }
.tpt-side-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.tpt-side-phone { text-align: center; color: rgba(255, 255, 255, .8) !important; font-size: 14px; }

.tpt-checked { margin: 0 0 18px !important; font-size: 17px; color: var(--tpt-muted); }

/* ---------- When / reminder ---------- */
.tpt-when { padding: 22px 24px; border-radius: var(--tpt-radius); background: #f5f8f7; border: 1px solid var(--tpt-line); margin-bottom: 18px; }
.tpt-when > label { display: block; margin-bottom: 8px; font-size: 18px; }
.tpt-when-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tpt-fly { height: 50px; padding: 0 14px; border: 1.5px solid #c9d6d1; border-radius: 12px; background: #fff; font: inherit; font-size: 17px; color: var(--tpt-ink); }
.tpt-when-hint { color: var(--tpt-muted); }
.tpt-countdown { margin: 14px 0 0 !important; font-size: 22px; font-weight: 800; color: var(--tpt-forest); }
.tpt-countdown.is-soon { color: var(--tpt-amber); }
.tpt-remind { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--tpt-line); }
.tpt-remind-text { margin: 0 0 14px !important; }
.tpt-remind-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tpt-email-form { margin-top: 16px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--tpt-line); }
.tpt-email-form > label { display: block; margin-bottom: 6px; font-weight: 700; }
.tpt-email-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tpt-email-row input { flex: 1 1 240px; height: 48px; padding: 0 14px; border: 1.5px solid #c9d6d1; border-radius: 12px; font: inherit; font-size: 16px; }
.tpt-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13.5px; color: var(--tpt-muted); }
.tpt-consent input { margin-top: 3px; }
.tpt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tpt-email-msg { margin: 10px 0 0 !important; font-weight: 600; }
.tpt-email-msg.is-ok { color: var(--tpt-teal); }
.tpt-email-msg.is-error { color: #b42318; }

/* ---------- Stats ---------- */
.tpt-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 20px; }
.tpt-stat { flex: 1 1 150px; max-width: 240px; padding: 18px 16px; border-radius: var(--tpt-radius); background: var(--tpt-mint); text-align: center; }
.tpt-stat-n { display: block; font-size: 44px; line-height: 1; font-weight: 800; color: var(--tpt-forest); }
.tpt-stat-l { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tpt-forest); }
.tpt-stat-yf { background: #fff3cf; }
.tpt-stat-yf .tpt-stat-n { color: #7a5600; }

/* ---------- Trip questions ---------- */
.tpt-trip { margin: 0 0 8px; padding: 0; border: 0; }
.tpt-trip legend { margin-bottom: 10px; font-weight: 800; font-size: 18px; color: var(--tpt-forest); }
.tpt-trip legend span { display: block; font-weight: 400; font-size: 14.5px; color: var(--tpt-muted); }
.tpt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid #c9d6d1; border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; user-select: none; transition: background .15s, border-color .15s; }
.tpt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tpt-chip::before { content: "+"; font-weight: 800; color: var(--tpt-teal); }
.tpt-chip.is-on { background: var(--tpt-teal); border-color: var(--tpt-teal); color: #fff; }
.tpt-chip.is-on::before { content: "✓"; color: #fff; }
.tpt-chip:focus-within { outline: 3px solid #f2c14e; outline-offset: 2px; }

/* ---------- Cards ---------- */
.tpt-group-h { margin: 26px 0 4px !important; font-size: 22px; color: var(--tpt-forest); }
.tpt-group-sub { margin: 0 0 12px !important; color: var(--tpt-muted); }
.tpt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 12px; }
.tpt-card { position: relative; display: flex; flex-direction: column; padding: 20px 20px 16px; border: 1.5px solid var(--tpt-line); border-radius: var(--tpt-radius); background: #fff; box-shadow: var(--tpt-shadow); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tpt-card-most { border-top: 5px solid var(--tpt-teal); }
.tpt-card-some { border-top: 5px solid #a8e0bd; }
.tpt-card.is-match { border-color: var(--tpt-teal); box-shadow: 0 0 0 3px rgba(11, 122, 62, .18), var(--tpt-shadow); transform: translateY(-2px); }
.tpt-card.is-match::after { content: "Matches your trip"; position: absolute; top: -12px; right: 16px; padding: 3px 10px; border-radius: 999px; background: var(--tpt-teal); color: #fff; font-size: 12px; font-weight: 700; }
.tpt-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.tpt-card-tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tpt-teal); }
.tpt-card-price { font-weight: 800; color: var(--tpt-forest); text-align: right; font-size: 15px; }
.tpt-card-name { margin: 6px 0 6px !important; font-size: 21px; line-height: 1.2; color: var(--tpt-forest); text-decoration: underline; text-decoration-color: #a8e0bd; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tpt-card-about { margin: 0 0 10px !important; font-size: 15px; color: var(--tpt-ink); }
.tpt-card-facts { list-style: none; margin: 0 0 10px !important; padding: 0 !important; font-size: 14.5px; }
.tpt-card-facts li { margin: 0 0 6px !important; padding: 0 !important; }
.tpt-card-facts span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tpt-muted); }
.tpt-startby b { color: var(--tpt-forest); }
.tpt-card.is-late .tpt-startby b { color: var(--tpt-amber); }
.tpt-card-more { margin: 0 0 10px; font-size: 14px; color: var(--tpt-ink); }
.tpt-card-more summary { cursor: pointer; font-weight: 700; color: var(--tpt-teal); }
.tpt-card-more p, .tpt-card-more ul { margin: 8px 0 0 !important; }
.tpt-card-more ul { padding-left: 18px !important; }
.tpt-card-more li { margin-bottom: 4px !important; }
.tpt-card-risk { padding: 8px 10px; border-radius: 8px; background: var(--tpt-mint); }
.tpt-card-pick { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--tpt-line); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.tpt-card-pick input { width: 18px; height: 18px; accent-color: var(--tpt-teal); }
.tpt-card.is-referral { background: #fafbfb; }
.tpt-card.is-referral .tpt-card-price { color: var(--tpt-muted); }

.tpt-tip { margin: 18px 0 0 !important; padding: 12px 16px; border-radius: 12px; background: var(--tpt-amber-soft); border-left: 4px solid #f2c14e; }

/* ---------- Plan ---------- */
.tpt-plan { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0 0; padding: 18px 22px; border-radius: 20px; background: #fff; border: 2px solid var(--tpt-forest); box-shadow: 0 16px 40px rgba(11, 90, 48, .18); }
.tpt-plan-title { margin: 0 !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tpt-teal); }
.tpt-plan-line { margin: 2px 0 0 !important; font-size: 18px; }
.tpt-plan-line strong { color: var(--tpt-forest); font-size: 22px; }
.tpt-plan-note { margin: 4px 0 0 !important; font-size: 13px; color: var(--tpt-muted); max-width: 520px; }

.tpt-source { margin: 22px 0 0 !important; font-size: 13px; color: var(--tpt-muted); }
.tpt-source a { color: var(--tpt-teal); }
.tpt-note { padding: 16px; border-radius: 12px; background: var(--tpt-mint); }

/* ---------- Mini box ---------- */
.tpt-mini { margin: 28px 0; padding: 22px 24px; border-radius: 20px; color: #fff; background: linear-gradient(140deg, var(--tpt-forest), #0f2b1f); }
.tpt-mini-title { margin: 0 !important; font-size: 21px; font-weight: 800; color: #fff !important; }
.tpt-mini-sub { margin: 4px 0 12px !important; color: rgba(255, 255, 255, .8) !important; }
.tpt-mini-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tpt-mini-row input { flex: 1 1 220px; height: 50px; padding: 0 14px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; color: var(--tpt-ink); }
.tpt-mini-row button { height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: #a8e0bd; color: var(--tpt-forest); font: inherit; font-weight: 800; cursor: pointer; }
.tpt-mini-row button:hover { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.tpt-grid { grid-template-columns: 1fr; }
	.tpt-side { position: static; }
}
@media (max-width: 680px) {
	.tpt-hero { padding: 32px 20px 24px; border-radius: 20px; }
	.tpt-search { grid-template-columns: 1fr; }
	.tpt-plan .tpt-btn { width: 100%; }
	.tpt-remind-btns .tpt-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.tpt *, .tpt-mini * { transition: none !important; }
}

/* Theme guards (v2.0.1) */
.tpt p:empty, .tpt > br, .tpt-result-wrap > br { display: none; }
.tpt button { text-transform: none; letter-spacing: normal; }
.tpt { width: min(1240px, calc(100vw - 40px)); max-width: none; margin-left: calc(50% - min(620px, calc(50vw - 20px))); margin-right: 0; }
.tpt section:not(.tpt-hero) { padding-top: 0; padding-bottom: 0; }
.tpt header.tpt-side, .tpt aside.tpt-side { position: sticky; }
@media (max-width: 980px) { .tpt aside.tpt-side { position: static; } }
/* The theme makes every label and input 100% wide. */
.tpt .tpt-chip { display: inline-flex !important; width: auto !important; margin: 0 !important; }
.tpt .tpt-fly { display: inline-block !important; width: auto !important; }
.tpt .tpt-consent { width: auto !important; }
.tpt .tpt-pick, .tpt .tpt-consent input { -webkit-appearance: checkbox !important; appearance: auto !important; display: inline-block !important; flex: 0 0 auto; }

/* Wellness Pharmacy colours */
.tpt, .tpt-mini { --tpt-forest: #0b5a30; --tpt-forest-2: #073d20; --tpt-teal: #0b7a3e; --tpt-teal-dark: #09602f; --tpt-mint: #e8f3ec; --tpt-mint-2: #d3eadb; }
