/* ==========================================================================
   Student tools: Profile Match and Cost Calculator. Pairs with tools.js.
   Loads after epal.css and home.css. From 992px each tool (inputs and result)
   is kept to about 640px tall so it fits a 1366x768 laptop at 80% zoom.
   ========================================================================== */

:root {
    --tl-ok: #1f8a5b;
    --tl-warn: #a86a12;
    --tl-bad: #c2372f;
    --tl-gold: #c9a46a;
}
.k-t { background: var(--brand); }
.k-l { background: var(--sky); }
.k-o { background: var(--tl-gold); }

/* ---------- Head: title left, one paragraph right ---------- */
.tl-top { position: relative; padding: clamp(10px, 1.6vw, 16px) 0 clamp(12px, 1.4vw, 16px); overflow: hidden; overflow: clip; }
.tl-top::before {
    content: ""; position: absolute; z-index: -1; left: -10%; top: -60%; width: min(560px, 80vw); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 185, 255, .25), transparent 68%); pointer-events: none;
}
.tl-top__grid { display: grid; gap: 10px; }
@media (min-width: 992px) { .tl-top__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; } }
.tl-top__copy { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.tl-top .ep-crumbs { color: var(--muted); }
.tl-top .ep-crumbs > * { display: inline-flex; align-items: center; }
.tl-top .ep-crumbs a { min-height: 32px; }
.tl-top .ep-crumbs a:hover { color: var(--brand-deep); }
.tl-top__title { font-family: var(--serif); font-weight: 350; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.tl-top__title em { color: var(--brand); }
.tl-top__side { display: grid; gap: 6px; min-width: 0; }
.tl-top__side > p:first-child { max-width: 58ch; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.tl-top__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; font-size: 13.5px; color: var(--muted); }
.tl-top__meta a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--brand-deep); }
.tl-top__meta a svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.tl-top__meta a:hover svg { transform: translateX(3px); }
/* Head lines arrive one after another (tools.js adds .tl-mo; nothing is hidden without it) */
.tl-mo .tl-top__copy > *, .tl-mo .tl-top__side > * { animation: tl-rise .7s var(--ease-out) both; }
.tl-mo .tl-top__copy > :nth-child(2) { animation-delay: .06s; }
.tl-mo .tl-top__side > :nth-child(1) { animation-delay: .12s; }
.tl-mo .tl-top__side > :nth-child(2) { animation-delay: .18s; }
@keyframes tl-rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Tool section ---------- */
.tl-app { position: relative; padding: 0 0 clamp(28px, 4vw, 44px); overflow-x: clip; }
.tl-none { padding: 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tl-none a { font-weight: 700; color: var(--brand-deep); text-decoration: underline; }
.tl-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tl-label i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; letter-spacing: 0; }
.tl-help { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* shared hidden inputs */
.tl-opt input, .tl-seg input, .tl-bands input, .tl-chips input, .tl-country input, .tl-lifeopt input, .tl-card__sl input, .tl-switch input {
    position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}

/* segmented radios */
.tl-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tl-seg label { flex: 1 1 auto; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-seg span {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 4px 10px; border-radius: 9px;
    font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s;
}
.tl-seg label:hover span { color: var(--text); }
.tl-seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 4px 12px -6px rgba(6, 18, 42, .35), inset 0 0 0 1px var(--line); }
.tl-seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }
.tl-seg--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl-seg__2 { flex-direction: column; gap: 0 !important; line-height: 1.1 !important; }
.tl-seg__2 small { font-size: 11px; font-weight: 600; opacity: .75; }

/* switch */
.tl-switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14.5px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.tl-switch__ui { flex: none; position: relative; width: 44px; height: 26px; border-radius: 26px; background: rgba(6, 18, 42, .2); transition: background .3s; }
.tl-switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(6, 18, 42, .3); transition: transform .35s var(--ease-out); }
.tl-switch input:checked + .tl-switch__ui { background: var(--brand); }
.tl-switch input:checked + .tl-switch__ui::after { transform: translateX(18px); }
.tl-switch input:focus-visible + .tl-switch__ui { outline: 2px solid var(--brand); outline-offset: 3px; }
.tl-switch strong { display: block; font-size: 14.5px; }
.tl-switch small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--muted); }

/* ======================================================================
   COST CALCULATOR
   ====================================================================== */
.tl-calc { display: grid; gap: 16px; align-items: start; }
.tl-calc[hidden] { display: none; }
@media (min-width: 992px) { .tl-calc { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; } }
.tl-calc__in { min-width: 0; padding: clamp(14px, 2vw, 20px); border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -36px rgba(6, 18, 42, .5); }
.tl-block { padding-block: 10px; border-top: 1px solid var(--line); min-width: 0; }
.tl-block:first-child { padding-top: 0; border-top: 0; }
.tl-block:last-child { padding-bottom: 0; }
@media (min-width: 640px) { .tl-block--two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; } }
.tl-block--two > div { min-width: 0; }
.tl-block--two > div + div { margin-top: 10px; }
@media (min-width: 640px) { .tl-block--two > div + div { margin-top: 0; } }
.tl-block--two > [hidden] { display: none; }
.tl-block--two:has(> [hidden]) { grid-template-columns: 1fr; }
.tl-block--cur { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tl-block--cur .tl-label { margin: 0; }
.tl-block--cur .tl-seg { flex: 1 1 260px; }

.tl-countries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tl-country { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-country[hidden] { display: none; }
.tl-country__box {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 10px;
    min-height: 50px; padding: 6px 12px; border-radius: 10px; color: #fff; background: var(--ink-2);
    transition: box-shadow .3s;
}
.tl-country__box::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img, none) center / cover; transition: transform .9s var(--ease-out); }
.tl-country__box::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 18, 42, .88), rgba(6, 18, 42, .45)); transition: background .3s; }
.tl-country__box .ep-flag { grid-row: span 2; }
.tl-country__box strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; }
.tl-country__box small { font-size: 12px; color: rgba(255, 255, 255, .78); }
.tl-country:hover .tl-country__box::before { transform: scale(1.06); }
.tl-country input:checked + .tl-country__box { box-shadow: 0 0 0 3px var(--brand); }
.tl-country input:not(:checked) + .tl-country__box::after { background: linear-gradient(90deg, rgba(6, 18, 42, .92), rgba(6, 18, 42, .7)); }
.tl-country input:focus-visible + .tl-country__box { outline: 2px solid var(--brand); outline-offset: 4px; }

.tl-selects { display: grid; gap: 8px; }
@media (min-width: 1200px) { .tl-selects { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.tl-field select {
    width: 100%; min-height: 52px; padding: 20px 40px 6px 14px; border-radius: 10px; cursor: pointer; text-overflow: ellipsis; font-weight: 600;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2306122a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
}
.tl-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 107, 214, .15); }
.tl-field select + label { left: 15px; top: 15px; transform: translateY(-9px) scale(.76); }
.tl-field select:focus + label { color: var(--brand); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 26px; }
.tl-meta .ep-badge { padding: 3px 9px; font-size: 11.5px; }
.tl-help__intake { font-size: 12.5px; color: var(--muted); }

.tl-life { display: grid; gap: 6px; }
@media (min-width: 520px) { .tl-life { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tl-lifeopt { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-lifeopt > span {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; height: 100%; min-height: 52px; padding: 8px 12px;
    border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s;
}
.tl-lifeopt strong { font-size: 14.5px; }
.tl-lifeopt small { grid-column: 1; font-size: 12px; line-height: 1.3; color: var(--muted); }
.tl-lifeopt em { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 520px) {
    .tl-lifeopt > span { grid-template-columns: 1fr; align-content: start; gap: 1px; }
    .tl-lifeopt em { grid-column: 1; grid-row: auto; margin-top: 4px; text-align: left; }
}
.tl-lifeopt input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 10px 20px -14px rgba(6, 18, 42, .8); }
.tl-lifeopt input:checked + span small { color: var(--muted-on-ink); }
.tl-lifeopt input:checked + span em { color: var(--sky); }
.tl-lifeopt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.tl-range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tl-range-head .tl-label { margin-bottom: 0; }
.tl-range-out { font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.tl-range { --v: 0%; width: 100%; height: 44px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.tl-range:focus { outline: none; }
.tl-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--v), rgba(6, 18, 42, .12) var(--v)); }
.tl-range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(6, 18, 42, .12); }
.tl-range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brand); }
.tl-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--brand), 0 4px 10px -3px rgba(6, 18, 42, .4); transition: transform .2s var(--ease-out); }
.tl-range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--brand), 0 4px 10px -3px rgba(6, 18, 42, .4); }
.tl-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.tl-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--brand), 0 0 0 7px rgba(30, 107, 214, .2); }
.tl-block--two .tl-help { margin-top: 0; }

