/* Explo tools (/tools/, plus the shared bits on /passports/ and /country/). Loaded after /blog/blog.css and /visa/visa.css, which own the page frame,
   the status colours (--s-F-bg … --s-N-fg, --k-*), .vp / .vp-sec / .vp-links / .vp-chips / .vp-glance / .vp-months / .vp-live / .vp-faq, .cta and .crumbs.
   Cream page, navy ink, lime accent, Satoshi (max Medium 500). Flat fills, no pure white, no glows. Prefix: tl- (shared), sc- (Schengen), vc- (validity),
   wf- (finder), pf- (plugs). Art direction: every tool is an instrument. A navy header with its own drawing, one calm form card, and a result that
   shows the answer as a picture first (gauge, timeline, season strip, plug faces) and as a sentence second. */

:root {
  --lime: #c6f24e;
  --field: #f2f2eb;
  --sand: #e9e9de;
  --sky: #dbe9f8;
  --ok: #1f9d62;
  --bad: #a23b3b;
}

/* ───────── tool header (navy, with the tool's drawing) ───────── */
.tl-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; margin: 0 0 20px; padding: 52px 52px 48px; border-radius: 32px; background: var(--night) url("/blog/cta.svg") center / cover no-repeat; color: var(--cream); }
.tl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 17, 34, .95) 0%, rgba(4, 17, 34, .78) 56%, rgba(4, 17, 34, .25) 100%); }
.tl-hero .tag { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: rgba(216, 216, 203, .72); }
.tl-hero .tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.tl-hero h1 { margin: 0 0 18px; font-weight: 500; font-size: clamp(34px, 5vw, 58px); line-height: 1.03; letter-spacing: -.015em; text-wrap: balance; color: var(--cream); }
.tl-hero .dek { max-width: 520px; margin: 0; font-size: 19px; line-height: 1.55; color: rgba(216, 216, 203, .8); }
.tl-hero-art svg { display: block; width: 100%; height: auto; }

/* ───────── tool card and form ───────── */
.tl-card { border: 1px solid var(--line); border-radius: 28px; padding: 28px 30px 30px; background: var(--paper-hi, #fefefc); margin: 0 0 16px; }
.tl-card > h2, .tl-card > h3 { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 22px; line-height: 1.25; margin: 0 0 16px; }
.tl-card > h2 > i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: var(--lime); font-style: normal; font-size: 15px; line-height: 1; }
.tl-lead { margin: -4px 0 18px !important; max-width: 640px; }
.tl-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; align-items: end; margin: 0; }
.tl-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tl-field > span, .tl-label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tl-field small { font-size: 14px; color: var(--muted); line-height: 1.4; }
.tl-field input, .tl-field select, .tl-input { font: inherit; font-size: 17px; width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid transparent; border-radius: 16px; background: var(--field); color: var(--fg); transition: background .18s ease, border-color .18s ease; }
.tl-field input:hover, .tl-field select:hover { border-color: var(--line); }
.tl-field input:focus-visible, .tl-field select:focus-visible, .tl-input:focus-visible { outline: 0; border-color: var(--night); background: var(--paper-hi, #fefefc); box-shadow: 0 0 0 3px rgba(198, 242, 78, .7); }
.tl-field select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.500-5.500' fill='none' stroke='%23041122' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.tl-field input[type="date"] { padding-right: 12px; }
.tl-field input[aria-invalid="true"] { border-color: var(--bad); background: #f6e6e6; }
.tl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.tl-actions .btn, .tl-card .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn.tl-ghost, .tl-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(2, 13, 27, .3); color: var(--fg); cursor: pointer; border: 0; font-family: inherit; }
.btn.tl-ghost:hover, .tl-ghost:hover { background: var(--soft); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(2, 13, 27, .55); }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
button:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; }
.tl-note { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tl-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--s-N-bg); color: var(--s-N-fg); font-size: 15px; }
.tl-error[hidden], .tl-result[hidden], [hidden].tl-card, .tl-field[hidden], .tl-actions[hidden] { display: none; }

