/* ==========================================
   07 – Praxis-Dashboard
   Therapietermin finden
   Version 2.0
   ========================================== */

#ttf-dashboard {
    --sage: #778F79;
    --sage-dark: #526D54;
    --sage-light: #EDF3EB;
    --blue: #36596E;
    --mauve: #8A829E;
    --mauve-dark: #6D617D;
    --mauve-light: #F1EDF5;
    --text: #344B58;
    --white: #FFFFFF;
    --border: #D8E2D6;
    --ice-blue: #EAF3F6;
    --soft-white: #F7FAF6;

    position: relative;
    overflow: hidden;
    background: var(--sage-light);
    color: var(--text);
    padding: 45px 30px;
    border-radius: 22px;
    font-family: inherit;
}

#ttf-dashboard * {
    box-sizing: border-box;
}

body:has(#ttf-dashboard) .entry-header {
    display: none;
}


/* ==========================================
   01 – Dekorative Kreislinien
   ========================================== */

#ttf-dashboard::before,
#ttf-dashboard::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(119,143,121,.25);
    border-radius: 50%;
    pointer-events: none;
}

#ttf-dashboard::before {
    width: 550px;
    height: 550px;
    top: -350px;
    right: -120px;
}

#ttf-dashboard::after {
    width: 400px;
    height: 400px;
    bottom: -250px;
    left: -120px;
}

#ttf-dashboard .ttf-dash-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: auto;
}


/* ==========================================
   02 – Kopfbereich
   ========================================== */

#ttf-dashboard .ttf-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

#ttf-dashboard .ttf-dash-kicker {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-dark);
    font-weight: 600;
}

#ttf-dashboard h1 {
    color: var(--sage-dark);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin: 12px 0;
}

#ttf-dashboard h2 {
    color: var(--blue);
    font-size: 27px;
    margin: 0 0 12px;
}

#ttf-dashboard p {
    line-height: 1.65;
    margin: 0 0 12px;
}

#ttf-dashboard .ttf-dash-avatar {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--sage-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==========================================
   03 – Icons
   ========================================== */

#ttf-dashboard svg {
    display: block;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
}


/* ==========================================
   04 – Begrüßung
   ========================================== */

#ttf-dashboard .ttf-dash-welcome {
    margin-bottom: 25px;
}


/* ==========================================
   05 – Bisheriger Praxisstatus
   ========================================== */

#ttf-dashboard .ttf-dash-status {
    background: var(--white);
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 30px;
}

#ttf-dashboard .ttf-dash-status h3 {
    font-size: 19px;
    color: var(--sage-dark);
    margin: 0 0 12px;
}


/* ==========================================
   06 – Dashboard-Kacheln
   ========================================== */

#ttf-dashboard .ttf-dash-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

#ttf-dashboard .ttf-dash-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 25px;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    margin: 0 !important;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

#ttf-dashboard a.ttf-dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52,75,88,.09);
    border-color: var(--sage);
}

#ttf-dashboard a:focus-visible,
#ttf-dashboard button:focus-visible,
#ttf-dashboard input:focus-visible {
    outline: 3px solid var(--sage-dark);
    outline-offset: 4px;
}

#ttf-dashboard .ttf-dash-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--sage-dark);
}

#ttf-dashboard .ttf-dash-card h3 {
    color: var(--sage-dark);
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 10px;
}

#ttf-dashboard .ttf-dash-card p {
    font-size: 15px;
    margin-bottom: 18px;
}

#ttf-dashboard .ttf-dash-action {
    margin-top: auto;
    color: var(--sage-dark);
    font-size: 13px;
    font-weight: 600;
}

#ttf-dashboard .ttf-dash-pending {
    margin-top: auto;
    color: #657267;
    font-size: 12px;
}


/* ==========================================
   07 – Persönliches Praxissekretariat
   ========================================== */

#ttf-dashboard .ttf-dash-service {
    background: var(--mauve-light);
    border-color: #DED5E5;
}

#ttf-dashboard .ttf-dash-service .ttf-dash-icon {
    background: #E5DDEB;
    color: var(--mauve-dark);
}

