/* Two Front Doors: what theme.json can't express.
   Colours are always WordPress's palette variables (theme.json, generated from
   design/tokens.json), so dark mode and the "Dark section" style can re-point
   them in one place. Radii and sizes are the tokens under --wp--custom--. */

/* BEGIN generated by wordpress/tools/build-theme-json.mjs from design/tokens.json. Do not edit by hand. */
@media (prefers-color-scheme: dark) {
  html:root, html body {
    --wp--preset--color--background: #141c24;
    --wp--preset--color--surface: #202b35;
    --wp--preset--color--surface-subtle: #1a242d;
    --wp--preset--color--border: #314050;
    --wp--preset--color--border-strong: #415264;
    --wp--preset--color--text: #f4f7f8;
    --wp--preset--color--text-muted: #b3c0ca;
    --wp--preset--color--text-faint: #8390a0;
    --wp--preset--color--primary: #9fe2c0;
    --wp--preset--color--on-primary: #141c24;
    --wp--preset--color--primary-soft: #23423a;
    --wp--preset--color--accent: #adbdfc;
    --wp--preset--color--household-self: #2a4a3e;
    --wp--preset--color--household-other: #333c62;
    --wp--preset--color--household-text: #f4f7f8;
    --wp--preset--color--warning-surface: #3d3320;
    --wp--preset--color--warning-text: #f6e3b8;
    --wp--preset--color--status-warning: #f2b872;
    --wp--preset--color--danger: #ff9a8f;
    --wp--preset--color--offline-surface: #26313b;
    --wp--preset--color--month-tint-sage: #203532;
    --wp--preset--color--month-tint-peach: #252e46;
    --tfd-logo-door-left: #245c48;
    --tfd-logo-door-right: #2a4a3e;
    --tfd-logo-handle: #f3ddd0;
    --tfd-logo-ink: #f4f7f8;
    color-scheme: dark;
  }
}
.is-style-section-dark {
  --wp--preset--color--background: #141c24;
  --wp--preset--color--surface: #202b35;
  --wp--preset--color--surface-subtle: #1a242d;
  --wp--preset--color--border: #314050;
  --wp--preset--color--border-strong: #415264;
  --wp--preset--color--text: #f4f7f8;
  --wp--preset--color--text-muted: #b3c0ca;
  --wp--preset--color--text-faint: #8390a0;
  --wp--preset--color--primary: #9fe2c0;
  --wp--preset--color--on-primary: #141c24;
  --wp--preset--color--primary-soft: #23423a;
  --wp--preset--color--accent: #adbdfc;
  --wp--preset--color--household-self: #2a4a3e;
  --wp--preset--color--household-other: #333c62;
  --wp--preset--color--household-text: #f4f7f8;
  --wp--preset--color--warning-surface: #3d3320;
  --wp--preset--color--warning-text: #f6e3b8;
  --wp--preset--color--status-warning: #f2b872;
  --wp--preset--color--danger: #ff9a8f;
  --wp--preset--color--offline-surface: #26313b;
  --wp--preset--color--month-tint-sage: #203532;
  --wp--preset--color--month-tint-peach: #252e46;
  --tfd-logo-door-left: #245c48;
  --tfd-logo-door-right: #2a4a3e;
  --tfd-logo-handle: #f3ddd0;
  --tfd-logo-ink: #f4f7f8;
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--text);
  color-scheme: dark;
}
/* END generated */

:root {
  --tfd-logo-door-left: #245c48;
  --tfd-logo-door-right: #202d27;
  --tfd-logo-handle: #f3ddd0;
  --tfd-logo-ink: #202d27;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
a { text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--wp--preset--color--primary-soft); color: var(--wp--preset--color--text); }

/* Skip link (plain HTML in the header part; no script). */
.tfd-skip-link {
  position: absolute; left: var(--wp--preset--spacing--gutter); top: -4rem; z-index: 100000;
  background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); padding: .75rem 1rem;
  border-radius: var(--wp--custom--radius--input); font-weight: 600; text-decoration: none;
}
.tfd-skip-link:focus { top: .75rem; }
main:focus { outline: none; }
.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; }
.screen-reader-text:focus { background: var(--wp--preset--color--surface); clip: auto !important; clip-path: none; color: var(--wp--preset--color--text); display: block; height: auto; left: 5px; padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000; }

/* Logo: the inline lockup in the header, recoloured for dark grounds by variables. */
.tfd-logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.tfd-logo svg { display: block; height: 28px; width: auto; }
.tfd-logo .l { fill: var(--tfd-logo-door-left); }
.tfd-logo .r { fill: var(--tfd-logo-door-right); }
.tfd-logo .h { fill: var(--tfd-logo-handle); }
.tfd-logo .w { fill: var(--tfd-logo-ink); }
@media (min-width: 782px) { .tfd-logo svg { height: 32px; } }

/* Header */
.tfd-header { border-bottom: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--background); }
.tfd-header__inner { min-height: 72px; }
@media (min-width: 1024px) { .tfd-header__inner { min-height: 84px; } }
.tfd-header .wp-block-navigation a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.tfd-header .wp-block-navigation a:hover,
.tfd-header .wp-block-navigation .current-menu-item > a { text-decoration: underline; text-underline-offset: .3em; }
.tfd-header .wp-block-button__link { padding: .55rem 1.1rem; font-size: 1rem; min-height: 44px; display: inline-flex; align-items: center; }
.tfd-header .wp-block-navigation__responsive-container-open,
.tfd-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--wp--preset--color--text); }
@media (max-width: 599px) { .tfd-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.tfd-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--background); color: var(--wp--preset--color--text); padding: 1.25rem var(--wp--preset--spacing--gutter); }
.tfd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: .5rem; font-size: 1.25rem; }
@media (max-width: 599px) { .tfd-header .tfd-header__cta .wp-block-button__link { padding: .5rem .9rem; font-size: .9375rem; } }
/* "Sign in" beside "Start free": a plain text link, not a second button. */
.tfd-header .tfd-header__cta .tfd-signin .wp-block-button__link { background: none; color: var(--wp--preset--color--text); border: 0; padding-left: .5rem; padding-right: .5rem; font-weight: 600; }
.tfd-header .tfd-header__cta .tfd-signin .wp-block-button__link:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
/* Narrow phones: "Start free" opens the app, which has its own sign-in, so the extra link can go. */
@media (max-width: 379px) { .tfd-header .tfd-header__cta .tfd-signin { display: none; } }
/* Keep "Sign in" and "Start free" on one line, never stacked. */
.tfd-header .tfd-header__cta { flex-wrap: nowrap; gap: .25rem; }
.tfd-header .tfd-header__cta .wp-block-button__link { white-space: nowrap; }
/* Phones: logo left, then Sign in, Start free and the menu button last, all on one row. */
@media (max-width: 599px) {
  .tfd-logo svg { height: 22px; }
  .tfd-header__inner { min-height: 64px; gap: .75rem; }
  .tfd-header__inner > .wp-block-group { gap: .5rem; }
  .tfd-header__inner > .wp-block-group > .wp-block-navigation { order: 2; }
  .tfd-header .wp-block-navigation__responsive-container-open { min-width: 40px; }
}
/* Sticky header: stays at the top while the page scrolls (below the admin bar when logged in). */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
@media (min-width: 601px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (min-width: 783px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; } }

/* Getting started: the web app first, then the store badges, then one line (any device, both or either). */
.tfd-get { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.tfd-get__web .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; }
.tfd-get__note { margin: 0; color: var(--wp--preset--color--text-muted); font-size: .9375rem; }
/* Compact version in the home hero: "Start free" with "Sign in" beside it, the
   trial line, then the stores as one quiet row of pills and one line under them. */
.tfd-get--compact { gap: 1.125rem; }
.tfd-get__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.tfd-get--compact .tfd-get__web .wp-block-button__link { min-height: 52px; padding-inline: 2rem; font-size: 1.0625rem; }
.tfd-get__signin {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem;
  color: var(--wp--preset--color--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--wp--preset--color--border-strong);
}
.tfd-get__signin:hover { color: var(--wp--preset--color--primary); text-decoration-color: currentColor; }
.tfd-get--compact .tfd-tick { margin: 0; font-size: .875rem; }
.tfd-get__apps { display: flex; flex-direction: column; gap: .5rem; }
.tfd-get--compact .tfd-get__note { font-size: .875rem; }
.tfd-store--compact { gap: 8px; align-items: center; }
.tfd-store__pill {
  display: inline-flex; align-items: center; gap: .3em; min-height: 32px; padding: 4px 12px; border-radius: var(--wp--custom--radius--pill);
  border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--text-muted); font: 500 13px/1.2 var(--wp--preset--font-family--body); white-space: nowrap;
}
.tfd-store__pill strong { color: var(--wp--preset--color--text); font-weight: 600; }
a.tfd-store__pill { min-height: 44px; padding-inline: 16px; color: var(--wp--preset--color--text); font-weight: 600; text-decoration: none; }
a.tfd-store__pill:hover { border-color: var(--wp--preset--color--text-muted); }
.tfd-store--compact .tfd-badge-art { height: 40px; }
.tfd-store--compact .tfd-badge-art--google.is-padded { height: 59px; margin: -9.5px; }

/* Shared type helpers */
.tfd-eyebrow {
  margin: 0; color: var(--wp--preset--color--primary); font-family: var(--wp--preset--font-family--body);
  font-size: .75rem; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
}
.tfd-overline { margin: 0; color: var(--wp--preset--color--text-muted); font-size: .75rem; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.tfd-lead { color: var(--wp--preset--color--text-muted); font-size: 1.25rem; line-height: 1.55; }
.tfd-muted { color: var(--wp--preset--color--text-muted); }
.tfd-more a, a.tfd-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--primary); }
.tfd-more a::after, a.tfd-more::after {
  content: ""; width: .5em; height: .5em; border-right: 2.2px solid currentColor; border-top: 2.2px solid currentColor;
  transform: rotate(45deg); margin-left: .15em;
}
.tfd-more a:hover, a.tfd-more:hover { text-decoration: underline; }
.tfd-problem { font-family: var(--wp--preset--font-family--display); font-weight: 500; line-height: 1.35; }

/* Section rhythm */
.tfd-section { padding-block: var(--wp--preset--spacing--80); }
.tfd-band { background: var(--wp--preset--color--surface-subtle); border-block: 1px solid var(--wp--preset--color--border); }

/* Store badges and QR (patterns/store-badges.php). The official artwork is
   shown unmodified at one visible height (Apple and Google guidelines: equal
   heights, clear space of at least a quarter of the height around each). */
