/* Bluemere · page de connexion. Uniquement des jetons (login/tokens.css). */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-m);
  line-height: var(--lh-m);
}
.login {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-3);
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.logo {
  height: var(--sp-6);
  width: auto;
}
:root:not([data-theme]) .logo--light,
[data-theme='dark'] .logo--light,
[data-theme='light'] .logo--dark {
  display: none;
}
/* Typographie de marque : devise Bluemere, hors de l'application. */
.tagline {
  margin: 0;
  font-family: var(--font-brand);
  font-style: italic;
  font-size: var(--fs-l);
  line-height: var(--lh-l);
  color: var(--text-2);
}
.card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--grid);
  border-radius: var(--r-l);
}
h1 {
  margin: 0;
  font-size: var(--fs-m);
  font-weight: var(--fw-semi);
}
label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-size: var(--fs-s);
  color: var(--text-2);
}
input {
  height: var(--hit-touch);
  padding: 0 var(--sp-3);
  border: 1px solid var(--muted);
  border-radius: var(--r-m);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-m);
}
button {
  height: var(--btn-h-touch);
  border: 0;
  border-radius: var(--r-m);
  background: var(--us-fill);
  color: var(--on-us);
  font: inherit;
  font-weight: var(--fw-semi);
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
#error {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-s);
  padding-left: var(--sp-2);
  border-left: var(--stroke) solid var(--crit);
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url(fonts/instrument-serif-latin-400-italic.woff2) format('woff2');
}