#ttf-dashboard .ttf-dash-service h3,
#ttf-dashboard .ttf-dash-service .ttf-dash-action {
    color: var(--mauve-dark);
}


/* ==========================================
   08 – Dynamisches Praxis-Dashboard
   ========================================== */

#ttf-dashboard .ttf-dyn-dashboard {
    width: 100%;
    min-width: 0;
    margin: 0 0 30px;
}

#ttf-dashboard .ttf-dyn-praxis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

#ttf-dashboard .ttf-dyn-praxis:last-child {
    margin-bottom: 0;
}

#ttf-dashboard .ttf-dyn-praxis >
.ttf-dyn-box:first-child {
    grid-column: 1 / -1;
}

#ttf-dashboard .ttf-dyn-box {
    position: relative;
    min-width: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin: 0;
    overflow-wrap: anywhere;
}

#ttf-dashboard .ttf-dyn-box h3 {
    color: var(--sage-dark);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
    margin: 8px 0 20px;
}

#ttf-dashboard .ttf-dyn-box h4 {
    color: var(--sage-dark);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px;
}

#ttf-dashboard .ttf-dyn-kicker {
    display: block;
    color: var(--sage-dark);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}


/* ==========================================
   09 – Dynamische Informationszeilen
   ========================================== */

#ttf-dashboard .ttf-dyn-zeile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
    font-size: 14px;
}

#ttf-dashboard .ttf-dyn-zeile:last-child {
    border-bottom: 0;
}

#ttf-dashboard .ttf-dyn-zeile span {
    color: var(--text);
    flex: 1;
    min-width: 0;
}

#ttf-dashboard .ttf-dyn-zeile strong {
    color: var(--sage-dark);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    overflow-wrap: anywhere;
}


/* ==========================================
   10 – Leistungspaket und Mitgliedspreis
   ========================================== */

#ttf-dashboard .ttf-dyn-preisbox {
    background: var(--sage-light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin: 0 0 18px;
}

#ttf-dashboard .ttf-dyn-preis {
    color: var(--sage-dark);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

#ttf-dashboard .ttf-dyn-preisbox > span {
    font-size: 14px;
    color: var(--sage-dark);
}

#ttf-dashboard .ttf-dyn-altpreis {
    display: block;
    color: #657267;
    font-size: 17px;
    text-decoration: line-through;
    margin-bottom: 5px;
}

#ttf-dashboard .ttf-dyn-badge {
    display: table;
    width: fit-content;
    max-width: 100%;
    color: var(--sage-dark);
    background: #DCE8DA;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 13px;
}


/* ==========================================
   11 – Persönlicher Treuerabatt
   ========================================== */

#ttf-dashboard .ttf-dyn-rabatt {
    position: relative;
    padding: 20px;
    margin-top: 22px;
    margin-bottom: 15px;
    background: var(--sage-light);
    border: 1px solid var(--border);
    border-left: 3px solid var(--sage);
    border-radius: 12px;
}

#ttf-dashboard .ttf-dyn-rabatt h4 {
    color: var(--sage-dark);
    margin: 0 0 10px;
}

#ttf-dashboard .ttf-dyn-rabatt .ttf-dyn-zeile {
    font-size: 13px;
    padding: 10px 0;
}


/* ==========================================
   12 – Mitglieder werben Mitglieder
   ========================================== */

#ttf-dashboard .ttf-dyn-empfehlung {
    background: var(--white);
    overflow: hidden;
}

#ttf-dashboard .ttf-dyn-empfehlung::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -145px;
    right: -80px;
    border: 1px solid rgba(119,143,121,.22);
    border-radius: 50%;
    pointer-events: none;
}

#ttf-dashboard .ttf-dyn-empfehlung::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: -105px;
    right: -75px;
    border: 1px solid rgba(119,143,121,.16);
    border-radius: 50%;
    pointer-events: none;
}

#ttf-dashboard .ttf-dyn-empfehlung > * {
    position: relative;
    z-index: 1;
}

#ttf-dashboard .ttf-dyn-werbepreis {
    color: var(--sage-dark);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