.tfd-store { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.tfd-store__item { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; border-radius: 10px; }
.tfd-store__item:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.tfd-badge-art { display: block; height: 48px; width: auto; max-width: none; }
/* Google's PNG includes its own clear space (about 16% of the height on each side). */
.tfd-badge-art--google.is-padded { height: 71px; margin: -11.5px; }
.tfd-store__soon { font: 600 12px/1.2 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); letter-spacing: .02em; }
.tfd-badge-text {
  display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--text); font: 600 15px/1.2 var(--wp--preset--font-family--body); white-space: nowrap;
}
a.tfd-store__item:hover .tfd-badge-text { border-color: var(--wp--preset--color--text-muted); }
@media (max-width: 781px) {
  .tfd-store { gap: 12px; }
  .tfd-badge-art, .tfd-badge-text { height: 44px; }
  .tfd-badge-art--google.is-padded { height: 65px; margin: -10.5px; }
  .tfd-badge-text { padding: 0 14px; font-size: 14px; }
}
.tfd-qr { display: none; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--card); }
@media (min-width: 1024px) { .tfd-qr { display: flex; } }
.tfd-qr__img { display: block; width: 72px; height: 72px; border-radius: 8px; background: #fff; }
.tfd-qr__text { font: 500 13px/1.35 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); max-width: 130px; }
.tfd-qr__text strong { display: block; color: var(--wp--preset--color--text); font-weight: 600; }
.tfd-tick { display: flex; align-items: center; gap: 8px; margin: var(--wp--preset--spacing--60) 0 0; font-size: 15px; font-weight: 500; color: var(--wp--preset--color--text-muted); }
.tfd-tick svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--wp--preset--color--primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: two doors behind a phone showing the month view. */
.tfd-hero__visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 32px 0; }
.tfd-doors { position: absolute; inset: 0 auto 0 50%; transform: translateX(-50%); width: min(480px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tfd-doors > span { position: relative; border-radius: 24px 24px 10px 10px; background: var(--wp--preset--color--household-self); }
.tfd-doors > span + span { background: var(--wp--preset--color--household-other); }
.tfd-doors > span::after { content: ""; position: absolute; top: 46%; width: 10px; height: 44px; border-radius: 5px; right: 18px; background: var(--wp--preset--color--household-other); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-strong); }
.tfd-doors > span + span::after { right: auto; left: 18px; background: var(--wp--preset--color--household-self); }
/* Phones and small tablets: a tighter hero so the phone drawing starts on the
   first screen (a 430 x 740 visible area, under the 64px sticky header). */
@media (max-width: 781px) {
  .tfd-hero { padding-top: 1.25rem !important; padding-bottom: 2.25rem !important; }
  .tfd-hero .tfd-hero__cols { row-gap: 1.75rem; }
  .tfd-hero .tfd-hero__copy > * + * { margin-block-start: 1rem; }
  .tfd-hero .tfd-hero__copy > .tfd-get { margin-block-start: 1.375rem; }
  .tfd-hero h1 { font-size: clamp(2rem, 1.2rem + 4vw, 2.5rem) !important; }
  .tfd-hero .tfd-lead { font-size: 1.0625rem; }
}
/* Home hero (approved in Claude Design, 5 October 2026): the app's Calendar
   tab drawn at the app's own sizes (inc/hero-phone.php) on a 430 x 932 screen,
   scaled with zoom, between the two doors, with cards for a change request,
   half term, private events and a helper. Colours are the app's light tokens
   (design/tokens.json), written as hex so the drawing matches the app exactly
   even if the site palette changes. */
.tfd-hv { position: relative; width: 100%; max-width: 528px; margin-inline: auto; padding: 90px 0 100px; display: flex; justify-content: center; font-family: var(--wp--preset--font-family--body); color: #202d27; }
.tfd-hv__doors { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(500px, 100%); display: flex; gap: 16px; }
.tfd-hv__doors > span { position: relative; flex: 1 1 0; border-radius: 28px 28px 12px 12px; background: #dce8dd; }
.tfd-hv__doors > span + span { background: #f3ddd0; }
.tfd-hv__doors > span::after { content: ""; position: absolute; top: 46%; right: 18px; width: 10px; height: 46px; border-radius: 5px; background: #f3ddd0; box-shadow: inset 0 0 0 1px #c9d1c6; }
.tfd-hv__doors > span + span::after { right: auto; left: 18px; background: #dce8dd; }

.tfd-app { position: relative; z-index: 1; margin: 0; zoom: .72; width: 454px; height: 956px; flex: none; box-sizing: border-box; padding: 12px; border-radius: 60px; background: #202d27; font-family: var(--wp--preset--font-family--body); color: #202d27; line-height: 1.3; }
.tfd-app * { box-sizing: border-box; }
.tfd-app svg { display: block; flex: none; }
.tfd-app__screen { position: relative; width: 430px; height: 932px; border-radius: 48px; overflow: hidden; background: #f7f7f2; }
.tfd-app__island { position: absolute; top: 11px; left: 153px; width: 124px; height: 36px; border-radius: 18px; background: #0b0f0d; }
.tfd-app__body { display: flex; flex-direction: column; gap: 16px; padding: 79px 20px 0; }
.tfd-app__head { display: flex; flex-direction: column; gap: 12px; }
.tfd-app__titlerow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tfd-app__titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tfd-app__overline { font-size: 12px; line-height: 14.4px; font-weight: 700; text-transform: uppercase; color: #4f5e56; }
.tfd-app__month { font-family: var(--wp--preset--font-family--display); font-size: 26px; line-height: 29.9px; font-weight: 600; }
.tfd-app__row { display: flex; align-items: center; gap: 8px; }
.tfd-app__row.is-tight { gap: 4px; }
.tfd-app__row.is-stretch { align-items: stretch; }
.tfd-app__round { display: flex; align-items: center; justify-content: center; flex: none; align-self: center; border-radius: 999px; border: 1px solid #dde2da; background: #fff; }
.tfd-app__pill { display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #dde2da; background: #fff; font-size: 13px; font-weight: 500; }
.tfd-app__chip { display: flex; align-items: center; justify-content: center; height: 34px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #dde2da; font-size: 13px; font-weight: 500; }
.tfd-app__chip.is-on { background: #245c48; border-color: #245c48; color: #fff; font-weight: 600; }
.tfd-app__views { align-self: flex-start; display: flex; padding: 3px; border-radius: 999px; border: 1px solid #dde2da; background: #fff; }
.tfd-app__views > span { display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.tfd-app__views > .is-on { background: #245c48; color: #fff; font-weight: 600; }

.tfd-app__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.tfd-app__dow { text-align: center; font-size: 12px; line-height: 14.4px; font-weight: 700; text-transform: uppercase; color: #4f5e56; }
.tfd-app__cell { position: relative; overflow: hidden; min-height: 57px; padding: 2px 0; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tfd-app__tint { position: absolute; inset: 0; display: flex; }
.tfd-app__tint > i { flex-basis: 0; }
.tfd-app__tint > .is-own { background: #e8efe6; }
.tfd-app__tint > .is-other { background: #f5e9df; }
.tfd-app__term { position: absolute; top: -1px; left: 0; right: 0; height: 34px; background: #fff; border-block: 1.5px solid #7f8a83; }
.tfd-app__term.is-first { left: 4px; border-left: 1.5px solid #7f8a83; border-radius: 17px 0 0 17px; }
.tfd-app__term.is-last { right: 4px; border-right: 1.5px solid #7f8a83; border-radius: 0 17px 17px 0; }
.tfd-app__pending { position: absolute; inset: 1px; border: 2px dashed #245c48; border-radius: 3px; }
.tfd-app__cell > b { position: relative; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 14px; font-size: 13px; line-height: 16.9px; font-weight: 500; }
.tfd-app__cell.is-today > b { background: #245c48; color: #fff; font-weight: 700; }
.tfd-app__dots { position: relative; display: flex; align-items: center; gap: 3px; height: 8px; }
.tfd-app__dots > i { width: 6px; height: 6px; border-radius: 3px; }
.tfd-app__dots > .is-family { background: #245c48; }
.tfd-app__dots > .is-private { border: 1.5px solid #4f5e56; }
.tfd-app__ho { position: relative; display: flex; align-items: center; gap: 1px; height: 11px; font-size: 9px; line-height: 11px; font-weight: 500; color: #4f5e56; white-space: nowrap; }

.tfd-app__card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 20px; border: 1px solid #dde2da; background: #fff; }
.tfd-app__heading { font-size: 15px; line-height: 21px; font-weight: 600; }
.tfd-app__notice { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: linear-gradient(90deg, #dce8dd 63.5%, #f3ddd0 63.5%); font-size: 13px; line-height: 16.9px; font-weight: 500; }
.tfd-app__notice > span { flex: 1 1 0; min-width: 0; }
.tfd-app__event { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.tfd-app__time { width: 46px; flex: none; display: flex; flex-direction: column; font-size: 12px; line-height: 15.6px; font-weight: 500; color: #4f5e56; }
.tfd-app__time > b { font-size: 13px; line-height: 16.9px; font-weight: 700; color: #202d27; }
.tfd-app__what { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.tfd-app__what > b { font-size: 15px; line-height: 21px; font-weight: 600; }
.tfd-app__cap { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 15.6px; font-weight: 500; color: #4f5e56; }
.tfd-app__cap > span { flex: 1 1 auto; }
.tfd-app__cap > em { font-style: normal; color: #245c48; }

.tfd-app__fab { position: absolute; right: 20px; bottom: 124px; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 30px; background: #245c48; box-shadow: 0 6px 18px rgba(36, 92, 72, .28); }
.tfd-app__tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 108px; padding-bottom: 34px; display: flex; background: #fff; border-top: 1px solid #dde2da; }
.tfd-app__tabs > span { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; line-height: 15.6px; font-weight: 500; color: #4f5e56; }
.tfd-app__tabs > .is-on { font-weight: 700; color: #245c48; }
.tfd-app__badge-wrap { position: relative; }
.tfd-app__badge { position: absolute; top: -4px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #9e2a1f; color: #fff; font-size: 12px; line-height: 18px; font-weight: 700; text-align: center; }
.tfd-app__homebar { position: absolute; left: 148px; bottom: 8px; width: 134px; height: 5px; border-radius: 3px; background: #202d27; }

/* The cards round the phone. */
.tfd-hv__card { position: absolute; z-index: 2; display: flex; box-sizing: border-box; padding: 12px 14px; border-radius: 16px; border: 1px solid #dde2da; background: #fff; box-shadow: 0 14px 30px rgba(32, 45, 39, .12); font-size: 12px; line-height: 15.6px; font-weight: 500; color: #4f5e56; }
.tfd-hv__card b { display: block; font-size: 14px; line-height: 18px; font-weight: 600; color: #202d27; }
.tfd-hv__small { display: block; }
.tfd-hv__card--proposal { top: 150px; right: -96px; width: 210px; flex-direction: column; gap: 8px; padding: 14px; }
.tfd-hv__overline { font-size: 11px; line-height: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #245c48; }
.tfd-hv__buttons { display: flex; gap: 6px; padding-top: 2px; }
.tfd-hv__buttons > span { flex: 1 1 0; display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 999px; border: 1px solid #c9d1c6; background: #fff; font-size: 13px; font-weight: 600; color: #202d27; }
.tfd-hv__buttons > .is-primary { border-color: #245c48; background: #245c48; color: #fff; font-weight: 700; }
.tfd-hv__card--term, .tfd-hv__card--helper { align-items: center; gap: 10px; }
.tfd-hv__card--term { top: 470px; left: -84px; width: 184px; }
.tfd-hv__card--private { top: 572px; left: -84px; width: 184px; flex-direction: column; gap: 6px; padding: 14px; }
.tfd-hv__card--helper { top: 598px; right: -96px; width: 210px; }
.tfd-hv__line { display: flex; align-items: center; gap: 8px; }
.tfd-hv__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 18px; }
.tfd-hv__icon.is-own { width: 28px; height: 28px; background: #dce8dd; }
.tfd-hv__icon.is-other { background: #f3ddd0; }
.tfd-hv__icon.is-term { border: 1.5px solid #7f8a83; }
/* Below 1400px there is no room beside the phone (the side cards would reach
   the copy or the window edge): only the change request stays, over the tab bar. */
@media (max-width: 1399px) {
  .tfd-hv__card--term, .tfd-hv__card--private, .tfd-hv__card--helper { display: none; }
  .tfd-hv__card--proposal { top: auto; bottom: 0; right: 0; width: 240px; }
  .tfd-hv__when { display: none; }
}
@media (max-width: 781px) {
  .tfd-hv { max-width: 390px; padding: 20px 0 128px; }
  .tfd-hv__doors { width: calc(100% - 8px); gap: 10px; bottom: 60px; }
  .tfd-hv__doors > span { border-radius: 22px 22px 10px 10px; }
  .tfd-hv__doors > span::after { top: 30%; width: 8px; height: 36px; right: 12px; }
  .tfd-hv__doors > span + span::after { left: 12px; }
  .tfd-app { zoom: .68; }
  .tfd-hv__card--proposal { bottom: 4px; right: 2px; width: 256px; }
}
@media (max-width: 360px) {
  .tfd-app { zoom: .62; }
}

/* Narrower phones: both pills still fit on one row. */
@media (max-width: 419px) {
  .tfd-store--compact { gap: 6px; }
  .tfd-store--compact .tfd-store__pill { font-size: 12px; padding-inline: 10px; }
}

.tfd-phone {
  position: relative; margin: 0; width: 340px; max-width: 100%;
  border: 10px solid #202d27; border-radius: var(--wp--custom--radius--phone-frame); background: var(--wp--preset--color--background); overflow: hidden;
}
.tfd-phone__screen { padding: 22px 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.tfd-phone__top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.tfd-phone__month { font: 600 24px/1.15 var(--wp--preset--font-family--display); color: var(--wp--preset--color--text); }
.tfd-phone__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--wp--preset--color--border); color: var(--wp--preset--color--text); }
.tfd-phone__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tfd-chips { display: flex; gap: 6px; padding: 0 4px; }
.tfd-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--wp--preset--color--border); font: 500 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-chip.is-on { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); font-weight: 600; }

/* Month grid: the app's phone cell (MonthGrid.tsx) with tinted days (ParentingBands.tsx).
   No words inside a tinted cell; the figure's label describes the month. */
.tfd-grid { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--wp--preset--color--background); }
.tfd-dow { text-align: center; font: 600 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); padding-bottom: 4px; }
.tfd-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 40px; padding: 2px 0; }
.tfd-day .tint { position: absolute; inset: 0; display: flex; }
.tfd-day .tint > i { display: block; flex-basis: 0; }
.tfd-day .own { background: var(--wp--preset--color--month-tint-sage); }
.tfd-day .other { background: var(--wp--preset--color--month-tint-peach); }
.tfd-day .num { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 13px; font: 500 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-day.today .num { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); font-weight: 700; }
.tfd-day.selected .num { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary); }
.tfd-day.out .num { color: var(--wp--preset--color--text-faint); }
.tfd-day .dots { position: relative; display: flex; gap: 3px; height: 6px; align-items: center; }
.tfd-day .dot { width: 5px; height: 5px; border-radius: 3px; background: var(--wp--preset--color--primary); }
.tfd-day .dot.private { background: transparent; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--text-muted); }
.tfd-day .ho { position: relative; height: 10px; font: 500 8.5px/10px var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }

/* Band notices and small cards from the app */
.tfd-notice { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: var(--wp--custom--radius--input); font: 500 13px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--household-text); }
.tfd-notice svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tfd-notice .grow { flex: 1; }
.tfd-notice--own { background: var(--wp--preset--color--household-self); }
.tfd-notice--other { background: var(--wp--preset--color--household-other); }
.tfd-notice--warning { background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning-text); }
.tfd-notice--warning svg { stroke: var(--wp--preset--color--status-warning); }
.tfd-notice--pending { border: 1.5px dashed var(--wp--preset--color--primary); color: var(--wp--preset--color--text); }
.tfd-notice--pending svg { stroke: var(--wp--preset--color--primary); }
.tfd-notice--info { background: var(--wp--preset--color--primary-soft); color: var(--wp--preset--color--text); padding: 10px 12px; }
.tfd-notice--sm { padding: 9px 10px; font-size: 12px; }

.tfd-event { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--input); }
.tfd-event__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--wp--preset--color--primary); flex: none; }
.tfd-event__dot.private { background: transparent; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--text-muted); }
.tfd-event__body { flex-grow: 1; min-width: 0; }
.tfd-event__title, .tfd-event__meta { display: block; }
.tfd-event__title { font: 600 14px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-event__meta { font: 500 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-badge { font: 600 11px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.tfd-badge--wait { display: inline-flex; align-items: center; gap: 4px; color: var(--wp--preset--color--warning-text); background: var(--wp--preset--color--warning-surface); padding: 6px 10px; font-size: 12px; }
.tfd-badge--wait svg { width: 13px; height: 13px; fill: none; stroke: var(--wp--preset--color--status-warning); stroke-width: 1.8; }

/* Proof strip */
.tfd-proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 32px; grid-template-columns: 1fr; }
@media (min-width: 782px) { .tfd-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tfd-proof li { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 16px/1.35 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-proof__icon { width: 40px; height: 40px; flex: none; border-radius: 20px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); display: inline-flex; align-items: center; justify-content: center; color: var(--wp--preset--color--text); }
.tfd-proof__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Feature splits: a tinted panel holding a small illustration of the app. */
.tfd-split { gap: var(--wp--preset--spacing--70) !important; }
@media (min-width: 782px) { .tfd-split { gap: 80px !important; } }
.tfd-mock { border-radius: var(--wp--custom--radius--panel); padding: clamp(20px, 4vw, 40px); display: flex; justify-content: center; background: var(--wp--preset--color--month-tint-sage); }
.tfd-mock--peach { background: var(--wp--preset--color--month-tint-peach); }
.tfd-mock.has-tint { background: var(--tfd-tint); }
.tfd-mock__inner { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; }
.tfd-mock__card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: 16px; display: flex; flex-direction: column; gap: 12px; color: var(--wp--preset--color--text); }
.tfd-mock__title { font: 600 20px/1.2 var(--wp--preset--font-family--display); color: var(--wp--preset--color--text); }
.tfd-mock__sub { font: 500 13px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); margin-top: 4px; }
.tfd-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.tfd-week > span { border-radius: var(--wp--custom--radius--band); height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8px 0; font: 600 12px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); background: var(--wp--preset--color--month-tint-sage); }
.tfd-week > span.other { background: var(--wp--preset--color--month-tint-peach); }
.tfd-week > span.ho-in { background: linear-gradient(90deg, var(--wp--preset--color--month-tint-sage) 63%, var(--wp--preset--color--month-tint-peach) 63%); }
.tfd-week > span.ho-out { background: linear-gradient(90deg, var(--wp--preset--color--month-tint-peach) 35%, var(--wp--preset--color--month-tint-sage) 35%); }
.tfd-week small { font: 500 10px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); min-height: 10px; }
.tfd-legend { display: flex; gap: 16px; font: 500 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tfd-legend span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--wp--preset--color--household-self); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-strong); }
.tfd-legend span + span::before { background: var(--wp--preset--color--household-other); }
.tfd-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tfd-audience > span { display: flex; flex-direction: column; justify-content: center; min-height: 66px; padding: 10px 12px; border-radius: var(--wp--custom--radius--input); border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface); }
.tfd-audience > span.is-on { border: 2px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); }
.tfd-audience b { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.tfd-audience b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tfd-audience small { font: 500 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-fake-button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); font: 700 16px/1.4 var(--wp--preset--font-family--body); text-align: center; }
.tfd-fake-button--secondary { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); border: 1px solid var(--wp--preset--color--border); font-weight: 600; }
.tfd-fake-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--wp--preset--color--primary); border: 1.5px solid var(--wp--preset--color--primary); font: 700 15px/1.4 var(--wp--preset--font-family--body); }
.tfd-fake-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tfd-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tfd-row > * { flex-grow: 1; }
.tfd-compare { display: flex; flex-direction: column; gap: 8px; font: 500 14px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-compare > div { display: flex; justify-content: space-between; gap: 12px; }
.tfd-compare b { color: var(--wp--preset--color--text); font-weight: 600; text-align: right; }
.tfd-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 14px; }
.tfd-switch + .tfd-switch { border-top: 1px solid var(--wp--preset--color--border); }
.tfd-switch i { position: relative; flex: none; width: 51px; height: 31px; border-radius: 999px; background: var(--wp--preset--color--primary); }
.tfd-switch i::after { content: ""; position: absolute; top: 2px; left: 22px; width: 27px; height: 27px; border-radius: 50%; background: var(--wp--preset--color--surface); }
.tfd-caption { font: 500 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); margin: 0; }
.tfd-person { display: flex; gap: 12px; align-items: flex-start; }
.tfd-person + .tfd-person { border-top: 1px solid var(--wp--preset--color--border); padding-top: 12px; }
.tfd-avatar { width: 40px; height: 40px; flex: none; border-radius: 20px; background: var(--wp--preset--color--household-other); color: var(--wp--preset--color--household-text); display: inline-flex; align-items: center; justify-content: center; font: 700 14px/1 var(--wp--preset--font-family--body); }
.tfd-person__name { font: 600 15px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-person__note { font: 500 13px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tfd-tags span { font: 500 12px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); border: 1px solid var(--wp--preset--color--border); padding: 7px 10px; border-radius: 999px; }

/* Dark privacy block */
.tfd-privacy-card { border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--panel); padding: clamp(20px, 3vw, 32px); }
.tfd-privacy-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.375rem; }
.tfd-privacy-card h3 svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--wp--preset--color--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tfd-privacy-card.is-never h3 svg { stroke: var(--wp--preset--color--text-muted); }
.tfd-checks { list-style: none; margin: 0; padding: 0; }
.tfd-checks li { position: relative; margin: 0; padding: 14px 0 14px 30px; border-top: 1px solid var(--wp--preset--color--border); line-height: 1.45; }
.tfd-checks li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 12px; height: 7px; border-left: 2.2px solid var(--wp--preset--color--primary); border-bottom: 2.2px solid var(--wp--preset--color--primary); transform: rotate(-45deg); }
.tfd-checks.is-never li::before { top: 18px; left: 2px; width: 14px; height: 11px; border: 1.8px solid var(--wp--preset--color--text-muted); border-radius: 3px; transform: none; }
.tfd-checks.is-never li::after { content: ""; position: absolute; left: 5px; top: 12px; width: 8px; height: 7px; border: 1.8px solid var(--wp--preset--color--text-muted); border-bottom: 0; border-radius: 4px 4px 0 0; }

/* How it works */
.tfd-step { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: 24px; height: 100%; }
.tfd-step__num { width: 40px; height: 40px; border-radius: 20px; background: var(--wp--preset--color--household-self); color: var(--wp--preset--color--household-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin: 0; }
.tfd-step__num.is-peach { background: var(--wp--preset--color--household-other); }

/* Pricing teaser and CTA band */
.tfd-panel { border-radius: var(--wp--custom--radius--panel); }
.tfd-cta { border-radius: 24px; overflow: hidden; }
.tfd-cta > .wp-block-column:last-child { display: flex; align-items: center; justify-content: center; }
.tfd-mark-img img { display: block; height: auto; }

/* Guides: cards from the query loop, with the two-doors header */
.tfd-guide-card { height: 100%; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); overflow: hidden; display: flex; flex-direction: column; }
.tfd-guide-card::before { content: ""; display: block; height: 132px; flex: none; background:
  linear-gradient(90deg, var(--tfd-motif) 0 calc(50% - 3px), transparent calc(50% - 3px) calc(50% + 3px), var(--tfd-motif) calc(50% + 3px)) 16px 16px / calc(100% - 32px) 100% no-repeat,
  var(--tfd-tint, var(--tfd-band-sky)); }
/* A guide with a featured image shows it in place of the two-doors motif. */
.tfd-guide-card:has(.tfd-guide-card__media)::before { display: none; }
.tfd-guide-card__media { margin: 0; flex: none; background: var(--tfd-tint, var(--tfd-band-sky)); }
.tfd-guide-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tfd-article-art { margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem); border-radius: var(--wp--custom--radius--card); overflow: hidden; }
.tfd-article-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Pull quotes and visuals inside a guide */
.tfd-prose .wp-block-pullquote { margin: 2.25rem 0; padding: 4px 0 4px 24px; border: 0; border-left: 4px solid var(--wp--preset--color--primary); text-align: left; }
.tfd-prose .wp-block-pullquote blockquote { margin: 0; }
.tfd-prose .wp-block-pullquote p { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); line-height: 1.3; font-weight: 500; color: var(--wp--preset--color--text); margin: 0; }
.tfd-prose .wp-block-pullquote cite { display: block; margin-top: .75rem; font-size: 15px; font-style: normal; color: var(--wp--preset--color--text-muted); }
.tfd-prose .wp-block-image { margin-block: 1.75rem; }
.tfd-prose .wp-block-image picture { display: block; }
.tfd-prose .wp-block-image img { border-radius: var(--wp--custom--radius--card); max-width: 100%; height: auto; }
.tfd-guide-card__body { padding: 20px 20px 22px; flex-grow: 1; display: flex; flex-direction: column; gap: 10px; }
.tfd-guide-card .wp-block-post-title { margin: 0; font-size: 1.25rem; }
.tfd-guide-card .wp-block-post-title a { color: var(--wp--preset--color--text); text-decoration: none; }
.tfd-guide-card .wp-block-post-title a:hover { text-decoration: underline; }
.tfd-guide-card .wp-block-post-excerpt { font-size: 15px; line-height: 1.5; flex-grow: 1; margin: 0; }
.tfd-guide-card .wp-block-post-excerpt__excerpt { margin: 0; }
.tfd-guide-card .wp-block-read-more { font-weight: 600; font-size: 15px; text-decoration: none; }
.tfd-guide-card .wp-block-read-more:hover { text-decoration: underline; }
.wp-block-post-template.is-layout-grid > li { margin: 0; }

/* FAQ: core Details blocks with a plus/minus marker */
.tfd-faq { border-top: 1px solid var(--wp--preset--color--border); }
.tfd-faq .wp-block-details { margin: 0; }
.tfd-faq .wp-block-details summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 20px 0; font: 600 18px/1.35 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text);
}
.tfd-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.tfd-faq .wp-block-details summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface);
  display: inline-flex; align-items: center; justify-content: center; font: 400 22px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text);
}
.tfd-faq .wp-block-details[open] summary::after { content: "\2212"; background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); }
.tfd-faq .wp-block-details p { margin: 0; padding: 0 0 22px; color: var(--wp--preset--color--text-muted); max-width: 40rem; }

/* Footer */
.tfd-footer { background: var(--wp--preset--color--surface-subtle); border-top: 1px solid var(--wp--preset--color--border); font-size: 15px; }
.tfd-footer .tfd-overline { color: var(--wp--preset--color--text); margin-bottom: 4px; }
.tfd-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tfd-footer li { margin: 0; }
.tfd-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--wp--preset--color--text-muted); text-decoration: none; }
.tfd-footer li a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
.tfd-footer__legal { border-top: 1px solid var(--wp--preset--color--border); padding-top: 24px; font-size: 14px; color: var(--wp--preset--color--text-muted); }
.tfd-footer .tfd-logo svg { height: 30px; }
@media (max-width: 781px) {
  .tfd-footer-cols { flex-wrap: wrap !important; }
  .tfd-footer-cols > .wp-block-column { flex-basis: calc(50% - 1rem) !important; flex-grow: 0 !important; }
}

/* Guides: articles */
.tfd-article-meta { color: var(--wp--preset--color--text-muted); font-size: 15px; }
.tfd-article-meta > * { margin: 0; }
.tfd-article-meta .tfd-updated::before { content: "Updated "; }
.tfd-article-meta .wp-block-post-author-name::before { content: "By "; font-weight: 400; }
.tfd-topic-list { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tfd-topic-list li { margin: 0; }
.tfd-topic-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.tfd-topic-list a:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.tfd-reviewed-by { color: var(--wp--preset--color--text-muted); font-size: 15px; margin: 0; }
.tfd-disclaimer { background: var(--wp--preset--color--surface); border-left: 4px solid var(--wp--preset--color--primary); border-radius: 0 var(--wp--custom--radius--input) var(--wp--custom--radius--input) 0; padding: .9rem 1.1rem; font-size: 15px; color: var(--wp--preset--color--text-muted); }
.wp-block-post-content > h2 { margin-top: 2.25em; }
.wp-block-post-content > h3 { margin-top: 1.75em; }
.wp-block-query-pagination { gap: 1rem; font-weight: 600; }
.wp-block-search__input { min-height: 48px; border: 2px solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--input); padding: .6rem .8rem; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); font: inherit; }
.wp-block-search__button { min-height: 48px; }

/* The fixed-text pages (privacy, terms, support, beta, 404): the static site's
   own styles, scoped so they can't reach anything else. */
.tfd-legacy { font-size: 1.0625rem; line-height: 1.55; }
.tfd-legacy .page { padding: 2.5rem 0 3rem; }
.tfd-legacy .wrap { width: 100%; max-width: 68rem; margin: 0 auto; }
.tfd-legacy .wrap.prose > * { max-width: 40rem; }
.tfd-legacy h1, .tfd-legacy h2, .tfd-legacy h3 { font-family: var(--wp--preset--font-family--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
.tfd-legacy h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: .35em; }
.tfd-legacy h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.25em; }
.tfd-legacy h3 { font-size: 1.25rem; margin-top: 1.75em; }
.tfd-legacy p, .tfd-legacy ul, .tfd-legacy ol { margin: 0 0 1em; }
.tfd-legacy ul, .tfd-legacy ol { padding-left: 1.25em; }
.tfd-legacy li { margin-bottom: .4em; }
.tfd-legacy .muted, .tfd-legacy .updated { color: var(--wp--preset--color--text-muted); }
.tfd-legacy .updated { margin-bottom: 1.5rem; }
.tfd-legacy .lead { font-size: 1.25rem; color: var(--wp--preset--color--text-muted); }
.tfd-legacy .eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--primary); margin: 0 0 .75rem; }
.tfd-legacy .mt { margin-top: 1rem; }
.tfd-legacy nav.toc { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: 1rem 1.25rem; margin: 1.5rem 0 2rem; }
.tfd-legacy nav.toc h2 { font-family: var(--wp--preset--font-family--body); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .5rem; color: var(--wp--preset--color--text-muted); }
.tfd-legacy nav.toc ol { margin: 0; }
@media (min-width: 40rem) { .tfd-legacy nav.toc ol { columns: 2; column-gap: 2rem; } }
.tfd-legacy nav.toc li { break-inside: avoid; }
.tfd-legacy .scope { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: 1rem 1.25rem; margin: 0 0 1rem; }
.tfd-legacy .scope h3 { margin-top: 0; font-size: 1.05rem; }
.tfd-legacy .scope code { display: block; overflow-wrap: anywhere; font-size: .9rem; margin-bottom: .5rem; background: none; padding: 0; }
.tfd-legacy code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--wp--preset--color--surface-subtle); padding: .1em .35em; border-radius: 6px; }
.tfd-legacy .callout { background: var(--wp--preset--color--surface); border-left: 4px solid var(--wp--preset--color--primary); border-radius: 0 var(--wp--custom--radius--input) var(--wp--custom--radius--input) 0; padding: .9rem 1.1rem; margin: 1.25rem 0; }
.tfd-legacy .callout p:last-child { margin-bottom: 0; }
.tfd-legacy table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .98rem; }
.tfd-legacy th, .tfd-legacy td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.tfd-legacy th { font-weight: 600; background: var(--wp--preset--color--surface-subtle); }
.tfd-legacy caption { text-align: left; font-weight: 600; padding-bottom: .5rem; }
.tfd-legacy .table-scroll { overflow-x: auto; }
.tfd-legacy .faq h3 { margin-top: 1.5em; }
.tfd-legacy .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.4rem;
  background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); border-radius: 999px; font: 600 1rem/1.4 var(--wp--preset--font-family--body);
  text-decoration: none; border: 2px solid var(--wp--preset--color--primary); cursor: pointer;
}
.tfd-legacy .button:hover { text-decoration: underline; text-underline-offset: .2em; }
.tfd-legacy .button.secondary { background: transparent; color: var(--wp--preset--color--primary); }
.tfd-legacy .ph { background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning-text); padding: .05em .3em; border-radius: 6px; font-weight: 600; }
.tfd-legacy .owner-note { background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning-text); border: 2px solid var(--wp--preset--color--warning-text); border-radius: var(--wp--custom--radius--input); padding: .9rem 1.1rem; margin: 0 0 1.5rem; }

/* Beta sign-up form (S7-01): plain HTML, no scripts. 48px targets, visible labels. */
.tfd-legacy .beta-form { margin: 1.5rem 0 2rem; }
.tfd-legacy .beta-form .field { margin: 0 0 1.25rem; }
.tfd-legacy .beta-form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.tfd-legacy .beta-form input[type="text"], .tfd-legacy .beta-form input[type="email"], .tfd-legacy .beta-form input[type="number"], .tfd-legacy .beta-form select {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; color: var(--wp--preset--color--text);
  background: var(--wp--preset--color--surface); border: 2px solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--input);
}
.tfd-legacy .beta-form input.short { max-width: 8rem; }
.tfd-legacy .beta-form fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.tfd-legacy .beta-form legend { font-weight: 600; padding: 0; margin-bottom: .35rem; }
.tfd-legacy .beta-form .choice { display: flex; align-items: flex-start; gap: .75rem; margin: 0; min-height: 48px; }
.tfd-legacy .beta-form .choice input { flex: none; width: 1.5rem; height: 1.5rem; margin: .6rem 0 0; accent-color: var(--wp--preset--color--primary); }
.tfd-legacy .beta-form .choice label { font-weight: 400; margin: 0; padding: .6rem 0; flex: 1; }
.tfd-legacy .beta-form .consent { margin: 1.5rem 0; }
/* The honeypot: out of sight and out of the tab order for people, still in the markup for bots. */
.tfd-legacy .beta-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   Site pages (D-92): features, privacy and safety, pricing,
   professionals, compare, guides, help, about, legal layout, 404.
   Blocks carry the words; these rules only draw what blocks can't.
   ============================================================ */
.tfd-muted.is-small, .is-small { font-size: 15px; }
p.is-large { font-size: 18px; line-height: 1.6; }
.tfd-hint { font: 500 14px/1.45 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-band--soft { background: color-mix(in srgb, var(--wp--preset--color--surface) 55%, var(--wp--preset--color--background)); border-bottom: 0; }
.tfd-band--plain { background: var(--wp--preset--color--surface-subtle); border: 0; }
.tfd-page-hero .tfd-lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); }
.tfd-page-hero h1, .tfd-feature-hero h1, .tfd-article-hero h1 { line-height: 1.1; }
.tfd-head h2 { margin: 0; }

/* Breadcrumbs */
.tfd-crumbs, .tfd-crumbs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 14px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-crumbs a, .tfd-crumbs-row a { color: var(--wp--preset--color--text-muted); }
.tfd-crumbs [aria-current] { color: var(--wp--preset--color--text); }
.tfd-crumbs svg { width: 14px; height: 14px; }
.tfd-crumbs-row > * { margin: 0; font-size: 14px; }
.tfd-crumbs-row .wp-block-post-terms, .tfd-crumbs-row .wp-block-post-terms a { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; color: var(--wp--preset--color--text-muted); }
.tfd-prose p.tfd-overline { font-size: .75rem; line-height: 1.2; }
.tfd-crumb--last::before { content: "\203A"; margin-right: 8px; color: var(--wp--preset--color--text-muted); }

/* Cards */
.tfd-box { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: clamp(22px, 2vw, 28px); height: 100%; }
.tfd-box__foot { border-top: 1px solid var(--wp--preset--color--border); padding-top: 16px; }
.tfd-box h3 { margin: 0; }
.tfd-cardlink { position: relative; }
.tfd-cardlink:hover { border-color: var(--wp--preset--color--primary); }
.tfd-cardlink .tfd-more a::before, .tfd-cardlink .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.tfd-cardlink .tfd-more a:focus-visible { outline: none; }
.tfd-cardlink:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 3px; }

/* Icon discs: a heading with an icon drawn above it (masks, so colours follow the palette). */
.tfd-ic { position: relative; padding-top: 58px; }
.tfd-ic::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 22px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); box-sizing: border-box; }
.tfd-ic::after { content: ""; position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; background: var(--wp--preset--color--primary); -webkit-mask: var(--tfd-icon) center / contain no-repeat; mask: var(--tfd-icon) center / contain no-repeat; }
.tfd-ic.is-subtle::before { background: var(--wp--preset--color--surface-subtle); }
/* Stacked points with the icon disc beside the text (pricing, "Who's included"). */
.tfd-point.tfd-ic { padding: 0 0 0 64px; min-height: 44px; }
.tfd-point h3 { margin: 0; padding-top: 9px; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.375rem); line-height: 1.3; }
.tfd-point p { margin: 0; }
.tfd-points__note { padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--border); }
.tfd-ic.is-warn::before { background: var(--wp--preset--color--warning-surface); }
.tfd-ic.is-warn::after { background: var(--wp--preset--color--status-warning); }
.tfd-ic-inline { display: flex; align-items: center; gap: 10px; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); scroll-margin-top: 1.5rem; }
.tfd-ic-inline::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--wp--preset--color--primary); -webkit-mask: var(--tfd-icon) center / contain no-repeat; mask: var(--tfd-icon) center / contain no-repeat; }

