/* Tema de la web sobre la interfaz de Assessments (mismos tokens: ver styles.css de la web). */
/* Sustituta de Inter con sus métricas (mismas que la de la web): al llegar la fuente real el texto no cambia de alto. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Arimo"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}
:root {
  --font-sans: "Inter Variable", "Inter Fallback", "Inter", ui-sans-serif, system-ui, sans-serif;
}
html,
body {
  background-color: var(--color-background);
  background-image:
    radial-gradient(circle at 82% -10%, rgb(43 234 116 / 8%), transparent 28rem),
    linear-gradient(135deg, rgb(32 212 90 / 2%), transparent 32%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/*
 * Espacio reservado (mitnix-website#46): la interfaz pinta su contenido tras pedir los términos a la API, y el pie
 * de la web se añade antes. Con una altura mínima de pantalla el pie nace fuera de la vista y no salta (CLS) cuando
 * el contenido llega.
 */
#app {
  flex: 1 0 auto;
  min-height: 100vh;
  min-height: 100svh;
}
::selection {
  background: rgb(32 212 90 / 30%);
  color: #f5f5f5;
}
.brand-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(5 5 5 / 85%);
  backdrop-filter: blur(var(--blur-xl));
}
.brand-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.web-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-background);
  font-size: 11px;
  color: var(--color-muted-foreground);
}
.web-footer p {
  margin: 0;
}
.web-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.web-link {
  display: inline-block;
  padding: 0.375rem 0;
  color: var(--color-muted-foreground);
  text-decoration: none;
}
.web-link:hover {
  color: var(--color-foreground);
}
