/* TemplateFlows main stylesheet. Tokens follow the saved DESIGN.md (TemplateFlows Product Platform). */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-var.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--tf-bg: #F5F7FB;
	--tf-surface: #FFFFFF;
	--tf-ink: #172033;
	--tf-muted: #5B6B82;
	--tf-brand: #111B36;
	--tf-brand-2: #1C2A52;
	--tf-brand-line: #3A4C7E;
	--tf-accent: #087F5B;
	--tf-accent-hover: #066A4C;
	--tf-accent-bright: #0EA779;
	--tf-mint: #55E0B3;
	--tf-violet: #7456D8;
	--tf-border: #E2E8F0;
	--tf-border-strong: #CBD5E1;
	--tf-tint: #EDF1F8;
	--tf-on-dark: #E6ECF7;
	--tf-on-dark-muted: #A9B6D3;
	--tf-font-head: "Manrope", ui-sans-serif, system-ui, sans-serif;
	--tf-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--tf-r-btn: 10px;
	--tf-r-card: 14px;
	--tf-r-pill: 999px;
	--tf-s1: 8px; --tf-s2: 16px; --tf-s3: 24px; --tf-s4: 32px; --tf-s5: 48px; --tf-s6: 64px; --tf-s7: 88px;
	--tf-shadow: 0 1px 2px rgba(17, 27, 54, .05), 0 8px 24px -12px rgba(17, 27, 54, .14);
	--tf-shadow-lift: 0 2px 4px rgba(17, 27, 54, .06), 0 18px 36px -18px rgba(17, 27, 54, .28);
	--tf-container: 1240px;
	--tf-gutter: 24px;
	--tf-header-h: 68px;
	--tf-focus: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--tf-accent);
}