/* Tick and cross lists */
.tfd-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tfd-ticks li { position: relative; margin: 0; padding-left: 30px; font-size: 17px; line-height: 1.5; color: var(--wp--preset--color--text); }
.tfd-ticks.is-small li { font-size: 15px; }
.tfd-ticks li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 2.2px solid var(--wp--preset--color--primary); border-bottom: 2.2px solid var(--wp--preset--color--primary); transform: rotate(-45deg); }
.tfd-ticks.is-cross li::before { top: .35em; left: 4px; width: 0; height: 14px; border: 0; border-left: 2px solid var(--wp--preset--color--text-muted); transform: rotate(45deg); }
.tfd-ticks.is-cross li::after { content: ""; position: absolute; top: .35em; left: 4px; height: 14px; border-left: 2px solid var(--wp--preset--color--text-muted); transform: rotate(-45deg); }
.tfd-tickline { display: flex; align-items: center; gap: 8px; margin: var(--wp--preset--spacing--60) 0 0; font: 500 15px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-tickline::before { content: ""; width: 11px; height: 6px; margin: 0 4px 3px 2px; border-left: 2.2px solid var(--wp--preset--color--primary); border-bottom: 2.2px solid var(--wp--preset--color--primary); transform: rotate(-45deg); }

/* Tags, placeholders and "check before publishing" markers */
.tfd-tag-p { margin: 0; }
.tfd-tag-p, .tfd-tag { display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; font: 500 12px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); border: 1px solid var(--wp--preset--color--border); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.tfd-tag-p.is-dashed, .tfd-tag.is-dashed { border: 1.5px dashed var(--wp--preset--color--border-strong); color: var(--wp--preset--color--text-muted); font-weight: 600; }
.tfd-verify, mark.tfd-verify { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin: 0; font: 600 12px/1.2 var(--wp--preset--font-family--body); color: var(--wp--preset--color--warning-text); background: var(--wp--preset--color--warning-surface); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.tfd-verify::before, mark.tfd-verify::before { content: "!"; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 7px; background: var(--wp--preset--color--status-warning); color: var(--wp--preset--color--warning-surface); font-size: 10px; font-weight: 800; }
.tfd-owner-ph { outline: 2px dashed var(--wp--preset--color--status-warning); outline-offset: 6px; border-radius: 4px; }
.tfd-ph { display: flex; align-items: center; justify-content: center; min-height: 160px; margin: 0; padding: 12px; border: 2px dashed var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text-muted); font: 600 14px/1.35 var(--wp--preset--font-family--body); }
.tfd-ph.is-tall { min-height: clamp(260px, 30vw, 420px); }
.tfd-warning { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning-text); font: 500 14px/1.4 var(--wp--preset--font-family--body); }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); border: 1px solid var(--wp--preset--color--border); font-weight: 600; padding: calc(.8rem - 1px) calc(1.5rem - 1px); }
.wp-block-button .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.tfd-full-buttons, .tfd-full-buttons .wp-block-button, .tfd-full-buttons .wp-block-button__link { width: 100%; }
@media (max-width: 781px) {
  .tfd-hero-buttons { flex-direction: column; align-items: stretch !important; }
  .tfd-hero-buttons .wp-block-button, .tfd-hero-buttons .wp-block-button__link { width: 100%; }
}
.tfd-pill-buttons .wp-block-button__link { min-height: 44px; padding: .5rem 1.125rem; font-size: 15px; font-weight: 500; }

