/* ---------- Treatment cost planner (home page "calculator") – builds on .calc / .tchip / .qty from style.css ---------- */
.calc { grid-template-columns: 400px minmax(0, 1fr); }
.calc-in .tchips { grid-template-columns: 1fr 1fr; }
.calc-in .tchip small { display: block; margin-top: 2px; }
.ct-h4 { position: relative; z-index: 1; margin: 26px 0 10px; color: #fff; font: 600 17px var(--title); }
.ct-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-top: 10px; border-radius: 16px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; }
.calc-in .qty { margin-top: 10px; }
.ct-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.ct-seg button { padding: 7px 12px; border-radius: 999px; color: #c7cde0; font: 600 13px var(--title); white-space: nowrap; transition: background .2s, color .2s; }
.ct-seg button.on { background: #fff; color: var(--navy); }
.ct-hint { position: relative; z-index: 1; margin: 8px 4px 0; font-size: 13px; line-height: 1.5; color: #9aa3bd; }
.ct-check { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; line-height: 1.45; cursor: pointer; }
.ct-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-check i { flex: none; position: relative; width: 34px; height: 20px; margin-top: 1px; border-radius: 999px; background: rgba(255, 255, 255, .22); transition: background .2s; }
.ct-check i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.ct-check input:checked + i { background: var(--green); }
.ct-check input:checked + i::after { transform: translateX(14px); }
.ct-check input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }

.ct-save .lbl { font: 500 15px var(--title); color: var(--navy); }
.ct-save .num { margin-top: 6px; font: 700 clamp(32px, 3.6vw, 50px)/1.05 var(--title); color: var(--green-d); letter-spacing: -.03em; }
.ct-save .pct { display: inline-flex; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(34, 179, 168, .12); color: var(--green-d); font: 700 14px var(--title); }
.ct-worst { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 560px; }
.ct-bars { margin-top: 22px; display: grid; gap: 18px; }
.ct-bar .bl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font: 600 15px var(--title); color: var(--navy); }
.ct-bar .bl small { display: block; font: 400 12.5px var(--text); color: var(--muted); margin-top: 2px; }
.ct-bar .bl span:last-child { white-space: nowrap; }
.ct-bar .track { position: relative; height: 18px; border-radius: 999px; background: var(--smoke); overflow: hidden; }
.ct-bar .track i { position: absolute; top: 0; bottom: 0; transition: left .6s var(--ease), width .6s var(--ease); }
.ct-bar .track i.uk { background: linear-gradient(90deg, var(--plum-200), var(--plum-400)); }
.ct-bar .track i.hu { background: linear-gradient(90deg, var(--blue-400), var(--blue-700)); }
.ct-bar .track i.rng { opacity: .38; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .55) 0 4px, transparent 4px 8px); border-radius: 0 999px 999px 0; }
.ct-bar .track i.uk.rng { background-color: var(--coral); }
.ct-bar .track i.hu.rng { background-color: var(--blue-700); }
.ct-key { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.ct-key span { display: inline-flex; align-items: center; gap: 6px; }
.ct-key i { width: 18px; height: 8px; border-radius: 4px; background: var(--blue-700); }
.ct-key i.rng { opacity: .4; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .6) 0 3px, transparent 3px 6px); }

