/* /Layout/MainLayout.razor.rz.scp.css */
/* Rahmen CI Stufe 2: Inhalt neben der hellen Leiste; am Handy ganze Breite mit Kopf oben und Navigation unten. */
.page[b-aqhrplqalt] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-aqhrplqalt] {
    flex: 1;
    min-width: 0;
}

.content[b-aqhrplqalt] {
    padding-block: 1rem 2.5rem;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}

@media (max-width: 640.98px) {
    /* Platz für die Navigation unten */
    .content[b-aqhrplqalt] {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 641px) {
    .page[b-aqhrplqalt] {
        flex-direction: row;
    }

    .content[b-aqhrplqalt] {
        padding: 2rem 2.5rem 3rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Leiste CI Stufe 2 («hell und ruhig»): weiss, rechte Linie, Einträge 40 px mit Radius 6 px; aktiv tally-hell / tally 600. */

.marke[b-wha1q9uair] {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    line-height: 1;
    font-size: 21px;
    text-decoration: none;
    color: var(--text);
}

.focal[b-wha1q9uair] {
    display: inline-flex;
    align-items: baseline;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.linie[b-wha1q9uair] {
    font-weight: 600;
    color: var(--tally);
}

.punkt[b-wha1q9uair] {
    display: inline-block;
    width: 0.19em;
    height: 0.19em;
    border-radius: 50%;
    background: var(--signal);
    margin-left: 0.06em;
}

.marke-block[b-wha1q9uair] {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--linie);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.firma[b-wha1q9uair] {
    font-size: 13px;
    color: var(--matt);
}

.leiste-innen[b-wha1q9uair] {
    background: var(--flaeche);
    display: flex;
    flex-direction: column;
}

.leiste-nav[b-wha1q9uair] {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
    flex-grow: 1;
}

.leiste-nav[b-wha1q9uair]  a.eintrag {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
}

    .leiste-nav[b-wha1q9uair]  a.eintrag:hover {
        background: var(--grund);
    }

    .leiste-nav[b-wha1q9uair]  a.eintrag.active {
        background: var(--tally-hell);
        color: var(--tally);
        font-weight: 600;
    }

.gruppe[b-wha1q9uair] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--matt);
    padding: 14px 12px 4px;
}

.zahl-pille[b-wha1q9uair] {
    font-family: var(--schrift-zahl);
    font-size: 12px;
    background: var(--grund);
    color: var(--matt);
    border-radius: 999px;
    padding: 1px 8px;
}

    .zahl-pille.warn[b-wha1q9uair] {
        background: var(--orange-hell);
        color: var(--orange);
    }

.leiste-fuss[b-wha1q9uair] {
    border-top: 1px solid var(--linie);
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.leiste-fuss[b-wha1q9uair]  .fuss-link {
    color: var(--matt);
    text-decoration: none;
}

    .leiste-fuss[b-wha1q9uair]  .fuss-link:hover, .leiste-fuss[b-wha1q9uair]  .fuss-link.active {
        color: var(--text);
    }

.person[b-wha1q9uair] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.name[b-wha1q9uair] {
    font-weight: 600;
    min-width: 0;
}

.abmelden[b-wha1q9uair] {
    background: none;
    border: 0;
    padding: 0;
    font-size: 13px;
    color: var(--matt);
    text-decoration: underline;
    min-height: 32px;
}

.menue-skel[b-wha1q9uair] {
    height: 18px;
    margin: 10px 12px 12px;
}

/* ---- Handy: Kopf oben, Navigation unten, Leiste als Blatt von unten ---- */
.handy-kopf[b-wha1q9uair] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--flaeche);
    border-bottom: 1px solid var(--linie);
    padding: 14px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
}

    .handy-kopf .marke[b-wha1q9uair] {
        font-size: 19px;
    }

    .handy-kopf .datum[b-wha1q9uair] {
        font-size: 13px;
        color: var(--matt);
    }

.handy-nav[b-wha1q9uair] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: var(--flaeche);
    border-top: 1px solid var(--linie);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

    .handy-nav[b-wha1q9uair]  a, .handy-nav button[b-wha1q9uair] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        font-size: 12px;
        padding: 12px 0 14px;
        min-height: 48px;
        color: var(--matt);
        text-decoration: none;
        background: none;
        border: 0;
        font-family: inherit;
        line-height: 1.5;
    }

        .handy-nav[b-wha1q9uair]  a.active, .handy-nav button.active[b-wha1q9uair] {
            color: var(--tally);
            font-weight: 700;
            box-shadow: inset 0 3px 0 var(--tally);
        }

@media (max-width: 640.98px) {
    .leiste[b-wha1q9uair] {
        display: none;
    }

        .leiste.offen[b-wha1q9uair] {
            display: block;
            position: fixed;
            inset: 0 0 calc(49px + env(safe-area-inset-bottom, 0px)) 0;
            z-index: 25;
            background: var(--schleier);
        }

            .leiste.offen .leiste-innen[b-wha1q9uair] {
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                max-height: 85vh;
                overflow-y: auto;
                border-radius: 12px 12px 0 0;
                animation: fz-ein var(--dauer-kurz) ease-out;
            }
}

@media (min-width: 641px) {
    .handy-kopf[b-wha1q9uair], .handy-nav[b-wha1q9uair] {
        display: none;
    }

    .leiste[b-wha1q9uair] {
        flex: 0 0 248px;
        width: 248px;
        height: 100vh;
        position: sticky;
        top: 0;
        border-right: 1px solid var(--linie);
        background: var(--flaeche);
    }

    .leiste-innen[b-wha1q9uair] {
        height: 100%;
        overflow-y: auto;
    }
}