/* Soft green panel (policy link, recommend, newsletter) */
.tfd-panel-soft { background: var(--wp--preset--color--primary-soft); border-radius: var(--wp--custom--radius--panel); padding: clamp(28px, 4vw, 56px); }
.tfd-panel-soft > * { margin: 0; }
.tfd-panel-cols { margin: 0 !important; }
.tfd-panel-soft .tfd-muted, .tfd-contact-box .tfd-muted { color: var(--wp--preset--color--text-muted); }
.tfd-panel-title { margin: 0; font: 600 20px/1.25 var(--wp--preset--font-family--display); color: var(--wp--preset--color--text); }

/* Features overview cards */
.tfd-feature-card { height: 100%; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); overflow: hidden; display: flex; flex-direction: column; }
.tfd-feature-card.is-soon { border-style: dashed; border-color: var(--wp--preset--color--border-strong); }
.tfd-feature-card__art { background: var(--wp--preset--color--month-tint-sage); padding: clamp(20px, 2.2vw, 28px); min-height: 176px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.tfd-feature-card__art.is-peach { background: var(--wp--preset--color--month-tint-peach); }
.tfd-feature-card__body { padding: 22px 22px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.tfd-feature-card__body .tfd-muted { flex-grow: 1; font-size: 16px; line-height: 1.5; }
.tfd-feature-card h3 { margin: 0; }
.tfd-compare-art { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 16px 16px 0; height: 88px; background: var(--wp--preset--color--surface-subtle); }
.tfd-compare-art span { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 8px; border-radius: 12px 12px 0 0; font: 600 14px/1.2 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-bottom: 0; }
.tfd-compare-art span:first-child { background: var(--wp--preset--color--household-self); border: 0; }
.tfd-related { height: 100%; padding: 22px; }
.tfd-related__title { font: 600 19px/1.25 var(--wp--preset--font-family--display); color: var(--wp--preset--color--text); flex-grow: 1; }
.tfd-related .tfd-more a { min-height: 32px; font-size: 15px; }

/* Feature page hero and benefit rows */
.tfd-feature-hero .tfd-crumbs { margin-bottom: 0; }
.tfd-feature-hero .tfd-phone { width: 340px; }
@media (max-width: 781px) {
  .tfd-feature-hero .tfd-hero__visual { padding: 28px 0 0; }
  .tfd-feature-hero .tfd-doors { inset: 0 0 64px 0; transform: none; width: 100%; gap: 8px; }
  .tfd-feature-hero .tfd-doors > span { border-radius: 20px 20px 8px 8px; }
  .tfd-feature-hero .tfd-doors > span::after { display: none; }
  .tfd-feature-hero .tfd-phone { width: 318px; }
  .tfd-benefit:not(.is-flipped) > .wp-block-column:first-child { order: 2; }
}
.tfd-benefit__text { max-width: 460px; }
.tfd-benefit .tfd-mock { min-height: 420px; align-items: center; }
@media (max-width: 781px) { .tfd-benefit .tfd-mock { min-height: 0; } }
.tfd-faq-cols .wp-block-column:first-child > * { margin-block: 0 .75rem; }

/* Small app drawings: additions to the home page set */
.tfd-mock__card.is-tight { padding: 12px 14px; gap: 10px; }
.tfd-mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tfd-mock__label { font: 600 15px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-mock__bar .tfd-mock__title { font-size: 20px; }
.tfd-muted-row { font: 500 14px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-badge--ok { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; font-size: 12px; }
.tfd-badge svg { width: 13px; height: 13px; flex: none; }
.tfd-week > span { height: var(--tfd-week-h, 62px); }
.tfd-week > span.ho-pm { background: linear-gradient(90deg, var(--wp--preset--color--month-tint-peach) 63%, var(--wp--preset--color--month-tint-sage) 63%); }
.tfd-week + .tfd-week { margin-top: -6px; }
.tfd-chips { flex-wrap: wrap; }
.tfd-chip.is-big { height: 34px; padding: 0 14px; font-size: 13px; }
.tfd-screen-title { padding: 0 4px; display: flex; flex-direction: column; }
.tfd-screen-title__main { font: 600 24px/1.15 var(--wp--preset--font-family--display); color: var(--wp--preset--color--text); }
.tfd-screen-title__sub { font: 500 13px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-handover { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--input); }
.tfd-handover__icon { width: 36px; height: 36px; flex: none; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--surface-subtle); color: var(--wp--preset--color--primary); }
.tfd-handover__to { font: 600 11px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--household-text); background: var(--wp--preset--color--household-other); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.tfd-handover__to.is-self { background: var(--wp--preset--color--household-self); }
.tfd-note { background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--input); padding: 12px; font: 500 14px/1.45 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-note span { display: block; margin-bottom: 4px; font: 600 12px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tfd-two .tfd-overline { margin-bottom: 12px; }
.tfd-mock .tfd-overline { margin: 0; }
.tfd-mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tfd-mini-list li { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 1.45; color: var(--wp--preset--color--text); }
.tfd-mini-list svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--wp--preset--color--primary); stroke-width: 2.2; }
.tfd-mini-list.is-cross svg { color: var(--wp--preset--color--text-muted); }
.tfd-person.is-center { align-items: center; }
.tfd-person + .tfd-person.is-center { border-top: 0; padding-top: 0; }
.tfd-person__note { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; }
.tfd-person__note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.tfd-avatar.is-self { background: var(--wp--preset--color--household-self); }
.tfd-switch i.is-off { background: var(--wp--preset--color--border-strong); }
.tfd-switch i.is-off::after { left: 2px; }
.tfd-audience > span { min-height: 66px; }

/* Tables: who sees what, and comparisons. Cards on phones. */
.tfd-table { margin-inline: 0; margin-bottom: 0; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); overflow: hidden; background: var(--wp--preset--color--surface); }
.tfd-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tfd-table th, .tfd-table td { text-align: left; vertical-align: top; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--wp--preset--color--border); }
.tfd-table thead th { font: 700 12px/1.2 var(--wp--preset--font-family--body); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--text-muted); background: var(--wp--preset--color--surface-subtle); border-bottom: 1px solid var(--wp--preset--color--border); }
.tfd-table thead { border-bottom: 0; }
.tfd-table tbody tr:last-child td { border-bottom: 0; }
.tfd-table td:first-child { font-weight: 600; width: 32%; }
.tfd-table--ofw td mark.tfd-verify { margin-top: 8px; display: flex; }
@media (max-width: 781px) {
  .tfd-table { border: 0; background: none; overflow: visible; border-radius: 0; }
  .tfd-table thead { display: none; }
  .tfd-table table, .tfd-table tbody, .tfd-table tr, .tfd-table td { display: block; width: auto; }
  .tfd-table tr { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--input); padding: 16px; margin-bottom: 10px; }
  .tfd-table td { padding: 8px 0 0; border: 0; border-top: 1px solid var(--wp--preset--color--border); margin-top: 8px; font-size: 15px; }
  .tfd-table td:first-child { width: auto; border: 0; margin: 0; padding: 0; font-size: 16px; }
  .tfd-table--who td:not(:first-child) { display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tfd-table--who td:not(:first-child)::before { color: var(--wp--preset--color--text-muted); text-align: left; }
  .tfd-table--who td:nth-child(2)::before { content: "You"; }
  .tfd-table--who td:nth-child(3)::before { content: "Other parent"; }
  .tfd-table--who td:nth-child(4)::before { content: "Helpers"; }
  .tfd-table--labels td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 700 12px/1.2 var(--wp--preset--font-family--body); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--text-muted); }
  .tfd-table--ofw td:not(:first-child)::before { display: block; margin-bottom: 4px; font: 700 12px/1.2 var(--wp--preset--font-family--body); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--text-muted); }
  .tfd-table--ofw td:nth-child(2)::before { content: "Two Front Doors"; }
  .tfd-table--ofw td:nth-child(3)::before { content: "OurFamilyWizard"; }
}