#ttf-dashboard .ttf-dyn-empfehlung > p {
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================
   13 – Verfügbares Wertguthaben
   ========================================== */

#ttf-dashboard .ttf-dyn-guthaben {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: var(--sage-light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 23px;
    margin: 22px 0 14px;
}

#ttf-dashboard .ttf-dyn-guthaben span {
    color: var(--sage-dark);
    font-size: 13px;
}

#ttf-dashboard .ttf-dyn-guthaben strong {
    color: var(--sage-dark);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}


/* ==========================================
   14 – Empfehlungslink
   Vorbereitung für spätere Freischaltung
   ========================================== */

#ttf-dashboard .ttf-dyn-linkbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--soft-white);
    padding: 16px;
    margin: 20px 0;
}

#ttf-dashboard .ttf-dyn-linkbox label {
    color: var(--sage-dark);
    font-size: 13px;
    font-weight: 600;
}

#ttf-dashboard .ttf-dyn-linkbox input {
    width: 100%;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: var(--text);
}

#ttf-dashboard .ttf-dyn-copy {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    min-height: 42px;
    background: var(--sage-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

#ttf-dashboard .ttf-dyn-copy:hover {
    background: #405B42;
}


/* ==========================================
   15 – Guthabenbuchungen
   Vorbereitung für spätere Anzeige
   ========================================== */

#ttf-dashboard .ttf-dyn-buchungen {
    margin-top: 25px;
}

#ttf-dashboard .ttf-dyn-buchung {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

#ttf-dashboard .ttf-dyn-buchung:last-child {
    border-bottom: none;
}

#ttf-dashboard .ttf-dyn-buchung-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

#ttf-dashboard .ttf-dyn-buchung-info strong {
    color: var(--text);
    font-size: 14px;
}

#ttf-dashboard .ttf-dyn-buchung-info span {
    font-size: 12px;
    color: #657267;
}

#ttf-dashboard .ttf-dyn-buchung-betrag {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#ttf-dashboard .ttf-dyn-buchung-plus {
    color: var(--sage-dark);
}

#ttf-dashboard .ttf-dyn-buchung-minus {
    color: var(--mauve-dark);
}


/* ==========================================
   16 – Hinweise und Kleingedrucktes
   ========================================== */

#ttf-dashboard .ttf-dyn-hinweis {
    background: var(--ice-blue);
    color: var(--blue);
    border-left: 3px solid #648B96;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.7;
}

#ttf-dashboard .ttf-dyn-kleingedruckt {
    color: #657267;
    font-size: 11px !important;
    line-height: 1.7;
    margin: 18px 0 0;
}


/* ==========================================
   17 – Dynamische Schaltflächen
   ========================================== */

#ttf-dashboard .ttf-dyn-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    min-height: 44px;
    max-width: 100%;
    border: 1px solid var(--sage-dark);
    border-radius: 9px;
    background: var(--sage-dark);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 20px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

#ttf-dashboard .ttf-dyn-button:hover {
    background: #405B42;
    border-color: #405B42;
    color: var(--white);
    transform: translateY(-1px);
}

#ttf-dashboard .ttf-dyn-button-secondary {
    background: var(--white);
    border: 1px solid var(--sage);
    color: var(--sage-dark);
}

#ttf-dashboard .ttf-dyn-button-secondary:hover {
    background: var(--sage-light);
    color: var(--sage-dark);
}


/* ==========================================
   18 – Online-Kündigung
   Vorbereitung für spätere Vertragsverwaltung
   ========================================== */

#ttf-dashboard .ttf-dyn-kuendigung {
    color: #657267;
    background: transparent;
    border: none;
    padding: 10px 0;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

#ttf-dashboard .ttf-dyn-kuendigung:hover {
    color: var(--text);
}

#ttf-dashboard .ttf-dyn-treueangebot {
    border: 1px solid var(--border);
    background: var(--sage-light);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    margin: 20px 0;
}

#ttf-dashboard .ttf-dyn-treueangebot h3 {
    color: var(--sage-dark);
}

#ttf-dashboard .ttf-dyn-treueangebot-rabatt {
    color: var(--sage-dark);
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 600;
    line-height: 1.2;
    margin: 15px 0;
}

