* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #101413;
    color: #f2f5f1;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body.landing-body {
    background: #07110f;
}

.login-shell,
.app-shell {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 24px;
}

.login-panel,
.runner-panel {
    width: min(100%, 420px);
    background: #1a211f;
    border: 1px solid #34423e;
    border-radius: 8px;
    padding: 24px;
}

.runner-panel-wide {
    width: min(100%, 1600px);
    max-width: calc(100vw - 48px);
}

h1 {
    margin: 0 0 22px;
    font-size: 28px;
    line-height: 1.15;
}

h2,
h3 {
    margin: 0;
    line-height: 1.2;
}

.app-header,
.toolbar,
.session-kopf,
.uebung-header,
.aktionsleiste,
.ersatzleiste {
    display: flex;
    gap: 12px;
}

.app-header,
.session-kopf,
.uebung-header {
    align-items: flex-start;
    justify-content: space-between;
}

.session-kopf > *,
.uebung-header > * {
    min-width: 0;
    max-width: 100%;
}

.session-kopf h2,
.uebung-header h2,
.session-kopf .kicker,
.uebung-header .kicker,
.uebung-header .notiz {
    overflow-wrap: anywhere;
}

.subline,
.leertext,
.notiz {
    color: #aebcb6;
}

.rueckblick-hinweis {
    width: 100%;
    margin: 0;
    border: 1px solid #34423e;
    border-radius: 6px;
    background: #101615;
    padding: 10px 12px;
}

input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.toolbar {
    align-items: center;
    flex-wrap: wrap;
    margin: 18px 0;
    padding: 14px;
    background: #111716;
    border: 1px solid #34423e;
    border-radius: 8px;
}

label {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    color: #cad6d0;
    font-size: 14px;
}

input {
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #50615c;
    border-radius: 6px;
    background: #0f1312;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 12px;
}

input[type="color"] {
    width: 100%;
    min-height: 48px;
    padding: 4px;
}

textarea {
    max-width: 100%;
    min-width: 0;
    border: 1px solid #50615c;
    border-radius: 6px;
    background: #0f1312;
    color: #ffffff;
    font: inherit;
    padding: 10px 12px;
    resize: vertical;
}

select {
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #50615c;
    border-radius: 6px;
    background: #0f1312;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 12px;
}

input.feld-fehler,
select.feld-fehler,
textarea.feld-fehler,
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #ff6b6b;
    background: #241413;
}

.feld-fehler-text {
    margin: 6px 0 0;
    color: #ff9b9b;
    font-size: 13px;
    font-weight: 700;
}

button,
.logout {
    display: inline-flex;
    max-width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #d7ff4f;
    color: #12160f;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 0 18px;
    cursor: pointer;
}

button {
    width: auto;
}

a.ghost-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    padding: 0 12px;
}

.login-panel button {
    width: 100%;
}

.auth-hinweis,
.auth-links {
    margin: 12px 0 0;
    color: #aebcb6;
    font-size: 14px;
    line-height: 1.4;
}

.auth-links {
    text-align: center;
}

.auth-links a {
    color: #d7ff4f;
    font-weight: 700;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    width: 100%;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(206, 255, 83, 0.18);
    background: rgba(7, 17, 15, 0.92);
    padding: 12px clamp(18px, 4vw, 56px);
    backdrop-filter: blur(14px);
}

.landing-logo,
.landing-nav-links,
.landing-actions {
    display: flex;
    align-items: center;
}

.landing-logo {
    gap: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.landing-logo-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(215, 255, 79, 0.65);
    border-radius: 6px;
    background: #d7ff4f;
    color: #09110d;
}

.landing-nav-links {
    gap: clamp(12px, 2vw, 28px);
    font-size: 14px;
    font-weight: 700;
}

.landing-nav-links a,
.landing-nav-cta {
    color: #dce8e2;
    text-decoration: none;
}

.landing-nav-links a:hover,
.landing-nav-links a:focus-visible,
.landing-nav-cta:hover,
.landing-nav-cta:focus-visible {
    color: #d7ff4f;
}

.landing-nav-cta {
    min-height: 40px;
    border: 1px solid #d7ff4f;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 800;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(640px, 86vh, 820px);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    background-image:
        linear-gradient(90deg, rgba(7, 17, 15, 0.97) 0%, rgba(7, 17, 15, 0.86) 40%, rgba(7, 17, 15, 0.40) 72%, rgba(7, 17, 15, 0.22) 100%),
        var(--landing-hero-bild);
    background-position: center;
    background-size: cover;
    padding: clamp(40px, 6vw, 86px) clamp(18px, 4vw, 56px);
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 34%;
    background: linear-gradient(180deg, rgba(7, 17, 15, 0) 0%, #07110f 94%);
}

.landing-hero-inhalt {
    max-width: 780px;
}

.landing-kicker,
.landing-form-kicker {
    margin: 0 0 12px;
    color: #d7ff4f;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
}

.landing-lead {
    max-width: 650px;
    margin: 0;
    color: #dce8e2;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.5;
}

.landing-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.landing-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 900;
    text-decoration: none;
    padding: 0 20px;
}

.landing-button-primary {
    background: #d7ff4f;
    color: #07110f;
}

.landing-button-secondary {
    border: 1px solid rgba(220, 232, 226, 0.62);
    background: rgba(7, 17, 15, 0.48);
    color: #ffffff;
}

.landing-metriken {
    display: grid;
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 34px 0 0;
}

.landing-metriken div {
    min-width: 0;
    border-top: 1px solid rgba(215, 255, 79, 0.42);
    padding-top: 12px;
}

.landing-metriken dt {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.landing-metriken dd {
    margin: 4px 0 0;
    color: #b9c9c2;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.landing-mobile-vorteile {
    display: none;
}

.landing-login-panel {
    align-self: center;
    justify-self: end;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.landing-login-panel h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.landing-section {
    padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 56px);
}

.landing-section-kopf {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.landing-section-kopf h2,
.landing-final h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.landing-section-kopf p:not(.landing-kicker),
.landing-final p {
    max-width: 720px;
    margin: 16px auto 0;
    color: #b9c9c2;
    font-size: 18px;
    line-height: 1.55;
}

.landing-feature-grid {
    display: grid;
    max-width: 1180px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 auto;
}

.landing-feature,
.landing-merkmale-grid article,
.landing-trust-grid article {
    border: 1px solid rgba(80, 97, 92, 0.88);
    border-radius: 8px;
    background: #111917;
    overflow: hidden;
}

.landing-feature img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.landing-feature div,
.landing-merkmale-grid article,
.landing-trust-grid article {
    padding: 20px;
}

.landing-feature h3,
.landing-merkmale-grid h3,
.landing-trust-grid h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 21px;
}

.landing-feature p,
.landing-merkmale-grid p,
.landing-trust-grid p {
    margin: 0;
    color: #b9c9c2;
    line-height: 1.52;
}

.landing-merkmale {
    background: #0b1513;
}

.landing-merkmale-grid {
    display: grid;
    max-width: 1180px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto;
}

.landing-datenschutz {
    background: #07110f;
}

.landing-trust-grid {
    display: grid;
    max-width: 1180px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto;
}

.landing-ranking {
    background: #0f1714;
}

.landing-ranking-band {
    display: grid;
    max-width: 1180px;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    align-items: center;
    gap: clamp(22px, 4vw, 54px);
    margin: 0 auto;
    border: 1px solid rgba(215, 255, 79, 0.28);
    border-radius: 8px;
    background: #111917;
    padding: clamp(24px, 4vw, 42px);
}

.landing-ranking-band h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.08;
}

.landing-ranking-band p:not(.landing-kicker) {
    margin: 16px 0 0;
    color: #b9c9c2;
    font-size: 18px;
    line-height: 1.55;
}