/* Pricing */
/* Each card is five rows (head, price, note, list, button) on a shared subgrid,
   so both cards' lists and buttons line up whatever the note's length. */
.tfd-plans { align-items: stretch; }
.tfd-plan { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--panel); padding: clamp(24px, 3vw, 36px); display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: .75rem; align-content: start; }
.tfd-plan > * { margin: 0 !important; }
.tfd-plan > .wp-block-list.tfd-ticks { margin-top: .75rem !important; padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--border); }
.tfd-plan > .wp-block-buttons.tfd-full-buttons { margin-top: 1rem !important; align-self: end; }
@supports not (grid-template-rows: subgrid) { .tfd-plan { display: flex; flex-direction: column; gap: .75rem; } .tfd-plan > .wp-block-buttons.tfd-full-buttons { margin-top: auto !important; padding-top: 1rem; } }
.tfd-plan.is-primary { border: 2px solid var(--wp--preset--color--primary); }
.tfd-plan h2 { margin: 0; }
.tfd-plan__head { min-height: 32px; }
.tfd-tag-p.is-save { background: var(--wp--preset--color--primary-soft); border-color: transparent; color: var(--wp--preset--color--primary); font-weight: 700; }
.tfd-vat { margin-top: 1.5rem !important; }

/* Currency switcher: real radio inputs, no JavaScript. The checked radio styles
   its label (sibling selector); :has() on the page shows that currency's amounts.
   Without :has() support the page simply stays on pounds. */
