/* TuGestorDeCitas — shared public interface, November 2026.
   Foundation → shell → workflow → content → responsive. No cumulative patches. */
:root {
  color-scheme: light;
  --tgc-ink: #171b35;
  --tgc-ink-2: #292e49;
  --tgc-copy: #5a6178;
  --tgc-muted: #626980;
  --tgc-blue: #3152ee;
  --tgc-blue-dark: #2340cb;
  --tgc-blue-bright: #5470ff;
  --tgc-blue-soft: #eef1ff;
  --tgc-violet: #3152ee;
  --tgc-signal: #3152ee;
  --tgc-success: #3152ee;
  --tgc-warning: #845818;
  --tgc-coral: #ab3535;
  --tgc-page: #f5f6fb;
  --tgc-surface: #fff;
  --tgc-surface-2: #f1f3fa;
  --tgc-line: #e0e3ee;
  --tgc-line-dark: #a7aec6;
  --tgc-shadow: 0 16px 48px #171b350d;
  --tgc-shadow-soft: 0 3px 14px #171b3505;
  --tgc-action-gradient: #3152ee;
  --tgc-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --tgc-body: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --papel: #fff;
  --papel-2: #f1f3fa;
  --tinta: #171b35;
  --tinta-2: #5a6178;
  --gris: #626980;
  --gris-2: #626980;
  --linea: #e0e3ee;
  --linea-fuerte: #a7aec6;
  --acento: #3152ee;
  --acento-oscuro: #2340cb;
  --acento-tenue: #eef1ff;
  --foco: #3152ee;
  --control-borde: #a7aec6;
  --brand-primary: #3152ee;
  --sidebar-width: 220px;
}