/* Reset, scoped low so components win */
:where(.tf) *, :where(.tf) *::before, :where(.tf) *::after { box-sizing: border-box; }
:where(.tf) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.tf) :where(ul[class], ol[class]) { list-style: none; padding: 0; }
:where(.tf) img, :where(.tf) svg { max-width: 100%; height: auto; display: block; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tf-header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body.tf {
	margin: 0;
	background: var(--tf-bg);
	color: var(--tf-ink);
	font-family: var(--tf-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.tf :where(h1, h2, h3, h4) { font-family: var(--tf-font-head); color: var(--tf-brand); letter-spacing: -0.015em; font-weight: 700; }
:where(.tf) h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
:where(.tf) h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.15; }
:where(.tf) h3, .tf-h3 { font-size: 1.125rem; line-height: 1.3; }
.tf a { color: var(--tf-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tf a:hover { color: var(--tf-accent-hover); }
.tf :focus-visible { outline: none; box-shadow: var(--tf-focus); border-radius: 6px; }
.tf ::selection { background: #CFF5E7; color: var(--tf-brand); }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.tf-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--tf-brand); color: #fff !important; padding: 10px 16px; border-radius: var(--tf-r-btn); font-weight: 600; text-decoration: none; }
.tf-skip:focus { top: 12px; }
.tf-main:focus { outline: none; }

.tf-container { width: 100%; max-width: calc(var(--tf-container) + var(--tf-gutter) * 2); margin-inline: auto; padding-inline: var(--tf-gutter); }
.tf-container--narrow { max-width: calc(780px + var(--tf-gutter) * 2); }
.tf-icon { width: 20px; height: 20px; flex: none; }

/* Buttons */
.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--tf-r-btn); border: 1px solid transparent; font: 600 15px/1 var(--tf-font-body); text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .1s; }
.tf-btn:active { transform: translateY(1px); }
.tf-btn .tf-icon { width: 18px; height: 18px; }
.tf-btn--primary { background: var(--tf-accent); color: #FFFFFF !important; }
.tf-btn--primary:hover { background: var(--tf-accent-hover); }
.tf-btn--secondary { background: var(--tf-surface); color: var(--tf-brand) !important; border-color: var(--tf-border-strong); }
.tf-btn--secondary:hover { border-color: var(--tf-brand); }
.tf-btn--mint { background: var(--tf-mint); color: var(--tf-brand) !important; }
.tf-btn--mint:hover { background: #7BE9C5; }
.tf-btn--ghost-dark { background: transparent; color: #FFFFFF !important; border-color: rgba(255,255,255,.32); }
.tf-btn--ghost-dark:hover { border-color: #FFFFFF; background: rgba(255,255,255,.06); }
.tf-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.tf-btn--block { width: 100%; }
.tf-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--tf-r-btn); border: 1px solid var(--tf-border); background: var(--tf-surface); color: var(--tf-brand); cursor: pointer; padding: 0; }
.tf-iconbtn:hover { border-color: var(--tf-border-strong); }
.tf-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none !important; }
.tf-link .tf-icon { width: 18px; height: 18px; transition: transform .15s; }
.tf-link:hover .tf-icon { transform: translateX(3px); }
.tf-link--sm { font-size: 14px; }

/* Chips */
.tf-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--tf-r-pill); background: var(--tf-tint); color: #33415C; font-size: 12.5px; font-weight: 600; line-height: 1; text-decoration: none !important; white-space: nowrap; }
a.tf-chip:hover { background: #E1E7F2; color: var(--tf-brand); }
.tf-chip--platform { background: #E5F5EF; color: #065C43; }
.tf-chip--access { background: var(--tf-surface); color: #33415C; box-shadow: inset 0 0 0 1px var(--tf-border); }
.tf-chip--level-beginner { background: #EAF1FB; color: #1E4C8A; }
.tf-chip--level-intermediate { background: #F0ECFB; color: #5A3FB8; }
.tf-chip--level-advanced { background: #FBEEEA; color: #9A3A1F; }
.tf-chip--use, .tf-chip--topic { background: var(--tf-tint); }
.tf-chip--type { height: 22px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.tf-chip--removable { background: var(--tf-brand); color: #FFFFFF !important; padding-right: 6px; }
.tf-chip--removable .tf-icon { width: 14px; height: 14px; }
.tf-chip--removable:hover { background: var(--tf-brand-2) !important; color: #FFFFFF !important; }
.tf-chip.is-active { background: var(--tf-brand); color: #FFFFFF; }
.tf-sample { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #FFF4D6; color: #7A5300; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* Header */
.tf-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--tf-border); }
body.admin-bar .tf-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tf-header { top: 0; } }
.tf-header__inner { display: flex; align-items: center; gap: var(--tf-s3); height: var(--tf-header-h); }
.tf-header__brand { display: inline-flex; flex: none; }
.tf-header__brand .tf-logo { width: 176px; height: auto; }
.tf-header__menu { display: none; }
.tf-nav { flex: 1; display: flex; justify-content: center; }
.tf-nav__list { display: flex; gap: 4px; }
.tf-nav__list a { display: block; padding: 8px 12px; border-radius: 8px; color: #33415C; font-weight: 500; font-size: 15px; text-decoration: none; }
.tf-nav__list a:hover { color: var(--tf-brand); background: var(--tf-tint); }
.tf-nav__list .current-menu-item > a, .tf-nav__list .current-menu-ancestor > a, .tf-nav__list .current_page_parent > a { color: var(--tf-brand); font-weight: 600; box-shadow: inset 0 -2px 0 var(--tf-accent); border-radius: 0; }
.tf-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tf-searchpanel { border-top: 1px solid var(--tf-border); background: var(--tf-surface); padding: 20px 0 24px; }
.tf-searchpanel__alt { margin-top: 10px; font-size: 14px; color: var(--tf-muted); }

/* Drawer */
.tf-drawer { position: fixed; inset: 0; z-index: 100; }
.tf-drawer[hidden] { display: none; }
.tf-drawer__scrim { position: absolute; inset: 0; background: rgba(13, 22, 48, .5); }
.tf-drawer__panel { position: relative; z-index: 1; width: min(340px, 88vw); height: 100%; background: var(--tf-surface); padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; box-shadow: var(--tf-shadow-lift); }
.tf-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.tf-drawer__head .tf-logo { width: 160px; }
.tf-drawer__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--tf-border); color: var(--tf-brand); font: 600 17px/1.2 var(--tf-font-head); text-decoration: none; }
.tf-drawer__list .current-menu-item > a { color: var(--tf-accent); }
html.tf-locked { overflow: hidden; }

/* Search */
.tf-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; padding: 6px; background: var(--tf-surface); border: 1px solid var(--tf-border-strong); border-radius: 12px; box-shadow: var(--tf-shadow); }
.tf-search:focus-within { border-color: var(--tf-accent); box-shadow: 0 0 0 3px rgba(8,127,91,.18); }
.tf-search__icon { margin-left: 10px; color: var(--tf-muted); }
.tf-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 400 16px var(--tf-font-body); color: var(--tf-ink); padding: 0 4px; }
.tf-search input:focus { outline: none; box-shadow: none; }
.tf-search input::placeholder { color: #7C8AA0; }
.tf-search .tf-btn { min-height: 44px; }

/* Sections */
.tf-section { padding: var(--tf-s7) 0; }
.tf-section--tint { background: var(--tf-surface); border-block: 1px solid var(--tf-border); }
.tf-section--tight { padding: var(--tf-s5) 0; }
.tf-section--flush { padding-top: var(--tf-s4); }
.tf-section--dir { padding-top: var(--tf-s4); }
.tf-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--tf-s3); margin-bottom: var(--tf-s4); }
.tf-shead p { margin-top: 8px; color: var(--tf-muted); font-size: 17px; max-width: 60ch; }
.tf-shead .tf-link { flex: none; }

.tf-grid { display: grid; gap: var(--tf-s3); }
.tf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Hero */
.tf-hero { background: var(--tf-brand); color: var(--tf-on-dark); padding: var(--tf-s6) 0 var(--tf-s7); overflow: hidden; }
.tf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--tf-s6); align-items: center; }
.tf-hero h1 { color: #FFFFFF; max-width: 20ch; }
.tf-hero__lead { margin-top: 18px; font-size: 18.5px; line-height: 1.6; color: var(--tf-on-dark-muted); max-width: 46ch; }
.tf-hero .tf-search { margin-top: 28px; border-color: transparent; }
.tf-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tf-hero__visual { position: relative; }
.tf-hero__svg { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tf-hero__caption { margin-top: 12px; font-size: 13px; color: var(--tf-on-dark-muted); }

/* Cards */
.tf-card { background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); transition: box-shadow .2s, border-color .2s, transform .2s; }
.tf-tcard, .tf-gcard { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.tf-tcard:hover, .tf-gcard:hover, .tf-termcard:hover { box-shadow: var(--tf-shadow-lift); border-color: var(--tf-border-strong); }
.tf-tcard__media, .tf-gcard__media { display: block; aspect-ratio: 16 / 10; background: var(--tf-brand); overflow: hidden; }
.tf-tcard__media img, .tf-gcard__media img, .tf-tcard__media svg, .tf-gcard__media svg { width: 100%; height: 100%; object-fit: cover; }
.tf-tcard__body, .tf-gcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.tf-tcard__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tf-tcard__title, .tf-gcard__title { font-size: 1.125rem; line-height: 1.3; }
.tf-tcard__title a, .tf-gcard__title a { color: var(--tf-brand); text-decoration: none; }
.tf-tcard__title a::after, .tf-gcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tf-tcard__title a:focus-visible, .tf-gcard__title a:focus-visible { box-shadow: none; }
.tf-tcard:focus-within, .tf-gcard:focus-within { box-shadow: var(--tf-focus); }
.tf-tcard__desc, .tf-gcard__desc { color: var(--tf-muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tf-tcard__foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--tf-border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tf-tcard__tags { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tf-tcard__use { font-size: 13px; color: var(--tf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-tcard__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--tf-accent); flex: none; }
.tf-tcard__cta .tf-icon { width: 16px; height: 16px; transition: transform .15s; }
.tf-tcard:hover .tf-tcard__cta .tf-icon { transform: translateX(3px); }
.tf-flow-art { width: 100%; height: 100%; }
.tf-byline { font-size: 13.5px; color: var(--tf-muted); }
.tf-gcard__body .tf-byline { margin-top: auto; }

.tf-termcard { display: flex; flex-direction: column; gap: 8px; padding: 22px; text-decoration: none !important; color: var(--tf-ink); min-height: 100%; }
.tf-termcard__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tf-brand); color: var(--tf-mint); margin-bottom: 6px; }
.tf-termcard__name { font: 700 1.125rem/1.3 var(--tf-font-head); color: var(--tf-brand); }
.tf-termcard__desc { color: var(--tf-muted); font-size: 15px; line-height: 1.55; }
.tf-termcard__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--tf-muted); }
.tf-termcard__foot .tf-icon { color: var(--tf-accent); width: 18px; height: 18px; transition: transform .15s; }
.tf-termcard:hover .tf-termcard__foot .tf-icon { transform: translateX(3px); }
.tf-terms .tf-termcard:first-child { background: var(--tf-brand); border-color: var(--tf-brand); }
.tf-terms .tf-termcard:first-child .tf-termcard__icon { background: var(--tf-mint); color: var(--tf-brand); }
.tf-terms .tf-termcard:first-child .tf-termcard__name { color: #FFFFFF; }
.tf-terms .tf-termcard:first-child .tf-termcard__desc, .tf-terms .tf-termcard:first-child .tf-termcard__foot { color: var(--tf-on-dark-muted); }
.tf-terms .tf-termcard:first-child .tf-termcard__foot .tf-icon { color: var(--tf-mint); }

.tf-toolcard { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; position: relative; }
.tf-toolcard + .tf-toolcard { margin-top: 12px; }
.tf-grid .tf-toolcard + .tf-toolcard { margin-top: 0; }
.tf-toolcard__logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tf-tint); color: var(--tf-brand); overflow: hidden; }
.tf-toolcard__logo img { width: 100%; height: 100%; object-fit: contain; }
.tf-toolcard__logo--lg { width: 72px; height: 72px; border-radius: 16px; }
.tf-toolcard__logo--lg .tf-icon { width: 32px; height: 32px; }
.tf-toolcard__title { font-size: 1rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tf-toolcard__title a { color: var(--tf-brand); text-decoration: none; }
.tf-toolcard__title a::after { content: ""; position: absolute; inset: 0; }
.tf-toolcard__desc { margin-top: 4px; color: var(--tf-muted); font-size: 14.5px; line-height: 1.5; }

/* Why */
.tf-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: var(--tf-s6); align-items: start; }
.tf-why__intro p { margin: 14px 0 18px; color: var(--tf-muted); font-size: 17px; }
.tf-why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); background: var(--tf-surface); overflow: hidden; }
.tf-why__list li { display: flex; gap: 14px; padding: 26px 24px; }
.tf-why__list li:nth-child(odd) { border-right: 1px solid var(--tf-border); }
.tf-why__list li:nth-child(-n+2) { border-bottom: 1px solid var(--tf-border); }
.tf-why__list .tf-icon { color: var(--tf-accent); width: 24px; height: 24px; margin-top: 2px; }
.tf-why__list p { margin-top: 6px; color: var(--tf-muted); font-size: 15px; }

/* Needs */
.tf-needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tf-needs a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--tf-border); background: var(--tf-bg); color: var(--tf-brand); font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.tf-needs a:hover { border-color: var(--tf-accent); background: var(--tf-surface); }
.tf-needs__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tf-surface); color: var(--tf-accent); box-shadow: inset 0 0 0 1px var(--tf-border); flex: none; }
.tf-needs__label { flex: 1; }
.tf-needs__arrow { color: var(--tf-muted); width: 18px; height: 18px; }