.tfd-cur { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 0 auto; padding: 0; border: 0; min-width: 0; }
.tfd-cur__legend { float: left; padding: 0; font: 600 14px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-cur__opts { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border-strong); }
.tfd-cur__in { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tfd-cur__in + label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 44px; padding: 0 16px; border-radius: 999px; font: 600 15px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); cursor: pointer; }
.tfd-cur__in + label:hover { background: var(--wp--preset--color--surface-subtle); }
.tfd-cur__in:checked + label { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); }
.tfd-cur__in:focus-visible + label { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.tfd-cur__in:checked:focus-visible + label { box-shadow: 0 0 0 2px var(--wp--preset--color--surface); }
.tfd-amt--usd { display: none; }
body:has(#tfd-cur-usd:checked) .tfd-amt--gbp { display: none; }
body:has(#tfd-cur-usd:checked) .tfd-amt--usd { display: inline; }
.tfd-price { font: 500 17px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); align-self: flex-start; }
.tfd-price strong { font: 600 clamp(2.5rem, 2rem + 1.2vw, 3rem)/1.05 var(--wp--preset--font-family--display); color: var(--wp--preset--color--text); }
.tfd-inc .wp-block-list { gap: 14px; }

/* Compare: short answer */
.tfd-answer { background: var(--wp--preset--color--primary-soft); border-radius: var(--wp--custom--radius--card); padding: clamp(20px, 2.5vw, 28px); }
.tfd-answer .tfd-overline { color: var(--wp--preset--color--text); }

/* Help centre */
.tfd-help-search { max-width: 640px; }
.tfd-help-search .wp-block-search__input { min-height: 56px; border: 1px solid var(--wp--preset--color--border-strong); padding-left: 48px; background: var(--wp--preset--color--surface) no-repeat 16px center / 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5e56' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.5-4.5'/%3E%3C/svg%3E"); }
.tfd-help-search .wp-block-search__button { min-height: 56px; margin-left: 10px; padding: 0 20px; border-radius: 999px; }
@media (max-width: 599px) { .tfd-help-search .wp-block-search__inside-wrapper { flex-direction: column; gap: 10px; } .tfd-help-search .wp-block-search__button { margin: 0; width: 100%; } }
.tfd-linkcard { margin: 0; }
.tfd-linkcard a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 20px 44px 20px 76px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); color: var(--wp--preset--color--text); font: 600 17px/1.3 var(--wp--preset--font-family--body); text-decoration: none; }
.tfd-linkcard a:hover { border-color: var(--wp--preset--color--primary); }
.tfd-linkcard a::before { content: ""; position: absolute; left: 20px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 22px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-subtle); box-sizing: border-box; }
.tfd-linkcard a::after { content: ""; position: absolute; left: 32px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--wp--preset--color--primary); -webkit-mask: var(--tfd-icon) center / contain no-repeat; mask: var(--tfd-icon) center / contain no-repeat; }
.tfd-linkcard { position: relative; }
.tfd-linkcard::before { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--wp--preset--color--primary); border-top: 2px solid var(--wp--preset--color--primary); transform: rotate(45deg); z-index: 1; pointer-events: none; }
.tfd-help-aside { position: sticky; top: 2rem; }
.tfd-toc-link a { color: var(--wp--preset--color--text); text-decoration: none; font-size: 15px; line-height: 1.4; }
.tfd-toc-link a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
.tfd-contact-box { background: var(--wp--preset--color--primary-soft); border-radius: var(--wp--custom--radius--card); padding: 24px; }
.tfd-help-group > h2 { margin: 0 0 .25rem; }
@media (max-width: 781px) {
  .tfd-help-cols > .wp-block-column:first-child { order: 2; }
  .tfd-help-nav { display: none; }
  .tfd-help-aside { position: static; }
}

/* About, support */
@media (max-width: 781px) { .tfd-about-cols > .wp-block-column:first-child { order: 2; } }
.tfd-signoff { font: 600 16px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-signoff a { color: inherit; }
.tfd-founder-photo { margin: 0; }
.tfd-founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--wp--custom--radius--card); }
.tfd-email { font: 600 18px/1.4 var(--wp--preset--font-family--body); overflow-wrap: anywhere; }
.tfd-path { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--background); font: 500 14px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-path span { flex-grow: 1; }
.tfd-path svg { width: 16px; height: 16px; flex: none; color: var(--wp--preset--color--text-muted); }
.tfd-box--form { padding: clamp(22px, 3vw, 36px); }

/* Illustrations (assets/illustrations, core/image blocks). A tinted panel by
   default; .is-plain drops the panel. The drawings are 4:3. */
.wp-block-image.tfd-illo { margin: 0; border-radius: var(--wp--custom--radius--panel); background: color-mix(in srgb, var(--tfd-tint, var(--wp--preset--color--primary-soft)) 50%, var(--wp--preset--color--surface)); padding: clamp(12px, 2vw, 28px); }
.wp-block-image.tfd-illo.is-plain { background: none; padding: 0; border-radius: 0; }
.wp-block-image.tfd-illo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.tfd-hero-cols .tfd-illo, .tfd-illo-cols .tfd-illo { max-width: 460px; margin-inline: auto; }
.wp-block-image.tfd-illo--aside { max-width: 300px; margin-top: 1.5rem; }
.wp-block-image.tfd-illo--problem { max-width: 440px; margin: 2rem auto 0; }
.wp-block-image.tfd-illo--404 { width: clamp(220px, 28vw, 320px); margin-inline: auto; }
@media (max-width: 781px) {
  .tfd-hero-cols .tfd-illo, .tfd-illo-cols .tfd-illo { max-width: 340px; }
  .wp-block-image.tfd-illo--aside, .wp-block-image.tfd-illo.is-wide-only { display: none; }
}
.tfd-feature-card__illo { margin: 0; padding: 12px 24px 0; background: color-mix(in srgb, var(--tfd-tint, var(--wp--preset--color--month-tint-sage)) 50%, var(--wp--preset--color--surface)); }
.tfd-vat { text-align: center; }
.tfd-feature-card__illo img { display: block; width: 100%; max-width: 260px; height: auto; aspect-ratio: 4 / 3; margin: 0 auto; }
.tfd-leaflet { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: 20px 20px 18px; box-shadow: 0 10px 28px rgb(32 45 39 / .08); max-width: 340px; margin-inline: auto; }
.tfd-leaflet .wp-block-image.tfd-illo.is-plain { background: var(--tfd-band-peach); border-radius: var(--wp--custom--radius--input); padding: 12px; }
.tfd-leaflet__cover { margin: 0; }
.tfd-leaflet__cover img { display: block; width: 100%; max-width: 240px; margin-inline: auto; height: auto; border-radius: var(--wp--custom--radius--input); border: 1px solid var(--wp--preset--color--border); }
.tfd-leaflet__note { margin: 0; font: 600 15px/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }

/* Guides index */
.tfd-featured { display: grid; grid-template-columns: 1fr 1fr; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--panel); overflow: hidden; }
.tfd-featured > * { margin: 0 !important; }
.tfd-featured__art { min-height: 260px; background:
  linear-gradient(90deg, var(--wp--preset--color--household-self) 0 calc(50% - 5px), transparent calc(50% - 5px) calc(50% + 5px), var(--wp--preset--color--household-other) calc(50% + 5px)) 40px 40px / calc(100% - 80px) 100% no-repeat,
  var(--wp--preset--color--month-tint-sage); }
.tfd-featured__art .wp-block-post-featured-image { margin: 0; height: 100%; }
.tfd-featured__art img { width: 100%; height: 100%; object-fit: cover; }
.tfd-featured__body { padding: clamp(22px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.tfd-featured .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large); }
.tfd-featured .wp-block-post-title a, .tfd-guide-card .wp-block-post-title a { color: var(--wp--preset--color--text); text-decoration: none; }
.tfd-featured .wp-block-post-excerpt { color: var(--wp--preset--color--text-muted); font-size: 17px; }
.tfd-featured .wp-block-post-excerpt__excerpt { margin: 0; }
.tfd-featured__meta { font-size: 14px; color: var(--wp--preset--color--text-muted); }
.tfd-featured__meta > * { margin: 0; }
.tfd-featured .wp-block-read-more, .tfd-guide-card .wp-block-read-more { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--wp--preset--color--primary); }
.tfd-featured .wp-block-read-more::after, .tfd-guide-card .wp-block-read-more::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .35em; border-right: 2.2px solid currentColor; border-top: 2.2px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.tfd-featured-query .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
@media (max-width: 781px) { .tfd-featured { grid-template-columns: 1fr; } .tfd-featured__art { min-height: 180px; background-position: 20px 20px; background-size: calc(100% - 40px) 100%, auto; } }
.tfd-guides-top h2 { margin: 0; }
.tfd-topic-chips > * { margin: 0; }
.tfd-topic-list { margin: 0; gap: 8px; }
.tfd-topic-list a, .tfd-chip-all a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--wp--preset--color--border); background: transparent; color: var(--wp--preset--color--text); font: 500 13px/1.3 var(--wp--preset--font-family--body); text-decoration: none; }
.tfd-topic-list .current-cat a, .tfd-chip-all.is-current a { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); font-weight: 600; }
.tfd-guide-card .tfd-overline a { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.tfd-guide-card .wp-block-post-excerpt { color: var(--wp--preset--color--text-muted); }
.tfd-newsletter__form label { display: block; margin-bottom: 8px; font: 600 15px/1.3 var(--wp--preset--font-family--body); }
.tfd-newsletter__row { display: flex; gap: 10px; }
.tfd-newsletter__row input { flex-grow: 1; min-width: 0; height: 52px; border: 1px solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--surface); padding: 0 16px; font: inherit; }
.tfd-newsletter__button { height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); font: 700 16px/1 var(--wp--preset--font-family--body); opacity: .7; }
.tfd-newsletter__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; font: 500 13px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
@media (max-width: 599px) { .tfd-newsletter__row { flex-direction: column; } }

