/* ===========================================================================
   Manea Control - Huelle der oeffentlichen Seiten
   ===========================================================================

   Anmeldung, Passwortseiten und das Testphase-Gate. Aufbau aus Svens
   Entwurfspaket (login.dc.html, login-auswahl.dc.html): zentrierte Spalte,
   Wortmarke ueber der Karte, eine Fusszeile, KEINE Kopfleiste.

   Eigenes Blatt, nicht angehaengt an app.css: diese Seiten sind die einzigen,
   die ein Nichtangemeldeter sieht, und sie haben eine eigene Huelle. Die
   Bauteile darin (.card, .card-b, .badge, .link, .notice) kommen weiter aus
   app.css -- geteilt bleibt geteilt.

   Radien aus den geteilten Tokens, nicht als Zahl: der Entwurf sagt 14px,
   Control fuehrt --radius-panel mit 12px, und BrandTokenContractTest
   ::test_radii_run_through_tokens_instead_of_literals verlangt Token.
   =========================================================================== */
.gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;
  padding:56px 24px 40px;background:var(--bg)}
.gate-marke{display:inline-flex;flex:0 0 auto}
.gate-marke img{height:64px;width:auto}
.gate-marke-hell{display:none}
.gate-marke-dunkel{display:block}
html[data-theme="light"] .gate-marke-hell{display:block}
html[data-theme="light"] .gate-marke-dunkel{display:none}
.gate-inhalt{margin-top:40px;width:100%;max-width:27rem}
.gate-karte{overflow:hidden}
.gate-kopf h1{margin:10px 0 0;font-size:23px;line-height:1.15;font-weight:800;color:var(--text)}
.gate-kopf p{margin:7px 0 0;font-size:14px;line-height:1.6;color:var(--muted)}
.gate-band{border-top:1px solid var(--line)}
.gate-band h2{margin:0;font-size:15px;font-weight:700;color:var(--text)}
.gate-band p{margin:6px 0 0;font-size:13.5px;line-height:1.6;color:var(--soft)}
.gate-band ul{margin:10px 0 0;padding-left:18px;display:grid;gap:6px}
.gate-band li{font-size:13px;line-height:1.55;color:var(--muted)}
.gate-hilfe{padding:16px 18px;border-top:1px solid var(--line);background:var(--surface2)}
.gate-hilfe p{margin:0;font-size:12.5px;line-height:1.6;color:var(--muted)}
.gate-zurueck{margin:18px 0 0;font-size:13.5px;line-height:1.6;color:var(--muted)}
.gate-fuss{margin-top:auto;padding-top:40px;font-size:12px;line-height:1.6;
  color:var(--muted);text-align:center}
.gate-fuss a{color:var(--muted);text-decoration:underline}

/* --- Anmeldeformular (login.dc.html) --------------------------------------
   Felder 48px hoch mit dem Flaechenradius, Beschriftung darueber, "Vergessen"
   auf derselben Zeile wie die Beschriftung, das Auge IM Feld. */
.gate-form{display:grid;gap:16px}
.gate-feld{display:block}
.gate-feld-name{display:block;font-size:12.5px;font-weight:600;color:var(--soft);margin-bottom:7px}
.gate-feld-kopf{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.gate-feld-kopf .gate-feld-name{margin-bottom:0}
.gate-feld-kopf a{font-size:12.5px;font-weight:600}
.gate-input{width:100%;height:48px;padding:0 16px;border:1px solid var(--line);
  border-radius:var(--radius-panel);background:var(--field-bg);color:var(--text);
  font-family:inherit;font-size:15px}
.gate-input::placeholder{color:var(--muted);opacity:1}
.gate-input:focus{border-color:var(--accent);outline:none;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}
.gate-pw{position:relative;display:block}
.gate-pw .gate-input{padding-right:52px}
.gate-pw-auge{position:absolute;right:6px;top:6px;width:36px;height:36px;
  display:inline-flex;align-items:center;justify-content:center;border:none;
  border-radius:var(--radius-soft);background:transparent;color:var(--muted);
  cursor:pointer;padding:0}
.gate-pw-auge svg{width:17px;height:17px}
.gate-check{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--soft);cursor:pointer}
.gate-knopf{width:100%;background:var(--accent);color:#fff;border:none;
  font-family:inherit;font-weight:600;font-size:15.5px;padding:15px;
  border-radius:var(--radius-pill);cursor:pointer}
.gate-knopf:hover{background:var(--accent-strong)}
.gate-hinweise{display:grid;gap:8px;margin-top:18px}
.gate-hinweise p{margin:0;font-size:13.5px;line-height:1.6;color:var(--muted)}
.gate-aktionen{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.gate-aktionen .gate-knopf{width:auto;padding:13px 26px}

/* Voraussichtliche Freigabe -- steht nur da, wenn jemand sie eingetragen hat.
   Aufbau aus wartung.dc.html: Beschriftung klein darueber, der Wert gross. */
.gate-eta-name{display:block;font-size:12.5px;font-weight:600;color:var(--muted)}
.gate-eta-wert{display:block;margin-top:4px;font-family:inherit;font-size:19px;
  font-weight:700;color:var(--text);letter-spacing:-.01em}
.gate-eta p{margin:8px 0 0;font-size:12.5px;line-height:1.6;color:var(--muted)}

/* --- Gemessener Status (Testphase-Seite) ----------------------------------
   Zeilensprache aus wartung.dc.html: Bezeichnung links, Wort rechts, ein
   Punkt in der Wortfarbe davor. Der Punkt ist Schmuck (aria-hidden) -- die
   Aussage steht im Wort, nicht in der Farbe.

   Farben ueber die Rollen: --ok, und fuer Text die eigens dafuer gerechneten
   --warn-ink/--danger-ink. Auf --surface2 gemessen: 5,28:1 bis 13,72:1 in
   hell wie dunkel. */
.gate-status{margin:14px 0 0;border:1px solid var(--line);border-radius:var(--radius-panel);
  background:var(--surface2);overflow:hidden}
.gate-status-zeile{display:flex;align-items:center;gap:12px;padding:12px 14px;
  font-size:13px;font-weight:600;color:var(--text)}
.gate-status-zeile + .gate-status-zeile{border-top:1px solid var(--line)}
.gate-status-zeile > span:first-child{flex:1}
.gate-status-wert{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600}
.gate-status-pip{width:7px;height:7px;border-radius:var(--radius-pill);background:currentColor;flex:none}
.gate-status-ok{color:var(--ok)}
.gate-status-warn{color:var(--warn-ink)}
.gate-status-fehler{color:var(--danger-ink)}
.gate-status-stand{margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}