/* Guides feature */
.tf-guides-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--tf-s3); }
.tf-guides-feature .tf-gcard--feature { grid-row: span 2; }
.tf-guides-feature .tf-gcard:not(.tf-gcard--feature) { flex-direction: row; }
.tf-guides-feature .tf-gcard:not(.tf-gcard--feature) .tf-gcard__media { width: 38%; aspect-ratio: auto; flex: none; }
.tf-gcard--feature .tf-gcard__title { font-size: 1.5rem; }
.tf-gcard--feature .tf-gcard__desc { -webkit-line-clamp: 3; }
.tf-guides-grid .tf-gcard--feature { grid-column: span 2; }

/* Tools band */
.tf-tools-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--tf-s6); align-items: start; }
.tf-tools-band__intro p { margin: 14px 0 18px; color: var(--tf-muted); font-size: 17px; }
.tf-tools-band__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tf-tools-band__list .tf-toolcard + .tf-toolcard { margin-top: 0; }
.tf-tools-band__list .tf-empty { grid-column: 1 / -1; }

/* Steps */
.tf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tf-s4); position: relative; }
.tf-steps li { position: relative; padding-top: 4px; }
.tf-steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: -16px; border-top: 2px dashed var(--tf-border-strong); }
.tf-steps__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tf-brand); color: var(--tf-mint); margin-bottom: 18px; }
.tf-steps__icon .tf-icon { width: 24px; height: 24px; }
.tf-steps p { margin-top: 8px; color: var(--tf-muted); max-width: 34ch; }

