@font-face {
  font-family: Urbanist;
  src: url('../fonts/urbanist.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
/* Statische Maskenschrift: nur das Maskenzeichen als Kreis mit 6 px Durchmesser und 10 px Schritt bei 14 px wie in Figma. */
@font-face {
  font-family: 'SDS Password Mask';
  src: url('../fonts/password-mask.ttf') format('truetype');
  unicode-range: U+2022, U+25CF;
  font-display: block;
}
:root {
  font-family: Urbanist, system-ui, sans-serif;
  background: #e6e8d5;
  color: #1d1d1b;
  font-size: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; display: grid; place-items: center; min-height: 100dvh; padding: 24px; }
main {
  display: grid;
  gap: 20px;
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 26px;
  background: #eeefdf;
}
h1, p { margin: 0; }
h1 { font-size: 28px; font-weight: 500; }
.heading, .field { display: grid; gap: 8px; }
.heading p { color: #66685c; font-size: 13px; line-height: 19px; }
/* Figma-Knoten 116:831 und 151:20: 10 px SemiBold mit automatischer Zeilenhöhe von 12 px. */
.heading .brand { font-size: 10px; line-height: 12px; font-weight: 600; text-transform: uppercase; }
form { display: grid; gap: 16px; }
label { font-weight: 500; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
input:not([type="checkbox"]) {
  width: 100%;
  height: 46px;
  border: 1px solid #e2e3d3;
  border-radius: 14px;
  background: #fbfbf5;
  padding: 12px;
}
.session-option { display: flex; align-items: center; gap: 12px; font-weight: 400; }
.session-option input {
  appearance: none;
  margin: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #66685c;
  border-radius: 5px;
  background: #fbfbf5;
}
.session-option input:checked {
  border-color: #2b2b2b;
  background: #2b2b2b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-4.7' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
@media (forced-colors: active) {
  .session-option input { appearance: auto; }
}
.password { position: relative; }
.password input { padding-inline-end: 56px; }
/* Nur das maskierte Feld nutzt die Maskenschrift. Nach dem Umschalten auf type=text gilt wieder Urbanist. */
.password input[type="password"] { font-family: 'SDS Password Mask', Urbanist, system-ui, sans-serif; }
/* Symbol 16 px, horizontal 17 px vor der rechten Feldkante und vertikal mittig wie in Figma. */
.password button { position: absolute; top: 1px; bottom: 1px; right: 1px; width: 48px; padding: 0; background: transparent; border: 0; }
.password img { display: block; margin: auto; }
.password img[hidden] { display: none; }
.submit {
  padding: 12px 20px;
  border-radius: 22px;
  border: 0;
  background: #2b2b2b;
  color: white;
  font-weight: 500;
}
.error { border-radius: 20px; background: #fce9e9; padding: 12px 16px; }
:focus-visible { outline: 2px solid #5a57c7; outline-offset: 3px; }