/* results panel */
.tl-calc__out { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 992px) { .tl-calc__out { position: sticky; top: calc(var(--header-h) + 12px); } }
.tl-panel { position: relative; overflow: hidden; isolation: isolate; padding: clamp(16px, 2.2vw, 24px); border-radius: 14px; color: #fff; background: var(--ink); }
.tl-panel::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 107, 214, .5), transparent 68%); }
.tl-panel__head { display: flex; gap: 12px; align-items: center; }
.tl-panel__head .ep-mono { flex: none; width: 42px; height: 42px; border-radius: 10px; }
.tl-panel__head div { display: grid; min-width: 0; }
.tl-panel__head strong { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.tl-panel__head span { font-size: 13px; color: var(--muted-on-ink); overflow-wrap: anywhere; }
.tl-panel__total { display: grid; gap: 2px; margin: 14px 0 12px; }
.tl-panel__total > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.tl-panel__total > b { min-height: 1.05em; font-family: var(--serif); font-weight: 350; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tl-panel__total small { font-size: 13.5px; color: var(--muted-on-ink); }
.tl-panel__total small span { color: #fff; font-weight: 700; }
.tl-stack { display: flex; gap: 2px; height: 10px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.tl-stack i { width: var(--w, 0%); min-width: 0; transition: width .7s var(--ease-out); }
.tl-legend { display: grid; margin-top: 6px; }
.tl-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 38px; padding: 4px 0; border-bottom: 1px solid var(--line-on-ink); font-size: 14px; transition: opacity .3s; }
.tl-legend li.is-off { opacity: .45; }
.tl-legend li > i { width: 10px; height: 10px; border-radius: 3px; }
.tl-legend li span { color: rgba(255, 255, 255, .86); }
.tl-legend em { margin-left: 4px; font-style: normal; font-size: 12px; color: var(--muted-on-ink); }
.tl-legend b { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.tl-panel__save { margin-top: 10px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; background: rgba(110, 231, 168, .1); color: #a7f3d0; box-shadow: inset 0 0 0 1px rgba(110, 231, 168, .25); }
.tl-panel__save[hidden] { display: none; }
.tl-panel__full { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-on-ink); }
.tl-panel__full > div { display: grid; gap: 2px; min-width: 0; }
.tl-panel__full span { font-size: 13.5px; font-weight: 700; }
.tl-panel__full small { font-size: 12px; line-height: 1.4; color: var(--muted-on-ink); overflow-wrap: anywhere; }
.tl-panel__full > b { flex: none; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .tl-panel__full { flex-direction: column; align-items: flex-start; } }
.tl-panel__cta { display: grid; gap: 8px; margin-top: 14px; }
@media (min-width: 560px) { .tl-panel__cta { grid-template-columns: auto minmax(0, 1fr); } }
.tl-panel__cta .ep-btn { width: 100%; min-height: 46px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.tl-panel .ep-btn--ghost { color: #fff; }

.tl-compare { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tl-compare[hidden] { display: none; }
.tl-compare__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 30px; }
.tl-compare__head .tl-label { margin: 0; }
.tl-compare__head small { font-size: 12.5px; color: var(--muted); }
.tl-compare__track { --x: 50%; position: relative; height: 6px; margin: 0 8px; border-radius: 6px; background: var(--paper-2); }
.tl-compare__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--x, 50%); border-radius: 6px; background: var(--brand); transition: width .7s var(--ease-out); }
.tl-compare__pin { position: absolute; top: 50%; left: var(--x, 50%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--brand); transition: left .7s var(--ease-out); }
.tl-compare__pin b { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tl-compare__ends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.tl-compare__ends a { display: grid; gap: 1px; align-content: start; min-width: 0; min-height: 44px; padding: 8px 10px; border-radius: 8px; background: var(--paper); transition: box-shadow .25s; }
.tl-compare__ends a:last-child { text-align: right; }
.tl-compare__ends a:hover, .tl-compare__ends a.is-current { box-shadow: inset 0 0 0 1px var(--brand); }
.tl-compare__ends small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-compare__ends strong { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tl-compare__ends span { font-size: 12px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Phones: a pill with the first-year total while the results are off-screen (the site dock hides meanwhile) */
.tl-peek {
    position: fixed; z-index: 74; right: 12px; bottom: calc(var(--ep-float-stack, 88px) + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; max-width: calc(100vw - 24px); padding: 0 18px;
    border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 14px 30px -12px rgba(30, 107, 214, .7);
    transform: translateY(calc(100% + var(--ep-float-stack, 88px) + 40px)); transition: transform .5s var(--ease-out); white-space: nowrap;
}
.tl-peek span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tl-peek b { font-size: 16px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.tl-peek.is-visible { transform: none; }
@media (min-width: 992px) { .tl-peek { display: none; } }
.tl-in-tool .ep-dock, .tl-has-bar .ep-dock, .tl-has-peek .ep-dock { transform: translateY(calc(100% + 40px)) !important; }
.tl-has-peek .ep-wa-float, .tl-has-bar .ep-wa-float { opacity: 0; pointer-events: none; }

/* ======================================================================
   PROFILE MATCH
   ====================================================================== */
.tl-match { display: grid; gap: 16px; align-items: start; }
@media (min-width: 992px) {
    .tl-match { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
    .tl-match.is-done { grid-template-columns: minmax(0, 1fr) 250px; }
}
.tl-match__main { min-width: 0; }

.tl-wizard { position: relative; padding: clamp(16px, 2.4vw, 24px); border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -36px rgba(6, 18, 42, .5); }
.tl-wizard[hidden], .tl-results[hidden] { display: none; }
.tl-wizard.is-shake { animation: tl-shake .4s var(--ease); }
@keyframes tl-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.tl-wizard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tl-wizard__count { flex: none; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tl-wizard__count b { color: var(--brand); }
.tl-progress { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tl-progress i { position: relative; overflow: hidden; height: 4px; border-radius: 4px; background: rgba(6, 18, 42, .08); }
.tl-progress i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.tl-progress i.is-done::after { transform: scaleX(1); }
.tl-progress i.is-cur::after { transform: scaleX(.45); background: var(--sky); }

.tl-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.tl-step[hidden] { display: none; }
.tl-step.is-next { animation: tl-in-next .45s var(--ease-out) both; }
.tl-step.is-prev { animation: tl-in-prev .45s var(--ease-out) both; }
@keyframes tl-in-next { from { opacity: 0; transform: translateX(28px); } }
@keyframes tl-in-prev { from { opacity: 0; transform: translateX(-28px); } }
.tl-step__q { float: left; width: 100%; padding: 0; font-family: var(--serif); font-weight: 350; font-size: clamp(25px, 2.6vw, 33px); line-height: 1.1; letter-spacing: -.02em; }
.tl-step__q + * { clear: both; }
.tl-step__q:focus { outline: none; }
.tl-step__q em { font-style: italic; color: var(--brand); }
.tl-step__hint { padding-top: 4px; margin-bottom: 12px; font-size: 14.5px; color: var(--muted); }

.tl-options { display: grid; gap: 8px; }
@media (min-width: 560px) { .tl-options--levels, .tl-options--quals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .tl-options--levels, .tl-options--quals, .tl-options--eng { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tl-opt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-opt__box {
    display: flex; align-items: center; gap: 10px; height: 100%; min-height: 56px; padding: 8px 12px; border-radius: 10px;
    background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s, transform .3s var(--ease-out);
}
.tl-opt:hover .tl-opt__box { box-shadow: inset 0 0 0 1px rgba(30, 107, 214, .55); }
.tl-opt:active .tl-opt__box { transform: scale(.985); }
.tl-opt__no { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 700; transition: background .25s, color .25s; }
.tl-opt__txt { display: grid; gap: 1px; flex: 1; min-width: 0; }
.tl-opt__txt strong { font-size: 15px; font-weight: 700; line-height: 1.25; }
.tl-opt__txt small { font-size: 12.5px; line-height: 1.3; color: var(--muted); transition: color .25s; }
.tl-opt input:checked + .tl-opt__box { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -14px rgba(6, 18, 42, .8); }
.tl-opt input:checked + .tl-opt__box small { color: var(--muted-on-ink); }
.tl-opt input:checked + .tl-opt__box .tl-opt__no { background: var(--brand); color: #fff; box-shadow: none; }
.tl-opt input:focus-visible + .tl-opt__box { outline: 2px solid var(--brand); outline-offset: 3px; }

.tl-result, .tl-ielts { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tl-result { display: grid; gap: 10px; }
@media (min-width: 640px) { .tl-result { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 8px 16px; align-items: end; } .tl-result .tl-help { grid-column: 1 / -1; margin-top: 0; } }
.tl-ielts[hidden], .tl-region[hidden] { display: none; }
.tl-ielts:not([hidden]) { animation: tl-in-next .4s var(--ease-out) both; }
.tl-input { display: flex; align-items: center; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(6, 18, 42, .22); transition: box-shadow .25s; }
.tl-input:focus-within { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px rgba(30, 107, 214, .12); }
.tl-input input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font: 600 20px var(--sans); color: var(--text); font-variant-numeric: tabular-nums; }
.tl-input input:focus { outline: none; }
.tl-input input::placeholder { color: rgba(6, 18, 42, .3); font-weight: 500; }
.tl-input input:disabled { opacity: .4; }
.tl-input__suffix { padding: 0 14px; font-size: 16px; font-weight: 700; color: var(--muted); }
.tl-input--money select {
    flex: none; height: 52px; padding: 0 30px 0 12px; border: 0; border-right: 1px solid var(--line); border-radius: 10px 0 0 10px; appearance: none; -webkit-appearance: none; cursor: pointer;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2306122a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
    font: 700 15px var(--sans); color: var(--text);
}
.tl-input--money select:focus { outline: none; }
.tl-input--money select:disabled { opacity: .4; }

.tl-bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 560px) { .tl-bands { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tl-bands { grid-template-columns: repeat(11, minmax(0, 1fr)); } }
.tl-bands label { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-bands span { display: grid; place-items: center; min-height: 46px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, transform .25s var(--ease-out); }
.tl-bands label:hover span { box-shadow: inset 0 0 0 1px rgba(30, 107, 214, .55); }
.tl-bands input:checked + span { background: var(--brand); color: #fff; box-shadow: none; transform: translateY(-2px); }
.tl-bands input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.tl-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; transition: opacity .3s; }
.tl-presets.is-off { opacity: .35; pointer-events: none; }
.tl-presets button { min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.tl-presets button:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.tl-presets button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tl-budget [data-tl-budget-conv] { min-height: 1.45em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tl-budget .tl-switch { margin-top: 4px; }

.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chips label { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-chips span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.tl-chips span::before { content: "+"; font-weight: 700; color: var(--brand); }
.tl-chips input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.tl-chips input:checked + span::before { content: "✓"; color: var(--sky); }
.tl-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.tl-where { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .tl-where { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.tl-where > div { min-width: 0; }

.tl-error { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--tl-bad); }
.tl-error:empty { display: none; }
.tl-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tl-back { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 10px; border-radius: 10px; font-size: 14.5px; font-weight: 700; transition: background .2s, opacity .2s; }
.tl-back svg { width: 16px; height: 16px; }
.tl-back:hover:not(:disabled) { background: var(--paper-2); }
.tl-back:disabled { opacity: .3; cursor: default; }
.tl-next { min-width: 140px; }
@media (max-width: 479px) { .tl-next { flex: 1; } }

.tl-resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.tl-resume[hidden] { display: none; }
.tl-resume p { font-size: 14px; color: var(--muted-on-ink); }
.tl-resume strong { color: #fff; }
.tl-btn-s { min-height: 44px; padding: 0 16px; font-size: 14px; }
.tl-textbtn { min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tl-resume .tl-textbtn { color: var(--muted-on-ink); }

/* Live count beside the questions */
.tl-live { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--ink); color: #fff; }
@media (min-width: 992px) { .tl-live { position: sticky; top: calc(var(--header-h) + 12px); } }
.tl-live__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.tl-live__big { display: flex; align-items: baseline; gap: 8px; margin-top: -4px; }
.tl-live__big b { font-family: var(--serif); font-weight: 350; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.tl-live__big span { font-size: 14px; color: var(--muted-on-ink); }
.tl-live__cc { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tl-live__cc li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted-on-ink); }
.tl-live__cc i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.tl-live__cc i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 100%); border-radius: 4px; background: var(--sky); transition: width .5s var(--ease-out); }
.tl-live__cc b { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.tl-live__recap { display: grid; margin: 2px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-on-ink); }
.tl-live__recap button {
    display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0 10px; align-items: center; width: 100%; min-height: 44px; padding: 5px 0;
    border-bottom: 1px solid var(--line-on-ink); text-align: left; color: #fff; transition: padding .3s var(--ease-out), opacity .2s;
}
.tl-live__recap button:disabled { opacity: .45; cursor: default; }
.tl-live__recap button:not(:disabled):hover { padding-left: 4px; }
.tl-live__recap button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.tl-live__recap i { grid-row: span 2; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-on-ink); font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted-on-ink); }
.tl-live__recap .is-set i { background: var(--sky); color: var(--ink); box-shadow: none; }
.tl-live__recap .is-cur i { background: #fff; color: var(--ink); box-shadow: none; }
.tl-live__recap span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); }
.tl-live__recap em { font-style: normal; font-size: 13.5px; line-height: 1.3; overflow-wrap: anywhere; color: rgba(255, 255, 255, .6); }
.tl-live__recap .is-set em { color: #fff; }
.tl-live__note { font-size: 12px; line-height: 1.45; color: var(--muted-on-ink); }
@media (max-width: 991px) {
    /* Phones and tablets: only the count, as a strip under the questions */
    .tl-live { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 12px 14px; }
    .tl-live__label { grid-column: 2; grid-row: 1; }
    .tl-live__big { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
    .tl-live__big b { font-size: 38px; }
    .tl-live__big span { display: none; }
    .tl-live__cc { grid-column: 2; grid-row: 2; }
    .tl-live__cc li { grid-template-columns: 70px minmax(0, 1fr) 28px; }
    .tl-live__recap, .tl-live__note { display: none; }
}

/* ---------- Results ---------- */
.tl-results.is-in .tl-sum, .tl-results.is-in .tl-tips, .tl-results.is-in .tl-pathway { animation: tl-rise .7s var(--ease-out) both; }
.tl-results.is-in .tl-tips { animation-delay: .1s; }
.tl-sum { display: grid; gap: 12px; align-items: start; margin-bottom: 16px; }
@media (min-width: 760px) { .tl-sum { grid-template-columns: minmax(0, 1fr) auto; } }
.tl-sum__main { display: grid; gap: 10px; min-width: 0; }
.tl-sum__title { font-family: var(--serif); font-weight: 350; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.02em; }
.tl-sum__title em { color: var(--brand); font-style: normal; }
.tl-sum__title:focus { outline: none; }
.tl-sum__countries { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-cc { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.tl-cc.is-zero { opacity: .55; }
.tl-cc.is-muted { padding-left: 12px; background: transparent; color: var(--muted); }
.tl-sum__answers { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tl-sum__answers li { padding: 3px 10px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }

.tl-pathway { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.tl-pathway[hidden] { display: none; }
.tl-pathway__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--tl-gold); }
.tl-pathway__icon svg { width: 22px; height: 22px; }
.tl-pathway strong { display: block; margin-bottom: 2px; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.tl-pathway p { font-size: 14.5px; color: var(--muted-on-ink); }

/* Tips: one wide, two narrow, so the row does not read as three equal boxes */
.tl-tips { display: grid; gap: 0; margin-bottom: 18px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .tl-tips { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; } }
.tl-tip { display: grid; gap: 2px; align-content: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .tl-tip { border-bottom: 0; } }
.tl-tip__k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }
.tl-tip strong { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
.tl-tip p { font-size: 14px; line-height: 1.45; color: var(--muted); }

.tl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.tl-bar .tl-seg { flex: 0 1 300px; }
.tl-bar__note { font-size: 13.5px; color: var(--muted); }

.tl-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .tl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tl-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border-radius: 12px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(14px);
    transition: opacity .6s var(--ease-out) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms), box-shadow .3s;
}
.tl-card.is-in { opacity: 1; transform: none; }
.tl-card.is-in:hover { box-shadow: inset 0 0 0 1px rgba(30, 107, 214, .45), 0 18px 36px -28px rgba(6, 18, 42, .5); transition-delay: 0ms; }
.tl-card.is-match { box-shadow: inset 3px 0 0 var(--tl-ok), inset 0 0 0 1px var(--line); }
.tl-card__top { display: flex; gap: 12px; align-items: flex-start; }
.tl-card__head { display: grid; gap: 2px; min-width: 0; }
.tl-card__tier { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-card.is-match .tl-card__tier { color: var(--tl-ok); }
.tl-card__name { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.tl-card__uni { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); min-width: 0; }
.tl-card__uni span:last-child { overflow-wrap: anywhere; }
.tl-card__uni:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.tl-card__uni .ep-mono { flex: none; width: 26px; height: 26px; border-radius: 7px; font-size: 9.5px; box-shadow: none; }
.tl-card__place { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.tl-card__chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tl-card__chips li { padding: 3px 9px; border-radius: 999px; background: var(--paper-2); font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.tl-card__chips li:first-child { background: rgba(30, 107, 214, .1); color: var(--brand-deep); }
.tl-reasons { display: grid; gap: 5px; margin: 0; padding: 10px 0; list-style: none; border-block: 1px solid var(--line); }
.tl-reasons li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; }
.tl-reasons svg { flex: none; width: 18px; height: 18px; }
.tl-reasons .is-ok svg { color: var(--tl-ok); }
.tl-reasons .is-warn svg { color: var(--tl-warn); }
.tl-reasons .is-bad svg { color: var(--tl-bad); }
.tl-reasons .is-info svg { color: var(--brand); }
.tl-reasons .is-bad span { color: #8e2620; }
.tl-card__cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.tl-card__cost div { min-width: 0; }
.tl-card__cost dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tl-card__cost dd { margin: 1px 0 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tl-card__intakes { grid-column: 1 / -1; }
.tl-card__intakes dd { font-size: 13.5px; font-weight: 600; }
.tl-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: auto; }
.tl-card__calc { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); }
.tl-card__calc svg { transition: transform .3s var(--ease-out); }
.tl-card__calc:hover svg { transform: translateX(3px); }
.tl-card__sl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.tl-card__slbox { position: relative; flex: none; width: 18px; height: 18px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(6, 18, 42, .3); transition: background .25s; }
.tl-card__slbox::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease-out); }
.tl-card__sl input:checked ~ .tl-card__slbox { background: var(--brand); box-shadow: none; }
.tl-card__sl input:checked ~ .tl-card__slbox::after { transform: rotate(45deg) scale(1); }
.tl-card__sl:has(input:checked) { background: rgba(30, 107, 214, .08); color: var(--brand-deep); }
.tl-card__sl input:focus-visible ~ .tl-card__slbox { outline: 2px solid var(--brand); outline-offset: 2px; }

.tl-ring { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; --p: 0; --rc: var(--brand); }
.tl-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tl-ring circle { fill: none; stroke-width: 6; }
.tl-ring__track { stroke: rgba(6, 18, 42, .08); }
.tl-ring__bar { stroke: var(--rc); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--p) * 100); transition: stroke-dashoffset 1.1s var(--ease-out), stroke .4s; }
.tl-ring > b { position: relative; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-ring.is-high { --rc: var(--tl-ok); }
.tl-ring.is-mid { --rc: var(--brand); }
.tl-ring.is-low { --rc: #d68c1e; }

.tl-more { display: flex; margin: 14px auto 0; color: var(--ink); }
.tl-more[hidden] { display: none; }
.tl-others { display: grid; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.tl-others[hidden] { display: none; }
.tl-others__h { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.tl-others__h em { color: var(--brand); }
.tl-others > p { max-width: 64ch; margin-bottom: 6px; font-size: 14.5px; color: var(--muted); }
.tl-others .tl-card { background: rgba(255, 255, 255, .7); }
.tl-empty { padding: 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.tl-empty[hidden] { display: none; }

/* Shortlist bar: replaces the site dock and the WhatsApp button while it shows */
.tl-shortlist { position: fixed; z-index: 75; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.tl-shortlist[hidden] { display: none; }
.tl-shortlist.is-visible { animation: tl-up .5s var(--ease-out) both; }
@keyframes tl-up { from { transform: translateY(calc(100% + 24px)); } }
.tl-shortlist.is-full .tl-shortlist__in { animation: tl-shake .4s var(--ease); }
.tl-shortlist__in {
    pointer-events: auto; display: flex; align-items: center; gap: 10px; width: min(100%, 560px); padding: 6px 6px 6px 10px; border-radius: 14px; color: #fff;
    background: rgba(6, 18, 42, .94); box-shadow: 0 16px 36px -14px rgba(6, 18, 42, .6), inset 0 0 0 1px var(--line-on-ink);
}
.tl-shortlist__monos { display: flex; flex: none; }
.tl-shortlist__monos .ep-mono { width: 32px; height: 32px; border-radius: 50%; font-size: 9px; box-shadow: 0 0 0 2px var(--ink); animation: tl-pop .4s var(--ease-out) both; }
.tl-shortlist__monos .ep-mono + .ep-mono { margin-left: -9px; }
@keyframes tl-pop { from { transform: scale(.4); opacity: 0; } }
.tl-shortlist__txt { min-width: 0; font-size: 13.5px; color: var(--muted-on-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-shortlist__txt strong { font-size: 15px; color: #fff; }
.tl-shortlist__clear { margin-left: auto; min-height: 44px; padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--muted-on-ink); }
.tl-shortlist__clear:hover { color: #fff; }
.tl-shortlist__go { flex: none; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; }
@media (max-width: 479px) {
    .tl-shortlist__txt span, .tl-shortlist__monos .ep-mono:nth-child(n+3) { display: none; }
}
.tl-has-bar .ep-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }

/* ---------- Notes and next step under each tool ---------- */
.tl-notes { padding-top: 0; }
.tl-notes__grid { display: grid; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .tl-notes__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.tl-notes__text { display: grid; gap: 6px; align-content: start; }
.tl-notes__h { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.tl-notes__text p { max-width: 64ch; font-size: 14px; line-height: 1.55; color: var(--muted); }
.tl-notes__next { display: grid; gap: 8px; justify-items: start; }
.tl-notes__next .ep-h2 em { color: var(--brand); }
.tl-notes__next p { max-width: 54ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tl-notes__next .ep-row { margin-top: 4px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .tl-card { opacity: 1; transform: none; transition: none; }
    .tl-step.is-next, .tl-step.is-prev, .tl-ielts:not([hidden]), .tl-results.is-in .tl-sum, .tl-results.is-in .tl-tips, .tl-results.is-in .tl-pathway,
    .tl-shortlist.is-visible, .tl-shortlist__monos .ep-mono, .tl-wizard.is-shake { animation: none; }
    .tl-stack i, .tl-compare__fill, .tl-compare__pin, .tl-ring__bar, .tl-live__cc i::after, .tl-peek, .tl-country__box::before { transition: none; }
}

/* Currency choice sits in the results panel */
.tl-panel__cur { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.tl-panel__cur .tl-label { margin: 0; color: var(--muted-on-ink); }
.tl-panel__cur .tl-seg { flex: 1; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-on-ink); }
.tl-panel__cur .tl-seg span { min-height: 44px; color: var(--muted-on-ink); }
.tl-panel__cur .tl-seg input:checked + span { color: var(--ink); }
@media (min-width: 992px) { .tl-calc__in .tl-life + .tl-help { display: none; } .tl-lifeopt small { display: none; } }

/* Short laptop screens (for example 1366x768 at 80% zoom): head and calculator tighten so inputs, result and buttons fit one screen */
@media (min-width: 992px) and (max-height: 900px) {
    .tl-top { padding: 6px 0 10px; }
    .tl-top__copy { gap: 0; }
    .tl-top .ep-crumbs a { min-height: 26px; }
    .tl-top__title { font-size: 32px; }
    .tl-top__side { gap: 0; }
    .tl-top__side > p:first-child { font-size: 14.5px; line-height: 1.4; }
    .tl-calc__in { padding: 12px 14px; }
    .tl-block { padding-block: 8px; }
    .tl-label { margin-bottom: 6px; }
    .tl-country__box { min-height: 46px; }
    .tl-field select { min-height: 48px; }
    .tl-lifeopt > span { min-height: 44px; padding: 6px 10px; }
    .tl-panel { padding: 14px 18px; }
    .tl-panel__total { margin: 8px 0; }
    .tl-panel__total > b { font-size: 40px; }
    .tl-legend { margin-top: 2px; }
    .tl-legend li { min-height: 30px; padding: 2px 0; }
    .tl-panel__full { margin-top: 8px; padding: 8px 12px; }
    .tl-panel__cur { margin-top: 8px; }
    .tl-panel__cta { margin-top: 10px; }
}

/* ==========================================================================
   v2 (2026-11-08, workstream B): tool tabs and the "Malaysia or Cyprus?" quiz
   ========================================================================== */
.tl-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 2px; border-bottom: 1px solid var(--line); max-width: 100%; }
.tl-tabs a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tl-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--ep-dur-s, .24s) var(--ep-ease-out, ease); }
.tl-tabs a:hover { color: var(--ink); }
.tl-tabs a:hover::after, .tl-tabs a[aria-current="page"]::after { transform: none; }
.tl-tabs a[aria-current="page"] { color: var(--ink); }

.tl-app--quiz { padding: clamp(12px, 2vw, 24px) 0 clamp(48px, 6vw, 80px); }
.tl-quiz { max-width: 760px; }
.tl-quiz__card, .tl-qr {
    position: relative; padding: clamp(18px, 3vw, 32px); border-radius: 16px; background: #fffdf8;
    box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -36px rgba(6, 18, 42, .5);
}
.tl-quiz__card[hidden], .tl-qr[hidden] { display: none; }
/* A torn-ticket edge along the top: paper, not a widget */
.tl-quiz__card::before, .tl-qr::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 6px; background: radial-gradient(circle at 5px -1px, var(--paper, #f6f2ea) 4px, transparent 4.5px) 0 0 / 14px 6px repeat-x; }
.tl-quiz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tl-quiz__step { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-quiz__dots { display: flex; gap: 5px; }
.tl-quiz__dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background var(--ep-dur-s, .24s); }
.tl-quiz__dots i.is-done { background: var(--ink); }
.tl-quiz__dots i.is-now { background: var(--brand); }
.tl-qs { margin: 0; padding: 0; border: 0; min-width: 0; }
.tl-qs[hidden] { display: none; }
.tl-qs.is-in { animation: tl-q-in var(--ep-dur-m, .48s) var(--ep-ease-out, ease) both; }
@keyframes tl-q-in { from { opacity: 0; transform: translateX(18px); } }
.tl-qs__q { padding: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.tl-qs__hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.tl-qs__opts { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 640px) { .tl-qs__opts--many { grid-template-columns: 1fr 1fr; } }
.tl-qo { position: relative; display: block; cursor: pointer; }
.tl-qo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-qo span {
    display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px 10px 46px; border-radius: 12px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3;
    transition: box-shadow var(--ep-dur-s, .24s), background var(--ep-dur-s, .24s);
}
.tl-qo span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--muted); background: #fff; }
.tl-qo:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.tl-qo input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.tl-qo input:checked + span { background: #f1f6ff; box-shadow: inset 0 0 0 2px var(--brand); }
.tl-qo input:checked + span::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.tl-qo.is-tick span::before { animation: tl-tick .38s var(--ep-ease-spring, ease); }
@keyframes tl-tick { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.tl-quiz__nav { display: flex; min-height: 44px; margin-top: 10px; }
.tl-quiz__nav .tl-textbtn, .tl-qr .tl-textbtn { min-height: 44px; }

.tl-qr { outline: none; }
.tl-qr.is-in { animation: tl-stamp .55s var(--ep-ease-spring, ease) both; }
@keyframes tl-stamp { from { opacity: 0; transform: scale(.94) rotate(-1deg); } }
.tl-qr__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-qr__title { margin: 4px 0 0; font-family: var(--serif); font-weight: 350; font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.02em; color: var(--brand); }
.tl-qr__text { max-width: 56ch; margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.tl-qr__counts { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.tl-qr__counts li { padding: 10px 14px; border-left: 3px solid var(--ink); background: #fff; font-weight: 600; }
.tl-qr__why { margin: 20px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tl-qr__reasons { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--text); }
.tl-qr__cta { margin-top: 20px; }
.tl-qr__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
    .tl-qs.is-in, .tl-qr.is-in, .tl-qo.is-tick span::before { animation: none; }
    .tl-tabs a::after { transition: none; }
}
.tl-top__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.tl-top__photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.tl-top__photos img:nth-child(2) { translate: 0 8px; }

/* ==========================================================================
   Fit pass (2026-11-08, builder C): 100% / 90% zoom on short laptop screens
   ========================================================================== */
/* Quiz: the card sits beside a Malaysia / Cyprus photo pair, no empty half-screen */
.tl-quiz__pics { display: none; }
@media (min-width: 992px) {
    .tl-quiz { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--sec-gap); align-items: stretch; }
    .tl-quiz > .tl-quiz__card, .tl-quiz > .tl-qr { grid-column: 1; grid-row: 1; }
    .tl-quiz__pics { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 0; }
    .tl-quiz__pic { position: relative; margin: 0; overflow: hidden; border-radius: 16px; min-height: 0; }
    .tl-quiz__pic:nth-child(2) { translate: 0 18px; }
    .tl-quiz__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out, ease); }
    .tl-quiz__pic:hover img { transform: scale(1.05); }
    .tl-quiz__pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(6, 18, 42, .72); color: #fff; font-family: var(--serif); font-size: 18px; }
    .tl-app--quiz { padding-bottom: var(--sec-pad); }
}

/* Short screens at 100% / 90% zoom (1280x600 .. 1518x730): every widget fits one screen */
@media (max-height: 760px) and (min-width: 960px) {
    .tl-top { padding: 4px 0 8px; }
    .tl-top__title { font-size: clamp(26px, 2.2vw, 30px); }
    .tl-top__side > p:first-child { font-size: 14px; line-height: 1.4; }
    .tl-top__photos { display: none; }
    .tl-tabs a { min-height: 40px; }
    /* Calculator */
    .tl-calc { gap: 14px; }
    .tl-calc__in { padding: 8px 14px; }
    .tl-block { padding-block: 5px; }
    .tl-label { margin-bottom: 4px; font-size: 12px; }
    .tl-country__box { min-height: 44px; }
    .tl-field select { min-height: 44px; }
    .tl-lifeopt > span { min-height: 44px; padding: 4px 10px; }
    .tl-panel { padding: 10px 16px; }
    .tl-panel__total { margin: 4px 0; }
    .tl-panel__total > b { font-size: 34px; }
    .tl-legend li { min-height: 26px; padding: 1px 0; }
    .tl-panel__full { margin-top: 6px; padding: 6px 12px; }
    .tl-panel__cur, .tl-panel__cta { margin-top: 6px; }
    /* Quiz */
    .tl-app--quiz { padding-top: 8px; }
    .tl-quiz__card, .tl-qr { padding: 16px 22px; }
    .tl-quiz__head { margin-bottom: 8px; }
    .tl-qs__q { font-size: 24px; }
    .tl-qs__opts { margin-top: 10px; gap: 6px; }
    .tl-qo span { min-height: 46px; padding-block: 6px; }
    .tl-quiz__nav { margin-top: 4px; }
}
@media (max-height: 760px) and (min-width: 992px) {
    /* Inputs and the result panel share the first row; the fee comparison runs full width beneath */
    .tl-calc { align-items: start; }
    .tl-calc__out { display: contents; }
    .tl-calc__in { grid-column: 1; grid-row: 1; }
    .tl-calc__out > .tl-panel { grid-column: 2; grid-row: 1; }
    .tl-calc__out > :not(.tl-panel) { grid-column: 1 / -1; }
    .tl-compare__head { margin-bottom: 26px; }
    .tl-legend { display: grid; grid-template-columns: 1fr; }
}

/* ==========================================================================
   Fit pass 2 (2026-11-08, builder C2): calculator <= 512px at 1280x600, sticky result,
   mini result bars on phones, quiz photos on phones
   ========================================================================== */
@media (max-height: 760px) and (min-width: 992px) {
    /* Inputs + fee comparison on the left, the result panel sticks on the right */
    .tl-calc { gap: 12px 18px; }
    .tl-calc__in { grid-column: 1; grid-row: 1; }
    .tl-calc__out > .tl-panel { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--header-h) + 12px); z-index: 2; }
    .tl-calc__out > :not(.tl-panel) { grid-column: 1; grid-row: 2; }
    .tl-block--two { align-items: center; }
    .tl-switch small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .tl-block--two .tl-help { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; }
    .tl-calc__in .tl-meta { min-height: 0; margin-top: 4px; }
    .tl-panel__head { margin-bottom: 4px; }
    /* Comparison: low end | track | high end on one row */
    .tl-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 8px 12px; }
    .tl-compare__head { grid-column: 1 / -1; margin-bottom: 0; }
    .tl-compare__ends { display: contents; }
    .tl-compare__ends a:first-child { grid-column: 1; grid-row: 2; }
    .tl-compare__track { grid-column: 2; grid-row: 2; margin: 18px 8px 0; }
    .tl-compare__ends a:last-child { grid-column: 3; grid-row: 2; }
    .tl-compare__ends a { padding: 4px 8px; }
    .tl-compare__ends span { -webkit-line-clamp: 1; }
    .tl-calc__in .tl-block { padding-block: 3px; }
    .tl-compare { padding: 6px 12px; }
    .tl-compare__ends a { padding: 2px 8px; }
    .tl-lifeopt > span { padding-block: 2px; }
}

/* Phones and tablets: compact calculator and a full-width mini result bar */
@media (max-width: 991px) {
    .tl-calc__in .tl-life + .tl-help { display: none; }
    .tl-life { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .tl-lifeopt > span { display: grid; grid-template-columns: 1fr; align-content: center; gap: 2px; min-height: 64px; padding: 8px 6px; text-align: center; }
    .tl-lifeopt small { display: none; }
    .tl-lifeopt strong { font-size: 13.5px; }
    .tl-lifeopt em { grid-column: 1; grid-row: auto; margin-top: 0; font-size: 12px; text-align: center; }
    .tl-switch small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .tl-block { padding-block: 8px; }
    .tl-peek { left: 12px; right: 12px; justify-content: space-between; padding: 0 16px; }
    .tl-peek i { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
    /* Profile match: the live count sticks above the dock while answering */
    .tl-live { position: sticky; z-index: 5; bottom: calc(var(--ep-float-stack, 88px) + env(safe-area-inset-bottom)); box-shadow: 0 14px 30px -12px rgba(6, 18, 42, .55); }
    .tl-match:has(.tl-results:not([hidden])) .tl-live { position: static; }
}
@media (max-width: 599px) {
    .tl-live { padding: 8px 12px; }
    .tl-live__big b { font-size: 30px; }
    .tl-opt__box small { display: none; }
    .tl-wizard .tl-step__hint { font-size: 13px; }
}

/* Quiz on phones: the country photos sit in the top section */
.tl-top__photos--quiz { grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
.tl-top__photos--quiz figure { position: relative; margin: 0; overflow: hidden; border-radius: 12px; }
.tl-top__photos--quiz img { aspect-ratio: 16 / 9; border-radius: 0; }
.tl-top__photos--quiz figure:nth-child(2) { translate: 0 8px; }
.tl-top__photos--quiz figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(6, 18, 42, .72); color: #fff; font-family: var(--serif); font-size: 15px; }
@media (min-width: 992px) { .tl-top__photos--quiz { display: none; } }
@media (max-height: 760px) and (min-width: 960px) { .tl-top__photos--quiz { display: none; } }
@media (max-width: 991px) { .tl-app--quiz, .tl-app--match { padding-bottom: 16px; } }

/* ======================================================================
   Phones & tablets (desktop 960px+ unchanged): readable small print and a
   slimmer live count that sits on the bottom edge while the dock is hidden
   ====================================================================== */
@media (max-width: 959px) {
    .tl-top__meta, .tl-help, .tl-panel__head span, .tl-panel__total small, .tl-panel__full span { font-size: 14px; }
    .tl-help__intake, .tl-switch small, .tl-panel__full small, .tl-compare__head small { font-size: 13.5px; }
    .tl-help .ep-badge, .tl-meta .ep-badge { font-size: 12.5px; }
    .tl-legend em, .tl-lifeopt em { font-size: 13px; }
    .tl-lifeopt strong { font-size: 14px; }
    .tl-country__box small { font-size: 13px; }
    .tl-compare__ends small { font-size: 12px; }
    .tl-compare__ends span { font-size: 13px; }
    .tl-compare__pin b { font-size: 12px; }
    .tl-opt__no { font-size: 12.5px; }
    .tl-wizard .tl-step__hint { font-size: 14px; }
    .tl-live__label { font-size: 12px; }
    .tl-live__cc li { font-size: 14px; }
    .tl-peek i { font-size: 14px; }
    /* While answering, the site dock is hidden, so the live count drops to the bottom edge instead of floating 88px up */
    .tl-in-tool .tl-live { bottom: calc(8px + env(safe-area-inset-bottom)); }
}
@media (max-width: 599px), (max-width: 959px) and (max-height: 500px) {
    /* Phones (and phones in landscape): one slim strip, big number, label, then "Malaysia 37 · Cyprus 28" without the bars */
    .tl-live { gap: 0 12px; padding: 7px 14px; border-radius: 12px; }
    .tl-live__big b { font-size: 28px; }
    .tl-live__cc { display: flex; flex-wrap: wrap; gap: 0 14px; }
    .tl-live__cc li { display: flex; gap: 6px; align-items: baseline; }
    .tl-live__cc i { display: none; }
}

/* ==========================================================================
   v3 "Orbit" (2026-11-18): dark HUD head, glass live panels, gradient rims.
   Tokens come from epal.css; nothing here redefines globals.
   ========================================================================== */

/* ---------- Head: dark aurora band that slides under the header ---------- */
.tl-top.nx-dark { margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 8px) 0 clamp(40px, 4vw, 52px); }
.tl-top.nx-dark::before { display: none; }
.tl-top .tl-top__grid { position: relative; z-index: 2; }
.tl-top__vid { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity 1.4s ease; }
.tl-top__vid.is-on { opacity: .34; }
.tl-top.nx-dark::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .6; }
.tl-top .ep-crumbs { color: var(--muted-on-ink); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tl-top .ep-crumbs a { color: var(--sky); }
.tl-top .ep-crumbs a:hover { color: #fff; }
.tl-top__title { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.tl-top__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-top__side > p:first-child { color: var(--muted-on-ink); }
.tl-top__meta { color: var(--muted-on-ink); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tl-top__meta a { color: var(--cyan); }
.tl-top__photos img { border-radius: 12px; box-shadow: 0 0 0 1px var(--glass-line), 0 14px 30px -16px rgba(0, 0, 0, .7); transition: transform .6s var(--ease-out); }
.tl-top__photos img:hover { transform: translateY(-4px) scale(1.03); }
.tl-top__photos--quiz figcaption { font-family: var(--display); background: rgba(2, 6, 26, .7); }

/* Tabs become a glass segmented control */
.tl-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding: 4px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tl-tabs a { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; color: var(--muted-on-ink); transition: background .3s, color .3s, box-shadow .3s; }
.tl-tabs a::after { display: none; }
.tl-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tl-tabs a[aria-current="page"] { color: #fff; background: var(--grad-brand); box-shadow: var(--glow-brand); }
@media (max-width: 480px) { .tl-tabs { width: 100%; } .tl-tabs a { flex: 1 1 auto; justify-content: center; padding: 0 10px; min-height: 44px; font-size: 13px; } }
@media (min-width: 992px) and (max-height: 900px) { .tl-top.nx-dark { padding: calc(var(--header-h) + 4px) 0 38px; } .tl-top__title { font-size: 32px; } }
@media (max-height: 760px) and (min-width: 960px) { .tl-top.nx-dark { padding: calc(var(--header-h) + 2px) 0 34px; } .tl-top__title { font-size: clamp(26px, 2.2vw, 30px); } .tl-tabs a { min-height: 34px; } }

/* ---------- Stage: tool card overlaps the dark head ---------- */
.tl-app { margin-top: -26px; padding-top: 0; z-index: 3; }
.tl-label { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--brand-deep); }
.tl-label i { background: var(--grad-brand); font-family: var(--mono); box-shadow: var(--glow-brand); }

/* Gradient-rimmed cards */
.tl-wizard, .tl-calc__in, .tl-quiz__card, .tl-qr {
    border: 1px solid transparent; border-radius: var(--radius);
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(47, 107, 255, .75), rgba(34, 211, 238, .5) 45%, rgba(124, 92, 255, .35)) border-box;
    box-shadow: var(--shadow-2), 0 30px 70px -40px rgba(47, 107, 255, .55);
}
.tl-quiz__card::before, .tl-qr::before { display: none; }

/* HUD progress */
.tl-wizard__count, .tl-quiz__step { font-family: var(--mono); font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.tl-progress { gap: 5px; }
.tl-progress i, .tl-quiz__dots i { height: 6px; border-radius: 6px; background: var(--paper-2); }
.tl-progress i::after { background: var(--grad-brand); }
.tl-progress i.is-cur::after { background: var(--cyan); transform: scaleX(.55); animation: tl-hud 1.6s ease-in-out infinite alternate; }
@keyframes tl-hud { to { opacity: .45; } }
.tl-quiz__dots i { width: 26px; }
.tl-quiz__dots i.is-done { background: var(--grad-brand); }
.tl-quiz__dots i.is-now { background: var(--cyan); box-shadow: var(--glow-cyan); }

/* Questions */
.tl-step__q, .tl-qs__q { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.tl-step__q em { font-style: normal; background: var(--grad-text-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-step.is-next { animation-name: tl-orbit-next; animation-duration: .55s; }
.tl-step.is-prev { animation-name: tl-orbit-prev; animation-duration: .55s; }
@keyframes tl-orbit-next { from { opacity: 0; transform: translateX(36px) scale(.985); filter: blur(6px); } }
@keyframes tl-orbit-prev { from { opacity: 0; transform: translateX(-36px) scale(.985); filter: blur(6px); } }
@keyframes tl-q-in { from { opacity: 0; transform: translateX(30px); filter: blur(6px); } }

/* Option tiles: lift, glow rim, checked = night glass with cyan edge */
.tl-opt__box, .tl-qo span, .tl-lifeopt > span, .tl-bands span, .tl-chips span, .tl-presets button {
    background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
    transition: background .3s, color .3s, box-shadow .3s, transform .35s var(--ease-out);
}
.tl-opt__box { border-radius: var(--radius-sm); }
.tl-opt:hover .tl-opt__box, .tl-qo:hover span, .tl-lifeopt:hover > span { transform: translateY(-2px); background: #fff; box-shadow: inset 0 0 0 1px var(--brand), 0 14px 26px -18px rgba(47, 107, 255, .6); }
.tl-opt__no { font-family: var(--mono); font-weight: 500; color: var(--brand-deep); }
.tl-opt input:checked + .tl-opt__box, .tl-lifeopt input:checked + span {
    background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); color: #fff; transform: none;
    box-shadow: inset 0 0 0 1px var(--cyan), 0 0 24px -6px rgba(34, 211, 238, .55);
}
.tl-opt input:checked + .tl-opt__box .tl-opt__no { background: var(--grad-brand); }
.tl-opt input:focus-visible + .tl-opt__box, .tl-lifeopt input:focus-visible + span, .tl-qo input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.tl-qo span { border-radius: var(--radius-sm); }
.tl-qo input:checked + span { background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); color: #fff; transform: none; box-shadow: inset 0 0 0 1px var(--cyan), 0 0 24px -6px rgba(34, 211, 238, .55); }
.tl-qo span::before { background: transparent; box-shadow: inset 0 0 0 1.6px var(--muted); }
.tl-qo input:checked + span::before { background-color: var(--cyan); box-shadow: none; }
.tl-bands input:checked + span, .tl-chips input:checked + span, .tl-presets button[aria-pressed="true"] { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; box-shadow: var(--glow-brand); }
.tl-chips input:checked + span::before { color: var(--cyan); }
.tl-chips span:hover, .tl-bands label:hover span, .tl-presets button:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.tl-bands input:checked + span:hover, .tl-chips input:checked + span:hover { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }

/* Segmented controls */
.tl-seg { border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.tl-seg span { border-radius: 999px; }
.tl-seg input:checked + span { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--cyan), 0 0 18px -6px rgba(34, 211, 238, .6); }

/* Inputs */
.tl-input:focus-within { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 5px rgba(47, 107, 255, .14); }
.tl-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); }
.tl-range-out { font-family: var(--display); font-weight: 600; color: var(--brand-deep); }
.tl-range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--brand), var(--cyan) var(--v), rgba(10, 18, 40, .12) var(--v)); }
.tl-range::-moz-range-progress { background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.tl-range::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--brand), 0 0 14px rgba(34, 211, 238, .6); }
.tl-error { font-family: var(--mono); font-size: 13px; }
.tl-nav { border-top-style: dashed; }
.tl-back { border-radius: var(--radius-pill); }

/* ---------- Live panel & result panel: night glass with HUD grid ---------- */
.tl-live, .tl-panel, .tl-resume, .tl-pathway {
    position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); color: #fff;
    background:
        radial-gradient(280px 200px at var(--mx, 85%) var(--my, 0%), rgba(34, 211, 238, .22), transparent 70%),
        radial-gradient(60% 60% at 0% 100%, rgba(124, 92, 255, .25), transparent 70%),
        linear-gradient(160deg, var(--ink-2), var(--ink));
    box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-3);
}
@media (min-width: 992px) { .tl-live { position: sticky; } }
.tl-live::after, .tl-panel::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
@media (max-width: 991px) { .tl-live { position: sticky; } }
.tl-panel::before { display: none; }
.tl-live__label, .tl-panel__total > span { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; color: var(--cyan); }
.tl-live__big b, .tl-panel__total > b, .tl-panel__full > b { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-live__cc i::after { background: var(--grad-brand); }
.tl-live__recap .is-set i { background: var(--cyan); }
.tl-live__recap span { font-family: var(--mono); font-weight: 500; }
.tl-stack { height: 12px; border-radius: 12px; }
.k-t { background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.k-l { background: var(--violet); }
.k-o { background: var(--warm); }
.tl-legend li > i { border-radius: 50%; }
.tl-panel__full { border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); }
.tl-panel__save { font-family: var(--mono); font-size: 12.5px; }
.tl-resume { border-radius: var(--radius-sm); }
.tl-pathway__icon { color: var(--warm); }
.tl-pathway strong { font-family: var(--display); font-weight: 600; }
.tl-peek { background: var(--grad-brand); box-shadow: var(--glow-brand), 0 14px 30px -12px rgba(47, 107, 255, .7); font-family: var(--mono); }

/* ---------- Calculator pieces ---------- */
.tl-country__box { border-radius: var(--radius-sm); transition: box-shadow .3s, transform .35s var(--ease-out); }
.tl-country__box strong { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
.tl-country__box::after { background: linear-gradient(90deg, rgba(2, 6, 26, .9), rgba(10, 22, 54, .35)); }
.tl-country:hover .tl-country__box { transform: translateY(-2px); }
.tl-country input:checked + .tl-country__box { box-shadow: 0 0 0 2px var(--cyan), 0 0 26px -6px rgba(34, 211, 238, .6); }
.tl-lifeopt > span { border-radius: var(--radius-sm); }
.tl-lifeopt em { font-family: var(--mono); font-weight: 500; }
.tl-compare { border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.tl-compare__fill { background: var(--grad-brand); }
.tl-compare__pin { box-shadow: 0 0 0 3px var(--brand), 0 0 14px rgba(34, 211, 238, .7); }
.tl-compare__pin b { background: var(--ink); font-family: var(--mono); font-weight: 500; }

/* ---------- Results ---------- */
.tl-sum__title { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }
.tl-sum__title em { background: var(--grad-text-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-cc { background: #fff; font-family: var(--mono); font-size: 12px; }
.tl-sum__answers li { font-family: var(--mono); font-weight: 500; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tl-tip__k, .tl-card__tier, .tl-card__cost dt { font-family: var(--mono); font-weight: 500; }
.tl-tip strong, .tl-others__h, .tl-card__name { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
.tl-others__h em { background: var(--grad-text-ink); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.tl-card { border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.tl-card.is-in:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .5), var(--shadow-2), 0 0 32px -12px rgba(34, 211, 238, .45); }
.tl-card.is-match { box-shadow: inset 3px 0 0 var(--ok), inset 0 0 0 1px var(--line), var(--shadow-1); }
.tl-card__chips li { font-family: var(--mono); font-weight: 500; }
.tl-card__sl { border-radius: var(--radius-pill); }
.tl-card__sl input:checked ~ .tl-card__slbox { background: var(--grad-brand); }
.tl-ring > b { font-family: var(--display); font-weight: 600; }
.tl-shortlist__in { border-radius: var(--radius); background: rgba(5, 12, 34, .88); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--glass-line), var(--glow-brand); }

/* ---------- Quiz ---------- */
.tl-qr__title { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; background: var(--grad-text-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-qr__eyebrow, .tl-qr__why { font-family: var(--mono); font-weight: 500; color: var(--brand-deep); }
.tl-qr__counts li { border-left: 3px solid var(--cyan); background: var(--paper); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.tl-quiz__pic { box-shadow: var(--shadow-2); border-radius: var(--radius); }
.tl-quiz__pic figcaption { font-family: var(--display); background: rgba(2, 6, 26, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Notes ---------- */
.tl-notes { background: var(--paper); }
.tl-notes__grid { border-top: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.tl-notes__h { font-family: var(--mono); font-weight: 500; color: var(--brand-deep); }
.tl-notes__next .ep-h2 em { background: var(--grad-text-ink); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }

@media (prefers-reduced-motion: reduce) {
    .tl-progress i.is-cur::after { animation: none; }
    .tl-top__vid { display: none; }
    .tl-opt:hover .tl-opt__box, .tl-qo:hover span, .tl-lifeopt:hover > span, .tl-country:hover .tl-country__box, .tl-card.is-in:hover { transform: none; }
}
html.ep-lite .tl-top__vid { display: none; }
.tl-step__q em, .tl-sum__title em, .tl-others__h em, .tl-qr__title, .tl-notes__next .ep-h2 em { background-image: linear-gradient(90deg, var(--brand), var(--cyan)); }
.tl-qr__title { background-image: linear-gradient(90deg, var(--brand), var(--violet)); }
.tl-top__side { gap: 8px; }
.tl-panel__cur .tl-seg input:checked + span { color: #fff; background: var(--grad-brand); box-shadow: var(--glow-brand); }
.tl-panel__cur .tl-seg span { font-family: var(--mono); font-size: 12.5px; }
.tl-top__vid.is-on { opacity: .2; }
.tl-top__title .nx-w, .tl-top__title [data-w] { display: inline-block; }
@media (max-width: 599px) {
    .tl-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
    .tl-tabs a { padding: 4px 6px; min-height: 48px; justify-content: center; text-align: center; line-height: 1.15; font-size: 12.5px; text-wrap: balance; }
    .tl-top__photos { display: none; }
    .tl-top.nx-dark { padding-bottom: 36px; }
}

/* ==========================================================================
   v4 restructure: big titles, almost no prose, app-like stage
   ========================================================================== */
.tl-top.nx-dark { padding: calc(var(--header-h) + 14px) 0 clamp(26px, 3vw, 40px); }
.tl-top .tl-top__grid { gap: 16px; align-items: end; }
@media (min-width: 992px) { .tl-top .tl-top__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.tl-top__copy { gap: 10px; }
.tl-top__title { font-size: clamp(38px, 5.4vw, 72px); font-weight: 700; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
@media (min-width: 992px) and (max-height: 900px) { .tl-top__title { font-size: clamp(44px, 4.6vw, 60px); } }
@media (min-width: 960px) and (max-height: 760px) { .tl-top__title { font-size: 50px; } .tl-top.nx-dark { padding: calc(var(--header-h) + 4px) 0 24px; } }
.tl-top__side { gap: 12px; justify-items: start; }
@media (min-width: 992px) { .tl-top__side { justify-items: end; } }
.tl-chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 992px) { .tl-chiprow { justify-content: flex-end; } }
.tl-chiprow li {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px 4px 5px; border-radius: 999px;
    background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--glass-line); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
.tl-chiprow i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); font-style: normal; font-size: 12px; font-weight: 700; }

/* the app stage: pulled up so the tool overlaps the hero */
.tl-app { padding-top: 0; }
.tl-app > .ep-container { position: relative; margin-top: 14px; z-index: 3; }

/* match: the question is the page */
.tl-step__q { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.tl-step__hint { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); }
.tl-opt__box { min-height: 74px; }
.tl-opt__txt strong { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; }
.tl-opt__txt small { font-size: 12.5px; }
.tl-wizard__count { font-family: var(--mono); }
@media (min-width: 960px) and (max-height: 760px) {
    .tl-step__q { font-size: 34px; }
    .tl-opt__box { min-height: 58px; }
    .tl-wizard { padding-block: 14px; }
}
.tl-live__recap em { font-size: 12px; }

/* calculator: the number is the hero */
.tl-panel__total > b { font-family: var(--display); font-size: clamp(46px, 6vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
@media (min-width: 960px) and (max-height: 760px) { .tl-panel__total > b { font-size: 48px; } }
.tl-calc__in .tl-label { font-family: var(--mono); }

/* quiz: one giant question */
.tl-qs__q { font-size: clamp(30px, 4vw, 50px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.tl-qs__hint { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); margin-top: 6px; }
.tl-qo span { min-height: 60px; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
@media (min-width: 960px) and (max-height: 760px) { .tl-qs__q { font-size: 32px; } .tl-qo span { min-height: 48px; } }

/* closing band */
.tl-cta { padding-block: clamp(36px, 5vw, 72px); }
.tl-cta__grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .tl-cta__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; } .tl-good { grid-column: 1 / -1; } }
.tl-cta__main { display: grid; gap: 22px; justify-items: start; }
.tl-cta__title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.8vw, 60px); line-height: 1; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.tl-cta__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-cta__img { display: none; width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--glass-line), var(--shadow-3); }
@media (min-width: 860px) { .tl-cta__img { display: block; aspect-ratio: 4 / 3; } }
.tl-good { border-top: 1px solid var(--line-on-ink); padding-top: 10px; color: var(--muted-on-ink); }
.tl-good summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.tl-good p { max-width: 72ch; font-size: 13.5px; line-height: 1.5; }

/* tips fold: title first, detail on tap */
.tl-tips { gap: 8px; border-top: 0; }
.tl-tip { padding: 0; border: 0; border-radius: var(--radius-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tl-tip > summary { display: grid; gap: 2px; padding: 10px 14px; min-height: 44px; cursor: pointer; list-style: none; position: relative; padding-right: 36px; }
.tl-tip > summary::-webkit-details-marker { display: none; }
.tl-tip > summary::after { content: "+"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-family: var(--mono); color: var(--brand-deep); }
.tl-tip[open] > summary::after { content: "–"; }
.tl-tip p { padding: 0 14px 12px; font-size: 13.5px; }
@media (min-width: 760px) { .tl-tips { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }

/* ==========================================================================
   v4 POLISH: white, restrained. Overrides the v3 "Orbit" layer above.
   One dark card per tool (live panel / result panel); everything else white.
   ========================================================================== */
:where(.tl-top, .tl-app, .tl-cta, .tl-notes, .tl-shortlist) { --mono: var(--sans); }

/* — Head — */
.tl-top.nx-dark { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); padding: calc(var(--header-h) + 16px) 0 clamp(24px, 3vw, 32px); }
.tl-top.nx-dark::after, .tl-top.nx-dark::before { display: none; }
.tl-top__vid { display: none; }
.tl-top .ep-crumbs { color: var(--muted); font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.tl-top .ep-crumbs a { color: var(--muted); }
.tl-top .ep-crumbs a:hover { color: var(--ink); }
.tl-top__title { color: var(--ink); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.25rem); }
.tl-top__title em { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
@media (min-width: 992px) and (max-height: 900px) { .tl-top__title { font-size: clamp(2.5rem, 4vw, 3.5rem); } }
@media (min-width: 960px) and (max-height: 760px) { .tl-top__title { font-size: 2.75rem; } .tl-top.nx-dark { padding: calc(var(--header-h) + 8px) 0 20px; } }
.tl-chiprow li { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 500 14px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.tl-chiprow i { background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 600; }

.tl-tabs { gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tl-tabs a { min-height: 40px; border-radius: 8px; color: var(--muted); font-weight: 600; transition: background 150ms ease-out, color 150ms ease-out; }
.tl-tabs a:hover { color: var(--ink); background: rgba(11, 18, 32, .05); }
.tl-tabs a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tl-tabs a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
@media (max-width: 599px) { .tl-tabs { border-radius: 12px; } }

/* — Stage: the tool card sits on white, hairline + soft shadow — */
.tl-app { margin-top: 0; padding-top: 24px; }
.tl-app > .ep-container { margin-top: 0; }
.tl-wizard, .tl-calc__in, .tl-quiz__card, .tl-qr {
    border: 0; border-radius: 16px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
}
.tl-label { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.tl-label i { background: var(--ink); box-shadow: none; font-family: var(--sans); }
.tl-wizard__count, .tl-quiz__step { font: 500 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.tl-progress i, .tl-quiz__dots i { background: var(--g-100, #e3e8ef); }
.tl-progress i::after { background: var(--brand); }
.tl-progress i.is-cur::after { background: var(--brand); animation: none; transform: scaleX(.5); }
.tl-quiz__dots i.is-done { background: var(--brand); }
.tl-quiz__dots i.is-now { background: var(--ink); box-shadow: none; }

/* Questions: big, tight, plain */
.tl-step__q, .tl-qs__q { color: var(--ink); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.tl-step__q em { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
.tl-step__hint, .tl-qs__hint { font: 400 15px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.tl-step.is-next, .tl-step.is-prev { animation-duration: .25s; animation-timing-function: ease-out; }
@keyframes tl-orbit-next { from { opacity: 0; transform: translateX(12px); } }
@keyframes tl-orbit-prev { from { opacity: 0; transform: translateX(-12px); } }
@keyframes tl-q-in { from { opacity: 0; transform: translateX(12px); } }

/* Option tiles: white, hairline; checked = ink */
.tl-opt__box, .tl-qo span, .tl-lifeopt > span, .tl-bands span, .tl-chips span, .tl-presets button {
    background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background 150ms ease-out, color 150ms ease-out, box-shadow 150ms ease-out;
}
.tl-opt:hover .tl-opt__box, .tl-qo:hover span, .tl-lifeopt:hover > span { transform: none; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--g-400, #9aa5b5); }
.tl-opt__no { font-family: var(--sans); font-weight: 600; color: var(--muted); background: var(--paper-2); box-shadow: none; }
.tl-opt__txt strong { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
.tl-opt input:checked + .tl-opt__box, .tl-lifeopt input:checked + span, .tl-qo input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.tl-opt input:checked + .tl-opt__box small, .tl-opt input:checked + .tl-opt__box .tl-opt__txt small { color: rgba(255, 255, 255, .72); }
.tl-opt input:checked + .tl-opt__box .tl-opt__no { background: var(--brand); color: #fff; }
.tl-opt input:focus-visible + .tl-opt__box, .tl-lifeopt input:focus-visible + span, .tl-qo input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.tl-qo span { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
.tl-qo span::before { background: #fff; box-shadow: inset 0 0 0 1.5px var(--g-400, #9aa5b5); }
.tl-qo input:checked + span::before { background-color: #fff; box-shadow: inset 0 0 0 5px var(--brand); }
.tl-bands input:checked + span, .tl-chips input:checked + span, .tl-presets button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; transform: none; }
.tl-chips input:checked + span::before { color: #fff; }
.tl-chips span:hover, .tl-bands label:hover span, .tl-presets button:hover { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--g-400, #9aa5b5); }
.tl-bands input:checked + span:hover, .tl-chips input:checked + span:hover, .tl-presets button[aria-pressed="true"]:hover { background: var(--ink); }
.tl-lifeopt em { font-family: var(--sans); font-weight: 600; }
.tl-lifeopt input:checked + span em { color: #fff; }

/* Segmented controls */
.tl-seg { border-radius: 12px; background: var(--paper-2); }
.tl-seg span { border-radius: 8px; }
.tl-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }

/* Inputs */
.tl-input { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tl-input:hover { box-shadow: inset 0 0 0 1px var(--g-400, #9aa5b5); }
.tl-input:focus-within { box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 3px var(--brand-100, #dfe8ff); }
.tl-field select { border-radius: 8px; }
.tl-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100, #dfe8ff); }
.tl-range-out { font-family: var(--sans); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.tl-range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--brand) var(--v), var(--g-100, #e3e8ef) var(--v)); }
.tl-range::-moz-range-progress { background: var(--brand); }
.tl-range::-moz-range-track { background: var(--g-100, #e3e8ef); }
.tl-range::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--brand), var(--shadow-1); }
.tl-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--brand), 0 0 0 6px var(--brand-100, #dfe8ff); }
.tl-error { font-family: var(--sans); }
.tl-nav { border-top-style: solid; }
.tl-back { border-radius: 8px; }
.tl-switch__ui { background: var(--g-300, #c4ccd8); }

/* — The one dark card per tool: flat ink, no glow, no grid — */
.tl-live, .tl-panel { background: var(--ink); color: #fff; border-radius: 16px; box-shadow: var(--shadow-3); }
.tl-live::after, .tl-panel::after, .tl-panel::before { display: none; }
.tl-live__label, .tl-panel__total > span { font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .72); }
.tl-live__big b, .tl-panel__total > b, .tl-panel__full > b { background: none; -webkit-text-fill-color: currentColor; color: #fff; font-weight: 600; letter-spacing: -.045em; }
.tl-panel__total > b { font-size: clamp(2.75rem, 5vw, 4.25rem); }
@media (min-width: 960px) and (max-height: 760px) { .tl-panel__total > b { font-size: 3rem; } }
.tl-live__cc i::after { background: #fff; }
.tl-live__recap .is-set i { background: #fff; color: var(--ink); }
.tl-live__recap span { font: 500 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.tl-stack { background: rgba(255, 255, 255, .12); }
.k-t { background: var(--brand); } .k-l { background: #fff; } .k-o { background: var(--g-400, #9aa5b5); }
.tl-panel__full { background: rgba(255, 255, 255, .08); border-radius: 8px; }
.tl-panel__save { font-family: var(--sans); color: #9be7c4; }
.tl-panel__cur .tl-seg { background: rgba(255, 255, 255, .1); box-shadow: none; }
.tl-panel__cur .tl-seg span { font-family: var(--sans); font-size: 13px; color: rgba(255, 255, 255, .75); }
.tl-panel__cur .tl-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.tl-panel .ep-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.tl-panel .ep-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.tl-panel .ep-btn:not(.ep-btn--ghost) { background: #fff; color: var(--ink); }
.tl-panel .ep-btn:not(.ep-btn--ghost):hover { background: var(--g-100, #eef1f6); }

/* Resume / pathway: light notes, not dark bars */
.tl-resume, .tl-pathway { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; }
.tl-resume strong, .tl-pathway strong { color: var(--ink); }
.tl-pathway__icon { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.tl-pathway strong { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
.tl-pathway p, .tl-resume span { color: var(--muted); }
.tl-peek { background: var(--ink); box-shadow: var(--shadow-3); font-family: var(--sans); }

/* — Calculator pieces — */
.tl-country__box { border-radius: 8px; transition: box-shadow 150ms ease-out; }
.tl-country__box strong { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; font-size: 17px; }
.tl-country:hover .tl-country__box { transform: none; }
.tl-country:hover .tl-country__box::before { transform: none; }
.tl-country input:checked + .tl-country__box { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.tl-compare { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.tl-compare__fill { background: var(--brand); }
.tl-compare__pin { box-shadow: 0 0 0 3px var(--brand); }
.tl-compare__pin b { font-family: var(--sans); font-weight: 600; }
.tl-compare__ends small { font: 500 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }

/* — Match results — */
.tl-sum__title { color: var(--ink); font-weight: 600; letter-spacing: -.035em; }
.tl-sum__title em, .tl-others__h em, .tl-notes__next .ep-h2 em { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
.tl-cc { font-family: var(--sans); font-size: 13px; }
.tl-sum__answers li { font-family: var(--sans); font-weight: 500; }
.tl-tip__k, .tl-card__tier, .tl-card__cost dt, .tl-notes__h { font: 500 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.tl-tip strong, .tl-others__h, .tl-card__name { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; }
.tl-card { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease-out; }
.tl-card.is-in:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); }
.tl-card.is-match { box-shadow: inset 0 0 0 1.5px var(--ok); }
.tl-card__chips li { font-family: var(--sans); font-weight: 500; }
.tl-card__sl input:checked ~ .tl-card__slbox { background: var(--brand); }
.tl-card__sl { border-radius: 8px; }
.tl-ring > b { font-family: var(--sans); }
.tl-shortlist__in { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--shadow-3); border-radius: 16px; }
.tl-tips .tl-tip > summary::after { font-family: var(--sans); }
.tl-tip { border-radius: 8px; }

/* — Quiz result — */
.tl-qr__title { background: none; -webkit-text-fill-color: currentColor; color: var(--brand); font-weight: 600; letter-spacing: -.04em; }
.tl-qr__eyebrow, .tl-qr__why { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.tl-qr__counts li { border-left: 3px solid var(--brand); background: var(--paper-2); }
.tl-quiz__pic { border-radius: 16px; box-shadow: none; }
.tl-quiz__pic figcaption, .tl-top__photos--quiz figcaption { background: #fff; color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; font-family: var(--sans); font-weight: 600; box-shadow: var(--shadow-1); border-radius: 8px; }
.tl-top__photos img { box-shadow: none; transition: none; }
.tl-top__photos img:hover { transform: none; }

/* — Notes + closing band: white — */
.tl-notes { background: var(--paper-2); }
.tl-notes__grid { background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.tl-cta { background: #fff; }
.tl-cta__title { color: var(--ink); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.tl-cta__title em { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
.tl-cta__img { box-shadow: none; border-radius: 16px; }
.tl-good { border-top-color: var(--line); color: var(--muted); }
.tl-good summary { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--brand-deep); }
@media (prefers-reduced-motion: reduce) { .tl-step.is-next, .tl-step.is-prev { animation: none; } }
.tl-resume .ep-btn, .tl-resume .ep-btn span { color: #fff; }
.tl-resume a:not(.ep-btn), .tl-resume button:not(.ep-btn) { color: var(--brand-deep); }
.tl-step__q { margin-bottom: 16px; }
.tl-step__hint { display: block; margin-bottom: 12px; }
.tl-meta .ep-badge, .tl-app .ep-badge { text-transform: none; letter-spacing: 0; font-weight: 600; background: var(--paper-2); color: var(--ink); }
.tl-label { margin-bottom: 8px; }
.tl-quiz__pic:nth-child(2) { translate: none; }
.tl-quiz__pic img { transition: none; }
.tl-quiz__pic:hover img { transform: none; }
.tl-qr__reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tl-qr__reasons li { position: relative; padding-left: 20px; color: var(--muted); line-height: 1.5; }
.tl-qr__reasons li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ═════════ v5 "Passport Colours" — student tools (match, calculator, quiz) ═════════ */
.tl-top { background: #fff; padding: calc(var(--header-h) + 8px) clamp(8px, 1.5vw, 24px) 10px; }
.tl-top::before { display: none; }
.tl-top .ep-container.tl-top__grid {
    position: relative; isolation: isolate; max-width: var(--max, 1240px); border-radius: var(--radius-lg); overflow: hidden;
    background-color: var(--brand-50);
    background-image: radial-gradient(circle at 1px 1px, rgba(18, 64, 200, .2) 1.3px, transparent 1.6px); background-size: 18px 18px;
    padding: clamp(12px, 2vh, 22px) clamp(16px, 3vw, 36px);
}
.tl-top__copy, .tl-top__side { position: relative; z-index: 2; }
.tl-top__title { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .98; font-size: clamp(2rem, 1rem + 2.6vw, 3.5rem); }
.tl-top__title em { font-style: normal; color: var(--brand); background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 88% / 100% .16em; padding-inline: .04em; }
.tl-top .ep-crumbs, .tl-top .ep-crumbs a { color: var(--ink-2); }
.tl-top__stack { position: absolute; z-index: 1; display: none; right: 33%; top: 50%; translate: 0 -50%; width: 260px; min-height: 0; height: 120px; pointer-events: none; }
.tl-top__stack img { width: 84px; aspect-ratio: 1; box-shadow: 0 0 0 4px #fff, var(--shadow-2); }
.tl-top__route { position: absolute; z-index: 0; display: none; left: 38%; width: 22%; top: 6%; height: 70%; color: var(--brand); opacity: .4; pointer-events: none; }
.tl-top__route path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0 .016; }
.ep-mo .tl-top__route path { animation: v5-dash 26s linear infinite; }
@media (min-width: 1100px) { .tl-top__stack, .tl-top__route { display: grid; } .tl-top__route { display: block; } }
.tl-chiprow li { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; font-weight: 600; }
.tl-chiprow li i { background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 800; box-shadow: none; }
.tl-tabs { background: #fff; border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1); }
.tl-tabs a { border-radius: 999px; font-weight: 700; transition: background 180ms var(--ease), color 180ms var(--ease), transform 200ms var(--spring); }
.tl-tabs a:hover { background: var(--brand-50); transform: translateY(-1px); }
.tl-tabs a[aria-current="page"] { background: var(--brand); color: #fff; box-shadow: 0 2px 0 var(--sun); }

/* inputs and option cards */
.tl-calc__in, .tl-match__main > .tl-step, .tl-app .tl-card { border-radius: var(--radius-lg); }
.tl-calc__in { box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-2); }
.tl-step__q, .tl-label, .tl-block > .tl-label { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.tl-opt__box { border-radius: 16px; transition: transform 220ms var(--spring), box-shadow 180ms var(--ease), background 180ms var(--ease); }
.tl-opt:hover .tl-opt__box { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-1); }
.tl-opt input:checked + .tl-opt__box { background: var(--brand); color: #fff; box-shadow: var(--shadow-2), 0 4px 0 var(--sun); }
.tl-opt input:checked + .tl-opt__box small { color: rgba(255, 255, 255, .85); }
.tl-opt input:checked + .tl-opt__box .tl-opt__no { background: var(--sun); color: var(--ink); }
.tl-opt__no { font-family: var(--display); font-weight: 800; border-radius: 50%; }

/* country picker: tinted by the country */
.tl-country__box { border-radius: 16px; transition: transform 240ms var(--spring), box-shadow 200ms var(--ease); }
.tl-country[data-country] .tl-country__box::after { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 92%, #000 8%), color-mix(in srgb, var(--c) 40%, transparent)); }
.tl-country[data-country] input:not(:checked) + .tl-country__box::after { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 78%, #000 22%), color-mix(in srgb, var(--c) 55%, transparent)); }
.tl-country[data-country]:hover .tl-country__box { transform: translateY(-3px) rotate(-.4deg); }
.tl-country input:checked + .tl-country__box { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c, var(--brand)); }
.tl-country__box strong { font-family: var(--display); font-weight: 800; }

/* result pass: calculator panel + live match count become boarding passes in brand blue */
.tl-panel, .tl-live {
    --muted-on-ink: rgba(255, 255, 255, .82); --sky: var(--sun); --line-on-ink: rgba(255, 255, 255, .28);
    background: var(--brand); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
}
.tl-panel::before { background: none; }
.tl-panel::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1.2px, transparent 1.5px) 0 0 / 16px 16px; pointer-events: none; }
.tl-panel__total > span, .tl-live__label { color: var(--sun); }
.tl-panel__total > b, .tl-live__big b { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; }
.tl-panel__full { position: relative; margin-top: 20px; border-radius: 0; background: none; box-shadow: none; border-top: 2px dashed rgba(255, 255, 255, .45); padding: 16px 0 0; }
.tl-panel__full::before, .tl-panel__full::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.tl-panel__full::before { left: calc(-1 * clamp(16px, 2.2vw, 24px) - 10px); }
.tl-panel__full::after { right: calc(-1 * clamp(16px, 2.2vw, 24px) - 10px); }
.tl-panel__full > b { font-family: var(--display); font-weight: 800; color: var(--sun); }
.tl-panel__save { background: var(--sun); color: var(--ink); box-shadow: none; font-weight: 700; }
.tl-panel .ep-btn--glow, .tl-panel .ep-btn:not(.ep-btn--ghost) { background: var(--sun); color: var(--ink); }
.tl-panel .ep-btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.tl-panel .ep-btn--ghost:hover { background: #fff; color: var(--brand); }
.tl-live__cc i::after { background: var(--sun); }
.tl-live__recap .is-set i { background: var(--sun); color: var(--ink); }
.tl-live__recap .is-cur i { background: #fff; color: var(--brand); }
.tl-live__recap em { color: rgba(255, 255, 255, .7); }

/* result cards */
.tl-card { border-radius: 20px; transition: transform 260ms var(--spring), box-shadow 200ms var(--ease); }
.tl-card.is-in:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-3); }
.tl-card.is-match { box-shadow: inset 0 5px 0 var(--sun), inset 0 0 0 1.5px var(--line); }
.tl-card__name, .tl-sum__title, .tl-qr__title { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
.tl-sum__title em { background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 88% / 100% .16em; -webkit-text-fill-color: currentColor; color: var(--brand); padding-inline: .04em; }
.tl-sum__answers li { background: var(--sun-tint); color: var(--ink); }
.tl-quiz__pic img { border-radius: var(--radius-lg); }
.tl-quiz__pic { border-radius: var(--radius-lg); box-shadow: 0 0 0 5px #fff, var(--shadow-3); }

/* closing block: brand-blue pass with a tilted framed photo */
.tl-cta { background: #fff; padding-block: clamp(20px, 4vw, 48px); }
.tl-cta .ep-container.tl-cta__grid {
    position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand); color: #fff;
    padding: clamp(24px, 4vw, 56px); max-width: var(--max, 1240px);
}
.tl-cta .ep-container.tl-cta__grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1.2px, transparent 1.5px) 0 0 / 18px 18px; }
.tl-cta__title { color: #fff; font-weight: 800; }
.tl-cta__title em { color: var(--ink); background: var(--sun); padding: 0 .12em; border-radius: .14em; font-style: normal; }
.tl-cta .ep-btn--glow { background: var(--sun); color: var(--ink); }
.tl-cta .ep-btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.tl-cta .ep-btn--ghost:hover { background: #fff; color: var(--brand); }
.tl-cta__img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; box-shadow: 0 0 0 6px #fff, var(--shadow-3); transform: rotate(2.5deg); transition: transform 500ms var(--spring); }
.tl-cta__grid:hover .tl-cta__img { transform: rotate(-1deg) scale(1.02); }
.tl-good { color: rgba(255, 255, 255, .85); }
.tl-good summary { color: #fff; }
@media (prefers-reduced-motion: reduce) { .tl-opt__box, .tl-country__box, .tl-card, .tl-tabs a, .tl-cta__img { transition: none; } .tl-cta__img { transform: none; } }
.tl-lifeopt input:checked + span, .tl-qo input:checked + span { background: var(--brand); color: #fff; box-shadow: var(--shadow-2), 0 4px 0 var(--sun); }
.tl-lifeopt input:checked + span small, .tl-qo input:checked + span small { color: rgba(255, 255, 255, .85); }
.tl-bands input:checked + span, .tl-chips input:checked + span, .tl-presets button[aria-pressed="true"] { background: var(--sun); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tl-bands input:checked + span:hover, .tl-chips input:checked + span:hover, .tl-presets button[aria-pressed="true"]:hover { background: var(--sun); }
.tl-lifeopt span, .tl-qo span, .tl-bands span, .tl-chips span { transition: transform 200ms var(--spring), background 160ms var(--ease), box-shadow 160ms var(--ease); }
.tl-lifeopt:hover span, .tl-qo:hover span { transform: translateY(-2px); }
.tl-top__stack { right: auto; left: 47%; width: 200px; }
.tl-top__route { left: 45%; width: 16%; }