/* Newsletter */
.tf-newsletter { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--tf-s4); align-items: center; padding: var(--tf-s5); background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: 20px; }
.tf-newsletter h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.875rem); }
.tf-newsletter p { margin-top: 10px; color: var(--tf-muted); }
.tf-newsletter__form { display: flex; gap: 8px; }
.tf-newsletter__form input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--tf-border-strong); border-radius: var(--tf-r-btn); padding: 0 14px; font: 16px var(--tf-font-body); }
.tf-newsletter__pending { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--tf-bg); color: var(--tf-muted) !important; font-size: 15px; margin: 0 !important; }
.tf-newsletter__pending .tf-icon { color: var(--tf-accent); margin-top: 2px; }

/* CTA band */
.tf-cta-band { background: var(--tf-brand); color: var(--tf-on-dark); padding: var(--tf-s6) 0; }
.tf-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--tf-s4); }
.tf-cta-band h2 { color: #FFFFFF; }
.tf-cta-band p { margin-top: 8px; color: var(--tf-on-dark-muted); font-size: 17px; }
.tf-cta-band--soft { margin-top: var(--tf-s6); }

/* Footer */
.tf-footer { background: #0D1630; color: var(--tf-on-dark-muted); padding: var(--tf-s6) 0 var(--tf-s4); font-size: 15px; }
.tf-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: var(--tf-s4); }
.tf-footer__brand .tf-logo { width: 184px; }
.tf-footer__brand p { margin-top: 16px; max-width: 36ch; line-height: 1.6; }
.tf-footer__col h2 { color: #FFFFFF; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; }
.tf-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tf-footer a { color: var(--tf-on-dark); text-decoration: none; }
.tf-footer a:hover { color: var(--tf-mint); }
.tf-footer__bottom { margin-top: var(--tf-s5); padding-top: var(--tf-s3); border-top: 1px solid #22325E; display: flex; justify-content: space-between; gap: var(--tf-s3); font-size: 13.5px; }
.tf-footer__bottom p { max-width: 80ch; }

/* Page head */
.tf-pagehead { padding: var(--tf-s5) 0 var(--tf-s4); background: var(--tf-surface); border-bottom: 1px solid var(--tf-border); }
.tf-pagehead h1 { max-width: 22ch; }
.tf-pagehead__lead { margin-top: 14px; font-size: 18px; color: var(--tf-muted); max-width: 64ch; line-height: 1.6; }
.tf-pagehead .tf-search { margin-top: 24px; }
.tf-pagehead__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tf-brand); color: var(--tf-mint); margin-bottom: 16px; }
.tf-pagehead--single { padding-bottom: var(--tf-s4); }
.tf-pagehead--article h1 { margin-top: 14px; max-width: 26ch; }
.tf-pagehead--article .tf-byline { margin-top: 18px; }

.tf-crumbs { margin-bottom: 18px; font-size: 13.5px; }
.tf-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tf-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--tf-muted); }
.tf-crumbs li + li::before { content: "/"; color: var(--tf-border-strong); }
.tf-crumbs a { color: var(--tf-muted); text-decoration: none; }
.tf-crumbs a:hover { color: var(--tf-accent); text-decoration: underline; }
.tf-crumbs [aria-current] { color: var(--tf-ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tf-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tf-topics .tf-chip { height: 34px; padding: 0 14px; font-size: 14px; }

/* Notices */
.tf-notice { padding: 12px 16px; border-radius: 10px; background: var(--tf-tint); color: var(--tf-ink); font-size: 14.5px; margin-bottom: 18px; border: 1px solid var(--tf-border); }
.tf-notice--sample { background: #FFF8E6; border-color: #F3DFA6; color: #5C4200; }
.tf-notice--ok { background: #E7F7F0; border-color: #A8E2C9; color: #064C38; }
.tf-notice--error { background: #FDECEC; border-color: #F5B5B5; color: #8A1C1C; }

/* Empty state */
.tf-empty { text-align: center; padding: var(--tf-s5) var(--tf-s3); border: 1px dashed var(--tf-border-strong); border-radius: var(--tf-r-card); background: var(--tf-surface); }
.tf-empty__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tf-tint); color: var(--tf-brand); margin-bottom: 14px; }
.tf-empty h3 { font-size: 1.25rem; }
.tf-empty p { margin: 8px auto 0; color: var(--tf-muted); max-width: 52ch; }
.tf-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

/* Directory */
.tf-dir { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--tf-s4); align-items: start; }
.tf-dir__rail { position: sticky; top: calc(var(--tf-header-h) + 24px); }
body.admin-bar .tf-dir__rail { top: calc(var(--tf-header-h) + 56px); }
.tf-filters { background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); padding: 18px; }
.tf-filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tf-filters__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.tf-filters__title .tf-icon { width: 18px; height: 18px; color: var(--tf-accent); }
.tf-filters__group { border: 0; margin: 0; padding: 14px 0 6px; border-top: 1px solid var(--tf-border); margin-top: 12px; }
.tf-filters__group legend { float: left; width: 100%; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--tf-muted); margin-bottom: 8px; padding: 0; }
.tf-check { clear: both; display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.tf-check:hover { background: var(--tf-bg); }
.tf-check input { width: 18px; height: 18px; accent-color: var(--tf-accent); margin: 0; flex: none; }
.tf-check span:nth-child(2) { flex: 1; }
.tf-check__count { font-size: 12.5px; color: var(--tf-muted); font-variant-numeric: tabular-nums; }
.tf-check.is-empty { color: #8A97AB; }
.tf-dir__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.tf-dir__count { font-weight: 600; color: var(--tf-brand); }
.tf-dir__tools { display: flex; align-items: center; gap: 10px; }
.tf-dir__filterbtn { display: none; }
.tf-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tf-muted); }
.tf-sort select, .tf-field select { height: 40px; border: 1px solid var(--tf-border-strong); border-radius: var(--tf-r-btn); padding: 0 34px 0 12px; font: 500 14.5px var(--tf-font-body); color: var(--tf-ink); background: var(--tf-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235B6B82' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; }
.tf-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tf-active-filters .tf-chip { height: 30px; }

.tf-pagination { margin-top: var(--tf-s5); }
.tf-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.tf-pagination a, .tf-pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--tf-r-btn); border: 1px solid var(--tf-border); background: var(--tf-surface); color: var(--tf-brand); font-weight: 600; text-decoration: none; }
.tf-pagination a:hover { border-color: var(--tf-brand); }
.tf-pagination .current { background: var(--tf-brand); color: #FFFFFF; border-color: var(--tf-brand); }
.tf-pagination .dots { border: 0; background: none; }

/* Single template and tool */
.tf-tpl { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--tf-s5); padding-block: var(--tf-s5) var(--tf-s6); align-items: start; }
.tf-tpl__media { border-radius: 16px; overflow: hidden; background: var(--tf-brand); aspect-ratio: 16 / 9; border: 1px solid var(--tf-border); }
.tf-tpl__media > * { width: 100%; height: 100%; object-fit: cover; }
.tf-tpl__aside { position: sticky; top: calc(var(--tf-header-h) + 24px); display: grid; gap: 16px; }
body.admin-bar .tf-tpl__aside { top: calc(var(--tf-header-h) + 56px); }
.tf-tplhead h1 { margin-top: 14px; }
.tf-integrations { margin-top: 14px; color: var(--tf-muted); font-size: 15px; }
.tf-integrations span { font-weight: 600; color: var(--tf-ink); }
.tf-jump { margin: 24px 0 8px; border-bottom: 1px solid var(--tf-border); overflow-x: auto; }
.tf-jump ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; white-space: nowrap; }
.tf-jump a { display: block; padding: 10px 12px; color: var(--tf-muted); font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tf-jump a:hover, .tf-jump a.is-active { color: var(--tf-brand); border-bottom-color: var(--tf-accent); }
.tf-block { padding-top: var(--tf-s5); }
.tf-block > h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.tf-req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tf-s3); }
.tf-req__col { background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); padding: 20px 22px; }
.tf-req__col h3, .tf-req__col h2 { font-size: 1rem; margin-bottom: 12px; }
.tf-checklist { display: grid; gap: 10px; }
.tf-checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.tf-checklist .tf-icon { color: var(--tf-accent); width: 20px; height: 20px; margin-top: 2px; }
.tf-setup { counter-reset: tfstep; display: grid; gap: 14px; }
.tf-setup__step { counter-increment: tfstep; position: relative; padding: 20px 22px 20px 72px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); }
.tf-setup__step::before { content: counter(tfstep); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tf-brand); color: var(--tf-mint); font: 800 15px var(--tf-font-head); }
.tf-setup__step h3 { margin-bottom: 6px; }
.tf-setup__shot { margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--tf-border); }
.tf-callout { margin-top: var(--tf-s5); padding: 24px; border-radius: var(--tf-r-card); background: #FFF8E6; border: 1px solid #F3DFA6; }
.tf-callout > h2 { font-size: 1.2rem; color: #5C4200; }
.tf-callout .tf-icon { color: #A06D00; }
.tf-faq { display: grid; gap: 10px; }
.tf-faq details { background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: 12px; }
.tf-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--tf-brand); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after { content: "+"; font: 400 22px/1 var(--tf-font-body); color: var(--tf-accent); }
.tf-faq details[open] summary::after { content: "\2212"; }
.tf-faq details p { padding: 0 20px 18px; color: var(--tf-muted); }
.tf-panel { background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); padding: 20px; box-shadow: var(--tf-shadow); }
.tf-panel--plain { box-shadow: none; }
.tf-panel__ctas { display: grid; gap: 10px; }
.tf-panel__ctas .tf-btn { width: 100%; }
.tf-panel__title { font-size: 1rem; margin-bottom: 12px; }
.tf-panel__text { font-size: 15px; color: var(--tf-ink); }
.tf-panel__note { margin-top: 8px; font-size: 13px; color: var(--tf-muted); text-align: center; }
.tf-panel__aff { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--tf-border); }
.tf-panel__aff .tf-btn { width: 100%; }
.tf-panel--plain .tf-toolcard { border: 0; padding: 10px 0; }
.tf-facts { display: grid; margin: 18px 0 0; }
.tf-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--tf-border); font-size: 14.5px; }
.tf-facts dt { color: var(--tf-muted); }
.tf-facts dd { margin: 0; font-weight: 600; text-align: right; color: var(--tf-ink); }
.tf-facts--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--tf-s3); margin: 0; }
.tf-facts--inline > div { flex-direction: column; gap: 4px; }
.tf-facts--inline dd { text-align: left; }
.tf-disclosure { display: flex; gap: 10px; margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--tf-tint); font-size: 14px; color: var(--tf-muted); }
.tf-disclosure .tf-icon { color: var(--tf-brand); width: 18px; height: 18px; margin-top: 2px; }
.tf-toolhead { display: flex; gap: 20px; align-items: flex-start; }
.tf-toolhead .tf-hero__ctas .tf-btn--secondary { background: var(--tf-surface); }