/* ───────── result panel (tinted by state) ───────── */
.tl-result { border-radius: 28px; padding: 30px 32px 32px; margin: 0 0 16px; background: var(--soft); }
.tl-result[data-state="ok"] { background: var(--s-F-bg); }
.tl-result[data-state="info"] { background: var(--s-A-bg); }
.tl-result[data-state="warn"] { background: var(--s-R-bg); }
.tl-result[data-state="bad"] { background: var(--s-N-bg); }
.tl-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.2; background: var(--paper-hi, #fefefc); }
.tl-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tl-result[data-state="ok"] .tl-badge { background: #bfe3cd; color: var(--s-F-fg); }
.tl-result[data-state="info"] .tl-badge { background: #bdd6f1; color: var(--s-A-fg); }
.tl-result[data-state="warn"] .tl-badge { background: #e2d3b3; color: var(--s-R-fg); }
.tl-result[data-state="bad"] .tl-badge { background: #e5c5c5; color: var(--s-N-fg); }
.tl-result h2 { font-weight: 500; font-size: clamp(25px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -.005em; margin: 14px 0 0; text-wrap: balance; }
.tl-result p { margin: 12px 0 0; font-size: 18px; line-height: 1.55; max-width: 62ch; }
.tl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.tl-stats li { border-radius: 18px; padding: 14px 18px 15px; background: rgba(247, 247, 242, .66); }
.tl-stats b { display: block; font-size: 25px; font-weight: 500; line-height: 1.2; }
.tl-stats span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.tl-result h3, .pf-block h3, .pf-volt h3 { font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; margin: 22px 0 10px; }
.tl-checks { margin: 12px 0 0; padding-left: 1.2em; }
.tl-checks li { margin: 0 0 8px; font-size: 17px; line-height: 1.55; }
.tl-result .tl-note a { color: inherit; }

/* ───────── segmented control and filter chips ───────── */
.tl-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--field); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tl-seg::-webkit-scrollbar { display: none; }
.tl-segb { flex: none; font: 500 15px/1 var(--font); color: var(--fg); background: transparent; border: 0; border-radius: 999px; padding: 13px 18px; cursor: pointer; transition: background .18s ease, color .18s ease; }
.tl-segb:hover { background: var(--soft); }
.tl-segb[aria-pressed="true"] { background: var(--night); color: var(--cream); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-chip { font: 500 15px/1 var(--font); color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.tl-chip:hover { background: var(--soft); border-color: rgba(2, 13, 27, .3); }
.tl-chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--cream); }
.tl-chip:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; }

/* ───────── tables ───────── */
.tl-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft-2); }
.tl-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.tl-table th, .tl-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tl-table thead th { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tl-table tbody tr:last-child td, .tl-table tbody tr:last-child th { border-bottom: 0; }
.tl-table th[scope="row"] { font-weight: 500; }
.tl-table td.num, .tl-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ───────── plug chips (also used on the country pages) ───────── */
.tl-plugs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tl-plug { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-hi, #fefefc); }
.tl-plug svg { display: block; border-radius: 12px; flex: none; }
.tl-plug b { display: block; font-size: 17px; font-weight: 500; line-height: 1.2; }
.tl-plug small { font-size: 14px; color: var(--muted); line-height: 1.3; }

/* ═════════════ hub ═════════════ */
.tl-hubhead { margin: 0 0 34px; }
.tl-hubhead h1 { margin: 0 0 22px; font-weight: 500; font-size: clamp(42px, 7vw, 84px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; max-width: 22ch; }
.tl-hubhead .dek { max-width: 600px; font-size: 21px; }
.tl-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.tl-facts li { display: inline-flex; align-items: baseline; gap: 9px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; color: var(--muted); }
.tl-facts b { font-size: 21px; font-weight: 500; color: var(--fg); line-height: 1; }

.tl-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin: 0 0 44px; padding: 0; list-style: none; }
.tl-tile.w7 { grid-column: span 7; }
.tl-tile.w5 { grid-column: span 5; }
.tl-tile a { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; height: 100%; min-height: 400px; padding: 34px 34px 30px; border-radius: 32px; text-decoration: none; color: var(--fg); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.tl-tile a:hover { transform: translateY(-4px); }
.tl-tile.w7 a { flex-direction: row; align-items: flex-end; }
.tl-tile-copy { display: flex; flex-direction: column; align-items: flex-start; align-self: flex-start; gap: 0; max-width: 360px; }
.tl-num { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .14em; opacity: .62; line-height: 1; }
.tl-tile h2 { margin: 0 0 12px; font-weight: 500; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.tl-tile-copy > p:not(.tl-num) { margin: 0 0 26px; font-size: 17px; line-height: 1.5; opacity: .82; }
.tl-go { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding: 13px 18px 13px 20px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1; transition: gap .22s ease; }
.tl-go i { font-style: normal; }
.tl-tile a:hover .tl-go { gap: 18px; }
.tl-tile-art { flex: none; width: min(100%, 330px); margin: 0 -6px -8px auto; align-self: flex-end; }
.tl-tile.w7 .tl-tile-art { width: min(52%, 360px); }
.tl-tile.is-sand .tl-tile-art { width: min(56%, 390px); }
.tl-tile-art svg { display: block; width: 100%; height: auto; }

.tl-tile.is-navy a { background: var(--night) url("/blog/cta.svg") center / cover no-repeat; color: var(--cream); }
.tl-tile.is-navy .tl-go { background: var(--lime); color: var(--night); }
.tl-tile.is-lime a { background: var(--lime); color: var(--night); }
.tl-tile.is-lime .tl-go, .tl-tile.is-sky .tl-go, .tl-tile.is-sand .tl-go { background: var(--night); color: var(--cream); }
.tl-tile.is-sky a { background: var(--sky); }
.tl-tile.is-sand a { background: var(--sand); }

.tl-morewrap { margin: 0 0 12px; }
.tl-morewrap > h2 { margin: 0 0 16px; font-weight: 500; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.2; }
.tl-more { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tl-more li { grid-column: span 2; }
.tl-more li:nth-child(n+4) { grid-column: span 3; }
.tl-more a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px 20px 16px 16px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-hi, #fefefc); color: var(--fg); text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .25s ease; }
.tl-more a:hover { background: var(--lime); border-color: var(--lime); color: var(--night); transform: translateY(-2px); }
.tl-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--cream); }
.tl-more a:hover .tl-ic { background: var(--night); color: var(--lime); }
.tl-more-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.tl-more-t b { font-size: 18px; font-weight: 500; line-height: 1.25; }
.tl-more-t small { font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.tl-more a:hover .tl-more-t small { color: rgba(4, 17, 34, .72); }
.tl-more a > i { font-style: normal; font-size: 18px; flex: none; transition: transform .2s ease; }
.tl-more a:hover > i { transform: translateX(3px); }

/* ═════════════ Schengen calculator (sc-) ═════════════ */
.sc-row { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 12px 14px; align-items: end; margin: 0 0 14px; }
.sc-dur { display: inline-flex; align-items: center; min-height: 56px; padding: 0 4px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; min-width: 78px; }
.sc-dur.ok { color: var(--s-F-fg); }
.sc-rm { display: grid; place-items: center; width: 56px; height: 56px; padding: 0 !important; border-radius: 16px !important; font-size: 22px !important; line-height: 1; }
.sc-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 36px; align-items: center; }
.sc-main .tl-stats { grid-column: 1 / -1; }
.sc-gauge { position: relative; width: 196px; height: 196px; }
.sc-gauge svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-gauge .trk { stroke: rgba(4, 17, 34, .12); }
.sc-gauge .val { stroke: var(--night); transition: stroke-dashoffset .8s cubic-bezier(.2, .7, .2, 1); }
.tl-result[data-state="ok"] .sc-gauge .val { stroke: var(--ok); }
.tl-result[data-state="bad"] .sc-gauge .val { stroke: var(--bad); }
.tl-result[data-state="warn"] .sc-gauge .val { stroke: #b0780f; }
.sc-gauge-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sc-gauge-n b { font-size: 66px; font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sc-gauge-n span { margin-top: 4px; font-size: 14px; color: var(--muted); }
.sc-main-text .tl-badge { margin: 0; }
.sc-track { position: relative; }
.sc-bar { display: flex; gap: 1px; height: 64px; margin: 0; padding: 0; list-style: none; overflow: hidden; border-radius: 14px; background: var(--paper-hi, #fefefc); }
.sc-bar li { flex: 1 1 0; min-width: 0; background: var(--soft); }
.sc-bar li.used { background: var(--night); }
.sc-bar li.now { background: var(--lime); box-shadow: inset 0 0 0 1px var(--night); }
.sc-months { position: relative; height: 26px; margin: 8px 0 0; }
.sc-months span { position: absolute; top: 0; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); white-space: nowrap; padding-left: 7px; border-left: 1px solid var(--line); line-height: 18px; }
.sc-axis { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.sc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sc-legend i { width: 16px; height: 16px; border-radius: 5px; background: var(--soft); }
.sc-legend i.used { background: var(--night); }
.sc-legend i.now { background: var(--lime); box-shadow: inset 0 0 0 1px var(--night); }

/* ═════════════ passport validity (vc-) ═════════════ */
.vc-wide { grid-column: 1 / -1; }
.vc-viz { position: relative; height: 178px; margin: 26px 0 6px; }
.vc-axis { position: absolute; left: 0; right: 0; top: 88px; height: 2px; background: rgba(4, 17, 34, .18); }
.vc-trip { position: absolute; top: 76px; height: 26px; border-radius: 13px; background: var(--night); color: var(--cream); font-size: 13px; font-weight: 500; line-height: 26px; text-align: center; overflow: hidden; white-space: nowrap; min-width: 8px; }
.vc-triplab { position: absolute; top: 76px; font-size: 14px; font-weight: 500; line-height: 26px; color: var(--muted); white-space: nowrap; }
.vc-gap { position: absolute; top: 82px; height: 14px; border-radius: 7px; background: var(--ok); opacity: .55; }
.vc-gap.short { background: var(--bad); opacity: .6; }
.vc-mark { position: absolute; top: 0; bottom: 0; width: 0; }
.vc-mark::before { content: ""; position: absolute; left: -1px; width: 2px; background: var(--night); }
.vc-mark.up::before { top: 52px; height: 36px; }
.vc-mark.down::before { top: 90px; height: 36px; }
.vc-mark.exp::before { background: var(--ok); }
.vc-mark.exp.bad::before { background: var(--bad); }
.vc-mark b, .vc-mark span { position: absolute; left: 0; white-space: nowrap; transform: translateX(-50%); }
.vc-mark.l b, .vc-mark.l span { transform: none; left: -1px; }
.vc-mark.r b, .vc-mark.r span { transform: translateX(-100%); left: 1px; }
.vc-mark span { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vc-mark b { font-size: 19px; font-weight: 500; line-height: 1.2; }
.vc-mark.up span { top: 0; }
.vc-mark.up b { top: 20px; }
.vc-mark.down span { top: 130px; }
.vc-mark.down b { top: 150px; }

/* ═════════════ finder (wf-) ═════════════ */
.wf-top2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.wf-lab { margin: 24px 0 10px; }
.wf-months { gap: 6px; }
.wf-months .tl-chip { padding: 12px 14px; min-width: 52px; }
.wf-row2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 40px; align-items: start; }
.wf-check { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 16px; cursor: pointer; }
.wf-check input { width: 20px; height: 20px; accent-color: var(--night); }
.wf-count { display: flex; align-items: baseline; gap: 16px; margin: 30px 0 18px; font-size: 19px; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.wf-big { flex: none; font-size: clamp(56px, 9vw, 92px); line-height: .9; letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.wf-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; list-style: none; margin: 0 0 18px; padding: 0; }
.wf-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-hi, #fefefc); transition: border-color .2s ease, transform .25s ease; }
.wf-item:hover { border-color: rgba(2, 13, 27, .45); transform: translateY(-2px); }
.wf-main { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 18px 20px 10px; color: var(--fg); text-decoration: none; }
.wf-main:hover { color: var(--fg); }
.wf-top { display: flex; align-items: center; gap: 12px; }
.wf-flag { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.wf-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; align-items: flex-start; }
.wf-name b { font-size: 19px; font-weight: 500; line-height: 1.2; }
.wf-name small { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--soft); line-height: 1.3; }
.wf-name small.s-F { background: var(--s-F-bg); color: var(--s-F-fg); }
.wf-name small.s-A, .wf-name small.s-T { background: var(--s-A-bg); color: var(--s-A-fg); }
.wf-name small.s-E { background: var(--s-E-bg); color: var(--s-E-fg); }
.wf-seasons { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; }
.wf-seasons li { height: 8px; border-radius: 4px; background: var(--soft); }
.wf-seasons li.on { background: var(--night); }
.wf-seasons li.sel { box-shadow: 0 0 0 2px var(--paper-hi, #fefefc), 0 0 0 4px var(--night); }
.wf-seasons li.on.sel { background: var(--lime); box-shadow: 0 0 0 2px var(--paper-hi, #fefefc), 0 0 0 4px var(--night); }
.wf-sub { font-size: 15px; line-height: 1.45; color: var(--muted); }
.wf-sub b { font-weight: 500; color: var(--fg); }
.wf-links { display: flex; gap: 18px; padding: 4px 20px 16px; font-size: 15px; }

/* ═════════════ plugs (pf-) ═════════════ */
.pf-pick { grid-template-columns: 1fr auto 1fr; }
.pf-swap { min-height: 56px; min-width: 56px; padding: 0; border-radius: 16px; font-size: 20px; }
.pf-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; margin: 26px 0 0; }
.pf-side { border-radius: 24px; padding: 18px 20px 20px; background: rgba(247, 247, 242, .66); }
.pf-side h3 { margin: 0 0 14px; }
.pf-side .tl-plugs { gap: 10px; }
.pf-side .tl-plug { flex-direction: column; align-items: flex-start; gap: 10px; width: 118px; padding: 12px; border-radius: 18px; }
.pf-side .tl-plug svg { width: 72px; height: 72px; border-radius: 16px; }
.pf-link { align-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--lime); font-size: 20px; line-height: 1; }
.tl-result[data-state="warn"] .pf-link { background: var(--bad); color: var(--cream); }
.pf-volts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
.pf-v { border-radius: 24px; padding: 16px 20px 18px; background: rgba(247, 247, 242, .66); }
.pf-v span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-v b { display: block; margin: 6px 0 0; font-size: 34px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.pf-v small { font-size: 15px; color: var(--muted); }
.pf-volt p { font-size: 17px; }
.pf-type { display: inline-flex; align-items: center; gap: 10px; }
.pf-type svg { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.pf-type b { font-weight: 500; white-space: nowrap; }

/* ═════════════ small screens ═════════════ */
@media (max-width: 900px) {
  .tl-hero { grid-template-columns: 1fr; padding: 40px 32px 36px; }
  .tl-hero-art { display: none; }
  .tl-hero::before { background: linear-gradient(90deg, rgba(4, 17, 34, .94), rgba(4, 17, 34, .78)); }
  .tl-bento .tl-tile.w7, .tl-bento .tl-tile.w5 { grid-column: 1 / -1; }
  .tl-tile.w7 a { flex-direction: column; align-items: stretch; }
  .tl-tile.w7 .tl-tile-art { width: min(100%, 330px); }
  .tl-tile a { min-height: 0; }
  .tl-tile-copy { max-width: none; }
}
@media (max-width: 720px) {
  .bar nav a[href="/blog/"], .bar nav a[href="/visa/"] { display: none; }
  .tl-hero { padding: 32px 22px 30px; border-radius: 26px; }
  .tl-hero .dek { font-size: 17px; }
  .tl-card { padding: 22px 18px 24px; border-radius: 24px; }
  .tl-result { padding: 22px 20px 24px; border-radius: 24px; }
  .tl-result p { font-size: 17px; }
  .tl-form { grid-template-columns: 1fr; }
  .tl-actions .btn { flex: 1 1 100%; }
  .tl-hubhead .dek { font-size: 18px; }
  .tl-tile a { padding: 26px 22px 22px; border-radius: 26px; }
  .tl-more { grid-template-columns: 1fr; }
  .tl-more li, .tl-more li:nth-child(n+4) { grid-column: auto; }
  .tl-table th, .tl-table td { padding: 10px 12px; font-size: 15px; }
  .sc-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
  .sc-row .tl-field input { font-size: 16px; padding: 0 10px 0 14px; }
  .sc-row .sc-dur { grid-column: 1; min-height: 0; padding: 0; align-self: center; }
  .sc-row .sc-rm { grid-column: 2; justify-self: end; align-self: center; width: 44px; height: 44px; }
  .tl-seg { display: flex; width: 100%; }
  .tl-segb { flex: 1 1 auto; padding: 13px 10px; font-size: 14.5px; white-space: nowrap; }
  .sc-main { grid-template-columns: 1fr; justify-items: start; gap: 8px; }
  .sc-gauge { width: 168px; height: 168px; }
  .sc-gauge-n b { font-size: 54px; }
  .sc-bar { height: 52px; border-radius: 12px; }
  .vc-viz { height: 178px; }
  .wf-row2 { grid-template-columns: 1fr; }
  .wf-list { grid-template-columns: 1fr; }
  .wf-count { flex-direction: column; gap: 8px; }
  .pf-pick { grid-template-columns: 1fr; }
  .pf-swap { justify-self: start; min-height: 44px; }
  .pf-flow { grid-template-columns: 1fr; }
  .pf-link { justify-self: center; transform: rotate(90deg); }
  .pf-volts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-tile a, .tl-more a, .wf-item, .tl-go, .sc-gauge .val { transition: none; }
  .tl-tile a:hover, .tl-more a:hover, .wf-item:hover { transform: none; }
}
