* {
    box-sizing: border-box;
}

:root {
    --bg: #f6f6f2;
    --surface: #ffffff;
    --surface-soft: #fafaf7;
    --text: #242424;
    --muted: #6d6d68;
    --border: #deded7;
    --accent: #425b48;
    --accent-soft: #e9eee9;
    --danger: #9a3434;
    --warning: #8a6d2d;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.035);
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.045);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 22px 14px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.product {
    margin-top: 3px;
    font-size: 1.35rem;
    font-weight: 750;
}

.version {
    font-size: 0.78rem;
    color: var(--muted);
}

.main-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.main-nav a {
    white-space: nowrap;
    color: var(--text);
    text-decoration: none;
    padding: 12px 14px;
    border-bottom: 3px solid transparent;
    font-size: 0.93rem;
}

.main-nav a:hover {
    background: var(--surface-soft);
}

.main-nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 700;
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 22px 80px;
}

.hero {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin: 4px 0 8px;
    line-height: 1.05;
}

.hero p {
    color: var(--muted);
    max-width: 760px;
    line-height: 1.65;
    margin-bottom: 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 700;
}

.card,
.module-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    padding: 24px;
    margin-bottom: 20px;
}

.module-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.module-card {
    padding: 22px;
}

.module-card h2,
.card h2 {
    margin-top: 0;
}

.module-card p,
.card p {
    line-height: 1.65;
}

.status,
.mini-status,
.status-inline {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.status {
    padding: 8px 12px;
    white-space: nowrap;
}

.mini-status {
    padding: 5px 9px;
    margin-bottom: 12px;
    background: var(--surface-soft);
    color: var(--muted);
    border: 1px solid var(--border);
}

.status-work {
    background: var(--accent-soft);
    color: var(--accent);
}

.status-open {
    background: #f5eee2;
    color: var(--warning);
}

.status-inline {
    padding: 3px 8px;
}

.status-inline.ok {
    background: var(--accent-soft);
    color: var(--accent);
}

.status-inline.bad {
    background: #f7e7e7;
    color: var(--danger);
}

.field {
    margin-bottom: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    max-width: 720px;
}

label {
    display: block;
    font-weight: 650;
    margin-bottom: 7px;
}

input {
    width: 100%;
    max-width: 420px;
    font-size: 1rem;
    padding: 11px 12px;
    border: 1px solid #bdbdb7;
    border-radius: 10px;
    background: #fff;
}

button {
    border: 0;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 1rem;
    font-weight: 650;
    cursor: pointer;
    background: var(--accent);
    color: white;
}

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

.result-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    background: var(--surface-soft);
}

.caption {
    color: var(--muted);
    font-size: 0.85rem;
}

.big-value {
    font-size: 1.5rem;
    font-weight: 750;
    margin-top: 5px;
}

.number-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.number {
    min-width: 50px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px;
}

.number strong {
    display: block;
    font-size: 1.2rem;
}

.hint {
    color: var(--muted);
}

.error {
    border-color: #d3a2a2;
    color: var(--danger);
}

.hidden {
    display: none;
}

.status-list {
    margin: 0;
}

.status-list div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.status-list div:last-child {
    border-bottom: 0;
}

.status-list dt {
    color: var(--muted);
}

.status-list dd {
    margin: 0;
    font-weight: 650;
    text-align: right;
}

code {
    overflow-wrap: anywhere;
}

ul {
    line-height: 1.7;
}

@media (max-width: 720px) {
    .header-inner {
        align-items: start;
    }

    .hero {
        flex-direction: column;
        gap: 14px;
    }

    .status {
        align-self: flex-start;
    }
}

.button-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 700;
    background: var(--accent);
    color: white;
}

.notice {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}

.notice.success {
    background: var(--accent-soft);
    color: var(--accent);
}

.error-notice,
.error-text {
    color: var(--danger);
}

.error-notice {
    background: #f8eaea;
    border-color: #d8aaaa;
}

.hash code,
.hash-cell code {
    font-size: 0.76rem;
    overflow-wrap: anywhere;
}

.warning-box {
    margin: 20px 0;
    padding: 14px 16px;
    background: #f5eee2;
    border: 1px solid #dfceb0;
    border-radius: 12px;
    color: #6e5626;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--muted);
    font-size: 0.8rem;
}

/* M2 Numerologie visual prototype */

.numerology-hero {
    margin-bottom: 26px;
}

.numerology-input-card {
    border-top: 4px solid var(--accent);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 3px 0 0;
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button-secondary {
    background: var(--surface-soft);
    color: var(--text);
    border: 1px solid var(--border);
}

.numerology-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.kpi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.kpi-primary {
    background: linear-gradient(135deg, #334a39, #526c59);
    color: white;
    border-color: transparent;
}

.kpi-label {
    font-size: .76rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .7;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    margin: 8px 0 4px;
}

.kpi-value.small {
    font-size: 1.25rem;
    line-height: 1.35;
}

.kpi-note {
    font-size: .76rem;
    opacity: .65;
}

.numerology-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 18px;
    align-items: start;
}

.numerology-side {
    display: grid;
    gap: 18px;
}

.number-wheel-card {
    min-height: 660px;
}

.number-wheel-shell {
    display: grid;
    place-items: center;
    min-height: 500px;
    padding: 10px;
}

.number-wheel {
    width: min(100%, 560px);
    height: auto;
}

.wheel-orbit,
.wheel-inner {
    fill: none;
    stroke: #7e9484;
}

.wheel-orbit {
    stroke-width: 2.5;
}

.wheel-inner {
    stroke-width: 1.2;
    opacity: .45;
}

.wheel-axis {
    stroke: #78917f;
    stroke-width: 1.8;
    opacity: .55;
}

.wheel-axis.faint {
    opacity: .18;
    stroke-dasharray: 5 7;
}

.wheel-node circle {
    fill: #fff;
    stroke: #526c59;
    stroke-width: 2.2;
}

.wheel-node text {
    fill: #526c59;
    font-size: 22px;
    text-anchor: middle;
}

.wheel-pole {
    fill: #526c59;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.wheel-center-label {
    fill: #344b3a;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .08em;
}

.wheel-center-sub {
    fill: #738078;
    font-size: 12px;
}

.frequency-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}

.frequency-cell {
    border: 1px solid var(--border);
    border-radius: 12px;
    min-height: 72px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--surface-soft);
}

.frequency-cell.present {
    border-color: #9fb0a3;
    background: #eff4f0;
}

.frequency-cell.missing {
    opacity: .55;
}

.frequency-number {
    font-size: 1.5rem;
    font-weight: 800;
}

.frequency-count {
    font-size: .78rem;
    color: var(--muted);
}

.gsk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gsk-column {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: var(--surface-soft);
}

.gsk-title {
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 10px;
}

.gsk-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gsk-numbers span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    font-weight: 800;
    color: #8c918d;
}

.gsk-numbers span.is-present {
    color: #334a39;
    border-color: #7e9484;
    background: #e8efe9;
}

.gsk-numbers span.is-repeated {
    box-shadow: 0 0 0 3px rgba(82, 108, 89, .14);
}

.compact {
    margin-bottom: 0;
    font-size: .86rem;
}

.calculation-strip {
    display: grid;
    grid-template-columns: 1fr auto 1.5fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.calculation-strip > div:not(.calculation-arrow) {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.calculation-strip span {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    margin-bottom: 6px;
}

.calculation-strip strong {
    font-size: 1.25rem;
}

.calculation-arrow {
    color: var(--accent);
    font-size: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-tile {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background: var(--surface-soft);
}

.feature-index {
    font-size: .72rem;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: .08em;
}

.feature-tile h3 {
    margin: 7px 0 8px;
}

.feature-tile p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

@media (max-width: 950px) {
    .numerology-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .numerology-layout {
        grid-template-columns: 1fr;
    }

    .number-wheel-card {
        min-height: auto;
    }

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

@media (max-width: 620px) {
    .numerology-kpis {
        grid-template-columns: 1fr;
    }

    .calculation-strip {
        grid-template-columns: 1fr;
    }

    .calculation-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .feature-grid,
    .gsk-grid {
        grid-template-columns: 1fr;
    }
}

/* M2.1 central analysis input */

.module-launch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.module-launch {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
}

.module-launch:hover {
    border-color: #9fb0a3;
    background: #eff4f0;
}

.module-launch > span {
    color: var(--accent);
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .08em;
}

.module-launch > strong {
    font-size: 1.05rem;
    margin: 18px 0 7px;
}

.module-launch > small {
    color: var(--muted);
    line-height: 1.45;
}

.current-case-card {
    border-left: 4px solid var(--accent);
}

.current-case-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.current-case-main h2 {
    margin: 3px 0 0;
}

.button-link-secondary {
    background: var(--surface-soft);
    color: var(--text);
    border: 1px solid var(--border);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .module-launch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .module-launch-grid {
        grid-template-columns: 1fr;
    }

    .current-case-main {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* M3 example case + shared module context */

.example-hint {
    margin: 14px 0 0;
}

.module-context-results {
    margin-top: 20px;
}

.module-small-value {
    font-size: 1.05rem;
    line-height: 1.35;
}

.module-context-note {
    margin: 16px 0 0;
}

/* M3 Pentalogie */

.pentalogie-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.pentalogie-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
    align-items: start;
}

.pentalogie-side {
    display: grid;
    gap: 18px;
}

.p-visual-card {
    min-height: 760px;
}

.p-svg-wrap {
    display: grid;
    place-items: center;
    padding: 8px;
}

.p-svg {
    width: min(100%, 700px);
    height: auto;
}

.p-orbit {
    fill: #fbfcfa;
    stroke: #617a68;
    stroke-width: 2.5;
}

.p-inner {
    fill: none;
    stroke: #bac6bc;
    stroke-width: 1.5;
    stroke-dasharray: 7 8;
}

.p-pole {
    fill: #526c59;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
}

.p-node circle {
    fill: white;
    stroke: #b4bbb5;
    stroke-width: 2;
}

.p-node.present circle {
    fill: #e7efe9;
    stroke: #526c59;
    stroke-width: 3;
}

.p-node.repeated circle {
    fill: #d8e5db;
    stroke-width: 5;
}

.p-node-label {
    font-size: 22px;
    font-weight: 800;
    fill: #6d746e;
}

.p-node.present .p-node-label {
    fill: #2f4735;
}

.p-node-count {
    fill: #738078;
    font-size: 12px;
    font-weight: 700;
}

.p-active-axis {
    stroke: #a84a4a;
    stroke-width: 5;
    opacity: .72;
}

.p-active-trigon {
    fill: rgba(75, 103, 138, .08);
    stroke: #536f91;
    stroke-width: 4;
    opacity: .72;
}

.p-star-draft {
    fill: none;
    stroke: #95a49a;
    stroke-width: 1.5;
    stroke-dasharray: 7 8;
    opacity: .42;
}

.p-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: .78rem;
    color: var(--muted);
}

.p-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #8b968d;
}

.legend-dot.present {
    background: #e7efe9;
    border-color: #526c59;
}

.legend-dot.repeated {
    background: #d8e5db;
    border: 4px solid #526c59;
}

.legend-line {
    width: 28px;
    height: 0;
    border-top: 3px solid;
}

.legend-line.axis {
    border-color: #a84a4a;
}

.legend-line.trigon {
    border-color: #536f91;
}

.p-number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.p-number-cell {
    min-height: 72px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: .5;
}

.p-number-cell span {
    font-size: 1.45rem;
    font-weight: 800;
}

.p-number-cell strong {
    font-size: .75rem;
    color: var(--muted);
}

.p-number-cell.present {
    opacity: 1;
    background: #eff4f0;
    border-color: #9fb0a3;
}

.p-number-cell.repeated {
    box-shadow: inset 0 0 0 2px rgba(82, 108, 89, .18);
}

.pentagram-mini {
    max-width: 270px;
    margin: 0 auto 12px;
}

.pentagram-star {
    fill: rgba(82, 108, 89, .04);
    stroke: #526c59;
    stroke-width: 2;
    stroke-dasharray: 6 6;
}

.pentagram-ring {
    fill: none;
    stroke: #b9c1bb;
    stroke-width: 1.5;
}

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

.rule-list {
    display: grid;
    gap: 9px;
}

.rule-row {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: var(--surface-soft);
    opacity: .62;
}

.rule-row.active {
    opacity: 1;
    background: #eef4ef;
    border-color: #9fb0a3;
}

.rule-numbers {
    font-size: .95rem;
    font-weight: 800;
    color: var(--accent);
}

.rule-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rule-copy span {
    font-size: .75rem;
    color: var(--muted);
}

.rule-state {
    font-size: 1.1rem;
    color: var(--accent);
}

.source-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.source-status-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    background: var(--surface-soft);
}

.source-status-grid small {
    color: var(--muted);
    line-height: 1.45;
}

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

    .pentalogie-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    .dual-cards,
    .source-status-grid,
    .pentalogie-summary {
        grid-template-columns: 1fr;
    }

    .rule-row {
        grid-template-columns: 70px 1fr auto;
    }
}

/* M3.1 – sichtbare Belegung des Zahlenkreises */

.p-position-label {
    fill: #7b837d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.p-node-value {
    fill: #2f4735;
    font-size: 18px;
    font-weight: 900;
}

.p-node-empty {
    fill: #b4bbb5;
    font-size: 22px;
    font-weight: 500;
}

.p-node-overflow {
    fill: #526c59;
    font-size: 9px;
    font-weight: 800;
}

.p-count-badge {
    fill: #526c59;
    stroke: white;
    stroke-width: 2;
}

.p-count-badge-text {
    fill: white;
    font-size: 10px;
    font-weight: 900;
}

.p-node.missing circle {
    fill: #fbfcfa;
    stroke-dasharray: 4 4;
}

.p-node.present circle {
    fill: #edf4ef;
}

.p-node.repeated circle {
    fill: #dce9df;
    stroke-width: 4;
}

/* M3.2 – Numerologie-Zahlenkreis synchron + bessere Lesbarkeit */

.n-circle-node circle {
    fill: #ffffff;
    stroke: #526c59;
    stroke-width: 2.5;
}

.n-circle-node.missing circle {
    fill: #fbfcfa;
    stroke: #aeb8b0;
    stroke-dasharray: 5 5;
}

.n-circle-node.present circle {
    fill: #edf4ef;
}

.n-circle-node.repeated circle {
    fill: #dce9df;
    stroke-width: 4;
}

.n-circle-position {
    fill: #6f7b72;
    font-size: 13px;
    font-weight: 800;
}

.n-circle-value {
    fill: #2f4735;
    font-size: 21px;
    font-weight: 900;
}

.n-circle-empty {
    fill: #b0b8b2;
    font-size: 23px;
}

.n-circle-overflow {
    fill: #526c59;
    font-size: 10px;
    font-weight: 800;
}

.n-circle-badge {
    fill: #526c59 !important;
    stroke: #ffffff !important;
    stroke-width: 3 !important;
}

.n-circle-badge-text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

/* Pentalogie: kleine Häufigkeitskreise größer und lesbarer */
.p-count-badge {
    r: 15px;
    fill: #526c59;
    stroke: #ffffff;
    stroke-width: 3;
}

.p-count-badge-text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.p-position-label {
    font-size: 13px;
    font-weight: 900;
}

.p-node-value {
    font-size: 20px;
    font-weight: 900;
}

/* M3.3 – Datum/Zeit-Abgrenzung + Pentagramm */

.split-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
}

.legend-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f4f6f3;
    border: 1px solid #d9e0da;
    font-size: 13px;
    color: #47604f;
}

.legend-date {
    font-weight: 800;
}

.legend-time {
    font-style: italic;
}

.legend-total {
    color: #304638;
}

.frequency-split {
    font-size: 12px;
    color: #5d6f63;
}

.n-circle-position,
.p-position-label {
    fill: #6f7b72;
    font-size: 13px;
    font-weight: 900;
}

.n-circle-value-date,
.p-node-value-date {
    fill: #2f4735;
    font-size: 20px;
    font-weight: 900;
}

.n-circle-value-time,
.p-node-value-time {
    fill: #4f6757;
    font-size: 16px;
    font-style: italic;
}

.n-circle-empty,
.p-node-empty {
    fill: #b0b8b2;
    font-size: 23px;
}

.n-circle-badge,
.p-count-badge {
    fill: #526c59 !important;
    stroke: #ffffff !important;
    stroke-width: 3 !important;
}

.n-circle-badge-text,
.p-count-badge-text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.p-number-cell small {
    display: block;
    color: #5d6f63;
    margin-top: 6px;
    line-height: 1.35;
}

/* Pentagramm */

.p-pentagram-layout {
    display: grid;
    grid-template-columns: minmax(340px, 1.25fr) minmax(260px, .95fr);
    gap: 22px;
    align-items: start;
}

.p-pentagram-shell {
    border: 1px solid #d9e0da;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #fbfcfa 0%, #f2f6f3 100%);
}

#p-pentagram-svg {
    width: 100%;
    height: auto;
}

.p-pentagram-star {
    fill: rgba(119, 145, 126, 0.08);
    stroke: #748a79;
    stroke-width: 5;
}

.p-penta-node circle {
    fill: #fbfcfa;
    stroke: #526c59;
    stroke-width: 2.5;
}

.p-penta-node.present circle {
    fill: #edf4ef;
}

.p-penta-node.repeated circle {
    fill: #dce9df;
    stroke-width: 4;
}

.p-penta-node.missing circle {
    fill: #fbfcfa;
    stroke: #acb6ae;
    stroke-dasharray: 5 5;
}

.p-penta-label {
    fill: #68756b;
    font-size: 12px;
    font-weight: 900;
}

.p-penta-date {
    fill: #2f4735;
    font-size: 20px;
    font-weight: 900;
}

.p-penta-time {
    fill: #4f6757;
    font-size: 15px;
    font-style: italic;
}

.p-penta-empty {
    fill: #b0b8b2;
    font-size: 21px;
}

.p-penta-badge {
    fill: #526c59;
    stroke: #ffffff;
    stroke-width: 3;
}

.p-penta-badge-text {
    fill: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.p-pentagram-side {
    display: grid;
    gap: 14px;
}

.p-penta-summary {
    display: grid;
    gap: 10px;
}

.p-penta-stat {
    border: 1px solid #d9e0da;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f7f9f6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.p-penta-stat span {
    color: #66766b;
}

.p-penta-stat strong {
    color: #274032;
}

.p-penta-points {
    display: grid;
    gap: 10px;
}

.p-penta-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #d9e0da;
    background: #fafcf9;
}

.p-penta-row.active {
    background: #eef4ef;
    border-color: #c6d6c9;
}

.p-penta-row-no {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #7f9484;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #35503d;
    background: white;
}

.p-penta-row-copy strong {
    display: block;
    margin-bottom: 4px;
}

.p-penta-row-copy span {
    font-size: 13px;
    color: #607065;
}


.typus-detail-note {
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
    font-weight: 600;
}

/* M3.3 – Datum/Zeit-Abgrenzung + Pentagramm */

.split-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
}

.legend-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f4f6f3;
    border: 1px solid #d9e0da;
    font-size: 13px;
    color: #47604f;
}

.legend-date {
    font-weight: 800;
}

.legend-time {
    font-style: italic;
}

.legend-total {
    color: #304638;
}

.frequency-split {
    font-size: 12px;
    color: #5d6f63;
}

.n-circle-position,
.p-position-label {
    fill: #6f7b72;
    font-size: 13px;
    font-weight: 900;
}

.n-circle-value-date,
.p-node-value-date {
    fill: #2f4735;
    font-size: 20px;
    font-weight: 900;
}

.n-circle-value-time,
.p-node-value-time {
    fill: #4f6757;
    font-size: 16px;
    font-style: italic;
}

.n-circle-empty,
.p-node-empty {
    fill: #b0b8b2;
    font-size: 23px;
}

.n-circle-badge,
.p-count-badge {
    fill: #526c59 !important;
    stroke: #ffffff !important;
    stroke-width: 3 !important;
}

.n-circle-badge-text,
.p-count-badge-text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.p-number-cell small {
    display: block;
    color: #5d6f63;
    margin-top: 6px;
    line-height: 1.35;
}

/* Pentagramm */

.p-pentagram-layout {
    display: grid;
    grid-template-columns: minmax(340px, 1.25fr) minmax(260px, .95fr);
    gap: 22px;
    align-items: start;
}

.p-pentagram-shell {
    border: 1px solid #d9e0da;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #fbfcfa 0%, #f2f6f3 100%);
}

#p-pentagram-svg {
    width: 100%;
    height: auto;
}

.p-pentagram-star {
    fill: rgba(119, 145, 126, 0.08);
    stroke: #748a79;
    stroke-width: 5;
}

.p-penta-node circle {
    fill: #fbfcfa;
    stroke: #526c59;
    stroke-width: 2.5;
}

.p-penta-node.present circle {
    fill: #edf4ef;
}

.p-penta-node.repeated circle {
    fill: #dce9df;
    stroke-width: 4;
}

.p-penta-node.missing circle {
    fill: #fbfcfa;
    stroke: #acb6ae;
    stroke-dasharray: 5 5;
}

.p-penta-label {
    fill: #68756b;
    font-size: 12px;
    font-weight: 900;
}

.p-penta-date {
    fill: #2f4735;
    font-size: 20px;
    font-weight: 900;
}

.p-penta-time {
    fill: #4f6757;
    font-size: 15px;
    font-style: italic;
}

.p-penta-empty {
    fill: #b0b8b2;
    font-size: 21px;
}

.p-penta-badge {
    fill: #526c59;
    stroke: #ffffff;
    stroke-width: 3;
}

.p-penta-badge-text {
    fill: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.p-pentagram-side {
    display: grid;
    gap: 14px;
}

.p-penta-summary {
    display: grid;
    gap: 10px;
}

.p-penta-stat {
    border: 1px solid #d9e0da;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f7f9f6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.p-penta-stat span {
    color: #66766b;
}

.p-penta-stat strong {
    color: #274032;
}

.p-penta-points {
    display: grid;
    gap: 10px;
}

.p-penta-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #d9e0da;
    background: #fafcf9;
}

.p-penta-row.active {
    background: #eef4ef;
    border-color: #c6d6c9;
}

.p-penta-row-no {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #7f9484;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #35503d;
    background: white;
}

.p-penta-row-copy strong {
    display: block;
    margin-bottom: 4px;
}

.p-penta-row-copy span {
    font-size: 13px;
    color: #607065;
}


.typus-detail-note {
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
    font-weight: 600;
}


/* M3.4 – Pentagramm-Korrektur + Typus-Kontrast */
.p-pentagram-shell-plain {
    display: grid;
    place-items: center;
    min-height: 320px;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.6;
}

.p-pentagram-star {
    fill: none;
    stroke: #627c69;
    stroke-width: 2.2;
    stroke-dasharray: 6 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kpi-primary .typus-detail-note {
    color: rgba(255,255,255,0.92);
}

.typus-detail-note {
    margin-top: 6px;
    font-size: 0.96rem;
    line-height: 1.45;
    color: #4f6256;
    font-weight: 700;
}

/* M3.3 – Datum/Zeit-Abgrenzung + Pentagramm */

.split-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
}

.legend-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f4f6f3;
    border: 1px solid #d9e0da;
    font-size: 13px;
    color: #47604f;
}

.legend-date {
    font-weight: 800;
}

.legend-time {
    font-style: italic;
}

.legend-total {
    color: #304638;
}

.frequency-split {
    font-size: 12px;
    color: #5d6f63;
}

.n-circle-position,
.p-position-label {
    fill: #6f7b72;
    font-size: 13px;
    font-weight: 900;
}

.n-circle-value-date,
.p-node-value-date {
    fill: #2f4735;
    font-size: 20px;
    font-weight: 900;
}

.n-circle-value-time,
.p-node-value-time {
    fill: #4f6757;
    font-size: 16px;
    font-style: italic;
}

.n-circle-empty,
.p-node-empty {
    fill: #b0b8b2;
    font-size: 23px;
}

.n-circle-badge,
.p-count-badge {
    fill: #526c59 !important;
    stroke: #ffffff !important;
    stroke-width: 3 !important;
}

.n-circle-badge-text,
.p-count-badge-text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.p-number-cell small {
    display: block;
    color: #5d6f63;
    margin-top: 6px;
    line-height: 1.35;
}

/* Pentagramm */

.p-pentagram-layout {
    display: grid;
    grid-template-columns: minmax(340px, 1.25fr) minmax(260px, .95fr);
    gap: 22px;
    align-items: start;
}

.p-pentagram-shell {
    border: 1px solid #d9e0da;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #fbfcfa 0%, #f2f6f3 100%);
}

#p-pentagram-svg {
    width: 100%;
    height: auto;
}

.p-pentagram-star {
    fill: rgba(119, 145, 126, 0.08);
    stroke: #748a79;
    stroke-width: 5;
}

.p-penta-node circle {
    fill: #fbfcfa;
    stroke: #526c59;
    stroke-width: 2.5;
}

.p-penta-node.present circle {
    fill: #edf4ef;
}

.p-penta-node.repeated circle {
    fill: #dce9df;
    stroke-width: 4;
}

.p-penta-node.missing circle {
    fill: #fbfcfa;
    stroke: #acb6ae;
    stroke-dasharray: 5 5;
}

.p-penta-label {
    fill: #68756b;
    font-size: 12px;
    font-weight: 900;
}

.p-penta-date {
    fill: #2f4735;
    font-size: 20px;
    font-weight: 900;
}

.p-penta-time {
    fill: #4f6757;
    font-size: 15px;
    font-style: italic;
}

.p-penta-empty {
    fill: #b0b8b2;
    font-size: 21px;
}

.p-penta-badge {
    fill: #526c59;
    stroke: #ffffff;
    stroke-width: 3;
}

.p-penta-badge-text {
    fill: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.p-pentagram-side {
    display: grid;
    gap: 14px;
}

.p-penta-summary {
    display: grid;
    gap: 10px;
}

.p-penta-stat {
    border: 1px solid #d9e0da;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f7f9f6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.p-penta-stat span {
    color: #66766b;
}

.p-penta-stat strong {
    color: #274032;
}

.p-penta-points {
    display: grid;
    gap: 10px;
}

.p-penta-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #d9e0da;
    background: #fafcf9;
}

.p-penta-row.active {
    background: #eef4ef;
    border-color: #c6d6c9;
}

.p-penta-row-no {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #7f9484;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #35503d;
    background: white;
}

.p-penta-row-copy strong {
    display: block;
    margin-bottom: 4px;
}

.p-penta-row-copy span {
    font-size: 13px;
    color: #607065;
}


.typus-detail-note {
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
    font-weight: 600;
}


/* M3.4 – Pentagramm-Korrektur + Typus-Kontrast */
.p-pentagram-shell-plain {
    display: grid;
    place-items: center;
    min-height: 320px;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.6;
}

.p-pentagram-star {
    fill: none;
    stroke: #627c69;
    stroke-width: 2.2;
    stroke-dasharray: 6 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kpi-primary .typus-detail-note {
    color: rgba(255,255,255,0.92);
}

.typus-detail-note {
    margin-top: 6px;
    font-size: 0.96rem;
    line-height: 1.45;
    color: #4f6256;
    font-weight: 700;
}


/* M3.5 – Typus-Pentagramm nach Anleitung */
.legend-missing {
    color: #a13d3d;
    border-color: #e1c0c0;
    background: #fff6f6;
}

.p-type-position-circle {
    fill: #ffffff;
    stroke: #91a096;
    stroke-width: 1.5;
}

.p-type-position-label {
    fill: #78857c;
    font-size: 11px;
    font-weight: 800;
}

.p-type-value {
    font-size: 17px;
    letter-spacing: 0.02em;
}

.p-type-digit-date {
    fill: #263c2d;
    font-weight: 900;
    font-style: normal;
}

.p-type-digit-time {
    fill: #496351;
    font-weight: 500;
    font-style: italic;
}

.p-type-digit-both {
    fill: #263c2d;
    font-weight: 900;
    font-style: italic;
}

.p-type-digit-missing {
    fill: #b84242;
    font-weight: 800;
}

@media (max-width: 760px) {
    .p-type-value {
        font-size: 15px;
    }
}
/* M3.6 – Pentagramm größer, innere/äußere Positionen, fehlende Zahlen */
.p-pentagram-layout-large {
    grid-template-columns: minmax(520px, 1.45fr) minmax(300px, .75fr);
}

.p-pentagram-shell-large {
    min-height: 650px;
    padding: 18px;
}

#p-pentagram-svg {
    width: min(100%, 650px);
    height: auto;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.8;
}

.p-pentagram-star {
    fill: rgba(98, 124, 105, .035);
    stroke: #627c69;
    stroke-width: 2.8;
    stroke-dasharray: 7 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-type-position.outer .p-type-position-circle {
    fill: #ffffff;
    stroke: #819287;
    stroke-width: 2;
}

.p-type-position.inner .p-type-position-circle {
    fill: #f2f6f3;
    stroke: #819287;
    stroke-width: 1.8;
}

.p-type-position-label {
    fill: #6c7b70;
    font-size: 14px;
    font-weight: 900;
}

.p-type-value.outer {
    font-size: 23px;
}

.p-type-value.inner {
    font-size: 20px;
}

.p-missing-hints {
    margin-top: 4px;
}

.p-missing-hint-box {
    border: 1px solid #e2cccc;
    background: #fffafa;
    border-radius: 14px;
    padding: 15px;
}

.p-missing-hint-box > strong {
    color: #7c3434;
}

.p-missing-hint-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.p-missing-hint-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
}

.p-missing-hint-row > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b84242;
    color: white;
    font-weight: 900;
}

.p-missing-hint-row p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #5d4b4b;
}

@media (max-width: 1000px) {
    .p-pentagram-layout-large {
        grid-template-columns: 1fr;
    }

    .p-pentagram-shell-large {
        min-height: auto;
    }
}
/* M3.6 – Pentagramm größer, innere/äußere Positionen, fehlende Zahlen */
.p-pentagram-layout-large {
    grid-template-columns: minmax(520px, 1.45fr) minmax(300px, .75fr);
}

.p-pentagram-shell-large {
    min-height: 650px;
    padding: 18px;
}

#p-pentagram-svg {
    width: min(100%, 650px);
    height: auto;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.8;
}