.landing-ranking-punkte {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.landing-ranking-punkte div {
    min-width: 0;
    border-top: 1px solid rgba(215, 255, 79, 0.5);
    padding-top: 14px;
}

.landing-ranking-punkte dt {
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.landing-ranking-punkte dd {
    margin: 6px 0 0;
    color: #b9c9c2;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.landing-final {
    display: grid;
    justify-items: center;
    padding: clamp(58px, 7vw, 104px) clamp(18px, 4vw, 56px);
    text-align: center;
}

.bot-feld {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 1120px) {
    .landing-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        background-image:
            linear-gradient(180deg, rgba(7, 17, 15, 0.96) 0%, rgba(7, 17, 15, 0.78) 54%, rgba(7, 17, 15, 0.96) 100%),
            var(--landing-hero-bild);
    }

    .landing-login-panel {
        width: min(100%, 560px);
        justify-self: start;
    }

    .landing-metriken {
        max-width: 100%;
    }

    .landing-feature-grid,
    .landing-merkmale-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-ranking-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .landing-metriken,
    .landing-ranking-punkte {
        grid-template-columns: 1fr;
    }
}

.secondary-button {
    background: #9ce6ff;
    color: #071116;
}

.ghost-button {
    border: 1px solid #50615c;
    background: transparent;
    color: #f2f5f1;
}

.secondary-button.disabled,
.secondary-button:disabled,
.ghost-button.disabled,
.ghost-button:disabled {
    border: 1px solid #34423e;
    background: #202724;
    color: #8d9a94;
    opacity: 0.75;
    cursor: not-allowed;
}

.danger-button {
    background: #ffb2a9;
    color: #250805;
}

.error {
    margin: 0 0 16px;
    border-left: 4px solid #ff6565;
    background: #351c1c;
    color: #ffdcdc;
    padding: 10px 12px;
}

.kicker {
    margin: 0 0 8px;
    color: #d7ff4f;
    font-size: 14px;
}

.meldung {
    min-height: 44px;
    margin: 0 0 18px;
    border-left: 4px solid #9ce6ff;
    background: #111716;
    color: #edf6f2;
    padding: 10px 12px;
}

.meldung[data-typ="gut"] {
    border-color: #d7ff4f;
}

.meldung[data-typ="warnung"] {
    border-color: #ffd166;
    background: #2b2516;
}

.meldung[data-typ="fehler"] {
    border-color: #ff6565;
    background: #351c1c;
}

.systemmeldungen {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.systemmeldung {
    border: 1px solid #34423e;
    border-left: 5px solid var(--systemmeldung-akzent, #ff6565);
    border-radius: 8px;
    background: #111716;
    padding: 12px;
}

.systemmeldung[data-typ="warning"] {
    --systemmeldung-akzent: #f4c542;
    background: #201d12;
}

.systemmeldung[data-typ="danger"] {
    --systemmeldung-akzent: #ff6565;
    background: #2a1717;
}

.systemmeldung[data-typ="success"] {
    --systemmeldung-akzent: #d7ff4f;
    background: #151f12;
}

.systemmeldung strong {
    display: block;
    color: #f5faf7;
}

.systemmeldung p {
    margin: 6px 0 0;
    color: #c6d3ce;
}

.bereich-tabs {
    display: flex;
    gap: 12px;
    margin: 0 0 18px;
    border-bottom: 1px solid #34423e;
    overflow-x: auto;
    padding: 0 0 6px;
}

.bereich-tabs-gruppe {
    display: grid;
    flex: 0 0 auto;
    gap: 5px;
    align-content: end;
}

.bereich-tabs-gruppe[hidden] {
    display: none;
}

.bereich-tabs-gruppe-label {
    color: #8fa19a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.bereich-tabs-gruppe-aktionen {
    display: flex;
    gap: 6px;
}

.bereich-tabs button {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #cad6d0;
    padding: 0 12px;
    white-space: nowrap;
}

.bereich-tabs button.aktiv {
    border-color: #34423e;
    background: #111716;
    color: #d7ff4f;
}

.ansicht-panel {
    display: grid;
    gap: 18px;
}

.panel-kopf {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.panel-hinweis {
    max-width: 760px;
    margin: 4px 0 0;
    color: #aebcb6;
    line-height: 1.45;
}

.katalog-neu-button {
    flex: 0 0 auto;
    min-width: 220px;
}

.timer-pill,
.status-chip,
.satz-typ,
.autosave-status {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 700;
}

.autosave-status {
    min-width: 104px;
    justify-content: center;
    border: 1px solid #50615c;
    color: #aebcb6;
}

.autosave-status[data-typ="wartet"] {
    border-color: #ffd166;
    color: #ffd166;
}

.autosave-status[data-typ="speichert"] {
    border-color: #9ce6ff;
    color: #9ce6ff;
}

.autosave-status[data-typ="gut"] {
    border-color: #d7ff4f;
    color: #d7ff4f;
}

.autosave-status[data-typ="fehler"] {
    border-color: #ff6565;
    color: #ffb2a9;
}

.timer-pill {
    background: #d7ff4f;
    color: #12160f;
}

.status-chip {
    background: #24302d;
    color: #d7ff4f;
}

.status-chip[data-status="aktiv"] {
    border: 1px solid #d7ff4f;
    background: #263318;
    color: #d7ff4f;
}

.status-chip[data-status="inaktiv"] {
    border: 1px solid #50615c;
    background: #141b19;
    color: #aebcb6;
}

.uebungen-layout {
    display: grid;
    gap: 18px;
}

.uebungsgruppe {
    display: grid;
    gap: 12px;
}

.uebungsgruppe h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f2f5f1;
}

.uebungsgruppe h3 span {
    color: #9ce6ff;
    font-size: 15px;
}

.abschluss-zusammenfassung {
    display: grid;
    gap: 14px;
    border: 1px solid #3d514a;
    border-radius: 8px;
    background: #101815;
    padding: 14px;
}

.abschluss-zusammenfassung h3 {
    margin: 2px 0 0;
    color: #f2f5f1;
}

.abschluss-kennzahlen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 10px;
    margin: 0;
}

.abschluss-kennzahl {
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 10px;
}

.abschluss-kennzahl dt {
    margin: 0 0 6px;
    color: #aebcb6;
    font-size: 13px;
}

.abschluss-kennzahl dd {
    margin: 0;
    color: #f2f5f1;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.abschluss-kennzahl[data-status="ausgelassen"] dd,
.abschluss-kennzahl[data-status="spaeter"] dd,
.abschluss-kennzahl[data-status="offen"] dd {
    color: #ffd166;
}

.rueckblick-filter {
    display: grid;
    gap: 12px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #111716;
    padding: 14px;
}

.rueckblick-filter h3 {
    margin: 2px 0 0;
    color: #f2f5f1;
}

.rueckblick-filter-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rueckblick-filter-button {
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 142px;
    min-height: 42px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    color: #f2f5f1;
    padding: 8px 10px;
    font: inherit;
    cursor: pointer;
}

.rueckblick-filter-button span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

.rueckblick-filter-button strong {
    color: #9ce6ff;
    font-size: 15px;
}

.rueckblick-filter-button.aktiv {
    border-color: #d7ff4f;
    background: #263318;
    color: #f7ffd5;
}

.rueckblick-filter-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.erledigt-kompakt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 12px;
}

.erledigt-kompakt h3 {
    margin: 0 0 4px;
}

.erledigt-kompakt .notiz {
    margin: 0;
}

.erledigt-toggle-button {
    min-width: 180px;
}

.mobile-aktive-uebung {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid #d7ff4f;
    border-radius: 8px;
    background: #172015;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
    padding: 14px;
}

.mobile-aktive-uebung h3 {
    margin: 2px 0 4px;
    color: #f7ffd5;
    overflow-wrap: anywhere;
}

.mobile-aktive-uebung .kicker,
.mobile-aktive-uebung .notiz {
    margin: 0;
}

.mobile-aktive-uebung button {
    min-width: 180px;
    min-height: 48px;
}

.uebung-card {
    display: grid;
    gap: 14px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 16px;
}

.status-active {
    border-color: #d7ff4f;
}

.status-parked {
    border-color: #ffd166;
}

.status-completed {
    opacity: 0.74;
}

.aktionsleiste,
.ersatzleiste {
    align-items: end;
    flex-wrap: wrap;
}

.uebung-card .aktionsleiste,
.uebung-card .ersatzleiste {
    gap: 8px;
}

.uebung-card .ersatzleiste {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.ersatz-oeffnen-button {
    justify-self: start;
}

.ersatz-auswahl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.ersatz-auswahl > * {
    min-width: 0;
}

.uebung-card .aktionsleiste button,
.uebung-card .ersatzleiste button,
.uebung-abschluss-button {
    min-height: 40px;
    border-radius: 6px;
    font-size: 14px;
    padding: 0 12px;
}

.uebung-card .ghost-button {
    border-color: #40514c;
    background: #101615;
}

.uebung-card .secondary-button {
    background: #8fdef5;
}

.uebung-card .danger-button {
    background: #f4a39b;
}

.uebung-header .status-chip {
    justify-self: start;
}

.uebung-abschlussleiste {
    display: grid;
    gap: 10px;
    border-top: 1px solid #34423e;
    padding-top: 14px;
}

.uebung-abschlussleiste .notiz {
    margin: 0;
}

.uebung-abschluss-button {
    justify-self: stretch;
    width: 100%;
}

.satz-tabelle-scroll {
    overflow-x: auto;
}

.satz-tabelle {
    width: 100%;
    min-width: 1240px;
    border-collapse: collapse;
}

.satz-tabelle th,
.satz-tabelle td {
    border-bottom: 1px solid #2d3935;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.satz-tabelle th {
    color: #aebcb6;
    font-size: 13px;
}

.satz-tabelle th:first-child,
.satz-tabelle td:first-child {
    width: 42px;
}

.satz-tabelle tr.satz-eingeklappt {
    opacity: 0.76;
}

.satz-tabelle tr.satz-eingeklappt td[data-label="Pausentimer"],
.satz-tabelle tr.satz-eingeklappt td[data-label="Pause"],
.satz-tabelle tr.satz-eingeklappt td[data-label="kg"],
.satz-tabelle tr.satz-eingeklappt td[data-label="Wdh"],
.satz-tabelle tr.satz-eingeklappt td[data-label="RIR"],
.satz-tabelle tr.satz-eingeklappt td[data-label="Ist Pause"],
.satz-tabelle tr.satz-eingeklappt td[data-label="OK"],
.satz-tabelle tr.satz-eingeklappt td[data-label="Speichern"],
.satz-tabelle tr.satz-eingeklappt td[data-label="Status"] {
    display: none;
}

.satz-tabelle tr.satz-eingeklappt + .plan-satz-detail {
    display: none;
}

.satz-tabelle tr.satz-aktuell {
    border-left: 3px solid #d7ff4f;
    background: #111b17;
}

.detail-toggle {
    width: 30px;
    min-height: 30px;
    padding: 0;
    border: 1px solid #50615c;
    background: #0f1312;
    color: #d7ff4f;
    font-size: 16px;
    line-height: 1;
}

.mini-input {
    width: 86px;
    min-height: 38px;
    font-size: 15px;
    padding: 6px 8px;
}

.satz-pausentimer-zelle[hidden],
.satz-pausentimer[hidden] {
    display: none;
}

.satz-pausentimer {
    display: inline-grid;
    min-width: 112px;
    min-height: 44px;
    align-content: center;
    justify-items: center;
    border: 1px solid #d7ff4f;
    border-radius: 8px;
    background: #182115;
    color: #d7ff4f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    padding: 6px 10px;
}

.satz-pausentimer strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.15;
}

.satz-speichern-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
}

.check-label {
    display: inline-flex;
    min-height: auto;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.check-label input {
    min-height: auto;
}

.uebung-limit-felder {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid #34423e;
    border-radius: 6px;
}

.uebung-limit-felder[hidden] {
    display: none;
}

.uebung-limit-felder legend {
    padding: 0 6px;
    font-weight: 700;
}

.uebung-limit-strategien {
    display: grid;
    gap: 8px;
}

.satz-typ-warmup {
    background: #25352f;
    color: #9ce6ff;
}

.seiten-chip {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border: 1px solid #50615c;
    border-radius: 6px;
    color: #cad6d0;
    padding: 3px 8px;
    font-size: 13px;
    font-weight: 700;
}

.seite-left {
    border-color: #9ce6ff;
    color: #9ce6ff;
}

.seite-right {
    border-color: #ffd166;
    color: #ffd166;
}

.satz-typ-work,
.satz-typ-backoff,
.satz-typ-amrap {
    background: #354018;
    color: #d7ff4f;
}

.plan-satz-detail td {
    background: #101615;
    padding: 12px 8px 14px;
}

.plan-satz-zeile {
    display: grid;
    grid-template-columns: minmax(210px, 1.2fr) minmax(96px, 0.8fr) minmax(160px, 1fr) minmax(96px, 0.8fr) minmax(104px, auto);
    gap: 10px;
    align-items: end;
    border: 1px solid #2d3935;
    border-radius: 8px;
    padding: 10px;
    background: #101615;
}

.plan-satz-info {
    min-width: 0;
}

.manuell-chip {
    display: none;
    width: fit-content;
    margin-top: 8px;
    border: 1px solid #9ce6ff;
    border-radius: 6px;
    color: #9ce6ff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 7px;
}

.plan-satz-detail[data-manuell="1"] .plan-satz-zeile {
    border-color: #9ce6ff;
    background: #0f1a1d;
}

.plan-satz-detail[data-manuell="1"] .manuell-chip {
    display: inline-flex;
}

.plan-satz-zeile small {
    display: block;
    margin-top: 6px;
    color: #aebcb6;
}

.plan-satz-zeile label {
    min-width: 0;
    margin: 0;
}

.plan-satz-zeile input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    font-size: 15px;
    padding: 6px 8px;
}

.zahl-stepper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.stepper-button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d7ff4f;
    background: #182115;
    color: #d7ff4f;
    font-size: 15px;
}

.stepper-button:disabled {
    border-color: #50615c;
    color: #66746f;
    cursor: not-allowed;
}

.uebung-notiz-box {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: end;
    border-top: 1px solid #34423e;
    border-bottom: 1px solid #34423e;
    padding: 12px 0;
}

.cardio-liste {
    display: grid;
    gap: 12px;
}

.cardio-satz {
    display: grid;
    gap: 14px;
    border: 1px solid #2d3935;
    border-radius: 8px;
    background: #101615;
    padding: 14px;
}

.cardio-kopf,
.cardio-felder {
    display: grid;
    gap: 12px;
}

.cardio-kopf {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
}

.cardio-pausentimer {
    justify-self: end;
}

.cardio-felder {
    grid-template-columns: repeat(2, minmax(160px, 1fr)) auto;
    align-items: end;
}

.cardio-felder label {
    margin: 0;
}

.cardio-ok {
    min-height: 48px;
    align-items: center;
}

.uebung-notiz-box label {
    margin: 0;
}

.vorschlag-panel {
    display: grid;
    gap: 12px;
    border: 1px solid #d7ff4f;
    border-radius: 8px;
    background: #171f1c;
    padding: 16px;
}

.vorschlag-kopf,
.vorschlag-card,
.vorschlag-aktionen {
    display: flex;
    gap: 12px;
}

.vorschlag-kopf,
.vorschlag-card {
    align-items: flex-start;
    justify-content: space-between;
}

