/* TravelConcern Tools — mobile first (390px). Palette shared with tc-funnel's results/wizard. */
.tct {
	--t-ink: #0f2a3d;
	--t-muted: #5b6b7a;
	--t-line: #dfe6ec;
	--t-soft: #f4f7f9;
	--t-pick: #0f4c75;
	--t-pick-bg: #eef6fb;
	--t-accent: #e8a24a;
	--t-accent-ink: #1f1300;
	--t-good: #157f3b;
	--t-good-bg: #e7f6ec;
	--t-warn-bg: #fff7e6;
	--t-warn-ink: #6b4a00;
	--t-bad: #b42318;
	--t-bad-bg: #fdecea;
	--t-wa: #1fa855;
	box-sizing: border-box;
	width: 100%;
	max-width: 960px;
	margin: 12px auto 72px;
	padding: 0 16px;
	color: var(--t-ink);
	font-size: 16px;
	line-height: 1.45;
	text-align: left;
}
.tct *, .tct *::before, .tct *::after { box-sizing: border-box; }
.tct h1, .tct h2, .tct h3 { color: var(--t-ink); letter-spacing: 0; text-transform: none; margin: 0; }
.tct p { margin: 0 0 10px; }
.tct ul, .tct ol { margin: 0 0 10px 20px; padding: 0; }
.tct a { color: var(--t-pick); }
.tct-crumbs { font-size: 13px; color: var(--t-muted); margin: 0 0 8px; }
.tct-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tct-crumbs li + li::before { content: "›"; margin: 0 4px 0 0; color: #8fa3b3; }
.tct-crumbs a { color: var(--t-muted); text-decoration: none; }
.tct-crumbs a:hover { text-decoration: underline; }
/* Editorial sections */
.tct-explain p, .tct-faq-a p, .tct-limits p, .tct-hub-intro p { margin: 0 0 10px; }
.tct-explain ol li, .tct-explain ul li { margin-bottom: 6px; }
.tct-explain table { margin: 0 0 12px; }
.tct-faq { margin: 22px 0 0; }
.tct-faq h2 { font-size: 18px; margin: 0 0 10px; }
.tct-faq-item { border: 1px solid var(--t-line); border-radius: 12px; padding: 0 14px; margin: 0 0 8px; background: #fff; }
.tct-faq-item summary { list-style: none; cursor: pointer; padding: 12px 0; display: flex; align-items: center; gap: 10px; }
.tct-faq-item summary::-webkit-details-marker { display: none; }
.tct-faq-item summary::before { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--t-soft); color: var(--t-pick); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.tct-faq-item[open] summary::before { content: "–"; }
.tct-faq-item summary h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.35; }
.tct-faq-a { padding: 0 0 12px 32px; font-size: 15px; }
.tct-limits { margin: 22px 0 0; font-size: 14px; color: #33495a; }
.tct-limits h2 { font-size: 16px; margin: 0 0 8px; }
.tct-limits ul { margin: 0 0 8px 20px; }
.tct-hub-intro { font-size: 16px; margin: 0 0 16px; }
.tct-guide ul { margin: 0 0 0 20px; }
.tct-guide li { margin: 0 0 8px; font-size: 15px; }
.tct-section-intro { color: var(--t-muted); font-size: 15px; margin: -4px 0 12px; }
.tct-related-pages li a { background: var(--t-soft); border-color: transparent; }
.tct-h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; font-weight: 800; }
.tct-h2 { font-size: 18px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
.tct-h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.tct-intro { color: var(--t-muted); font-size: 16px; margin: 0 0 18px; }
.tct-small { font-size: 13px; color: var(--t-muted); line-height: 1.4; }

/* Panels */
.tct-panel, .tct-form { background: #fff; border: 1px solid var(--t-line); border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.tct-explain { margin: 20px 0 0; font-size: 15px; }
.tct-explain h2 { font-size: 18px; margin: 18px 0 8px; }
.tct-explain h2:first-child { margin-top: 0; }
.tct-explain li { margin-bottom: 4px; }

/* Forms */
.tct-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 12px; }
.tct-field label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.tct-field input, .tct-field select {
	width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #b9c6d1; border-radius: 10px;
	font: inherit; font-size: 16px; color: var(--t-ink); background: #fff;
}
.tct-field input:focus, .tct-field select:focus { outline: 3px solid #93c5fd; outline-offset: 1px; border-color: var(--t-pick); }
.tct-field input[aria-invalid="true"] { border-color: var(--t-bad); }
.tct-input-wrap { position: relative; }
.tct-unit { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; color: var(--t-muted); pointer-events: none; }
.tct-unit + input { padding-left: 46px; }
.tct-help { display: block; font-size: 13px; color: var(--t-muted); margin-top: 4px; }
.tct-err { color: var(--t-bad); font-size: 14px; margin: 4px 0 0; }
.tct-fieldset { border: 1px solid var(--t-line); border-radius: 12px; padding: 12px 12px 4px; margin: 0 0 12px; }
.tct-fieldset legend { font-weight: 700; font-size: 15px; padding: 0 6px; }
.tct-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 0 0 8px; }
.tct-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--t-pick); }
.tct-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.tct-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
	background: var(--t-pick); color: #fff; border: 0; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700;
	cursor: pointer; text-decoration: none; line-height: 1.2;
}
.tct-btn:hover { background: #0c3d5e; color: #fff; }
.tct-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.tct-btn-ghost { background: #fff; color: var(--t-ink); border: 1px solid #b9c6d1; }
.tct-btn-ghost:hover { background: var(--t-soft); color: var(--t-ink); }
.tct-btn-accent, .tct a.tct-btn-accent { background: var(--t-accent); color: var(--t-accent-ink); } /* a.: beat ".tct a" so links keep the dark ink (4.19:1 -> 9:1) */
.tct-btn-accent:hover, .tct a.tct-btn-accent:hover { background: #d9913a; color: var(--t-accent-ink); }
.tct-btn-wa { background: var(--t-wa); }
.tct-btn-sm { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 9px; }
.tct-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--t-pick); text-decoration: underline; cursor: pointer; }

/* Results */
.tct-result { background: var(--t-ink); color: #fff; border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.tct-result h2, .tct-result h3 { color: #fff; }
.tct-result .tct-small { color: #bcd3e3; }
.tct-big { font-size: 32px; font-weight: 800; line-height: 1.1; margin: 4px 0 2px; }
.tct-big small { font-size: 15px; font-weight: 600; color: #bcd3e3; }
.tct-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 0; }
.tct-stat { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; }
.tct-stat b { display: block; font-size: 20px; line-height: 1.2; }
.tct-stat span { font-size: 13px; color: #bcd3e3; }
.tct-note { border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; font-size: 14px; background: var(--t-pick-bg); color: var(--t-ink); }
.tct-note-warn { background: var(--t-warn-bg); color: var(--t-warn-ink); }
.tct-note-good { background: var(--t-good-bg); color: #0f5a2a; }
.tct-note-bad { background: var(--t-bad-bg); color: #7a1b12; }
.tct-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 12px; }
.tct-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tct-table th, .tct-table td { padding: 8px 10px; border-bottom: 1px solid var(--t-line); text-align: left; vertical-align: top; }
.tct-table th { background: var(--t-soft); font-weight: 700; }
.tct-table td.num, .tct-table th.num { text-align: right; white-space: nowrap; }
.tct-table tr.total td { font-weight: 800; border-top: 2px solid var(--t-ink); }
.tct-bar { height: 10px; border-radius: 999px; background: var(--t-soft); overflow: hidden; margin: 6px 0 2px; }
.tct-bar > i { display: block; height: 100%; background: var(--t-pick); border-radius: 999px; }
.tct-bar.is-warn > i { background: var(--t-accent); }
.tct-bar.is-bad > i { background: var(--t-bad); }

/* Plan cards (prices from tc-funnel) */
.tct-plans { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 12px; }
.tct-plan { background: #fff; border: 1px solid var(--t-line); border-radius: 14px; padding: 14px; }
.tct-plan.is-best { border-color: var(--t-good); box-shadow: 0 0 0 2px var(--t-good-bg); }
.tct-plan-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.tct-badge { font-size: 12px; font-weight: 700; letter-spacing: .4px; padding: 3px 8px; border-radius: 5px; color: #fff; }
.tct-plan-name { font-weight: 800; font-size: 17px; }
.tct-plan-cover { font-size: 14px; color: var(--t-muted); margin: 0 0 8px; }
.tct-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tct-price b { font-size: 24px; font-weight: 800; }
.tct-price s { color: var(--t-muted); font-size: 14px; }
.tct-off { font-size: 12px; font-weight: 700; color: var(--t-good); background: var(--t-good-bg); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.tct-plan-notes { font-size: 13px; color: var(--t-muted); margin: 6px 0 0; }
.tct-plan-actions { display: flex; gap: 8px; margin: 10px 0 0; flex-wrap: wrap; }
.tct-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.tct-tags li { margin: 0; padding: 3px 9px; border-radius: 999px; background: var(--t-soft); color: #33495a; font-size: 12px; font-weight: 600; }
.tct-best-tag { color: var(--t-good); font-weight: 700; font-size: 13px; }

/* Comparison table */
.tct-compare .tct-table th:first-child, .tct-compare .tct-table td:first-child { position: sticky; left: 0; background: #fff; min-width: 150px; font-weight: 600; }
.tct-compare .tct-table th:first-child { background: var(--t-soft); }
.tct-compare .tct-table td { min-width: 150px; }
.tct-compare details { font-size: 13px; }
.tct-compare summary, .tct details.tct-noprint > summary { cursor: pointer; color: var(--t-pick); padding-block: 10px; } /* 44px tap row on phones (was 19px) */
.tct-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.tct-chip { border: 1px solid #b9c6d1; background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--t-ink); }
.tct .tct-chip:hover, .tct .tct-chip:focus { background: var(--t-soft); color: var(--t-ink); border-color: var(--t-pick); box-shadow: none; }
.tct .tct-chip[aria-pressed="true"], .tct .tct-chip[aria-pressed="true"]:hover, .tct .tct-chip[aria-pressed="true"]:focus { background: var(--t-ink); color: #fff; border-color: var(--t-ink); }
.tct .tct-chip:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* Checklists */
.tct-list { list-style: none; margin: 0; padding: 0; }
.tct-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--t-line); font-size: 15px; }
.tct-list li:last-child { border-bottom: 0; }
.tct-list input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--t-good); }
.tct-list li.is-done label { color: var(--t-muted); text-decoration: line-through; }
.tct-list label { cursor: pointer; }
.tct-verify { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .3px; padding: 2px 7px; border-radius: 5px; background: var(--t-warn-bg); color: var(--t-warn-ink); margin-left: 6px; vertical-align: middle; text-decoration: none !important; }
.tct-list .tct-small { display: block; margin-top: 2px; text-decoration: none; }
.tct-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 14px; }
.tct-progress .tct-bar { flex: 1; margin: 0; }
.tct-sources { font-size: 13px; color: var(--t-muted); }
.tct-sources a { color: var(--t-muted); }

/* CTA + related + hub */
.tct-cta { display: flex; flex-direction: column; gap: 12px; background: var(--t-pick-bg); border: 1px solid #cfe3f1; border-radius: 14px; padding: 16px; margin: 22px 0 0; }
.tct-cta strong { display: block; font-size: 17px; margin: 0 0 4px; }
.tct-cta p { margin: 0; font-size: 14px; color: var(--t-muted); }
.tct-related { margin: 22px 0 0; }
.tct-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tct-related li a { display: inline-block; padding: 8px 12px; border: 1px solid var(--t-line); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--t-ink); background: #fff; }
.tct-related li a:hover { border-color: var(--t-pick); color: var(--t-pick); }
.tct-section { margin: 0 0 22px; }
.tct-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tct-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--t-line); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--t-ink); transition: border-color .15s; }
.tct-card:hover { border-color: var(--t-pick); color: var(--t-ink); }
.tct-card-title { font-weight: 800; font-size: 17px; }
.tct-card-text { font-size: 14px; color: var(--t-muted); flex: 1; }
.tct-card-go { font-size: 14px; font-weight: 700; color: var(--t-pick); }
.tct-more { font-size: 15px; }
.tct-hidden { display: none !important; }
.tct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (min-width: 640px) {
	.tct-h1 { font-size: 32px; }
	.tct-row { grid-template-columns: 1fr 1fr; }
	.tct-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
	.tct-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
	.tct-stats { grid-template-columns: repeat(4, 1fr); }
	.tct-plans { grid-template-columns: 1fr 1fr; }
	.tct-grid { grid-template-columns: 1fr 1fr; }
	.tct-cta { flex-direction: row; align-items: center; justify-content: space-between; }
	.tct-cta a { flex: none; }
	.tct-panel, .tct-form { padding: 20px; }
}
@media (min-width: 960px) {
	.tct-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Print: the checklist / result only, clean */
@media print {
	body.tct-page header, body.tct-page footer, body.tct-page #masthead, body.tct-page #colophon, body.tct-page .site-header, body.tct-page .site-footer,
	.tct-cta, .tct-related, .tct-crumbs, .tct-actions, .tct-noprint, .tct-explain { display: none !important; }
	.tct { max-width: none; margin: 0; padding: 0; font-size: 12pt; color: #000; }
	.tct-panel, .tct-form, .tct-plan { border: 1px solid #999; border-radius: 0; break-inside: avoid; }
	.tct-result { background: none; color: #000; border: 1px solid #999; }
	.tct-result h2, .tct-result h3, .tct-result .tct-small, .tct-stat span, .tct-big small { color: #000; }
	.tct-list li.is-done label { text-decoration: none; color: #000; }
	.tct-list li.is-done label::before { content: "✓ "; }
	.tct-list input { display: none; }
	.tct-list li::before { content: "☐"; margin-right: 6px; }
	.tct-list li.is-done::before { content: "☑"; }
	.tct-table-wrap { overflow: visible; }
}