/* Prose */
.tf-prose { font-size: 17px; line-height: 1.7; }
.tf-prose > * + * { margin-top: 1.1em; }
.tf-prose :where(p, li) { max-width: 70ch; }
.tf-prose h2 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); margin-top: 1.8em; }
.tf-prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.tf-prose > h2:first-child, .tf-prose > h3:first-child { margin-top: 0; }
.tf-prose ul, .tf-prose ol { padding-left: 1.3em; }
.tf-prose li + li { margin-top: .4em; }
.tf-prose img { border-radius: 12px; border: 1px solid var(--tf-border); }
.tf-prose blockquote { border-left: 3px solid var(--tf-accent); padding: 4px 0 4px 18px; color: var(--tf-muted); }
.tf-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--tf-tint); padding: .15em .4em; border-radius: 6px; }
.tf-prose pre { background: var(--tf-brand); color: var(--tf-on-dark); padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.tf-prose pre code { background: none; padding: 0; color: inherit; }
.tf-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tf-prose th, .tf-prose td { border-bottom: 1px solid var(--tf-border); padding: 10px 12px; text-align: left; }
.tf-prose th { font-weight: 700; color: var(--tf-brand); }

/* Article */
.tf-article { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: var(--tf-s5); padding-block: var(--tf-s5); }
.tf-article.has-toc { grid-template-columns: 220px minmax(0, 760px); }
.tf-article__hero { margin-top: var(--tf-s4); }
.tf-article__hero img { border-radius: 16px; width: 100%; }
.tf-toc { position: sticky; top: calc(var(--tf-header-h) + 24px); font-size: 14px; }
.tf-toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--tf-muted); margin-bottom: 10px; }
.tf-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--tf-border); }
.tf-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--tf-muted); text-decoration: none; line-height: 1.4; }
.tf-toc a:hover, .tf-toc a.is-active { color: var(--tf-brand); border-left-color: var(--tf-accent); }
.tf-toc[hidden] + .tf-article__body { grid-column: 1 / -1; }
.tf-refs { margin-top: var(--tf-s5); padding-top: var(--tf-s3); border-top: 1px solid var(--tf-border); font-size: 15px; }

