/* Common footer presentation only. All page-level styles remain outside this scope. */
.tmf {
  --tmf-ink: #17384c;
  --tmf-muted: #526b7b;
  --tmf-blue: #2874a6;
  --tmf-line: #d1e5ef;
  --tmf-soft: #f4fafe;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--tmf-ink);
  background: linear-gradient(180deg, #fff, var(--tmf-soft));
  border-top: 1px solid var(--tmf-line);
  font: 15px/1.5 "Open Sans", Arial, Helvetica, sans-serif;
  text-align: left;
  isolation: isolate;
}
.tmf *, .tmf *::before, .tmf *::after { box-sizing: border-box; }
.tmf [hidden] { display: none !important; }
.tmf :where(h2, h3, p, ul, dl, dd, address) { margin: 0; padding: 0; }
.tmf :where(ul) { list-style: none; }
.tmf :where(h2, h3, a, button, input, summary) { font-family: inherit; letter-spacing: normal; }
.tmf h2 { color: var(--tmf-ink); font-size: 22px; font-weight: 600; line-height: 1.35; }
.tmf :is(.tmf-main, .tmf-useful-heading, .tmf-search-heading) > h2 { color: #111111; font-size: 14px; font-weight: 600; line-height: 1.5; }
.tmf h3 { color: var(--tmf-ink); font-size: 16px; font-weight: 700; line-height: 1.5; }
.tmf a { color: var(--tmf-blue); text-decoration: none; overflow-wrap: anywhere; }
.tmf a:hover { color: var(--tmf-ink); text-decoration: underline; text-underline-offset: 3px; }
.tmf button, .tmf input { color: inherit; font-size: 14px; line-height: 1.5; }
.tmf button, .tmf summary { cursor: pointer; }
.tmf button { appearance: none; border: 1px solid var(--tmf-line); border-radius: 8px; background: #fff; }
.tmf button:hover { border-color: var(--tmf-blue); background: var(--tmf-soft); }
.tmf :is(a, button, input, summary):focus-visible { outline: 3px solid #1b648f; outline-offset: 3px; }
.tmf svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.tmf :is(.sr, .tmf-sr) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tmf .tmf-shell { width: 100%; padding: 16px 24px; }
.tmf :is(.tmf-heading, .tmf-search-heading) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.tmf :is(.tmf-overview, .tmf-main, .tmf-directory) { margin: 0 0 16px; }
.tmf .tmf-bank { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 8px 12px; border: 0; background: transparent; font-size: 14px; }
.tmf .tmf-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: transparent; }
.tmf .tmf-overview-grid > article { min-width: 0; padding: 8px 16px; }
.tmf .tmf-overview-grid > article + article { border-left: 1px dashed var(--tmf-line); }
.tmf .tmf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tmf .tmf-logo { display: block; width: 260px; max-width: 100%; height: auto; object-fit: contain; }
.tmf .tmf-intro { color: var(--tmf-muted); font-size: 14px; line-height: 1.5; }
.tmf .tmf-intro > span { display: block; }
.tmf .tmf-contacts { display: flex; flex-wrap: wrap; width: 100%; gap: 0 16px; }
.tmf .tmf-contacts > :is(address, span) { flex-basis: 100%; }
.tmf .tmf-contacts a { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.tmf .tmf-contacts address { color: var(--tmf-muted); font-style: normal; font-size: 14px; overflow-wrap: anywhere; }
.tmf .tmf-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; color: var(--tmf-muted); font-size: 13px; }
.tmf .tmf-trust a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-size: 14px; }
.tmf .tmf-trust img { display: block; max-width: 100%; height: auto; }
.tmf .tmf-entity { display: flex; flex-direction: column; }
.tmf .tmf-entity h3 { display: flex; align-items: center; min-height: 48px; margin-bottom: 8px; overflow-wrap: anywhere; }
.tmf .tmf-entity dl { display: grid; grid-auto-rows: minmax(32px, auto); }
.tmf .tmf-entity dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; padding: 0; }
.tmf .tmf-entity dl > div + div { border-top: 1px dashed var(--tmf-line); }
.tmf .tmf-entity dt { color: var(--tmf-muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.tmf .tmf-entity dd { display: flex; min-width: 0; align-items: center; gap: 8px; color: var(--tmf-ink); font-size: 14px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.tmf .tmf-entity dd > a { display: inline-flex; min-height: 44px; align-items: center; }
.tmf .tmf-id-value { min-width: 0; font-variant-numeric: tabular-nums; }
.tmf .tmf-copy { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; padding: 8px; color: var(--tmf-blue); border: 0; background: transparent; box-shadow: none; }
.tmf .tmf-copy:hover { color: var(--tmf-ink); background: transparent; }
.tmf .tmf-copy-status { position: fixed; z-index: 100; bottom: 72px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 8px 16px; border-radius: 8px; background: var(--tmf-ink); color: #fff; font-size: 14px; line-height: 20px; box-shadow: 0 4px 18px #17384c22; }
.tmf .tmf-copy-status:empty { display: none; }
.tmf .tmf-download { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 14px; }
.tmf .tmf-download small { margin-left: 4px; font-size: 12px; color: var(--tmf-muted); }
.tmf .tmf-trust div { display: contents; }
.tmf .tmf-main > h2 { margin-bottom: 8px; }
.tmf .tmf-main-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 0; border-top: 1px solid var(--tmf-line); border-bottom: 1px solid var(--tmf-line); }
.tmf .tmf-main-grid > li { display: flex; min-width: 0; }
.tmf .tmf-main-grid a { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border: 0; border-radius: 0; background: transparent; font-size: 15px; font-weight: 600; }
.tmf .tmf-main-grid > li:not(:nth-child(4n)) { border-right: 1px dashed var(--tmf-line); }
.tmf .tmf-main-grid > li:nth-child(n+5) { border-top: 1px dashed var(--tmf-line); }
.tmf .tmf-main-grid a:hover { border-color: var(--tmf-blue); background: var(--tmf-soft); }
.tmf .tmf-main-grid a > span { min-width: 0; }
.tmf summary { list-style: none; }
.tmf summary::-webkit-details-marker { display: none; }
.tmf summary::marker { content: ""; }
.tmf .tmf-useful { margin: 0; border-top: 1px solid var(--tmf-line); border-bottom: 1px solid var(--tmf-line); }
.tmf .tmf-useful-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 4px 0; }
.tmf .tmf-useful-all { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 4px 0; color: var(--tmf-blue); white-space: nowrap; }
.tmf .tmf-useful:not([data-open="true"]) [data-open], .tmf .tmf-useful[data-open="true"] [data-closed] { display: none; }
.tmf .tmf-chevron { color: var(--tmf-blue); transition: transform 160ms ease; }
.tmf details[open] > summary > .tmf-chevron { transform: rotate(180deg); }
.tmf .tmf-useful[data-open="true"] button .tmf-chevron { transform: rotate(180deg); }
.tmf .tmf-useful-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 8px; }
.tmf .tmf-useful-grid > section { min-width: 0; padding: 0 16px; }
.tmf .tmf-useful-grid > section:first-child { padding-left: 0; }
.tmf .tmf-useful-grid > section:last-child { padding-right: 0; }
.tmf .tmf-useful-grid > section + section { border-left: 1px dashed var(--tmf-line); }
.tmf .tmf-useful-grid h3 { min-height: 48px; display: flex; align-items: center; margin-bottom: 8px; }
.tmf .tmf-links a { display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; line-height: 1.5; }
.tmf .tmf-links li { min-width: 0; }
.tmf .tmf-useful-grid .tmf-links a > span:first-child { flex: 1; }
.tmf .tmf-socials, .tmf .tmf-runtime ul { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; }
.tmf .tmf-socials a, .tmf .tmf-runtime a { display: inline-flex; align-items: center; min-height: 44px; }
.tmf .tmf-runtime { margin: 8px 0 16px; }
.tmf .tmf-runtime:not(:has(a)) { display: none; }
.tmf .tmf-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px 16px; margin: 0; padding: 0 0 8px; }
.tmf .tmf-topics > button { display: flex; min-width: 0; min-height: 44px; align-items: center; gap: 8px; padding: 8px 16px; border: 0; color: var(--tmf-blue); background: #edf7fd; text-align: left; font-weight: 600; }
.tmf .tmf-topics > button > span { min-width: 0; flex: 1; overflow-wrap: normal; }
.tmf .tmf-topics > button:hover { border-color: var(--tmf-blue); background: #e2f2fc; }
.tmf .tmf-topics > button[aria-expanded="true"] { border-color: #83b5d3; background: #e2f2fc; }
.tmf .tmf-useful-grid .tmf-links a > span { text-decoration: underline; text-underline-offset: 3px; }
.tmf .tmf-directory { padding-top: 16px; }
.tmf .tmf-search-heading small { color: var(--tmf-muted); font-size: 13px; }
.tmf .tmf-searchbox { display: flex; position: relative; min-height: 48px; align-items: center; gap: 8px; overflow: hidden; border: 1px solid var(--tmf-line); border-radius: 12px; background: #fff; }
.tmf .tmf-searchbox input { display: block; width: 100%; min-width: 0; min-height: 46px; flex: 1 1 auto; padding: 8px 16px; border: 0; border-radius: 12px; background: transparent; font-size: 16px; box-shadow: none; }
.tmf .tmf-searchbox input::placeholder { color: var(--tmf-muted); opacity: 1; }
.tmf .tmf-searchbox input:focus-visible { outline-offset: -4px; }
.tmf .tmf-searchbox button { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; margin-right: 4px; padding: 8px; font-size: 20px; }
.tmf .tmf-searchbox button:focus-visible { outline-offset: -4px; }
.tmf .tmf-searchbox:focus-within { border-color: var(--tmf-blue); }
.tmf .tmf-searchbox > svg { margin-left: 16px; }
.tmf .tmf-searchbox::after { content: ""; position: absolute; bottom: 0; left: 0; width: 45%; height: 2px; background: linear-gradient(90deg, transparent, #8bbdd8, transparent); pointer-events: none; animation: tmf-search-wave 14s linear infinite; }
.tmf .tmf-searchbox:focus-within::after { animation-play-state: paused; opacity: 0; }
@keyframes tmf-search-wave { from { transform: translateX(-110%); } to { transform: translateX(245%); } }
.tmf .tmf-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0; color: var(--tmf-muted); font-size: 13px; }
.tmf .tmf-suggestions button { min-height: 44px; padding: 8px 12px; color: var(--tmf-blue); font-size: 14px; }
.tmf .tmf-results { display: grid; gap: 8px; margin: 16px 0; }
.tmf .tmf-results:empty { display: none; }
.tmf .tmf-results > p { color: var(--tmf-muted); font-size: 14px; }
.tmf .tmf-results a { display: flex; min-height: 44px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 8px 0; border: 0; border-bottom: 1px dashed var(--tmf-line); background: transparent; font-size: 14px; }
.tmf .tmf-results small { color: var(--tmf-muted); font-size: 13px; }
.tmf .tmf-result-groups { display: grid; gap: 16px; }
.tmf .tmf-result-groups h3 { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--tmf-line); padding-bottom: 8px; }
.tmf .tmf-result-groups h3 > span { font-size: 13px; font-weight: 400; color: var(--tmf-muted); }
.tmf .tmf-results mark { color: var(--tmf-ink); background: #dceffc; padding: 0; border-radius: 2px; }
.tmf .tmf-result-more { min-height: 44px; padding: 8px 0; color: var(--tmf-blue); }
.tmf :is(.tmf-useful-all, .tmf-suggestions button, .tmf-bottom button, .tmf-searchbox button, .tmf-result-more) { border: 0; background: transparent; }
.tmf :is(.tmf-useful-all, .tmf-suggestions button, .tmf-bottom button, .tmf-result-more):hover { color: var(--tmf-ink); text-decoration: underline; text-underline-offset: 3px; background: transparent; }
.tmf .tmf-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 4px 16px; margin-top: 8px; }
.tmf .tmf-map > details { min-width: 0; border: 0; border-bottom: 1px solid var(--tmf-line); background: transparent; }
.tmf .tmf-map summary:hover { background: #edf7fd; }
.tmf .tmf-map > details:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tmf .tmf-map > details > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; min-height: 44px; align-items: center; gap: 12px; padding: 8px 16px; font-size: 14px; }
.tmf .tmf-map > details > summary > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.tmf .tmf-map > details > summary > span:not(:first-child) { color: var(--tmf-muted); font-size: 13px; }
.tmf .tmf-map > details[open] > summary { border-bottom: 1px dashed var(--tmf-line); }
.tmf .tmf-map .tmf-links { padding: 8px 16px; }
.tmf .tmf-bottom { display: flex; flex-wrap: wrap; min-height: 52px; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 8px; border-top: 1px solid var(--tmf-line); color: var(--tmf-muted); font-size: 13px; }
.tmf .tmf-bottom > :is(a, button) { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; font-size: 14px; }

@media (min-width: 1120px) {
  .tmf .tmf-useful[data-enhanced] .tmf-useful-grid h3 { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1119px) {
  .tmf .tmf-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmf .tmf-overview-grid > .tmf-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; align-items: center; }
  .tmf .tmf-brand .tmf-logo { grid-column: 1; grid-row: 1; }
  .tmf .tmf-brand .tmf-intro { grid-column: 1; grid-row: 2; }
  .tmf .tmf-brand .tmf-contacts { grid-column: 2; grid-row: 1 / 3; }
  .tmf .tmf-brand .tmf-trust { grid-column: 1 / -1; margin-top: 4px; }
  .tmf .tmf-overview-grid > .tmf-entity { border-top: 1px dashed var(--tmf-line); }
  .tmf .tmf-overview-grid > .tmf-brand + .tmf-entity { border-left: 0; }
  .tmf .tmf-entity dl { grid-auto-rows: minmax(32px, auto); }
  .tmf .tmf-useful-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .tmf .tmf-useful-grid > section:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tmf .tmf-useful-grid > section:nth-child(even) { padding-right: 0; }
  .tmf .tmf-useful-grid > section:nth-child(n + 3) { padding-top: 16px; border-top: 1px dashed var(--tmf-line); }
}
@media (max-width: 767px) {
  .tmf .tmf-shell { padding: 16px 20px max(52px, env(safe-area-inset-bottom)); }
  .tmf .tmf-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .tmf .tmf-overview-grid > article { padding: 8px 0; }
  .tmf .tmf-overview-grid > .tmf-brand { display: flex; align-items: flex-start; gap: 8px; }
  .tmf .tmf-overview-grid > article + article { border-left: 0; }
  .tmf .tmf-brand .tmf-trust { margin-top: 0; }
  .tmf .tmf-entity h3 { min-height: 32px; margin-bottom: 4px; }
  .tmf .tmf-entity dl > div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
  .tmf .tmf-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmf .tmf-main-grid > li:nth-child(even) { border-right: 0; }
  .tmf .tmf-main-grid > li:nth-child(n+3) { border-top: 1px dashed var(--tmf-line); }
  .tmf .tmf-main-grid a { gap: 6px; padding: 8px 8px; font-size: 14px; overflow-wrap: normal; word-break: normal; }
  .tmf .tmf-main-grid a svg { width: 16px; height: 16px; flex-basis: 16px; }
  .tmf .tmf-useful-heading { gap: 8px; }
  .tmf .tmf-useful-all { padding: 4px 0; font-size: 13px; }
  .tmf .tmf-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .tmf .tmf-directory { padding-top: 16px; }
  .tmf .tmf-searchbox input { padding-left: 12px; }
  .tmf .tmf-map { grid-template-columns: minmax(0, 1fr); }
  .tmf .tmf-map > details > summary { gap: 8px; padding: 8px 12px; }
  .tmf .tmf-map .tmf-links { padding: 8px 12px; }
}
@media (max-width: 479px) {
  .tmf .tmf-useful-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tmf .tmf-useful-grid > section { padding: 12px 0; border-left: 0; }
  .tmf .tmf-useful-grid > section + section { border-top: 1px dashed var(--tmf-line); }
  .tmf .tmf-useful-grid > section:nth-child(n + 3) { padding-top: 12px; }
  .tmf .tmf-useful-grid h3 { min-height: 0; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .tmf .tmf-searchbox::after { display: none; animation: none; }
  .tmf .tmf-chevron { transition: none; }
}
