/* Design 080 option A / ADR 0139. Tokens and company identity are supplied by the consumer. */
:root {
  color-scheme: light dark;
  --sr-footer-block-size: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  --sr-site-footer-h: var(--sr-footer-block-size);
  scroll-padding-block-end: calc(var(--sr-footer-block-size) + 1rem);
}
.sr-footer-view { display: contents; }
.sr-footer {
  container: sr-footer / inline-size;
  box-sizing: border-box;
  color: var(--sr-site-text, var(--sr-color-text, CanvasText));
  background: var(--sr-site-surface, var(--sr-color-surface, Canvas));
  font-family: var(--sr-site-font-body, var(--sr-font-sans, system-ui));
  border-block-start: 1px solid var(--sr-site-border, var(--sr-color-border, currentColor));
  z-index: 30;
}
.sr-footer *, .sr-footer *::before, .sr-footer *::after { box-sizing: border-box; }
.sr-footer[data-enhanced][data-position="fixed"][data-variant="compact"], .sr-footer[data-enhanced][data-position="fixed"][data-variant="minimal"] { position: fixed; inset-block-end: 0; inset-inline: 0; }
.sr-footer[data-position="sticky"] { position: sticky; inset-block-end: 0; }
.sr-footer-row { display: none; align-items: center; gap: .75rem; block-size: calc(var(--sr-footer-block-size) - 1px); padding: 0 1rem env(safe-area-inset-bottom, 0px); }
.sr-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-inline-size: 0; overflow-wrap: anywhere; }
.sr-footer-row > .sr-footer-legal { flex: 1; }
.sr-footer-row > .sr-footer-legal > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sr-footer-row > .sr-footer-legal > a { display: none; }
.sr-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.sr-footer a { color: inherit; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.sr-footer a, .sr-footer button, .sr-footer summary, .sr-footer select { min-block-size: 2.75rem; align-content: center; }
.sr-footer nav a { display: block; padding: .4rem; }
.sr-footer :focus-visible { outline: 3px solid var(--sr-site-cyan, Highlight); outline-offset: 3px; }
.sr-footer-content { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; }
.sr-footer-content > .sr-footer-legal { flex-basis: 100%; }
.sr-footer-content h2 { font-size: 1rem; margin: 0 0 .5rem; }
.sr-footer-extra:empty { display: none; }
.sr-footer-extra { max-inline-size: 24rem; overflow-wrap: anywhere; }
.sr-footer-priority ul { display: flex; }
.sr-footer-more { flex: none; cursor: pointer; }
.sr-footer-group summary h2 { display: inline; }
.sr-footer-priority [data-overflowed], .sr-footer[data-variant="minimal"] .sr-footer-priority { display: none; }
.sr-footer[data-enhanced]:not([data-variant="full"]) .sr-footer-row { display: flex; }
.sr-footer[data-enhanced]:not([data-variant="full"]) .sr-footer-content { display: none; }
.sr-footer-sheet { margin: auto 0 0; inline-size: 100%; max-inline-size: none; max-block-size: 90dvh; border: 1px solid currentColor; border-radius: 1rem 1rem 0 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); overflow: auto; color: inherit; background: var(--sr-site-surface, var(--sr-color-surface, Canvas)); }
.sr-footer-sheet::backdrop { background: var(--sr-site-shadow, CanvasText); opacity: .65; }
.sr-footer-sheet > * { margin-block-end: 1rem; }
.sr-footer-sheet h2 { font-size: 1.1rem; }
@container sr-footer (max-width: 47.999rem) {
  .sr-footer-row { gap: .25rem; padding-inline: .5rem; }
  .sr-footer-priority { display: none; }
  .sr-footer-content { padding: 1rem; gap: 1rem; }
}
/* In a short viewport chrome is ordinary flow content; consent owns its separate <480px fallback. */
@media (max-height: 499px) {
  :root { --sr-footer-block-size: 0px; --sr-site-footer-h: 0px; }
  .sr-footer[data-enhanced][data-position][data-variant], .sr-footer[data-position] { position: static; }
  .sr-footer-row { block-size: 3.5rem; }
}
@media (forced-colors: active) { .sr-footer { border-color: CanvasText; } .sr-footer :focus-visible { outline-color: Highlight; } }

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* Original public-site footer: visible contact, legal and entry/social groups. */
:root:has(.sr-footer[data-presentation="company"]) { --sr-footer-block-size: calc(3.625rem + env(safe-area-inset-bottom, 0px)); }
.sr-footer[data-presentation="company"] {
  min-block-size: var(--sr-footer-block-size); padding-block: .5rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; background: color-mix(in srgb, var(--sr-site-surface, Canvas) 94%, transparent); backdrop-filter: blur(16px);
}
.sr-footer[data-presentation="company"][data-enhanced][data-position="fixed"] { position: fixed; inset-block-end: 0; inset-inline: 0; }
.sr-footer-company-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; inline-size: 100%; max-inline-size: var(--sr-company-container, 100%); padding-inline: .75rem; margin-inline: auto; }
.sr-footer-company-contact, .sr-footer-company-end { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.sr-footer[data-presentation="company"] a { min-block-size: 0; color: var(--sr-site-text-ui, inherit); text-decoration: none; font-size: .76rem; font-weight: 600; padding: 0; }
.sr-footer[data-presentation="company"] a:hover { color: var(--sr-site-cyan, Highlight); }
.sr-footer[data-presentation="company"] .sr-footer-company-contact a { display: inline-flex; align-items: center; gap: .25rem; }
.sr-footer-company-contact .sr-footer-company-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; vertical-align: -.125em; }
.sr-footer-company-legal { color: var(--sr-site-text-sub, inherit); font-size: .76rem; font-family: var(--sr-site-font-mono, ui-monospace, monospace); }
.sr-footer-company-links, .sr-footer[data-presentation="company"] .sr-footer-company-links a { display: inline; }
.sr-footer-company-detail { display: block; }
.sr-footer[data-presentation="company"] .sr-footer-company-button, .sr-footer[data-presentation="company"] .sr-footer-company-social {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; block-size: 2rem; border: 1px solid var(--sr-site-border, currentColor); border-radius: var(--sr-site-radius-sm, .375rem); background: var(--sr-site-surface2, var(--sr-site-surface, Canvas)); white-space: nowrap; line-height: 1; padding-inline: .7rem;
}
.sr-footer[data-presentation="company"] .sr-footer-company-social { inline-size: 2rem; padding: 0; font-size: 1rem; }
.sr-footer-company-button .sr-footer-company-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; vertical-align: -.125em; }
.sr-footer[data-presentation="company"] .sr-footer-company-button:hover,
.sr-footer[data-presentation="company"] .sr-footer-company-social:hover { border-color: var(--sr-site-cyan, Highlight); }
.sr-footer[data-presentation="company"] :focus-visible { outline-offset: 2px; }
.sr-footer-company-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; vertical-align: -.125em; }
@media (min-width: 576px) { :root { --sr-company-container: 540px; } }
@media (min-width: 768px) { :root { --sr-company-container: 720px; } }
@media (min-width: 992px) { :root { --sr-company-container: 960px; } }
@media (min-width: 1200px) { :root { --sr-company-container: 1140px; } }
@media (min-width: 1400px) { :root { --sr-company-container: 1320px; } }
@media (max-width: 991.98px) { :root:has(.sr-footer[data-presentation="company"]) { --sr-footer-block-size: calc(7.625rem + env(safe-area-inset-bottom, 0px)); } }
@container sr-footer (max-width: 61.999rem) {
  .sr-footer-company-inner { flex-direction: column; text-align: center; }
  .sr-footer-company-contact, .sr-footer-company-end { justify-content: center; }
}
@container sr-footer (min-width: 62rem) and (max-width: 74.999rem) {
  .sr-footer-company-legal { line-height: 1.35; text-align: center; }
  .sr-footer-company-separator { display: none; }
  .sr-footer[data-presentation="company"] .sr-footer-company-links { display: block; }
}
@container sr-footer (max-width: 47.999rem) {
  .sr-footer-company-inner { row-gap: .5rem; }
  .sr-footer-company-legal { line-height: 1.35; }
  .sr-footer-company-separator { display: none; }
  .sr-footer[data-presentation="company"] .sr-footer-company-links { display: block; }
}
@media (max-height: 499px) {
  :root:has(.sr-footer[data-presentation="company"]) { --sr-footer-block-size: 0px; }
  .sr-footer[data-presentation="company"][data-enhanced][data-position] { position: static; }
}
