/* Schrift selbst gehostet (keine Google Fonts, DSGVO). Inter, variable Strichstaerke. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "Ein Fehler ist aufgetreten."
    }

/* Anmelde- und Fehlerseiten (statisch, ohne MudBlazor-Interaktivitaet) */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #eef2f6;
    font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    padding: 32px 28px;
}

.login-card h1 { margin: 0 0 4px; font-size: 1.6rem; color: #1F4E79; }
.login-sub { margin: 0 0 20px; color: #555; }
.login-card label { display: block; margin: 14px 0 4px; font-size: .9rem; color: #333; }

.login-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #c4c9d0;
    border-radius: 4px;
}

.login-card input:focus { outline: 2px solid #1F4E79; border-color: #1F4E79; }

.login-card button {
    width: 100%;
    margin-top: 22px;
    padding: 11px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: #1F4E79;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.login-card button:hover { background: #173b5c; }
.login-fehler, .login-hinweis { padding: 10px 12px; border-radius: 4px; font-size: .9rem; margin-bottom: 8px; }
.login-fehler { background: #fdecea; color: #8a1c13; }
.login-hinweis { background: #e8f1fb; color: #1F4E79; }
.login-fuss { margin: 20px 0 0; font-size: .8rem; color: #777; }

/* ---- Aussehen wie die WPF-App (Views/MainWindow.xaml, Themes/HamaTheme.xaml) ---- */
.hama-appbar { border-bottom: 1px solid #E2E8F0; }
/* Benutzer 2026-11-02: Platz für den Seitentitel rechts neben ☰ (HamaKopfTitel); leer = nichts, keine Verschiebung. */
.hama-kopftitel-platz { display: flex; align-items: center; align-self: stretch; min-width: min(40vw, 160px); margin-left: 8px; overflow: hidden; }
.hama-benutzer { color: #64748B; }

.hama-sidebar { border-right: 1px solid #E2E8F0; }
.hama-marke { padding: 20px; text-align: center; }
.hama-marke-titel { margin-top: 8px; font-size: 18px; font-weight: 600; color: #0F172A; }

.hama-menue { display: flex; flex-direction: column; gap: 2px; padding: 0 12px 16px; }
.hama-menue-punkt {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
}
.hama-menue-punkt:hover { background: #F1F5F9; color: #0F172A; }
/* Gruppen der Seitenleiste (Benutzer 2026-10-26) wie WPF SidebarExpanderStyle: grauer Kopf, ▶ zu / ▼ (blau) auf. */
.hama-menue-gruppe { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 2px; padding: 12px 16px; border: 0; border-radius: 8px;
    background: transparent; color: #64748B; font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
.hama-menue-gruppe:hover { background: #F1F5F9; color: #0F172A; }
.hama-menue-gruppe:focus-visible, .hama-menue-punkt:focus-visible { outline: 2px solid #3B82F6; outline-offset: -2px; }
.hama-menue-gruppe.offen { color: #0F172A; }
.hama-menue-gruppe-titel { flex: 1; }
.hama-menue-pfeil { font-size: 9px; }
.hama-menue-gruppe.offen .hama-menue-pfeil { color: #3B82F6; }
.hama-menue-punkte { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 2px 10px; }
.hama-menue-punkte[hidden] { display: none; }
/* T4.9: Punkt vor „Betriebszustand“ wie WPF PunktBetriebszustand. */
.hama-ampel { display: inline-block; width: 10px; height: 10px; margin: 0 10px 0 2px; border-radius: 50%; background: #94A3B8; vertical-align: middle; }
.hama-ampel.ok { background: #22C55E; }
.hama-ampel.warn { background: #F59E0B; }
.hama-ampel.danger { background: #EF4444; }
.hama-menue-punkt.active { background: #3B82F6; color: #FFFFFF; }
/* T1.8: Zahl am Menüpunkt wie WPF (ZahlAufgaben/ZahlEingangspost/ZahlLohnPostfach): blau, weiß, rund. */
.hama-menue-zahl { float: right; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: #3B82F6;
    color: #FFFFFF; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.hama-menue-punkt.active .hama-menue-zahl { background: #FFFFFF; color: #3B82F6; }
/* T1.10: Statuspunkt oben rechts wie WPF BtnServerStatus. */
.hama-serverstatus { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid #E2E8F0; border-radius: 8px;
    background: #FFFFFF; font-size: 12px; color: #374151; cursor: pointer; }
.hama-serverstatus:hover { background: #F1F5F9; }
.hama-serverstatus-punkt { width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
/* T1.9: Glocke wie WPF (40×40, Rand, rote Zahl oben rechts). */
.hama-glocke { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid #E2E8F0; border-radius: 8px; text-decoration: none; font-size: 18px; background: #FFFFFF; }
.hama-glocke:hover { background: #F1F5F9; }
.hama-glocke-zahl { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px;
    background: #EF4444; color: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }

/* Karten wie CardStyle: weiss, Rand, weicher Schatten */
.mud-paper:not(.mud-appbar):not(.mud-drawer):not(.mud-popover) {
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 8px rgba(15, 23, 42, .06);
}

/* Status-Pillen wie StatusPill / StatusPillOk / ...Warn / ...Danger */
.hama-pill { display: inline-block; padding: 2px 9px 3px; border-radius: 10px; font-size: 12px; font-weight: 600; background: #F3F4F6; color: #374151; }
.hama-pill.neutral { background: #F3F4F6; color: #374151; }
.hama-pill.ok { background: #DCFCE7; color: #166534; }
.hama-pill.warn { background: #FEF3C7; color: #92400E; }
.hama-pill.danger { background: #FEE2E2; color: #991B1B; }

/* Karte wie SectionCard (HamaTheme.xaml): weiss, 1 px Rand, weicher Schatten, Radius 8,
   Innenabstand 18/16/18/8 px (links/oben/rechts/unten wie CardPadding). */
.hama-karte {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px 18px 8px;
    box-shadow: 0 1px 8px rgba(15, 23, 42, .06);
    transition: box-shadow .15s ease;
}
.hama-karte:hover { box-shadow: 0 2px 16px rgba(15, 23, 42, .13); }
.hama-karte-titel { margin: 0 0 12px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #0F172A; }
.hama-karte-beispiel { margin-top: 12px; }
/* Eingebettete MudBlazor-Papiere (z. B. MudDataGrid) sollen keine zweite Karte bilden. */
.hama-karte .mud-paper:not(.mud-appbar):not(.mud-drawer):not(.mud-popover) {
    border: 0;
    box-shadow: none;
}

/* Feldzeile: Bezeichnung links, Wert rechts. Leerer Wert wie EmptyValue in Grau und kursiv. */
.hama-feld { display: flex; align-items: baseline; gap: 12px; min-height: 24px; margin-bottom: 10px; }
.hama-feld:last-child { margin-bottom: 0; }
.hama-feld-label { flex: 0 0 42%; font-size: 13px; color: #64748B; overflow-wrap: anywhere; }
.hama-feld-wert { font-size: 14px; color: #0F172A; overflow-wrap: anywhere; }
.hama-feld-leer { font-size: 13px; font-style: italic; color: #9CA3AF; }

/* Knoepfe wie PrimaryButton / SecondaryButton / SubtleButton / LinkButton (HamaTheme.xaml) */
.hama-knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.hama-knopf:disabled { opacity: .55; cursor: default; }
.hama-knopf-primary { background: #2F7DF6; color: #FFFFFF; border: 0; }
.hama-knopf-primary:hover:not(:disabled) { background: #1F6AE0; }
.hama-knopf-primary:active:not(:disabled) { background: #1857BD; }
.hama-knopf-secondary { background: #FFFFFF; border-color: #D1D5DB; color: #0F172A; }
.hama-knopf-secondary:hover:not(:disabled) { background: #F3F4F6; }
.hama-knopf-secondary:active:not(:disabled) { background: #E5E7EB; }
/* WPF DangerButton: Rot, weiße Schrift, SemiBold. Grundfarbe #DC2626 (WPF-Hover) statt #EF4444, damit Weiß ≥ 4,5:1 erreicht. */
.hama-knopf-danger { background: #DC2626; border: 0; color: #FFFFFF; font-weight: 600; }
.hama-knopf-danger:hover:not(:disabled) { background: #B91C1C; }
.hama-knopf-danger:active:not(:disabled) { background: #991B1B; }
.hama-knopf-subtle { background: transparent; border-color: transparent; padding: 0 10px; color: #64748B; }
.hama-knopf-subtle:hover:not(:disabled) { background: #F3F4F6; color: #0F172A; }
.hama-knopf-link { height: auto; padding: 2px 4px; background: transparent; border: 0; color: #2F7DF6; }
.hama-knopf-link:hover:not(:disabled),
.hama-knopf-link:focus-visible { text-decoration: underline; }

/* Hinweisfeld wie WarningBanner / ...Danger / ...Ok / ...Neutral (HamaTheme.xaml) */
.hama-hinweis { padding: 12px 16px; border: 1px solid; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.hama-hinweis-titel { margin-bottom: 4px; font-weight: 600; }
.hama-hinweis-warn { background: #FFFBEB; border-color: #FCD34D; color: #92400E; }
.hama-hinweis-danger { background: #FEF2F2; border-color: #FCA5A5; color: #991B1B; }
.hama-hinweis-ok { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.hama-hinweis-neutral { background: #FFFFFF; border-color: #E5E7EB; color: #374151; }

/* Filterzeile wie WPF MitarbeiterPage.xaml (Wunsch Benutzer 2026-10-23: alle Filter in einer Zeile, nicht so hoch).
   Bezeichnung 12 px halbfett grau darueber, Felder ca. 36 px hoch, Radius 8 px, 10 px Abstand. */
.hama-filterkarte { padding-bottom: 14px; }
/* Eine Zeile: erst werden die Felder schmaler (bis MinBreite, wie die Sternspalten in WPF); nur auf schmalen
   Bildschirmen (Menue eingeklappt) bricht die Zeile um, dazwischen notfalls waagerecht rollen. */
.hama-filterleiste { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 10px; overflow-x: auto; }
@media (max-width: 959.98px) { .hama-filterleiste { flex-wrap: wrap; overflow-x: visible; } }
.hama-filter { display: flex; flex-direction: column; flex: 0 0 auto; min-width: 0; }
.hama-filter-label { margin: 0 0 4px; font-size: 12px; font-weight: 600; line-height: 1.3; color: #64748B; white-space: nowrap; }
.hama-filterleiste-ende { display: flex; align-items: flex-end; gap: 8px; margin-left: auto; }
.hama-filterleiste .mud-input-control { margin: 0 !important; }
.hama-filterleiste .mud-input.mud-input-outlined { font-size: 14px; background: #FFFFFF; border-radius: 8px; }
.hama-filterleiste .mud-input.mud-input-outlined .mud-input-outlined-border { border-radius: 8px; border-color: #CBD5E1; }
.hama-filterleiste .mud-input.mud-input-outlined:hover:not(.mud-disabled) .mud-input-outlined-border { border-color: #94A3B8; }
.hama-filterleiste .mud-input > input.mud-input-root-outlined,
.hama-filterleiste div.mud-input-slot.mud-input-root-outlined { padding-top: 8px; padding-bottom: 8px; padding-inline-start: 12px; }
.hama-filterleiste .mud-input-adornment-start + input.mud-input-root-outlined { padding-inline-start: 0; }
.hama-filterleiste .mud-input-adornment .mud-icon-root { font-size: 18px; }
.hama-filterleiste .mud-input-adornment-start { margin-inline-start: 10px; }
/* Kaestchen auf Feldhoehe, Text 14 px wie die Felder */
.hama-filterleiste .mud-checkbox { margin: 0; min-height: 36px; }
.hama-filterleiste .mud-checkbox .mud-button-root { padding: 6px; }
.hama-filterleiste .mud-checkbox p, .hama-filterleiste .mud-checkbox .mud-typography { font-size: 14px; line-height: 1.2; white-space: normal; }

/* Behaltene, unsichtbare Seiten (Components/Layout/SeitenBehalter) */
.hama-seite[hidden] { display: none !important; }

/* Stil-Seite /stil: Muster und Proben, damit spaetere Seiten dieselben Bausteine nutzen */
.hama-stil-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; align-items: start; }
.hama-stil-breit { grid-column: 1 / -1; }
.hama-text-sekundaer { color: #64748B; }
.hama-name { font-size: 14px; font-weight: 500; color: #0F172A; }
.hama-name-zusatz { margin-top: 2px; font-size: 12px; color: #64748B; }
/* Akte-Symbol wie WPF ActionButton: graues Ordner-Symbol, Hover heller Hintergrund */
.hama-akte-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; color: #475569; }
.hama-akte-link:hover { background: #F1F5F9; color: #0F172A; }
.hama-akte-link:focus-visible { outline: 2px solid #2F7DF6; outline-offset: 1px; }
.hama-einsatz-symbol { display: inline-block; min-width: 20px; text-align: center; font-size: 16px; cursor: help; }
.hama-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hama-spalte { display: flex; flex-direction: column; gap: 12px; }
.hama-farben { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; }
.hama-farbe { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hama-farbe-muster { flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid #E5E7EB; border-radius: 6px; }
.hama-farbe-name { display: block; font-size: 13px; color: #0F172A; }
.hama-farbe-hex { display: block; font-family: Consolas, monospace; font-size: 12px; color: #64748B; }
.hama-groessen { display: flex; flex-direction: column; gap: 10px; }
.hama-groesse { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; }
.hama-groesse-label { font-size: 12px; color: #64748B; }
.hama-probe-titel { font-size: 22px; font-weight: 600; color: #0F172A; }
.hama-probe-abschnitt { font-size: 14px; font-weight: 600; color: #0F172A; }
.hama-probe-label { font-size: 13px; color: #64748B; }
.hama-probe-wert { font-size: 14px; color: #0F172A; }

/* Hauptseite wie WPF DashboardPage: Zeichen 400 px mittig, Name 24 px SemiBold #14406E, Version 12 px #888 */
.hama-hauptseite { position: relative; min-height: calc(100vh - 48px - 32px); min-height: calc(100dvh - 48px - 32px); display: flex; align-items: center; justify-content: center; }
.hama-hauptseite-mitte { display: flex; flex-direction: column; align-items: center; }
/* WPF: Bild 400x400 mit Stretch=Uniform -> Zeichen 400x280, je ~60 px Luft oben/unten */
.hama-hauptseite-zeichen { width: min(400px, 70vw); height: min(400px, 70vw); object-fit: contain; }
.hama-hauptseite-name { margin-top: 4px; font-size: 24px; font-weight: 600; color: #14406E; }
.hama-hauptseite-version { position: absolute; right: 16px; bottom: 12px; font-size: 12px; color: #888888; }

/* Fenster über der Seite (Akte: Hochladen/Bearbeiten/Löschen; Chat-Zugang) – Wunsch Benutzer 2026-10-22 */
.hama-popup-hintergrund {
    position: fixed; inset: 0; z-index: 1300;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 6vh 16px 16px; background: rgba(15, 23, 42, 0.45); overflow-y: auto;
}
.hama-popup { width: 100%; max-width: 560px; }
/* Modale Fenster (HamaFenster, 2026-10-23): über allem – auch über Kopfleiste (MudBlazor 1300) und Menü; der Rest ist
   über "inert" gesperrt (wwwroot/js/fenster.js). MudBlazors Auswahllisten setzen ihre Ebene selbst über das Fenster. */
.hama-fenster-hintergrund { z-index: 1500; }
.hama-fenster { outline: none; width: 100%; display: flex; justify-content: center; }
.hama-fenster > * { width: 100%; }
.hama-nur-druck { display: none !important; }

/* Drucken: gibt es ein .hama-druckbereich (z. B. Chat-Zugangsdaten), wird nur dieses gedruckt, ohne Knöpfe. */
@media print {
    body:has(.hama-druckbereich) * { visibility: hidden; }
    body:has(.hama-druckbereich) .hama-druckbereich,
    body:has(.hama-druckbereich) .hama-druckbereich * { visibility: visible; }
    .hama-druckbereich { position: absolute; left: 0; top: 0; width: 100%; max-width: none; box-shadow: none; border: 0; }
    .hama-popup-hintergrund { position: static; background: none; padding: 0; overflow: visible; }
    .hama-druck-aus { display: none !important; }
    .hama-nur-druck { display: block !important; }
}
/* T0.12b: Leerlauf-Countdown in der Leiste; der Hinweis haengt als kleine Karte unter der Leiste. */
.hama-leerlauf { position: relative; display: inline-flex; margin-right: 12px; }
.hama-leerlauf-hinweis { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; max-width: 340px; }