.ct-conf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.ct-conf div { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ct-conf div.on { border-color: var(--green); background: rgba(34, 179, 168, .07); }
.ct-conf b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--smoke); color: var(--navy); font: 700 11px var(--title); }
.ct-conf .on b { background: var(--action); color: #fff; }
.ct-conf strong { display: block; font: 600 13.5px var(--title); color: var(--navy); margin-bottom: 2px; }

.ct-break { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ct-break summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font: 600 15px var(--title); color: var(--navy); background: var(--smoke); }
.ct-break summary::-webkit-details-marker { display: none; }
.ct-break summary::before { content: ""; width: 7px; height: 7px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .2s; }
.ct-break[open] summary::before { transform: rotate(45deg); }
.ct-break summary span { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.ct-break table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ct-break td, .ct-break th { padding: 9px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.ct-break td:last-child { text-align: right; white-space: nowrap; color: var(--navy); font-weight: 600; }
.ct-break td:nth-child(2) { width: 1%; white-space: nowrap; }
.ct-break td small { display: block; font-size: 12px; color: var(--muted); }
.ct-break tr.grp th { padding-top: 14px; font: 600 12px var(--title); letter-spacing: .08em; text-transform: uppercase; color: var(--green-d); border-top: 0; }
.ct-break tr.sub td { color: var(--navy); font-weight: 600; background: #fafbfd; }
.ct-break tr.tot td { font: 700 16px var(--title); color: var(--navy); background: rgba(34, 179, 168, .08); }
.ct-break tr.cmp td { color: var(--body); }
.ct-break tr.cmp td:last-child { color: var(--uk); }
.ct-tag { display: inline-flex; padding: 3px 8px; border-radius: 999px; font: 600 11px var(--title); white-space: nowrap; }
.ct-tag.ok { background: rgba(34, 179, 168, .14); color: var(--green-d); }
.ct-tag.mid { background: #fff3dc; color: #96610a; }
.ct-tag.uk { background: var(--plum-100); color: var(--plum-600); }
#calc-tool .calc-cta { margin-top: 22px; }
#calc-tool .calc-note { margin-top: 18px; padding-top: 0; line-height: 1.55; }

@media (max-width: 1180px) {
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ct-conf { grid-template-columns: 1fr; }
  .ct-row { flex-direction: column; align-items: flex-start; }
  .ct-break td, .ct-break th { padding: 8px 10px; }
  .ct-break td:nth-child(2) { display: none; }
  .ct-bar .bl { flex-direction: column; gap: 2px; }
}

/* v2: break-even line, brand/airport inputs, clinic sources, share, mobile result bar */
#calc-tool .calc-cta .btn:not(.fq-btn) { text-transform: none; letter-spacing: normal; text-decoration: none; }
.ct-why { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(34, 179, 168, .08); font-size: 13.5px; line-height: 1.5; color: var(--navy); max-width: 600px; }
.ct-row label { color: #fff; }
.ct-sel { max-width: 58%; padding: 8px 32px 8px 12px; border: 0; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23053863' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; color: var(--navy); font: 600 13px var(--title); cursor: pointer; }
.ct-sel:focus-visible, .ct-seg button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#ct-brand-w .ct-hint { margin-top: 6px; }
.ct-src { display: block; margin-top: 2px; padding: 0; background: none; border: 0; color: var(--green-d); font: 500 12px var(--text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; text-align: left; }
.ct-srcrow td { padding-top: 0 !important; background: #fafbfd; }
.ct-cl { list-style: none; margin: 0; padding: 4px 0 6px; display: grid; gap: 2px; }
.ct-cl button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; font: 500 13px var(--text); color: var(--navy); }
.ct-cl button:hover { background: rgba(34, 179, 168, .08); }
.ct-cl small { display: block; color: var(--muted); font-size: 11.5px; }
.ct-cl b { white-space: nowrap; font-weight: 600; }
.ct-share { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--navy); font: 600 13.5px var(--title); cursor: pointer; }
.ct-share .ic { width: 16px; height: 16px; transform: rotate(-45deg); color: var(--green-d); }
.ct-mbar { display: none; }
@media (max-width: 860px) {
  .ct-mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 61; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: 0 10px 30px rgba(5, 56, 99, .3); transform: translateY(150%); opacity: 0; pointer-events: none; transition: transform .3s var(--ease, ease), opacity .2s; }
  .ct-mbar.show { transform: none; opacity: 1; pointer-events: auto; }
  .ct-mbar span { display: block; font-size: 11px; color: #9fb1cc; }
  .ct-mbar b { display: block; font: 700 17px var(--title); color: #6fe0d4; }
  .ct-mbar small { display: block; font-size: 11.5px; color: #c7d2e4; }
  .ct-mbar button { flex: none; padding: 9px 14px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font: 600 13px var(--title); }
  body.calc-bar-on .sticky-cta { display: none !important; }
  body.calc-bar-on .wa { bottom: 96px !important; }
}

/* ---------- Hungary vs Turkey in the saving box (Oct 2026): Hungary = closest, in the EU; Turkey = lowest price ---------- */
.ct-cty { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ct-c { position: relative; padding: 14px 16px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ct-c.hu { border-color: var(--blue-200); box-shadow: inset 0 3px 0 var(--blue-400); }
.ct-c.tr { border-color: var(--sand-200); box-shadow: inset 0 3px 0 var(--sand-400); }
.ct-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font: 700 11px/1.2 var(--title); letter-spacing: .02em; text-transform: uppercase; }
.ct-badge .ic { width: 13px; height: 13px; }
.ct-c.hu .ct-badge { background: var(--blue-100); color: var(--blue-700); }
.ct-c.tr .ct-badge { background: var(--sand-100); color: var(--sand-700); }
.ct-cn { display: block; margin-top: 8px; font: 700 17px var(--title); color: var(--navy); }
.ct-c .num { margin-top: 2px; font-size: clamp(22px, 2.3vw, 30px); }
.ct-c.tr .num { color: var(--sand-700); }
.ct-c .pct { margin-top: 6px; font-size: 12.5px; padding: 4px 10px; }
.ct-c.tr .pct { background: var(--sand-100); color: var(--sand-700); }
.ct-pros { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; color: var(--body); }
.ct-pros li { display: flex; align-items: center; gap: 6px; }
.ct-pros .ic { flex: none; width: 14px; height: 14px; color: var(--muted); }
.ct-bar .track i.tr { background: linear-gradient(90deg, var(--sand-200), var(--sand-400)); }
.ct-bar .track i.tr.rng { background-color: var(--gold); }
@media (max-width: 480px) { .ct-cty { grid-template-columns: 1fr; } }

/* ---------- v3 (Oct 2026): light planner in the site style – grey treatment pictures like the landing tiles,
   Hungary / Turkey destination tiles in the country colours, departure in the UK plum (style guide) ---------- */
#calc-tool .calc-in { background: var(--smoke, #f5f8fa); color: var(--body); border-right: 1px solid var(--line); }
#calc-tool .calc-in::after { display: none; }
#calc-tool .calc-in h3 { color: var(--navy); }
#calc-tool .calc-in .muted { color: var(--muted); margin-bottom: 8px; }
#calc-tool .ct-h4 { color: var(--navy); margin: 22px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#calc-tool .ct-h4.first { margin-top: 18px; }
#calc-tool .ct-h4 small { font: 500 12.5px var(--text); color: var(--muted); }
/* destination tiles */
.ct-dest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-d { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s; }
.ct-d b { display: block; font: 600 14.5px/1.2 var(--title); }
.ct-d small { display: block; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.ct-dk { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: #fff; }
.ct-dk svg { width: 13px; height: 13px; opacity: 0; }
.ct-df { flex: none; display: grid; place-items: center; width: 34px; height: 30px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ct-df svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(5, 56, 99, .12); }
.ct-d.hu.on { border-color: var(--blue-400); background: var(--blue-50); }
.ct-d.hu.on .ct-dk { background: var(--blue-400); border-color: var(--blue-400); }
.ct-d.tr.on { border-color: var(--sand-400); background: var(--sand-50); }
.ct-d.tr.on .ct-dk { background: var(--sand-400); border-color: var(--sand-400); }
.ct-d.on .ct-dk svg { opacity: 1; }
.ct-d:hover { border-color: var(--slate-300, #c3ced8); }
.ct-d:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* treatment tiles: picture on top, like the landing page */
#calc-tool .tchips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#calc-tool .tchip { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 8px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); color: var(--navy); }
#calc-tool .tchip img { width: 44px; height: 44px; object-fit: contain; }
#calc-tool .tchip b { margin-top: 6px; font-size: 13px; }
#calc-tool .tchip small { margin-top: 2px; font-size: 11px; line-height: 1.3; color: var(--muted); }
#calc-tool .tchip.on { background: #eef8f7; border-color: #22b3a8; box-shadow: none; }
#calc-tool .tchip.on small { color: var(--slate-600, #4b5b6b); }
#calc-tool .tchip:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* rows, steppers, segments, switches on white */
#calc-tool .ct-row, #calc-tool .qty, #calc-tool .ct-check { background: #fff; border: 1px solid var(--line); color: var(--navy); }
#calc-tool .ct-row label, #calc-tool .qty > span, #calc-tool .ct-row > span { color: var(--navy); }
#calc-tool .qty .stepper button { border-color: var(--line); color: var(--navy); background: #fff; }
#calc-tool .qty .stepper button:hover { border-color: #22b3a8; color: #04847f; }
#calc-tool .ct-seg { background: var(--smoke, #f1f5f8); }
#calc-tool .ct-seg button { color: var(--slate-600, #4b5b6b); }
#calc-tool .ct-seg button.on { background: #04847f; color: #fff; }
#calc-tool .ct-hint { color: var(--muted); }
#calc-tool .ct-check i { background: var(--slate-200, #d5dee6); }
#calc-tool .ct-check input:checked + i { background: #04847f; }
#calc-tool .ct-check input:focus-visible + i, #calc-tool .ct-sel:focus-visible, #calc-tool .ct-seg button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
#calc-tool .ct-sel { border: 1px solid var(--line); background-color: #fff; color: var(--navy); }
#calc-tool #ct-from { border-color: var(--plum-200); background-color: var(--plum-50); color: var(--plum-700, #5b2d6b); font-weight: 600; }
/* one destination: a single wide card */
.ct-cty.one { grid-template-columns: 1fr; }
.ct-c[hidden] { display: none; }
.ct-break tr.tot.hu td { background: var(--blue-50); }
.ct-break tr.tot.tr td { background: var(--sand-50); }
@media (max-width: 1180px) { #calc-tool .tchips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { #calc-tool .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } #calc-tool .tchips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { #calc-tool .tchips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-dest { grid-template-columns: 1fr; } }
/* 10 treatments; children's dentistry has no typical price – a note replaces the figures */
.ct-np { display: none; padding: 18px 20px; border-radius: 16px; background: var(--smoke, #f5f8fa); border: 1px solid var(--line); color: var(--body); }
.ct-np b { display: block; font: 600 17px var(--title); color: var(--navy); margin-bottom: 4px; }
.ct-np p { margin: 0; font-size: 14.5px; line-height: 1.55; }
#calc-tool.ct-noprice .ct-np { display: block; }
#calc-tool.ct-noprice #ct-savebox, #calc-tool.ct-noprice .ct-bars, #calc-tool.ct-noprice .ct-break, #calc-tool.ct-noprice .ct-share { display: none; }
/* one destination: the card lies flat – badge, country, saving and % on the left, reasons on the right, both vertically centred */
.ct-cty.one .ct-c:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "badge pros" "name pros" "num pros" "pct pros"; column-gap: 28px; align-items: center; padding: 18px 22px; }
.ct-cty.one .ct-badge { grid-area: badge; justify-self: start; }
.ct-cty.one .ct-cn { grid-area: name; }
.ct-cty.one .num { grid-area: num; }
.ct-cty.one .pct { grid-area: pct; justify-self: start; }
.ct-cty.one .ct-pros { grid-area: pros; align-self: center; margin: 0; padding-left: 24px; border-left: 1px solid var(--line); gap: 8px; font-size: 14px; }
@media (max-width: 640px) { .ct-cty.one .ct-c:not([hidden]) { grid-template-columns: 1fr; grid-template-areas: "badge" "name" "num" "pct" "pros"; } .ct-cty.one .ct-pros { margin-top: 10px; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); } }
#calc-tool .ct-why, #calc-tool .ct-worst { max-width: none; } /* line up with the cards above */
/* treatment dropdown (replaces the tiles – fits the panel and phones): picture, name and unit; the list shows all 10 with "from" prices */
.ct-tdd { position: relative; z-index: 5; }
.ct-tdb { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; border: 1.5px solid #22b3a8; background: #eef8f7; color: var(--navy); text-align: left; cursor: pointer; }
.ct-tdb img { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; }
.ct-tdb span { flex: 1; min-width: 0; } .ct-tdb b { display: block; font: 600 15px/1.25 var(--title); } .ct-tdb small { display: block; font-size: 12.5px; color: var(--muted); }
.ct-chev { flex: none; width: 20px; height: 20px; color: #04847f; transition: transform .2s; }
.ct-tdb[aria-expanded="true"] .ct-chev { transform: rotate(180deg); }
.ct-tdb:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ct-tdl { position: absolute; left: 0; right: 0; top: calc(100% + 6px); max-height: min(440px, 62vh); overflow: auto; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(5, 40, 70, .35); }
.ct-tdl[hidden] { display: none; }
.ct-tdh { display: flex; justify-content: space-between; margin: 4px 8px 6px; font: 600 11px var(--title); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ct-tdh span { letter-spacing: 0; text-transform: none; font-weight: 500; }
#calc-tool .ct-tdl .tchip { width: 100%; flex-direction: row; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 12px; background: none; text-align: left; transform: none; }
#calc-tool .ct-tdl .tchip:hover, #calc-tool .ct-tdl .tchip:focus-visible { background: var(--smoke, #f2f6f7); outline: none; }
#calc-tool .ct-tdl .tchip[aria-selected="true"] { background: #eef8f7; box-shadow: inset 0 0 0 1.5px #22b3a8; }
#calc-tool .ct-tdl .tchip img { flex: none; width: 36px; height: 36px; }
.ct-tt { flex: 1; min-width: 0; } #calc-tool .ct-tt b { margin: 0; font-size: 14px; } #calc-tool .ct-tt small { display: block; margin: 0; font-size: 11.5px; }
.ct-tp { flex: none; display: flex; gap: 6px; }
.ct-tp > span { display: grid; min-width: 58px; padding: 3px 7px; border-radius: 8px; text-align: right; }
.ct-tp small { font-size: 10px; line-height: 1.2; } .ct-tp b { font: 600 13px/1.2 var(--title); }
.ct-tp .hu { background: var(--blue-50); color: var(--blue-700); } .ct-tp .tr { background: var(--sand-50); color: var(--sand-800); }
.ct-tp .np { min-width: 0; background: var(--smoke, #f2f6f7); color: var(--muted); font-size: 11.5px; align-content: center; }
/* v4: every control in the landing-page filter style – 3D picture, label, then a pill stepper / segment / switch;
   Living in and Departing from as boxed dropdowns (departure in the UK plum) */
.ct-pk { margin-top: 10px; } .ct-pl { display: block; margin: 0 2px 6px; font: 600 13.5px var(--title); color: var(--navy); }
.ct-box { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px 0 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.ct-box.from { border-color: var(--plum-200); background: var(--plum-50); }
.ct-bf { flex: none; display: grid; place-items: center; width: 36px; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ct-bf svg { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(5, 56, 99, .12); }
.ct-bf img { width: 30px; height: 26px; object-fit: contain; }
#calc-tool .ct-box .ct-sel, #calc-tool #ct-from { flex: 1; min-width: 0; max-width: none; height: 100%; padding: 0 24px 0 0; border: 0; border-radius: 0; background: transparent; font: 600 15px var(--title); color: var(--navy); appearance: none; -webkit-appearance: none; cursor: pointer; }
#calc-tool .ct-box.from #ct-from { color: var(--plum-700, #5b2d6b); }
.ct-cv { position: absolute; right: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.ct-box:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
#calc-tool .ct-f { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; flex-direction: row; }
.ct-oi { flex: none; width: 44px; height: 38px; object-fit: contain; }
.ct-fl { flex: 1; min-width: 0; font: 500 14.5px var(--title); color: var(--navy); }
#calc-tool .qty .stepper { gap: 0; height: 36px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
#calc-tool .qty .stepper button { width: 36px; height: 100%; border: 0; border-radius: 0; font-size: 18px; }
#calc-tool .qty .stepper button:hover { background: #f0fbf9; color: #04847f; }
#calc-tool .qty .stepper b { min-width: 40px; height: 100%; display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 16px; }
#calc-tool .ct-check { align-items: center; margin-top: 10px; cursor: pointer; }
#calc-tool .ct-check > span { flex: 1; min-width: 0; font: 500 14.5px/1.3 var(--title); color: var(--navy); }
#calc-tool .ct-check > span small { display: block; margin-top: 2px; font: 400 12px var(--text); color: var(--muted); }
#calc-tool .ct-check i { order: 3; margin: 0; }
@media (max-width: 640px) { #calc-tool .ct-row.ct-f { flex-direction: row; align-items: center; flex-wrap: wrap; } }
/* only one home country: "Living in" shows it as a fixed box, no arrow */
#calc-tool #ct-home:has(option:only-child) { pointer-events: none; }
#calc-tool .ct-box:has(#ct-home option:only-child) .ct-cv { display: none; }
/* destination airport under each country tile, in the country colour */
.ct-aps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.ct-aps .ct-box[hidden] { display: none; }
.ct-aps:has(.ct-box[hidden]) { grid-template-columns: 1fr; }
.ct-box.ap { height: 44px; padding-left: 6px; }
.ct-box.ap .ct-bf { width: 30px; height: 28px; } .ct-box.ap .ct-bf svg { width: 20px; height: 14px; }
.ct-box.ap.hu { border-color: var(--blue-200, #bcd6ec); background: var(--blue-50); } .ct-box.ap.tr { border-color: var(--sand-200); background: var(--sand-50); }
#calc-tool .ct-box.ap .ct-sel { font-size: 13.5px; }
#calc-tool .ct-box.ap.hu .ct-sel { color: var(--blue-700); } #calc-tool .ct-box.ap.tr .ct-sel { color: var(--sand-800); }
@media (max-width: 420px) { .ct-aps { grid-template-columns: 1fr; } }
/* v5: Destination = one row per country under Departing from, in the country colour, each with a tick to compare it */
.ct-pl small { margin-left: 6px; font: 400 12px var(--text); color: var(--muted); }
.ct-dests { display: grid; gap: 8px; }
.ct-box { min-width: 0; }
.ct-box.ap { height: 50px; padding: 0 14px 0 10px; }
.ct-box.ap .ct-bf { width: 36px; height: 34px; } .ct-box.ap .ct-bf svg { width: 24px; height: 16px; }
#calc-tool .ct-box.ap .ct-sel { font-size: 15px; }
.ct-box.ap.hu { border: 1.5px solid var(--blue-400); } .ct-box.ap.tr { border: 1.5px solid var(--sand-400); }
.ct-box.ap .ct-d { flex: none; display: grid; place-items: center; padding: 0; border: 0; background: none; }
.ct-box.ap .ct-d:hover { border: 0; }
.ct-box.ap.off { border-color: var(--line); background: #f6f8fa; }
.ct-box.ap.off .ct-dk { background: #fff; border-color: #b8c4cf; } .ct-box.ap.off .ct-dk svg { opacity: 0; }
.ct-box.ap.off .ct-bf { filter: grayscale(1) opacity(.5); }
#calc-tool .ct-box.ap.off .ct-sel { color: #9aa8b5; }