body { background: var(--tgc-page); color: var(--tgc-ink); font-family: var(--tgc-body); line-height: 1.6; }
body, button, input, select, textarea { font-synthesis: none; }
button, input, select, textarea { font: inherit; }
button, summary, a { touch-action: manipulation; }
button, input, select, textarea, a, summary { scroll-margin-block: 120px; }
button:not(:disabled), a, summary { -webkit-tap-highlight-color: #3152ee18; }
button:disabled { opacity: .5; cursor: not-allowed; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #3152ee !important;
  outline-offset: 4px;
}
:where(input, select, textarea)[aria-invalid="true"] { border-color: #ab3535; }
:where(p, h1, h2, h3, strong, small, span) { overflow-wrap: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.wp-site-blocks { margin: 0; padding: 0; }
.tgc-app { overflow: visible; }
.tgc-screen__number { display: none; }
.tgc-shell { width: min(100%, 1160px); padding-inline: 32px; }
.tgc-skip-link { z-index: 200; border-radius: 6px; }
.tgc-pulse-dot { width: 7px; height: 7px; display: inline-block; flex-shrink: 0; border-radius: 50%; background: currentColor; animation: none; box-shadow: none; }

/* Expressive application shell. Real controls and catalogue data carry the composition. */
.tgc-app-dashboard-wrapper { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100svh; }
.tgc-app-sidebar { position: sticky; top: 0; height: 100svh; padding: 28px 16px 20px; background: #fff; color: #171b35; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; border-right: 1px solid #e0e3ee; }
.tgc-sidebar-brand { padding-inline: 4px; }
.tgc-sidebar-logo, .tgc-app-logo { display: inline-flex; align-items: center; gap: 9px; color: #171b35; text-decoration: none; }
.tgc-sidebar-logo__icon, .tgc-app-logo__icon { display: grid; place-items: center; width: 34px; height: 38px; flex-shrink: 0; background: #3152ee; color: #fff; border-radius: 10px; box-shadow: none; }
.tgc-sidebar-logo__name, .tgc-app-logo__text { font-size: 15px; font-weight: 550; letter-spacing: -.5px; white-space: nowrap; }
.tgc-sidebar-logo__name strong, .tgc-app-logo__text strong { font-weight: 750; }
.tgc-sidebar-nav { display: grid; gap: 6px; }
.tgc-sidebar-link { min-height: 48px; padding: 12px; display: flex; align-items: center; gap: 12px; color: #5a6178; font-size: 13px; font-weight: 550; text-decoration: none; border: 1px solid transparent; border-radius: 10px; transition: background 150ms ease-out; }
.tgc-sidebar-link svg { flex-shrink: 0; stroke-width: 1.7; }
.tgc-sidebar-link.is-active { background: #3152ee; color: #fff; font-weight: 650; box-shadow: none; }
.tgc-sidebar-link:hover { background: #eef1ff; color: #3152ee; }
.tgc-sidebar-link.is-active:hover { background: #2340cb; color: #fff; }
.tgc-sidebar-link:focus-visible, .tgc-sidebar-promo a:focus-visible, .tgc-sidebar-logo:focus-visible { outline-color: #3152ee !important; }
.tgc-sidebar-nav .tgc-sidebar-link:last-child { margin-top: 14px; padding-top: 18px; border-top: 1px solid #e0e3ee; border-radius: 0; }
.tgc-sidebar-promo { margin-top: auto; padding: 20px 16px 12px; border: 0; background: #ffe1d0; border-radius: 14px; box-shadow: none; }
.tgc-sidebar-promo__badge { display: block; color: #6b473b; font-size: 11px; margin-bottom: 12px; background: transparent; padding: 0; letter-spacing: 0; text-transform: none; }
.tgc-sidebar-promo strong { display: block; color: #171b35; font-size: 21px; line-height: 1.25; font-weight: 750; letter-spacing: -.7px; }
.tgc-sidebar-promo p { color: #5e4b47; font-size: 12px; line-height: 1.65; margin: 12px 0 6px; }
.tgc-sidebar-promo a { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; min-height: 44px; color: #171b35; font-size: 12px; font-weight: 650; text-decoration: none; }
.tgc-sidebar-promo a > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #171b35; color: #fff; }
.tgc-dashboard-content-area { min-width: 0; display: flex; flex-direction: column; }
.tgc-flow { display: flex; flex-direction: column; grid-template-columns: none; min-height: calc(100svh - 138px); background: transparent; }
.tgc-app-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #e0e3ee; }
.tgc-app-header__bar { min-height: 80px; width: 100%; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tgc-app-header__brand { display: none; }
.tgc-app-header__progress { display: flex; align-items: center; gap: 24px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.tgc-app-header__progress > span { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: #626980; font-size: 13px; font-weight: 550; background: transparent; box-shadow: none; border-radius: 0; }
.tgc-app-header__progress b { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #f0f2f8; color: #626980; font-size: 12px; font-weight: 650; }
.tgc-app-header__progress i { font-style: normal; }
.tgc-app-header__progress .is-active { color: #3152ee; font-weight: 650; background: transparent; box-shadow: none; }
.tgc-app-header__progress .is-active b { background: #3152ee; color: #fff; box-shadow: none; }
.tgc-app-header__progress .is-complete b { background: #deff7a; color: #171b35; }
.tgc-app-header__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tgc-live-network-pill { display: none; }
.tgc-app-home-btn, .tgc-flow__back, .tgc-help-trigger { min-height: 40px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e0e3ee; border-radius: 9px; background: #fff; color: #474f6d; font-size: 13px; font-weight: 550; text-decoration: none; cursor: pointer; box-shadow: none; }
.tgc-app-home-btn:hover, .tgc-flow__back:hover, .tgc-help-trigger:hover { background: #eef1ff; color: #3152ee; }
.tgc-flow__viewport { flex: 1; padding: 32px 32px 48px; }
.tgc-screen { width: 100%; padding: 0; min-height: 0; margin: 0; overflow: visible; background: transparent; }
.tgc-screen::before, .tgc-screen::after { content: none; }
.tgc-screen__content { width: min(100%, 1200px); margin-inline: auto; }
.tgc-screen--search { background: transparent; }
.tgc-screen h1, .tgc-screen h2 { color: #171b35; font-family: var(--tgc-display); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -1.2px; font-weight: 750; max-width: 820px; }
.tgc-screen__lead { max-width: 66ch; color: #5a6178; font-size: 15px; line-height: 1.75; margin: 16px 0 0; }
.tgc-kicker { margin: 0 0 12px; color: #626980; font-size: 13px; font-weight: 550; text-transform: none; letter-spacing: 0; }
.tgc-screen__title-row { align-items: center; }
.tgc-state-pill, .tgc-count { font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; border-radius: 7px; background: #e9edff; color: #3152ee; }

/* Blue search hub, coloured catalogue, then the explanation of the service. */
.tgc-dashboard-workspace { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 28px; }
.tgc-dashboard-main, .tgc-dashboard-sidebar { min-width: 0; }
.tgc-search-hub { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 36px; padding: 28px 32px; border-radius: 20px; background: #3152ee; color: #fff; }
.tgc-dashboard-hero { min-width: 0; }
.tgc-app-kicker { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; line-height: 1.5; font-weight: 550; }
.tgc-app-kicker .tgc-pulse-dot { color: #deff7a; width: 7px; height: 7px; }
.tgc-dashboard-hero h1 { margin: 20px 0 0; max-width: 580px; font-family: var(--tgc-display); color: #fff; font-size: clamp(42px, 4.1vw, 66px); line-height: 1.02; letter-spacing: -2.6px; font-weight: 800; }
.tgc-dashboard-hero .tgc-screen__lead { max-width: 40ch; color: #f0f3ff; font-size: 14px; line-height: 1.8; margin-top: 20px; }
.tgc-dashboard-hero h1 > span { display: block; }
.tgc-dashboard-hero .tgc-pay-later-highlight { color: #deff7a; }
.tgc-pay-later-promise { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ffffff45; }
.tgc-pay-later-check { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid #deff7a80; border-radius: 50%; background: #deff7a; color: #171b35; }
.tgc-pay-later-promise strong { display: block; color: #fff; font-size: 17px; line-height: 1.4; font-weight: 750; }
.tgc-pay-later-promise div > span { display: block; margin-top: 3px; color: #f0f3ff; font-size: 12px; line-height: 1.6; }
.tgc-search-panel { min-width: 0; padding: 24px; border: 1px solid #fff; border-radius: 13px; background: #fff; color: #171b35; box-shadow: 0 12px 0 #1c36ac35; }
.tgc-search-panel h2 { margin: 0; font-size: 21px; font-weight: 750; letter-spacing: -.65px; line-height: 1.35; }
.tgc-entry-value { margin: 8px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; background: transparent; border: 0; box-shadow: none; font-size: 11px; line-height: 1.7; }
.tgc-entry-value strong { color: #626980; font-weight: 500; }
.tgc-entry-value span { color: #626980; }
.tgc-entry-value span:before { color: #3152ee; }
.tgc-command { margin: 28px 0 0; }
.tgc-search-panel .tgc-command { margin-top: 0; }
.tgc-command > label { display: block; margin-bottom: 8px; color: #292e49; font-size: 12px; font-weight: 650; }
.tgc-command__control { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px; min-height: 60px; background: #fff; border: 1px solid #a7aec6; border-radius: 10px; box-shadow: none; }
.tgc-command__control:focus-within { border-color: #626980; box-shadow: none !important; outline: none !important; transform: none; }
.tgc-command__control:has(input:focus-visible) { box-shadow: 0 0 0 1px #626980 !important; }
.tgc-command__search-icon { display: flex; padding-left: 8px; flex: 0 0 auto; }
.tgc-command__search-icon svg { stroke: #626980; stroke-width: 1.7; }
.tgc-command input { width: 100%; min-width: 0; min-height: 46px; padding: 8px; color: #171b35; font-size: 16px; border: 0; background: transparent; box-shadow: none; }
.tgc-command input:focus, .tgc-command input:focus-visible { outline: none !important; box-shadow: none !important; }
.tgc-command input::placeholder { color: #626980; }
.tgc-command button, .tgc-primary-button, .tgc-primary-link, .tgc-plan-card button, .tgc-mobile-action button { min-height: 48px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #3152ee; border-radius: 9px; background: #3152ee; color: #fff; font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; box-shadow: none; cursor: pointer; transition: background 150ms ease-out; }
.tgc-command button { white-space: nowrap; flex-shrink: 0; }
.tgc-command button::after, .tgc-primary-button::after, .tgc-primary-link::after { content: none; }
.tgc-command button:hover, .tgc-primary-button:hover, .tgc-primary-link:hover, .tgc-plan-card button:hover { background: #2340cb; border-color: #2340cb; box-shadow: none; transform: none; }
.tgc-command button:active, .tgc-primary-button:active { transform: translateY(1px); }
.tgc-search-panel .tgc-command__control { flex-wrap: wrap; }
.tgc-search-panel .tgc-command input { flex: 1 1 0; }
.tgc-search-panel .tgc-command button { width: 100%; min-height: 46px; color: #171b35; background: #deff7a; border-color: #deff7a; }
.tgc-search-panel .tgc-command button:hover { background: #d0f264; border-color: #d0f264; }
.tgc-api-status, .tgc-location-status, .tgc-plan-status, .tgc-contract-status, .tgc-summary-note { font-size: 13px; line-height: 1.65; }
.tgc-api-status { margin-top: 10px; }
.tgc-search-panel .tgc-api-status { font-size: 11px; }
.tgc-api-status.is-error, .tgc-location-status.is-error, .tgc-contract-status.is-unavailable, .tgc-plan-status.is-unavailable { color: #9b3030; }
.tgc-entry-examples { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; }
.tgc-entry-examples > span { display: none; }
.tgc-entry-examples a { min-height: 36px; padding: 6px 9px; border: 1px solid #e0e3ee; border-radius: 6px; background: #fff; color: #474f6d; font-size: 11px; font-weight: 550; }
.tgc-entry-examples a:hover { background: #eef1ff; border-color: #a7b5ff; }
.tgc-entry__plans { margin: 18px 0 0; border: 0; padding: 0; background: transparent; box-shadow: none; }
.tgc-entry__plans > summary { width: fit-content; min-height: 44px; display: flex; align-items: center; gap: 16px; padding: 8px 0; color: #3152ee; font-size: 13px; font-weight: 650; list-style: none; cursor: pointer; }
.tgc-entry__plans > summary::after { content: "+"; font-size: 20px; font-weight: 450; }
.tgc-entry__plans[open] > summary::after { content: "−"; }
summary::-webkit-details-marker { display: none; }
.tgc-priority-families { margin-top: 28px; padding-top: 0; border: 0; }
.tgc-priority-families__intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.tgc-priority-families__intro .tgc-bento-kicker { color: #171b35; font-size: 21px; font-weight: 750; letter-spacing: -.6px; }
.tgc-priority-families__intro p { color: #626980; font-size: 12px; font-weight: 450; text-transform: none; letter-spacing: 0; }
.tgc-priority-families__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.tgc-priority-families__grid .tgc-bento-card { --category-bg: #e1d7ff; min-height: 192px; position: relative; display: flex; flex-direction: column; align-content: initial; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; background: var(--category-bg); border: 1px solid #171b351c; border-radius: 13px; color: #171b35; box-shadow: none; text-decoration: none; transition: transform 150ms ease-out, border-color 150ms ease-out; }
.tgc-priority-families__grid .tgc-bento-card:nth-child(2) { --category-bg: #d9eaff; }
.tgc-priority-families__grid .tgc-bento-card:nth-child(3) { --category-bg: #e2f7ad; }
.tgc-priority-families__grid .tgc-bento-card:nth-child(4) { --category-bg: #d7f5ec; }
.tgc-priority-families__grid .tgc-bento-card:nth-child(5) { --category-bg: #ffddc9; }
.tgc-priority-families__grid .tgc-bento-card::after { content: none; }
.tgc-priority-families__grid .tgc-bento-card:hover { background: var(--category-bg); border-color: #171b35; transform: translateY(-3px); box-shadow: 0 4px 0 #171b35; }
.tgc-bento-card__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.tgc-bento-num { display: none; }
.tgc-bento-card__arrow { display: grid; place-items: center; position: absolute; top: 22px; right: 18px; width: 27px; height: 27px; color: #171b35; border: 1px solid #171b3538; border-radius: 50%; }
.tgc-family-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 0; background: transparent; color: #171b35; }
.tgc-family-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.6; }
.tgc-priority-families__grid strong { display: block; color: #171b35; font-size: 20px; line-height: 1.2; font-weight: 750; letter-spacing: -.5px; }
.tgc-priority-families__grid i { display: block; margin-top: 8px; color: #45465f; font-size: 12px; font-style: normal; line-height: 1.6; }
.tgc-secondary-family { margin: 14px 0 0; color: #474f6d; font-size: 13px; line-height: 1.6; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tgc-secondary-family a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 10px; border: 1px solid #d9dfec; border-radius: 8px; background: #fff; color: #243fc7; font-weight: 600; text-decoration: none; }
.tgc-secondary-family a:hover { background: #eef1ff; border-color: #8294f5; text-decoration: underline; text-underline-offset: 3px; }
.tgc-dashboard-sidebar { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 20px; padding: 0; }
.tgc-panel-card { min-width: 0; padding: 24px; background: #fff; border: 1px solid #e0e3ee; border-radius: 13px; box-shadow: none; }
.tgc-panel-card__header { margin-bottom: 22px; }
.tgc-panel-tag { display: block; margin-bottom: 8px; padding: 0; color: #626980; font-size: 11px; font-weight: 550; text-transform: none; letter-spacing: 0; background: transparent; }
.tgc-panel-card h2.tgc-panel-title { margin: 0; color: #171b35; font-family: var(--tgc-display); font-size: 22px; font-weight: 750; letter-spacing: -.65px; line-height: 1.25; }
.tgc-process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tgc-process-step { display: flex; flex-direction: column; gap: 12px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.tgc-process-step__num { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d7defe; background: #eef1ff; color: #3152ee; border-radius: 8px; font-size: 12px; font-weight: 750; }
.tgc-process-step__info { min-width: 0; }
.tgc-process-step strong { display: block; color: #292e49; font-size: 13px; font-weight: 650; line-height: 1.5; }
.tgc-process-step p { margin: 6px 0 0; color: #626980; font-size: 12px; line-height: 1.75; }
.tgc-panel-card--trust { background: #deff7a; border-color: #c6e865; }
.tgc-panel-card--trust .tgc-panel-tag { color: #42551e; }
.tgc-trust-list { display: grid; gap: 18px; }
.tgc-trust-entry { display: flex; gap: 10px; align-items: flex-start; }
.tgc-trust-entry__check { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; border: 1px solid #171b3550; border-radius: 50%; background: transparent; color: #171b35; font-size: 11px; }
.tgc-trust-entry strong { color: #171b35; font-size: 13px; font-weight: 650; }
.tgc-trust-entry p { color: #394423; font-size: 12px; line-height: 1.7; margin: 4px 0 0; }

/* Selection, location and plan states share the same controls. */
.tgc-selection { padding: 0; border: 0; background: transparent; box-shadow: none; }
.tgc-selection .tgc-screen { min-height: 0; padding: 0; align-items: start; }
.tgc-office-step .tgc-screen__content { padding-bottom: 0; }
.tgc-context-card { margin: 0 0 32px; padding: 16px 20px; border: 1px solid var(--tgc-line); border-left: 3px solid #3152ee; border-radius: 8px; background: #fff; box-shadow: none; }
.tgc-context-card strong { font-size: 15px; }
.tgc-context-card small { font-size: 12px; }
.tgc-context-card button, .tgc-text-action { min-height: 44px; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--tgc-line); color: #3152ee; background: #fff; font-size: 13px; font-weight: 600; }
.tgc-results-filter { display: grid; gap: 8px; max-width: 680px; margin-top: 24px; padding: 20px; border: 1px solid #cdd5ff; border-radius: 12px; background: #eef1ff; }
.tgc-results-filter label { color: #171b35; font-size: 13px; font-weight: 650; }
.tgc-results-filter input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #a7aec6; border-radius: 7px; background: #fff; color: #171b35; font: inherit; font-size: 14px; }
.tgc-results-filter input::placeholder { color: #626980; }
.tgc-results-filter p { margin: 0; color: #474f6d; font-size: 12px; }
.tgc-filter-empty { margin: 20px 0; padding: 24px; border: 1px dashed #a7aec6; border-radius: 12px; background: #fff; }
.tgc-filter-empty p { max-width: 65ch; color: #474f6d; }
.tgc-result-list, .tgc-location-list, .tgc-office-list { margin-top: 24px; gap: 10px; }
.tgc-result-option, .tgc-location-option, .tgc-office-option { padding: 20px; border: 1px solid var(--tgc-line); border-radius: 9px; background: #fff; box-shadow: none; transition: border-color 150ms ease-out, background 150ms ease-out; }
.tgc-result-option strong, .tgc-location-option strong, .tgc-office-option strong { font-size: 16px; line-height: 1.5; font-weight: 650; }
.tgc-result-option small, .tgc-location-option small { font-size: 12px; line-height: 1.6; }
.tgc-result-option__summary { display: block; margin-top: 6px; color: var(--tgc-copy); font-size: 13px; line-height: 1.65; }
.tgc-result-option > b, .tgc-location-option > b { color: #3152ee; background: #e9edff; box-shadow: none; }
.tgc-result-option:hover, .tgc-location-option:hover, .tgc-office-option:hover { background: #f4f5ff; border-color: #8294f5; box-shadow: none; transform: none; }
.tgc-result-option.is-selected, .tgc-location-option.is-selected, .tgc-office-option.is-selected, .tgc-office-option.is-recommended, .tgc-office-option.is-service-channel { background: #eef1ff; border-color: #8294f5; box-shadow: none; }
.tgc-office-option__heading small, .tgc-office-option.is-recommended .tgc-office-option__heading small { color: #3152ee; background: #e0e6ff; font-size: 11px; text-transform: none; box-shadow: none; }
.tgc-office-option__address, .tgc-office-option__distance, .tgc-office-option__area { font-size: 13px; line-height: 1.6; }
.tgc-location-selected { background: #eef1ff; border: 1px solid var(--tgc-line); box-shadow: none; }
.tgc-location-form { max-width: 760px; }
.tgc-quick-cities { margin-top: 24px; }
.tgc-quick-cities__label { display: block; margin-bottom: 10px; color: #626980; font-size: 12px; }
.tgc-quick-cities__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tgc-quick-city-btn { min-height: 44px; padding: 10px 16px; border: 1px solid var(--tgc-line); border-radius: 7px; color: #474f6d; background: #fff; cursor: pointer; font-size: 13px; }
.tgc-quick-city-btn:hover { background: #eef1ff; border-color: #a7aec6; }
.tgc-plan-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tgc-plan-card, .tgc-plan-card--plus { padding: 24px; border: 1px solid var(--tgc-line); border-radius: 10px; background: #fff; box-shadow: none; transform: none; }
.tgc-plan-card--standard { border-top: 5px solid #b9a2ff; }
.tgc-plan-card--plus { border-top: 5px solid #3152ee; }
.tgc-plan-card--pro { border-top: 5px solid #a8ce3b; }
.tgc-plan-card:hover { transform: none; box-shadow: none; border-color: #8294f5; }
.tgc-plan-card.is-selected { background: #f4f5ff; border-color: #3152ee; box-shadow: 0 0 0 1px #3152ee; }
.tgc-plan-card__heading { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; }
.tgc-plan-card h3 { min-height: 2.8em; margin: 0; font-size: 18px; line-height: 1.4; }
.tgc-plan-card strong { color: #171b35; font-size: 28px; letter-spacing: -1px; }
.tgc-plan-card p, .tgc-plan-card li { font-size: 13px; line-height: 1.7; }
.tgc-plan-card__headline { font-size: 12px; letter-spacing: 0; }
.tgc-plan-card .tgc-plan-card__highlights { padding-left: 0; list-style: none; }
.tgc-plan-card button { margin-top: auto; width: 100%; white-space: normal; }
.tgc-plan-card--plus button { background: #3152ee; box-shadow: none; }

/* One checkout, with contact, protected card fields and a single payment action. */
.tgc-contract-step > .tgc-screen__content { max-width: 660px; }
.tgc-checkout-screen-header { margin-bottom: 24px; }
.tgc-checkout-screen-header h2 { margin: 8px 0 0; }
.tgc-checkout-screen-header .tgc-screen__lead { margin-top: 12px; }
.tgc-contract-status:empty { display: none; }
.tgc-contract-form { margin-top: 0; }
.tgc-checkout-panel { background: #fff; border: 1px solid var(--tgc-line); padding: 28px; border-radius: 14px; }
.tgc-checkout-contact > h3 { margin: 0 0 20px; color: #171b35; font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.tgc-contract-fields { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
.tgc-contract-field { display: grid; color: #292e49; font-size: 13px; font-weight: 600; gap: 8px; }
.tgc-contract-field input, .tgc-contract-field select, .tgc-contract-field textarea { min-height: 50px; width: 100%; min-width: 0; padding: 12px; border: 1px solid #a7aec6; border-radius: 7px; font-size: 16px; color: #171b35; background: #fff; box-shadow: none; }
.tgc-contract-field input:focus, .tgc-contract-field select:focus { border-color: #3152ee; box-shadow: 0 0 0 3px #3152ee12; }
.tgc-checkout-actions { margin-top: 24px; }
.tgc-checkout-actions .tgc-consent { display: block; padding: 0; margin: 0 0 20px; border: 0; background: transparent; color: #5a6178; font-size: 12px; line-height: 1.65; }
.tgc-checkout-actions .tgc-consent:has(input:checked) { background: transparent; }
.tgc-consent input { accent-color: #3152ee; margin-top: 3px; width: 20px; height: 20px; flex: 0 0 20px; }
.tgc-consent a { color: #3152ee; text-underline-offset: 3px; }
.tgc-checkout-submit-btn { width: 100%; min-height: 54px; font-size: 16px; }
.tgc-checkout-payment-note { margin: 10px 0 0; text-align: center; color: #626980; font-size: 12px; }
.tgc-mollie-box { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tgc-line); }
.tgc-mollie-box__head { margin-bottom: 20px; }
.tgc-mollie-box__kicker { display: block; color: #626980; font-size: 12px; }
.tgc-mollie-box__title { font-size: 18px; margin: 6px 0; font-weight: 650; letter-spacing: -.3px; }
.tgc-mollie-box__sub { font-size: 13px; color: #626980; line-height: 1.65; }
.tgc-mollie-card-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tgc-brand-pill { padding: 3px 8px; border: 1px solid var(--tgc-line); border-radius: 4px; color: #5a6178; font-size: 11px; }
.tgc-mollie-card-fields { display: grid; gap: 18px; }
.tgc-mollie-field { min-width: 0; }
.tgc-mollie-field label { display: block; margin-bottom: 8px; color: #292e49; font-size: 13px; font-weight: 600; }
.tgc-mollie-mount { min-height: 50px; padding: 14px 12px; border: 1px solid #a7aec6; border-radius: 7px; background: #fff; }
.tgc-mollie-mount iframe { display: block; width: 100%; }
.tgc-mollie-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tgc-mollie-trust-strip { margin-top: 20px; display: grid; gap: 8px; }
.tgc-mollie-trust-item { display: flex; gap: 8px; color: #626980; font-size: 12px; }
.tgc-mollie-error { color: #9b3030; font-size: 13px; padding: 12px; background: #fff1ef; border-radius: 6px; }
.tgc-mollie-field-error { color: #9b3030; font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.tgc-mollie-field-error:empty { display: none; }
.tgc-mobile-action { display: none !important; }
.tgc-mobile-account { display: none; }
.tgc-help-dialog { border-color: var(--tgc-line); border-radius: 12px; color: #171b35; box-shadow: var(--tgc-shadow); }
.tgc-help-dialog p { color: #5a6178; }
.tgc-help-dialog a { color: #3152ee; }
.tgc-help-close, .tgc-resume-selection button { color: #3152ee; background: #eef1ff; min-height: 44px; border-radius: 6px; }
.tgc-resume-selection { border-color: var(--tgc-line); background: #eef1ff; border-radius: 8px; }

/* Public catalogue, articles, account and legal pages. */
body.tgc-public-view, body.tgc-legal-view, body.tgc-access-view, body.tgc-review-view, body.tgc-province-view { background: #f5f6fb; }
.tgc-public-view :is(h1, h2, h3), .tgc-legal-view :is(h1, h2, h3) { color: #171b35; }
.tgc-app-header--subpage .tgc-app-header__bar { max-width: 1224px; margin-inline: auto; }
.tgc-app-header--subpage .tgc-app-header__brand { display: block; }
.tgc-app-header--subpage .tgc-app-logo { color: #171b35; }
.tgc-subpage-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-left: auto; }
.tgc-subpage-nav a { font-size: 13px; color: #474f6d; text-decoration: none; min-height: 44px; display: flex; align-items: center; white-space: nowrap; }
.tgc-subpage-nav a:hover { color: #3152ee; text-decoration: underline; text-underline-offset: 5px; }
.tgc-detail-page { padding-block: 28px 56px; background: transparent; }
.tgc-detail-page::before, .tgc-detail-page::after { content: none; }
.tgc-breadcrumbs { padding-block: 8px 24px; color: #626980; font-size: 12px; line-height: 1.7; }
.tgc-breadcrumbs a { text-underline-offset: 4px; }
.tgc-detail-hero { width: min(100%, 1160px); max-width: none; padding-block: 32px; margin-inline: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.tgc-detail-hero::before, .tgc-detail-hero::after { content: none; }
.tgc-detail-hero h1 { max-width: 900px; color: #171b35; font-family: var(--tgc-display); font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -1.4px; font-weight: 650; }
.tgc-detail-lead { max-width: 72ch; color: #5a6178; font-size: 16px; line-height: 1.8; }
.tgc-service-label, .tgc-detail-kicker { padding: 0; border: 0; background: transparent; box-shadow: none; color: #626980; font-size: 12px; font-weight: 550; text-transform: none; letter-spacing: 0; }
.tgc-service-label > span { background: #3152ee; box-shadow: none; }
.tgc-detail-cta, .tgc-card-link { min-height: 46px; padding: 12px 18px; border: 1px solid #3152ee; background: #3152ee; border-radius: 7px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: none; }
.tgc-detail-cta:hover, .tgc-card-link:hover { background: #2340cb; transform: none; box-shadow: none; }
.tgc-detail-secondary { color: #3152ee; font-size: 14px; text-underline-offset: 5px; }
.tgc-hero-reassurance { margin: 12px 0 0; color: #364160; font-size: 13px; line-height: 1.55; }
.tgc-catalog-grid { gap: 16px; }
.tgc-catalog-grid article { border: 1px solid var(--tgc-line); border-radius: 10px; padding: 24px; background: #fff; box-shadow: none; }
.tgc-catalog-grid article:hover { transform: none; box-shadow: none; border-color: #a7aec6; }
.tgc-catalog-grid article h2 { color: #171b35; font-size: 20px; line-height: 1.45; font-weight: 650; letter-spacing: -.4px; }
.tgc-catalog-grid article > p { color: #626980; font-size: 14px; line-height: 1.8; }
.tgc-catalog-grid article > p.tgc-local-service-point { color: var(--tgc-copy); font-size: 15px; font-weight: 400; line-height: 1.6; }
.tgc-catalog-grid article > p:first-child { color: #626980; font-size: 12px; text-transform: none; letter-spacing: 0; }
.tgc-catalog-grid article .tgc-card-link { width: fit-content; padding: 10px 0; border: 0; background: transparent; color: #3152ee; box-shadow: none; }
.tgc-category-guide, .tgc-appointment-guide { background: #fff; border-color: var(--tgc-line); border-radius: 10px; padding: 28px; }
.tgc-category-guide h2, .tgc-appointment-guide h2 { color: #171b35; }
.tgc-category-guide p, .tgc-appointment-guide p { color: #5a6178; }
.tgc-commercial { background: #edf0ff; border-color: #e0e3ee; border-radius: 12px; box-shadow: none; }
.tgc-commercial h2, .tgc-commercial-facts h3, .tgc-commercial-price strong, .tgc-service-decision h3 { color: #171b35; }
.tgc-commercial p, .tgc-commercial-facts p, .tgc-service-decision p, .tgc-service-decision li { color: #5a6178; }
.tgc-commercial-card, .tgc-commercial-facts article, .tgc-commercial-choices article, .tgc-commercial-more, .tgc-service-decision article { border-color: #e0e3ee; border-radius: 10px; box-shadow: none; }
.tgc-commercial-steps strong { color: #3152ee; background: #deff7a; }
.tgc-commercial-guides a, .tgc-decision-faq { color: #292e49; background: #f1f3fa; border-color: #e0e3ee; border-radius: 8px; }
.tgc-service-decision a { color: #3152ee; }
.tgc-service-decision .tgc-detail-cta { color: #fff; }
.tgc-legal-hero, .tgc-legal-document, .tgc-review-form-card, .tgc-access-view .tgc-shell { border-color: #e0e3ee; background: #fff; box-shadow: none; border-radius: 10px; }
.tgc-trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: 16px 40px; }
.tgc-trust-card { display: flex; gap: 10px; align-items: flex-start; padding: 18px; background: #edf0ff; border: 1px solid #e0e3ee; border-radius: 9px; box-shadow: none; }
.tgc-trust-card strong { color: #292e49; font-size: 13px; font-weight: 600; line-height: 1.6; }
.tgc-trust-card p { color: #626980; font-size: 12px; line-height: 1.7; margin: 6px 0 0; }
.tgc-trust-icon { display: block; flex: 0 0 18px; color: #3152ee; background: transparent; }
.tgc-detail-grid > article, .tgc-source-panel, .tgc-review-empty { border-color: #e0e3ee; background: #fff; box-shadow: none; border-radius: 10px; }
.tgc-detail-grid > article p, .tgc-source-panel p { color: #5a6178; }
.tgc-mobile-sticky-bar { display: none; background: #fff; border-color: var(--tgc-line); box-shadow: 0 -2px 12px #171b3508; }
.tgc-mobile-btn-cta { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; color: #fff; background: #3152ee; border-radius: 7px; box-shadow: none; font-size: 14px; font-weight: 600; text-decoration: none; }
.tgc-mobile-btn-cta > span { color: #fff; }
.tgc-legal-page, .tgc-account-page { color: #292e49; }
.tgc-legal-page { padding-block: 32px 56px; }
.tgc-legal-hero { padding-block: 32px; border-radius: 10px; gap: 32px; }
.tgc-legal-hero h1 { max-width: 720px; margin: 12px 0 16px; font-size: clamp(30px, 4vw, 44px); font-weight: 650; line-height: 1.2; letter-spacing: -1.2px; }
.tgc-legal-meta { padding: 20px; border: 1px solid #e0e3ee; border-radius: 8px; box-shadow: none; }
.tgc-legal-page, .tgc-reviews-page, .tgc-review-form-page { background: transparent; }
.tgc-legal-page::before, .tgc-legal-page::after, .tgc-reviews-page::before, .tgc-reviews-page::after, .tgc-review-form-page::before { content: none; }
.tgc-review-form-page { min-height: calc(100svh - 88px); padding: 40px 24px; }
.tgc-review-form-card { width: min(100%, 640px); padding: 32px; }
.tgc-review-form-card h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.2; letter-spacing: -1px; }
.tgc-review-form-card > p { font-size: 14px; line-height: 1.8; }
.tgc-review-hero { background: transparent; box-shadow: none; }
.tgc-review-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -1px; }
.tgc-legal-page p, .tgc-legal-page li { line-height: 1.85; }
/* Help and supporting navigation */
.tgc-intent-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  grid-template-areas: "intro options";
  align-content: start;
  gap: 14px clamp(24px, 4vw, 60px);
  margin-top: clamp(28px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--tgc-line);
}
.tgc-intent-help__intro { grid-area: intro; }
.tgc-intent-help__intro .tgc-intent-help__eyebrow {
  margin: 0 0 8px;
  color: var(--tgc-blue-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.tgc-intent-help__intro h2 { margin: 0; font-size: clamp(25px, 2.7vw, 38px); letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.tgc-intent-help__intro p { margin: 10px 0 0; color: var(--tgc-copy); font-size: 14px; line-height: 1.6; }
.tgc-intent-help__options { grid-area: options; display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tgc-intent-help__option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  height: 100%;
  box-sizing: border-box;
  padding: 17px 18px;
  border: 1px solid var(--tgc-line);
  border-radius: 13px;
  background: var(--tgc-surface);
  color: var(--tgc-ink);
  text-decoration: none;
}
.tgc-intent-help__option:hover { border-color: var(--tgc-blue); background: var(--tgc-blue-soft); }
.tgc-intent-help__icon, .tgc-intent-help__arrow { display: grid; place-items: center; }
.tgc-intent-help__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--tgc-blue-soft); color: var(--tgc-blue-dark); }
.tgc-intent-help__icon--document { background: #e2f7ad; color: var(--tgc-ink); }
.tgc-intent-help__option-copy strong, .tgc-intent-help__option-copy > span { display: block; }
.tgc-intent-help__option-copy strong { font-size: 16px; font-weight: 720; line-height: 1.35; }
.tgc-intent-help__option-copy > span { margin-top: 4px; color: var(--tgc-copy); font-size: 13px; line-height: 1.5; }
.tgc-intent-help__arrow { width: 25px; height: 25px; color: var(--tgc-blue-dark); font-size: 19px; }

.tgc-footer { margin: 0; padding: 22px 32px; background: var(--tgc-ink); color: #fff; }
.tgc-footer__bar {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.tgc-footer__brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 44px; color: #fff; font-size: 16px; font-weight: 550; letter-spacing: -.4px; text-decoration: none; }
.tgc-footer__brand strong { font-weight: 750; }
.tgc-footer__brand-mark { width: 34px; height: 36px; display: grid; place-items: center; flex-shrink: 0; border-radius: 9px; color: var(--tgc-ink); background: #deff7a; }
.tgc-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: clamp(20px, 4vw, 52px); min-width: 0; }
.tgc-footer__label { margin: 0; color: #fff; font-size: 13px; font-weight: 700; }
.tgc-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; margin: 0; padding: 0; }
.tgc-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #d7dcef; font-size: 14px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.tgc-footer__nav a:hover, .tgc-footer__brand:hover { color: #deff7a; text-decoration: underline; text-underline-offset: 4px; }
.tgc-footer a:focus-visible { outline-color: #deff7a !important; outline-offset: 3px; border-radius: 3px; }

.tgc-cookie-preferences { margin-block: 24px; padding: clamp(16px, 4vw, 24px); border: 1px solid var(--tgc-line); border-radius: 12px; background: var(--tgc-surface); }
.tgc-cookie-preferences h2 { margin-top: 0; }
.tgc-cookie-preferences__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tgc-cookie-preferences__actions button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--tgc-blue); border-radius: 8px; background: var(--tgc-blue-soft); color: var(--tgc-blue-dark); font: inherit; font-weight: 650; cursor: pointer; }
.tgc-cookie-preferences__actions button:disabled { cursor: default; opacity: .65; }
.tgc-cookie-preferences [role="status"] { margin-bottom: 0; color: var(--tgc-copy); }
.tgc-legal-holder { padding: 16px; border: 1px solid var(--tgc-line); border-radius: 10px; background: var(--tgc-blue-soft); overflow-wrap: anywhere; }

@media (max-height: 800px) and (min-width: 821px) {
  .tgc-app-sidebar { gap: 24px; padding-block: 24px; }
  .tgc-sidebar-promo p { display: none; }
  .tgc-sidebar-promo strong { font-size: 18px; }
}

@media (min-width: 1500px) {
  .tgc-flow__viewport { padding: 40px 44px 56px; }
  .tgc-app-header__bar { padding-inline: 44px; }
  .tgc-search-hub { padding: 44px; gap: 48px; }
}
@media (max-width: 1180px) {
  :root { --sidebar-width: 208px; }
  .tgc-app-sidebar { padding-inline: 12px; }
  .tgc-sidebar-logo__name { font-size: 14px; }
  .tgc-app-header__bar { padding-inline: 24px; gap: 12px; }
  .tgc-app-header__progress { gap: 16px; }
  .tgc-flow__viewport { padding: 28px 24px 40px; }
  .tgc-search-hub { padding: 28px; gap: 24px; }
  .tgc-dashboard-hero h1 { font-size: 48px; }
  .tgc-search-panel { padding: 20px; }
  .tgc-priority-families__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tgc-priority-families__grid .tgc-bento-card { min-height: 184px; padding: 18px; }
  .tgc-priority-families__grid strong { font-size: 18px; }
  .tgc-dashboard-sidebar { grid-template-columns: minmax(0, 1fr); }
  .tgc-panel-card--trust .tgc-trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tgc-plan-list { gap: 12px; }
  .tgc-plan-card { padding: 20px; }
  .tgc-footer { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .tgc-app-dashboard-wrapper { display: block; }
  .tgc-app-sidebar { display: none; }
  .tgc-app-header__bar { min-height: 108px; padding: 16px 24px 12px; flex-wrap: wrap; gap: 12px; }
  .tgc-app-header__brand { display: block; }
  .tgc-app-header__progress { width: 100%; order: 3; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0f8; padding-top: 8px; }
  .tgc-app-header__progress > span { font-size: 12px; padding: 0; }
  .tgc-app-header__progress b { width: 24px; height: 24px; border-radius: 7px; }
  .tgc-app-header__nav { gap: 6px; }
  .tgc-app-home-btn { font-size: 12px; padding: 8px 10px; }
  .tgc-help-trigger { display: none; }
  .tgc-app-header--subpage .tgc-app-header__bar { min-height: 80px; }
  .tgc-subpage-nav { display: none; }
  .tgc-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgc-shell { padding-inline: 24px; }
}
@media (max-width: 760px) {
  .tgc-priority-families__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgc-priority-families__grid .tgc-bento-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 118px; }
  .tgc-mobile-sticky-bar { display: flex; position: fixed; inset: auto 0 0; z-index: 35; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e0e3ee; }
  body.tgc-public-view:has(.tgc-mobile-sticky-bar) { padding-bottom: 84px; }
}
@media (max-width: 680px) {
  .tgc-search-hub { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 24px; }
  .tgc-dashboard-hero h1 { font-size: 50px; }
  .tgc-dashboard-hero .tgc-screen__lead { max-width: 42ch; margin-top: 16px; }
  .tgc-search-panel { padding: 24px; }
  .tgc-process-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tgc-process-step { flex-direction: row; }
  .tgc-panel-card--trust .tgc-trust-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .tgc-app-header__bar { padding-inline: 20px; }
  .tgc-app-logo__text { font-size: 15px; }
  .tgc-app-logo__icon { width: 28px; height: 32px; border-radius: 8px; }
  .tgc-app-logo__icon svg { width: 18px; height: 18px; }
  .tgc-app-logo { gap: 8px; }
  .tgc-app-header__nav .tgc-app-home-btn, .tgc-flow__back { padding: 8px; font-size: 12px; }
  .tgc-app-header__nav:has(.tgc-flow__back:not([hidden])) .tgc-app-home-btn { display: none; }
  .tgc-app-header__progress { gap: 8px; }
  .tgc-app-header__progress > span { gap: 6px; }
  .tgc-flow__viewport { padding: 20px 16px 32px; }
  .tgc-screen h2 { font-size: 28px; letter-spacing: -.8px; }
  .tgc-screen__lead { font-size: 14px; line-height: 1.7; }
  .tgc-search-hub { padding: 24px 20px; gap: 22px; border-radius: 16px; }
  .tgc-dashboard-hero h1 { font-size: 42px; line-height: 1.02; margin-top: 16px; letter-spacing: -1.7px; }
  .tgc-dashboard-hero .tgc-screen__lead { font-size: 13px; line-height: 1.7; }
  .tgc-search-panel { padding: 20px 16px; border-radius: 11px; }
  .tgc-search-panel h2 { font-size: 19px; letter-spacing: -.5px; }
  .tgc-search-panel .tgc-entry-value { margin-bottom: 14px; font-size: 11px; }
  .tgc-search-panel .tgc-entry-examples { display: none; }
  .tgc-command { margin-top: 24px; }
  .tgc-command__control { flex-wrap: wrap; gap: 4px; padding: 6px; }
  .tgc-command__search-icon { padding-left: 6px; }
  .tgc-command input { flex: 1 1 0; min-height: 44px; padding-inline: 6px; }
  .tgc-command button { width: 100%; min-height: 46px; justify-content: center; }
  .tgc-api-status { font-size: 12px; }
  .tgc-priority-families { margin-top: 24px; padding-top: 0; }
  .tgc-priority-families__intro { display: grid; gap: 4px; }
  .tgc-priority-families__intro .tgc-bento-kicker { font-size: 21px; }
  .tgc-priority-families__intro p { font-size: 11px; }
  .tgc-priority-families__grid { gap: 10px; margin-top: 14px; }
  .tgc-dashboard-sidebar { gap: 16px; }
  .tgc-panel-card { padding: 24px; }
  .tgc-panel-card h2.tgc-panel-title { font-size: 21px; }
  .tgc-context-card { padding: 14px; margin-bottom: 24px; }
  .tgc-result-option, .tgc-location-option, .tgc-office-option { padding: 16px; }
  .tgc-result-option strong, .tgc-location-option strong { font-size: 15px; }
  .tgc-result-option__summary { font-size: 12px; }
  .tgc-plan-list { grid-template-columns: minmax(0, 1fr); }
  .tgc-checkout-panel { padding: 20px; }
  .tgc-mollie-row { gap: 12px; }
  .tgc-detail-page { padding-top: 16px; }
  .tgc-detail-hero { padding-block: 20px; }
  .tgc-detail-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .tgc-detail-lead { font-size: 14px; }
  .tgc-catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .tgc-catalog-grid article { padding: 20px; }
  .tgc-category-guide, .tgc-appointment-guide { padding: 24px; }
  .tgc-trust-strip { grid-template-columns: minmax(0, 1fr); }
  .tgc-legal-hero h1 { font-size: 30px; letter-spacing: -.8px; }
  .tgc-review-form-page { padding: 24px 16px; }
  .tgc-review-form-card { padding: 24px; }
  .tgc-shell { padding-inline: 20px; }
  .tgc-footer { padding: 24px 20px; }
}
/* Mobile task layout: readable inputs, shorter introduction and reachable controls. */
@media (max-width: 540px) {
  [data-tgc-flow][data-stage="search"] .tgc-app-home-btn { display: none; }
  [data-tgc-flow][data-stage="search"] .tgc-mobile-account { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #e0e3ee; border-radius: 8px; color: #474f6d; font-size: 12px; text-decoration: none; }
  .tgc-app-header__bar { min-height: 96px; padding: max(10px, env(safe-area-inset-top)) 16px 8px; gap: 8px; }
  .tgc-app-header__progress { padding-top: 6px; gap: 6px; }
  .tgc-app-header__progress b { width: 22px; height: 22px; }
  .tgc-flow__back, .tgc-app-home-btn { min-height: 44px; }
  .tgc-flow__viewport { padding: 18px 16px 28px; }
  .tgc-dashboard-hero h1 { font-size: 36px; margin-top: 10px; }
  .tgc-dashboard-hero .tgc-screen__lead { display: block; margin-top: 12px; line-height: 1.6; }
  .tgc-search-hub { padding: 22px 16px 16px; gap: 18px; }
  .tgc-search-panel { padding: 18px 14px; }
  .tgc-search-panel .tgc-command { margin-top: 16px; }
  .tgc-priority-families__grid .tgc-bento-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 32px auto; grid-auto-flow: row; align-content: start; justify-content: stretch; min-height: 164px; padding: 16px 14px; gap: 12px; }
  .tgc-priority-families__grid .tgc-bento-card::before { content: none; }
  .tgc-priority-families__grid .tgc-bento-card__top { grid-area: 1 / 1; }
  .tgc-priority-families__grid .tgc-bento-card__body { grid-area: 2 / 1; align-self: start; width: 100%; min-width: 0; }
  .tgc-priority-families__grid .tgc-bento-card__arrow { top: 18px; right: 14px; width: 24px; height: 24px; }
  .tgc-priority-families__grid strong { font-size: 17px; line-height: 1.3; white-space: normal; overflow-wrap: break-word; }
  .tgc-priority-families__grid i { margin-top: 5px; font-size: 12px; line-height: 1.5; }
  .tgc-family-icon svg { width: 24px; height: 24px; }
  .tgc-results-filter { padding: 16px; }
  .tgc-results-filter input, .tgc-command input { font-size: 16px; }
  .tgc-result-option strong { font-size: 16px; }
  .tgc-result-option__summary { font-size: 13px; }
  .tgc-quick-cities__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tgc-quick-city-btn { padding-inline: 4px; font-size: 12px; }
  .tgc-plan-card { padding: 18px; }
  .tgc-context-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tgc-context-card button { justify-self: start; }
  .tgc-context-card__route { gap: 4px; }
  .tgc-plan-card__heading { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
  .tgc-plan-card h3 { min-height: 0; font-size: 17px; }
  .tgc-plan-card strong { font-size: 26px; white-space: nowrap; }
  .tgc-plan-card button { min-height: 50px; font-size: 15px; }
  .tgc-checkout-screen-header { margin-bottom: 20px; }
  .tgc-checkout-screen-header h2 { font-size: 28px; }
  .tgc-checkout-screen-header .tgc-kicker { margin-bottom: 8px; font-size: 12px; }
  .tgc-checkout-panel { padding: 20px 16px; border-radius: 12px; }
  .tgc-contract-field input, .tgc-contract-field select { min-height: 52px; }
  .tgc-contract-field, .tgc-mollie-field label { font-size: 14px; }
  .tgc-mollie-box__title { font-size: 18px; }
  .tgc-mollie-mount { min-height: 52px; }
  .tgc-checkout-actions { padding-bottom: env(safe-area-inset-bottom); }
  .tgc-footer { padding: 20px 16px; }
}
@media (max-width: 360px) {
  .tgc-app-header__bar, .tgc-footer { padding-inline: 16px; }
  .tgc-flow__viewport { padding-inline: 12px; }
  .tgc-app-header__progress > span { font-size: 11px; }
  .tgc-search-hub { padding: 22px 16px; }
  .tgc-dashboard-hero h1 { font-size: 37px; }
  .tgc-search-panel { padding-inline: 14px; }
  .tgc-search-panel h2 { font-size: 18px; }
  .tgc-priority-families__grid .tgc-bento-card { padding: 16px 12px; }
  .tgc-priority-families__grid strong { font-size: 17px; }
  .tgc-checkout-panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.tgc-city-page{padding:1rem 0 3rem;overflow-wrap:anywhere}.tgc-city-page .tgc-shell{max-width:1120px}.tgc-city-hero{max-width:860px;padding:2rem 0}.tgc-city-hero h1{font-size:clamp(2rem,4.4vw,3.3rem);line-height:1.08;letter-spacing:-.035em}.tgc-city-hero p,.tgc-city-section p{line-height:1.7}.tgc-city-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:1.5rem 0}.tgc-city-note{font-size:.9rem;color:#576078;line-height:1.6}.tgc-city-section{margin:1.6rem 0;padding:1.5rem;border:1px solid #dce2f3;border-radius:18px;background:#fff}.tgc-city-section h2{font-size:1.55rem;line-height:1.25}.tgc-city-offices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tgc-city-offices article{padding:1.1rem;border-radius:12px;background:#f2f4fd}.tgc-city-offices h3{font-size:1.05rem;line-height:1.45;margin:0}.tgc-city-section details{border-bottom:1px solid #e0e5f3;padding:1rem 0}.tgc-city-section summary{font-weight:650;cursor:pointer;line-height:1.5}.tgc-city-section a,.tgc-city-links a{text-underline-offset:3px}.tgc-city-links{margin:2rem auto}.tgc-city-links ul{display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;padding:0}.tgc-city-links li{max-width:100%}.tgc-city-links a{display:block;border:1px solid #dae0f2;border-radius:10px;padding:.75rem 1rem;background:#fff}.tgc-city-page summary:focus-visible{outline:3px solid #3152ee;outline-offset:4px}@media(max-width:650px){.tgc-city-offices{grid-template-columns:1fr}.tgc-city-section{padding:1rem}.tgc-city-hero{padding:1rem 0}.tgc-city-actions{align-items:stretch;flex-direction:column}.tgc-city-actions a{max-width:100%;box-sizing:border-box;white-space:normal}.tgc-city-links ul{display:grid;grid-template-columns:1fr}.tgc-city-page .tgc-breadcrumbs{display:flex;flex-wrap:wrap;line-height:1.6}}

@media (max-width: 720px) {
  .tgc-intent-help {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "options";
  }
  .tgc-intent-help__option { padding: 14px; gap: 10px; }
  .tgc-intent-help__icon { width: 36px; height: 36px; }
  .tgc-intent-help__arrow { width: 21px; }
  .tgc-footer__bar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tgc-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; padding-top: 12px; border-top: 1px solid #ffffff29; }
  .tgc-footer__nav ul { display: block; }
}
@media (max-width: 600px) { .tgc-search-hub .tgc-dashboard-hero h1 { font-size: clamp(32px, 8.6vw, 46px); letter-spacing: -1.4px; line-height: 1.08; } .tgc-pay-later-promise { margin-top: 18px; padding-top: 16px; gap: 10px; } .tgc-pay-later-promise strong { font-size: 16px; } .tgc-pay-later-promise div > span { font-size: 12px; } }

@media(min-width:601px){.tgc-checkout-contact .tgc-contract-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.tgc-checkout-contact [data-contact-name-field]{grid-column:1/-1}}

/* The request banner is owned by the public form after retiring card checkout. */
.tgc-checkout-security{display:flex;align-items:center;gap:12px;width:100%;min-width:0;margin:0 0 20px;padding:13px 14px;border:1px solid #d5e5dc;border-radius:10px;background:#f2f8f4;color:#20283d;box-sizing:border-box}.tgc-checkout-security>svg{display:block;flex:0 0 40px;width:40px;height:40px;max-width:40px;margin:0}.tgc-checkout-security>div{min-width:0}.tgc-checkout-security strong{display:block;font-size:14px;line-height:1.45;font-weight:700}.tgc-checkout-security span{display:block;margin-top:3px;font-size:12px;line-height:1.5;color:#4b6357}@media(max-width:480px){.tgc-checkout-security{padding:12px;gap:10px}.tgc-checkout-security>svg{flex-basis:34px;width:34px;height:34px;max-width:34px}.tgc-checkout-security strong{font-size:13px}.tgc-checkout-security span{font-size:12px}}
/* Account orders stand on their own, without the legal page's navigation column. */
.tgc-account-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.tgc-account-order{min-width:0;background:#fff;border:1px solid #dce1ee;border-radius:16px;padding:24px;overflow-wrap:anywhere}
.tgc-account-order h2{font-size:1.3rem;line-height:1.35;margin:0 0 20px}
.tgc-account-order ul{list-style:none;padding:0;margin:0;line-height:1.65}
.tgc-account-order li+li{margin-top:8px}
.tgc-account-order>p:last-child{font-size:.9rem;line-height:1.6;margin:20px 0 0;color:#5e6680}
@media(max-width:720px){.tgc-account-order-list{grid-template-columns:minmax(0,1fr);gap:16px}.tgc-account-order{padding:20px}}

/* Direct contact: no external widget, automatic chat or page data in the link. */
.tgc-whatsapp { position: fixed; z-index: 34; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); }
.tgc-whatsapp__link { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 9px 18px 9px 10px; border: 1px solid #ffffff38; border-radius: 40px; background: #171b35; color: #fff; text-decoration: none; box-shadow: 0 8px 24px #171b3526; transition: background-color .18s, box-shadow .18s; box-sizing: border-box; }
.tgc-whatsapp__link:visited { color: #fff; }
.tgc-whatsapp__icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #dfff88; color: #13452d; }
.tgc-whatsapp__icon svg { width: 25px; height: 25px; }
.tgc-whatsapp__copy { display: grid; gap: 3px; line-height: 1.2; }
.tgc-whatsapp__copy strong { color: #fff; font-size: 15px; font-weight: 700; }
.tgc-whatsapp__copy > span { color: #d9dce9; font-size: 12px; }
.tgc-whatsapp__arrow { flex: 0 0 18px; margin-left: 8px; color: #dfff88; }
.tgc-whatsapp__link:focus-visible { outline: 3px solid #3152ee; outline-offset: 4px; box-shadow: 0 0 0 4px #fff; }
body:has(.tgc-whatsapp) .tgc-footer { padding-bottom: 104px; }
body:has(.tgc-whatsapp) .tgc-flow__viewport { padding-bottom: 112px; }
body:has([data-tgc-flow]:not([data-stage="search"])) .tgc-whatsapp { display: none; }
body:has([data-tgc-flow]:not([data-stage="search"])) .tgc-flow__viewport { padding-bottom: 48px; }
@media (hover: hover) { .tgc-whatsapp__link:hover { background: #262d50; box-shadow: 0 10px 28px #171b3538; color: #fff; } }
@media (max-width: 760px) {
  .tgc-whatsapp { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .tgc-whatsapp__link { min-height: 52px; gap: 9px; padding: 6px 16px 6px 7px; }
  .tgc-whatsapp__icon { flex-basis: 38px; width: 38px; height: 38px; }
  .tgc-whatsapp__icon svg { width: 23px; height: 23px; }
  .tgc-whatsapp__copy > span, .tgc-whatsapp__arrow { display: none; }
  body:has(.tgc-mobile-sticky-bar) .tgc-whatsapp { bottom: calc(96px + env(safe-area-inset-bottom)); }
  body:has(input:focus, textarea:focus, select:focus, [contenteditable=true]:focus) .tgc-whatsapp { visibility: hidden; }
  body:has(.tgc-whatsapp) .tgc-footer { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { .tgc-whatsapp__link { transition: none; } }
@media print { .tgc-whatsapp { display: none; } }

/* NIE: distinct procedures and real local evidence, shared across the directory. */
.tgc-nie-guide { margin-block: 24px; padding-block: 24px; overflow-wrap: anywhere; }
.tgc-nie-guide > h2 { margin: 8px 0 12px; color: #171b35; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.22; letter-spacing: -.025em; }
.tgc-nie-guide > p { max-width: 84ch; color: #505873; line-height: 1.65; }
.tgc-nie-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.tgc-nie-grid > article { min-width: 0; padding: 22px; background: #fff; border: 1px solid #dce1ee; border-radius: 16px; }
.tgc-nie-grid h3 { margin: 8px 0 12px; font-size: 1.12rem; line-height: 1.4; }
.tgc-nie-grid h3 a { color: #243fc7; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tgc-nie-grid p { margin: 0 0 12px; font-size: .94rem; line-height: 1.65; color: #505873; }
.tgc-nie-guide a:focus-visible { outline: 3px solid #3152ee; outline-offset: 4px; }
.tgc-nie-reference { font-size: .85rem; }
.tgc-city-links details { padding-block: 14px; border-bottom: 1px solid #dce1ee; }
.tgc-city-links summary { padding: 6px 0; cursor: pointer; font-weight: 650; }
.tgc-city-links summary:focus-visible { outline: 3px solid #3152ee; outline-offset: 4px; }
@media (max-width: 600px) { .tgc-nie-grid { grid-template-columns: minmax(0, 1fr); } .tgc-nie-grid > article { padding: 20px; } }

.tgc-nie-province { padding-block: 14px; border-bottom: 1px solid #dce1ee; }
.tgc-nie-province summary { padding: 6px 0; cursor: pointer; font-weight: 650; }
.tgc-nie-province summary:focus-visible { outline: 3px solid #3152ee; outline-offset: 4px; }

#citas-nie, #tgc-nie-choice-title { scroll-margin-top: 110px; }

.tgc-not-found { min-height: 65vh; display: grid; align-content: center; padding-block: 64px; max-width: 760px; }