/* Guide articles */
.tfd-article-hero .tfd-eyebrow a { color: inherit; text-decoration: none; }
.tfd-byline { font-size: 15px; line-height: 1.4; color: var(--wp--preset--color--text-muted); }
.tfd-byline .wp-block-post-author-name { color: var(--wp--preset--color--text); font-weight: 600; }
.tfd-byline .wp-block-post-author-name::before { content: "By "; }
.tfd-byline .tfd-updated::before { content: "Updated "; }
.tfd-byline .wp-block-post-author-name a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tfd-byline .tfd-author-role { margin: 0; }
.tfd-other-version { margin: 6px 0 0; font-size: 15px; }
.tfd-other-version a { color: var(--wp--preset--color--primary); font-weight: 600; }

/* Authors (inc/authors.php): no photo means no image, never a Gravatar */
img.tfd-avatar-empty, .avatar.tfd-avatar-empty { display: none; }
.tfd-author-box { margin-top: clamp(1.5rem, 1rem + 1vw, 2.25rem); padding: clamp(20px, 2.5vw, 28px); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); }
.tfd-author-box > * { margin: 0; }
.tfd-author-box .wp-block-post-author { display: flex; gap: 18px; align-items: center; }
.tfd-author-box .wp-block-post-author__avatar { flex: 0 0 72px; margin: 0; }
.tfd-author-box .wp-block-post-author__avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; }
.tfd-author-box .wp-block-post-author__content { margin: 0; }
.tfd-author-box .wp-block-post-author__byline { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--primary); margin: 0 0 2px; }
.tfd-author-box .wp-block-post-author__name { font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; font-weight: 600; margin: 0; }
.tfd-author-box .wp-block-post-author__name a { color: var(--wp--preset--color--text); text-decoration: none; }
.tfd-author-box .tfd-author-role, .tfd-author-box .tfd-author-bio, .tfd-author-box .tfd-author-links { padding-left: 90px; }
.tfd-author-box .tfd-author-role { font-size: 15px; color: var(--wp--preset--color--text-muted); margin-top: -0.25rem; }
.tfd-author-box .tfd-author-bio { font-size: 16px; line-height: 1.6; margin-top: 0.75rem; }
.tfd-author-box .tfd-author-links { font-size: 15px; margin-top: 0.5rem; }
@media (max-width: 599px) {
  .tfd-author-box .wp-block-post-author { flex-direction: column; align-items: flex-start; }
  .tfd-author-box .tfd-author-role, .tfd-author-box .tfd-author-bio, .tfd-author-box .tfd-author-links { padding-left: 0; }
  .tfd-author-box .tfd-author-role { margin-top: 0; }
}
.tfd-author-links a { color: var(--wp--preset--color--primary); font-weight: 600; }
.tfd-author-hero .tfd-eyebrow a { color: inherit; text-decoration: none; }
.tfd-author-head { align-items: center; }
.tfd-author-photo { margin: 0; flex: none; }
.tfd-author-photo img { width: clamp(112px, 9rem + 2vw, 160px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; border: 4px solid var(--wp--preset--color--surface); box-shadow: 0 0 0 1px var(--wp--preset--color--border); }
.tfd-author-hero .tfd-author-role { margin: 0; }
.tfd-author-hero .tfd-author-bio { font-size: 18px; line-height: 1.65; margin: 1.5rem 0 0; }
.tfd-author-hero .tfd-author-links { margin: 1rem 0 0; }
.tfd-prose h2 { font-size: clamp(1.75rem, 1.6rem + .5vw, 2rem); margin: clamp(2.5rem, 2rem + 1.5vw, 3.5rem) 0 1rem; scroll-margin-top: 1.5rem; }
.tfd-prose h3 { font-size: clamp(1.3rem, 1.25rem + .2vw, 1.45rem); margin: 2rem 0 .75rem; }
.tfd-prose p, .tfd-prose li { font-size: 18px; line-height: 1.65; }
.tfd-prose ul, .tfd-prose ol { padding-left: 24px; }
.tfd-prose li { margin-bottom: 8px; padding-left: 4px; }
.tfd-prose li::marker { color: var(--wp--preset--color--primary); font-weight: 700; }
.tfd-disclaimer-line { margin: 0; font-size: 15px; }
.tfd-soft-cta { background: var(--wp--preset--color--surface-subtle); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: clamp(20px, 2.5vw, 28px); }
.tfd-soft-cta > * { margin: 0; }
.tfd-soft-cta .tfd-mark-img { flex: none; }
.tfd-soft-cta .tfd-panel-title { font-size: 18px; }
/* Block styles authors can pick: Short answer, Tip; and the On this page pattern. */
.is-style-short-answer { background: var(--wp--preset--color--primary-soft); border-radius: var(--wp--custom--radius--card); padding: clamp(20px, 2.5vw, 28px); margin-bottom: 28px; }
.is-style-short-answer .tfd-overline { color: var(--wp--preset--color--text); }
.is-style-tip { background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning-text); border-radius: var(--wp--custom--radius--card); padding: 20px 20px 20px 56px; position: relative; margin-block: 8px 28px; }
.is-style-tip::before { content: ""; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; background: var(--wp--preset--color--status-warning); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6l1.4 1.4M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6l1.4 1.4M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-tip p, .tfd-prose .is-style-tip p { font-size: 16px; line-height: 1.55; color: inherit; }
.tfd-toc { border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); padding: 20px 24px; background: var(--wp--preset--color--surface); margin-bottom: 8px; }
.tfd-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.tfd-toc li, .tfd-prose .tfd-toc li { font-size: 15px; margin: 0; }
.tfd-toc a { color: var(--wp--preset--color--text); text-decoration: none; }
.tfd-toc a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }

/* Legal pages (fixed text): the design's readable column with a sticky
   "On this page" list on wide screens. Layout only; the words are untouched. */
.tfd-legal, .tfd-beta { padding-inline: var(--wp--style--root--padding-left, 20px) var(--wp--style--root--padding-right, 20px); }
.tfd-legal > .tfd-crumbs, .tfd-beta > .tfd-crumbs { max-width: 70rem; margin: var(--wp--preset--spacing--hero-top) auto 0; }
.tfd-legal .tfd-legacy .page, .tfd-beta .tfd-legacy .page { padding: 1rem 0 var(--wp--preset--spacing--80); }
.tfd-legal .tfd-legacy .wrap, .tfd-beta .tfd-legacy .wrap { max-width: 70rem; }
.tfd-legal .tfd-legacy .wrap.prose > * { max-width: 45rem; }
.tfd-legal .tfd-legacy .updated { padding-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); border-bottom: 1px solid var(--wp--preset--color--border); margin-bottom: 2rem; }
.tfd-legal .tfd-legacy h2 { scroll-margin-top: 1.5rem; }
.tfd-legal .tfd-legacy p, .tfd-legal .tfd-legacy li { font-size: 18px; line-height: 1.65; }
.tfd-legal .tfd-legacy li::marker { color: var(--wp--preset--color--primary); font-weight: 700; }
.tfd-legal .tfd-legacy nav.toc h2 { font-size: .75rem; }
.tfd-legal .tfd-legacy nav.toc a { color: var(--wp--preset--color--text); text-decoration: none; font-size: 15px; }
.tfd-legal .tfd-legacy nav.toc a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
/* The website analytics opt-out on /privacy (D-120). Shown by assets/js/analytics.js only. */
.tfd-legal .tfd-legacy .analytics-optout[hidden], .tfd-legal .tfd-legacy .analytics-optout button[hidden] { display: none; }
.tfd-legal .tfd-legacy .analytics-optout { padding: 16px 20px; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; }
.tfd-legal .tfd-legacy .analytics-optout button { min-height: 44px; padding: .5rem 1.1rem; font: inherit; font-weight: 600; color: var(--wp--preset--color--primary); background: transparent; border: 2px solid currentColor; border-radius: 999px; cursor: pointer; }
.tfd-legal .tfd-legacy .analytics-optout button:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .tfd-legal .tfd-legacy .wrap.prose { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .tfd-legal .tfd-legacy .wrap.prose > * { grid-column: 2; }
  .tfd-legal .tfd-legacy .wrap.prose > h1, .tfd-legal .tfd-legacy .wrap.prose > .updated { grid-column: 1 / -1; max-width: none; }
  .tfd-legal .tfd-legacy .wrap.prose > nav.toc { grid-column: 1; grid-row: 3 / span 600; position: sticky; top: 2rem; max-height: calc(100vh - 4rem); overflow-y: auto; margin: 0; padding: 0 32px 0 0; background: none; border: 0; border-right: 1px solid var(--wp--preset--color--border); border-radius: 0; }
  .tfd-legal .tfd-legacy .wrap.prose:not(:has(> .updated)) > nav.toc { grid-row: 2 / span 600; }
  .tfd-legal .tfd-legacy nav.toc ol { columns: 1; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .tfd-legal .tfd-legacy nav.toc li { margin: 0; line-height: 1.4; }
}

/* Beta: the same privacy-reviewed form, laid out like the design. */
.tfd-beta .tfd-legacy .wrap.prose > * { max-width: 32rem; }
.tfd-beta .tfd-legacy .beta-form { max-width: none; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--panel); padding: clamp(22px, 3vw, 40px); margin: 1.5rem 0; }
.tfd-beta .tfd-legacy .beta-form label, .tfd-beta .tfd-legacy .beta-form legend { font-size: 15px; }
.tfd-beta .tfd-legacy .beta-form input[type="text"], .tfd-beta .tfd-legacy .beta-form input[type="email"], .tfd-beta .tfd-legacy .beta-form input[type="number"], .tfd-beta .tfd-legacy .beta-form select { min-height: 52px; border-width: 1px; }
.tfd-beta .tfd-legacy .beta-form fieldset { display: flex; flex-wrap: wrap; gap: 10px; }
.tfd-beta .tfd-legacy .beta-form fieldset legend { width: 100%; margin-bottom: 8px; }
.tfd-beta .tfd-legacy .beta-form fieldset .choice { min-height: 48px; margin: 0; padding: 0 16px; gap: 10px; align-items: center; border: 1px solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--surface); }
.tfd-beta .tfd-legacy .beta-form fieldset .choice input { width: 18px; height: 18px; margin: 0; }
.tfd-beta .tfd-legacy .beta-form fieldset .choice label { padding: .75rem 0; font-weight: 500; }
.tfd-beta .tfd-legacy .beta-form .consent { font-size: 16px; }
@media (max-width: 781px) { .tfd-beta .tfd-legacy .beta-form .button { width: 100%; } }
@media (min-width: 1024px) {
  .tfd-beta .tfd-legacy .wrap.prose { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px; align-items: start; }
  .tfd-beta .tfd-legacy .wrap.prose > * { grid-column: 1; }
  .tfd-beta .tfd-legacy .wrap.prose > form { grid-column: 2; grid-row: 1 / span 20; margin-top: 0; }
  .tfd-beta .tfd-legacy h1 { margin-top: .5rem; }
}

