.fn5t-credit { --fn-credit: #6B6B6B; --fn-active: #24231F; --fn-paper: #FBFAF6; --fn-ink: #24231F; }

.fn5t-credit { display: inline-flex; align-items: center; width: max-content; position: relative; color: var(--fn-credit); font: 12px/1.3 system-ui, sans-serif; letter-spacing: normal; }
.fn5t-credit button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.fn5t-credit .fn-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0; white-space: nowrap; font-size: 11px; transition: color 160ms ease; }
.fn5t-credit .fn-trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { color: var(--fn-active); }
.fn5t-credit .fn-trigger svg { width: 19px; height: 19px; }
.fn5t-credit svg { display: block; overflow: visible; flex: none; max-width: none; height: auto; }
.fn5t-credit [aria-expanded="true"] svg { opacity: .3; }
.fn5t-credit .fn-card { position: fixed; inset: auto 16px 80px auto; isolation: isolate; box-sizing: border-box; width: min(215px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); margin: 0; padding: 18px 19px; overflow: visible; border: 0; background: transparent; border-radius: 3px; color: var(--fn-ink); text-align: left; font: 12px/1.3 system-ui, sans-serif; }
.fn5t-credit .fn-surface { position: absolute; inset: 0; z-index: -1; border: 1px solid currentColor; border-radius: 3px; background: var(--fn-paper); box-shadow: 0 5px 16px #0002; }
.fn5t-credit .fn-card svg { margin-left: -3px; }
.fn5t-credit .fn-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; font-size: 19px; }
.fn5t-credit .fn-card p { margin: 10px 0 16px; font-size: 17px; font-weight: 550; }
.fn5t-credit .fn-card a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-top: 1px solid; color: inherit; text-decoration: none; }
.fn5t-credit .fn-card a:hover { text-decoration: underline; }
.fn5t-credit :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-height: 240px) { .fn5t-credit .fn-card { overflow: auto; background: var(--fn-paper); } }
@media (prefers-reduced-motion: reduce) { .fn5t-credit .fn-trigger { transition: none; } }
@media print { .fn5t-credit { display: none !important; } }

/* Match the JCT footer's navy, mist, oak and pale palette. */
.site-footer .fn5t-credit {
  --fn-credit: var(--mist);
  --fn-active: var(--oak);
  --fn-paper: var(--pale);
  --fn-ink: var(--blue);
  margin-top: 6px;
}
.site-footer .fn5t-credit,
.site-footer .fn-card { font-family: "Source Sans 3", Arial, sans-serif; }
.site-footer .fn-card p { color: inherit; }
.site-footer .footer-bottom { align-items: flex-start; }
.footer-copyright { display: flex; flex-direction: column; align-items: flex-end; }
.footer-copyright > span { color: var(--mist); font: 13px "Source Sans 3", Arial, sans-serif; letter-spacing: .1px; }
@media (max-width: 700px) { .footer-copyright > span { font-size: 11px; } }