.p-pentagram-star {
    fill: rgba(98, 124, 105, .035);
    stroke: #627c69;
    stroke-width: 2.8;
    stroke-dasharray: 7 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-type-position.outer .p-type-position-circle {
    fill: #ffffff;
    stroke: #819287;
    stroke-width: 2;
}

.p-type-position.inner .p-type-position-circle {
    fill: #f2f6f3;
    stroke: #819287;
    stroke-width: 1.8;
}

.p-type-position-label {
    fill: #6c7b70;
    font-size: 14px;
    font-weight: 900;
}

.p-type-value.outer {
    font-size: 23px;
}

.p-type-value.inner {
    font-size: 20px;
}

.p-missing-hints {
    margin-top: 4px;
}

.p-missing-hint-box {
    border: 1px solid #e2cccc;
    background: #fffafa;
    border-radius: 14px;
    padding: 15px;
}

.p-missing-hint-box > strong {
    color: #7c3434;
}

.p-missing-hint-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.p-missing-hint-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
}

.p-missing-hint-row > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b84242;
    color: white;
    font-weight: 900;
}

.p-missing-hint-row p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #5d4b4b;
}

@media (max-width: 1000px) {
    .p-pentagram-layout-large {
        grid-template-columns: 1fr;
    }

    .p-pentagram-shell-large {
        min-height: auto;
    }
}


/* M3.7 – Spannungsachsen und Trigone direkt im Typus-Pentagramm */

.p-pentagram-overlay-legend {
    margin-bottom: 10px;
}

.p-pentagram-active-axis {
    stroke: #a84a4a;
    stroke-width: 6;
    stroke-linecap: round;
    opacity: .78;
}

.p-pentagram-active-trigon {
    fill: rgba(75, 103, 138, .10);
    stroke: #536f91;
    stroke-width: 4;
    stroke-linejoin: round;
    opacity: .82;
}

#p-pentagram-values {
    position: relative;
    z-index: 3;
}
/* M3.6 – Pentagramm größer, innere/äußere Positionen, fehlende Zahlen */
.p-pentagram-layout-large {
    grid-template-columns: minmax(520px, 1.45fr) minmax(300px, .75fr);
}

.p-pentagram-shell-large {
    min-height: 650px;
    padding: 18px;
}

#p-pentagram-svg {
    width: min(100%, 650px);
    height: auto;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.8;
}

.p-pentagram-star {
    fill: rgba(98, 124, 105, .035);
    stroke: #627c69;
    stroke-width: 2.8;
    stroke-dasharray: 7 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-type-position.outer .p-type-position-circle {
    fill: #ffffff;
    stroke: #819287;
    stroke-width: 2;
}

.p-type-position.inner .p-type-position-circle {
    fill: #f2f6f3;
    stroke: #819287;
    stroke-width: 1.8;
}

.p-type-position-label {
    fill: #6c7b70;
    font-size: 14px;
    font-weight: 900;
}

.p-type-value.outer {
    font-size: 23px;
}

.p-type-value.inner {
    font-size: 20px;
}

.p-missing-hints {
    margin-top: 4px;
}

.p-missing-hint-box {
    border: 1px solid #e2cccc;
    background: #fffafa;
    border-radius: 14px;
    padding: 15px;
}

.p-missing-hint-box > strong {
    color: #7c3434;
}

.p-missing-hint-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.p-missing-hint-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
}

.p-missing-hint-row > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b84242;
    color: white;
    font-weight: 900;
}

.p-missing-hint-row p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #5d4b4b;
}

@media (max-width: 1000px) {
    .p-pentagram-layout-large {
        grid-template-columns: 1fr;
    }

    .p-pentagram-shell-large {
        min-height: auto;
    }
}


/* M3.7 – Spannungsachsen und Trigone direkt im Typus-Pentagramm */

.p-pentagram-overlay-legend {
    margin-bottom: 10px;
}

.p-pentagram-active-axis {
    stroke: #a84a4a;
    stroke-width: 6;
    stroke-linecap: round;
    opacity: .78;
}

.p-pentagram-active-trigon {
    fill: rgba(75, 103, 138, .10);
    stroke: #536f91;
    stroke-width: 4;
    stroke-linejoin: round;
    opacity: .82;
}

#p-pentagram-values {
    position: relative;
    z-index: 3;
}


/* M3.8 – Ebenen + Randdreiecke */

.legend-line.plane {
    border-color: #8b6d42;
}

.legend-line.edge {
    border-color: #6f668d;
}

.p-pentagram-active-plane {
    stroke: #8b6d42;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 3 5;
    opacity: .75;
}

.p-pentagram-active-edge {
    fill: rgba(111, 102, 141, .07);
    stroke: #6f668d;
    stroke-width: 3;
    stroke-dasharray: 8 5;
    stroke-linejoin: round;
    opacity: .78;
}
/* M3.6 – Pentagramm größer, innere/äußere Positionen, fehlende Zahlen */
.p-pentagram-layout-large {
    grid-template-columns: minmax(520px, 1.45fr) minmax(300px, .75fr);
}

.p-pentagram-shell-large {
    min-height: 650px;
    padding: 18px;
}

#p-pentagram-svg {
    width: min(100%, 650px);
    height: auto;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.8;
}

.p-pentagram-star {
    fill: rgba(98, 124, 105, .035);
    stroke: #627c69;
    stroke-width: 2.8;
    stroke-dasharray: 7 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-type-position.outer .p-type-position-circle {
    fill: #ffffff;
    stroke: #819287;
    stroke-width: 2;
}

.p-type-position.inner .p-type-position-circle {
    fill: #f2f6f3;
    stroke: #819287;
    stroke-width: 1.8;
}

.p-type-position-label {
    fill: #6c7b70;
    font-size: 14px;
    font-weight: 900;
}

.p-type-value.outer {
    font-size: 23px;
}

.p-type-value.inner {
    font-size: 20px;
}

.p-missing-hints {
    margin-top: 4px;
}

.p-missing-hint-box {
    border: 1px solid #e2cccc;
    background: #fffafa;
    border-radius: 14px;
    padding: 15px;
}

.p-missing-hint-box > strong {
    color: #7c3434;
}

.p-missing-hint-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.p-missing-hint-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
}

.p-missing-hint-row > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b84242;
    color: white;
    font-weight: 900;
}

.p-missing-hint-row p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #5d4b4b;
}

@media (max-width: 1000px) {
    .p-pentagram-layout-large {
        grid-template-columns: 1fr;
    }

    .p-pentagram-shell-large {
        min-height: auto;
    }
}


/* M3.7 – Spannungsachsen und Trigone direkt im Typus-Pentagramm */

.p-pentagram-overlay-legend {
    margin-bottom: 10px;
}

.p-pentagram-active-axis {
    stroke: #a84a4a;
    stroke-width: 6;
    stroke-linecap: round;
    opacity: .78;
}

.p-pentagram-active-trigon {
    fill: rgba(75, 103, 138, .10);
    stroke: #536f91;
    stroke-width: 4;
    stroke-linejoin: round;
    opacity: .82;
}

#p-pentagram-values {
    position: relative;
    z-index: 3;
}


/* M3.8 – Ebenen + Randdreiecke */

.legend-line.plane {
    border-color: #8b6d42;
}

.legend-line.edge {
    border-color: #6f668d;
}

.p-pentagram-active-plane {
    stroke: #8b6d42;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 3 5;
    opacity: .75;
}

.p-pentagram-active-edge {
    fill: rgba(111, 102, 141, .07);
    stroke: #6f668d;
    stroke-width: 3;
    stroke-dasharray: 8 5;
    stroke-linejoin: round;
    opacity: .78;
}


/* M3.9 – Auf den ersten Blick + Häufungen + fehlende Zahlen */

.p-first-look-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 18px;
    margin-bottom: 18px;
}

.p-first-look-summary {
    display: grid;
    gap: 12px;
}

.p-first-look-statement {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    padding: 16px;
}

.p-first-look-statement strong {
    display: block;
    color: var(--accent);
    margin-bottom: 6px;
}

.p-first-look-statement p {
    margin: 0;
    line-height: 1.55;
}

.p-first-look-balance {
    display: grid;
    gap: 10px;
}

.p-balance-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: #f7f9f6;
}

.p-balance-row span {
    color: var(--muted);
    font-size: .82rem;
}

.p-balance-row strong {
    color: var(--text);
}

.p-balance-row.muted {
    opacity: .82;
}

.p-first-look-details {
    margin-top: 6px;
}

.p-analysis-subcard {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background: var(--surface-soft);
}

.p-analysis-subcard h3 {
    margin: 2px 0 0;
}

.p-analysis-list {
    display: grid;
    gap: 10px;
}

.p-analysis-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    border: 1px solid #d9e0da;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.p-analysis-row.missing {
    border-color: #e0c4c4;
    background: #fffafa;
}

.p-analysis-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.15rem;
    color: #35503d;
    border: 2px solid #7f9484;
}

.p-analysis-row.missing .p-analysis-number {
    color: #a84a4a;
    border-color: #c88989;
}

.p-analysis-row p {
    margin: 4px 0 5px;
    color: var(--muted);
    line-height: 1.45;
}

.p-analysis-row small {
    color: #607065;
}

@media (max-width: 760px) {
    .p-first-look-grid {
        grid-template-columns: 1fr;
    }

    .p-balance-row {
        grid-template-columns: 1fr auto;
    }
}
/* M3.6 – Pentagramm größer, innere/äußere Positionen, fehlende Zahlen */
.p-pentagram-layout-large {
    grid-template-columns: minmax(520px, 1.45fr) minmax(300px, .75fr);
}

.p-pentagram-shell-large {
    min-height: 650px;
    padding: 18px;
}

#p-pentagram-svg {
    width: min(100%, 650px);
    height: auto;
}

.p-pentagram-ring {
    fill: none;
    stroke: #b8c1b9;
    stroke-width: 1.8;
}

.p-pentagram-star {
    fill: rgba(98, 124, 105, .035);
    stroke: #627c69;
    stroke-width: 2.8;
    stroke-dasharray: 7 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-type-position.outer .p-type-position-circle {
    fill: #ffffff;
    stroke: #819287;
    stroke-width: 2;
}

.p-type-position.inner .p-type-position-circle {
    fill: #f2f6f3;
    stroke: #819287;
    stroke-width: 1.8;
}

.p-type-position-label {
    fill: #6c7b70;
    font-size: 14px;
    font-weight: 900;
}

.p-type-value.outer {
    font-size: 23px;
}

.p-type-value.inner {
    font-size: 20px;
}

.p-missing-hints {
    margin-top: 4px;
}

.p-missing-hint-box {
    border: 1px solid #e2cccc;
    background: #fffafa;
    border-radius: 14px;
    padding: 15px;
}

.p-missing-hint-box > strong {
    color: #7c3434;
}

.p-missing-hint-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.p-missing-hint-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
}

.p-missing-hint-row > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b84242;
    color: white;
    font-weight: 900;
}

.p-missing-hint-row p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #5d4b4b;
}

@media (max-width: 1000px) {
    .p-pentagram-layout-large {
        grid-template-columns: 1fr;
    }

    .p-pentagram-shell-large {
        min-height: auto;
    }
}


/* M3.7 – Spannungsachsen und Trigone direkt im Typus-Pentagramm */

.p-pentagram-overlay-legend {
    margin-bottom: 10px;
}

.p-pentagram-active-axis {
    stroke: #a84a4a;
    stroke-width: 6;
    stroke-linecap: round;
    opacity: .78;
}

.p-pentagram-active-trigon {
    fill: rgba(75, 103, 138, .10);
    stroke: #536f91;
    stroke-width: 4;
    stroke-linejoin: round;
    opacity: .82;
}

#p-pentagram-values {
    position: relative;
    z-index: 3;
}


/* M3.8 – Ebenen + Randdreiecke */

.legend-line.plane {
    border-color: #8b6d42;
}

.legend-line.edge {
    border-color: #6f668d;
}

.p-pentagram-active-plane {
    stroke: #8b6d42;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 3 5;
    opacity: .75;
}

.p-pentagram-active-edge {
    fill: rgba(111, 102, 141, .07);
    stroke: #6f668d;
    stroke-width: 3;
    stroke-dasharray: 8 5;
    stroke-linejoin: round;
    opacity: .78;
}


/* M3.9 – Auf den ersten Blick + Häufungen + fehlende Zahlen */

.p-first-look-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 18px;
    margin-bottom: 18px;
}

.p-first-look-summary {
    display: grid;
    gap: 12px;
}

.p-first-look-statement {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    padding: 16px;
}

.p-first-look-statement strong {
    display: block;
    color: var(--accent);
    margin-bottom: 6px;
}

.p-first-look-statement p {
    margin: 0;
    line-height: 1.55;
}

.p-first-look-balance {
    display: grid;
    gap: 10px;
}

.p-balance-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: #f7f9f6;
}

.p-balance-row span {
    color: var(--muted);
    font-size: .82rem;
}

.p-balance-row strong {
    color: var(--text);
}

.p-balance-row.muted {
    opacity: .82;
}

.p-first-look-details {
    margin-top: 6px;
}

.p-analysis-subcard {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background: var(--surface-soft);
}

.p-analysis-subcard h3 {
    margin: 2px 0 0;
}

.p-analysis-list {
    display: grid;
    gap: 10px;
}

.p-analysis-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    border: 1px solid #d9e0da;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.p-analysis-row.missing {
    border-color: #e0c4c4;
    background: #fffafa;
}

.p-analysis-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.15rem;
    color: #35503d;
    border: 2px solid #7f9484;
}

.p-analysis-row.missing .p-analysis-number {
    color: #a84a4a;
    border-color: #c88989;
}

.p-analysis-row p {
    margin: 4px 0 5px;
    color: var(--muted);
    line-height: 1.45;
}

.p-analysis-row small {
    color: #607065;
}

@media (max-width: 760px) {
    .p-first-look-grid {
        grid-template-columns: 1fr;
    }

    .p-balance-row {
        grid-template-columns: 1fr auto;
    }
}



/* M3.10 – Kontaktzahlen, Schattentypus, PIN-Code */

.p-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 18px;
}

.p-contact-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.p-contact-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 10px;
}

.p-contact-head strong {
    color: var(--accent);
}

.p-contact-head span {
    color: var(--muted);
    font-size: .8rem;
    text-align: right;
}

.p-contact-value {
    font-size: 2rem;
    font-weight: 900;
    color: #2f4635;
    margin-bottom: 6px;
}

.p-contact-formula {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .95rem;
    color: #425247;
    margin-bottom: 6px;
}

.p-contact-chain {
    color: #69776d;
    font-size: .82rem;
}

.p-pin-panels {
    margin-top: 4px;
}

.p-pin-summary {
    border: 1px solid #dbe4dc;
    border-radius: 12px;
    background: #fafcf9;
    padding: 14px;
    margin-bottom: 14px;
}

.p-pin-summary strong {
    display: block;
    color: #2f4635;
    margin-bottom: 7px;
}

.p-pin-summary p {
    margin: 0;
    line-height: 1.5;
    color: var(--muted);
}

.p-pin-list {
    display: grid;
    gap: 10px;
}

.p-pin-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid #e6d0d0;
    border-radius: 12px;
    background: #fffafa;
    padding: 12px;
}

.p-pin-row span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b94747;
    color: #fff;
    font-weight: 900;
}

.p-pin-row p {
    margin: 2px 0 0;
    line-height: 1.45;
    color: #5f4c4c;
}

.p-pin-footnote {
    margin-top: 12px;
    color: #68776d;
    font-size: .82rem;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .p-contact-grid {
        grid-template-columns: 1fr;
    }
}