#ttf-dashboard .ttf-dyn-treueangebot-preis {
    color: var(--sage-dark);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

#ttf-dashboard .ttf-dyn-treueangebot .ttf-dyn-button {
    width: 100%;
}


/* ==========================================
   19 – Fußbereich
   ========================================== */

#ttf-dashboard .ttf-dash-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

#ttf-dashboard .ttf-dash-footer a {
    color: var(--sage-dark);
    text-decoration: none;
}

#ttf-dashboard .ttf-dash-footer a:hover {
    text-decoration: underline;
}


/* ==========================================
   20 – Klassischer WordPress-Editor
   ========================================== */

#ttf-dashboard .ttf-dash-grid > p,
#ttf-dashboard .ttf-dash-grid > br {
    display: none !important;
}

#ttf-dashboard .ttf-dash-card > br,
#ttf-dashboard .ttf-dash-status > br,
#ttf-dashboard .ttf-dash-header > br,
#ttf-dashboard .ttf-dyn-praxis > br,
#ttf-dashboard .ttf-dyn-box > br,
#ttf-dashboard .ttf-dyn-zeile > br {
    display: none !important;
}

#ttf-dashboard .ttf-dash-card p br,
#ttf-dashboard .ttf-dash-welcome p br {
    display: none;
}

#ttf-dashboard .ttf-dyn-dashboard p:empty,
#ttf-dashboard .ttf-dyn-box p:empty {
    display: none;
}


/* ==========================================
   21 – Tablet-Darstellung
   ========================================== */

@media (max-width: 950px) {

    #ttf-dashboard {
        padding: 35px 22px;
    }

    #ttf-dashboard .ttf-dyn-praxis {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #ttf-dashboard .ttf-dyn-box {
        padding: 24px;
    }

}


/* ==========================================
   22 – Mobile Darstellung
   ========================================== */

@media (max-width: 650px) {

    #ttf-dashboard {
        padding: 30px 15px;
        border-radius: 15px;
    }

    #ttf-dashboard .ttf-dash-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #ttf-dashboard .ttf-dash-card {
        min-height: 190px;
        padding: 20px;
    }

    #ttf-dashboard .ttf-dash-avatar {
        width: 45px;
        height: 45px;
    }

    #ttf-dashboard .ttf-dash-status {
        padding: 20px;
    }

    #ttf-dashboard h2 {
        font-size: 23px;
    }

    #ttf-dashboard .ttf-dash-kicker {
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    #ttf-dashboard .ttf-dyn-praxis {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #ttf-dashboard .ttf-dyn-box {
        padding: 20px;
        border-radius: 15px;
    }

    #ttf-dashboard .ttf-dyn-box h3 {
        font-size: 21px;
    }

    #ttf-dashboard .ttf-dyn-zeile {
        gap: 10px;
        font-size: 13px;
    }

    #ttf-dashboard .ttf-dyn-zeile strong {
        max-width: 55%;
    }

    #ttf-dashboard .ttf-dyn-preisbox,
    #ttf-dashboard .ttf-dyn-guthaben,
    #ttf-dashboard .ttf-dyn-rabatt {
        padding: 18px;
    }

    #ttf-dashboard .ttf-dyn-button {
        display: flex;
        width: 100%;
    }

    #ttf-dashboard .ttf-dyn-treueangebot {
        padding: 18px;
    }

    #ttf-dashboard .ttf-dash-footer {
        font-size: 12px;
    }

}


/* ==========================================
   23 – Sehr kleine Smartphones
   ========================================== */

@media (max-width: 380px) {

    #ttf-dashboard {
        padding: 25px 10px;
    }

    #ttf-dashboard .ttf-dyn-box {
        padding: 16px;
    }

    #ttf-dashboard .ttf-dyn-zeile {
        flex-direction: column;
        gap: 4px;
    }

    #ttf-dashboard .ttf-dyn-zeile strong {
        max-width: 100%;
        text-align: left;
    }

    #ttf-dashboard .ttf-dyn-buchung {
        flex-wrap: wrap;
    }

}


