/* The cookie banner analytics.js shows (landing, privacy pages and the web app alike): the Lettera look on its own,
   since the app's page has no site.css. Fixed at the bottom, no overlay: the page stays usable behind it. */
@font-face {
  font-family: "Archivo";
  src: url("archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

#carnet-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  box-sizing: border-box;
  background: #ECE9E2;
  color: #232321;
  border-top: 1px solid rgba(35, 35, 33, .32);
  box-shadow: 0 -1px 0 #D8D5CC;
  padding: 14px max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  font: 400 16px/1.4 "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
}
#carnet-consent *, #carnet-consent *::before, #carnet-consent *::after { box-sizing: border-box; }
/* In the app the banner sits at the top (analytics.js): the keys of its screens are at the bottom (#433). */
#carnet-consent.carnet-consent-top {
  top: 0;
  bottom: auto;
  border-top: 0;
  border-bottom: 1px solid rgba(35, 35, 33, .32);
  box-shadow: 0 1px 0 #D8D5CC;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: 14px;
}
.carnet-consent-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
#carnet-consent p { margin: 0; flex: 1 1 320px; text-wrap: pretty; }
#carnet-consent a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.carnet-consent-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.carnet-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#carnet-consent button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  margin: 0;
  background: #F4F3EF;
  color: #232321;
  border: 1px solid #B3AEA2;
  border-bottom-width: 3px;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#carnet-consent button:active { transform: translateY(1px); border-bottom-width: 2px; margin-bottom: 1px; }
#carnet-consent button:focus-visible, #carnet-consent a:focus-visible {
  outline: 2px solid #232321;
  outline-offset: 3px;
  border-radius: 2px;
}
#carnet-consent button:focus-visible { border-radius: 7px; }