/* M4.0 – Körperbild Basis */
.k-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.k-main-grid{display:grid;grid-template-columns:minmax(500px,1.2fr) minmax(320px,.8fr);gap:18px;align-items:start}.k-side-column{display:grid;gap:18px}.k-visual-card{min-height:780px}.k-static-legend{color:#222;font-weight:800}.k-body-wrap{display:grid;place-items:center;padding:8px 0 0}#k-body-svg{width:min(100%,560px);height:auto}.k-body-outline circle,.k-body-outline path{fill:none;stroke:#b7c1ba;stroke-width:3;stroke-linecap:round}.k-center circle{fill:#fff;stroke:#9ca9a0;stroke-width:2.2}.k-center.static circle{fill:#f7f8f6;stroke:#202622;stroke-width:3.2}.k-center-leader{stroke:#9eaaa1;stroke-width:1.6}.k-center.static .k-center-leader{stroke:#303732;stroke-width:2.2}.k-center-number{font-size:16px;font-weight:900;fill:#4d5b51}.k-center.static .k-center-number{fill:#171b18}.k-center-count{font-size:13px;font-weight:700;fill:#65736a}.k-center.static .k-center-count{fill:#1f2822}.k-conversion{display:grid;gap:10px}.k-conversion-row{display:grid;grid-template-columns:110px 1fr 28px 1fr;gap:8px;align-items:center;border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface-soft)}.k-conversion-row>span:first-child{color:var(--muted);font-size:.8rem}.k-arrow{text-align:center;color:var(--muted)}.k-conversion-typus{background:#eef4ef}.k-static-list{display:grid;gap:9px}.k-static-row{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;border:1px solid var(--border);border-radius:12px;padding:10px 12px;background:#fafbf9}.k-static-no{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#252b27;color:#fff;font-weight:900}.k-static-row strong,.k-static-row small{display:block}.k-static-row small{margin-top:3px;color:var(--muted)}@media(max-width:980px){.k-main-grid{grid-template-columns:1fr}.k-summary-grid{grid-template-columns:1fr}}@media(max-width:620px){.k-conversion-row{grid-template-columns:1fr auto 1fr}.k-conversion-row>span:first-child{grid-column:1/-1}}

/* M4.0.2 – Menschenbild korrekt einbinden */
.k-visual-card{min-height:980px}
.k-body-wrap{
    overflow:hidden;
    border-radius:18px;
    background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
    border:1px solid #e0e7e2;
    padding:10px
}
#k-body-svg{
    width:min(100%,720px);
    height:auto;
    display:block;
    margin:0 auto
}
.k-center-overlay-line{stroke:#232925;stroke-width:2.4;opacity:.62}
.k-center-overlay-badge{fill:#202622;stroke:#fff;stroke-width:3}
.k-center-overlay.empty .k-center-overlay-badge{fill:#f6f7f5;stroke:#aeb9b1;stroke-width:2}
.k-center-overlay-count{font-size:15px;font-weight:900;fill:#fff}
.k-center-overlay.empty .k-center-overlay-count{fill:#8a968d}
.k-center-overlay-name{
    font-size:13px;
    font-weight:800;
    fill:#2e3f34;
    paint-order:stroke;
    stroke:#fff;
    stroke-width:3px;
    stroke-linejoin:round
}
.k-center-overlay.empty .k-center-overlay-name{fill:#718078}
@media(max-width:740px){
    .k-center-overlay-name{display:none}
    .k-center-overlay-line{display:none}
    .k-center-overlay-badge{transform:translateX(-44px)}
    .k-center-overlay-count{transform:translateX(-44px)}
}
/* M4.0.3 - Seitenansicht nach Seminarvorlage */
.k-body-wrap-sideview{
    overflow:hidden;
    border-radius:18px;
    border:1px solid #e0e7e2;
    background:#fbfcfa;
    padding:8px;
}
.k-body-wrap-sideview #k-body-svg{
    display:block;
    width:min(100%,760px);
    height:auto;
    margin:0 auto;
}
.k-side-status-line{
    stroke:#26312b;
    stroke-width:3;
    opacity:.45;
}
.k-side-status-badge{
    fill:#202622;
    stroke:#fff;
    stroke-width:4;
}
.k-side-status.empty .k-side-status-badge{
    fill:#f7f9f6;
    stroke:#aab5ad;
    stroke-width:3;
}
.k-side-status-count{
    fill:#fff;
    font-size:22px;
    font-weight:900;
}
.k-side-status.empty .k-side-status-count{
    fill:#7f8b83;
}
.k-side-status-label{
    fill:#202622;
    font-size:20px;
    font-weight:800;
    paint-order:stroke;
    stroke:#fff;
    stroke-width:5px;
    stroke-linejoin:round;
}
.k-side-status.empty .k-side-status-label{
    fill:#718078;
    font-weight:700;
}
@media(max-width:760px){
    .k-side-status-label{display:none}
    .k-side-status-line{opacity:.25}
}

/* M4.1 - aktive rote Zahlen und latente grüne Punkte */
.k-active-legend{
    border-color:#e6b4b4;
    color:#8f2f2f;
    background:#fff3f3;
}
.k-latent-legend{
    border-color:#b9d7b9;
    color:#3d6f3d;
    background:#f3fbf3;
}
.split-legend-wrap{
    flex-wrap:wrap;
}
.k-rule-list{
    margin:0;
    padding-left:1.2rem;
    display:grid;
    gap:.55rem;
}
.k-side-status-line.static{
    stroke:#26312b;
    opacity:.45;
}
.k-side-status-line.active{
    stroke:#b23b3b;
    opacity:.6;
}
.k-side-status-line.latent{
    stroke:#5e8f5e;
    opacity:.45;
}
.k-side-status-badge.static{
    fill:#202622;
    stroke:#fff;
    stroke-width:4;
}
.k-side-status-badge.active{
    fill:#b23b3b;
    stroke:#fff3f3;
    stroke-width:4;
}
.k-side-status-badge.latent{
    fill:#5f8e5f;
    stroke:#f4fbf4;
    stroke-width:4;
}
.k-side-status-count.static,
.k-side-status-count.active,
.k-side-status-count.latent{
    fill:#fff;
    font-size:22px;
    font-weight:900;
}
.k-side-status-label.static{
    fill:#202622;
}
.k-side-status-label.active{
    fill:#8f2f2f;
}
.k-side-status-label.latent{
    fill:#3d6f3d;
}
.k-side-status-label.static,
.k-side-status-label.active,
.k-side-status-label.latent{
    font-size:20px;
    font-weight:800;
    paint-order:stroke;
    stroke:#fff;
    stroke-width:5px;
    stroke-linejoin:round;
}


/* M4.2 - Koerperbild Doppelbelegung direkt am Punkt */
.k-inline-digits { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.35rem; }
.k-inline-digit { display:inline-flex; align-items:center; justify-content:center; min-width:1.8rem; height:1.8rem; padding:0 .35rem; border-radius:999px; font-weight:800; font-size:.95rem; border:2px solid currentColor; background:#fff; }
.k-inline-digit.static { color:#1f2925; }
.k-inline-digit.active { color:#b84b4b; }
.k-inline-digit.latent { color:#5f8a6a; }
.k-point-row-m42 { align-items:flex-start; }
.k-point-row-m42 > div { display:flex; flex-direction:column; gap:.15rem; }
.k-body-wrap-sideview { background:linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.74)); border-radius:1.25rem; overflow:auto; }
#k-body-svg { width:100%; height:auto; display:block; }
.k-cluster-panel { fill:rgba(255,255,255,.88); stroke:rgba(124,138,129,.35); stroke-width:2; }
.k-token-badge { stroke-width:2.5; }
.k-token-badge.static { fill:#ffffff; stroke:#1f2925; }
.k-token-badge.active { fill:#fff7f7; stroke:#b84b4b; }
.k-token-badge.latent { fill:#f5fbf6; stroke:#5f8a6a; }
.k-token-text { font-size:1.5rem; font-weight:800; dominant-baseline:middle; }
.k-token-text.static { fill:#1f2925; }
.k-token-text.active { fill:#b84b4b; }
.k-token-text.latent { fill:#5f8a6a; }
.k-token-caption { fill:#5e6c65; font-size:1rem; font-weight:700; }

/* M4.2.1 - fachlich korrigierte farbige Doppel-/Mehrfachzahlen */
.k-active-legend{border-color:#e3b2b2;color:#a93434;background:#fff5f5}
.k-latent-legend{border-color:#b8d7be;color:#3b7a49;background:#f5fbf6}
.split-legend-wrap{flex-wrap:wrap}
.k-rule-list{margin:0;padding-left:1.2rem;display:grid;gap:.55rem}
.k-inline-digits{display:flex;flex-wrap:wrap;gap:.25rem;margin:.3rem 0}
.k-inline-digit{font-weight:900;font-size:1.2rem;line-height:1.2}
.k-inline-digit.static{color:#202622}
.k-inline-digit.active{color:#c43f3f}
.k-inline-digit.latent{color:#4d8b5b}
.k-point-row-m421>div{display:flex;flex-direction:column;gap:.1rem}
.k-combo-digit{font-size:34px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.k-combo-digit.static{fill:#202622}
.k-combo-digit.active{fill:#c43f3f}
.k-combo-digit.latent{fill:#4d8b5b}
@media(max-width:760px){.k-combo-digit{font-size:29px;stroke-width:4px}}


/* M4.3 - Energiefluss und richtungsgebundene Einströmpunkt-Rahmen */
.k-flow-note{
    display:flex;
    align-items:center;
    gap:.7rem;
    margin:.65rem 0 .9rem;
    color:#4f6f59;
    font-size:.9rem;
    font-weight:700;
}
.k-flow-sample{position:relative;width:56px;height:18px;display:inline-block;flex:0 0 56px}
.k-flow-sample .k-flow-dot{position:absolute;right:0;top:5px;width:9px;height:9px;border-radius:50%;background:#5e8e69}
.k-flow-sample .k-flow-line{position:absolute;left:12px;right:8px;top:8px;height:3px;background:#8fbaa0}
.k-flow-sample .k-flow-head{position:absolute;left:3px;top:3px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:11px solid #5e8e69}
.k-point-arrow-box{fill:#fff;stroke:#263b2f;stroke-width:3.5;stroke-linejoin:round}
.k-point-number{fill:#233129;font-size:31px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:2px}
.k-flow-arrow{stroke:#75a985;stroke-width:6;stroke-linecap:round;opacity:.78}
.k-flow-dot-svg{fill:#4e825d;stroke:#fff;stroke-width:2}
.k-flow-head-svg{fill:#5e9a70;opacity:.9}
.k-number-combo-m43 .k-combo-digit{font-size:34px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.k-number-combo-m43 .k-combo-digit.static{fill:#202622}
.k-number-combo-m43 .k-combo-digit.active{fill:#c43f3f}
.k-number-combo-m43 .k-combo-digit.latent{fill:#4d8b5b}
@media(max-width:760px){
    .k-number-combo-m43 .k-combo-digit{font-size:30px;stroke-width:4px}
    .k-flow-note{font-size:.82rem}
}

/* M5.1 – zentrale Auswertungsseite */
.a-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}
.a-summary-card {
    background: var(--card, #fff);
    border: 1px solid var(--border, #d8e2dc);
    border-radius: 16px;
    padding: 18px;
}
.a-big-value { font-size: 1.7rem; font-weight: 750; margin: 6px 0; }
.a-module-grid { display: grid; gap: 18px; }
.a-module-card { min-width: 0; }
.a-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 18px;
}
.a-fact-grid > div {
    border: 1px solid var(--border, #d8e2dc);
    border-radius: 12px;
    padding: 12px;
}
.a-fact-grid span { display: block; color: var(--muted, #64748b); font-size: .88rem; margin-bottom: 4px; }
.a-detail-block { margin-top: 12px; line-height: 1.55; }
.a-detail-block ul { margin: 8px 0 0 20px; }
.a-section-label { margin: 14px 0 8px; font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #64748b); }
.a-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.a-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    border: 1px solid var(--border, #d8e2dc);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255,255,255,.72);
}
.a-chip small { color: var(--muted, #64748b); }
.a-center-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a-center-item { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-bottom: 1px solid var(--border, #d8e2dc); }
.a-center-no { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 8px; font-weight: 750; flex: 0 0 auto; }
.a-center-digits { margin-top: 3px; font-weight: 750; letter-spacing: .05em; }
.a-center-digit.static { color: #111; }
.a-center-digit.active { color: #b42318; }
.a-center-digit.latent { color: #238636; }
.a-source-hint { margin-top: 16px; }
.a-next-card { margin-top: 18px; }
@media (max-width: 900px) { .a-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .a-summary-grid, .a-fact-grid, .a-center-grid { grid-template-columns: 1fr; } }

/* knowledge-library:start */

.knowledge-groups {
    display: grid;
    gap: 1rem;
}

.knowledge-list {
    display: grid;
    gap: 0.75rem;
}

.knowledge-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}

.knowledge-entry:hover {
    border-color: rgba(0, 0, 0, 0.24);
}

.knowledge-entry span:first-child {
    display: grid;
    gap: 0.2rem;
}

.knowledge-entry small {
    opacity: 0.65;
}

.knowledge-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.06);
}

.knowledge-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.knowledge-switch {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.knowledge-switch a {
    display: inline-flex;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
}

.knowledge-switch a.active {
    font-weight: 700;
    border-color: currentColor;
}

.knowledge-notice {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.045);
}

.knowledge-content {
    white-space: pre-wrap;
    line-height: 1.7;
}

.knowledge-empty {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
}

.knowledge-source {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.knowledge-source summary {
    cursor: pointer;
    font-weight: 700;
}

.knowledge-source dl {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
}

.knowledge-source dt {
    font-weight: 700;
}

.knowledge-source dd {
    margin: 0;
}

.knowledge-back {
    margin-top: 1.5rem;
}

@media (max-width: 700px) {
    .knowledge-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .knowledge-entry {
        align-items: flex-start;
        flex-direction: column;
    }

    .knowledge-source dl {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .knowledge-source dd {
        margin-bottom: 0.75rem;
    }
}

/* knowledge-library:end */
/* M5.2 – Interpretationsstruktur */
.a-interpretation-card { margin-top: 1rem; }
.a-interpretation-status { display:flex; gap:.75rem; align-items:center; flex-wrap:wrap; margin:.75rem 0 1rem; }
.a-int-status-pill { display:inline-flex; padding:.3rem .65rem; border:1px solid currentColor; border-radius:999px; font-size:.78rem; font-weight:700; }
.a-interpretation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.a-interpretation-grid > div { min-width:0; }
.a-int-item { border:1px solid var(--border, #d8dedb); border-radius:.8rem; padding:.8rem; margin:.55rem 0; background:rgba(255,255,255,.55); }
.a-int-head { display:flex; gap:.75rem; justify-content:space-between; align-items:flex-start; }
.a-int-head span { font-size:.72rem; font-weight:700; white-space:nowrap; }
.a-int-item ul { margin:.45rem 0; padding-left:1.1rem; }
.a-int-item li { margin:.15rem 0; }
.a-int-open { margin:.45rem 0; font-weight:700; }
.a-int-text { margin:.45rem 0; }
.a-int-sources { font-size:.78rem; opacity:.72; }
@media (max-width: 900px) { .a-interpretation-grid { grid-template-columns:1fr; } }


/* GBDA knowledge module navigation 0.7.8 */
.knowledge-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.knowledge-module-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 150px;
    text-decoration: none;
    transition: transform 0.15s ease;
}
.knowledge-module-card:hover { transform: translateY(-2px); }
.knowledge-module-card h2 { margin-bottom: 0.35rem; }
.knowledge-module-card p { margin: 0; opacity: 0.75; }
.knowledge-module-arrow { font-size: 1.8rem; line-height: 1; }
.knowledge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2.2rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    opacity: 0.75;
}

/* M5.6 UI-Kontextzusammenführung:
   Grafik und quellengebundene Interpretation bleiben zusammen. */

.n-context-interpretation {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.n-context-interpretation .a-section-label {
    margin: 16px 0 8px;
    font-weight: 800;
    color: var(--accent);
}

.n-context-interpretation .a-section-label:first-child {
    margin-top: 0;
}

.n-context-interpretation .a-int-item {
    background: var(--surface-soft);
}

.p-number-meaning-group {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.p-number-meaning-group:first-of-type {
    margin-top: 8px;
}

.p-number-meaning-group h4 {
    margin: 0 0 10px;
    color: var(--accent);
}

.p-number-meaning-group .a-int-item {
    background: var(--surface-soft);
}

/* M5.6 vertikale Numerologie:
   Zahlenkreis -> Zahlenverteilung -> Geist/Seele/Körper.
   Bild und zugehörige Interpretation bleiben thematisch zusammen. */

.numerology-layout.numerology-layout-vertical {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.numerology-layout-vertical .number-wheel-card {
    width: 100%;
    min-width: 0;
}

.numerology-side.numerology-side-vertical {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    min-width: 0;
}

.numerology-side-vertical > .card {
    width: 100%;
    min-width: 0;
}

.numerology-layout-vertical .number-wheel-shell {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
}

/* GSK auf Numerologie und Pentalogie bewusst gleich darstellen. */

.p-gsk-visual {
    margin-top: 18px;
    margin-bottom: 18px;
}

.p-gsk-visual .gsk-numbers span {
    opacity: 0.38;
}

.p-gsk-visual .gsk-numbers span.active {
    opacity: 1;
    font-weight: 800;
    box-shadow: 0 0 0 2px var(--accent);
}


/* M5.6 Pentalogie-Kontextlayout:
   Zahlenkreis -> Zahlenkreisdeutung -> Achsen/Trigone
   -> Zahlendiagramm -> Zahlendeutungen.
   Alle Hauptbereiche volle Breite. */

.pentalogie-main-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.p-full-width-card {
    width: 100%;
    min-width: 0;
}

.p-svg-wrap-wide {
    width: min(100%, 820px);
    margin-left: auto;
    margin-right: auto;
}

.p-circle-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.p-circle-rule-block {
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.p-number-card .p-number-grid {
    width: 100%;
}

.p-number-card .p-wdb-section {
    margin-top: 22px;
}

@media (max-width: 850px) {
    .p-circle-rules {
        grid-template-columns: 1fr;
    }
}

/* M5.6 Zahlenkreis-Strukturen:
   Achsen, Trigone, Ebenen und Randdreiecke
   bilden einen gemeinsamen fachlichen Bereich. */

.p-circle-structure-rules {
    margin-top: 0;
}

.p-structure-description {
    margin: 0 0 12px;
    line-height: 1.55;
}

.p-circle-rule-block + .p-circle-rule-block {
    min-width: 0;
}


/* M5.6 quellengebundene Pentalogie-Strukturdeutungen */

.p-rule-wdb {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.p-rule-wdb-status {
    margin-bottom: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.p-rule-wdb-text {
    margin: 0;
    line-height: 1.5;
}

.p-rule-wdb-source {
    display: block;
    margin-top: 7px;
    opacity: 0.72;
    line-height: 1.35;
}

/*
 * Eine aktive Regel mit Fachtext darf für längere
 * Interpretationen mehr Platz beanspruchen.
 */
.rule-row.active:has(.p-rule-wdb) {
    align-items: flex-start;
}



/* M5.7 Pentagramm-Wissen aus GBDA_KNOWLEDGE_WDB */
.p-pentagram-knowledge-card { margin-top: 1rem; }
.p-pentagram-general-copy { display: grid; gap: .75rem; }
.p-pentagram-position-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .85rem; margin-top: 1rem; }
.p-pentagram-position-card { border: 1px solid var(--border, #d7d7d7); border-radius: 12px; padding: .9rem; background: var(--surface, #fff); }
.p-pentagram-position-card p { margin: .45rem 0 0; white-space: pre-line; }
.p-pentagram-sequence-list { display: grid; gap: 1rem; }
.p-pentagram-sequence-card { border: 1px solid var(--border, #d7d7d7); border-radius: 14px; padding: 1rem; }
.p-penta-sequence-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.p-penta-sequence-head h3 { margin: .2rem 0; }
.p-penta-extended { display: block; margin-top: .25rem; font-size: .78em; font-weight: 500; }
.p-penta-core-copy { font-weight: 600; white-space: pre-line; }
.p-penta-block-group { margin-top: .85rem; padding-top: .75rem; border-top: 1px solid var(--border, #e3e3e3); }
.p-penta-block-group h4 { margin: 0 0 .45rem; }
.p-penta-block-row div { white-space: pre-line; }
.p-dynamics-rule-list { display: grid; gap: .75rem; }
.p-dynamics-rule-row { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; border: 1px solid var(--border, #d7d7d7); border-radius: 12px; padding: .9rem; }
.p-dynamics-rule-row p { margin: .35rem 0 0; }
@media (max-width: 760px) {
  .p-penta-sequence-head, .p-dynamics-rule-row { flex-direction: column; }
}


/* M5.8 Pentagramm UI 0.7.17 */
.p-learning-layout,
.p-dynamics-visual-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}
.p-learning-graphic,
.p-dynamics-visual {
    border: 1px solid var(--border, #d7d7d7);
    border-radius: 14px;
    background: var(--surface, #fff);
    padding: .75rem;
}
#p-pentagram-schema-svg,
#p-dynamics-svg {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.p-schema-ring,
.p-dynamics-ring {
    fill: none;
    stroke: currentColor;
    opacity: .22;
    stroke-width: 2;
}
.p-schema-star {
    fill: none;
    stroke: currentColor;
    opacity: .65;
    stroke-width: 3;
}
.p-schema-node circle,
.p-dynamics-node circle {
    fill: var(--surface, #fff);
    stroke: currentColor;
    stroke-width: 2;
}
.p-schema-node-text,
.p-dynamics-node-text {
    font-size: 20px;
    font-weight: 700;
}
.p-learning-legend {
    display: grid;
    gap: .45rem;
}
.p-learning-legend-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: .65rem;
    align-items: start;
    padding: .55rem .65rem;
    border: 1px solid var(--border, #e1e1e1);
    border-radius: 10px;
}
.p-learning-legend-row strong {
    font-size: 1.05rem;
}
.p-penta-row-with-summary .p-penta-row-copy span {
    display: block;
    line-height: 1.35;
}
.p-penta-side-notation {
    display: block;
    margin-top: .25rem;
    opacity: .72;
}
.p-dynamics-arrow {
    stroke: currentColor;
    stroke-width: 2;
    opacity: .5;
}
.p-dynamics-arrow-head {
    fill: currentColor;
    opacity: .6;
}
.p-dynamics-center-title {
    font-size: 24px;
    font-weight: 700;
}
.p-dynamics-center-note {
    font-size: 15px;
    opacity: .72;
}
.p-dynamics-explain {
    border: 1px solid var(--border, #d7d7d7);
    border-radius: 14px;
    padding: 1rem;
}
@media (max-width: 900px) {
    .p-learning-layout,
    .p-dynamics-visual-layout {
        grid-template-columns: 1fr;
    }
}


/* M5.9 Pentagramm UI 0.7.18 */
.p-schema-inner-guide {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.15;
    stroke-dasharray: 1 7;
    stroke-linecap: round;
    opacity: .48;
}
.p-dynamics-lead {
    max-width: 78rem;
}
.p-dynamics-explain {
    display: grid;
    gap: .75rem;
}
.p-dynamics-info-box {
    border: 1px solid var(--border, #d7d7d7);
    border-radius: 12px;
    padding: .8rem .9rem;
    background: var(--surface, #fff);
}
.p-dynamics-info-box p {
    margin: .35rem 0 0;
    line-height: 1.5;
}
.p-dynamics-rules-head {
    margin-top: 1.25rem;
    margin-bottom: .65rem;
}
.p-dynamics-rules-head h3 {
    margin-top: .15rem;
    margin-bottom: .35rem;
}


/* M5.11 Pentagramm UI 0.7.20 */
.gbda-anchor-target {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/* Hauptverbindung ist die dominante, durchgehende Grundform. */
.p-schema-main-path,
.p-pentagram-star {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 4.5 !important;
    stroke-dasharray: none !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .82 !important;
}

/* Keine standardmaessige innere Hilfsfigur. */
.p-schema-inner-guide,
.p-pentagram-inner-guide {
    display: none !important;
}

/* Fachlich aktive Zusatzstrukturen: kleiner, versetzt und gestrichelt. */
.p-pentagram-aux-structure {
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-dasharray: 7 8 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .60 !important;
}


/* M5.12 Pentalogie UI 0.7.21 */
.p-active-structures {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border, #d9ddd9);
}
.p-active-structures-heading {
    margin-bottom: .35rem;
}
.p-active-structures-intro {
    max-width: 980px;
    margin-bottom: 1rem;
}
.p-active-structure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.p-active-structure-card {
    border: 1px solid var(--border, #d9ddd9);
    border-radius: 14px;
    background: var(--surface, #fff);
    padding: 1rem;
    min-width: 0;
}
.p-active-structure-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .5rem;
}
.p-active-structure-card h4 {
    margin: .1rem 0 0;
}
.p-structure-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .55rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-weight: 700;
}
.p-structure-mini-svg {
    display: block;
    width: min(100%, 300px);
    aspect-ratio: 1 / 1;
    margin: .25rem auto .75rem;
}
.p-structure-mini-ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    opacity: .20;
}
.p-structure-mini-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .72;
}
.p-structure-mini-axes {
    stroke-dasharray: none;
}
.p-structure-mini-trigons {
    stroke-dasharray: 28 16;
}
.p-structure-mini-planes {
    stroke-dasharray: 30 12 5 12;
}
.p-structure-mini-edges {
    stroke-dasharray: 5 14;
}
.p-structure-mini-node circle {
    fill: var(--surface, #fff);
    stroke: currentColor;
    stroke-width: 2;
}
.p-structure-mini-node text {
    font-size: 24px;
    font-weight: 700;
    fill: currentColor;
}
.p-structure-mini-empty {
    fill: currentColor;
    font-size: 27px;
    opacity: .55;
}
.p-active-structure-list .rule-row {
    align-items: flex-start;
}
.p-active-structure-list .p-rule-wdb {
    margin-top: .45rem;
}
.p-active-structure-list .p-rule-wdb-text {
    line-height: 1.5;
}
/* 0.7.21: Im Typus-Pentagramm keine Fachstruktur-Overlays mehr. */
#p-pentagram-axis-layer,
#p-pentagram-trigon-layer,
#p-pentagram-plane-layer,
#p-pentagram-edge-layer,
.p-pentagram-overlay-legend {
    display: none !important;
}
@media (max-width: 900px) {
    .p-active-structure-grid {
        grid-template-columns: 1fr;
    }
}
\n/* GBDA Astrologie Phase 2.4 */\n.a-astro-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n    gap: 1rem;\n    margin-top: 1rem;\n}\n.a-astro-grid .a-int-item { margin: 0; }\n
/* GBDA Astrologie Phase 2.7 */
.a-deep-details {
    margin-top: 1rem;
    border-top: 1px solid var(--border, #ddd);
    padding-top: 0.85rem;
}
.a-deep-details > summary {
    cursor: pointer;
    font-weight: 700;
    list-style-position: outside;
    padding: 0.35rem 0;
}
.a-deep-stack {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}
.a-deep-stack ul {
    margin: 0.45rem 0 0 1.25rem;
}
.a-deep-stack li {
    margin: 0.35rem 0;
    line-height: 1.55;
}
.a-short-summary {
    margin-top: 1rem;
}


/* ============================================================
   GBDA UI 0.7.25
   Informationsarchitektur + Schnellnavigation
   ============================================================ */

.module-subnav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px 9px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    border-top: 1px solid var(--border);
}

.module-subnav a {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid #d6e0d8;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
}

.module-subnav a:hover {
    background: #dfe9e1;
}

.gbda-scroll-section,
.n-number-interpretation-card,
.p-pentagram-sequence-card {
    scroll-margin-top: 150px;
}

.gbda-reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 22px;
    align-items: start;
}

.gbda-reading-content {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.gbda-sticky-visual {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 150px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 13px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    z-index: 20;
}

.gbda-sticky-title {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}

.gbda-sticky-wheel,
.gbda-sticky-pentagram {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 8px;
}

.gbda-nav-node {
    cursor: pointer;
    transition: opacity .15s ease, filter .15s ease;
}

.gbda-nav-node:hover {
    filter: brightness(.92);
}

.n-circle-node.gbda-nav-active circle,
#n-sticky-circle-nodes .n-circle-node.gbda-nav-active circle {
    stroke: #203c2a !important;
    stroke-width: 7px !important;
}

[data-pentagram-code].gbda-nav-active .p-type-position-circle {
    stroke: #203c2a !important;
    stroke-width: 6px !important;
}

.gbda-general-note {
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
    background: var(--surface-soft);
    border-radius: 0 10px 10px 0;
    margin-bottom: 14px;
}

.n-number-interpretation-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.n-number-interpretation-card {
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 18px;
    background: var(--surface-soft);
}

.n-number-card-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.n-number-card-head h3 {
    margin: 2px 0 3px;
}

.n-number-card-number {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 1.45rem;
    font-weight: 900;
}

.n-number-state {
    display: inline-flex;
    font-size: .78rem;
    font-weight: 750;
    color: var(--accent);
}

.n-number-aspect {
    padding: 13px 0;
    border-top: 1px solid var(--border);
}

.n-number-aspect:first-of-type {
    border-top: 0;
}

.n-number-aspect-head,
.a-int-field-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.n-number-aspect-head span,
.a-int-field-head span {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
}

.n-number-aspect-missing {
    border-left: 3px solid #c88989;
    padding-left: 12px;
}

.n-number-aspect-repetition {
    border-left: 3px solid #7f9484;
    padding-left: 12px;
}

.gbda-redundant-hidden {
    display: none !important;
}

#p-dashboard .pentalogie-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#p-sticky-pentagram-svg .p-type-value {
    font-size: 26px;
}

#p-sticky-pentagram-svg .p-type-position-circle {
    fill: #fff;
    stroke: #819287;
    stroke-width: 3px;
}

@media (max-width: 1180px) {
    .gbda-reading-layout {
        grid-template-columns: minmax(0, 1fr) 185px;
        gap: 16px;
    }
}

@media (max-width: 980px) {
    .gbda-reading-layout {
        display: block;
    }

    .gbda-sticky-visual {
        position: sticky;
        top: 132px;
        width: 100%;
        padding: 8px 12px;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        overflow-x: auto;
    }

    .gbda-sticky-visual .hint,
    .gbda-sticky-title {
        display: none;
    }

    .gbda-sticky-wheel,
    .gbda-sticky-pentagram {
        width: 145px;
        min-width: 145px;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .module-subnav {
        padding-bottom: 7px;
    }

    .gbda-sticky-visual {
        top: 126px;
    }

    #p-dashboard .pentalogie-summary {
        grid-template-columns: 1fr;
    }

    .n-number-card-head {
        align-items: flex-start;
    }
}


/* ============================================================
   GBDA UI 0.7.26
   Pentalogie-Kontextnavigation + Mondknoten-Achse
   ============================================================ */

.gbda-sticky-mode {
    width: 100%;
}

#p-sticky-circle-svg {
    width: 100%;
    height: auto;
    display: block;
}

.astro-node-axis-shell {
    margin: 8px 0 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 18px 10px;
    background:
        linear-gradient(
            180deg,
            var(--surface-soft) 0%,
            var(--surface) 100%
        );
}

.astro-node-axis-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 8px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.astro-node-axis-svg {
    display: block;
    width: min(100%, 850px);
    height: auto;
    margin: 0 auto;
}

.astro-node-axis-line {
    stroke: #78917f;
    stroke-width: 6;
    stroke-linecap: round;
}

.astro-node-arrow-head {
    fill: #526c59;
}

.astro-node-axis-node circle {
    fill: #fff;
    stroke: #a8b5ab;
    stroke-width: 3;
}

.astro-node-axis-node-target circle {
    fill: var(--accent-soft);
    stroke: var(--accent);
    stroke-width: 5;
}

.astro-node-zodiac-symbol {
    fill: var(--accent);
    font-size: 50px;
    font-weight: 700;
}

.astro-node-zodiac-sign {
    fill: var(--text);
    font-size: 20px;
    font-weight: 800;
}

.astro-node-zodiac-degree {
    fill: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.astro-node-direction-title {
    fill: var(--accent);
    font-size: 18px;
    font-weight: 850;
}

.astro-node-direction-note {
    fill: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

@media (max-width: 700px) {
    .astro-node-axis-caption {
        font-size: .65rem;
    }

    .astro-node-zodiac-symbol {
        font-size: 43px;
    }

    .astro-node-direction-title {
        font-size: 15px;
    }

    .astro-node-direction-note {
        display: none;
    }
}


/* ==========================================================
   Benutzerverwaltung
   ========================================================== */

.admin-users {
    max-width: 1180px;
    margin: 0 auto;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-heading h1 {
    margin-bottom: 6px;
}

.admin-heading p {
    margin-top: 0;
}

.admin-current-user {
    padding: 10px 14px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    white-space: nowrap;
}

.admin-card {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    background: #fff;
}

.admin-card h2,
.admin-card h3 {
    margin-top: 0;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(210px, 1fr)
    );
    gap: 16px;
    margin-bottom: 18px;
}

.admin-form-grid label,
.password-reset-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.admin-form-grid input,
.admin-form-grid select,
.password-reset-form input {
    box-sizing: border-box;
    width: 100%;
    padding: 9px 10px;
}

.permission-box {
    margin: 16px 0 20px;
    padding: 16px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
}

.permission-box legend {
    padding: 0 8px;
    font-weight: 700;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 10px 18px;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.permission-item input {
    width: auto;
}

.admin-help {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.75;
}

.user-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.user-role,
.user-status {
    display: inline-block;
    margin-right: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.user-role {
    background: #ececec;
}

.user-status.active {
    background: #e7f5e7;
}

.user-status.inactive {
    background: #f6e5e5;
}

.user-id {
    opacity: 0.55;
    font-size: 0.9rem;
}

.admin-checkbox {
    justify-content: center;
}

.admin-checkbox input {
    width: auto;
}

.admin-all-rights {
    padding: 10px 12px;
    border-radius: 8px;
    background: #f2f2f2;
}

.password-reset-form {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.password-reset-form label {
    flex: 1;
}

.admin-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
}

.admin-error {
    background: #f6e5e5;
}

@media (max-width: 700px) {
    .admin-heading,
    .password-reset-form {
        flex-direction: column;
    }

    .admin-current-user {
        white-space: normal;
    }

    .password-reset-form {
        align-items: stretch;
    }
}


/* ==========================================================
   Auth / Benutzerverwaltung
   ========================================================== */

.header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.user-meta a {
    text-decoration: none;
}

.logout-form {
    margin: 0;
}

.logout-button {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font: inherit;
}

.admin-users {
    max-width: 1180px;
    margin: 0 auto;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-heading h1 {
    margin-bottom: 6px;
}

.admin-heading p {
    margin-top: 0;
}

.admin-current-user {
    padding: 10px 14px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    white-space: nowrap;
}

.admin-card {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    background: #fff;
}

.admin-card h2,
.admin-card h3 {
    margin-top: 0;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(210px, 1fr)
    );
    gap: 16px;
    margin-bottom: 18px;
}

.admin-form-grid label,
.password-reset-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.admin-form-grid input,
.admin-form-grid select,
.password-reset-form input {
    box-sizing: border-box;
    width: 100%;
    padding: 9px 10px;
}

.permission-box {
    margin: 16px 0 20px;
    padding: 16px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
}

.permission-box legend {
    padding: 0 8px;
    font-weight: 700;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 10px 18px;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.permission-item input {
    width: auto;
}

.admin-help {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.75;
}

.user-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.user-role,
.user-status {
    display: inline-block;
    margin-right: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.user-role {
    background: #ececec;
}

.user-status.active {
    background: #e7f5e7;
}

.user-status.inactive {
    background: #f6e5e5;
}

.user-id {
    opacity: 0.55;
    font-size: 0.9rem;
}

.admin-checkbox {
    justify-content: center;
}

.admin-checkbox input {
    width: auto;
}

.admin-all-rights {
    padding: 10px 12px;
    border-radius: 8px;
    background: #f2f2f2;
}

.password-reset-form {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.password-reset-form label {
    flex: 1;
}

.admin-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
}

.admin-error {
    background: #f6e5e5;
}

@media (max-width: 700px) {
    .header-meta {
        align-items: flex-start;
    }

    .admin-heading,
    .password-reset-form {
        flex-direction: column;
    }

    .admin-current-user {
        white-space: normal;
    }

    .password-reset-form {
        align-items: stretch;
    }
}


/* ==========================================================
   Passwortwechsel
   ========================================================== */

.password-change-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.password-change-card {
    width: min(460px, 100%);
    padding: 28px;
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    background: #fff;
}

.password-change-card label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-weight: 600;
}

.password-change-card input {
    padding: 10px;
    font: inherit;
}

.password-change-logout {
    margin-top: 14px;
}

.password-change-state {
    margin-top: 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f2f2f2;
}

.force-password-form {
    margin-top: 10px;
}


/* ============================================================
   GBDA DESIGN 0.7.27
   ============================================================ */

:root {
    --gbda-deep: #0d4650;
    --gbda-teal: #116b70;
    --gbda-teal-soft: #e6f0ee;
    --gbda-green: #4e7b58;
    --gbda-gold: #d69c18;
    --gbda-cream: #faf8f3;
    --gbda-ink: #17344a;
}


/* ---------- Main header ---------- */

.gbda-site-header {
    background: #fff;
    border-bottom: 1px solid #d9e0de;
}

.gbda-brand-hero {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    background:
        linear-gradient(
            105deg,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,.83) 38%,
            rgba(242,247,243,.48) 67%,
            rgba(222,238,241,.48) 100%
        ),
        linear-gradient(
            180deg,
            #d7ebf3 0%,
            #f4e4bc 64%,
            #749498 100%
        );
}

.gbda-brand-landscape {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gbda-sun {
    position: absolute;
    left: 64%;
    top: 54px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(246,183,58,.72);
    box-shadow:
        0 0 30px rgba(244,172,48,.55),
        0 0 90px rgba(255,220,140,.72);
}

.gbda-mountains {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 160px;
    opacity: .72;
}

.gbda-mountain-back {
    fill: #78979a;
    opacity: .48;
}

.gbda-mountain-front {
    fill: #345f61;
    opacity: .55;
}

.gbda-brand-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    min-height: 205px;
    padding: 24px 38px;
    display: grid;
    grid-template-columns: 280px 1fr 420px;
    align-items: center;
    gap: 26px;
}

.gbda-brand-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gbda-company {
    color: #365f40;
    font-family: Georgia, serif;
    font-size: 1.75rem;
    line-height: 1;
}

.gbda-company-sub {
    margin-top: 7px;
    color: #44596a;
    font-size: .74rem;
}

.gbda-leaf-mark {
    position: relative;
    width: 82px;
    height: 75px;
    flex: 0 0 82px;
}

.gbda-leaf-mark .leaf {
    position: absolute;
    width: 33px;
    height: 48px;
    border-radius: 90% 10% 90% 10%;
    background: linear-gradient(
        145deg,
        #7aac58,
        #286642
    );
}

.gbda-leaf-mark .leaf-a {
    left: 23px;
    top: 22px;
    transform: rotate(45deg);
}

.gbda-leaf-mark .leaf-b {
    left: 4px;
    top: 25px;
    transform: rotate(18deg);
}

.gbda-leaf-mark .leaf-c {
    right: 5px;
    top: 24px;
    transform: rotate(72deg);
}

.gbda-leaf-mark .leaf-d {
    left: 15px;
    top: 7px;
    transform: rotate(-8deg) scale(.72);
}

.gbda-leaf-mark .leaf-e {
    right: 15px;
    top: 7px;
    transform: rotate(100deg) scale(.72);
}

.gbda-leaf-mark .leaf-sun {
    position: absolute;
    left: 35px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #d7a329;
}

.gbda-product-title {
    color: var(--gbda-deep);
    font-family: Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 3.55rem);
    line-height: 1;
}

.gbda-product-claim {
    margin-top: 14px;
    color: #284d65;
    font-size: .92rem;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.gbda-brand-right {
    display: grid;
    grid-template-columns: 1fr 125px;
    gap: 14px;
    align-items: center;
}

.gbda-header-quote {
    color: #253b42;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.4;
}

.gbda-sacred-symbol,
.gbda-auth-symbol {
    fill: none;
    stroke: rgba(207,147,18,.78);
    stroke-width: 1.4;
}

.gbda-version-pill {
    grid-column: 2;
    justify-self: center;
    padding: 7px 12px;
    border-radius: 9px;
    background: rgba(255,255,255,.74);
    color: #425763;
    font-size: .75rem;
    border: 1px solid rgba(255,255,255,.8);
}


/* ---------- Main navigation ---------- */

.gbda-nav-shell {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}

.gbda-nav-shell .main-nav {
    max-width: none;
    min-height: 68px;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    gap: 2px;
    background: rgba(255,255,255,.96);
}

.gbda-nav-shell .main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 68px;
    padding: 0 16px;
    color: #334d61;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
}

.gbda-nav-shell .main-nav a:hover {
    background: #f5f9f7;
}

.gbda-nav-shell .main-nav a.active {
    color: #0c6770;
    background: transparent;
}

.gbda-nav-shell .main-nav a.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 4px;
    background: #0c6d70;
    border-radius: 4px 4px 0 0;
}

.nav-icon {
    font-size: 1.42rem;
    line-height: 1;
}

.gbda-userbar {
    position: absolute;
    right: 22px;
    top: -202px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.gbda-user-name {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    color: #35505c;
    font-size: .74rem;
}

.gbda-user-name small {
    color: #71828a;
}

.gbda-user-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5b9d6d;
}

.gbda-userbar .logout-button {
    margin: 0;
    width: auto;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: .72rem;
}


/* ---------- Home ---------- */

.gbda-home-welcome {
    position: relative;
    display: grid;
    grid-template-columns: .95fr 1.15fr;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid #d8e0df;
    border-radius: 18px;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 39%,
            rgba(255,255,255,.84) 51%,
            rgba(213,232,235,.56) 100%
        );
    box-shadow: 0 10px 34px rgba(35,62,70,.08);
}

.gbda-home-copy {
    position: relative;
    z-index: 4;
    padding: clamp(38px,5vw,70px);
}

.gbda-home-copy h1 {
    margin: 8px 0 24px;
    color: #0a3852;
    font-family: Georgia, serif;
    font-size: clamp(2.2rem,4vw,3.8rem);
    line-height: 1.04;
    font-weight: 500;
}

.gbda-home-lead {
    max-width: 620px;
    color: #29475f;
    font-size: 1.12rem;
    line-height: 1.65;
}

.gbda-home-divider {
    width: 78%;
    height: 1px;
    margin: 28px 0;
    background: #a8b6b8;
}

.gbda-home-motto {
    color: #2c566c;
    letter-spacing: .06em;
}

.gbda-home-motto span {
    margin: 0 12px;
}

.gbda-primary-cta {
    display: inline-flex;
    margin-top: 22px;
    padding: 13px 27px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #096654,
        #14898d
    );
    color: white;
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 8px 20px rgba(13,105,104,.2);
}

.gbda-home-visual {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 40% 42%,
            rgba(255,216,129,.95),
            rgba(255,225,169,.25) 19%,
            transparent 39%
        ),
        linear-gradient(
            155deg,
            #92b2bd 0%,
            #dce8e2 42%,
            #6d8a6d 72%,
            #314e47 100%
        );
}

.gbda-visual-sun {
    position: absolute;
    left: 36%;
    top: 34%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffe5a5;
    box-shadow: 0 0 90px 45px rgba(255,221,144,.63);
}

.gbda-home-numberwheel {
    position: absolute;
    width: min(62%, 470px);
    right: 13%;
    top: 6%;
    fill: none;
    stroke: rgba(255,255,255,.64);
    stroke-width: 2;
}

.gbda-home-numberwheel text {
    fill: rgba(255,255,255,.92);
    stroke: none;
    font-family: Georgia, serif;
    font-size: 34px;
    text-anchor: middle;
}

.gbda-stone-stack {
    position: absolute;
    left: 11%;
    bottom: 7%;
    width: 260px;
    height: 230px;
}

.gbda-stone-stack .stone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 42% 42%;
    background:
        linear-gradient(
            160deg,
            #928879,
            #4d4a44
        );
    box-shadow: 0 8px 16px rgba(0,0,0,.22);
}

.stone-1 {
    bottom: 0;
    width: 225px;
    height: 72px;
}

.stone-2 {
    bottom: 60px;
    width: 170px;
    height: 60px;
}

.stone-3 {
    bottom: 108px;
    width: 125px;
    height: 53px;
}

.stone-4 {
    bottom: 151px;
    width: 76px;
    height: 33px;
}

.gbda-home-visual-claim {
    position: absolute;
    right: 7%;
    bottom: 16%;
    text-align: right;
    color: white;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.12;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.gbda-feature-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin: 23px 0 28px;
}

.gbda-feature-strip article {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 24px;
    border-right: 1px solid #d8dfdd;
}

.gbda-feature-strip article:last-child {
    border-right: 0;
}

.gbda-feature-strip strong {
    display: block;
    color: #135563;
    font-size: 1rem;
}

.gbda-feature-strip span {
    color: #596f80;
    font-size: .82rem;
}

.feature-symbol {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    border: 2px solid #468064;
    border-radius: 50%;
    color: #397461;
    font-size: 1.65rem;
}

.gbda-feature-strip article:nth-child(3) .feature-symbol,
.gbda-feature-strip article:nth-child(4) .feature-symbol {
    border-color: #d69c18;
    color: #d69c18;
}

.gbda-analysis-entry {
    margin-top: 20px;
}


/* ---------- Login ---------- */

.gbda-auth-page {
    position: relative;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    color: #17344a;
    background:
        linear-gradient(
            110deg,
            rgba(250,248,242,.97) 0%,
            rgba(250,248,242,.9) 42%,
            rgba(223,237,236,.72) 100%
        ),
        #dbe9e9;
}

.gbda-auth-landscape {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.gbda-auth-landscape svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 58vh;
}

.gbda-auth-landscape path:first-child {
    fill: #718e8c;
    opacity: .48;
}

.gbda-auth-landscape path:last-child {
    fill: #315c58;
    opacity: .62;
}

.gbda-auth-sun {
    position: absolute;
    left: 55%;
    top: 28%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f6c359;
    box-shadow:
        0 0 70px 28px rgba(249,203,105,.55),
        0 0 170px 80px rgba(255,224,153,.35);
}

.gbda-auth-layout {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    max-width: 1250px;
    margin: auto;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 440px;
    align-items: center;
    gap: 90px;
}

.gbda-auth-company {
    color: #4d774f;
    font-family: Georgia, serif;
    font-size: 1.65rem;
}

.gbda-auth-brand h1 {
    margin: 10px 0;
    color: #0d4854;
    font-family: Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.6rem,5vw,4.8rem);
}

.gbda-auth-claim {
    color: #2d5f70;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.gbda-auth-separator {
    width: 400px;
    max-width: 70%;
    height: 1px;
    margin: 34px 0;
    background: rgba(40,84,90,.35);
}

.gbda-auth-brand blockquote {
    margin: 0;
    color: #3d4b4c;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.45;
}

.gbda-auth-symbol {
    width: 145px;
    margin-top: 35px;
}

.gbda-login-card {
    padding: 38px;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 80px rgba(24,61,66,.18);
    backdrop-filter: blur(12px);
}

.gbda-login-card h2 {
    margin: 5px 0 8px;
    color: #123c51;
    font-family: Georgia, serif;
    font-size: 2.2rem;
}

.gbda-login-intro {
    margin-bottom: 26px;
    color: #617481;
}

.gbda-login-field {
    margin-top: 18px;
}

.gbda-login-field label {
    display: block;
    margin-bottom: 6px;
    color: #35515d;
    font-weight: 700;
}

.gbda-login-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #ccd8d5;
    border-radius: 10px;
    background: rgba(255,255,255,.92);
}

.gbda-login-field input:focus {
    outline: none;
    border-color: #19777a;
    box-shadow: 0 0 0 3px rgba(25,119,122,.12);
}

.gbda-login-button {
    width: 100%;
    margin-top: 25px;
    padding: 13px;
    border-radius: 10px;
    border: 0;
    background:
        linear-gradient(
            90deg,
            #086754,
            #14898d
        );
    color: white;
    font-size: 1rem;
    font-weight: 750;
    cursor: pointer;
}

.gbda-login-error {
    margin: 16px 0;
    padding: 11px 13px;
    border: 1px solid #e6c0ba;
    border-radius: 9px;
    background: #fff3f1;
    color: #9a4038;
}

.gbda-login-footer {
    margin: 25px 0 0;
    text-align: center;
    color: #839197;
    font-size: .72rem;
}


/* ---------- Responsive ---------- */

@media (max-width: 1180px) {

    .gbda-brand-content {
        grid-template-columns: 230px 1fr;
    }

    .gbda-brand-right {
        display: none;
    }

    .gbda-userbar {
        top: -190px;
    }

    .gbda-home-welcome {
        grid-template-columns: 1fr;
    }

    .gbda-home-visual {
        min-height: 380px;
    }

    .gbda-feature-strip {
        grid-template-columns: repeat(2,1fr);
    }

    .gbda-feature-strip article:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 850px) {

    .gbda-brand-hero {
        min-height: 165px;
    }

    .gbda-brand-content {
        min-height: 165px;
        padding: 20px;
        display: block;
    }

    .gbda-brand-left {
        margin-bottom: 18px;
    }

    .gbda-company-sub {
        display: none;
    }

    .gbda-product-title {
        font-size: 2rem;
    }

    .gbda-product-claim {
        font-size: .7rem;
        letter-spacing: .16em;
    }

    .gbda-userbar {
        position: static;
        justify-content: flex-end;
        padding: 6px 12px 9px;
        background: #f6f9f7;
    }

    .gbda-nav-shell .main-nav {
        min-height: auto;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 8px;
    }

    .gbda-nav-shell .main-nav a {
        min-height: 56px;
        padding: 0 12px;
    }

    .gbda-auth-layout {
        display: block;
        padding: 30px 18px;
    }

    .gbda-auth-brand {
        margin: 30px 0 35px;
    }

    .gbda-login-card {
        max-width: 520px;
    }
}

@media (max-width: 600px) {

    .gbda-leaf-mark {
        transform: scale(.82);
        transform-origin: left center;
    }

    .gbda-company {
        font-size: 1.4rem;
    }

    .gbda-home-copy {
        padding: 30px 22px;
    }

    .gbda-home-copy h1 {
        font-size: 2.25rem;
    }

    .gbda-home-visual {
        min-height: 330px;
    }

    .gbda-stone-stack {
        transform: scale(.74);
        transform-origin: bottom left;
    }

    .gbda-feature-strip {
        grid-template-columns: 1fr;
    }

    .gbda-feature-strip article {
        border-right: 0;
        border-bottom: 1px solid #d8dfdd;
    }

    .gbda-auth-brand h1 {
        font-size: 2.7rem;
    }

    .gbda-auth-brand blockquote {
        font-size: 1.15rem;
    }

    .gbda-login-card {
        padding: 27px 22px;
    }
}


/* ============================================================
   GBDA DESIGN 0.7.28
   Natural image refinement
   ============================================================ */


/* ---------- Natural photographic header ---------- */

.gbda-brand-hero {
    min-height: 245px;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.86) 0%,
            rgba(255,255,255,.62) 32%,
            rgba(255,248,228,.28) 58%,
            rgba(235,244,244,.22) 100%
        ),
        url("/static/img/gbda-header-mountains.jpg")
        center 48% / cover
        no-repeat;
}

.gbda-brand-landscape {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06) 0%,
            rgba(255,255,255,.02) 65%,
            rgba(9,47,49,.12) 100%
        );
}

.gbda-brand-content {
    min-height: 245px;
    grid-template-columns:
        minmax(270px, 340px)
        minmax(480px, 1fr)
        minmax(360px, 440px);
    padding: 20px 46px 32px;
    gap: 28px;
}

.gbda-brand-left {
    align-self: center;
}

.gbda-logo-mark {
    width: 92px;
    height: 82px;
    flex: 0 0 92px;
    overflow: visible;
    filter:
        drop-shadow(
            0 2px 4px rgba(255,255,255,.55)
        );
}

.gbda-logo-leaf {
    fill: url(#gbda-leaf-gradient);
}

.gbda-logo-center {
    fill: #3a744b;
}

.gbda-logo-sun {
    fill: #d7a42b;
}

.gbda-leaf-mark {
    display: none;
}

.gbda-company {
    font-size: 1.95rem;
    line-height: .95;
    text-shadow:
        0 1px 4px rgba(255,255,255,.92);
}

.gbda-company-sub {
    margin-top: 11px;
    font-size: .79rem;
    color: #344e5e;
    text-shadow:
        0 1px 4px rgba(255,255,255,.9);
}

.gbda-brand-center {
    align-self: center;
    padding-left: 8px;
}

.gbda-product-title {
    font-size:
        clamp(2.75rem, 4vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.035em;
    text-shadow:
        0 1px 5px rgba(255,255,255,.85);
}

.gbda-product-claim {
    margin-top: 18px;
    font-size: .94rem;
    font-weight: 650;
    letter-spacing: .31em;
    text-shadow:
        0 1px 5px rgba(255,255,255,.94);
}

.gbda-brand-right {
    align-self: center;
    grid-template-columns: 1fr 132px;
}

.gbda-header-quote {
    font-size: 1.16rem;
    line-height: 1.36;
    color: #153748;
    text-shadow:
        0 1px 5px rgba(255,255,255,.92);
}

.gbda-sacred-symbol {
    background:
        rgba(255,255,255,.12);
    border-radius: 50%;
}

.gbda-version-pill {
    background:
        rgba(255,255,255,.82);
    border:
        1px solid rgba(255,255,255,.95);
    box-shadow:
        0 4px 15px rgba(24,58,64,.08);
}


/* Hide old CSS mountains/sun completely */

.gbda-sun,
.gbda-mountains {
    display: none !important;
}


/* ---------- Navigation closer to reference ---------- */

.gbda-nav-shell {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #dce3e4;
    box-shadow:
        0 4px 13px rgba(23,52,74,.07);
}

.gbda-nav-shell .main-nav {
    min-height: 68px;
}

.gbda-nav-shell .main-nav a {
    min-height: 68px;
    font-size: .92rem;
}

.gbda-nav-shell .main-nav a.active::after {
    height: 4px;
    background: #087a79;
}

.nav-icon {
    color: #113f5b;
}


/* ---------- Hero with real photograph ---------- */

.gbda-home-welcome {
    min-height: 500px;
    grid-template-columns:
        minmax(470px, .88fr)
        minmax(630px, 1.32fr);
    background: #fff;
}

.gbda-home-copy {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.98) 78%,
            rgba(255,255,255,.82) 100%
        );
}

.gbda-home-copy::after {
    content: "";
    position: absolute;
    top: 0;
    right: -95px;
    width: 150px;
    height: 100%;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.98),
            rgba(255,255,255,0)
        );
    z-index: -1;
}

.gbda-home-visual {
    min-height: 500px;

    background:
        url("/static/img/gbda-hero-stones.jpg")
        50% 52% / cover
        no-repeat;
}

.gbda-home-image-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.28) 0%,
            rgba(255,255,255,.03) 27%,
            rgba(5,31,34,.02) 55%,
            rgba(6,34,35,.2) 100%
        );
}

.gbda-home-pentagram {
    position: absolute;

    top: 5%;
    right: 12%;

    width:
        min(53%, 450px);

    fill: none;

    stroke: rgba(255,221,133,.97);
    stroke-width: 2.4;

    filter:
        drop-shadow(
            0 0 7px rgba(255,192,52,.62)
        )
        drop-shadow(
            0 0 18px rgba(255,181,29,.28)
        );
}

.gbda-home-pentagram circle,
.gbda-home-pentagram polygon {
    vector-effect: non-scaling-stroke;
}

.gbda-home-pentagram .gbda-pentagram-center {
    fill: #ffe7a1;
    stroke: #ffe7a1;
}

.gbda-home-visual-claim {
    right: 6%;
    bottom: 15%;

    font-size: 1.62rem;

    text-shadow:
        0 2px 8px rgba(0,0,0,.62);
}

.gbda-home-visual-claim span {
    display: block;

    width: 82px;
    height: 2px;

    margin:
        18px 0 0 auto;

    background: #d9ad31;
}


/* old abstract elements no longer used */

.gbda-visual-sun,
.gbda-stone-stack,
.gbda-home-numberwheel {
    display: none !important;
}


/* ---------- Feature strip ---------- */

.gbda-feature-strip {
    border:
        1px solid #e2e6e4;

    border-radius:
        0 0 15px 15px;

    background:
        rgba(255,255,255,.98);

    box-shadow:
        0 8px 24px rgba(32,58,66,.05);

    margin-top: 0;

    padding:
        10px 0;
}


/* ---------- Login: same natural visual language ---------- */

.gbda-auth-page {
    background:
        linear-gradient(
            90deg,
            rgba(250,248,242,.94) 0%,
            rgba(250,248,242,.76) 45%,
            rgba(221,237,238,.34) 100%
        ),
        url("/static/img/gbda-header-mountains.jpg")
        center / cover
        fixed
        no-repeat;
}

.gbda-auth-landscape {
    display: none;
}

.gbda-login-card {
    background:
        rgba(255,255,255,.92);

    border:
        1px solid rgba(255,255,255,.96);

    box-shadow:
        0 28px 80px rgba(10,51,58,.21);
}


/* ---------- Responsive ---------- */

@media (max-width: 1280px) {

    .gbda-brand-content {
        grid-template-columns:
            270px
            minmax(430px, 1fr);
    }

    .gbda-brand-right {
        display: none;
    }

    .gbda-home-welcome {
        grid-template-columns:
            .9fr 1.1fr;
    }
}

@media (max-width: 900px) {

    .gbda-brand-hero {
        min-height: 185px;
    }

    .gbda-brand-content {
        min-height: 185px;
        display: block;
    }

    .gbda-brand-left {
        margin-bottom: 13px;
    }

    .gbda-logo-mark {
        width: 72px;
        height: 64px;
    }

    .gbda-product-title {
        font-size: 2.25rem;
    }

    .gbda-home-welcome {
        grid-template-columns: 1fr;
    }

    .gbda-home-visual {
        min-height: 420px;
    }

    .gbda-home-pentagram {
        width: 390px;
        max-width: 58%;
    }
}

@media (max-width: 600px) {

    .gbda-brand-hero {
        background-position: 58% center;
    }

    .gbda-company {
        font-size: 1.55rem;
    }

    .gbda-company-sub {
        font-size: .7rem;
    }

    .gbda-home-visual {
        min-height: 330px;
    }

    .gbda-home-pentagram {
        right: 5%;
        width: 270px;
        max-width: 65%;
    }

    .gbda-home-visual-claim {
        font-size: 1.24rem;
    }
}


/* ==========================================================
   GBDA Legal Pages
   ========================================================== */

.gbda-legal-links {
    margin-top: 14px;
    text-align: center;
    font-size: 0.9rem;
}

.gbda-legal-links a,
.gbda-app-legal-footer a,
.legal-footer a,
.legal-topbar a {
    color: inherit;
}

.gbda-legal-links span,
.gbda-app-legal-footer span,
.legal-footer span {
    margin: 0 6px;
    opacity: 0.6;
}

.gbda-app-legal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 32px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.legal-page {
    margin: 0;
    background: #f5f5f5;
}

.legal-shell {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 48px;
}

.legal-topbar {
    margin-bottom: 18px;
}

.legal-card {
    padding: 32px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.legal-card h1 {
    margin-top: 0;
}

.legal-card h2 {
    margin-top: 32px;
}

.legal-card p,
.legal-card li {
    line-height: 1.65;
}

.legal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 22px;
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .legal-card {
        padding: 22px;
    }
}

/* M4.4 - Körperbild WDB-Deutung: Kurz-/Langtext und Farbhinweise */
.k-interpretation-section {
    margin-top: 18px;
}

.k-interpretation-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.k-interpretation-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: var(--card, #fff);
    scroll-margin-top: 110px;
}

.k-interpretation-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.k-point-title-line {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.k-point-title-line h3 {
    margin: 0;
}

.k-interpretation-digits {
    margin-top: .5rem;
}

.k-combination-label {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
}

.k-interpretation-block {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 13px;
    background: var(--surface-soft);
}

.k-overlay-block {
    background: #f7faf7;
}

.k-interpretation-block p,
.k-detail-block p {
    margin: .35rem 0 0;
    line-height: 1.62;
}

.k-interpretation-label {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}

.k-open-interpretation {
    display: grid;
    gap: .25rem;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px dashed var(--border);
    border-radius: 13px;
    background: #fafbf9;
}

.k-open-interpretation span {
    color: var(--muted);
    font-size: .9rem;
}

.k-deep-details {
    margin-top: 14px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.k-deep-details > summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--accent, #365b46);
}

.k-deep-content {
    display: grid;
    gap: 14px;
    padding-top: 14px;
}

.k-detail-block h4 {
    margin: 0;
}

.k-explained-digit {
    position: relative;
    cursor: help;
    outline: none;
}

.k-explained-digit:focus-visible {
    box-shadow: 0 0 0 3px rgba(70, 105, 82, .2);
}

.k-explained-digit::after {
    content: attr(data-k-tooltip);
    position: absolute;
    z-index: 30;
    left: 50%;
    bottom: calc(100% + 9px);
    width: max-content;
    max-width: min(280px, 78vw);
    transform: translateX(-50%) translateY(4px);
    padding: 8px 10px;
    border-radius: 9px;
    background: #202622;
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
}

.k-explained-digit:hover::after,
.k-explained-digit:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 620px) {
    .k-interpretation-card {
        padding: 14px;
    }

    .k-explained-digit::after {
        left: 0;
        transform: translateY(4px);
    }

    .k-explained-digit:hover::after,
    .k-explained-digit:focus-visible::after {
        transform: translateY(0);
    }
}


/* ==========================================================
   GBDA Header/Layout Fix 2026-09-22
   - Produktname kollisionsfrei
   - Zitat bekommt eigenen Raum
   - Navigation bleibt beim Scrollen sichtbar
   ========================================================== */

/*
 * Nur die Navigation wird sticky.
 * Der grosse Landschafts-/Markenbereich scrollt normal weg.
 */
.gbda-nav-shell {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/*
 * Der mittlere Produktbereich darf innerhalb des Grid/Flex-Layouts
 * tatsächlich kleiner werden. Das verhindert Textueberlagerungen.
 */
.gbda-brand-center {
    min-width: 0;
}

/*
 * Haupttitel responsiv statt mit einer starren grossen Schrift.
 * Auf breiten Displays bleibt er praesent, bekommt aber genug Abstand
 * zu gesundbeschwingt links und zum Zitat rechts.
 */
.gbda-product-title {
    font-size: clamp(2.35rem, 4.1vw, 4.75rem);
    line-height: .94;
    letter-spacing: -.035em;
    white-space: nowrap;
}

/*
 * Unterzeile ebenfalls etwas kompakter.
 */
.gbda-product-claim {
    font-size: clamp(.72rem, 1.05vw, 1rem);
    letter-spacing: .28em;
    white-space: nowrap;
}

/*
 * Rechter Textblock soll nicht in den Produkttitel hineinlaufen.
 */
.gbda-brand-right {
    min-width: 0;
}

.gbda-header-quote {
    font-size: clamp(.82rem, 1.2vw, 1.08rem);
    line-height: 1.35;
}

/*
 * Auf normalen Notebook-/Desktopbreiten weiter verkleinern.
 */
@media (max-width: 1500px) {
    .gbda-product-title {
        font-size: clamp(2.2rem, 3.7vw, 3.7rem);
    }

    .gbda-product-claim {
        font-size: .72rem;
        letter-spacing: .22em;
    }

    .gbda-header-quote {
        font-size: .84rem;
    }
}

/*
 * Bei mittleren Breiten darf der Produktname umbrechen,
 * statt mit Logo oder Zitat zu kollidieren.
 */
@media (max-width: 1180px) {
    .gbda-product-title {
        font-size: clamp(2rem, 4.4vw, 3.1rem);
        white-space: normal;
        overflow-wrap: normal;
    }

    .gbda-product-claim {
        white-space: normal;
        line-height: 1.45;
    }
}

/*
 * Kleine Displays: vorhandenes responsives Layout respektieren.
 * Navigation bleibt oben, darf aber horizontal scrollen, falls die
 * vorhandene Navigation mehr Platz benoetigt.
 */
@media (max-width: 760px) {
    .gbda-nav-shell {
        top: 0;
    }

    .gbda-product-title {
        font-size: clamp(1.85rem, 9vw, 2.7rem);
        line-height: 1;
    }

    .gbda-product-claim {
        font-size: .68rem;
        letter-spacing: .16em;
    }
}


/* GBDA Koerperbild Sticky Navigation 2026-09-22 */
.k-reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 22px;
    align-items: start;
}

.k-sticky-body {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(34, 49, 40, .08);
}

.k-sticky-body-title {
    font-weight: 800;
    margin-bottom: 4px;
}

#k-sticky-body-svg {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 8px;
}

.k-sticky-point {
    cursor: pointer;
    outline: none;
}

.k-sticky-point circle {
    fill: rgba(255, 255, 255, .94);
    stroke: #263b2f;
    stroke-width: 7;
    transition: fill .15s ease, stroke-width .15s ease, transform .15s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.k-sticky-point text {
    fill: #233129;
    font-size: 38px;
    font-weight: 900;
    pointer-events: none;
}

.k-sticky-point:hover circle,
.k-sticky-point:focus circle {
    stroke-width: 11;
    transform: scale(1.12);
}

.k-sticky-point.is-active circle {
    fill: #dcebdd;
    stroke-width: 12;
    transform: scale(1.16);
}

.k-sticky-point.is-active text {
    fill: #16261c;
}

.k-interpretation-card {
    scroll-margin-top: 92px;
}

@media (max-width: 980px) {
    .k-reading-layout {
        grid-template-columns: 1fr;
    }

    .k-sticky-body {
        position: static;
        order: -1;
        max-width: 250px;
        justify-self: center;
    }
}

@media (max-width: 620px) {
    .k-sticky-body {
        max-width: 190px;
    }
}


/* GBDA Jahres-Körperbild UI 2026-09-22 */

.k-year-section {
    margin-top: 18px;
}

.k-year-controls {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
    margin: 18px 0;
}

.k-year-controls label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.k-year-controls input {
    width: 150px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.k-year-summary {
    margin-top: 18px;
}

.k-year-grid {
    display: grid;
    grid-template-columns: minmax(460px, 1.15fr) minmax(240px, .55fr);
    gap: 18px;
    align-items: start;
}

.k-year-visual,
.k-year-info {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: var(--card, #fff);
}

#k-year-body-svg {
    width: min(100%, 560px);
    height: auto;
    display: block;
}

.k-year-meta {
    display: grid;
    gap: 12px;
}

.k-year-meta > div {
    display: grid;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
}

.k-year-meta span {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}

.k-year-meta strong {
    font-size: 1.05rem;
}

.k-year-points-heading {
    margin-top: 24px;
}

@media (max-width: 980px) {
    .k-year-grid {
        grid-template-columns: 1fr;
    }

    .k-year-info {
        order: -1;
    }
}

@media (max-width: 620px) {
    .k-year-controls {
        align-items: stretch;
    }

    .k-year-controls label,
    .k-year-controls input,
    .k-year-controls button {
        width: 100%;
    }
}


/* ==========================================================
   GBDA Hauptnavigation final sticky 2026-09-22
   Die Navigation ist nun ausserhalb des grossen Brand-Headers.
   ========================================================== */

body.gbda-app > .gbda-nav-shell {
    position: sticky;
    top: 0;
    z-index: 2000;
    max-width: none;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, .985);
    border-bottom: 1px solid #dce3e4;
    box-shadow: 0 5px 16px rgba(23, 52, 74, .10);
}

body.gbda-app > .gbda-nav-shell > .main-nav {
    max-width: 1600px;
    margin: 0 auto;
}

/*
 * Userbar liegt vor dem Scrollen weiterhin optisch im Markenbereich.
 * Sobald die Navigation sticky wird, liegt der alte negative Bereich
 * oberhalb des Viewports und stoert die Navigation nicht.
 */
body.gbda-app > .gbda-nav-shell .gbda-userbar {
    pointer-events: auto;
}

/*
 * Untermenues bleiben direkt unterhalb der Hauptnavigation im normalen
 * Dokumentfluss. Sie muessen nicht selbst dauerhaft fixiert werden.
 */
body.gbda-app > .module-subnav {
    position: relative;
    z-index: 30;
}

@media (max-width: 980px) {
    body.gbda-app > .gbda-nav-shell > .main-nav {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }
}

/* ==========================================================
   GBDA Koerperbild - Umleitung + Jahres-Sticky 2026-09-22
   ========================================================== */

.k-year-reading-layout {
    margin-top: 1rem;
}

#k-year-sticky-body-svg {
    display: block;
    width: 100%;
    height: auto;
    margin-top: .75rem;
}

.k-redirect-section {
    margin-top: 1rem;
}

.k-year-redirect-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.k-redirect-grid {
    display: grid;
    grid-template-columns:
        minmax(320px, .9fr)
        minmax(360px, 1.1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 1rem;
}

.k-redirect-options {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}

.k-redirect-option {
    appearance: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
    padding: .55rem .8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font: inherit;
    color: inherit;
}

.k-redirect-option strong {
    font-weight: 900;
}

.k-redirect-option span {
    font-size: .78rem;
    color: var(--muted);
}

.k-redirect-option:hover,
.k-redirect-option:focus-visible,
.k-redirect-option.is-active {
    border-color: #456d54;
    box-shadow: 0 0 0 2px rgba(69,109,84,.12);
}

.k-redirect-option.is-active {
    background: #eef4ef;
}

.k-redirect-detail {
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft);
    padding: 1rem;
}

.k-redirect-route {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: .85rem;
}

.k-redirect-route strong {
    font-size: 1.2rem;
}

.k-redirect-route span {
    color: var(--muted);
    font-size: .85rem;
}

.k-redirect-hands {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: .8rem;
    align-items: center;
    margin: .8rem 0 1rem;
}

.k-redirect-hands > div:not(.k-redirect-direction) {
    border: 1px solid var(--border);
    border-radius: .8rem;
    background: #fff;
    padding: .75rem;
}

.k-redirect-hands span,
.k-redirect-hands strong,
.k-redirect-hands small {
    display: block;
}

.k-redirect-hands span,
.k-redirect-hands small {
    color: var(--muted);
}

.k-redirect-direction {
    font-size: 1.6rem;
    font-weight: 900;
}

.k-redirect-reasons {
    margin-top: .8rem;
}

.k-redirect-reasons ul {
    margin: .4rem 0 0;
    padding-left: 1.25rem;
}

.k-redirect-visual {
    position: sticky;
    top: 5.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.58),
            rgba(255,255,255,.82)
        );
    padding: .75rem;
}

#k-redirect-svg,
#k-year-redirect-svg {
    display: block;
    width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
}

.k-redirect-path {
    stroke: #a32626;
    stroke-width: 12;
    stroke-linecap: round;
    opacity: .82;
}

#k-redirect-arrow-head path,
#k-year-redirect-arrow-head path {
    fill: #a32626;
}

.k-redirect-marker > circle:first-child {
    fill: rgba(255,255,255,.78);
    stroke-width: 8;
}

.k-redirect-marker > circle:nth-child(2) {
    fill: #fff;
    stroke-width: 6;
}

.k-redirect-source > circle {
    stroke: #a32626;
}

.k-redirect-target > circle {
    stroke: #39734a;
}

.k-redirect-point-number {
    font-size: 30px;
    font-weight: 900;
    fill: #1d241f;
}

.k-redirect-hand-label {
    font-size: 25px;
    font-weight: 900;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 7px;
    stroke-linejoin: round;
    fill: #1d241f;
}

.k-redirect-general {
    margin-top: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.k-open-rule {
    border-left: 3px solid #9b7a31;
    padding-left: .7rem;
}

@media (max-width: 980px) {
    .k-redirect-grid {
        grid-template-columns: 1fr;
    }

    .k-redirect-visual {
        position: static;
    }
}

@media (max-width: 620px) {
    .k-redirect-hands {
        grid-template-columns: 1fr;
    }

    .k-redirect-direction {
        transform: rotate(90deg);
        text-align: center;
    }

    .k-redirect-option {
        width: 100%;
        justify-content: space-between;
    }
}


/* GBDA Umleitung - priorisierte Empfehlung 2026-09-22 */

.k-redirect-recommendation {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.1rem;
    border: 2px solid #5b7d62;
    border-radius: 1rem;
    background:
        linear-gradient(
            135deg,
            rgba(231,241,232,.96),
            rgba(249,251,249,.96)
        );
    box-shadow:
        0 6px 18px rgba(52,81,59,.08);
}

.k-redirect-recommendation-label {
    display: inline-block;
    margin-bottom: .35rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #486950;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.k-redirect-recommendation h3 {
    margin: .2rem 0 .65rem;
}

.k-redirect-recommendation-route {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: .7rem 0;
    font-size: 1.35rem;
}

.k-redirect-recommendation-route span {
    font-size: 1.7rem;
    font-weight: 900;
}

.k-redirect-recommendation-note {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .9rem;
}

/* GBDA Empfehlung Sichtbarkeits-Fix 2026-09-22 */
.k-redirect-recommendation.is-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* ==========================================================
   GBDA Header Zweizeiler 2026-09-22
   ========================================================== */

.gbda-product-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    white-space: normal;
    line-height: .82;
}

.gbda-product-title-main,
.gbda-product-title-sub {
    display: block;
}

.gbda-product-title-main {
    font-size: clamp(2.55rem, 4.1vw, 4.9rem);
    letter-spacing: -.04em;
}

.gbda-product-title-sub {
    margin-left: 12%;
    margin-top: .04em;
    font-size: clamp(2.15rem, 3.6vw, 4.15rem);
    letter-spacing: -.035em;
}

.gbda-product-claim {
    margin-top: 1rem;
}

@media (max-width: 1500px) {
    .gbda-product-title-main {
        font-size: clamp(2.35rem, 3.7vw, 3.9rem);
    }

    .gbda-product-title-sub {
        font-size: clamp(2rem, 3.25vw, 3.35rem);
    }
}

@media (max-width: 1180px) {
    .gbda-product-title-main {
        font-size: clamp(2.1rem, 4.5vw, 3.25rem);
    }

    .gbda-product-title-sub {
        margin-left: 7%;
        font-size: clamp(1.85rem, 4vw, 2.85rem);
    }
}

@media (max-width: 760px) {
    .gbda-product-title {
        line-height: .9;
    }

    .gbda-product-title-main {
        font-size: clamp(1.95rem, 8.5vw, 2.8rem);
    }

    .gbda-product-title-sub {
        margin-left: 4%;
        font-size: clamp(1.7rem, 7.5vw, 2.45rem);
    }

    .gbda-product-claim {
        margin-top: .75rem;
    }
}

/* GBDA partnerschaft zeitqualitaet 0.7.29 */
.gbda-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}
.gbda-form-grid {
    display: grid;
    gap: 1rem;
}
.gbda-form-grid label,
.gbda-double-search label {
    display: grid;
    gap: .4rem;
    font-weight: 600;
}
.gbda-form-grid input,
.gbda-double-search input {
    width: 100%;
    box-sizing: border-box;
}
.gbda-result-block {
    margin-top: 1.4rem;
}
.gbda-calc-row {
    display: grid;
    grid-template-columns: minmax(5rem, auto) 1fr auto;
    gap: .75rem;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line, rgba(0,0,0,.12));
}
.gbda-draft-fallback {
    padding-left: .75rem;
    border-left: 3px solid currentColor;
}
.gbda-number-result-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1rem;
    margin: 1.25rem 0;
}
.gbda-number-result-grid article {
    padding: 1rem;
    border: 1px solid var(--line, rgba(0,0,0,.12));
    border-radius: 14px;
}
.gbda-combination {
    font-size: clamp(1.35rem, 3vw, 2rem);
    white-space: nowrap;
}
.gbda-draft-notice {
    margin: 1rem 0;
}
.gbda-pentagram-card {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line, rgba(0,0,0,.12));
}
.gbda-partnership-pentagram-wrap {
    max-width: 620px;
    margin: 0 auto;
}
.gbda-partnership-pentagram {
    width: 100%;
    height: auto;
}
.gbda-penta-orbit,
.gbda-penta-star {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    opacity: .55;
}
.gbda-penta-star {
    stroke-width: 3;
    opacity: .8;
}
.gbda-penta-node circle {
    fill: var(--surface, white);
    stroke: currentColor;
    stroke-width: 2;
}
.gbda-penta-node text {
    fill: currentColor;
    font-weight: 700;
    font-size: 18px;
}
.gbda-pentagram-sequence {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin: 1rem 0;
}
.gbda-pentagram-sequence span {
    display: inline-flex;
    min-width: 2.8rem;
    justify-content: center;
    padding: .45rem .65rem;
    border: 1px solid var(--line, rgba(0,0,0,.15));
    border-radius: 999px;
    font-weight: 700;
}
.gbda-search-row {
    display: flex;
    gap: .75rem;
}
.gbda-search-row input {
    flex: 1;
}
.gbda-knowledge-text {
    white-space: pre-line;
    line-height: 1.65;
}
.gbda-source-details {
    margin-top: 1rem;
}
.gbda-source-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem 1rem;
}
@media (max-width: 900px) {
    .gbda-two-column,
    .gbda-number-result-grid {
        grid-template-columns: 1fr;
    }
    .gbda-calc-row {
        grid-template-columns: 1fr;
    }
    .gbda-search-row {
        flex-direction: column;
    }
}

/* GBDA service dropdown 0.7.30 */
.gbda-nav-dropdown { position:relative; display:flex; align-items:stretch; }
.gbda-nav-dropdown > summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:.45rem; padding:.8rem .9rem; white-space:nowrap; }
.gbda-nav-dropdown > summary::-webkit-details-marker { display:none; }
.gbda-nav-dropdown > summary::after { content:"⌄"; font-size:.8em; margin-left:.15rem; }
.gbda-nav-dropdown.active > summary { font-weight:700; }
.gbda-nav-dropdown-menu { position:absolute; z-index:50; top:calc(100% + 2px); right:0; min-width:13rem; padding:.4rem; background:var(--surface,#fff); border:1px solid var(--line,rgba(0,0,0,.15)); border-radius:10px; box-shadow:0 10px 28px rgba(0,0,0,.16); }
.gbda-nav-dropdown:not([open]) .gbda-nav-dropdown-menu { display:none; }
.gbda-nav-dropdown-menu a { display:block; padding:.65rem .75rem; border-radius:7px; white-space:nowrap; text-decoration:none; }
.gbda-nav-dropdown-menu a:hover, .gbda-nav-dropdown-menu a.active { background:rgba(0,0,0,.06); }

/* GBDA Partnerschaft/Zeitqualität Feinschliff 0.7.31 */
.gbda-mode-switch {
    display: inline-flex;
    gap: .4rem;
    padding: .35rem;
    margin: 0 0 1rem;
    border: 1px solid rgba(40, 65, 45, .15);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
}
.gbda-mode-switch a {
    padding: .6rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}
.gbda-mode-switch a.active {
    background: #365B40;
    color: #fff;
}
.gbda-mode-card {
    max-width: 100%;
}
.gbda-form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gbda-form-grid-two button {
    grid-column: 1 / -1;
}
.gbda-result-wide {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.gbda-pentagram-wide {
    width: 100%;
}
.gbda-pentagram-reading-layout {
    display: grid;
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
}
.gbda-penta-sticky {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(40,65,45,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
}
.gbda-partnership-pentagram-small {
    width: 100%;
    max-width: 250px;
}
.gbda-partnership-pentagram-main {
    max-width: 760px;
    margin: 0 auto;
}
.gbda-penta-node-clickable {
    cursor: pointer;
}
.gbda-penta-node-clickable:hover circle,
.gbda-penta-node-clickable.active circle {
    stroke-width: 4;
}
.gbda-pentagram-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
}
.gbda-pentagram-buttons button {
    border: 1px solid rgba(40,65,45,.18);
    background: #fff;
    border-radius: 999px;
    padding: .35rem .65rem;
    cursor: pointer;
    font-weight: 700;
}
.gbda-pentagram-buttons button.active {
    background: #365B40;
    color: #fff;
}
.gbda-penta-descriptions {
    margin-top: 1rem;
}
.gbda-penta-description {
    padding: 1rem;
    border: 1px solid rgba(40,65,45,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.78);
}
.gbda-penta-text-block + .gbda-penta-text-block {
    margin-top: .8rem;
}
@media (max-width: 900px) {
    .gbda-form-grid-two,
    .gbda-pentagram-reading-layout {
        grid-template-columns: 1fr;
    }
    .gbda-penta-sticky {
        position: static;
    }
}

/* GBDA Partnerschaft Pentagramm-UI 0.7.32 */
.gbda-pentagram-original-style {
    width: 100%;
}
.gbda-penta-original-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 1.4rem;
    align-items: start;
}
.gbda-penta-main-card {
    min-height: 560px;
    padding: 1rem;
    border: 1px solid rgba(40,65,45,.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248,251,248,.95), rgba(244,247,244,.9));
    display: flex;
    align-items: center;
    justify-content: center;
}
.gbda-pentagram-svg-original {
    width: min(100%, 760px);
    max-height: 720px;
}
.gbda-penta-navigator-right {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(40,65,45,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.94);
}
.gbda-penta-navigator-right .gbda-sticky-pentagram {
    width: 100%;
    max-width: 220px;
    display: block;
    margin: .5rem auto .8rem;
}
.gbda-penta-nav-list {
    display: grid;
    gap: .4rem;
}
.gbda-penta-nav-list button {
    width: 100%;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: .55rem;
    padding: .45rem .55rem;
    border: 1px solid rgba(40,65,45,.14);
    border-radius: 10px;
    background: #f6faf6;
    cursor: pointer;
    text-align: left;
}
.gbda-penta-nav-list button:hover,
.gbda-penta-nav-list button.active {
    border-color: #365B40;
    background: #eef5ef;
}
.gbda-penta-nav-number {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(40,65,45,.24);
    background: #fff;
    font-weight: 800;
}
.gbda-penta-nav-title {
    font-size: .88rem;
    font-weight: 700;
}
.gbda-penta-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .8rem;
}
.gbda-penta-summary-row span {
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(40,65,45,.13);
    background: rgba(255,255,255,.8);
    font-size: .85rem;
}
.gbda-penta-full-interpretations {
    margin-top: 1.4rem;
}
.gbda-penta-interpretation-heading {
    margin-bottom: 1rem;
}
.gbda-penta-full-card {
    scroll-margin-top: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(40,65,45,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.9);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.gbda-penta-full-card + .gbda-penta-full-card {
    margin-top: .8rem;
}
.gbda-penta-full-card.gbda-penta-highlight {
    border-color: #365B40;
    box-shadow: 0 0 0 3px rgba(54,91,64,.12);
}
.gbda-penta-field {
    padding-top: .7rem;
    margin-top: .7rem;
    border-top: 1px solid rgba(40,65,45,.10);
}
.gbda-penta-field:first-of-type {
    border-top: 0;
    margin-top: .2rem;
    padding-top: .2rem;
}
.gbda-penta-field h4 {
    margin: 0 0 .35rem;
    color: #263B2B;
}
.gbda-penta-field-content {
    white-space: pre-line;
    line-height: 1.55;
}
.gbda-penta-node-clickable {
    cursor: pointer;
}
.gbda-penta-node-clickable.active circle,
.gbda-penta-node-clickable:hover circle {
    stroke-width: 4;
}
@media (max-width: 980px) {
    .gbda-penta-original-layout {
        grid-template-columns: 1fr;
    }
    .gbda-penta-navigator-right {
        position: static;
        order: 2;
    }
    .gbda-penta-nav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .gbda-penta-nav-list {
        grid-template-columns: 1fr;
    }
}

/* GBDA Pentagramm Originalstil 0.7.33 */
.gbda-pentagram-reference-style {
    width: 100%;
}
.gbda-penta-reference-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 1.3rem;
    align-items: start;
}
.gbda-penta-reference-main {
    display: grid;
    grid-template-columns: minmax(420px, 1.35fr) minmax(250px, .75fr);
    gap: 1rem;
    align-items: start;
}
.gbda-penta-graphic-card {
    grid-row: 1 / span 3;
    min-height: 600px;
    padding: 1rem;
    border: 1px solid #d8e2db;
    border-radius: 16px;
    background: #f3f8f4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gbda-penta-reference-svg {
    width: 100%;
    max-width: 720px;
}
.gbda-penta-ref-orbit {
    fill: none;
    stroke: #9fb0a4;
    stroke-width: 2;
}
.gbda-penta-ref-star,
.gbda-penta-ref-connector {
    fill: none;
    stroke: #4d5550;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.gbda-penta-ref-connector {
    stroke-width: 3;
}
.gbda-penta-ref-node {
    cursor: pointer;
}
.gbda-penta-ref-node circle {
    fill: #f7faf7;
    stroke: #6f8175;
    stroke-width: 2.5;
    transition: .18s ease;
}
.gbda-penta-ref-node text {
    font-size: 24px;
    font-weight: 800;
    fill: #244331;
    pointer-events: none;
}
.gbda-penta-ref-node-inner circle {
    fill: #eef5ef;
}
.gbda-penta-ref-node-inner text {
    fill: #b94d49;
}
.gbda-penta-ref-node:hover circle,
.gbda-penta-ref-node.active circle {
    stroke: #315f43;
    stroke-width: 5;
    filter: drop-shadow(0 3px 6px rgba(38,59,43,.16));
}
.gbda-penta-ref-position-label {
    font-size: 17px;
    font-weight: 700;
    fill: #68796d;
}
.gbda-penta-reference-meta {
    display: grid;
    gap: .55rem;
}
.gbda-penta-reference-meta > div {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .65rem .8rem;
    border: 1px solid #d5dfd8;
    border-radius: 12px;
    background: #f5f8f5;
}
.gbda-penta-reference-meta span {
    color: #66766b;
}
.gbda-penta-reference-meta strong {
    color: #183c29;
    text-align: right;
}
.gbda-penta-reference-list {
    display: grid;
    gap: .45rem;
}
.gbda-penta-reference-list-item {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px 1fr 18px;
    align-items: center;
    gap: .55rem;
    padding: .48rem .6rem;
    border: 1px solid #cfdad2;
    border-radius: 12px;
    background: #eef5ef;
    color: #183c29;
    text-align: left;
    cursor: pointer;
}
.gbda-penta-reference-list-item.inner {
    background: #f5f8f5;
}
.gbda-penta-reference-list-item:hover,
.gbda-penta-reference-list-item.active {
    border-color: #315f43;
    box-shadow: 0 0 0 2px rgba(49,95,67,.08);
}
.gbda-penta-reference-index {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #73867a;
    border-radius: 50%;
    background: #fff;
    color: #173c28;
    font-weight: 800;
}
.gbda-penta-reference-list-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .12rem;
}
.gbda-penta-reference-list-text strong {
    font-size: 1rem;
    color: #102e20;
}
.gbda-penta-reference-list-text small {
    display: block;
    color: #5d6d62;
    font-size: .8rem;
    line-height: 1.2;
}
.gbda-penta-reference-arrow {
    color: #4f6557;
    font-size: 1.4rem;
}
.gbda-penta-reference-navigator {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    border: 1px solid #d8e0da;
    border-radius: 16px;
    background: #fff;
}
.gbda-penta-reference-mini {
    width: 100%;
    display: block;
    margin: .7rem auto 0;
}
.gbda-penta-reference-mini .gbda-penta-ref-node text {
    font-size: 28px;
}
.gbda-penta-reference-mini .gbda-penta-ref-star,
.gbda-penta-reference-mini .gbda-penta-ref-connector {
    stroke-width: 5;
}
.gbda-penta-reference-navigator .hint {
    color: #5e6d63;
}
.gbda-penta-full-card {
    scroll-margin-top: 1rem;
}
.gbda-penta-full-card.gbda-penta-highlight {
    border-color: #315f43;
    box-shadow: 0 0 0 3px rgba(49,95,67,.10);
}
@media (max-width: 1150px) {
    .gbda-penta-reference-grid {
        grid-template-columns: 1fr;
    }
    .gbda-penta-reference-navigator {
        position: static;
        max-width: 320px;
        justify-self: end;
    }
}
@media (max-width: 900px) {
    .gbda-penta-reference-main {
        grid-template-columns: 1fr;
    }
    .gbda-penta-graphic-card {
        grid-row: auto;
        min-height: auto;
    }
}

/* GBDA Sticky Pentagramm + Typus text 0.7.34 */
.gbda-penta-long-reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 1.3rem;
    align-items: start;
}
.gbda-penta-long-reading-content {
    min-width: 0;
}
.gbda-penta-reference-navigator-long {
    position: sticky;
    top: 1rem;
    align-self: start;
}
.gbda-relationship-typus-card {
    width: 100%;
}
.gbda-typus-maintext {
    white-space: pre-line;
    line-height: 1.62;
}
.gbda-typus-blocks {
    margin-top: 1rem;
}
.gbda-typus-field {
    padding-top: .75rem;
    margin-top: .75rem;
    border-top: 1px solid rgba(40,65,45,.11);
}
.gbda-typus-field h4 {
    margin: 0 0 .35rem;
    color: #263B2B;
}
.gbda-typus-field > div {
    white-space: pre-line;
    line-height: 1.55;
}
@media (max-width: 1150px) {
    .gbda-penta-long-reading-layout {
        grid-template-columns: 1fr;
    }
    .gbda-penta-reference-navigator-long {
        position: static;
        max-width: 320px;
        justify-self: end;
    }
}

/* GBDA Partnerschaft/Zeitqualität Pentagramm final 0.7.35
   Optik/Verhalten an bestehendes Pentalogie-Pentagramm angeglichen. */

/* Die äußere Fünfeck-Kontur wird im Original-Pentagramm nicht dargestellt. */
.gbda-pentagram-reference-style .gbda-penta-ref-star {
    display: none;
}

/* Alle Zahlen gleichfarbig/schwarz wie im bestehenden Pentagramm. */
.gbda-pentagram-reference-style .gbda-penta-ref-node text,
.gbda-pentagram-reference-style .gbda-penta-ref-node-inner text,
.gbda-pentagram-reference-style .gbda-penta-ref-node-outer text {
    fill: #17211b !important;
}

/* Aktuelle Position: Hauptgrafik, Mini-Navigator und Positionsliste synchron. */
.gbda-pentagram-reference-style .gbda-penta-ref-node.is-current circle {
    stroke: #315f43 !important;
    stroke-width: 6 !important;
    fill: #eaf3ec !important;
    filter: drop-shadow(0 2px 5px rgba(49,95,67,.24));
}
.gbda-pentagram-reference-style .gbda-penta-reference-list-item.is-current {
    border-color: #315f43 !important;
    box-shadow: 0 0 0 2px rgba(49,95,67,.10);
    background: #eaf3ec !important;
}
.gbda-pentagram-reference-style .gbda-penta-reference-list-item.is-current
.gbda-penta-reference-index {
    border-color: #315f43;
    border-width: 2px;
    font-weight: 800;
}

/* Im Mini-Pentagramm die aktuelle Zahl besonders klar markieren. */
.gbda-penta-reference-navigator-long .gbda-penta-ref-node.is-current circle {
    stroke: #315f43 !important;
    stroke-width: 8 !important;
    fill: #dcebdd !important;
}
.gbda-penta-reference-navigator-long .gbda-penta-ref-node.is-current text {
    fill: #0f2417 !important;
    font-weight: 900;
}

/* Der Navigator bleibt über die gesamte Interpretationszone sichtbar. */
.gbda-penta-reference-navigator-long {
    position: sticky;
    top: 1rem;
    align-self: start;
}

/* ==========================================================
   Navigation redesign 0.7.36
   ========================================================== */

.gbda-nav-shell {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e2e7e3;
    box-shadow: 0 5px 18px rgba(31, 49, 42, .055);
}

.main-nav {
    max-width: 1320px;
    min-height: 62px;
    padding: 0 24px;
    gap: 4px;
    align-items: stretch;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav > a,
.main-nav > .gbda-nav-dropdown {
    flex: 0 0 auto;
}

.main-nav > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    font-size: .88rem;
    transition:
        background .18s ease,
        color .18s ease;
}

.main-nav > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
}

.main-nav > a:hover {
    background: #f5f8f6;
}

.main-nav > a.active {
    color: #0b6867;
    background: #f0f7f5;
    border-bottom-color: transparent;
    font-weight: 700;
}

.main-nav > a.active::after {
    background: #168b87;
}

.main-nav .nav-icon {
    font-size: 1.08rem;
    line-height: 1;
    color: #0a4b6c;
}

.main-nav > a.active .nav-icon {
    color: #087b78;
}

.gbda-nav-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
}

.gbda-nav-dropdown > summary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 62px;
    padding: 0 14px;
    cursor: pointer;
    list-style: none;
    border-radius: 10px 10px 0 0;
    font-size: .88rem;
    white-space: nowrap;
}

.gbda-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.gbda-nav-dropdown > summary::after {
    content: "⌄";
    margin-left: 2px;
    font-size: .75rem;
    color: #68766f;
}

.gbda-nav-dropdown > summary:hover,
.gbda-nav-dropdown[open] > summary,
.gbda-nav-dropdown.active > summary {
    background: #f0f7f5;
    color: #0b6867;
}

.gbda-nav-dropdown.active > summary::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #168b87;
}

.gbda-nav-dropdown-menu {
    min-width: 210px;
    padding: 8px;
    border: 1px solid #dce4df;
    border-radius: 12px;
    background: white;
    box-shadow: 0 14px 35px rgba(30, 49, 41, .14);
}

.gbda-nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    font-size: .86rem;
}

.gbda-nav-dropdown-menu a:hover,
.gbda-nav-dropdown-menu a.active {
    background: #eef6f3;
    color: #0b6867;
}

/* ruhige zweite Navigationsebene */

.module-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 4px;
    padding: 7px 24px 8px;
    border-bottom: 1px solid #e6ebe7;
    background: #fafbf9;
    box-shadow: none;
}

.module-subnav-title {
    margin-right: 7px;
    padding-right: 12px;
    border-right: 1px solid #d5ddd7;
    color: #355d50;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.module-subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #53675e;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
}

.module-subnav a:hover {
    background: #edf3ef;
    color: #0b6867;
}

@media (max-width: 1100px) {
    .main-nav {
        justify-content: flex-start;
    }

    .main-nav > a,
    .gbda-nav-dropdown > summary {
        padding-left: 11px;
        padding-right: 11px;
    }
}

@media (max-width: 760px) {
    .main-nav {
        min-height: 54px;
        padding-left: 12px;
        padding-right: 12px;
        justify-content: flex-start;
    }

    .main-nav > a,
    .gbda-nav-dropdown > summary {
        min-height: 54px;
    }

    .module-subnav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-left: 14px;
        padding-right: 14px;
    }

    .module-subnav-title {
        position: sticky;
        left: 0;
        background: #fafbf9;
    }
}

/* ==========================================================
   Navigation refinement 0.7.37
   ========================================================== */

/*
 * Zweite Navigationsebene bleibt beim Scrollen sichtbar.
 * Die Hauptnavigation liegt darüber.
 */
.module-subnav {
    position: sticky;
    top: 0;
    z-index: 920;
}

/*
 * Wenn die Hauptnavigation selbst sticky ist, wird ihre
 * aktuelle Höhe als Abstand berücksichtigt.
 */
.gbda-nav-shell {
    position: sticky;
    top: 0;
    z-index: 950;
}

.gbda-nav-shell + .module-subnav {
    top: 62px;
}

/* Aktiver Eintrag der zweiten Navigation */
.module-subnav a.active {
    background: #e8f2ee;
    color: #0b6867;
    font-weight: 750;
}

/* Service-Leiste bewusst genauso ruhig wie Pentalogie */
.module-subnav-service {
    background: #fafbf9;
}

@media (max-width: 760px) {
    .gbda-nav-shell + .module-subnav {
        top: 54px;
    }
}

/* ==========================================================
   Navigation final 0.7.38
   Ein gemeinsamer Sticky-Stack fuer Haupt- und Modulnavigation
   ========================================================== */

/*
 * Der grosse Bild-/Markenheader scrollt normal aus dem Sichtbereich.
 * Dadurch konkurriert er nicht mehr mit der eigentlichen Navigation.
 */
.site-header {
    position: relative;
    top: auto;
    z-index: auto;
}

/*
 * Hauptnavigation und optionale zweite Navigation bilden jetzt
 * EIN gemeinsames Sticky-Element.
 */
.gbda-navigation-stack {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 5px 18px rgba(31, 49, 42, .065);
}

/*
 * Die bisherigen Einzel-Sticky-Regeln werden bewusst deaktiviert.
 */
.gbda-nav-shell {
    position: static;
    top: auto;
    z-index: auto;
    box-shadow: none;
}

.module-subnav {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0;
}

/*
 * Alte 0.7.37-Abstandslogik neutralisieren.
 */
.gbda-nav-shell + .module-subnav {
    top: auto;
}

/*
 * Haupt- und zweite Navigation liegen ohne Leerbereich direkt
 * untereinander.
 */
.gbda-nav-shell {
    border-bottom: 0;
}

.module-subnav {
    border-top: 1px solid #edf0ee;
    border-bottom: 1px solid #dfe5e1;
}

/*
 * Benutzerleiste ist nicht Teil der Sticky-Navigation.
 */
.gbda-userbar {
    position: relative;
    z-index: auto;
}

/*
 * Auf Seiten ohne zweite Navigation bleibt nur die Hauptleiste sticky.
 * Auf Numerologie/Pentalogie/Service bleibt automatisch der komplette
 * Zwei-Zeilen-Stack stehen.
 */
@media (max-width: 760px) {
    .gbda-navigation-stack {
        top: 0;
    }

    .module-subnav {
        top: auto;
    }

    .gbda-nav-shell + .module-subnav {
        top: auto;
    }
}

/* ==========================================================
   Navigation alignment 0.7.39
   ========================================================== */

/*
 * Benutzerbereich wieder rechts oben im Header positionieren.
 */
.site-header {
    position: relative;
}

.site-header .gbda-userbar {
    position: absolute;
    top: 138px;
    right: 24px;
    left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
}

/*
 * Hauptnavigation exakt zentrieren.
 */
.main-nav {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/*
 * Zweite Navigation ebenfalls zentriert an derselben Achse.
 */
.module-subnav {
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/*
 * Inhalt der Subnavigation auf Desktop optisch kompakt halten.
 */
.module-subnav > * {
    flex: 0 0 auto;
}

@media (max-width: 1100px) {
    .main-nav,
    .module-subnav {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .site-header .gbda-userbar {
        position: static;
        margin: 8px 14px 0;
        justify-content: flex-end;
    }
}

/* ==========================================================
   GBDA 0.7.41 - Userbar final rechts oben
   Nur Positionskorrektur, Navigation unveraendert
   ========================================================== */

body header .gbda-userbar {
    position: absolute !important;
    top: 18px !important;
    right: 22px !important;
    bottom: auto !important;
    left: auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;

    transform: none !important;
    z-index: 2000 !important;
}

body header .gbda-userbar .gbda-user-name {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

body header .gbda-userbar .logout-form {
    position: static !important;
    width: auto !important;
    margin: 0 !important;
}

body header .gbda-userbar .logout-button {
    margin: 0 !important;
}

/* Auf kleinen Displays nicht ueber den Headerinhalt legen */
@media (max-width: 760px) {
    body header .gbda-userbar {
        top: 8px !important;
        right: 10px !important;
        left: auto !important;
    }
}

/* ==========================================================
   Seelenbild SB-3
   ========================================================== */

.s-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.s-kpi-small {
    font-size: 1.45rem;
}

.s-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 1rem;
    align-items: start;
}

.s-side-column {
    display: grid;
    gap: 1rem;
}

.s-diagram-wrap {
    max-width: 760px;
    margin: 1rem auto;
}

#s-diagram {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.s-outer-circle,
.s-inner-square,
.s-diagram-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
}

.s-inner-square,
.s-diagram-line {
    stroke-width: 2;
}

.s-number {
    font-size: 28px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.s-position-label {
    font-size: 15px;
    text-anchor: middle;
}

.s-path-label {
    font-size: 16px;
    font-weight: 600;
    text-anchor: middle;
}

.s-diagram-status {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.s-conversion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
    margin: 1rem 0;
}

.s-conversion-grid > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: .8rem;
    border: 1px solid var(--border-color, #d7d7d7);
    border-radius: .75rem;
    font-size: 1.2rem;
}

.s-result-list {
    display: grid;
    gap: .55rem;
}

.s-result-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.s-formula {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: .75rem;
    background: rgba(127, 127, 127, .08);
    font-size: 1.05rem;
    line-height: 1.6;
}

.s-explanation {
    margin-top: 1rem;
}

.s-explanation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.s-explanation-grid article {
    padding: 1rem;
    border: 1px solid var(--border-color, #dcdcdc);
    border-radius: .8rem;
}

.s-explanation-grid h3 {
    margin-top: 0;
}

.s-details {
    margin-top: 1rem;
}

.s-details summary {
    cursor: pointer;
    font-weight: 700;
}

.s-details-content {
    padding-top: 1rem;
}

.s-position-list {
    display: grid;
    gap: .45rem;
}

.s-position-list > div {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: .75rem;
}

.s-position-list dt {
    font-weight: 700;
}

.s-position-list dd {
    margin: 0;
}

@media (max-width: 900px) {
    .s-summary-grid,
    .s-main-grid,
    .s-explanation-grid {
        grid-template-columns: 1fr;
    }

    .s-path-label {
        font-size: 13px;
    }

    .s-position-label {
        font-size: 12px;
    }
}

/* Seelenbild SB-3.1: statisch / dynamisch / latent */

.s-live-values {
    font-size: 32px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.s-live-values tspan + tspan {
    dx: .12em;
}

.s-value-static {
    color: #39a9d6;
    fill: #39a9d6;
}

.s-value-dynamic {
    color: #e83e75;
    fill: #e83e75;
}

.s-value-latent {
    color: #58c93f;
    fill: #58c93f;
}

.s-legend {
    line-height: 1.7;
}

/* ==========================================================
   Seelenbild SB-4: Deutung + Mini-Navigation
   ========================================================== */

.s-detail-section {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color, #ddd);
}

.s-position-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 1.25rem;
    margin-top: 2rem;
    align-items: start;
}

#s-position-cards {
    display: grid;
    gap: 1rem;
}

.s-position-card {
    scroll-margin-top: 100px;
    padding: 1.1rem;
    border: 1px solid var(--border-color, #ddd);
    border-radius: .9rem;
    background: var(--card-background, #fff);
    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

.s-position-highlight {
    box-shadow: 0 0 0 3px rgba(38, 122, 105, .22);
    transform: translateY(-2px);
}

.s-position-card-header {
    display: flex;
    gap: .8rem;
    align-items: center;
}

.s-position-number {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border-radius: 50%;
    background: rgba(38, 122, 105, .12);
    font-size: 1.2rem;
    font-weight: 800;
}

.s-position-card h3 {
    margin: 0;
}

.s-position-source {
    margin-top: .15rem;
    font-size: .75rem;
    opacity: .7;
}

.s-position-state {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .9rem 0;
}

.s-state-chip {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .4rem .65rem;
    border-radius: 999px;
    background: rgba(127,127,127,.08);
}

.s-state-chip small {
    opacity: .7;
}

.s-state-static strong {
    color: #39a9d6;
}

.s-state-dynamic strong {
    color: #e83e75;
}

.s-mini-nav {
    position: sticky;
    top: 1rem;
    padding: .8rem;
    border: 1px solid var(--border-color, #ddd);
    border-radius: .9rem;
    background: var(--card-background, #fff);
}

.s-mini-nav-title {
    text-align: center;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.s-mini-diagram {
    width: 100%;
    height: auto;
}

.s-mini-diagram circle,
.s-mini-diagram rect,
.s-mini-diagram line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    opacity: .65;
}

.s-mini-diagram text {
    text-anchor: middle;
    dominant-baseline: middle;
    font-size: 15px;
    font-weight: 800;
    fill: currentColor;
}

.s-mini-diagram a {
    cursor: pointer;
}

.s-mini-diagram a:hover text {
    font-size: 19px;
}

.s-mini-typus-link {
    display: block;
    text-align: center;
    margin-top: .5rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .s-position-area {
        grid-template-columns: 1fr;
    }

    .s-mini-nav {
        position: static;
        order: -1;
        max-width: 260px;
        margin: 0 auto 1rem;
    }
}

/* GBDA Körper-Energie-Bild Typus 2026-09-24 v2 */
.k-body-typus-position-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.k-body-typus-position {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 1rem;
    background: rgba(255,255,255,.55);
}
.k-body-typus-position h3 { margin: 0 0 .5rem; font-size: 1rem; }
.k-body-typus-position p { margin: 0; line-height: 1.55; white-space: pre-line; }

/* ==========================================================
   Seelenbild SB-5
   Kombinationen + Häufungen
   ========================================================== */

.s-interpretation-box {
    margin: .9rem 0;
    padding: .85rem 1rem;
    border-radius: .8rem;
    background: rgba(127, 127, 127, .055);
}

.s-interpretation-box h4 {
    margin: 0 0 .45rem;
}

.s-interpretation-box p:last-child {
    margin-bottom: 0;
}

.s-accumulation-box {
    border-left: 4px solid #39a9d6;
}

.s-combination-box {
    border-left: 4px solid #e83e75;
}

.s-source-note {
    margin: .7rem 0;
    padding: .65rem .8rem;
    border-radius: .6rem;
    background: rgba(127, 127, 127, .05);
    font-size: .9rem;
    opacity: .72;
}

.s-mini-diagram text {
    font-size: 13px;
}

.s-mini-diagram a:hover text {
    font-size: 16px;
}

/* ==========================================================
   Seelenbild SB-5.1
   Mini-Seelenbild zuverlässig sichtbar
   ========================================================== */

#s-mini-nav {
    display: block;
    visibility: visible;
    opacity: 1;
    min-width: 0;
}

.s-position-area {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
}

.s-mini-nav {
    z-index: 5;
    align-self: start;
}

.s-mini-diagram {
    display: block;
    min-height: 190px;
}

.s-mini-diagram text {
    paint-order: stroke;
    stroke: var(--card-background, #fff);
    stroke-width: 2px;
    stroke-linejoin: round;
}

/*
 * Unterhalb dieser Breite wird die Navigation bewusst
 * VOR den Positionskarten angezeigt.
 */
@media (max-width: 1050px) {
    .s-position-area {
        display: flex;
        flex-direction: column;
    }

    .s-mini-nav {
        position: static;
        order: -1;
        width: min(100%, 420px);
        max-width: 420px;
        margin: 0 auto 1.25rem;
    }

    .s-position-content {
        width: 100%;
    }

    .s-mini-diagram {
        min-height: 0;
    }
}

/* =========================================================
   SB-6 - Seelenebenen / Seelenwege
   ========================================================= */

.s-sb6-area {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(90, 86, 74, 0.15);
}

.s-sb6-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.s-sb6-panel {
    min-width: 0;
}

.s-sb6-card-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.9rem;
}

.s-sb6-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(90, 86, 74, 0.13);
}

.s-sb6-card.is-active {
    border-width: 2px;
}

.s-sb6-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.s-sb6-card h4 {
    margin: 0;
}

.s-sb6-subtitle {
    margin-top: 0.2rem;
    font-size: 0.9rem;
    opacity: 0.76;
}

.s-sb6-count {
    flex: 0 0 auto;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
}

.s-sb6-positions,
.s-sb6-active {
    margin-top: 0.65rem;
    font-size: 0.92rem;
}

.s-sb6-active {
    font-weight: 600;
}

.s-sb6-short {
    margin: 0.75rem 0 0;
}

.s-sb6-summary {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: rgba(0, 0, 0, 0.045);
}

.s-sb6-note {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    opacity: 0.75;
}

@media (max-width: 800px) {
    .s-sb6-columns {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SB-6 B.1 - Orientierung und Bewertungslogik
   ========================================================= */

.s-sb6-orientation {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.s-sb6-map-panel,
.s-sb6-evaluation {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(90, 86, 74, 0.13);
}

.s-sb6-map {
    display: block;
    width: 100%;
    max-width: 390px;
    margin: 0.75rem auto 0;
}

.s-sb6-map-lines line {
    stroke: currentColor;
    stroke-width: 1;
    opacity: 0.18;
}

.s-sb6-map-labels {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.72;
}

.s-sb6-map-position circle {
    fill: rgba(255, 255, 255, 0.96);
    stroke: currentColor;
    stroke-width: 1.5;
    opacity: 0.86;
}

.s-sb6-map-position text {
    font-size: 17px;
    font-weight: 700;
    dominant-baseline: middle;
    transform: translateY(-3px);
}

.s-sb6-map-position.is-red circle {
    fill: #d9567f;
    stroke: #a9335a;
    stroke-width: 2;
    opacity: 1;
}

.s-sb6-map-position.is-red text {
    fill: #ffffff;
}

.s-sb6-map-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.s-sb6-map-dot {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #d9567f;
}

.s-sb6-evaluation-list {
    margin: 0.8rem 0 0;
    padding-left: 1.3rem;
}

.s-sb6-evaluation-list li + li {
    margin-top: 0.7rem;
}

@media (max-width: 800px) {
    .s-sb6-orientation {
        grid-template-columns: 1fr;
    }
}


/* Wunschdiagramm WD-3.1 */
.wd-sum {
    font-weight: 800;
}

.wd-grand-total {
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1;
}

#wd-soul-wish {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
}

/* ============================================================
   Wunschdiagramm WD-3.2 - Matrix-Hervorhebung
   ============================================================ */

.wd-matrix-table {
    width: 100%;
    table-layout: fixed;
}

.wd-matrix-table .wd-col-label {
    width: 34%;
}

.wd-matrix-table .wd-col-day {
    width: 14%;
}

.wd-matrix-table .wd-col-month {
    width: 13%;
}

.wd-matrix-table .wd-col-year {
    width: 11%;
}

.wd-matrix-table .wd-col-total {
    width: 12%;
}

.wd-matrix-table td.wd-sum,
.wd-matrix-table #wd-g-total,
.wd-matrix-table #wd-s-total,
.wd-matrix-table #wd-k-total,
.wd-matrix-table #wd-column-day,
.wd-matrix-table #wd-column-month,
.wd-matrix-table #wd-column-year {
    font-weight: 800 !important;
}

.wd-matrix-table td.wd-grand-total,
.wd-matrix-table #wd-grand-total {
    font-weight: 900 !important;
    font-size: 1.55rem !important;
    line-height: 1 !important;
}

#wd-soul-wish {
    font-size: 2.25rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

/* Wunschdiagramm WD-4B */

.wd-reading-section {
    margin-top: 2rem;
}

.wd-result-grid,
.wd-explanation-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.wd-result-card,
.wd-explanation-card,
.wd-match-card {
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
}

.wd-result-card h3,
.wd-explanation-card h3,
.wd-match-card h3 {
    margin-top: 0;
}

.wd-value-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.wd-value-line:last-child {
    border-bottom: 0;
}

.wd-value-line strong {
    font-size: 1.15rem;
}

.wd-match-card {
    margin-top: 1rem;
}

.wd-match-card strong {
    font-size: 1.15rem;
}

/* Wunschdiagramm WD-5C - Seelenwunschzahl-Deutung */

.wd-soul-wish-meaning {
    margin-top: 1.75rem;
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
}

.wd-soul-wish-meaning h2 {
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
}

#wd-soul-wish-meaning-number {
    font-weight: 900;
}

.wd-soul-wish-short {
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.wd-soul-wish-text {
    margin-bottom: 0;
    line-height: 1.65;
}

/* Wunschdiagramm Hochzahl-Auflösung */
.wd-soul-wish-inline-resolution {
    margin-top: 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.55;
}

.wd-soul-wish-inline-resolution strong {
    display: block;
    font-size: 1.05rem;
}

.wd-soul-wish-inline-resolution span {
    display: block;
    margin-top: 0.25rem;
}


/* GBDA UI-Reorganisation 0.7.46 */
.gbda-numerologie-view-gsk #n-zahlenkreis,
.gbda-numerologie-view-gsk #n-zahlen,
.gbda-numerologie-view-gsk #n-zahlenkreis-allgemein,
.gbda-numerologie-view-gsk #typus,
.gbda-numerologie-view-gsk #n-typus-full,
.gbda-numerologie-view-gsk #n-special-10,
.gbda-numerologie-view-gsk #n-wandlung-section,
.gbda-numerologie-view-typus #n-zahlenkreis,
.gbda-numerologie-view-typus #n-zahlen,
.gbda-numerologie-view-typus #n-zahlenkreis-allgemein,
.gbda-numerologie-view-typus #n-gsk,
.gbda-numerologie-view-zahlenkreis #n-gsk,
.gbda-numerologie-view-zahlenkreis #typus,
.gbda-numerologie-view-zahlenkreis #n-typus-full,
.gbda-numerologie-view-zahlenkreis #n-special-10,
.gbda-numerologie-view-zahlenkreis #n-wandlung-section { display: none !important; }

.gbda-numerologie-view:not(.gbda-numerologie-view-zahlenkreis) .numerology-kpis,
.gbda-numerologie-view:not(.gbda-numerologie-view-zahlenkreis) .gbda-sticky-visual { display: none !important; }
.gbda-numerologie-view:not(.gbda-numerologie-view-zahlenkreis) .gbda-reading-layout { display: block; }

/* Jede Pentalogie-Unterseite zeigt ausschließlich ihren eigenen Themenbereich. */
.gbda-pentalogie-view-zahlenkreis #p-kontakt-panel,
.gbda-pentalogie-view-zahlenkreis #p-pentagram-panel,
.gbda-pentalogie-view-zahlenkreis #p-pentagram-understand,
.gbda-pentalogie-view-zahlenkreis #p-pentagram-type,
.gbda-pentalogie-view-zahlenkreis #p-pentagram-dynamics,
.gbda-pentalogie-view-zahlenkreis #p-rule-status,
.gbda-pentalogie-view-zahlenkreis #p-sticky-pentagram-wrap,
.gbda-pentalogie-view-kontaktzahlen #p-zahlenkreis,
.gbda-pentalogie-view-kontaktzahlen #p-shadow-card,
.gbda-pentalogie-view-kontaktzahlen .p-pin-panels,
.gbda-pentalogie-view-kontaktzahlen #p-pentagram-panel,
.gbda-pentalogie-view-kontaktzahlen #p-pentagram-understand,
.gbda-pentalogie-view-kontaktzahlen #p-pentagram-type,
.gbda-pentalogie-view-kontaktzahlen #p-pentagram-dynamics,
.gbda-pentalogie-view-kontaktzahlen #p-rule-status,
.gbda-pentalogie-view-schattentypus #p-zahlenkreis,
.gbda-pentalogie-view-schattentypus #p-kontakt-panel > .section-heading,
.gbda-pentalogie-view-schattentypus #p-kontakt-panel > p,
.gbda-pentalogie-view-schattentypus #p-contact-interpretations,
.gbda-pentalogie-view-schattentypus .p-pin-panels,
.gbda-pentalogie-view-schattentypus #p-pentagram-panel,
.gbda-pentalogie-view-schattentypus #p-pentagram-understand,
.gbda-pentalogie-view-schattentypus #p-pentagram-type,
.gbda-pentalogie-view-schattentypus #p-pentagram-dynamics,
.gbda-pentalogie-view-schattentypus #p-rule-status,
.gbda-pentalogie-view-pin #p-zahlenkreis,
.gbda-pentalogie-view-pin #p-kontakt-panel > .section-heading,
.gbda-pentalogie-view-pin #p-kontakt-panel > p,
.gbda-pentalogie-view-pin #p-contact-interpretations,
.gbda-pentalogie-view-pin #p-shadow-card,
.gbda-pentalogie-view-pin #p-pentagram-panel,
.gbda-pentalogie-view-pin #p-pentagram-understand,
.gbda-pentalogie-view-pin #p-pentagram-type,
.gbda-pentalogie-view-pin #p-pentagram-dynamics,
.gbda-pentalogie-view-pin #p-rule-status,
.gbda-pentalogie-view-pentagramm #p-zahlenkreis,
.gbda-pentalogie-view-pentagramm #p-kontakt-panel { display: none !important; }

.gbda-pentalogie-view:not(.gbda-pentalogie-view-zahlenkreis):not(.gbda-pentalogie-view-pentagramm) .pentalogie-summary { display: none !important; }
.gbda-pentalogie-view-pentagramm .pentalogie-summary article:not(:first-child),
.gbda-pentalogie-view-pentagramm .pentalogie-summary #p-repeated { display: none !important; }
.gbda-pentalogie-view-pentagramm .pentalogie-summary { grid-template-columns: minmax(220px, 420px); }

.gbda-pentalogie-view-kontaktzahlen #p-sticky-nav,
.gbda-pentalogie-view-schattentypus #p-sticky-nav,
.gbda-pentalogie-view-pin #p-sticky-nav { display: none !important; }
.gbda-pentalogie-view-kontaktzahlen .gbda-reading-layout,
.gbda-pentalogie-view-schattentypus .gbda-reading-layout,
.gbda-pentalogie-view-pin .gbda-reading-layout { display: block; }

.gbda-koerperbild-view-basis #k-year-section { display: none !important; }
.gbda-koerperbild-view-jahr > .k-summary-grid,
.gbda-koerperbild-view-jahr > #k-body-typus-text,
.gbda-koerperbild-view-jahr > .k-main-grid,
.gbda-koerperbild-view-jahr > #k-interpretation-section,
.gbda-koerperbild-view-jahr > #k-redirect-section { display: none !important; }

/* GBDA 0.7.49 - Herkunftszahlen Koerper-/Seelenbild */
.k-provenance-digit {
    font-size: .58em;
    line-height: 1;
    position: relative;
    top: .42em;
    margin-left: .08em;
    opacity: .82;
}
.k-combo-provenance {
    font-size: 18px;
    font-weight: 800;
    stroke-width: 3px;
}
.s-provenance-digit {
    font-size: 17px;
    font-weight: 700;
}

/* GBDA 0.7.49 - Wochentag und Innen/Aussen */
.n-circle-value-weekday { fill:#4d8b5b; font-size:13px; font-weight:800; }
.legend-weekday { border-color:#b8d7be; color:#3b7a49; background:#f5fbf6; }
.n-inner-outer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.n-inner-outer-grid > article { padding:1rem; border:1px solid rgba(83,105,94,.18); border-radius:1rem; background:rgba(255,255,255,.72); }
.n-inner-outer-value { font-size:2.4rem; font-weight:900; line-height:1; margin:.35rem 0 .55rem; }
@media(max-width:760px){.n-inner-outer-grid{grid-template-columns:1fr}}

.p-node-value-weekday { fill:#4d8b5b; font-size:12px; font-weight:800; }

.p-pin-longtext {
    margin-top: 0.9rem;
}

.p-pin-longtext > summary {
    cursor: pointer;
    font-weight: 700;
}

.p-pin-longtext .p-contact-meaning {
    margin-top: 0.75rem;
    white-space: pre-line;
}


/* GBDA 0.7.54 - Deployment-Bestaetigung kompakt */
.deploy-confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0;
}
.deploy-confirm-label input[type="checkbox"] {
    width: auto;
    flex: 0 0 auto;
    margin: 0.2rem 0 0;
}
.deploy-confirm-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.deploy-confirm-domain {
    margin-top: 0.12rem;
}


/* 0.7.55: schlankes Login-Sicherheitsprotokoll in der Benutzerverwaltung */
.login-audit-block {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.login-audit-block h4 {
    margin: 0 0 .35rem;
}

.login-audit-table-wrap {
    margin-top: .75rem;
}

.login-audit-table {
    width: 100%;
}

.unknown-login-attempts {
    margin-top: 1.5rem;
}

/* 0.7.56: Pentalogie · Zeit & Zyklen */
.tz-stack{display:grid;gap:1rem}.tz-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tz-reference-row{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap}.tz-reference-row label{font-weight:700}.tz-reference-row input{min-width:16rem}.tz-subcard{padding:1rem;border:1px solid var(--line, #d8d8d8);border-radius:16px}.tz-interpretation details{margin-top:.7rem}.tz-source-text{margin-top:.6rem;padding:.8rem;max-height:26rem;overflow:auto;white-space:normal;line-height:1.55;background:rgba(0,0,0,.035);border-radius:12px}.tz-transition{padding:.7rem .8rem;margin:.7rem 0;border-radius:12px;background:rgba(220,165,60,.16);font-weight:700}.tz-current-typus{padding:.8rem 1rem;margin-bottom:1rem;border-radius:14px;background:rgba(0,0,0,.035)}.tz-penta-seq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.tz-penta-seq span{display:flex;gap:.6rem;align-items:flex-start;padding:.55rem .65rem;border:1px solid var(--line,#ddd);border-radius:10px}.tz-penta-seq strong{min-width:2.7rem}.tz-penta-seq small{line-height:1.35}@media(max-width:800px){.tz-grid-two{grid-template-columns:1fr}.tz-penta-seq{grid-template-columns:1fr}}

/* 0.7.57: Zeit & Zyklen - lesbarer Renderer und interaktive Zeit-Pentagramme */
.tz-readable > p:first-child,.tz-double-rich > p:first-child{margin-top:0}.tz-readable > p:last-child,.tz-double-rich > p:last-child{margin-bottom:0}
.tz-double-rich .gbda-double-short{font-weight:700}.tz-double-rich details{margin-top:.7rem}.tz-double-rich section{margin:.8rem 0}.tz-double-rich h3{font-size:1rem;margin:.7rem 0 .25rem}
.tz-penta-model-switch{display:flex;gap:.55rem;flex-wrap:wrap;margin:1rem 0}.tz-penta-model-switch button,.tz-period-tab{border:1px solid var(--line,#ddd);background:rgba(255,255,255,.72);border-radius:12px;cursor:pointer}.tz-penta-model-switch button{padding:.6rem .9rem;font-weight:800}.tz-penta-model-switch button.active{background:var(--accent,#2d5f46);color:#fff;border-color:transparent}
.tz-period-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-bottom:1rem}.tz-period-tab{padding:.8rem;text-align:left;display:flex;flex-direction:column;gap:.2rem}.tz-period-tab span{font-weight:800}.tz-period-tab strong{font-size:.92rem}.tz-period-tab small{opacity:.78}.tz-period-tab.current{box-shadow:inset 0 0 0 1px rgba(45,95,70,.35)}.tz-period-tab.active{background:rgba(45,95,70,.09);border-color:rgba(45,95,70,.55)}
.tz-penta-visual-card{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:1.2rem;padding:1rem;border:1px solid var(--line,#ddd);border-radius:16px;background:rgba(255,255,255,.55)}.tz-pentagram-svg{display:block;width:min(100%,430px);margin:.7rem auto 0}.tz-penta-orbit{fill:none;stroke:rgba(45,95,70,.25);stroke-width:2}.tz-penta-star,.tz-penta-connector{fill:none;stroke:rgba(45,95,70,.72);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.tz-penta-node circle{fill:#fff;stroke:rgba(45,95,70,.8);stroke-width:3}.tz-penta-node-inner circle{fill:#f4f7f4}.tz-penta-node text{font-size:26px;font-weight:900;fill:#22372c}.tz-penta-copy{min-width:0}.tz-sequence-details{margin-top:1rem}.tz-sequence-details summary{cursor:pointer;font-weight:800}
@media(max-width:900px){.tz-period-tabs{grid-template-columns:1fr}.tz-penta-visual-card{grid-template-columns:1fr}.tz-pentagram-svg{width:min(100%,360px)}}

/* GBDA 0.7.60 - Zeit & Zyklen UI */
.tz-penta-connector{display:none!important}.tz-pentagram-svg-small{width:min(100%,250px);margin:.35rem auto 0}.tz-mini-penta{margin-top:1rem;padding:.75rem;border:1px solid var(--line,#ddd);border-radius:14px;background:rgba(255,255,255,.48)}.tz-mini-penta-head{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.tz-mini-penta-head span{font-weight:700}.tz-mini-penta-head strong{font-size:1.15rem}.tz-quality-facts{display:grid;gap:.45rem;margin:.6rem 0 1rem}.tz-quality-facts>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;padding:.45rem .6rem;border-bottom:1px solid rgba(0,0,0,.07)}.tz-quality-facts dt{font-weight:700}.tz-quality-facts dd{margin:0;font-weight:900}.tz-typus-grid{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.tz-typus-grid span{font-weight:700}.tz-typus-grid strong{font-size:1.2rem}.tz-typus-grid em{font-style:normal;font-size:.85rem;padding:.2rem .45rem;border-radius:999px;background:rgba(45,95,70,.12)}.tz-penta-node[data-tz-code]{cursor:pointer;outline:none}.tz-penta-node[data-tz-code]:hover circle,.tz-penta-node[data-tz-code]:focus circle,.tz-penta-node.is-active circle{stroke-width:7;filter:drop-shadow(0 0 5px rgba(45,95,70,.42))}.tz-penta-node.is-active text{font-size:31px}.tz-penta-seq{display:flex;flex-direction:column;gap:.45rem}.tz-penta-seq-item{width:100%;display:grid;grid-template-columns:4.2rem minmax(0,1fr);gap:.7rem;align-items:start;text-align:left;padding:.65rem .75rem;border:1px solid var(--line,#ddd);border-radius:10px;background:rgba(255,255,255,.65);cursor:pointer}.tz-penta-seq-item strong{font-size:1.03rem}.tz-penta-seq-item small{line-height:1.45}.tz-penta-seq-item:hover,.tz-penta-seq-item:focus,.tz-penta-seq-item.is-active{border-color:rgba(45,95,70,.72);background:rgba(45,95,70,.10);box-shadow:inset 3px 0 0 rgba(45,95,70,.72)}.tz-period-tab{color:inherit}.tz-period-tab.active{background:rgba(45,95,70,.14);color:inherit}.tz-period-tab.active span,.tz-period-tab.active strong,.tz-period-tab.active small{color:inherit;opacity:1}@media(max-width:800px){.tz-quality-facts>div{grid-template-columns:1fr}.tz-penta-seq-item{grid-template-columns:3.5rem minmax(0,1fr)}}


/* GBDA 0.7.61 repair: readable pentagram detail cards */
.tz-penta-seq-item,.tz-penta-seq-item strong,.tz-penta-seq-item small{color:#22372c!important;}
.tz-penta-seq-item{background:#fff!important;}
.tz-penta-seq-item:hover,.tz-penta-seq-item:focus,.tz-penta-seq-item.is-active{color:#22372c!important;background:#edf4ef!important;}
.tz-penta-seq-item.is-active strong,.tz-penta-seq-item.is-active small{color:#22372c!important;}

/* GBDA 0.7.62: Pentagramm bleibt beim Lesen der rechten Deutung sichtbar. */
@media (min-width:901px){
  .tz-penta-visual-card > div:first-child{
    position:sticky;
    top:1rem;
    align-self:start;
    max-height:calc(100vh - 2rem);
    overflow:auto;
    scrollbar-width:thin;
  }
}

/* GBDA 0.7.63: vollstaendige WDB-Punktdeutungen + sichtbarer Modellumschalter */
.tz-penta-model-switch button:not(.active){
  color:#22372c !important;
  background:#fff !important;
  border-color:var(--line,#d8d8d8) !important;
  opacity:1 !important;
}
.tz-penta-model-switch button:not(.active):hover,
.tz-penta-model-switch button:not(.active):focus{
  background:#edf4ef !important;
  border-color:rgba(45,95,70,.55) !important;
}
.tz-mini-sequence-details{margin-top:.65rem}
.tz-mini-sequence-details>summary{cursor:pointer;font-weight:800;color:#22372c}
.tz-mini-sequence-details .tz-penta-seq{margin-top:.55rem}
.tz-mini-sequence-details .tz-penta-seq-item{font-size:.92rem}
.tz-mini-sequence-details .tz-penta-seq-item small{font-weight:600}

/* GBDA 0.7.64: Punkttexte niemals mitten im Wort/Satz abschneiden. */
.tz-penta-seq-item small{display:block;white-space:normal;overflow:visible;text-overflow:clip;max-height:none;word-break:normal;overflow-wrap:anywhere}
.tz-penta-point-more{grid-column:1/-1;margin-top:.45rem}
.tz-penta-point-more summary{cursor:pointer;font-weight:700}
.tz-penta-point-more .tz-double-rich{margin-top:.55rem;font-weight:400}

/* 0.7.65: einheitliche kompakte Pentagramm-Punktkarten */
.tz-penta-headline{font-weight:800;line-height:1.45;color:#22372c}
.tz-penta-point-more{margin-top:.55rem}
.tz-penta-point-more>summary{cursor:pointer;font-weight:700;color:#22372c}
.tz-penta-point-more[open]>summary{margin-bottom:.55rem}
.tz-penta-point-more .tz-double-rich{font-weight:400;line-height:1.55}

/* GBDA 0.7.66 - einheitliche Pentagramm-Punktkarten */
.tz-penta-point-more > summary{font-weight:800}
.tz-penta-point-more .gbda-double-short{display:none!important}
.tz-penta-point-more .tz-penta-meaning{margin-top:.25rem}
.tz-penta-point-more .tz-penta-meaning h4{margin:.15rem 0 .45rem;font-size:1rem}
.tz-penta-point-more .tz-double-rich > :first-child{margin-top:0}

/* GBDA 0.7.67: einheitliche Punktkarten mit expliziter Bedeutung */
.tz-penta-detail-section{margin:.8rem 0 0}
.tz-penta-detail-section:first-child{margin-top:.2rem}
.tz-penta-detail-section h4{margin:0 0 .35rem;font-size:1rem;color:#22372c}
.tz-penta-detail-section p{margin:0;line-height:1.55;color:#22372c}


/* GBDA HANDBUCH PHASE 1 2026-09-26 */

.gbda-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(240px, .8fr);
    gap: 2rem;
    align-items: start;
}

.gbda-guide-lead {
    max-width: 62rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.gbda-guide-actions,
.gbda-guide-module-pair,
.gbda-guide-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.gbda-guide-mode {
    padding: 1rem;
    border: 1px solid rgba(54, 91, 64, .18);
    border-radius: 14px;
    background: rgba(234, 241, 235, .45);
}

.gbda-guide-mode-option {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .75rem 0;
    cursor: pointer;
}

.gbda-guide-mode-option span {
    display: grid;
    gap: .15rem;
}

.gbda-guide-mode-option small {
    line-height: 1.45;
    opacity: .75;
}

.gbda-guide-flow {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin: 1rem 0 1.2rem;
    font-weight: 700;
    color: #365b40;
}

.gbda-guide-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.gbda-guide-progress-card {
    position: sticky;
    top: 8.5rem;
}

.gbda-guide-progress {
    height: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(54, 91, 64, .12);
    margin: .8rem 0;
}

.gbda-guide-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #526c59;
    transition: width .25s ease;
}

.gbda-guide-steps {
    display: grid;
    gap: 1rem;
}

.gbda-guide-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1rem;
    scroll-margin-top: 10rem;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.gbda-guide-step.is-current {
    border-color: rgba(214, 156, 24, .75);
    box-shadow: 0 10px 30px rgba(38, 59, 43, .10);
    transform: translateY(-1px);
}

.gbda-guide-step.is-visited .gbda-guide-step-number {
    background: #526c59;
    color: #fff;
}

.gbda-guide-step-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf1eb;
    color: #365b40;
    font-weight: 800;
    font-size: 1.05rem;
}

.gbda-guide-step-content h2 {
    margin-top: .1rem;
}

.gbda-guide-step-content h3 {
    margin-top: 1.1rem;
    margin-bottom: .25rem;
    font-size: 1rem;
    color: #365b40;
}

.gbda-guide-advisor-only {
    display: none;
    margin: 1rem 0;
    padding: .9rem 1rem;
    border-left: 4px solid #d69c18;
    background: rgba(245, 242, 233, .75);
    border-radius: 8px;
}

body.gbda-guide-advisor-mode .gbda-guide-advisor-only {
    display: block;
}

.gbda-guide-draft {
    margin: 1rem 0;
    padding: .75rem 1rem;
    border-radius: 8px;
    background: rgba(214, 156, 24, .10);
    border: 1px solid rgba(214, 156, 24, .35);
    font-weight: 700;
}

.gbda-guide-module-link {
    margin-top: .8rem;
}

.button-link-secondary {
    background: transparent;
    border: 1px solid currentColor;
}

@media (max-width: 900px) {
    .gbda-guide-hero,
    .gbda-guide-layout {
        grid-template-columns: 1fr;
    }

    .gbda-guide-progress-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .gbda-guide-step {
        grid-template-columns: 1fr;
    }

    .gbda-guide-step-number {
        width: 36px;
        height: 36px;
    }
}


/* GBDA HANDBUCH PHASE 3B 2026-09-26 */

.gbda-guide-question {
    margin: .25rem 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #526c59;
}

.gbda-guide-advisor-header {
    margin-bottom: .8rem;
    font-weight: 800;
    font-size: 1.05rem;
    color: #365b40;
}

.gbda-guide-source-list {
    display: grid;
    gap: .65rem;
    margin-top: .6rem;
}

.gbda-guide-source {
    padding: .8rem .9rem;
    border: 1px solid rgba(54, 91, 64, .15);
    border-radius: 10px;
    background: rgba(255, 255, 255, .65);
    line-height: 1.5;
    font-size: .92rem;
}

.gbda-guide-source > strong {
    display: block;
    margin-bottom: .25rem;
}

.gbda-guide-source-status {
    display: inline-block;
    padding: .12rem .4rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    background: rgba(54, 91, 64, .10);
}

.gbda-guide-source-status.is-open {
    background: rgba(214, 156, 24, .14);
    border: 1px solid rgba(214, 156, 24, .38);
}

.gbda-guide-source-status.is-verified {
    background: rgba(54, 91, 64, .10);
    border: 1px solid rgba(54, 91, 64, .22);
}


/* ==========================================================
   GBDA VISUAL CARDS 20260927
   Wunschdiagramm + Seelenbild
   Nur Darstellung - keine Fachberechnung
   ========================================================== */

/* ==========================================================
   WUNSCHDIAGRAMM
   ========================================================== */

#wd-explanations.wd-explanation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

#wd-explanations .wd-explanation-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    border: 1px solid #d9ddda;
    border-radius: 15px;
    background: #ffffff;
}

#wd-explanations .wd-explanation-card:nth-child(5),
#wd-explanations .wd-explanation-card:nth-child(6) {
    grid-column: span 2;
}

#wd-explanations .wd-exp-copy {
    min-height: 235px;
}

#wd-explanations .wd-explanation-card:nth-child(5) .wd-exp-copy,
#wd-explanations .wd-explanation-card:nth-child(6) .wd-exp-copy {
    min-height: 135px;
}

#wd-explanations .wd-exp-copy h3 {
    margin: 0 0 12px;
    font-size: 1.06rem;
}

#wd-explanations .wd-exp-copy p {
    margin: 0;
    line-height: 1.68;
}

.wd-exp-visual {
    margin-top: auto;
    padding-top: 18px;
}

/* Gemeinsame Farben */

.wd-tone-blue {
    background-color: #dcecff;
}

.wd-tone-pink {
    background-color: #f8dce5;
}

.wd-tone-green {
    background-color: #e0f1da;
}

/* Übersichtsmatrix */

.wd-visual-matrix {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
}

.wd-visual-side-label,
.wd-visual-bottom-label {
    font-size: .69rem;
    font-weight: 800;
    line-height: 1.2;
}

.wd-visual-side-label small,
.wd-visual-bottom-label small {
    font-weight: 500;
}

.wd-visual-bottom-label {
    grid-column: 1 / -1;
    text-align: center;
}

.wd-visual-grid {
    display: grid;
    gap: 5px;
}

.wd-visual-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 40px;
    gap: 4px;
}

.wd-visual-row span,
.wd-visual-row strong,
.wd-visual-columns strong {
    min-height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.09);
    font-weight: 900;
}

.wd-visual-row strong,
.wd-visual-columns strong {
    border-radius: 999px;
}

.wd-visual-row.wd-tone-blue span,
.wd-visual-row.wd-tone-blue strong {
    background: #dcecff;
}

.wd-visual-row.wd-tone-pink span,
.wd-visual-row.wd-tone-pink strong {
    background: #f8dce5;
}

.wd-visual-row.wd-tone-green span,
.wd-visual-row.wd-tone-green strong {
    background: #e0f1da;
}

.wd-visual-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.wd-visual-columns .wd-tone-blue {
    background: #dcecff;
}

.wd-visual-columns .wd-tone-pink {
    background: #f8dce5;
}

.wd-visual-columns .wd-tone-green {
    background: #e0f1da;
}

.wd-visual-grand {
    background: #eadcf4 !important;
}

/* Schlüssel */

.wd-key-visual {
    display: grid;
    gap: 8px;
}

.wd-key-row {
    display: grid;
    grid-template-columns: 72px 1fr 18px 40px;
    gap: 5px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 999px;
}

.wd-key-row.wd-tone-blue {
    background: #dcecff;
}

.wd-key-row.wd-tone-pink {
    background: #f8dce5;
}

.wd-key-row.wd-tone-green {
    background: #e0f1da;
}

.wd-key-label {
    font-size: .69rem;
    font-weight: 800;
}

.wd-key-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.wd-key-values b {
    display: grid;
    place-items: center;
    min-height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.92);
    background: rgba(255,255,255,.5);
}

.wd-key-arrow {
    font-size: 1.35rem;
    font-weight: 900;
}

.wd-key-row > strong {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid currentColor;
    background: rgba(255,255,255,.55);
}

.wd-key-caption {
    margin-top: 5px;
    text-align: center;
    font-weight: 800;
}

.wd-key-caption small {
    display: block;
    font-weight: 500;
}

/* Schatzkammern */

.wd-chamber-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.wd-chamber-column {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.wd-chamber-column span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.wd-chamber-column.wd-tone-blue span {
    background: #dcecff;
}

.wd-chamber-column.wd-tone-pink span {
    background: #f8dce5;
}

.wd-chamber-column.wd-tone-green span {
    background: #e0f1da;
}

.wd-chamber-column i {
    font-size: 1.25rem;
    font-style: normal;
}

.wd-chamber-column strong {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid currentColor;
    background: #fff;
}

.wd-chamber-column small {
    font-size: .65rem;
    line-height: 1.25;
}

/* Schlüssel-Schloss */

.wd-lock-visual {
    min-height: 180px;
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    align-items: center;
    text-align: center;
}

.wd-key-stack,
.wd-chest-stack {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.wd-key-symbol,
.wd-chest-symbol {
    font-size: 4.2rem;
    line-height: 1;
}

.wd-key-stack strong,
.wd-chest-stack strong {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #3a78b8;
}

.wd-match-arrow {
    font-size: 1.8rem;
    color: #d79700;
}

/* Seelenwunsch */

.wd-soul-visual {
    min-height: 175px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
}

.wd-soul-equation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wd-soul-equation span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.wd-soul-equation .wd-tone-blue {
    background: #dcecff;
}

.wd-soul-equation .wd-tone-pink {
    background: #f8dce5;
}

.wd-soul-equation .wd-tone-green {
    background: #e0f1da;
}

.wd-soul-brace {
    font-size: 2.4rem;
    line-height: .65;
    transform: scaleX(2.6);
}

.wd-soul-visual > strong {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eadcf4;
    font-size: 1.3rem;
}

/* Dietrich */

.wd-dietrich-visual {
    min-height: 175px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.wd-pick-symbol {
    font-size: 4.8rem;
    transform: rotate(-35deg);
    color: #667079;
}

.wd-lock-symbol {
    font-size: 4.8rem;
}

.wd-dietrich-visual strong,
.wd-dietrich-visual small {
    grid-column: 1 / -1;
}

/* ==========================================================
   SEELENBILD – BEWUSSTSEINSEBENEN
   ========================================================== */

/* Der alte große Orientierungsblock wird durch die Mini-Grafiken ersetzt. */
.s-sb6-orientation {
    display: none !important;
}

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

.s-sb6-intro {
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-left: 3px solid;
    border-radius: 0 9px 9px 0;
    line-height: 1.5;
}

.s-sb6-intro-blue {
    background: #eef8fd;
    border-color: #45aee3;
}

.s-sb6-intro-green {
    background: #eef8f2;
    border-color: #39a36f;
}

.s-sb6-card-list {
    display: grid;
    gap: 12px;
}

.s-sb6-card {
    padding: 16px;
    border: 1px solid #d9ddda;
    border-radius: 14px;
    background: #fff;
}

.s-sb6-card.is-active {
    border-color: #e4ccd5;
}

.s-sb6-card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.s-sb6-card h4 {
    margin: 0 0 3px;
}

.s-sb6-subtitle {
    font-size: .8rem;
    color: var(--muted, #68716c);
}

.s-sb6-count {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #efefee;
    font-size: .74rem;
    font-weight: 800;
}

.s-sb6-card.is-active .s-sb6-count {
    color: #9d234a;
    background: #f8dce5;
}

.s-sb6-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
}

.s-sb6-positions,
.s-sb6-active {
    margin-bottom: 5px;
    font-size: .8rem;
}

.s-sb6-active {
    font-weight: 700;
}

.s-sb6-short {
    margin: 9px 0 0;
    line-height: 1.5;
}

/* Mini-Raster: fachlich verbindlich
   1 2 3 = Nacht
   4 5 6 = Traum
   7 8 9 = Tag
   1 4 7 = Geist
   2 5 8 = Seele
   3 6 9 = Körper
*/

.s-sb6-mini-grid-wrap {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto 22px;
    gap: 5px 6px;
    align-items: center;
}

.s-sb6-mini-row-labels {
    display: grid;
    grid-template-rows: repeat(3, 38px);
    gap: 9px;
    align-items: center;
    font-size: .64rem;
}

.s-sb6-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 38px);
    grid-template-rows: repeat(3, 38px);
    gap: 9px 10px;
    justify-content: center;
}

.s-sb6-mini-grid span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1.5px solid #737b76;
    border-radius: 50%;
    background: #fff;
    font-size: .82rem;
    font-weight: 900;
}

/* Bewusstseinsebenen */

.s-sb6-mini-grid.is-night span.is-group {
    background: #fff6f8;
    border-color: #d9a1b2;
}

.s-sb6-mini-grid.is-dream span.is-group {
    background: #edf7ff;
    border-color: #72b7e5;
}

.s-sb6-mini-grid.is-day span.is-group {
    background: #eef9ee;
    border-color: #76bd78;
}

/* Seelen-Senkrechten */

.s-sb6-mini-grid.is-geist span.is-group {
    background: #f0f7ff;
    border-color: #75aeda;
}

.s-sb6-mini-grid.is-seele span.is-group {
    background: #f7f0fb;
    border-color: #af88c6;
}

.s-sb6-mini-grid.is-koerper span.is-group {
    background: #eef9f1;
    border-color: #72b58a;
}

/* Dynamische/rote Positionen haben immer Vorrang */

.s-sb6-mini-grid span.is-red {
    color: #fff !important;
    background: #dd4c78 !important;
    border-color: #ad2c54 !important;
    box-shadow: 0 0 0 3px rgba(221,76,120,.11);
}

.s-sb6-mini-column-labels {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    font-size: .61rem;
}

.s-sb6-summary {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.45;
}

.s-sb6-panel:first-child .s-sb6-summary {
    background: #eef7fb;
}

.s-sb6-panel:last-child .s-sb6-summary {
    background: #eff8f2;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {
    #wd-explanations.wd-explanation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #wd-explanations .wd-explanation-card:nth-child(5),
    #wd-explanations .wd-explanation-card:nth-child(6) {
        grid-column: span 1;
    }

    #wd-explanations .wd-exp-copy,
    #wd-explanations .wd-explanation-card:nth-child(5) .wd-exp-copy,
    #wd-explanations .wd-explanation-card:nth-child(6) .wd-exp-copy {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .s-sb6-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    #wd-explanations.wd-explanation-grid {
        grid-template-columns: 1fr;
    }

    .s-sb6-card-body {
        grid-template-columns: 1fr;
    }

    .s-sb6-mini-grid-wrap {
        width: min(100%, 260px);
        margin: 10px auto 0;
    }
}


/* ==========================================================
   GBDA RTQ VISUAL 20260927
   Partnerschaft & Zeitqualität
   ========================================================== */

.rtq-page-hero p {
    max-width: 850px;
}

.rtq-mode-switch {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin: 18px 0;
}

.rtq-mode-switch .rtq-mode-tab {
    min-height: 68px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 13px;
    padding: 10px 20px;
    border: 1px solid #d8dfda;
    border-radius: 16px;
    text-decoration: none;
    background: #fff;
}

.rtq-mode-tab > span:last-child {
    display: grid;
    text-align: left;
}

.rtq-mode-tab strong {
    font-size: 1rem;
}

.rtq-mode-tab small {
    margin-top: 2px;
    font-weight: 500;
}

.rtq-mode-tab-partner {
    color: #356547;
    background: #f5faf5 !important;
}

.rtq-mode-tab-time {
    color: #3479b8;
    background: #f2f8fd !important;
}

.rtq-mode-tab.active {
    border-color: currentColor;
    box-shadow:
        inset 0 -3px 0 currentColor,
        0 5px 14px rgba(0,0,0,.04);
}

.rtq-tab-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
}

.rtq-tab-icon svg,
.rtq-large-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rtq-shell {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 17px;
    background: #fff;
}

.rtq-shell-partner {
    border-color: #cbded0;
}

.rtq-shell-time {
    border-color: #c9dfef;
}

.rtq-module-head {
    display: grid;
    grid-template-columns: 60px minmax(0,1fr) auto;
    gap: 16px;
    padding: 20px 22px 28px;
    align-items: start;
}

.rtq-module-head-partner {
    background:
        radial-gradient(circle at 84% 0%,rgba(105,173,115,.14),transparent 36%),
        linear-gradient(180deg,#fbfefb,#f2f8f3);
}

.rtq-module-head-time {
    background:
        radial-gradient(circle at 84% 0%,rgba(78,145,207,.16),transparent 36%),
        linear-gradient(180deg,#fbfdff,#eef6fc);
}

.rtq-module-head h2 {
    margin: 2px 0 8px;
    font-size: 1.5rem;
}

.rtq-module-head p {
    max-width: 820px;
    margin: 4px 0;
    line-height: 1.5;
}

.rtq-large-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #386949;
    background: #e1efe4;
}

.rtq-shell-time .rtq-large-icon {
    color: #3178b8;
    background: #deefff;
}

.rtq-partner-form,
.rtq-time-form {
    display: grid;
    gap: 16px;
    padding: 18px 22px 22px;
}

.rtq-partner-form {
    grid-template-columns: minmax(0,1fr) 190px minmax(0,1fr);
    align-items: center;
}

.rtq-time-form {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.rtq-input-card {
    padding: 17px;
    border-radius: 14px;
}

.rtq-input-blue {
    background: #eef7fd;
}

.rtq-input-pink {
    background: #fff0f5;
}

.rtq-input-purple {
    background: #f7f0fd;
}

.rtq-input-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.rtq-input-head strong {
    font-size: 1rem;
}

.rtq-avatar,
.rtq-calendar-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1rem;
}

.rtq-avatar-blue {
    color: #2f7ec6;
    background: #d9ecff;
}

.rtq-avatar-pink {
    color: #cc3e77;
    background: #f9dce8;
}

.rtq-calendar-icon {
    color: #7c42c2;
    background: #e9dcfb;
    font-size: 1.3rem;
}

.rtq-input-card label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.rtq-input-card input {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 11px;
    border: 1px solid #bbc4be;
    border-radius: 9px;
    background: #fff;
    font: inherit;
}

.rtq-partner-symbol {
    display: grid;
    justify-items: center;
    text-align: center;
    font-size: .76rem;
}

.rtq-partner-symbol-people {
    position: relative;
    width: 150px;
    height: 82px;
    margin-bottom: 7px;
}

.rtq-person-shape {
    position: absolute;
    top: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50% 50% 42% 42%;
}

.rtq-shape-blue {
    left: 15px;
    background: rgba(80,151,214,.58);
}

.rtq-shape-pink {
    right: 15px;
    background: rgba(220,83,137,.55);
}

.rtq-partner-plant {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 25px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #fff1ce;
    color: #af7924;
    font-size: 1.55rem;
}

.rtq-partner-symbol strong,
.rtq-partner-symbol > span {
    display: block;
}

.rtq-submit {
    grid-column: 1/-1;
    min-height: 47px;
    border: 0;
    border-radius: 9px;
    background: #395f47;
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.rtq-submit:hover {
    background: #2f523c;
}

.rtq-info {
    padding: 20px 22px;
    border-top: 1px solid #e2e8e4;
}

.rtq-info h3 {
    margin: 0 0 7px;
    font-size: 1.18rem;
}

.rtq-info > p {
    margin: 0 0 16px;
    max-width: 940px;
    line-height: 1.55;
}

.rtq-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}

.rtq-feature {
    min-height: 100px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 9px;
    padding: 13px;
    border-radius: 12px;
}

.rtq-feature > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.65);
    font-size: 1.1rem;
    font-weight: 900;
}

.rtq-feature strong,
.rtq-feature small {
    display: block;
}

.rtq-feature strong {
    margin-bottom: 4px;
    font-size: .8rem;
}

.rtq-feature small {
    line-height: 1.35;
}

.rtq-f-pink {
    background: #fff0f4;
}

.rtq-f-blue {
    background: #edf7ff;
}

.rtq-f-green {
    background: #eef8f0;
}

.rtq-f-purple {
    background: #f5effd;
}

.rtq-f-gold {
    background: #fff8e8;
}

.rtq-f-orange {
    background: #fff2e7;
}

.rtq-example {
    margin: 0 22px 22px;
    padding: 15px;
    border: 1px solid #dce4df;
    border-radius: 13px;
    background: #fcfdfc;
}

.rtq-example-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.rtq-example-title h3 {
    margin: 0;
    font-size: 1rem;
}

.rtq-example-title span {
    padding: 4px 9px;
    border-radius: 999px;
    background: #e8f3fb;
    font-size: .67rem;
    font-weight: 800;
}

.rtq-partner-example {
    display: grid;
    grid-template-columns: 90px 26px 90px 32px 110px minmax(150px,1fr);
    gap: 10px;
    align-items: center;
}

.rtq-example-person {
    display: grid;
    justify-items: center;
    gap: 5px;
}

.rtq-example-person strong {
    font-size: .71rem;
}

.rtq-example-circle {
    position: relative;
    width: 67px;
    height: 67px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.rtq-example-circle-blue {
    color: #347fc6;
}

.rtq-example-circle-pink {
    color: #d74c82;
}

.rtq-example-circle i {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.rtq-example-circle i:nth-child(1) { left: 28px; top: -5px; }
.rtq-example-circle i:nth-child(2) { right: -4px; top: 27px; }
.rtq-example-circle i:nth-child(3) { right: 7px; bottom: 2px; }
.rtq-example-circle i:nth-child(4) { left: 7px; bottom: 2px; }
.rtq-example-circle i:nth-child(5) { left: -4px; top: 27px; }

.rtq-partner-example > b {
    text-align: center;
    font-size: 1.35rem;
}

.rtq-overlap {
    position: relative;
    width: 100px;
    height: 78px;
}

.rtq-overlap span {
    position: absolute;
    top: 3px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.rtq-overlap span:first-child {
    left: 3px;
    border: 2px solid #5b9ed9;
    background: rgba(91,158,217,.12);
}

.rtq-overlap span:last-child {
    right: 3px;
    border: 2px solid #db6092;
    background: rgba(219,96,146,.12);
}

.rtq-example-copy {
    display: grid;
    gap: 4px;
}

.rtq-example-copy small {
    line-height: 1.4;
}

/* Zeitqualität */

.rtq-time-line {
    position: relative;
    margin: 20px 0 28px;
    padding-top: 48px;
}

.rtq-time-track {
    height: 4px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    align-items: center;
    background: linear-gradient(90deg,#aeb6bd,#4589ca,#cb54af);
}

.rtq-time-track i {
    width: 20px;
    height: 20px;
    justify-self: center;
    border: 2px solid #8d969e;
    border-radius: 50%;
    background: #e0e4e7;
}

.rtq-time-track i.active {
    width: 29px;
    height: 29px;
    border-color: #2779bb;
    background: #71b4e7;
    box-shadow: 0 0 0 5px rgba(67,145,207,.13);
}

.rtq-time-caption {
    position: absolute;
    top: 0;
    display: grid;
    text-align: center;
    font-size: .7rem;
}

.rtq-time-caption small {
    margin-top: 2px;
}

.rtq-time-left {
    left: 4%;
}

.rtq-time-center {
    left: 50%;
    transform: translateX(-50%);
}

.rtq-time-right {
    right: 4%;
}

.rtq-time-example {
    display: grid;
    grid-template-columns: 1fr 80px 1fr 80px 1fr;
    align-items: center;
    text-align: center;
}

.rtq-time-example > div {
    display: grid;
    justify-items: center;
    gap: 7px;
}

.rtq-dot {
    width: 40px;
    height: 40px;
    border: 3px solid;
    border-radius: 50%;
}

.rtq-dot-blue {
    border-color: #4289c8;
    background: #dceeff;
}

.rtq-dot-pink {
    border-color: #d04a82;
    background: #f8dce8;
}

.rtq-dot-green {
    border-color: #55a06a;
    background: #dff0e2;
}

.rtq-time-example > i {
    height: 3px;
    background: #b6bec2;
}

@media (max-width: 1000px) {

    .rtq-partner-form {
        grid-template-columns: minmax(0,1fr) 145px minmax(0,1fr);
    }

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

    .rtq-partner-example {
        grid-template-columns: 80px 24px 80px 28px 100px;
    }

    .rtq-example-copy {
        grid-column: 1/-1;
        text-align: center;
    }
}

@media (max-width: 720px) {

    .rtq-mode-switch,
    .rtq-partner-form,
    .rtq-time-form,
    .rtq-feature-grid {
        grid-template-columns: 1fr;
    }

    .rtq-module-head {
        grid-template-columns: 50px minmax(0,1fr);
    }

    .rtq-module-head > .mini-status {
        grid-column: 2;
        justify-self: start;
    }

    .rtq-partner-symbol {
        min-height: 110px;
    }

    .rtq-submit {
        grid-column: 1;
    }

    .rtq-partner-example {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .rtq-partner-example > b {
        transform: rotate(90deg);
    }

    .rtq-time-example {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .rtq-time-example > i {
        width: 3px;
        height: 28px;
    }
}


/* ==========================================================
   GBDA RTQ TAB READABILITY 20260927
   Explizite Farben fuer aktive und inaktive Umschalter
   ========================================================== */

.rtq-mode-switch .rtq-mode-tab,
.rtq-mode-switch .rtq-mode-tab:link,
.rtq-mode-switch .rtq-mode-tab:visited,
.rtq-mode-switch .rtq-mode-tab:hover,
.rtq-mode-switch .rtq-mode-tab:focus {
    opacity: 1;
}

/* Partnerschaft – immer lesbar */
.rtq-mode-switch .rtq-mode-tab-partner,
.rtq-mode-switch .rtq-mode-tab-partner:link,
.rtq-mode-switch .rtq-mode-tab-partner:visited {
    color: #356547 !important;
    background: #f5faf5 !important;
}

.rtq-mode-switch .rtq-mode-tab-partner strong,
.rtq-mode-switch .rtq-mode-tab-partner small {
    color: #356547 !important;
}

/* Zeitqualitaet – immer lesbar */
.rtq-mode-switch .rtq-mode-tab-time,
.rtq-mode-switch .rtq-mode-tab-time:link,
.rtq-mode-switch .rtq-mode-tab-time:visited {
    color: #2f73b5 !important;
    background: #f2f8fd !important;
}

.rtq-mode-switch .rtq-mode-tab-time strong,
.rtq-mode-switch .rtq-mode-tab-time small {
    color: #2f73b5 !important;
}

/* Aktiver Bereich bekommt staerkere Hervorhebung */
.rtq-mode-switch .rtq-mode-tab-partner.active {
    color: #28563a !important;
    background: #eaf5ec !important;
    border-color: #78a987 !important;
    box-shadow:
        inset 0 -3px 0 #356547,
        0 5px 14px rgba(53,101,71,.08);
}

.rtq-mode-switch .rtq-mode-tab-partner.active strong {
    color: #28563a !important;
}

.rtq-mode-switch .rtq-mode-tab-partner.active small {
    color: #487459 !important;
}

.rtq-mode-switch .rtq-mode-tab-time.active {
    color: #25669f !important;
    background: #e7f3fc !important;
    border-color: #7eafd5 !important;
    box-shadow:
        inset 0 -3px 0 #3479b8,
        0 5px 14px rgba(52,121,184,.08);
}

.rtq-mode-switch .rtq-mode-tab-time.active strong {
    color: #25669f !important;
}

.rtq-mode-switch .rtq-mode-tab-time.active small {
    color: #477da9 !important;
}

/* Icons ebenfalls unabhaengig von globalen Link-Regeln */
.rtq-mode-switch .rtq-mode-tab-partner .rtq-tab-icon {
    color: #356547 !important;
    background: #ffffff !important;
}

.rtq-mode-switch .rtq-mode-tab-time .rtq-tab-icon {
    color: #3479b8 !important;
    background: #ffffff !important;
}

\n\n/* GBDA 0.7.88 - Start/Analyse/Navigation/Buecher */\n.gbda-home-welcome-compact {\n    min-height: min(58vh, 560px);\n}\n.gbda-home-welcome-compact .gbda-home-copy,\n.gbda-home-welcome-compact .gbda-home-visual {\n    min-height: min(58vh, 560px);\n}\n.gbda-feature-strip-compact {\n    margin-bottom: 0;\n}\n.gbda-analysis-hero {\n    margin-bottom: 1rem;\n}\n.gbda-analysis-extra {\n    margin-top: 1.5rem;\n    padding: 1.15rem;\n    border: 1px solid rgba(47, 71, 53, 0.12);\n    border-radius: 18px;\n    background: rgba(247, 250, 247, 0.72);\n}\n.gbda-analysis-extra-head {\n    margin-bottom: 1rem;\n}\n.gbda-analysis-extra-grid {\n    display: grid;\n    grid-template-columns: repeat(3, minmax(0, 1fr));\n    gap: 1rem;\n}\n.module-subnav-separator {\n    width: 1px;\n    align-self: stretch;\n    background: rgba(47, 71, 53, 0.18);\n    margin: 0 0.35rem;\n}\n.gbda-combined-subnav {\n    flex-wrap: wrap;\n}\n.gbda-book-placeholder {\n    max-width: 1100px;\n    margin-inline: auto;\n}\n.gbda-zodiac-placeholder-grid {\n    display: grid;\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n    gap: 0.75rem;\n    margin: 1rem 0;\n}\n.gbda-zodiac-placeholder-item {\n    padding: 0.9rem 1rem;\n    border: 1px solid rgba(47, 71, 53, 0.14);\n    border-radius: 14px;\n    background: #f7faf7;\n    font-weight: 700;\n    text-align: center;\n}\n.a-analysis-details {\n    margin-bottom: 1rem;\n}\n.a-analysis-detail-grid {\n    display: grid;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 1rem;\n}\n.a-analysis-detail-grid > article {\n    padding: 1rem;\n    border: 1px solid rgba(47, 71, 53, 0.12);\n    border-radius: 16px;\n    background: #f9fbf9;\n}\n.a-analysis-detail-grid h3 {\n    margin-top: 0;\n}\n.a-detail-copy p {\n    margin: 0.35rem 0;\n}\n.a-number-row {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 0.45rem;\n    margin-bottom: 0.75rem;\n}\n.a-number-chip {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.25rem;\n    padding: 0.45rem 0.65rem;\n    border-radius: 999px;\n    background: #eef4ee;\n}\n@media (max-width: 900px) {\n    .gbda-analysis-extra-grid,\n    .a-analysis-detail-grid {\n        grid-template-columns: 1fr;\n    }\n    .gbda-zodiac-placeholder-grid {\n        grid-template-columns: repeat(2, minmax(0, 1fr));\n    }\n}\n@media (max-width: 700px) {\n    .gbda-home-welcome-compact,\n    .gbda-home-welcome-compact .gbda-home-copy,\n    .gbda-home-welcome-compact .gbda-home-visual {\n        min-height: auto;\n    }\n}\n
/* GBDA 0.7.89 - Tierdeutung */
.gbda-animal-head{display:flex;gap:1rem;align-items:center}.gbda-animal-symbol{font-size:3.25rem;line-height:1;width:4.5rem;text-align:center}.gbda-animal-theme{font-weight:700;color:#506957;margin:.2rem 0}.gbda-animal-section{margin-top:1.25rem}.gbda-reflection-list{display:grid;gap:.55rem;padding-left:1.25rem}.gbda-encounter-card details>summary{cursor:pointer;font-size:1.05rem}.gbda-encounter-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:1rem 0}.gbda-encounter-form label{display:grid;gap:.35rem;font-weight:700}.gbda-encounter-form select{width:100%}.gbda-encounter-form button{grid-column:1/-1;justify-self:start}.gbda-rule-grid,.gbda-selected-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:.8rem}.gbda-rule-grid article,.gbda-selected-rules article{padding:.9rem;border:1px solid rgba(47,71,53,.14);border-radius:14px;background:#f9fbf9}.gbda-rule-grid h4,.gbda-selected-rules h4{margin:.1rem 0 .4rem}.gbda-selected-rules{grid-template-columns:1fr}@media(max-width:760px){.gbda-encounter-form,.gbda-rule-grid{grid-template-columns:1fr}.gbda-animal-symbol{font-size:2.6rem;width:3.4rem}}

/* ==========================================================
   GBDA 0.7.95
   Zahlenkreis-Synchronisierung + Pentalogie-Geistbild
   ========================================================== */

.gbda-numerologie-wheel-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 0 !important;
    overflow: hidden !important;
}

.gbda-numerologie-pentalogie-host {
    width: 100%;
}

.gbda-numerologie-pentalogie-circle {
    display: block;
    width: min(100%, 760px);
    height: auto;
    margin: 0 auto;
}

.gbda-numerologie-structure-transfer {
    margin-top: 1.25rem;
}

.gbda-numerologie-structure-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gbda-numerologie-structure-grid
.p-active-structure-card {
    margin: 0;
}

/*
 * Geistbild:
 * Zweiter äußerer Ring ist bewusst nur Ergänzung.
 * Der vorhandene pentalogische Zahlenkreis bleibt unverändert.
 */
.p-geistbild-outer-ring {
    fill: none;
    stroke: #9aa7a0;
    stroke-width: 2;
    stroke-dasharray: 5 5;
}

.p-geistbild-outer-node-circle {
    fill: #fff;
    stroke: #66756b;
    stroke-width: 2;
}

.p-geistbild-outer-number {
    fill: #263129;
    font-size: 20px;
    font-weight: 800;
}

.p-geistbild-double-circle {
    fill: #fff7d9;
    stroke: #b58d1b;
    stroke-width: 2;
}

.p-geistbild-double-number {
    fill: #7f5e00;
    font-size: 17px;
    font-weight: 900;
}

.p-geistbild-dynamics-summary {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.p-geistbild-dynamics-summary > div {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .9rem 1rem;
    background: var(--surface-soft);
}

.p-geistbild-dynamics-summary span,
.p-geistbild-dynamics-summary strong {
    display: block;
}

.p-geistbild-dynamics-summary span {
    color: var(--muted);
    font-size: .82rem;
    margin-bottom: .25rem;
}

.p-geistbild-dynamics-summary strong {
    font-size: 1.05rem;
}

#p-sticky-circle-svg .p-geistbild-double-number {
    font-size: 18px;
}

#p-sticky-circle-svg .p-geistbild-outer-number {
    font-size: 20px;
}

@media (max-width: 720px) {
    .p-geistbild-dynamics-summary {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   GBDA 0.7.96 - Geistbild Korrektur
   ========================================================== */

.p-geistbild-double-meanings {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

#p-geistbild-double-meanings-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.p-geistbild-double-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    background: var(--surface-soft);
}

.gbda-numerologie-pentalogie-host
.p-geistbild-dynamics-layer {
    display: none !important;
}

/*
 * Numerologie verwendet die pentalogische
 * Zahlenkreis-Geometrie und Strukturfarben.
 */
.gbda-numerologie-pentalogie-circle {
    overflow: visible;
}

/*
 * GBDA: Kontextnavigation
 * Die Klasse hidden muss beide Navigatoren ausblenden koennen.
 */
#p-sticky-circle-wrap.hidden,
#p-sticky-pentagram-wrap.hidden {
    display: none !important;
}

/*
 * Pentagrammseite: ausschliesslich Pentagramm-Navigation.
 */
.gbda-pentalogie-view-pentagramm #p-sticky-circle-wrap {
    display: none !important;
}

.gbda-pentalogie-view-pentagramm #p-sticky-pentagram-wrap {
    display: block;
}

#p-sticky-circle-svg {
    overflow: visible;
}


/* ==========================================================
   GBDA 0.7.97
   Zahlenkreis / Geistbild Finalisierung
   ========================================================== */

/*
 * Numerologie verwendet jetzt den vollständigen
 * Pentalogie-Strukturblock unverändert.
 */
.gbda-numerologie-pentalogie-host > .p-active-structures {
    margin-top: 1.25rem;
}

/*
 * Alte 0.7.95-Transfer-Ummantelung darf bei einem
 * Browser-Cache niemals zusätzlich erscheinen.
 */
.gbda-numerologie-structure-transfer {
    display: none !important;
}

/*
 * Kleine Kreis-/Geistbild-Navigation sichtbar anklickbar.
 */
#n-sticky-wheel .gbda-nav-node,
#p-sticky-circle-svg .gbda-nav-node,
#p-circle .p-geistbild-double-marker {
    cursor: pointer;
}

#n-sticky-wheel .gbda-nav-node:hover circle,
#n-sticky-wheel .gbda-nav-node:focus circle,
#p-sticky-circle-svg .gbda-nav-node:hover circle,
#p-sticky-circle-svg .gbda-nav-node:focus circle {
    stroke-width: 4;
}

#p-sticky-circle-svg .p-geistbild-double-marker:hover
    .p-geistbild-double-circle,
#p-sticky-circle-svg .p-geistbild-double-marker:focus
    .p-geistbild-double-circle,
#p-circle .p-geistbild-double-marker:hover
    .p-geistbild-double-circle,
#p-circle .p-geistbild-double-marker:focus
    .p-geistbild-double-circle {
    stroke-width: 4;
}

.p-geistbild-double-card {
    scroll-margin-top: 130px;
}

.p-geistbild-double-card.gbda-geistbild-target-active {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}


/* ==========================================================
   GBDA 0.8.0
   Geistbild / Zahlenkreis fachlich getrennt
   ========================================================== */

/*
 * Wichtig:
 *
 * Die Klasse wird absichtlich NICHT global versteckt.
 * Nur innerhalb der Pentalogie-Zahlenkreis-/Geistbildansicht
 * wird sie ausgeblendet.
 *
 * Numerologie klont dieselben Elemente in eine andere Seite.
 * Dort bleiben sie dadurch sichtbar.
 */
#p-dashboard.gbda-pentalogie-view-zahlenkreis
.gbda-geistbild-structure-source {
    display: none !important;
}

/*
 * Sicherheitsregel fuer die statischen Altbereiche.
 */
#p-dashboard.gbda-pentalogie-view-zahlenkreis
#p-zahlenkreis .p-circle-rules {
    display: none !important;
}

/*
 * Auch im kleinen sticky Geistbild:
 * die geklonten Struktur-Layer tragen dieselbe
 * Markierung und verschwinden daher.
 */
#p-dashboard.gbda-pentalogie-view-zahlenkreis
#p-sticky-circle-svg
.gbda-geistbild-structure-source {
    display: none !important;
}


/* GBDA 0.8.8 - geschützte Quellen-PDF-Bibliothek */

.knowledge-source-section-grid {
    display: grid;
    gap: 1.25rem;
}

.knowledge-library-section {
    overflow: hidden;
}

.knowledge-source-folder {
    border: 1px solid rgba(42, 72, 59, 0.14);
    border-radius: 14px;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.45);
}

.knowledge-source-folder > summary {
    cursor: pointer;
    padding: 1rem 1.1rem;
    list-style: none;
}

.knowledge-source-folder > summary::-webkit-details-marker {
    display: none;
}

.knowledge-source-folder > summary span {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.knowledge-source-folder > summary small {
    opacity: 0.7;
}

.knowledge-source-folder .knowledge-list {
    padding: 0 1rem 1rem;
}

.knowledge-entry-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.knowledge-pdf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(42, 72, 59, 0.25);
}

.knowledge-original-pdf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(42, 72, 59, 0.18);
    border-radius: 14px;
}

.knowledge-original-pdf p {
    margin: 0.35rem 0 0;
}

.knowledge-pdf-card {
    padding: 1rem;
}

.knowledge-pdf-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.knowledge-pdf-toolbar span {
    margin-left: 0.35rem;
    opacity: 0.7;
}

.knowledge-pdf-frame-wrap {
    width: 100%;
    min-height: 78vh;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(42, 72, 59, 0.18);
    background: #f3f3f3;
}

.knowledge-pdf-frame {
    width: 100%;
    height: 78vh;
    border: 0;
    display: block;
}

@media (max-width: 720px) {
    .knowledge-original-pdf,
    .knowledge-pdf-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .knowledge-pdf-frame,
    .knowledge-pdf-frame-wrap {
        height: 72vh;
        min-height: 72vh;
    }
}

/* GBDA 0.8.9 - zentrale Wissensbibliothek */

.knowledge-library-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin: 0 0 1.3rem;
    padding: 1.15rem 1.3rem;
}

.knowledge-library-intro h2 {
    margin-bottom: 0.35rem;
}

.knowledge-library-intro p {
    margin: 0;
    max-width: 60rem;
}

.knowledge-library-total {
    flex: 0 0 auto;
    min-width: 8rem;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(42, 72, 59, 0.16);
}

.knowledge-library-total strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
}

.knowledge-library-total span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    opacity: 0.72;
}

.knowledge-folder-title {
    width: 100%;
}

.knowledge-folder-arrow {
    flex: 0 0 auto;
    font-size: 1.1rem;
    opacity: 0.7;
}

.knowledge-source-folder[open]
.knowledge-folder-arrow {
    transform: rotate(180deg);
}

.knowledge-entry-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.knowledge-entry-arrow {
    opacity: 0.55;
    font-size: 1.15rem;
}

.knowledge-explained-section {
    margin-top: 2rem;
}

.knowledge-library-secondary-link {
    margin-top: 1.25rem;
    text-align: right;
}

.knowledge-library-secondary-link a {
    text-decoration: none;
}

@media (max-width: 720px) {

    .knowledge-library-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .knowledge-library-total {
        align-self: flex-start;
    }

    .knowledge-entry {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .knowledge-entry-right {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* GBDA 0.8.10 - interner PDF.js Canvas Viewer */

.knowledge-pdf-toolbar {
    flex-wrap: wrap;
}

.knowledge-pdf-nav,
.knowledge-pdf-zoom,
.knowledge-pdf-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.knowledge-pdf-page-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.knowledge-pdf-page-control input {
    width: 4.2rem;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(42, 72, 59, 0.22);
    text-align: center;
}

.knowledge-pdf-control {
    min-width: 2.7rem;
    justify-content: center;
}

.knowledge-pdf-control:disabled {
    opacity: 0.4;
    cursor: default;
}

.knowledge-pdf-zoom-value {
    min-width: 4.2rem;
    text-align: center;
    font-weight: 600;
}

.knowledge-pdf-status {
    margin: 0 0 0.8rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: rgba(42, 72, 59, 0.06);
}

.knowledge-pdf-canvas-wrap {
    width: 100%;
    min-height: 70vh;
    overflow: auto;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(42, 72, 59, 0.18);
    background: #e9e9e6;
    text-align: center;
}

.knowledge-pdf-canvas {
    display: inline-block;
    max-width: none;
    background: white;
    box-shadow:
        0 3px 16px
        rgba(0, 0, 0, 0.12);
}

@media (max-width: 720px) {

    .knowledge-pdf-nav,
    .knowledge-pdf-zoom,
    .knowledge-pdf-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .knowledge-pdf-canvas-wrap {
        min-height: 65vh;
        padding: 0.5rem;
    }
}

/* GBDA B1e.3 - geschuetzte Originalquellen */
.gbda-source-link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.gbda-source-link:hover,
.gbda-source-link:focus-visible {
    text-decoration-thickness: 2px;
}

/* =========================================================
   GBDA Doppelzahlen / Pentagramm gemeinsame Darstellung
   2026-10-05
   ========================================================= */

.p-penta-reflections {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line, #ddd);
}

.p-penta-reflections h4,
.p-penta-variants h4,
.p-penta-general-double-body h4,
.p-penta-double-section h5 {
    margin-top: 0;
    font-weight: 700;
}

.p-penta-reflections ul {
    margin-bottom: 0;
}

.p-penta-general-double {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line, #ddd);
}

.p-penta-general-double > summary {
    cursor: pointer;
    font-weight: 700;
}

.p-penta-general-double-body {
    padding-top: 1rem;
}

.p-penta-double-section + .p-penta-double-section {
    margin-top: 1rem;
}

.p-penta-double-section p:last-child,
.p-penta-double-section ul:last-child {
    margin-bottom: 0;
}


/* GBDA 0.8.18 - sichtbare neutrale PDF-Referenz */
.gbda-pdf-ref {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .75rem;
    margin: .7rem 0 .8rem;
}

.gbda-pdf-ref .gbda-source-link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.gbda-pdf-ref-meta {
    font-size: .82rem;
    opacity: .72;
}

.gbda-double-meaning > h3,
.p-penta-double-section > h5 {
    margin-bottom: .4rem;
}

/* GBDA 0.8.20 - klickbare Pentalogie-Navigation */
#p-circle .gbda-nav-node,
#p-sticky-circle-svg .gbda-nav-node,
#p-pentagram-values .gbda-nav-node,
#p-sticky-pentagram-svg .gbda-nav-node,
.p-geistbild-double-marker.gbda-nav-node,
.p-type-position.gbda-nav-node {
    cursor: pointer;
    pointer-events: all;
}


/* =========================================================
   GBDA 0.8.23 - Doppelzahlen Detailansicht
   2026-10-06
   ========================================================= */

.gbda-double-result-enhanced {
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.gbda-double-result-enhanced .section-heading {
    margin-bottom: 1.25rem;
}

.gbda-double-summary-block {
    margin-top: 1.15rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--line, rgba(0,0,0,.12));
    border-radius: 14px;
    background: rgba(255,255,255,.46);
}

.gbda-double-summary-block > h3 {
    margin: 0 0 .55rem;
    font-size: 1.03rem;
    font-weight: 750;
}

.gbda-double-summary-block .gbda-double-short {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    font-weight: 500;
}

.gbda-double-result-enhanced > .gbda-pdf-ref,
.gbda-double-summary-block + .gbda-pdf-ref {
    margin: .75rem 0 1.1rem;
    padding: .65rem .8rem;
    border-radius: 10px;
    background: rgba(0,0,0,.025);
}

.gbda-double-full-details {
    margin-top: 1rem;
    border-top: 1px solid var(--line, rgba(0,0,0,.12));
    padding-top: .25rem;
}

.gbda-double-full-details > summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 0;
    cursor: pointer;
    font-weight: 750;
    font-size: 1rem;
}

.gbda-double-full-details > summary::marker {
    content: "";
}

.gbda-double-full-details > summary::before {
    content: "▸";
    display: inline-block;
    transition: transform .15s ease;
}

.gbda-double-full-details[open] > summary::before {
    transform: rotate(90deg);
}

.gbda-double-full-body {
    display: grid;
    gap: .9rem;
    padding: .35rem 0 .35rem;
}

.gbda-double-full-body .gbda-double-section {
    margin: 0;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line, rgba(0,0,0,.10));
    border-radius: 12px;
    background: rgba(255,255,255,.34);
}

.gbda-double-full-body .gbda-double-section > h3 {
    margin: 0 0 .45rem;
    font-size: 1rem;
    font-weight: 750;
}

.gbda-double-full-body .gbda-double-section p {
    margin-top: 0;
    line-height: 1.62;
}

.gbda-double-full-body .gbda-double-section p:last-child {
    margin-bottom: 0;
}

.gbda-double-reflection-section {
    border-left: 4px solid #6a8b78 !important;
    background: rgba(106,139,120,.06) !important;
}

.gbda-double-reflection-section > h3::before {
    content: "Fragen zur Selbstreflexion · ";
    font-weight: 500;
    opacity: .72;
}

.gbda-double-practice-section {
    border-left: 4px solid #ba8d45 !important;
    background: rgba(186,141,69,.06) !important;
}

.gbda-double-practice-section > h3::before {
    content: "Praxis · ";
    font-weight: 500;
    opacity: .72;
}

.gbda-double-planet-section {
    padding-top: .8rem !important;
    padding-bottom: .8rem !important;
    background: rgba(0,0,0,.025) !important;
}

.gbda-double-planet-section p {
    font-weight: 600;
}

.gbda-double-conclusion-section {
    margin-top: .2rem !important;
    border-top-width: 2px !important;
}

.gbda-double-label-section {
    background: rgba(0,0,0,.018) !important;
}

@media (max-width: 760px) {
    .gbda-double-result-enhanced {
        padding: 1rem;
    }

    .gbda-double-summary-block {
        padding: 1rem;
    }

    .gbda-double-full-body .gbda-double-section {
        padding: .9rem;
    }
}


/* =========================================================
   GBDA 0.8.24 - Doppelzahlen ruhige Detailansicht
   ========================================================= */

.gbda-double-result-enhanced .gbda-double-summary-block,
.gbda-double-result-enhanced .gbda-double-core-block {
    margin: 0;
    padding: 1rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.gbda-double-result-enhanced .gbda-double-summary-block {
    border-top: 1px solid var(--line, rgba(0,0,0,.10));
}

.gbda-double-result-enhanced .gbda-double-core-block {
    border-top: 1px solid var(--line, rgba(0,0,0,.08));
}

.gbda-double-core-block > h3,
.gbda-double-summary-block > h3 {
    margin: 0 0 .45rem;
    font-size: 1rem;
    font-weight: 750;
}

.gbda-double-core-text {
    max-width: 78rem;
}

.gbda-double-core-text p {
    margin: 0 0 .55rem;
    line-height: 1.62;
}

.gbda-double-core-text p:last-child {
    margin-bottom: 0;
}

.gbda-double-result-enhanced > .gbda-pdf-ref,
.gbda-double-summary-block + .gbda-pdf-ref,
.gbda-double-core-block + .gbda-pdf-ref {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: .3rem .65rem !important;

    width: auto !important;
    min-height: 0 !important;
    height: auto !important;

    margin: .15rem 0 .9rem !important;
    padding: .55rem 0 !important;

    border: 0 !important;
    border-top: 1px solid var(--line, rgba(0,0,0,.08)) !important;
    border-bottom: 1px solid var(--line, rgba(0,0,0,.08)) !important;
    border-radius: 0 !important;

    background: transparent !important;
}

.gbda-double-result-enhanced .gbda-pdf-ref > * {
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

.gbda-double-result-enhanced .gbda-pdf-ref-meta {
    display: inline !important;
    width: auto !important;
    font-size: .86rem;
    opacity: .72;
}

.gbda-double-full-details {
    margin-top: .3rem;
    padding-top: 0;
    border-top: 0;
}

.gbda-double-full-details > summary {
    padding: .8rem 0;
    border-bottom: 1px solid var(--line, rgba(0,0,0,.10));
}

.gbda-double-full-body {
    display: block;
    padding: .2rem 0 0;
}

.gbda-double-full-body .gbda-double-section {
    margin: 0 !important;
    padding: .95rem 0 !important;

    border: 0 !important;
    border-bottom: 1px solid var(--line, rgba(0,0,0,.08)) !important;
    border-radius: 0 !important;

    background: transparent !important;
}

.gbda-double-full-body .gbda-double-section > h3 {
    margin: 0 0 .4rem;
}

.gbda-double-full-body .gbda-double-section p {
    margin-bottom: 0;
    max-width: 78rem;
}

.gbda-double-reflection-section,
.gbda-double-practice-section {
    margin: .7rem 0 !important;
    padding: .85rem 1rem !important;
    border-bottom: 0 !important;
    border-radius: 9px !important;
}

.gbda-double-reflection-section {
    border-left: 3px solid #6a8b78 !important;
    background: rgba(106,139,120,.055) !important;
}

.gbda-double-practice-section {
    border-left: 3px solid #ba8d45 !important;
    background: rgba(186,141,69,.05) !important;
}

.gbda-double-planet-section,
.gbda-double-label-section,
.gbda-double-conclusion-section {
    background: transparent !important;
}

.gbda-double-planet-section p {
    font-weight: 500;
}

@media (max-width: 760px) {
    .gbda-double-result-enhanced .gbda-double-summary-block,
    .gbda-double-result-enhanced .gbda-double-core-block {
        padding: .85rem 0;
    }

    .gbda-double-reflection-section,
    .gbda-double-practice-section {
        padding: .8rem !important;
    }
}


/* =========================================================
   GBDA 0.8.25 - Doppelzahlen Feinschliff
   ========================================================= */

/*
 * PDF-Referenz bewusst auf eine kompakte Zeile zwingen.
 * Frühere allgemeine Layoutregeln dürfen hier keine Höhe
 * oder Verteilung mehr erzeugen.
 */
.gbda-double-result-enhanced .gbda-pdf-ref {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    align-content: normal !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: .35rem 0 .9rem !important;
    padding: .55rem 0 !important;

    gap: .35rem !important;

    border: 0 !important;
    background: transparent !important;

    position: static !important;
}

.gbda-double-result-enhanced .gbda-pdf-ref .gbda-source-link,
.gbda-double-result-enhanced .gbda-pdf-ref .gbda-pdf-ref-meta {
    display: inline !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    inset: auto !important;

    align-self: auto !important;
    line-height: 1.4 !important;
}

.gbda-double-result-enhanced .gbda-pdf-ref-meta {
    white-space: nowrap !important;
}

.gbda-double-result-enhanced .gbda-pdf-ref-meta::before {
    content: "·";
    margin-right: .35rem;
    opacity: .55;
}


/*
 * Abschnittsüberschriften:
 *
 * Wichtige Fragen · Fragen zur Selbstreflexion
 * Übung · Praxis
 */
.gbda-double-reflection-section > h3::before,
.gbda-double-practice-section > h3::before {
    content: none !important;
}

.gbda-double-heading-note {
    margin-left: .45rem;
    font-size: .92em;
    font-weight: 400;
    opacity: .68;
}

.gbda-double-heading-note::before {
    content: "·";
    margin-right: .45rem;
}

.gbda-double-heading-note-strong {
    font-weight: 700;
    opacity: 1;
}


/* Schlagworte bleiben zuerst sichtbar. */
.gbda-double-reflection-section > p {
    margin-bottom: .8rem !important;
}


/* Daraus abgeleitete neutrale Beispielfragen. */
.gbda-double-example-questions {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line, rgba(0,0,0,.08));
}

.gbda-double-example-questions h4 {
    margin: 0 0 .45rem;
    font-size: .94rem;
    font-weight: 700;
}

.gbda-double-example-questions ul {
    margin: 0;
    padding-left: 1.25rem;
}

.gbda-double-example-questions li {
    margin: .3rem 0;
    line-height: 1.5;
}


/*
 * Fragen und Übung leicht hervorheben,
 * aber nicht wieder als große Karten.
 */
.gbda-double-reflection-section,
.gbda-double-practice-section {
    margin: .35rem 0 !important;
    padding: .8rem .9rem !important;
    border-radius: 8px !important;
}

.gbda-double-reflection-section {
    border-left: 3px solid #6a8b78 !important;
}

.gbda-double-practice-section {
    border-left: 3px solid #ba8d45 !important;
}


@media (max-width: 760px) {
    .gbda-double-result-enhanced .gbda-pdf-ref {
        display: flex !important;
    }

    .gbda-double-result-enhanced .gbda-pdf-ref-meta {
        white-space: normal !important;
    }

    .gbda-double-heading-note {
        display: block;
        margin: .18rem 0 0;
    }

    .gbda-double-heading-note::before {
        content: none;
    }
}


/* =========================================================
   GBDA 0.8.26 - PDF-Referenz exakt in einer Zeile
   ========================================================= */

.gbda-double-result-enhanced .gbda-pdf-ref {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    align-items: center !important;
    align-content: center !important;
    justify-content: flex-start !important;

    gap: .45rem !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: .3rem 0 .9rem !important;
    padding: .45rem 0 !important;
}

.gbda-double-result-enhanced
.gbda-pdf-ref
.gbda-source-link {
    order: 1 !important;

    display: inline-block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    float: none !important;
    transform: none !important;

    line-height: 1.4 !important;
    align-self: center !important;
}

.gbda-double-result-enhanced
.gbda-pdf-ref
.gbda-pdf-ref-meta {
    order: 2 !important;

    display: inline-block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    float: none !important;
    transform: none !important;

    line-height: 1.4 !important;
    align-self: center !important;

    white-space: nowrap !important;
}

.gbda-double-result-enhanced
.gbda-pdf-ref
.gbda-pdf-ref-meta::before {
    content: "·";
    margin-right: .45rem;
    opacity: .55;
}

@media (max-width: 760px) {
    .gbda-double-result-enhanced
    .gbda-pdf-ref {
        align-items: baseline !important;
    }

    .gbda-double-result-enhanced
    .gbda-pdf-ref
    .gbda-pdf-ref-meta {
        white-space: normal !important;
    }
}


/* =========================================================
   GBDA 0.8.27 - Doppelzahlen: HTML-Struktur normal fließen
   ========================================================= */

/*
 * .gbda-knowledge-text verwendet historisch white-space: pre-line.
 * Die strukturierte Doppelzahlenansicht enthält jedoch echtes HTML.
 * Die erhaltenen Template-Zeilenumbrüche erzeugen sonst große
 * vertikale Leerflächen, insbesondere um die PDF-Referenz.
 */
.gbda-double-result-enhanced .gbda-double-knowledge {
    white-space: normal !important;
}

/* PDF-Referenz als normale kompakte Textzeile */
.gbda-double-result-enhanced .gbda-pdf-ref {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;

    width: auto !important;
    min-height: 0 !important;
    height: auto !important;

    margin: .45rem 0 .9rem !important;
    padding: 0 !important;

    gap: .45rem !important;
}

.gbda-double-result-enhanced .gbda-pdf-ref > * {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* GBDA Block 4 - Lernpunkte im Numerologie-Zahlenkreis */
.n-block4-learning {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.n-block4-learning-head {
    margin-bottom: 8px;
}

.n-block4-learning-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.n-block4-learning-facts > div {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.n-block4-learning-facts span {
    display: block;
    font-size: 0.82rem;
    opacity: 0.75;
    margin-bottom: 4px;
}

.n-block4-karmic-details {
    margin-top: 14px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.n-block4-karmic-details > summary {
    cursor: pointer;
    font-weight: 700;
}

.n-block4-karmic-content {
    margin-top: 10px;
}

@media (max-width: 720px) {
    .n-block4-learning-facts {
        grid-template-columns: 1fr;
    }
}

/* GBDA Block 4 - lesbare Lernfeldstruktur */
.n-missing-structured {
    display: block;
}

.n-missing-heading {
    margin-top: 16px;
    margin-bottom: 7px;
    font-weight: 700;
}

.n-missing-heading:first-child {
    margin-top: 0;
}

.n-missing-line {
    margin: 3px 0;
}

.n-missing-subheading {
    margin-top: 12px;
    margin-bottom: 4px;
    font-weight: 700;
    font-style: italic;
}

.n-missing-detail {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.n-missing-detail > summary {
    cursor: pointer;
    font-weight: 700;
}

.n-missing-detail-body {
    padding-top: 10px;
}

.n-missing-detail-body .n-missing-line {
    margin: 3px 0;
}

/* GBDA Block 4 - Kurzdeutung der gerichteten Doppelzahl */
.n-block4-directed-summary {
    margin: 7px 0 0;
    line-height: 1.45;
    font-size: 0.92rem;
    font-weight: 400;
    opacity: 0.9;
}

/* GBDA Block 4 - vorhandene Zahlen strukturieren */
.n-present-structured {
    display: block;
}

.n-present-heading {
    font-weight: 700;
}

.n-present-detail > summary {
    font-weight: 700;
}

/* ==========================================================
   GBDA 2026-10-07 - Numerologie/Pentalogie UI-Struktur
   ========================================================== */

/* Numerologie und Pentalogie bewusst in zwei eigenen Zeilen. */
.gbda-combined-subnav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.gbda-combined-subnav .gbda-subnav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.gbda-combined-subnav .gbda-subnav-row-pentalogie {
    border-top: 1px solid rgba(47, 71, 53, 0.10);
}

/* Innen/Aussen gehoert ausschliesslich zur GSK-Unterseite. */
.gbda-numerologie-view-zahlenkreis #n-inner-outer,
.gbda-numerologie-view-typus #n-inner-outer {
    display: none !important;
}

.gbda-numerologie-view-gsk #n-inner-outer {
    display: block;
}

/* Weitere Sprungziele unter dem kleinen Zahlenkreis. */
.gbda-zahlenkreis-jump-links {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.gbda-zahlenkreis-jump-links a {
    display: block;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(47, 71, 53, 0.15);
    border-radius: 10px;
    background: rgba(247, 250, 247, 0.92);
    color: inherit;
    text-decoration: none;
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 700;
}

.gbda-zahlenkreis-jump-links a:hover,
.gbda-zahlenkreis-jump-links a:focus {
    background: rgba(232, 241, 233, 0.96);
}

/* Zahlen im grossen sichtbaren Zahlenkreis als Navigation. */
#n-pentalogie-wheel-host
.gbda-numerology-large-nav-node {
    cursor: pointer;
}

#n-pentalogie-wheel-host
.gbda-numerology-large-nav-node:hover circle,
#n-pentalogie-wheel-host
.gbda-numerology-large-nav-node:focus circle {
    stroke-width: 4;
}

/* GSK: zweite quellengebundene ICH/DU/WIR-Ansicht. */
.gsk-elements-view {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(47, 71, 53, 0.14);
}

.gsk-elements-table-wrap {
    overflow-x: auto;
    margin-top: 0.8rem;
}

.gsk-elements-table {
    width: 100%;
    border-collapse: collapse;
}

.gsk-elements-table th,
.gsk-elements-table td {
    border: 1px solid rgba(47, 71, 53, 0.16);
    padding: 0.8rem;
    vertical-align: middle;
}

.gsk-elements-table thead th {
    text-align: center;
    background: rgba(238, 244, 239, 0.95);
}

.gsk-elements-table tbody th {
    width: 55%;
    text-align: left;
    font-weight: 600;
    line-height: 1.45;
}

.gsk-elements-table td {
    min-width: 82px;
    text-align: center;
}

.gsk-element-number {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    margin: 0.1rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(47, 71, 53, 0.22);
    background: #f7faf7;
    font-weight: 800;
}

.gsk-element-number.is-present {
    background: #e8f1e9;
    border-color: rgba(47, 97, 58, 0.48);
}

@media (max-width: 800px) {
    .gbda-combined-subnav .gbda-subnav-row {
        justify-content: flex-start;
    }

    .gsk-elements-table tbody th {
        min-width: 260px;
    }
}

/* ============================================================
   GBDA Block 5 - Besondere Strukturen FINAL
   Nutzt bewusst dieselben rule-row Styles wie Trigone.
   ============================================================ */

.gbda-special-source-only {
    display: none !important;
}

#n-special-structures {
    display: block !important;
    margin-top: 1.25rem;
    scroll-margin-top: 6rem;
}

#n-special-structures .p-active-structure-grid {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    align-items: start;
}

#n-special-structures .p-special-structure-card {
    min-width: 0;
}

/*
 * Die äußere Themenkarte bleibt wie bei den normalen
 * aktiven Strukturen weiß. Die eigentliche Deutung sitzt
 * in der grünen .rule-row.active-Karte darunter.
 */
#n-special-structures
.p-special-structure-list {
    display: grid;
    gap: 9px;
}

#n-special-structures
.p-special-structure-row {
    /*
     * Entspricht bewusst der normalen .rule-row.
     * Keine display:block- oder transparent-Overrides mehr.
     */
    opacity: 1;
}

#n-special-structures
.p-special-structure-copy {
    min-width: 0;
}

#n-special-structures
.p-special-structure-copy
.p-rule-wdb {
    margin-top: .45rem;
}

#n-special-structures
.p-special-structure-copy
.p-rule-wdb-text {
    line-height: 1.5;
}

/*
 * Ergänzungslinien für die vollständige Quadrat-Geometrie.
 * Solid statt gestrichelt, damit die zusätzliche Verbindung
 * von den bereits vorhandenen Linien unterscheidbar bleibt.
 */
#n-special-structures
.p-structure-mini-highlight {
    stroke-dasharray: none;
    opacity: .9;
}

/*
 * Das bisherige "special"-Polygon darf gestrichelt bleiben.
 */
#n-special-structures
.p-structure-mini-special {
    stroke-dasharray: 14 10;
    opacity: .8;
}

@media (max-width: 900px) {
    #n-special-structures
    .p-active-structure-grid {
        grid-template-columns: 1fr;
    }
}

/* BLOCK5_SPECIAL_SOURCE_UI_CLEAN_START */

/*
 * Technischen WDB-Status in der Benutzeransicht ausblenden,
 * den eigentlichen Quellenlink aber sichtbar lassen.
 */
#n-special-structures .p-rule-wdb-status {
    display: none;
}

/*
 * Quellenverweis sichtbar als eigene, ruhige Zeile
 * unter dem Deutungstext darstellen.
 */
#n-special-structures .p-rule-wdb-source {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.75rem;
    line-height: 1.35;
    opacity: 0.9;
}

#n-special-structures .p-rule-wdb-source::before {
    content: "Quelle: ";
    font-weight: 500;
}

#n-special-structures .p-rule-wdb-source a {
    font-size: 0.75rem;
    line-height: 1.35;
}

/* BLOCK5_SPECIAL_SOURCE_UI_CLEAN_END */

/* GBDA shared collapsible orientation (2026-10-15) */
.gbda-page-explanation { margin: 1rem 0 1.25rem; }
.gbda-page-explanation h2 { margin-top: .25rem; }
.gbda-page-explanation-details { margin-top: .8rem; border-top: 1px solid var(--border); padding-top: .7rem; }
.gbda-page-explanation-details summary { cursor: pointer; font-weight: 700; padding: .3rem 0; }
.gbda-page-explanation-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gbda-page-explanation-body { padding-top: .5rem; line-height: 1.65; }

/* GBDA Zahlenkreis: Regelweg nach Verlagerung aus Pentagramm. */
#n-dynamics-svg { display:block; width:100%; max-width:520px; margin:0 auto; }