.vorschlag-kopf-aktionen {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vorschlag-liste {
    display: grid;
    gap: 10px;
}

.vorschlag-card {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 12px;
}

.manuell-card {
    border-color: #9ce6ff;
    background: #0f1a1d;
}

.vorschlag-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.manuell-liste,
.vorschlag-set-liste {
    display: grid;
    gap: 8px;
}

.vorschlag-set-liste {
    margin-top: 10px;
}

.vorschlag-set-zeile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #2d3935;
    padding-top: 8px;
}

.vorschlag-set-zeile span,
.vorschlag-set-zeile small {
    display: block;
    margin-top: 4px;
    color: #aebcb6;
}

.vorschlag-werte {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    color: #aebcb6;
}

.vorschlag-werte strong {
    color: #d7ff4f;
}

.vorschlag-aktionen {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bibliothek-panel,
.historie-panel,
.analyse-panel,
.plan-editor-panel,
.profil-panel,
.bilder-panel,
.profilseite-panel,
.koerper-panel,
.ranking-panel {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #111716;
    padding: 16px;
}

.session-historie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.visuell-versteckt {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.historie-werkzeuge {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #0f1514;
    padding: 12px;
}

.historie-auswahl-alle,
.historie-auswahl {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.historie-auswahl-alle {
    min-height: 42px;
}

.historie-auswahl {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    min-height: 0;
}

.historie-auswahl input,
.historie-auswahl-alle input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
}

.historie-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px 12px 12px 42px;
}

.historie-card > div {
    min-width: 0;
}

.historie-aktionen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.historie-aktionen button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 10px;
}

.danger-button.disabled,
.danger-button:disabled {
    border: 1px solid #34423e;
    background: #202724;
    color: #8d9a94;
    opacity: 0.45;
    cursor: not-allowed;
}

.programm-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
    gap: 12px;
    align-items: end;
}

.profil-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
    align-items: end;
}

.profil-form label {
    margin: 0;
}

[data-einheit-label] {
    display: block;
    min-height: 17px;
    color: #aebcb6;
    font-size: 12px;
    line-height: 1.35;
}

.profil-notiz,
.profil-hinweis,
.profil-form button {
    grid-column: 1 / -1;
}

.profil-hinweis {
    border: 1px solid #34423e;
    border-left: 4px solid #9ce6ff;
    border-radius: 8px;
    background: #0f1514;
    color: #c6d3ce;
    padding: 12px;
}

.profil-sicherheit {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #111716;
    padding: 12px;
}

.profil-sicherheit .profil-hinweis {
    margin: 0;
}