/* Search results */
.tf-results { display: grid; gap: 14px; }
.tf-result { padding: 20px 22px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); }
.tf-result h2 { font-size: 1.15rem; margin-top: 10px; }
.tf-result h2 a { color: var(--tf-brand); text-decoration: none; }
.tf-result h2 a:hover { color: var(--tf-accent); }
.tf-result p { margin-top: 6px; color: var(--tf-muted); font-size: 15px; }

/* 404 */
.tf-404 { text-align: center; }
.tf-404__art { display: flex; justify-content: center; margin-bottom: 28px; }
.tf-404 h1 { margin-inline: auto; }
.tf-404 .tf-pagehead__lead { margin-inline: auto; }
.tf-404 .tf-search { margin: 28px auto 0; }
.tf-404__links { justify-content: center; }

/* Forms */
.tf-contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--tf-s5); align-items: start; }
.tf-contact__form { background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-r-card); padding: var(--tf-s4); }
.tf-form { display: grid; gap: 18px; }
.tf-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tf-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tf-field { display: grid; gap: 6px; }
.tf-field label { font-weight: 600; font-size: 14.5px; color: var(--tf-brand); }
.tf-field input[type="text"], .tf-field input[type="email"], .tf-field textarea, .tf-field select { width: 100%; border: 1px solid var(--tf-border-strong); border-radius: var(--tf-r-btn); padding: 10px 14px; font: 16px/1.5 var(--tf-font-body); color: var(--tf-ink); background-color: var(--tf-surface); }
.tf-field input, .tf-field select { height: 46px; }
.tf-field textarea { resize: vertical; min-height: 140px; }
.tf-field :where(input, textarea, select):focus { outline: none; border-color: var(--tf-accent); box-shadow: 0 0 0 3px rgba(8,127,91,.18); }
.tf-field [aria-invalid="true"] { border-color: #C0362C; }
.tf-field__help { font-size: 13.5px; color: var(--tf-muted); }
.tf-field__error { font-size: 13.5px; color: #B42318; }
.tf-field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--tf-ink); font-size: 14.5px; }
.tf-field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--tf-accent); flex: none; }
.tf-form .tf-btn { justify-self: start; }
.tf-page__updated { margin-top: var(--tf-s5) !important; font-size: 14px; color: var(--tf-muted); }
.tf-index__body { margin-top: var(--tf-s5); }

