/* One shared header and footer across the public site. Loaded after page themes. */
.tf-site [data-site-chrome] {
    --chrome-ink: var(--foreground);
    --chrome-teal: var(--ring);
    --chrome-line: var(--border);
    font-family: var(--tf-font-sans);
}
.tf-site [data-site-chrome] > .tf-shell { width: min(100% - 96px, 1280px); }
.tf-site .tf-header[data-site-chrome] { background: #fff; color: var(--chrome-ink); border-bottom: 1px solid #e5eeec; }
.tf-site [data-site-chrome] .tf-header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-8); min-height: 84px; }
.tf-site [data-site-chrome] .tf-brand { gap: var(--space-3); min-height: 44px; color: inherit; font: 500 25px/1.1 var(--tf-font-sans); letter-spacing: -.35px; white-space: nowrap; text-decoration: none; }
.tf-chrome-mark { display: block; flex: 0 0 19.27px; width: 19.27px; height: 32px; }
.tf-primary-nav { display: flex; align-items: center; justify-content: center; gap: var(--space-8); min-width: 0; }
.tf-primary-nav > a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: #35575d; font-size: 14px; line-height: 1.4; white-space: nowrap; }
body.tf-site .tf-header[data-site-chrome] a[aria-current="page"] { text-decoration: none; }
body.tf-site .tf-header[data-site-chrome] a.tf-chrome-cta[aria-current="page"] { border: 1px solid var(--chrome-ink); }
.tf-primary-nav > a[aria-current="page"] { color: var(--chrome-ink); font-weight: 600; }
.tf-primary-nav > a[aria-current="page"]::after { content: ''; position: absolute; height: 2px; left: 2px; right: 2px; bottom: 3px; background: #e9bd26; }
.tf-primary-nav > a:hover { color: var(--chrome-teal); }
.tf-chrome-actions { display: flex; align-items: center; gap: var(--space-6); }
.tf-locale { display: flex; align-items: center; gap: 2px; font: 500 11px/1.3 var(--tf-font-sans); }
.tf-site [data-site-chrome] .tf-locale > a { display: grid; place-items: center; min-width: 32px; min-height: 44px; padding: 0; color: #60777c; font: inherit; text-decoration: none; border: 0; }
.tf-site [data-site-chrome] .tf-locale > a[aria-current] { color: var(--chrome-ink); font-weight: 700; }
.tf-locale > span { height: 12px; width: 1px; background: var(--chrome-line); }
.tf-site [data-site-chrome] .tf-chrome-cta { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-sm); padding: var(--space-2) var(--space-4); border: 1px solid var(--chrome-ink); border-radius: var(--radius-md); background: var(--chrome-ink); color: #fff; font: 600 13px/1.4 var(--tf-font-sans); text-decoration: none; white-space: nowrap; }
.tf-site [data-site-chrome] .tf-chrome-cta:hover { background: #00606a; border-color: #00606a; }
.tf-chrome-cta .tf-icon-arrow { width: 20px; height: 20px; flex: 0 0 20px; }
.tf-site .tf-header[data-site-chrome] :focus-visible { outline: 2px solid var(--chrome-teal); outline-offset: 4px; }
.tf-site [data-site-chrome] .tf-mobile-nav { display: none; }
.tf-site [data-site-chrome] :is(.tf-mobile-nav,.tf-account-menu) > summary { display: flex; align-items: center; justify-content: center; list-style: none; cursor: pointer; }
.tf-site [data-site-chrome] summary::-webkit-details-marker { display: none; }
.tf-site [data-site-chrome] summary::marker { content: ''; }
.tf-site [data-site-chrome] .tf-mobile-nav > summary { width: 44px; height: 44px; border: 1px solid var(--chrome-line); border-radius: var(--radius-sm); }
.tf-site [data-site-chrome] .tf-mobile-nav > .tf-menu-panel { position: absolute; top: 100%; left: 0; right: 0; padding: 12px max(32px, calc((100vw - 1280px) / 2)) 24px; max-height: calc(100dvh - 76px); overflow-y: auto; background: #fff; border-top: 1px solid var(--chrome-line); border-bottom: 1px solid var(--chrome-line); box-shadow: 0 16px 28px rgb(0 59 64 / 8%); }
.tf-site [data-site-chrome] .tf-mobile-nav .tf-menu-links a { display: flex; align-items: center; min-height: 52px; padding: var(--space-3) 0; border: 0; border-bottom: 1px solid #edf2f1; color: var(--chrome-ink); font: 500 20px/1.4 var(--tf-font-sans); text-decoration: none; }
.tf-site [data-site-chrome] .tf-mobile-nav .tf-menu-links a[aria-current="page"] { color: var(--chrome-teal); font-weight: 600; }
.tf-site [data-site-chrome] .tf-mobile-nav .tf-menu-secondary { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); padding-top: var(--space-2); }
.tf-site [data-site-chrome] .tf-mobile-nav .tf-menu-secondary a { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-2) 0; border: 0; color: #47676b; font: 400 14px/1.4 var(--tf-font-sans); }
.tf-menu-language { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-1) 0 var(--space-3); color: #60777c; font-size: 13px; }
.tf-site [data-site-chrome] .tf-menu-panel .tf-locale a { min-width: 44px; }
.tf-site [data-site-chrome] .tf-menu-panel > .tf-chrome-cta { width: 100%; min-height: var(--control-md); border: 1px solid var(--chrome-ink); color: #fff; }
.ui-menu-icon { display: grid; place-items: center; width: 20px; height: 20px; }
.ui-menu-icon .ui-menu-close,.tf-mobile-nav[open] .ui-menu-icon .ui-menu-open { display: none; }
.tf-mobile-nav[open] .ui-menu-icon .ui-menu-close { display: block; }
.tf-account-menu { position: relative; }
.tf-account-menu summary { gap: var(--space-2); min-height: 44px; color: #35575d; font-size: 13px; }
.tf-account-menu > nav { position: absolute; right: 0; top: calc(100% + 12px); width: 220px; padding: var(--space-2); border: 1px solid var(--chrome-line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 24px rgb(0 59 64 / 8%); }
.tf-account-menu > nav a { display: flex; align-items: center; min-height: 44px; padding: var(--space-3) var(--space-3); font-size: 14px; border-radius: var(--radius-sm); }
.tf-account-menu > nav a:hover { background: #eef9f4; }
.tf-site .tf-footer[data-site-chrome] { padding: var(--space-12) 0 0; background: #003b40; color: #fff; }
.tf-chrome-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-16); align-items: start; }
.tf-chrome-footer-brand > p { max-width: 280px; margin: var(--space-4) 0 0; color: #b9d4d1; font-size: 14px; line-height: 1.65; }
.tf-chrome-footer-label { margin: 0 0 var(--space-4); color: #a9c8c4; font: 600 11px/1.4 var(--tf-font-sans); letter-spacing: .1em; text-transform: uppercase; }
.tf-chrome-footer-nav > div { display: grid; justify-items: start; gap: 0; }
.tf-chrome-footer-nav a { display: inline-flex; align-items: center; min-height: 32px; color: #f0f7f5; font-size: 14px; line-height: 1.4; }
.tf-chrome-footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.tf-chrome-footer-contact a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; line-height: 1.4; }
.tf-chrome-footer-contact .tf-chrome-footer-email { font-size: 18px; }
.tf-chrome-footer-contact > span { margin-top: var(--space-2); color: #b9d4d1; font-size: 13px; line-height: 1.5; }
.tf-chrome-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); margin-top: var(--space-8); padding: var(--space-4) 0; border-top: 1px solid #315f62; color: #b9d4d1; font-size: 12px; line-height: 1.5; }
.tf-chrome-footer-bottom > p { margin: 0; }
.tf-chrome-footer-utility { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1) var(--space-8); }
.tf-chrome-footer-utility a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; }
body.tf-site .tf-chrome-footer-utility .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.tf-site .tf-footer[data-site-chrome] a:hover { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tf-site .tf-footer[data-site-chrome] :focus-visible { outline: 2px solid #ffd443; outline-offset: 4px; }
@media (max-width: 1199px) {
    .tf-site [data-site-chrome] > .tf-shell { width: calc(100% - 64px); }
    .tf-site [data-site-chrome] .tf-header-inner { gap: var(--space-6); }
    .tf-primary-nav { gap: var(--space-4); }
    .tf-chrome-actions { gap: var(--space-4); }
    .tf-chrome-footer-grid { gap: var(--space-10); grid-template-columns: 1.2fr .85fr 1fr; }
}
@media (max-width: 1023px) {
    .tf-site [data-site-chrome] .tf-header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
    .tf-primary-nav,.tf-site [data-site-chrome] .tf-desktop-contact,.tf-chrome-actions > .tf-locale,.tf-account-menu { display: none; }
    .tf-site [data-site-chrome] .tf-mobile-nav { display: block; }
}
@media (max-width: 899px) {
    .tf-chrome-footer-grid { grid-template-columns: 1.1fr .8fr 1fr; gap: var(--space-8); }
    .tf-chrome-footer-contact .tf-chrome-footer-email { font-size: 16px; }
}
@media (max-width: 639px) {
    .tf-site [data-site-chrome] > .tf-shell { width: calc(100% - 40px); }
    .tf-site [data-site-chrome] .tf-header-inner { min-height: 72px; gap: var(--space-4); }
    .tf-site [data-site-chrome] .tf-brand { font-size: 22px; gap: var(--space-3); letter-spacing: -.25px; }
    .tf-chrome-mark { flex-basis: 16.86px; width: 16.86px; height: 28px; }
    .tf-site [data-site-chrome] .tf-mobile-nav > .tf-menu-panel { padding: var(--space-2) var(--space-5) var(--space-5); max-height: calc(100dvh - 72px); }
    .tf-site .tf-footer[data-site-chrome] { padding-top: var(--space-8); }
    .tf-chrome-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-8) var(--space-6); }
    .tf-chrome-footer-brand { grid-column: 1 / -1; }
    .tf-chrome-footer-brand > p { max-width: 300px; margin-top: var(--space-3); font-size: 13px; }
    .tf-chrome-footer-label { margin-bottom: var(--space-3); font-size: 10px; }
    .tf-chrome-footer-nav a,.tf-chrome-footer-contact a { min-height: 36px; font-size: 13px; }
    .tf-chrome-footer-contact .tf-chrome-footer-email { font-size: 13px; }
    .tf-chrome-footer-contact > span { font-size: 12px; }
    .tf-chrome-footer-bottom { align-items: flex-start; flex-direction: column; gap: var(--space-2); margin-top: var(--space-8); padding: var(--space-4) 0; font-size: 11px; }
    .tf-chrome-footer-utility { gap: 0 var(--space-5); }
}