/* ==========================================
   24 – Barrierearme Animationen
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    #ttf-dashboard *,
    #ttf-dashboard *::before,
    #ttf-dashboard *::after {
        transition: none !important;
        animation: none !important;
    }

    #ttf-dashboard a.ttf-dash-card:hover,
    #ttf-dashboard .ttf-dyn-button:hover {
        transform: none;
    }

}


/* ==========================================
   ENDE – SNIPPET 07
   Praxis-Dashboard
   Version 2.0
   ========================================== */

/* TTF 2.8.30 – konsistente Karten des dynamischen Praxis-Dashboards */
#ttf-dashboard .ttf-dyn-dashboard { width:100%; max-width:100%; min-width:0; }
#ttf-dashboard .ttf-dyn-praxis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:stretch; }
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box { min-width:0; width:100%; max-width:none; box-sizing:border-box; padding:25px; margin:0; background:#fff; border:1px solid #d8e3e7; border-radius:16px; box-shadow:0 3px 14px rgba(54,89,110,.045); }
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box:first-child {grid-column:1/-1;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-empfehlung {grid-column:1/-1;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box h3 {color:#36596e; font-size:clamp(19px,2vw,23px);line-height:1.35;margin:5px 0 15px;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box h4 {color:#36596e;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box p {line-height:1.6;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box .ttf-dyn-zeile {display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid #edf2f4;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box .ttf-dyn-zeile strong {text-align:right;color:#36596e;}
#ttf-dashboard .ttf-dyn-praxis .ttf-dyn-empfehlungsliste {max-width:100%;overflow-x:auto;}
#ttf-dashboard .ttf-dyn-praxis #ttf-referral-link {max-width:100%;width:100%;box-sizing:border-box;}
#ttf-dashboard .ttf-dyn-praxis > p {grid-column:1/-1;margin:0;}
#ttf-dashboard .ttf-dyn-praxis > p > .ttf-event-edit-link {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:9px;background:#36596e;color:#fff;text-decoration:none;font-weight:600;}
#ttf-dashboard .ttf-dyn-praxis > h3 {grid-column:1/-1;margin:0;padding:20px 24px;background:#fff;border:1px solid #d8e3e7;border-radius:14px;color:#36596e;font-size:21px;}
#ttf-dashboard .ttf-dyn-praxis > form, #ttf-dashboard .ttf-dyn-praxis > div:not(.ttf-dyn-box), #ttf-dashboard .ttf-dyn-praxis > section:not(.ttf-dyn-box) {min-width:0;max-width:100%;box-sizing:border-box;}
@media(max-width:760px){#ttf-dashboard .ttf-dyn-praxis{grid-template-columns:minmax(0,1fr);gap:15px;}#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box:first-child,#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-empfehlung{grid-column:1;}#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box{padding:20px 17px;}#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box .ttf-dyn-zeile{flex-direction:column;align-items:flex-start;gap:3px;}#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box .ttf-dyn-zeile strong{text-align:left;}}

/* 2.8.31 – Ruhige, zusammenhängende Verwaltungskarten */
#ttf-dashboard .ttf-dyn-praxis {grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box,
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-empfehlung {grid-column:1/-1;width:100%;margin:0;}
#ttf-dashboard .ttf-dyn-praxisaktionen {display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;}
#ttf-dashboard .ttf-dyn-praxisaktionen .ttf-dyn-button {margin:0;max-width:max-content;}
#ttf-dashboard .ttf-dyn-billing-card h3 {margin-top:0;}
#ttf-dashboard .ttf-dyn-billing-card form {display:inline-block;margin:12px 12px 0 0;}
#ttf-dashboard .ttf-dyn-billing-card form button {border:0;border-radius:9px;padding:12px 18px;background:#36596e;color:#fff;font-weight:600;cursor:pointer;}
#ttf-dashboard .ttf-dyn-billing-note {background:#eaf3f6;border-radius:10px;padding:15px 18px;color:#40576a;margin:15px 0 0;}
#ttf-dashboard .ttf-dyn-card-intro {margin:0 0 10px;color:#586e7b;}
#ttf-dashboard .ttf-dyn-secretary-card {overflow-x:auto;}
#ttf-dashboard .ttf-dyn-secretary-card > * {max-width:100%;}
#ttf-dashboard .ttf-dyn-secretary-card table {width:100%;}
#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box {padding:26px 30px;}
@media(max-width:650px){#ttf-dashboard .ttf-dyn-praxis > .ttf-dyn-box {padding:19px 16px;}#ttf-dashboard .ttf-dyn-praxisaktionen .ttf-dyn-button{max-width:100%;}}

/* 2.8.32: Praxisaktionen in einer Zeile, responsiv. */
#ttf-dashboard .ttf-dyn-praxisaktionen {display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;margin-top:18px;}
#ttf-dashboard .ttf-dyn-praxisaktionen .ttf-dyn-button {display:inline-flex;align-items:center;justify-content:center;margin:0;width:auto;max-width:100%;text-align:center;}
@media (max-width:600px) {#ttf-dashboard .ttf-dyn-praxisaktionen {flex-direction:column;align-items:stretch;}#ttf-dashboard .ttf-dyn-praxisaktionen .ttf-dyn-button {width:100%;max-width:100%;}}

/* 2.9.81 – Empfehlungskachel nach DOM-Verschiebung außerhalb #ttf-dashboard.
   Bewusst nur auf Dashboard-Seiten; Positionierung bleibt in 267 unverändert. */
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung {
  --sage:#778F79; --sage-dark:#526D54; --sage-light:#EDF3EB;
  --blue:#36596E; --text:#344B58; --border:#D8E2D6; --white:#fff;
  box-sizing:border-box; position:relative; isolation:isolate;
  width:100%; max-width:1200px; margin:24px auto !important;
  padding:30px 34px !important; background:#fff !important;
  border:1px solid #D8E2D6 !important; border-radius:18px !important;
  box-shadow:0 6px 24px rgba(54,89,110,.07);
  color:#344B58; overflow:hidden;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung::before,
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung::after {
  content:""; position:absolute; border:1px solid rgba(119,143,121,.18);
  border-radius:50%; pointer-events:none; z-index:0;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung::before {width:230px;height:230px;right:-90px;top:-150px;}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung::after {width:160px;height:160px;right:-50px;top:-100px;}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung > * {position:relative;z-index:1;}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-kicker {
  display:block;color:#526D54;font-size:12px;font-weight:700;
  letter-spacing:1.2px;text-transform:uppercase;margin-bottom:8px;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung > h3 {
  color:#36596E;font-size:clamp(23px,3vw,30px);line-height:1.25;margin:0 0 15px;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-werbepreis {
  color:#526D54;font-size:clamp(36px,5vw,48px);font-weight:700;
  line-height:1.1;margin:8px 0 12px;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung > p {line-height:1.65;margin:0 0 18px;}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-guthaben {
  display:flex;flex-direction:column;gap:7px;padding:20px 24px;
  margin:20px 0 14px;background:#EDF3EB;border:1px solid #D8E2D6;border-radius:14px;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-guthaben strong {
  font-size:26px;color:#36596E;line-height:1.2;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-zeile {
  display:flex;justify-content:space-between;align-items:baseline;
  gap:15px;padding:10px 0;border-bottom:1px solid #e8eff0;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-zeile strong {
  color:#36596E;text-align:right;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-empfehlungsliste {
  max-width:100%;overflow-x:auto;background:#F9FBFA !important;
  border-color:#D8E2D6 !important;margin:24px 0 !important;
}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung table {min-width:500px;}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung table th {background:#EDF3EB;color:#36596E;}
body:has(#ttf-dashboard) section.ttf-dyn-empfehlung table td {padding:10px;border-bottom:1px solid #e5ecee;}
@media(max-width:650px){
 body:has(#ttf-dashboard) section.ttf-dyn-empfehlung {padding:22px 18px !important;}
 body:has(#ttf-dashboard) section.ttf-dyn-empfehlung .ttf-dyn-zeile {flex-wrap:wrap;gap:4px;}
}