/* Responsive */
@media (max-width: 1180px) {
	.tf-nav__list a { padding: 8px 9px; font-size: 14.5px; }
	.tf-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tf-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	:root { --tf-header-h: 64px; }
	.tf-header__menu { display: inline-grid; }
	.tf-nav { display: none; }
	.tf-header__inner { gap: 12px; }
	.tf-header__actions { margin-left: auto; }
	.tf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--tf-s5); }
	.tf-hero__visual { max-width: 560px; }
	.tf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tf-why, .tf-tools-band { grid-template-columns: minmax(0, 1fr); gap: var(--tf-s4); }
	.tf-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tf-dir { grid-template-columns: minmax(0, 1fr); }
	.tf-dir__rail { position: static; display: none; }
	.tf-dir__rail.is-open { display: block; }
	.tf-dir__filterbtn { display: inline-flex; }
	.tf-tpl { grid-template-columns: minmax(0, 1fr); }
	.tf-tpl__aside { position: static; order: -1; }
	.tf-tpl__aside .tf-panel--plain { display: none; }
	.tf-article.has-toc { grid-template-columns: minmax(0, 760px); }
	.tf-toc { display: none; }
	.tf-contact { grid-template-columns: minmax(0, 1fr); }
	.tf-guides-grid .tf-gcard--feature { grid-column: span 2; }
}
@media (max-width: 900px) {
	.tf-guides-feature { grid-template-columns: minmax(0, 1fr); }
	.tf-guides-feature .tf-gcard--feature { grid-row: auto; }
	.tf-steps { grid-template-columns: minmax(0, 1fr); gap: var(--tf-s3); }
	.tf-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
	.tf-steps__icon { grid-row: span 2; margin: 0; }
	.tf-steps li:not(:last-child)::after { top: 64px; bottom: -20px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--tf-border-strong); }
	.tf-newsletter { grid-template-columns: minmax(0, 1fr); padding: var(--tf-s4); }
	.tf-cta-band__inner { flex-direction: column; align-items: flex-start; }
	.tf-facts--inline { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
	:root { --tf-gutter: 16px; }
	.tf-section { padding: var(--tf-s6) 0; }
	.tf-header__cta { display: none; }
	.tf-header__inner { justify-content: space-between; }
	.tf-header__brand { margin-right: auto; }
	.tf-header__brand .tf-logo { width: 156px; }
	.tf-header__actions { margin-left: 0; }
	.tf-hero { padding: var(--tf-s5) 0 var(--tf-s6); }
	.tf-hero__lead { font-size: 17px; }
	.tf-hero__visual { display: none; }
	.tf-terms .tf-termcard { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
	.tf-terms .tf-termcard__icon { margin: 0; width: 40px; height: 40px; flex: none; }
	.tf-terms .tf-termcard__name { flex: 1; font-size: 1rem; }
	.tf-terms .tf-termcard__desc { display: none; }
	.tf-terms .tf-termcard__foot { margin: 0; padding: 0; gap: 8px; flex: none; }
	.tf-grid.tf-terms { gap: 10px; }
	.tf-search { flex-wrap: wrap; }
	.tf-search input { flex-basis: calc(100% - 44px); }
	.tf-search .tf-btn { width: 100%; }
	.tf-hero__ctas .tf-btn { flex: 1 1 auto; }
	.tf-grid--2, .tf-grid--3, .tf-needs, .tf-tools-band__list, .tf-req, .tf-form__row { grid-template-columns: minmax(0, 1fr); }
	.tf-guides-grid .tf-gcard--feature { grid-column: auto; }
	.tf-guides-feature .tf-gcard:not(.tf-gcard--feature) .tf-gcard__media { width: 34%; }
	.tf-guides-feature .tf-gcard:not(.tf-gcard--feature) .tf-gcard__body { padding: 14px 16px; }
	.tf-guides-feature .tf-gcard:not(.tf-gcard--feature) .tf-gcard__desc { display: none; }
	.tf-guides-feature .tf-gcard:not(.tf-gcard--feature) .tf-gcard__title { font-size: 1rem; }
	.tf-why__list { grid-template-columns: minmax(0, 1fr); }
	.tf-why__list li:nth-child(odd) { border-right: 0; }
	.tf-why__list li:not(:last-child) { border-bottom: 1px solid var(--tf-border); }
	.tf-shead { flex-direction: column; align-items: flex-start; gap: 12px; }
	.tf-dir__bar { flex-direction: column; align-items: flex-start; }
	.tf-dir__tools { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
	.tf-sort select { max-width: 100%; }
	.tf-setup__step { padding: 64px 18px 18px; }
	.tf-setup__step::before { top: 18px; left: 18px; }
	.tf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tf-footer__bottom { flex-direction: column; }
	.tf-toolhead { flex-direction: column; }
	.tf-contact__form { padding: var(--tf-s3); }
	.tf-crumbs [aria-current] { max-width: 24ch; }
}
@media (max-width: 360px) {
	.tf-header__brand .tf-logo { width: 138px; }
	.tf-iconbtn { width: 40px; height: 40px; }
	.tf-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.tf-tcard__foot { flex-wrap: wrap; }
}
@media print {
	.tf-header, .tf-footer, .tf-tpl__aside, .tf-jump, .tf-cta-band { display: none !important; }
}