/* Grids: WordPress 6.5 turns "columns + minimum width" into a fixed column
   count, so narrow screens get one column (two on tablets) here. */
@media (max-width: 781px) { .tfd-sec .wp-block-group.is-layout-grid, .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; } }
@media (min-width: 782px) and (max-width: 1023px) { .tfd-sec .wp-block-group.is-layout-grid, .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.tfd-header .wp-block-navigation a[aria-current="page"] { color: var(--wp--preset--color--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 599px) { .tfd-tag-p, .tfd-verify, mark.tfd-verify { white-space: normal; } }
/* Footer on phones: the link columns two by two, as in the design. */
@media (max-width: 781px) {
  .wp-block-columns.is-not-stacked-on-mobile.tfd-footer-cols { flex-wrap: wrap !important; row-gap: 2rem; }
  .wp-block-columns.tfd-footer-cols > .wp-block-column { flex-basis: calc(50% - 1rem) !important; flex-grow: 0 !important; }
}

/* Icons for .tfd-ic, .tfd-ic-inline and .tfd-linkcard (the design's stroke icons, as masks). */
.tfd-ic--eyeoff { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.1A9.8 9.8 0 0 1 12 6c5 0 8.5 4.5 9.5 6-.5.8-1.6 2.3-3.2 3.6'/%3E%3Cpath d='M6.6 7.6C4.6 8.9 3.2 10.9 2.5 12c1 1.5 4.5 6 9.5 6 1.5 0 2.9-.4 4.1-1'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E"); }
.tfd-ic--phone { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2.2'/%3E%3Cpath d='M11 17.5h2'/%3E%3C/svg%3E"); }
.tfd-ic--door { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3.5' width='12' height='17' rx='1.5'/%3E%3Cpath d='M14.5 12h.01'/%3E%3C/svg%3E"); }
.tfd-ic--flag { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E"); }
.tfd-ic--trash { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7h15M9.5 7V4.5h5V7M6.5 7l1 13h9l1-13'/%3E%3C/svg%3E"); }
.tfd-ic--check { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tfd-ic--lock { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/svg%3E"); }
.tfd-ic--people { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.5' r='3.2'/%3E%3Cpath d='M3.5 19c.6-3.2 2.8-5 5.5-5s4.9 1.8 5.5 5'/%3E%3Ccircle cx='17' cy='9.5' r='2.5'/%3E%3Cpath d='M16 14.2c2.4-.3 4.1 1.3 4.6 4.3'/%3E%3C/svg%3E"); }
.tfd-ic--user { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.5'/%3E%3Cpath d='M5 20c.8-3.8 3.6-6 7-6s6.2 2.2 7 6'/%3E%3C/svg%3E"); }
.tfd-ic--scale { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 20h8M5 7.5h14'/%3E%3Cpath d='M5 7.5 2.5 13a2.5 2.5 0 0 0 5 0z'/%3E%3Cpath d='M19 7.5 16.5 13a2.5 2.5 0 0 0 5 0z'/%3E%3C/svg%3E"); }
.tfd-ic--heart { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19.5s-7-4.3-7-9.5a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.2-7 9.5-7 9.5z'/%3E%3C/svg%3E"); }
.tfd-ic--help { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.8 9.5a2.3 2.3 0 0 1 4.4.9c0 1.6-2.2 2-2.2 3.6M12 17h.01'/%3E%3C/svg%3E"); }
.tfd-ic--leaf { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-13 14-14 0 9-5 14-13 14'/%3E%3Cpath d='M5 19 12 12'/%3E%3C/svg%3E"); }
.tfd-ic--mail { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.tfd-ic--warn { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 2.8 19.5h18.4z'/%3E%3Cpath d='M12 10v4.2M12 17h.01'/%3E%3C/svg%3E"); }
.tfd-ic--cal { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E"); }
.tfd-ic--link { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.tfd-ic--billing { --tfd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='6' width='17' height='12' rx='2'/%3E%3Cpath d='M3.5 10h17M7 14.5h3'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
  .tfd-header, .tfd-footer, .tfd-skip-link { display: none; }
  body { background: #fff; color: #000; }
}

/* Band palette (design/tokens.json bandPalette): the swatches people pick for
   parenting bands, used here for illustration areas (feature panels, guide
   cards, topic cards). Not WordPress presets, so they are raw values with
   their own dark set. Text on them is household-text (AAA on every swatch). */
:root {
  --tfd-band-sky: #a8cdee; --tfd-band-lilac: #cbbdec; --tfd-band-peach: #f3ddd0;
  --tfd-band-sand: #e6d081; --tfd-band-mint: #a6dccb; --tfd-band-rose: #efb9cb;
  --tfd-motif: rgb(255 255 255 / .55);
}
@media (prefers-color-scheme: dark) {
  html:root, html body {
    --tfd-band-sky: #2a5580; --tfd-band-lilac: #4e4080; --tfd-band-peach: #333c62;
    --tfd-band-sand: #5e4e18; --tfd-band-mint: #1f5651; --tfd-band-rose: #733650;
    --tfd-motif: rgb(255 255 255 / .12);
  }
}
.tfd-tint--sky { --tfd-tint: var(--tfd-band-sky); }
.tfd-tint--lilac { --tfd-tint: var(--tfd-band-lilac); }
.tfd-tint--peach { --tfd-tint: var(--tfd-band-peach); }
.tfd-tint--sand { --tfd-tint: var(--tfd-band-sand); }
.tfd-tint--mint { --tfd-tint: var(--tfd-band-mint); }
.tfd-tint--rose { --tfd-tint: var(--tfd-band-rose); }
/* A household notice sitting straight on a tinted panel keeps an edge. */
.tfd-mock.has-tint .tfd-mock__inner > .tfd-notice { box-shadow: 0 0 0 1px rgb(32 45 39 / .12); }

/* Guide cards: the header colour cycles, then follows the topic. */
.wp-block-post:nth-child(3n+1) .tfd-guide-card { --tfd-tint: var(--tfd-band-peach); }
.wp-block-post:nth-child(3n+2) .tfd-guide-card { --tfd-tint: var(--tfd-band-sky); }
.wp-block-post:nth-child(3n) .tfd-guide-card { --tfd-tint: var(--tfd-band-lilac); }
.wp-block-post.category-schedules .tfd-guide-card { --tfd-tint: var(--tfd-band-peach); }
.wp-block-post.category-holidays .tfd-guide-card { --tfd-tint: var(--tfd-band-sky); }
.wp-block-post.category-legal-basics .tfd-guide-card { --tfd-tint: var(--tfd-band-lilac); }
.wp-block-post.category-helpers-and-family .tfd-guide-card { --tfd-tint: var(--tfd-band-sand); }
.wp-block-post.category-using-the-app .tfd-guide-card { --tfd-tint: var(--tfd-band-mint); }

/* Topic cards (patterns/guide-topic-cards.php): shown while there are no guides. */
.tfd-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1023px) { .tfd-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) { .tfd-topics { grid-template-columns: 1fr; } }
.tfd-topics > li { margin: 0; }
.tfd-topic-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); overflow: hidden; color: var(--wp--preset--color--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.tfd-topic-card:hover { border-color: var(--wp--preset--color--border-strong); transform: translateY(-2px); }
.tfd-topic-card:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tfd-topic-card, .tfd-topic-card:hover { transition: none; transform: none; } }
.tfd-topic-card__art { position: relative; height: 176px; display: grid; place-items: center; background: var(--tfd-tint); }
.tfd-topic-card__art img { display: block; width: auto; height: 150px; max-width: 90%; object-fit: contain; }
.tfd-topic-card__tag { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); font: 600 12px/1.2 var(--wp--preset--font-family--body); letter-spacing: .02em; }
.tfd-topic-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.tfd-topic-card__body h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.tfd-topic-card__body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--text-muted); flex-grow: 1; }
.tfd-topic-card__more { font-weight: 600; font-size: 15px; color: var(--wp--preset--color--primary); }
.tfd-topic-card__more::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .35em; border-right: 2.2px solid currentColor; border-top: 2.2px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.tfd-topics-empty { margin: 0 0 1.25rem; }

/* Parenting time calculator (inc/calculator.php): a plain GET form, no JavaScript. */
.tfd-calc__form { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); }
.tfd-calc__field { margin: 0; }
.tfd-calc__who-is-who { padding: 14px 16px; background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--input); font-size: 15px; line-height: 1.5; }
.tfd-calc__who-is-who p { margin: 0; }
.tfd-calc__who-is-who p + p { margin-top: .4rem; }
@supports selector(:has(*)) {
  .tfd-calc__form:not(:has(#tfd-schedule option[value="custom"]:checked)) .tfd-calc__field--custom { display: none; }
}
.tfd-calc__field label { display: block; margin-bottom: .4rem; font: 600 15px/1.35 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); }
.tfd-calc__field select, .tfd-calc__field input { width: 100%; min-height: 52px; padding: .6rem .8rem; font: inherit; color: var(--wp--preset--color--text); background: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--input); }
.tfd-calc__field input { max-width: 9rem; }
.tfd-calc__field select:focus-visible, .tfd-calc__field input:focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.tfd-calc__submit { margin: .25rem 0 0; }
.tfd-calc__submit button { min-height: 52px; padding: 0 1.5rem; cursor: pointer; }
.tfd-calc__result { margin-top: 1.75rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--wp--preset--color--surface-subtle); border-left: 4px solid var(--wp--preset--color--primary); border-radius: 0 var(--wp--custom--radius--card) var(--wp--custom--radius--card) 0; }
.tfd-calc__result > p { margin: 1rem 0 0; font-size: 16px; line-height: 1.55; }
.tfd-calc__title { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--x-large); }
.tfd-calc__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tfd-calc__stat { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--wp--custom--radius--input); color: var(--wp--preset--color--household-text); }
.tfd-calc__stat--a { background: var(--wp--preset--color--household-self); }
.tfd-calc__stat--b { background: var(--wp--preset--color--household-other); }
.tfd-calc__label { font: 600 13px/1.2 var(--wp--preset--font-family--body); letter-spacing: .04em; text-transform: uppercase; }
.tfd-calc__num { font: 600 clamp(2rem, 1.6rem + 1.5vw, 2.75rem)/1.05 var(--wp--preset--font-family--display); }
.tfd-calc__unit { font: 500 15px/1.3 var(--wp--preset--font-family--body); }
.tfd-calc__weeks { display: grid; gap: 6px; margin-top: 1.25rem; }
.tfd-calc__week { display: grid; grid-template-columns: 4.5rem repeat(7, minmax(0, 1fr)); gap: 4px; align-items: center; }
.tfd-calc__wk { font: 600 13px/1.2 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text-muted); }
.tfd-calc__night { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 8px; color: var(--wp--preset--color--household-text); }
.tfd-calc__night--a { background: var(--wp--preset--color--household-self); }
.tfd-calc__night--b { background: var(--wp--preset--color--household-other); }
.tfd-calc__day { font: 500 12px/1 var(--wp--preset--font-family--body); }
.tfd-calc__who { font: 700 14px/1 var(--wp--preset--font-family--body); }
@media (max-width: 480px) {
  .tfd-calc__week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .tfd-calc__wk { grid-column: 1 / -1; }
}
@media (max-width: 781px) {
  .tfd-table--calc td:not(:first-child) { display: flex; justify-content: space-between; gap: 12px; }
  .tfd-table--calc td:not(:first-child)::before { color: var(--wp--preset--color--text-muted); }
  .tfd-table--calc td:nth-child(2)::before { content: "Nights each fortnight"; }
  .tfd-table--calc td:nth-child(3)::before { content: "Nights a year"; }
  .tfd-table--calc td:nth-child(4)::before { content: "Share"; }
}