.profil-punkte {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.profil-punkte article {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.profil-punkte span {
    display: block;
    color: #9fb0aa;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.profil-punkte strong {
    display: block;
    margin-top: 4px;
    color: #f5faf7;
    font-size: 26px;
}

.profil-fotos {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.profil-avatar-editor {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.bilder-werkzeuge,
.profilbild-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
    gap: 12px;
    align-items: end;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
    margin-bottom: 12px;
}

.foto-ordner-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.profilbild-form {
    grid-template-columns: minmax(240px, 1fr) minmax(190px, auto) auto;
}

.bilder-profil-freigabe {
    align-self: center;
    min-height: 42px;
    margin: 0;
}

.bilder-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.bilder-pagination span {
    min-width: 130px;
    color: #c6d3ce;
    text-align: center;
    font-weight: 700;
}

.bilder-pagination button {
    min-height: 38px;
    padding: 0 14px;
}

.standard-avatar-bereich {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.standard-avatar-kopf {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.standard-avatar-kopf .kicker {
    margin: 0;
}

.standard-avatar-kopf button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
}

.standard-avatar-liste {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.standard-avatar-gruppe {
    display: grid;
    gap: 8px;
}

.standard-avatar-gruppe h3 {
    display: flex;
    justify-content: space-between;
    color: #f5faf7;
    font-size: 15px;
}

.standard-avatar-gruppe h3 span {
    color: #9ce6ff;
}

.standard-avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 10px;
}

.standard-avatar-button {
    display: grid;
    gap: 6px;
    justify-items: center;
    min-height: 0;
    padding: 8px;
    border-radius: 8px;
    background: #0f1514;
    font-size: 12px;
    line-height: 1.15;
}

.standard-avatar-button.aktiv {
    border-color: #9ce6ff;
    box-shadow: 0 0 0 2px rgba(156, 230, 255, 0.18);
}

.standard-avatar-button img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.profil-avatar-gross,
.profil-avatar-gross-bild {
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

.profil-avatar-gross {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #50615c;
    background: #0f1514;
    color: #9ce6ff;
    font-size: 32px;
    font-weight: 800;
}

.profil-avatar-gross-bild {
    object-fit: cover;
}

.avatar-mini {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-platzhalter {
    display: grid;
    place-items: center;
    border: 1px solid #50615c;
    background: #0f1514;
    color: #9ce6ff;
    font-weight: 800;
}

.profilbilder-liste {
    display: grid;
    gap: 14px;
}

.profilbild-gruppe {
    display: grid;
    gap: 10px;
}

.profilbild-gruppe-kopf h3 {
    margin: 0;
}

.profilbild-grid,
.profilseite-bilder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.profilbild-card {
    display: grid;
    gap: 8px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 8px;
}

.profil-avatar-card {
    border-color: #9ce6ff;
}

.profil-avatar-card strong {
    color: #9ce6ff;
}

.profilbild-card img,
.profilseite-bilder img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.profilbild-sichtbarkeit {
    justify-content: flex-start;
    min-height: 34px;
    margin: 0;
    font-size: 13px;
}

.profilseite-kopf {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.profilseiten-freigaben {
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101816;
    padding: 12px;
}

.profilseite-karten,
.profilseite-prs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.profilseite-karte {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #151d1b;
    padding: 12px;
}

.profilseite-karte h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.profilseite-karte dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.profilseite-karte dl div {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) minmax(0, 1.5fr);
    gap: 8px;
}

.profilseite-karte dt,
.profilseite-karte small {
    color: #a8bbb3;
}

.profilseite-karte dd {
    margin: 0;
    color: #f5faf7;
    font-weight: 700;
}

.profilseite-dashboard {
    grid-column: 1 / -1;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 12px;
}

.profilseite-dashboard .formular-kopf {
    margin-bottom: 12px;
}

.profilseite-pr-liste {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profilseite-pr-liste li {
    display: grid;
    gap: 2px;
}

.profilseite-pr-liste span,
.profilseite-pr-liste small {
    color: #a8bbb3;
}

.ranking-liste {
    display: grid;
    gap: 8px;
}

.ranking-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.ranking-tabs button {
    min-height: 40px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #17201e;
    color: #d7e4df;
    font-weight: 700;
    cursor: pointer;
}

.ranking-tabs button.aktiv {
    border-color: #9ce6ff;
    background: #0f1f22;
    color: #f5faf7;
}

.ranking-gruppen-panel {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101816;
    padding: 12px;
}

.ranking-gruppen-kopf,
.ranking-gruppen-aktionen {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.ranking-gruppen-kopf label {
    display: grid;
    gap: 6px;
}

.ranking-gruppen-aktionen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ranking-gruppen-aktionen form,
.ranking-gruppen-einladung,
.ranking-gruppen-pin {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.ranking-gruppen-einladung {
    margin-bottom: 10px;
    grid-template-columns: minmax(0, 220px) auto;
}

.ranking-gruppe-detail {
    display: grid;
    gap: 10px;
}

.ranking-gruppen-detailkarte {
    display: grid;
    gap: 10px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141d1a;
    padding: 12px;
}

.ranking-gruppen-detailkarte header,
.ranking-gruppen-mitglieder li {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.ranking-gruppen-detailkarte h3 {
    margin: 2px 0 0;
}

.ranking-gruppen-pin {
    grid-template-columns: auto minmax(110px, 1fr) auto;
    border: 1px solid #3d4c48;
    border-radius: 8px;
    padding: 8px;
}

.ranking-gruppen-mitglieder {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-gruppen-mitglieder li {
    border-top: 1px solid #26332f;
    padding-top: 8px;
}

.ranking-gruppen-mitglieder small {
    display: block;
    color: #a8bbb3;
}

.ranking-gruppen-mitglied-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.ranking-persoenlich {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.ranking-persoenlich article {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #151d1b;
    padding: 12px;
}

.ranking-persoenlich span,
.ranking-persoenlich small {
    display: block;
    color: #a8bbb3;
}

.ranking-persoenlich strong {
    display: block;
    margin: 4px 0;
    color: #f5faf7;
    font-size: 22px;
}

.ranking-werkzeuge {
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.ranking-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.ranking-pagination span {
    min-width: 180px;
    color: #c6d3ce;
    text-align: center;
    font-weight: 700;
}

.ranking-pagination button {
    min-height: 38px;
    padding: 0 14px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 48px 58px minmax(0, 1fr) minmax(110px, auto) 92px;
    gap: 10px;
    align-items: center;
    border: 1px solid #2f3d39;
    border-radius: 8px;
    background: #101615;
    padding: 10px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ranking-card.eigener-rang {
    border-color: #9ce6ff;
    background: #0f1f22;
}

.ranking-rang {
    display: inline-flex;
    width: 48px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #34423e;
    border-radius: 999px;
    background: #111d1a;
    color: #9ce6ff;
    font-size: 18px;
    font-weight: 800;
}

.ranking-punkte {
    justify-self: end;
    color: #f5faf7;
    font-size: 15px;
    white-space: nowrap;
}

.ranking-card .notiz {
    margin: 3px 0 0;
}

.ranking-card .ghost-button {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
}

.cms-layout {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.cms-seiten-navigation {
    display: grid;
    gap: 8px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #111716;
    padding: 10px;
}

.cms-nav-button {
    min-height: 38px;
    justify-content: flex-start;
    border: 1px solid transparent;
    background: transparent;
    color: #cad6d0;
    font-size: 14px;
    padding: 0 10px;
}

.cms-nav-button.aktiv {
    border-color: #d7ff4f;
    background: #20281f;
    color: #f5faf7;
}

.cms-seite {
    min-height: 220px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #111716;
    padding: 18px;
}

.cms-seite-standalone {
    min-height: 0;
}

.cms-seite-kopf {
    margin-bottom: 16px;
}

.cms-inhalt {
    color: #e9f0ed;
    line-height: 1.65;
}

.cms-inhalt h2,
.cms-inhalt h3 {
    margin: 22px 0 10px;
}

.cms-inhalt p,
.cms-inhalt ul,
.cms-inhalt ol,
.cms-inhalt blockquote {
    margin: 0 0 14px;
}

.cms-inhalt a {
    color: #9ce6ff;
    font-weight: 700;
}

.cms-inhalt blockquote {
    border-left: 4px solid #d7ff4f;
    background: #18201c;
    padding: 10px 12px;
}

.cms-inhalt img,
.cms-editor img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.seitenkopf-aktionen {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-cms-panel {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-unterkopf {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.admin-meldung-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(140px, 170px) minmax(90px, 120px) minmax(180px, 220px) minmax(180px, 220px);
    gap: 12px;
    align-items: end;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.admin-meldung-text,
.admin-meldung-aktionen {
    grid-column: 1 / -1;
}

.admin-meldung-aktiv {
    margin: 0;
}

.admin-meldungen-liste,
.admin-benutzer-liste {
    display: grid;
    gap: 10px;
}

.admin-benutzer-tabelle-wrap {
    overflow-x: auto;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
}

.admin-benutzer-tabelle {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-benutzer-tabelle th,
.admin-benutzer-tabelle td {
    border-bottom: 1px solid #26332f;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.admin-benutzer-tabelle th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #101615;
    color: #c9d2cd;
    font-size: 12px;
    text-transform: uppercase;
}

.admin-benutzer-tabelle tr:last-child td {
    border-bottom: 0;
}

.admin-benutzer-zeile[data-status="locked"] {
    box-shadow: inset 5px 0 0 #f4c542;
}

.admin-benutzer-zeile[data-status="deactivated"],
.admin-benutzer-zeile[data-status="anonymized"] {
    box-shadow: inset 5px 0 0 #ff6565;
}

.admin-benutzer-meta {
    display: block;
    color: #9ba8a2;
    font-size: 12px;
    margin-top: 4px;
}

.konto-selbstschutz {
    color: #d7ff4f;
    font-weight: 700;
}

.admin-benutzer-tabelle select,
.admin-benutzer-tabelle input,
.admin-benutzer-tabelle button {
    width: 100%;
}

.admin-benutzer-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 14px;
}

.admin-benutzer-pagination p {
    margin: 0;
    color: #c9d2cd;
}

.admin-benutzer-seiten {
    display: flex;
    gap: 8px;
}

.admin-benutzer-filter,
.admin-datenschutz-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) minmax(140px, 180px) auto auto;
    gap: 12px;
    align-items: end;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
    margin-bottom: 14px;
}

.admin-meldung-card,
.admin-benutzer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr) minmax(220px, 0.7fr);
    gap: 10px;
    align-items: center;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.admin-benutzer-card[data-status="locked"] {
    border-left: 5px solid #f4c542;
}

.admin-benutzer-card[data-status="deactivated"],
.admin-benutzer-card[data-status="anonymized"] {
    border-left: 5px solid #ff6565;
}

.admin-meldung-card {
    grid-template-columns: minmax(0, 1fr) auto;
    border-left: 5px solid var(--systemmeldung-akzent, #ff6565);
}

.admin-meldung-card[data-typ="warning"] {
    --systemmeldung-akzent: #f4c542;
}

.admin-meldung-card[data-typ="danger"] {
    --systemmeldung-akzent: #ff6565;
}

.admin-meldung-card[data-typ="success"] {
    --systemmeldung-akzent: #d7ff4f;
}

.admin-meldung-card h4 {
    margin: 0;
}

.admin-cms-seite-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) minmax(110px, 140px) auto auto;
    gap: 12px;
    align-items: end;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.cms-editor-bereich,
.admin-cms-seite-form .aktionsleiste {
    grid-column: 1 / -1;
}

.admin-sprach-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-sprach-form .aktionsleiste,
.admin-sprach-form + .notiz {
    grid-column: 1 / -1;
}

.cms-editor-toolbar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border: 1px solid #34423e;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #101615;
    padding: 8px;
}

.cms-editor-toolbar button {
    min-height: 34px;
    border: 1px solid #50615c;
    background: #151d1a;
    color: #f2f5f1;
    font-size: 13px;
    padding: 0 10px;
}

.cms-bild-input {
    display: none;
}

.cms-editor {
    min-height: 240px;
    border: 1px solid #50615c;
    border-radius: 0 0 8px 8px;
    background: #0f1312;
    color: #ffffff;
    line-height: 1.6;
    padding: 14px;
    outline: none;
}

.cms-editor:focus {
    border-color: #d7ff4f;
}

.admin-cms-seiten-liste {
    display: grid;
    gap: 10px;
}

.admin-cms-seite-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #34423e;
    border-left: 5px solid #7d8f88;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.admin-cms-seite-card[data-veroeffentlicht="1"] {
    border-left-color: #d7ff4f;
}

.admin-cms-seite-card h4 {
    margin: 0;
}

.admin-benutzer-card .notiz {
    margin: 4px 0 0;
}

.admin-benutzer-aktionen,
.admin-benutzer-buttons {
    display: grid;
    gap: 8px;
}

.admin-benutzer-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-benutzer-card select,
.admin-benutzer-card button,
.admin-benutzer-card input,
.admin-benutzer-filter input,
.admin-benutzer-filter select,
.admin-benutzer-filter button,
.admin-datenschutz-form input,
.admin-datenschutz-form select,
.admin-datenschutz-form button {
    width: 100%;
}

.konto-status {
    display: inline-block;
    width: fit-content;
    border: 1px solid #50615c;
    border-radius: 999px;
    background: #101615;
    color: #f2f5f1;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    margin-right: 8px;
}

.konto-status-active {
    border-color: #d7ff4f;
    color: #d7ff4f;
}

.konto-status-locked {
    border-color: #f4c542;
    color: #f4c542;
}

.konto-status-deactivated,
.konto-status-anonymized {
    border-color: #ffb2a9;
    color: #ffb2a9;
}

.admin-benutzer-detail {
    margin-top: 18px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 14px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.admin-stammdaten-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-detail-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-detail-aktionen .notiz {
    max-width: 260px;
    text-align: right;
}

.admin-detail-grid article {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 10px;
}

.admin-detail-grid span {
    display: block;
    color: #aab8b2;
    font-size: 13px;
}

.admin-detail-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
    overflow-wrap: anywhere;
}

.admin-stammdaten-grid strong {
    font-size: 18px;
    line-height: 1.25;
}

.admin-detail-spalten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-detail-spalten ul {
    margin: 0;
    padding-left: 18px;
}

.koerpermass-form {
    display: grid;
    grid-template-columns: minmax(160px, 190px) minmax(180px, 1fr) minmax(140px, 180px) minmax(220px, 1.2fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.koerpermass-form label {
    margin: 0;
}

.koerpermass-form button {
    min-height: 44px;
    white-space: nowrap;
}

.koerpermass-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.koerpermass-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.koerpermass-card .notiz {
    margin: 4px 0 0;
}

.koerpermass-card button {
    min-height: 40px;
    padding: 0 12px;
}

.kalorien-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
    padding: 0;
}

.kalorien-form label {
    margin: 0;
}

.kalorien-einheiten-hinweis {
    grid-column: 1 / -1;
    display: inline-grid;
    grid-template-columns: auto auto auto;
    gap: 8px;
    justify-content: start;
    align-items: center;
    color: #cad6d0;
}

.kalorien-einheiten-hinweis span,
.kalorien-einheiten-hinweis small {
    color: #aebcb6;
    font-size: 13px;
}

.kalorien-einheiten-hinweis strong {
    border: 1px solid #d7ff4f;
    border-radius: 6px;
    color: #f5faf7;
    padding: 8px 12px;
}

.kalorien-slider-feld {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.kalorien-slider-zeile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(58px, auto);
    gap: 10px;
    align-items: center;
}

.kalorien-slider-zeile input[type="range"] {
    width: 100%;
    min-width: 0;
    accent-color: #d7ff4f;
}

.kalorien-slider-zeile output {
    min-width: 58px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    color: #f5faf7;
    font-weight: 800;
    line-height: 1;
    padding: 10px 8px;
    text-align: center;
}

.kalorien-slider-feld small {
    min-height: 52px;
    color: #aebcb6;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.kalorien-auswahlgruppe,
.kalorien-zielauswahl {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.kalorien-auswahlgruppe h3 {
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.kalorien-optionskarten {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.kalorien-optionskarten-aktivitaet {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kalorien-optionskarte {
    position: relative;
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
    border: 1px solid #34423e;
    border-radius: 4px;
    background: #141b19;
    color: #f5faf7;
    padding: 14px 14px 14px 42px;
    text-align: left;
    cursor: pointer;
}

.kalorien-optionskarte > span {
    position: absolute;
    top: 16px;
    left: 14px;
    width: 16px;
    height: 16px;
    border: 2px solid #cad6d0;
    border-radius: 999px;
}

.kalorien-optionskarte > span::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: transparent;
}

.kalorien-optionskarte:hover,
.kalorien-optionskarte:focus-visible {
    border-color: #9ce6ff;
    outline: none;
}

.kalorien-optionskarte.aktiv {
    border-color: #d7ff4f;
    box-shadow: 0 0 0 1px rgba(215, 255, 79, 0.45);
}

.kalorien-optionskarte.aktiv > span {
    border-color: #d7ff4f;
}

.kalorien-optionskarte.aktiv > span::after {
    background: #d7ff4f;
}

.kalorien-optionskarte strong {
    font-size: 16px;
    line-height: 1.2;
}

.kalorien-optionskarte small,
.kalorien-zielauswahl small {
    color: #aebcb6;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.kalorien-zielgruppe {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.kalorien-ziel-kopf {
    display: grid;
    gap: 4px;
}

.kalorien-ziel-kopf > span {
    font-weight: 700;
}

.kalorien-ziel-kopf small,
.kalorien-zielgruppe > small {
    color: #aebcb6;
    font-size: 13px;
    line-height: 1.35;
}

.kalorien-zielkarten {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.kalorien-zielkarte {
    display: grid;
    gap: 6px;
    min-width: 0;
    min-height: 150px;
    align-content: start;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    color: #f5faf7;
    padding: 12px;
    text-align: left;
    cursor: pointer;
}

.kalorien-zielkarte:hover,
.kalorien-zielkarte:focus-visible {
    border-color: #9ce6ff;
    outline: none;
}

.kalorien-zielkarte.aktiv {
    border-color: #d7ff4f;
    background: #182015;
    box-shadow: 0 0 0 1px rgba(215, 255, 79, 0.45);
}

.kalorien-zielkarte span {
    font-size: 14px;
    font-weight: 700;
}

.kalorien-zielkarte strong {
    color: #d7ff4f;
    font-size: 22px;
    line-height: 1.1;
}

.kalorien-zielkarte em {
    color: #9ce6ff;
    font-style: normal;
    font-weight: 700;
}

.kalorien-zielkarte small {
    color: #cad6d0;
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.kalorien-aktionen {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kalorien-gespeichert {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.kalorien-stand {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 14px;
}

.kalorien-stand div {
    display: grid;
    gap: 4px;
}

.kalorien-stand span,
.kalorien-gespeichert-grid span {
    color: #aebcb6;
    font-size: 13px;
}

.kalorien-stand strong,
.kalorien-gespeichert-grid strong {
    overflow-wrap: anywhere;
}

.kalorien-stand p {
    margin: 0;
    color: #cad6d0;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.kalorien-gespeichert-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
}

.kalorien-gespeichert-grid article {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 14px;
}

.kalorien-ergebnis {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(150px, 1fr));
    gap: 12px;
}

.kalorien-ergebnis article {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 14px;
}

.kalorien-ergebnis span {
    color: #aebcb6;
    font-size: 13px;
}

.kalorien-ergebnis small {
    color: #cad6d0;
    font-size: 14px;
}

.kalorien-ergebnis strong {
    font-size: 24px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.kalorien-ergebnis-hauptwert {
    background: #182015 !important;
    border-color: #d7ff4f !important;
}

.kalorien-ergebnis-hauptwert strong {
    color: #d7ff4f;
    font-size: 34px;
}

.kalorien-ergebnis .kalorien-hinweis {
    grid-column: 1 / -1;
}

.kalorien-ergebnis .kalorien-hinweis strong {
    color: #cad6d0;
    font-size: 15px;
    line-height: 1.35;
}

.kalorien-textblock {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.kalorien-rechenweg {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 14px;
}

.kalorien-rechenweg summary {
    cursor: pointer;
    font-weight: 800;
}

.kalorien-textblock section {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.kalorien-textblock h3 {
    font-size: 18px;
}

.kalorien-textblock p {
    margin: 0;
    color: #cad6d0;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.analyse-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr)) minmax(260px, 2fr) auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #0f1514;
    padding: 14px;
}

.analyse-filter label {
    margin: 0;
    min-width: 0;
}

.analyse-schnellwahl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.analyse-dashboard {
    display: grid;
    gap: 14px;
}

.analyse-hinweise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.analyse-hinweise span {
    border: 1px solid #34423e;
    border-radius: 999px;
    background: #101615;
    color: #cad6d0;
    padding: 7px 10px;
    font-size: 13px;
}

.analyse-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.analyse-kpi-card,
.analyse-diagramm {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
}

.analyse-kpi-card {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px;
}

.analyse-kpi-card span,
.analyse-kpi-card small {
    color: #aebcb6;
}

.analyse-kpi-card strong {
    color: #ffffff;
    font-size: 26px;
    line-height: 1.05;
}

.analyse-kpi-details {
    border-top: 1px solid #2b3835;
    padding-top: 8px;
}

.analyse-kpi-details summary {
    cursor: pointer;
    color: #9ce6ff;
    font-size: 13px;
}

.analyse-kpi-details p {
    margin: 8px 0 0;
    color: #d7ded9;
    font-size: 13px;
    line-height: 1.45;
}

.analyse-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.analyse-diagramm {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 14px;
}

.analyse-diagramm-breit {
    grid-column: 1 / -1;
}

.analyse-diagramm header {
    display: grid;
    gap: 4px;
}

.analyse-diagramm header .notiz {
    margin: 0;
}

.analyse-balkenliste {
    display: grid;
    gap: 10px;
}

.analyse-balkenzeile {
    display: grid;
    grid-template-columns: minmax(92px, 0.9fr) minmax(48px, 2fr) minmax(32px, max-content);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.analyse-balkenzeile span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #cad6d0;
}

.analyse-balkenzeile strong {
    min-width: 0;
    text-align: right;
    color: #ffffff;
    white-space: nowrap;
}

.analyse-balken {
    min-width: 0;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #202724;
}

.analyse-balken i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d7ff4f, #2dd4bf);
}

.analyse-wochenchart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    gap: 10px;
    align-items: end;
}

.analyse-woche {
    display: grid;
    gap: 6px;
    min-width: 0;
    text-align: center;
}

.analyse-woche-saeule {
    display: flex;
    height: 150px;
    align-items: flex-end;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #0f1514;
    padding: 4px;
}

.analyse-woche-saeule i {
    display: block;
    width: 100%;
    min-height: 2px;
    border-radius: 6px;
    background: linear-gradient(180deg, #7dd3fc, #d7ff4f);
}

.analyse-woche strong,
.analyse-woche span,
.analyse-woche small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.analyse-woche small {
    color: #aebcb6;
}

.analyse-warnung {
    color: #fca5a5 !important;
}

.analyse-segmente {
    display: grid;
    gap: 12px;
}

.analyse-segmentbalken {
    display: flex;
    height: 26px;
    overflow: hidden;
    border-radius: 999px;
    background: #202724;
}

.analyse-segmentbalken i,
.analyse-legende i,
.analyse-segmente li span {
    background: #d7ff4f;
}

.analyse-segmentbalken i[data-index="1"],
.analyse-legende i[data-index="1"],
.analyse-segmente li span[data-index="1"] {
    background: #2dd4bf;
}

.analyse-segmentbalken i[data-index="2"],
.analyse-legende i[data-index="2"],
.analyse-segmente li span[data-index="2"] {
    background: #7dd3fc;
}

.analyse-segmentbalken i[data-index="3"],
.analyse-legende i[data-index="3"],
.analyse-segmente li span[data-index="3"] {
    background: #facc15;
}

.analyse-segmentbalken i[data-index="4"],
.analyse-legende i[data-index="4"],
.analyse-segmente li span[data-index="4"] {
    background: #f97316;
}

.analyse-segmente ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.analyse-segmente li {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #cad6d0;
}

.analyse-segmente li span,
.analyse-legende i {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 999px;
}

.analyse-rest {
    display: grid;
    grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1.4fr);
    gap: 14px;
    align-items: stretch;
}

.analyse-rest-status,
.analyse-rest-details,
.analyse-rest > p {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
}

.analyse-rest-status {
    display: grid;
    gap: 6px;
    align-content: center;
    min-width: 0;
    padding: 16px;
    border-color: #d7ff4f;
}

.analyse-rest-status span {
    color: #d7ff4f;
    font-weight: 700;
}

.analyse-rest-status strong {
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
}

.analyse-rest-status small {
    color: #aebcb6;
}

.analyse-rest[data-status="ueberfaellig"] .analyse-rest-status,
.analyse-rest[data-status="hoch"] .analyse-rest-status {
    border-color: #fca5a5;
}

.analyse-rest[data-status="ueberfaellig"] .analyse-rest-status span,
.analyse-rest[data-status="hoch"] .analyse-rest-status span {
    color: #fca5a5;
}

.analyse-rest[data-status="heute_trainiert"] .analyse-rest-status {
    border-color: #7dd3fc;
}

.analyse-rest[data-status="heute_trainiert"] .analyse-rest-status span {
    color: #7dd3fc;
}

.analyse-rest-details {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
}

.analyse-rest-details div {
    display: grid;
    gap: 6px;
    align-content: center;
    min-width: 0;
    background: #141b19;
    padding: 14px;
}

.analyse-rest-details span {
    color: #aebcb6;
    font-size: 13px;
}

.analyse-rest-details strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #ffffff;
}

.analyse-rest > p {
    grid-column: 1 / -1;
    margin: 0;
    color: #cad6d0;
    padding: 14px;
}

.analyse-linienchart {
    display: grid;
    gap: 10px;
}

.analyse-linienchart svg {
    width: 100%;
    min-height: 220px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #0f1514;
}

.analyse-linienchart line {
    stroke: #50615c;
    stroke-width: 1;
}

.analyse-linienchart polyline {
    fill: none;
    stroke: #d7ff4f;
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.analyse-linienchart polyline[data-index="1"] {
    stroke: #2dd4bf;
}

.analyse-linienchart polyline[data-index="2"] {
    stroke: #7dd3fc;
}

.analyse-linienchart polyline[data-index="3"] {
    stroke: #facc15;
}

.analyse-linienchart polyline[data-index="4"] {
    stroke: #f97316;
}

.analyse-legende {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.analyse-legende span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #cad6d0;
    font-size: 13px;
}

.analyse-pr-liste,
.analyse-uebungskarten {
    display: grid;
    gap: 10px;
}

.analyse-pr-card,
.analyse-uebungskarte {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 10px;
}

.analyse-pr-card h3,
.analyse-uebungskarte h3 {
    overflow-wrap: anywhere;
}

.analyse-bild {
    display: grid;
    width: 76px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid #50615c;
    border-radius: 8px;
    background: linear-gradient(135deg, #1d2a27, #27322f);
    color: #d7ff4f;
    font-size: 20px;
    font-weight: 700;
}

.analyse-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analyse-cardio {
    display: grid;
    gap: 8px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
    padding: 16px;
}

.analyse-cardio strong {
    font-size: 30px;
}

.dashboard-neu-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr)) minmax(260px, 2fr) auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #0f1514;
    padding: 14px;
}

.dashboard-neu-filter label {
    margin: 0;
    min-width: 0;
}

.dashboard-neu-schnellwahl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.dashboard-neu {
    display: grid;
    gap: 14px;
}

.dashboard-neu-hero,
.dashboard-neu-kpi,
.dashboard-neu-karte {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
}

.dashboard-neu-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
}

.dashboard-neu-hero img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.dashboard-neu-hero > div {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: clamp(18px, 4vw, 34px);
}

.dashboard-neu-hero h3 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.02;
}

.dashboard-neu-hero p:last-child {
    margin: 0;
    color: #cad6d0;
    font-size: 17px;
    line-height: 1.45;
}

.dashboard-neu-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 10px;
}

.dashboard-neu-kpi {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px;
}

.dashboard-neu-kpi span,
.dashboard-neu-kpi small {
    color: #aebcb6;
}

.dashboard-neu-kpi strong {
    min-width: 0;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.dashboard-neu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-neu-karte {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
    padding: 14px;
}

.dashboard-neu-karte-breit {
    grid-column: 1 / -1;
}

.dashboard-neu-karte header {
    display: grid;
    gap: 4px;
}

.dashboard-neu-karte header .notiz {
    margin: 0;
}

.dashboard-neu-wochen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(66px, 1fr));
    gap: 10px;
    align-items: end;
}

.dashboard-neu-woche {
    display: grid;
    gap: 6px;
    min-width: 0;
    text-align: center;
}

.dashboard-neu-woche-saeule {
    display: flex;
    height: 150px;
    align-items: flex-end;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #0f1514;
    padding: 4px;
}

.dashboard-neu-woche-saeule i {
    display: block;
    width: 100%;
    min-height: 2px;
    border-radius: 6px;
    background: linear-gradient(180deg, #d7ff4f, #2dd4bf);
}

.dashboard-neu-woche strong,
.dashboard-neu-woche span,
.dashboard-neu-woche small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dashboard-neu-woche small {
    color: #aebcb6;
}

.dashboard-neu-balkenliste {
    display: grid;
    gap: 10px;
}

.dashboard-neu-balkenzeile {
    display: grid;
    grid-template-columns: minmax(110px, 0.9fr) minmax(120px, 2fr) minmax(68px, auto);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.dashboard-neu-balkenzeile span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #cad6d0;
}

.dashboard-neu-balkenzeile strong {
    text-align: right;
    color: #ffffff;
}

.dashboard-neu-balken {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #202724;
}

.dashboard-neu-balken i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d7ff4f, #7dd3fc);
}

.dashboard-neu-rest {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
    gap: 12px;
}

.dashboard-neu-rest > div,
.dashboard-neu-rest ul,
.dashboard-neu-rest > p,
.dashboard-neu-cardio {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
}

.dashboard-neu-rest > div {
    display: grid;
    gap: 6px;
    align-content: center;
    border-color: #d7ff4f;
    padding: 16px;
}

.dashboard-neu-rest > div span {
    color: #d7ff4f;
    font-weight: 800;
}

.dashboard-neu-rest > div strong {
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
}

.dashboard-neu-rest > div small {
    color: #aebcb6;
}

.dashboard-neu-rest[data-status="ueberfaellig"] > div,
.dashboard-neu-rest[data-status="hoch"] > div {
    border-color: #fca5a5;
}

.dashboard-neu-rest[data-status="ueberfaellig"] > div span,
.dashboard-neu-rest[data-status="hoch"] > div span {
    color: #fca5a5;
}

.dashboard-neu-rest[data-status="heute_trainiert"] > div {
    border-color: #7dd3fc;
}

.dashboard-neu-rest[data-status="heute_trainiert"] > div span {
    color: #7dd3fc;
}

.dashboard-neu-rest ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    list-style: none;
}

.dashboard-neu-rest li {
    display: grid;
    gap: 6px;
    align-content: center;
    min-width: 0;
    background: #101615;
    padding: 14px;
}

.dashboard-neu-rest li span {
    color: #aebcb6;
    font-size: 13px;
}

.dashboard-neu-rest li strong {
    min-width: 0;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.dashboard-neu-rest > p {
    grid-column: 1 / -1;
    margin: 0;
    color: #cad6d0;
    line-height: 1.45;
    padding: 14px;
}

.dashboard-neu-chart-card .dashboard-neu-rest {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-neu-chart-card .dashboard-neu-rest ul {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
}

.dashboard-neu-uebungen,
.dashboard-neu-prs {
    display: grid;
    gap: 10px;
}

.dashboard-neu-uebung {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 10px;
}

.dashboard-neu-uebung h3,
.dashboard-neu-pr strong {
    overflow-wrap: anywhere;
}

.dashboard-neu-bild {
    display: grid;
    width: 84px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid #50615c;
    border-radius: 8px;
    background: #0f1514;
    color: #d7ff4f;
    font-size: 20px;
    font-weight: 800;
}

.dashboard-neu-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-neu-pr {
    display: grid;
    gap: 5px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.dashboard-neu-pr span,
.dashboard-neu-pr small {
    color: #aebcb6;
}

.dashboard-neu-pr strong {
    color: #ffffff;
}

.dashboard-neu-cardio {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.dashboard-neu-cardio strong {
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
}

.dashboard-neu-cardio span,
.dashboard-neu-cardio small {
    color: #cad6d0;
}

.dashboard-neu-stat-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.dashboard-neu-stat-chips div {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid #2d3935;
    border-radius: 8px;
    background: #101615;
    padding: 9px;
}

.dashboard-neu-stat-chips span {
    min-width: 0;
    color: #aebcb6;
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.dashboard-neu-stat-chips strong {
    min-width: 0;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.dashboard-neu-umfang {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.dashboard-neu-umfang div {
    display: grid;
    gap: 6px;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.dashboard-neu-umfang span {
    min-width: 0;
    color: #aebcb6;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.dashboard-neu-umfang strong {
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
}

.dashboard-neu-koerperansicht {
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) minmax(190px, 0.85fr);
    gap: 12px;
    align-items: stretch;
}

.dashboard-neu-koerper-card {
    grid-column: span 2;
}

.dashboard-neu-koerperfiguren {
    display: grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    gap: 10px;
    min-height: 300px;
    min-width: 0;
    border: 1px solid #34423e;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 28%, rgba(215, 255, 79, 0.09), transparent 35%),
        #0f1514;
    overflow: hidden;
    padding: 8px;
}

.dashboard-neu-koerperseite {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.dashboard-neu-koerperseite svg {
    width: 100%;
    height: auto;
    max-height: 330px;
    align-self: center;
}

.dashboard-neu-koerperseite figcaption {
    color: #d7ff4f;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.koerper-hintergrund {
    fill: #101615;
    stroke: #26312d;
}

.koerper-basis {
    fill: #17221f;
    stroke: #60736d;
    stroke-width: 1.5;
}

.koerper-zone {
    stroke: rgba(255, 255, 255, 0.24);
    stroke-width: 1;
    filter: drop-shadow(0 0 9px rgba(215, 255, 79, 0.16));
    opacity: 0.92;
}

.koerper-zone-weich {
    mix-blend-mode: screen;
}

.koerper-kontur {
    fill: none;
    stroke: #aebcb6;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.76;
}

.koerper-hals {
    opacity: 0.92;
}

.koerper-muskel-linie {
    fill: none;
    stroke: rgba(202, 214, 208, 0.42);
    stroke-width: 0.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-neu-koerperdaten {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
}

.dashboard-neu-koerperdaten > span {
    justify-self: start;
    border: 1px solid #50615c;
    border-radius: 999px;
    color: #d7ff4f;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 8px;
}

.dashboard-neu-koerperdaten strong,
.dashboard-neu-koerperdaten small {
    display: block;
    min-width: 0;
}

.dashboard-neu-koerperdaten small {
    color: #cad6d0;
    line-height: 1.35;
}

.dashboard-neu-koerperdaten ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-neu-koerperdaten li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 1px solid #2d3935;
    border-radius: 8px;
    background: #101615;
    padding: 9px;
}

.dashboard-neu-koerperdaten li span {
    min-width: 0;
    color: #aebcb6;
    overflow-wrap: anywhere;
}

.dashboard-neu-koerperdaten li strong {
    flex: 0 0 auto;
    color: #ffffff;
    text-align: right;
    white-space: nowrap;
}

.dashboard-neu-cockpit {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
    align-items: stretch;
}

.dashboard-neu-cockpit-bild,
.dashboard-neu-display,
.dashboard-neu-chart-card {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #101615;
}

.dashboard-neu-cockpit-bild {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.dashboard-neu-cockpit-bild img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.dashboard-neu-cockpit-bild::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(7, 17, 15, 0.08), rgba(7, 17, 15, 0.72));
}

.dashboard-neu-cockpit-bild > div {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 6px;
}

.dashboard-neu-cockpit-bild span,
.dashboard-neu-display header > span {
    color: #d7ff4f;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-neu-cockpit-bild strong {
    color: #ffffff;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1;
}

.dashboard-neu-display {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
    padding: 16px;
}

.dashboard-neu-display header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.dashboard-neu-display h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
}

.dashboard-neu-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.dashboard-neu-widget {
    display: grid;
    gap: 8px;
    min-width: 0;
    min-height: 150px;
    border: 1px solid #2d3935;
    border-radius: 8px;
    background: #0f1514;
    padding: 12px;
}

.dashboard-neu-widget > span {
    color: #aebcb6;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-neu-widget strong {
    color: #ffffff;
    font-size: 25px;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.dashboard-neu-widget small {
    color: #cad6d0;
}

.dashboard-neu-titelzeile {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-width: 0;
}

.dashboard-neu-titelzeile span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dashboard-neu-hilfe {
    position: relative;
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border: 1px solid #50615c;
    border-radius: 999px;
    background: #101615;
    color: #d7ff4f;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 0;
    cursor: help;
}

.dashboard-neu-hilfe-wrap {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
}

.dashboard-neu-hilfe-text {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    padding: 10px 12px;
    border: 1px solid #d7ff4f;
    border-radius: 8px;
    background: #101615;
    color: #f2f7f5;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}

.dashboard-neu-hilfe:hover,
.dashboard-neu-hilfe:focus-visible,
.dashboard-neu-hilfe.ist-offen {
    border-color: #d7ff4f;
    background: #182015;
    outline: none;
}

.dashboard-neu-hilfe-wrap:hover .dashboard-neu-hilfe-text,
.dashboard-neu-hilfe:focus-visible + .dashboard-neu-hilfe-text,
.dashboard-neu-hilfe.ist-offen + .dashboard-neu-hilfe-text {
    display: block;
}

.dashboard-neu-widget-ring {
    position: relative;
}

.dashboard-neu-widget-ring > .dashboard-neu-hilfe-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
}

.dashboard-neu-widget-ring {
    grid-row: span 2;
    align-content: center;
}

.dashboard-neu-widget-ring .dashboard-neu-stat-chips {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 4px;
}

.dashboard-neu-widget-linie {
    grid-column: span 2;
}

.dashboard-neu-widget-bars,
.dashboard-neu-widget-muskel {
    grid-column: span 2;
}

.dashboard-neu-widget-pr {
    align-content: space-between;
}

.dashboard-neu-widget-pr strong {
    color: #d7ff4f;
    font-size: 34px;
}

.dashboard-neu-donut {
    display: grid;
    width: min(100%, 170px);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #0f1514 0 55%, transparent 56%),
        conic-gradient(#d7ff4f calc(var(--dashboard-neu-prozent) * 1%), #25312d 0);
    text-align: center;
}

@media (max-width: 1180px) {
    .analyse-filter,
    .dashboard-neu-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analyse-schnellwahl,
    .dashboard-neu-schnellwahl {
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    }

    .analyse-filter > button,
    .dashboard-neu-filter > button {
        grid-column: 1 / -1;
        justify-self: end;
        width: min(220px, 100%);
    }

    .dashboard-neu-cockpit {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-neu-cockpit-bild,
    .dashboard-neu-cockpit-bild img {
        min-height: 360px;
    }

    .dashboard-neu-display-grid {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }

    .dashboard-neu-widget-ring,
    .dashboard-neu-widget-linie,
    .dashboard-neu-widget-bars,
    .dashboard-neu-widget-muskel {
        grid-column: auto;
        grid-row: auto;
    }

    .dashboard-neu-widget-ring .dashboard-neu-stat-chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-neu-koerperansicht {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-neu-koerperfiguren {
        min-height: 240px;
    }
}

.dashboard-neu-donut strong {
    align-self: end;
    font-size: 34px;
}

.dashboard-neu-donut span,
.dashboard-neu-donut small {
    width: 70%;
    color: #cad6d0;
    font-size: 12px;
    line-height: 1.2;
}

.dashboard-neu-donut small {
    align-self: start;
    color: #aebcb6;
}

.dashboard-neu-linie {
    width: 100%;
    min-height: 150px;
}

.dashboard-neu-linie path {
    fill: none;
    stroke: #34423e;
    stroke-width: 2;
}

.dashboard-neu-linie polyline {
    fill: none;
    stroke: #d7ff4f;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-neu-linie circle {
    fill: #9ce6ff;
    stroke: #0f1514;
    stroke-width: 2;
}

.dashboard-neu-mini-balken {
    display: grid;
    grid-template-columns: repeat(12, minmax(8px, 1fr));
    gap: 6px;
    align-items: end;
    min-height: 130px;
}

.dashboard-neu-mini-balken span {
    display: grid;
    gap: 6px;
    height: 100%;
    align-items: end;
    min-width: 0;
}

.dashboard-neu-mini-balken i {
    display: block;
    width: 100%;
    min-height: 3px;
    border-radius: 999px 999px 3px 3px;
    background: linear-gradient(180deg, #7dd3fc, #d7ff4f);
}

.dashboard-neu-mini-balken small {
    color: #aebcb6;
    font-size: 10px;
    text-align: center;
}

.dashboard-neu-muskel-mini {
    display: grid;
    gap: 9px;
}

.dashboard-neu-muskel-mini div {
    display: grid;
    grid-template-columns: minmax(86px, 0.75fr) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.dashboard-neu-muskel-mini span {
    min-width: 0;
    color: #cad6d0;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.dashboard-neu-muskel-mini i {
    display: block;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #26312d;
}

.dashboard-neu-muskel-mini b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d7ff4f, #2dd4bf);
}

.dashboard-neu-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 14px;
}

.dashboard-neu-chart-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
    padding: 14px;
}

.dashboard-neu-chart-card-breit {
    grid-column: 1 / -1;
}

.dashboard-neu-chart-card header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: end;
}

.dashboard-neu-chart-card header span {
    color: #aebcb6;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-neu-chart-card header strong {
    grid-row: span 2;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
}

.dashboard-neu-chart-card header small {
    min-width: 0;
    color: #cad6d0;
    overflow-wrap: anywhere;
}

.dashboard-neu-gewicht-chart {
    display: grid;
    gap: 10px;
}

.dashboard-neu-gewicht-chart svg {
    width: 100%;
    min-height: 230px;
    border: 1px solid #2d3935;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(215, 255, 79, 0.04), transparent 45%),
        #0f1514;
}

.dashboard-neu-gewicht-raster,
.dashboard-neu-gewicht-achse {
    stroke: #34423e;
    stroke-width: 1.2;
}

.dashboard-neu-gewicht-achse {
    stroke: #50615c;
}

.dashboard-neu-gewicht-chart polyline {
    fill: none;
    stroke: #d7ff4f;
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.dashboard-neu-gewicht-chart polyline[data-index="1"] {
    stroke: #2dd4bf;
}

.dashboard-neu-gewicht-chart polyline[data-index="2"] {
    stroke: #7dd3fc;
}

.dashboard-neu-gewicht-chart polyline[data-index="3"] {
    stroke: #facc15;
}

.dashboard-neu-gewicht-chart polyline[data-index="4"] {
    stroke: #f97316;
}

.dashboard-neu-gewicht-chart text {
    fill: #aebcb6;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-neu-gewicht-woche {
    text-anchor: middle;
}

.dashboard-neu-gewicht-legende {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-neu-gewicht-legende span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
    color: #cad6d0;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dashboard-neu-gewicht-legende i {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 999px;
    background: #d7ff4f;
}

.dashboard-neu-gewicht-legende i[data-index="1"] {
    background: #2dd4bf;
}

.dashboard-neu-gewicht-legende i[data-index="2"] {
    background: #7dd3fc;
}

.dashboard-neu-gewicht-legende i[data-index="3"] {
    background: #facc15;
}

.dashboard-neu-gewicht-legende i[data-index="4"] {
    background: #f97316;
}

.dashboard-neu-rankingliste {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-neu-rankingliste li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #2d3935;
    padding-bottom: 8px;
}

.dashboard-neu-rankingliste strong,
.dashboard-neu-rankingliste span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dashboard-neu-rankingliste strong {
    color: #ffffff;
}

.dashboard-neu-rankingliste span {
    flex: 0 0 auto;
    color: #d7ff4f;
    font-weight: 800;
}

.programm-form label {
    margin: 0;
}

/* Planeditor: lange Uebungsnamen muessen umbrechen, statt Aktionen zu ueberlagern. */
.plan-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.programm-uebersicht {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.programm-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #50615c;
    border-radius: 8px;
    background: #101615;
    padding: 12px;
}

.programm-card.ist-aktiv {
    border-color: #d7ff4f;
    background: #131b12;
}

.programm-aktiv-warnung {
    grid-column: 1 / -1;
    margin: 0;
}

.programm-aktionen,
.plan-tag-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.programm-aktionen {
    min-width: 150px;
}

.programm-aktionen button {
    width: 100%;
}

.programm-aktionen button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.plan-tag-card {
    display: grid;
    gap: 12px;
    width: 100%;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 14px;
    min-width: 0;
}

.plan-tag-card.ist-inaktiv {
    background: #101615;
}

.plan-tag-kopf {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.plan-tag-kopf > div {
    min-width: 0;
}

.plan-uebungsliste {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-uebungsliste li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(108px, auto);
    gap: 14px;
    align-items: center;
    border: 1px solid #2d3935;
    border-radius: 6px;
    background: #101615;
    padding: 12px;
    min-width: 0;
}

.plan-uebung-text {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.plan-uebung-text span,
.plan-uebung-text small,
.plan-tag-kopf h3,
.plan-tag-kopf .notiz {
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.25;
}

.plan-uebungsliste small {
    display: block;
    color: #aebcb6;
}

.plan-uebungsliste button {
    align-self: start;
    justify-self: end;
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
}

.plan-uebung-hinzufuegen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.plan-uebung-hilfe {
    grid-column: 1 / -1;
    margin: -2px 0 0;
    color: #aebcb6;
    font-size: 13px;
    line-height: 1.35;
}

.bibliothek-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 16px;
}

.bibliothek-layout:not(.formular-offen) {
    grid-template-columns: minmax(0, 1fr);
}

.uebung-form,
.bibliothek-liste-panel {
    display: grid;
    gap: 12px;
    align-content: start;
}

.uebung-form[hidden] {
    display: none;
}

.uebung-form {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #111716;
    padding: 14px;
}

.uebung-form[data-modus="bearbeiten"] {
    border-color: #9ce6ff;
    box-shadow: 0 0 0 1px rgba(156, 230, 255, 0.22);
}

.formular-kopf,
.bestand-kopf {
    border-bottom: 1px solid #34423e;
    padding-bottom: 10px;
}

.formular-kopf h3,
.bestand-kopf h3 {
    margin: 0;
}

.bibliothek-suche {
    display: flex;
    gap: 10px;
}

.bibliothek-suche input {
    flex: 1;
}

.uebungsliste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    max-height: 680px;
    overflow: auto;
    padding-right: 4px;
}

.bibliothek-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    border: 1px solid #34423e;
    border-radius: 8px;
    background: #141b19;
    padding: 12px;
}

.bibliothek-card h3 {
    margin-bottom: 8px;
}

.uebung-foto,
.session-uebung-foto {
    display: block;
    width: 100%;
    border: 1px solid #34423e;
    border-radius: 6px;
    object-fit: cover;
    background: #0f1312;
}

.uebung-foto {
    aspect-ratio: 1;
}

.session-uebung-foto {
    width: min(100%, 260px);
    aspect-ratio: 4 / 3;
    margin: 8px 0;
}

.uebung-foto.platzhalter {
    display: grid;
    place-items: center;
    color: #aebcb6;
    font-size: 13px;
    text-align: center;
}

.meta-zeile {
    margin: 8px 0;
    color: #9ce6ff;
    font-size: 13px;
}

.herkunft-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-left: 6px;
    border: 1px solid rgba(156, 230, 255, 0.44);
    border-radius: 999px;
    padding: 2px 7px;
    color: #d7fff3;
    background: rgba(19, 82, 75, 0.45);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    vertical-align: middle;
}

.herkunft-chip[data-herkunft="eigene"] {
    border-color: rgba(251, 191, 36, 0.52);
    background: rgba(120, 81, 26, 0.42);
    color: #ffe7b0;
}

.bestand-status {
    margin: 8px 0;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.bestand-status.bearbeitbar {
    border: 1px solid rgba(156, 230, 255, 0.45);
    background: rgba(156, 230, 255, 0.08);
    color: #c9f3ff;
}

.bestand-status.vorlage {
    border: 1px solid rgba(255, 209, 102, 0.4);
    background: rgba(255, 209, 102, 0.08);
    color: #ffe4a3;
}

.bestand-status.entwurf {
    border: 1px solid rgba(255, 209, 102, 0.55);
    background: rgba(255, 209, 102, 0.12);
    color: #fff0c2;
}

.foto-upload {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #50615c;
    border-radius: 6px;
    color: #f2f5f1;
    padding: 0 14px;
    cursor: pointer;
}

.foto-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1320px) {
    .bereich-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        border-bottom: 0;
        margin-bottom: 14px;
        padding-bottom: 0;
        overflow: visible;
    }

    .bereich-tabs-gruppe {
        min-width: 0;
    }

    .bereich-tabs-gruppe-aktionen {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
        gap: 6px;
    }

    .bereich-tabs button {
        width: 100%;
        min-height: 42px;
        border: 1px solid #34423e;
        border-radius: 6px;
        justify-content: flex-start;
        padding: 0 12px;
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 980px) {
    .bereich-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .landing-nav {
        position: static;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .landing-nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-top: 2px;
    }

    .landing-nav-cta {
        min-height: 38px;
        padding: 8px 12px;
    }

    .landing-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        background-image:
            linear-gradient(180deg, rgba(7, 17, 15, 0.96) 0%, rgba(7, 17, 15, 0.82) 54%, rgba(7, 17, 15, 0.96) 100%),
            var(--landing-hero-bild);
        padding: 34px 16px 48px;
    }

    .landing-hero h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .landing-lead {
        font-size: 17px;
    }

    .landing-metriken {
        grid-template-columns: 1fr;
    }

    .landing-mobile-vorteile {
        display: grid;
        gap: 10px;
        margin: 30px 0 clamp(54px, 16vh, 96px);
    }

    .landing-mobile-vorteile span {
        border-top: 1px solid rgba(215, 255, 79, 0.42);
        color: #ffffff;
        font-size: 16px;
        font-weight: 900;
        line-height: 1.25;
        padding-top: 10px;
    }

    .landing-login-panel {
        width: 100%;
        justify-self: stretch;
    }

    .landing-feature-grid,
    .landing-merkmale-grid,
    .landing-trust-grid {
        grid-template-columns: 1fr;
    }

    .landing-ranking-band {
        padding: 20px;
    }

    .app-shell {
        display: block;
        min-height: 100dvh;
        padding: 10px;
    }

    .runner-panel {
        width: 100%;
        padding: 14px;
    }

    h1 {
        font-size: 24px;
    }

    .app-header,
    .session-kopf,
    .uebung-header,
    .erledigt-kompakt {
        display: grid;
    }

    .session-kopf > *,
    .uebung-header > * {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .session-kopf h2,
    .uebung-header h2,
    .session-kopf .kicker,
    .uebung-header .kicker,
    .uebung-header .notiz {
        overflow-wrap: anywhere;
    }

    .bereich-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        border-bottom: 0;
        margin-bottom: 14px;
        padding-bottom: 0;
        overflow: visible;
    }

    .bereich-tabs-gruppe {
        min-width: 0;
    }

    .bereich-tabs-gruppe-aktionen {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .bereich-tabs button {
        width: 100%;
        min-height: 42px;
        border: 1px solid #34423e;
        border-radius: 6px;
        justify-content: flex-start;
        padding: 0 12px;
        font-size: 15px;
        text-align: left;
        white-space: normal;
    }

    .bibliothek-panel,
    .historie-panel,
    .analyse-panel,
    .dashboard-neu-panel,
    .plan-editor-panel,
    .profil-panel,
    .bilder-panel,
    .profilseite-panel,
    .koerper-panel,
    .ranking-panel {
        padding: 12px;
    }

    .panel-kopf {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .panel-hinweis {
        max-width: 100%;
    }

    .katalog-neu-button {
        width: 100%;
        min-width: 0;
    }

    .toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        margin: 0 0 14px;
    }

    .toolbar > *,
    .ersatzleiste > *,
    .vorschlag-aktionen > * {
        width: 100%;
    }

    .analyse-filter,
    .analyse-grid,
    .analyse-kpi-grid,
    .dashboard-neu-filter,
    .dashboard-neu-grid,
    .dashboard-neu-kpis,
    .dashboard-neu-hero,
    .dashboard-neu-cockpit,
    .dashboard-neu-display-grid,
    .dashboard-neu-chart-grid,
    .dashboard-neu-rest,
    .dashboard-neu-rest ul,
    .dashboard-neu-umfang,
    .dashboard-neu-stat-chips,
    .dashboard-neu-koerperansicht {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-neu-koerper-card {
        grid-column: auto;
    }

    .dashboard-neu-chart-card .dashboard-neu-rest ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .analyse-schnellwahl,
    .dashboard-neu-schnellwahl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analyse-diagramm-breit,
    .dashboard-neu-karte-breit {
        grid-column: auto;
    }

    .analyse-rest,
    .analyse-rest-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .analyse-rest-status strong {
        font-size: 36px;
    }

    .analyse-balkenzeile {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .analyse-balkenzeile strong {
        text-align: left;
    }

    .analyse-wochenchart {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analyse-woche-saeule {
        height: 110px;
    }

    .dashboard-neu-hero img {
        min-height: 220px;
    }

    .dashboard-neu-hero h3 {
        font-size: 30px;
    }

    .dashboard-neu-cockpit-bild,
    .dashboard-neu-cockpit-bild img {
        min-height: 260px;
    }

    .dashboard-neu-display header {
        display: grid;
    }

    .dashboard-neu-koerperfiguren {
        grid-template-columns: repeat(2, minmax(96px, 1fr));
        min-height: 220px;
    }

    .dashboard-neu-koerperseite svg {
        max-height: 260px;
    }

    .dashboard-neu-widget,
    .dashboard-neu-widget-ring,
    .dashboard-neu-widget-linie,
    .dashboard-neu-widget-bars,
    .dashboard-neu-widget-muskel,
    .dashboard-neu-chart-card,
    .dashboard-neu-chart-card-breit {
        grid-column: auto;
        grid-row: auto;
    }

    .dashboard-neu-mini-balken {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .dashboard-neu-chart-card header {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-neu-chart-card header strong {
        grid-row: auto;
    }

    .dashboard-neu-woche-saeule {
        height: 110px;
    }

    .dashboard-neu-balkenzeile {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .dashboard-neu-balkenzeile strong {
        text-align: left;
    }

    .aktionsleiste > * {
        width: 100%;
    }

    .uebung-card .aktionsleiste {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .uebung-card .aktionsleiste button {
        min-height: 38px;
        font-size: 14px;
        line-height: 1.15;
        padding: 0 10px;
    }

    .uebung-card .aktionsleiste .rueckblick-hinweis {
        grid-column: 1 / -1;
    }

    .uebung-card .ersatzleiste input,
    .uebung-card .ersatzleiste select {
        min-height: 42px;
        font-size: 15px;
        padding: 8px 10px;
    }

    .ersatz-auswahl {
        grid-template-columns: minmax(0, 1fr);
    }

    .uebung-card .ersatzleiste button,
    .uebung-abschluss-button {
        min-height: 40px;
        font-size: 14px;
    }

    .mobile-aktive-uebung {
        position: sticky;
        top: 8px;
        z-index: 12;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        border: 1px solid #d7ff4f;
        border-radius: 8px;
        background: #172015;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
        padding: 12px;
    }

    .mobile-aktive-uebung h3 {
        margin: 2px 0 4px;
        color: #f7ffd5;
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .mobile-aktive-uebung .kicker,
    .mobile-aktive-uebung .notiz {
        margin: 0;
    }

    .mobile-aktive-uebung button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }

    .vorschlag-kopf,
    .vorschlag-card,
    .vorschlag-set-zeile {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .vorschlag-kopf-aktionen {
        justify-content: stretch;
    }

    .vorschlag-kopf-aktionen > * {
        width: 100%;
    }

    .vorschlag-panel {
        padding: 10px;
    }

    .vorschlag-card {
        padding: 10px;
    }

    .vorschlag-card > div,
    .vorschlag-set-zeile > div {
        width: 100%;
        min-width: 0;
    }

    .vorschlag-set-zeile {
        gap: 8px;
    }

    .vorschlag-set-zeile strong,
    .vorschlag-set-zeile span,
    .vorschlag-set-zeile small {
        overflow-wrap: anywhere;
        line-height: 1.25;
    }

    .vorschlag-aktionen {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .vorschlag-aktionen button {
        min-height: 38px;
        padding: 0 8px;
        font-size: 14px;
    }

    .uebung-notiz-box {
        grid-template-columns: 1fr;
    }

    .cardio-kopf,
    .cardio-felder {
        grid-template-columns: 1fr;
    }

    .cardio-kopf .autosave-status,
    .cardio-pausentimer,
    .cardio-ok {
        width: 100%;
    }

    .satz-tabelle-scroll {
        overflow: visible;
    }

    .satz-tabelle {
        display: block;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .satz-tabelle thead {
        display: none;
    }

    .satz-tabelle tbody {
        display: block;
        width: 100%;
    }

    .satz-tabelle tr:not(.plan-satz-detail) {
        display: grid;
        grid-template-columns: 40px repeat(4, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin: 0 0 10px;
        border: 1px solid #2d3935;
        border-radius: 8px;
        background: #101615;
        padding: 10px;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td {
        min-width: 0;
        border: 0;
        padding: 0;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td:first-child {
        grid-row: 1 / span 2;
        width: auto;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Satz"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Seite"] {
        grid-column: span 2;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Typ"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Ziel"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Pausentimer"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Pause"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Status"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Speichern"] {
        grid-column: 2 / -1;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="kg"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Wdh"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="RIR"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Ist Pause"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="OK"] {
        grid-column: span 2;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Ziel"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Pausentimer"],
    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Status"] {
        grid-column: 2 / -1;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Pausentimer"]::before {
        display: none;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: #aebcb6;
        font-size: 12px;
        font-weight: 700;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td:first-child::before {
        display: none;
    }

    .satz-tabelle .mini-input,
    .satz-tabelle .autosave-status,
    .satz-tabelle .satz-pausentimer,
    .satz-tabelle .satz-speichern-button {
        width: 100%;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Pausentimer"] {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .satz-tabelle tr:not(.plan-satz-detail) td[data-label="Pausentimer"] .satz-pausentimer {
        width: auto;
        min-width: 128px;
        max-width: 100%;
        padding-inline: 12px;
    }

    .satz-tabelle .check-label {
        justify-content: flex-start;
    }

    .plan-satz-detail {
        display: block;
        width: 100%;
        margin: 0 0 12px;
    }

    .satz-tabelle .plan-satz-detail td {
        display: block;
        width: 100%;
        border: 0;
        padding: 0;
        background: transparent;
    }

    .plan-satz-zeile {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
        border: 1px solid #2d3935;
        border-radius: 8px;
        padding: 12px;
        background: #111816;
        justify-items: stretch;
    }

    .plan-satz-zeile > * {
        min-width: 0;
    }

    .plan-satz-info {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 6px 8px;
        align-items: center;
    }

    .plan-satz-info .satz-typ {
        flex: 0 0 auto;
    }

    .plan-satz-info strong {
        display: block;
        flex: 0 0 100%;
        font-size: 16px;
        line-height: 1.15;
    }

    .plan-satz-info small {
        display: none;
    }

    .mobil-verstecken {
        display: none;
    }

    .plan-satz-zeile label {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        width: 100%;
        min-width: 0;
        gap: 6px;
        align-items: center;
    }

    .plan-satz-zeile input {
        min-height: 38px;
    }

    .zahl-stepper {
        display: flex;
        width: fit-content;
        min-width: 0;
        gap: 6px;
    }

    .plan-satz-detail .zahl-stepper input {
        flex: 0 0 76px;
        width: 76px;
        min-width: 76px;
    }

    .plan-satz-detail .zahl-stepper .stepper-button {
        flex: 0 0 62px;
    }

    .stepper-button {
        min-height: 38px;
        padding: 0 8px;
        font-size: 14px;
    }

    .plan-feld-pause {
        grid-column: 1;
    }

    .plan-feld-pause input {
        width: 100%;
        min-width: 76px;
    }

    .plan-satz-zeile .autosave-status {
        grid-column: 1;
        align-self: end;
        justify-self: stretch;
        display: flex;
        width: 100%;
        min-height: 38px;
    }

    .programm-form,
    .profil-form,
    .bilder-werkzeuge,
    .foto-ordner-form,
    .profilbild-form,
    .admin-sprach-form,
    .ranking-werkzeuge,
    .koerpermass-form,
    .kalorien-form,
    .kalorien-gespeichert-grid,
    .kalorien-ergebnis,
    .programm-card,
    .plan-tag-kopf,
    .plan-uebung-hinzufuegen,
    .bibliothek-layout,
    .bibliothek-card {
        grid-template-columns: 1fr;
    }

    .kalorien-ergebnis .kalorien-hinweis {
        grid-column: auto;
    }

    .kalorien-einheiten-hinweis {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .kalorien-einheiten-hinweis strong {
        width: fit-content;
    }

    .kalorien-optionskarten,
    .kalorien-optionskarten-aktivitaet {
        grid-template-columns: 1fr;
    }

    .kalorien-zielkarten {
        grid-template-columns: 1fr;
    }

    .kalorien-zielkarte {
        min-height: 0;
    }

    .bibliothek-layout,
    .uebungsliste,
    .ansicht-panel > *,
    .training,
    .uebungen-layout,
    .uebungsgruppe,
    .uebung-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .uebung-card > * {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .programm-card,
    .plan-tag-kopf {
        flex-direction: column;
    }

    .programm-aktionen,
    .plan-tag-status {
        width: 100%;
        justify-content: flex-start;
    }

    .uebungsliste {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .bibliothek-card {
        align-items: stretch;
    }

    .bibliothek-suche {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profil-sicherheit {
        grid-template-columns: 1fr;
    }

    .plan-uebungsliste li {
        grid-template-columns: 1fr;
    }

    .plan-uebungsliste button {
        justify-self: stretch;
        width: 100%;
    }

    .profilseite-kopf {
        grid-template-columns: 1fr;
    }

    .profilseite-karten,
    .profilseite-prs,
    .profilseite-karte dl div {
        grid-template-columns: 1fr;
    }

    .bilder-pagination {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bilder-pagination span,
    .ranking-pagination span {
        min-width: 0;
        order: -1;
    }

    .ranking-pagination {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .ranking-pagination button {
        width: 100%;
    }

    .profil-avatar-editor {
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 10px;
    }

    .profil-avatar-gross,
    .profil-avatar-gross-bild {
        width: 68px;
        height: 68px;
    }

    .profil-avatar-upload {
        margin: 0;
    }

    .profil-punkte {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .profil-punkte article {
        padding: 10px;
    }

    .profil-punkte strong {
        font-size: 22px;
    }

    .ranking-card {
        grid-template-columns: 42px minmax(0, 1fr) 86px;
        gap: 8px 10px;
        padding: 10px;
    }

    .ranking-tabs,
    .ranking-persoenlich {
        grid-template-columns: 1fr 1fr;
    }

    .ranking-gruppen-kopf,
    .ranking-gruppen-aktionen,
    .ranking-gruppen-aktionen form,
    .ranking-gruppen-einladung,
    .ranking-gruppen-pin {
        grid-template-columns: 1fr;
    }

    .ranking-gruppen-detailkarte header,
    .ranking-gruppen-mitglieder li {
        align-items: stretch;
        flex-direction: column;
    }

    .ranking-gruppen-mitglied-aktionen {
        justify-content: flex-start;
    }

    .ranking-card .avatar-mini,
    .ranking-card .avatar-platzhalter {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
    }

    .ranking-rang {
        grid-column: 2;
        grid-row: 1;
        width: fit-content;
        min-height: 28px;
        padding: 0 10px;
        font-size: 15px;
    }

    .ranking-card > div {
        grid-column: 2;
        grid-row: 2;
    }

    .ranking-punkte {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        font-size: 14px;
    }

    .ranking-card .ghost-button {
        grid-column: 3;
        grid-row: 2;
        min-height: 34px;
        padding: 0 8px;
    }

    .cms-layout {
        grid-template-columns: 1fr;
    }

    .cms-seiten-navigation {
        grid-template-columns: 1fr;
    }

    .admin-meldung-form,
    .admin-meldung-card,
    .admin-cms-seite-form,
    .admin-cms-seite-card,
    .admin-benutzer-card,
    .admin-benutzer-filter,
     .admin-datenschutz-form,
    .admin-detail-aktionen,
     .admin-detail-grid,
     .admin-detail-spalten {
         grid-template-columns: 1fr;
     }

    .admin-detail-aktionen {
        display: grid;
        justify-content: stretch;
    }

    .admin-detail-aktionen .notiz {
        max-width: none;
        text-align: left;
    }

    .admin-benutzer-buttons {
        grid-template-columns: 1fr;
    }

    .admin-benutzer-tabelle {
        min-width: 900px;
    }

    .admin-benutzer-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-meldung-card .aktionsleiste,
    .admin-cms-seite-card .aktionsleiste {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .admin-meldung-card button,
    .admin-cms-seite-card button,
    .admin-cms-seite-card a {
        width: 100%;
    }

    .koerpermass-form button,
    .koerpermass-card,
    .koerpermass-card button {
        width: 100%;
    }

    .koerpermass-card {
        grid-template-columns: 1fr;
    }

    .historie-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .historie-aktionen {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .historie-aktionen button {
        width: 100%;
    }

    .historie-werkzeuge {
        display: grid;
        grid-template-columns: 1fr;
    }

    .historie-werkzeuge button {
        width: 100%;
    }

    .erledigt-toggle-button {
        width: 100%;
    }

    .bibliothek-suche {
        display: grid;
    }
}
.uebung-kompakt-details {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    margin: 0.75rem 0;
}

.uebung-kompakt-details > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    font-weight: 700;
}

.uebung-kompakt-details > summary small {
    color: #aebcb6;
    font-size: 0.85rem;
    font-weight: 600;
}

.uebung-kompakt-details > .uebung,
.uebung-kompakt-details > .uebung-card {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0 0 8px 8px;
    margin: 0;
}

.uebung-saetze-details {
    border: 1px solid #34423e;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    margin: 0.75rem 0;
    overflow: hidden;
}

.uebung-saetze-details > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: #d7ff4f;
    font-weight: 700;
}

.uebung-saetze-details > summary small {
    color: #aebcb6;
    font-size: 0.85rem;
    font-weight: 600;
}

.uebung-saetze-details > .satz-tabelle-scroll,
.uebung-saetze-details > .cardio-liste {
    border-top: 1px solid #34423e;
    margin: 0;
}
