.fm-pb-wrap,
.fm-pb-wrap * {
    box-sizing: border-box;
}

.fm-pb-wrap {
    --fm-pb-ink: #23343a;
    --fm-pb-muted: #65777c;
    --fm-pb-soft: #f7f2ea;
    --fm-pb-paper: rgba(255, 255, 255, 0.88);
    --fm-pb-line: rgba(60, 84, 80, 0.12);
    --fm-pb-shadow: 0 24px 70px rgba(68, 81, 75, 0.12);
    --fm-pb-radius-xl: 30px;
    --fm-pb-radius-lg: 22px;
    --fm-pb-radius-md: 16px;
    color: var(--fm-pb-ink);
    font-family: inherit;
    width: 100%;
}

.fm-pb-shell {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(18px, 3vw, 34px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 220, 161, 0.36), transparent 26%),
        radial-gradient(circle at 100% 12%, rgba(161, 217, 200, 0.36), transparent 28%),
        linear-gradient(135deg, #fffaf2 0%, #f3f7ef 54%, #eef6f8 100%);
    box-shadow: var(--fm-pb-shadow);
    overflow: hidden;
}

.fm-pb-shell::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 26px;
    pointer-events: none;
}

.fm-pb-hero,
.fm-pb-context-card,
.fm-pb-create-panel,
.fm-pb-filterbar,
.fm-pb-section,
.fm-pb-dashboard-row,
.fm-pb-empty {
    position: relative;
    z-index: 1;
}

.fm-pb-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.75fr);
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    margin-bottom: 18px;
}

.fm-pb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #60786f;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fm-pb-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #9fc7b4;
    box-shadow: 0 0 0 7px rgba(159, 199, 180, 0.18);
}

.fm-pb-hero h2 {
    margin: 10px 0 12px;
    color: var(--fm-pb-ink);
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 830;
    max-width: 760px;
}

.fm-pb-hero p {
    max-width: 710px;
    margin: 0;
    color: var(--fm-pb-muted);
    font-size: 1.06rem;
    line-height: 1.64;
}

.fm-pb-help-strip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 16px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(48, 111, 104, 0.14);
    box-shadow: 0 10px 24px rgba(32, 73, 69, 0.07);
}

.fm-pb-help-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px 0 2px;
    color: #526c69;
    font-size: 0.82rem;
    font-weight: 900;
}

.fm-pb-help-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #2d7c72, #75c4b4);
    box-shadow: 0 8px 18px rgba(45, 124, 114, 0.18);
}

.fm-pb-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fm-pb-help-links a,
.fm-pb-help-links a:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(48, 111, 104, 0.14);
    background: linear-gradient(145deg, #fff, #f2fbf8);
    color: #173c3a;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.88rem;
}

.fm-pb-help-links a span {
    color: #2d7c72;
    font-weight: 900;
}

.fm-pb-companion {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    min-height: 160px;
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 42px rgba(79, 107, 96, 0.10);
    backdrop-filter: blur(10px);
}

.fm-pb-companion img {
    width: 136px;
    max-width: 136px;
    height: auto;
    object-fit: contain;
    transform: translateX(-12px) scale(1.08);
    filter: drop-shadow(0 18px 18px rgba(61, 82, 76, 0.15));
}

.fm-pb-companion-fallback,
.fm-pb-companion-placeholder span {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 2.4rem;
}

.fm-pb-companion-bubble {
    padding: 14px 16px;
    border-radius: 20px;
    background: #ffffff;
    color: var(--fm-pb-ink);
    box-shadow: 0 14px 30px rgba(55, 72, 66, 0.08);
}

.fm-pb-companion-bubble strong,
.fm-pb-companion-bubble span,
.fm-pb-companion-placeholder strong,
.fm-pb-companion-placeholder small {
    display: block;
}

.fm-pb-companion-bubble strong,
.fm-pb-companion-placeholder strong {
    font-size: 1rem;
    font-weight: 800;
}

.fm-pb-companion-bubble span,
.fm-pb-companion-placeholder small {
    margin-top: 5px;
    color: var(--fm-pb-muted);
    font-size: 0.88rem;
    line-height: 1.38;
}

.fm-pb-companion-placeholder {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 130px;
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 42px rgba(79, 107, 96, 0.10);
}

.fm-pb-context-card {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 18px;
    padding: 14px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 36px rgba(69, 88, 82, 0.08);
}

.fm-pb-context-card .fm-context-selector {
    margin: 0;
    width: auto;
    min-width: min(100%, 520px);
}

.fm-pb-context-card .fm-context-title {
    color: var(--fm-pb-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fm-pb-context-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f8fbf7;
    border: 1px solid rgba(78, 120, 103, 0.12);
    white-space: nowrap;
}

.fm-pb-context-summary span {
    color: var(--fm-pb-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fm-pb-context-summary strong {
    font-weight: 850;
}

.fm-pb-context-summary em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #56766e;
    font-style: normal;
    font-weight: 750;
}

.fm-pb-context-summary .fm-symbol-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.fm-pb-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.fm-pb-help-overlay:target {
    display: flex;
}

.fm-pb-help-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 39, 39, 0.48);
    backdrop-filter: blur(6px);
}

.fm-pb-help-panel {
    position: relative;
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    background: #fffdf8;
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 30px 80px rgba(24, 39, 39, 0.26);
}

.fm-pb-help-close {
    position: absolute;
    top: 14px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #f5f1e8;
    color: var(--fm-pb-ink);
    text-decoration: none;
    font-size: 1.45rem;
    line-height: 1;
}

.fm-pb-help-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(111, 166, 143, 0.14);
    color: #315c51;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fm-pb-help-panel h2 {
    margin: 14px 44px 10px 0;
    color: var(--fm-pb-ink);
    font-size: 1.75rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.fm-pb-help-lead {
    margin: 0;
    color: var(--fm-pb-muted);
    font-size: 1.02rem;
    line-height: 1.62;
}

.fm-pb-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.fm-pb-help-grid div,
.fm-pb-help-visual-note {
    padding: 14px;
    border-radius: 18px;
    background: #f8fbf7;
    border: 1px solid rgba(78, 120, 103, 0.12);
}

.fm-pb-help-grid strong,
.fm-pb-help-grid span {
    display: block;
}

.fm-pb-help-grid strong {
    margin-bottom: 6px;
    color: var(--fm-pb-ink);
    font-weight: 900;
}

.fm-pb-help-grid span,
.fm-pb-help-steps,
.fm-pb-help-visual-note {
    color: var(--fm-pb-muted);
    line-height: 1.48;
}

.fm-pb-help-steps {
    margin: 16px 0 0;
    padding-left: 22px;
}

.fm-pb-help-steps li + li {
    margin-top: 8px;
}

.fm-pb-help-visual-note {
    margin-top: 18px;
    background: #fff8e8;
    border-color: rgba(191, 146, 68, 0.20);
    font-weight: 760;
}

.fm-pb-dashboard-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.fm-pb-mini-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon value" "icon label";
    gap: 0 12px;
    align-items: center;
    min-height: 86px;
    padding: 16px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 34px rgba(73, 91, 85, 0.08);
}

.fm-pb-mini-card span {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: #fff;
    font-size: 1.35rem;
}

.fm-pb-mini-card strong {
    grid-area: value;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.26rem;
    font-weight: 850;
}

.fm-pb-mini-card small {
    grid-area: label;
    color: var(--fm-pb-muted);
    font-size: 0.86rem;
}

.fm-pb-create-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 18px 0;
    padding: clamp(18px, 2vw, 24px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 46px rgba(73, 91, 85, 0.09);
}

.fm-pb-create-copy h3 {
    margin: 8px 0 10px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.fm-pb-create-copy p {
    margin: 0;
    color: var(--fm-pb-muted);
    line-height: 1.55;
}

.fm-pb-type-suggestions {
    margin-top: 14px;
    border: 1px solid rgba(78, 120, 103, 0.16);
    border-radius: 18px;
    background: rgba(247, 252, 249, 0.82);
}

.fm-pb-type-suggestions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
}

.fm-pb-type-suggestions summary::-webkit-details-marker {
    display: none;
}

.fm-pb-type-suggestions summary > span:first-child {
    display: grid;
    gap: 2px;
}

.fm-pb-type-suggestions summary strong {
    color: var(--fm-pb-ink);
    font-size: 0.98rem;
}

.fm-pb-type-suggestions summary small {
    color: var(--fm-pb-muted);
    font-size: 0.82rem;
}

.fm-pb-type-suggestions-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    color: #356b57;
    font-size: 0.86rem;
    font-weight: 800;
}

.fm-pb-type-suggestions-action::after {
    content: "⌄";
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.fm-pb-type-suggestions[open] .fm-pb-type-suggestions-action::after {
    transform: rotate(180deg);
}

.fm-pb-type-suggestions[open] .fm-pb-type-suggestions-action {
    font-size: 0;
}

.fm-pb-type-suggestions[open] .fm-pb-type-suggestions-action::before {
    content: "Ausblenden";
    font-size: 0.86rem;
}

.fm-pb-type-guide {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0 12px 12px;
}

.fm-pb-type-guide-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon helper";
    gap: 0 8px;
    min-width: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(78, 120, 103, 0.10);
}

.fm-pb-type-guide-card span {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: #fff;
    font-size: 1.05rem;
}

.fm-pb-type-guide-card strong {
    grid-area: title;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fm-pb-ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.fm-pb-type-guide-card small {
    grid-area: helper;
    min-width: 0;
    color: var(--fm-pb-muted);
    font-size: 0.75rem;
    line-height: 1.25;
}

.fm-pb-form {
    margin: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.76);
}

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

.fm-pb-form-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-pb-span-all {
    grid-column: 1 / -1;
}

.fm-pb-form-divider {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 2px 2px 6px;
    border-bottom: 1px solid rgba(64, 102, 92, 0.10);
}

.fm-pb-form-divider span,
.fm-pb-form-divider small {
    min-width: 0;
}

.fm-pb-form-divider span {
    color: var(--fm-pb-ink);
    font-size: 0.95rem;
    font-weight: 900;
}

.fm-pb-form-divider small {
    color: var(--fm-pb-muted);
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: right;
}

.fm-pb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.fm-pb-field-title,
.fm-pb-field-text {
    grid-column: span 2;
}

.fm-pb-form-grid.compact .fm-pb-field-text {
    grid-column: 1 / -1;
}

.fm-pb-field span,
.fm-pb-type-filter label {
    color: #536d67;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.fm-pb-field input,
.fm-pb-field textarea,
.fm-pb-field select,
.fm-pb-type-filter select,
.fm-pb-context-card select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(64, 102, 92, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fm-pb-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fm-pb-field textarea {
    min-height: 98px;
    resize: vertical;
    line-height: 1.45;
}

.fm-pb-field input:focus,
.fm-pb-field textarea:focus,
.fm-pb-field select:focus,
.fm-pb-type-filter select:focus,
.fm-pb-context-card select:focus {
    border-color: rgba(73, 142, 117, 0.56);
    box-shadow: 0 0 0 4px rgba(115, 184, 157, 0.14);
    background: #fff;
}

.fm-pb-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.fm-pb-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fm-pb-muted);
    font-weight: 700;
    font-size: 0.92rem;
}

.fm-pb-primary-button,
.fm-pb-action-button,
.fm-pb-danger-button {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.fm-pb-primary-button {
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #395d54 0%, #77a88e 100%);
    color: #fff;
    font-weight: 850;
    box-shadow: 0 16px 28px rgba(61, 97, 82, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fm-pb-primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(61, 97, 82, 0.26);
}

.fm-pb-primary-button.small {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.88rem;
}

.fm-pb-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 30px rgba(73, 91, 85, 0.07);
}

.fm-pb-filterchips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fm-pb-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #4e6761;
    border: 1px solid rgba(74, 108, 98, 0.12);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 780;
}

.fm-pb-chip:hover,
.fm-pb-chip.is-active {
    background: #ffffff;
    color: #263c37;
    box-shadow: 0 10px 24px rgba(71, 91, 84, 0.10);
}

.fm-pb-type-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.fm-pb-type-filter select {
    min-width: 190px;
}

.fm-pb-section {
    margin: 22px 0;
}

.fm-pb-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.fm-pb-section-heading span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.78);
}

.fm-pb-section-heading h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.fm-pb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fm-pb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 18px;
    border-radius: 26px;
    background: #fffdf8;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(63, 78, 73, 0.10);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fm-pb-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.72), transparent 42%);
    pointer-events: none;
}

.fm-pb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(63, 78, 73, 0.13);
}

.fm-pb-card > * {
    position: relative;
    z-index: 1;
}

.fm-pb-card.is-pinned {
    border-color: rgba(214, 173, 85, 0.28);
}

.fm-pb-color-cream { background: linear-gradient(145deg, #fffdf8 0%, #f7efe1 100%); }
.fm-pb-color-mint { background: linear-gradient(145deg, #f8fff9 0%, #dff4e9 100%); }
.fm-pb-color-sky { background: linear-gradient(145deg, #f7fcff 0%, #dfeef8 100%); }
.fm-pb-color-rose { background: linear-gradient(145deg, #fff9fa 0%, #f8dfe6 100%); }
.fm-pb-color-sun { background: linear-gradient(145deg, #fffdf1 0%, #ffe9ac 100%); }
.fm-pb-color-lavender { background: linear-gradient(145deg, #fcf9ff 0%, #e9e0f7 100%); }
.fm-pb-color-sand { background: linear-gradient(145deg, #fffaf2 0%, #eadbc2 100%); }
.fm-pb-color-sage { background: linear-gradient(145deg, #fbfff9 0%, #d8e7d3 100%); }

.fm-pb-card-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.fm-pb-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
    font-size: 1.42rem;
}

.fm-pb-card-type {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #536d67;
    font-size: 0.78rem;
    font-weight: 850;
}

.fm-pb-pin {
    margin-left: auto;
}

.fm-pb-card h3 {
    margin: 0 0 10px;
    color: var(--fm-pb-ink);
    font-size: 1.28rem;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.fm-pb-card-content {
    color: #40575a;
    line-height: 1.55;
    font-size: 0.98rem;
}

.fm-pb-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.fm-pb-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #586c6c;
    font-size: 0.78rem;
    font-weight: 760;
}

.fm-pb-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.fm-pb-card-footer small {
    color: rgba(54, 69, 68, 0.66);
    font-size: 0.78rem;
}

.fm-pb-card-actions,
.fm-pb-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.fm-pb-inline-form {
    margin: 0;
}

.fm-pb-action-button {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #4d6862;
    border: 1px solid rgba(79, 111, 101, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
}

.fm-pb-action-button:hover {
    background: #fff;
}

.fm-pb-edit-panel {
    margin-top: 14px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.fm-pb-danger-button {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(166, 62, 62, 0.10);
    color: #944343;
    font-size: 0.88rem;
    font-weight: 850;
}

.fm-pb-danger-button:hover {
    background: rgba(166, 62, 62, 0.16);
}

.fm-pb-empty,
.fm-pb-login {
    padding: clamp(24px, 4vw, 42px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.82);
    text-align: center;
    box-shadow: 0 18px 46px rgba(73, 91, 85, 0.09);
}

.fm-pb-empty-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 25px;
    background: #fff;
    font-size: 2.2rem;
}

.fm-pb-empty h3,
.fm-pb-login h3 {
    margin: 0 0 8px;
    font-size: 1.38rem;
    font-weight: 850;
}

.fm-pb-empty p,
.fm-pb-login p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--fm-pb-muted);
    line-height: 1.6;
}

.fm-pb-empty-link,
.fm-pb-empty-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #395d54 0%, #77a88e 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 850;
    box-shadow: 0 16px 28px rgba(61, 97, 82, 0.20);
}

.fm-pb-empty-warning {
    margin-top: 20px;
}

.fm-pb-notice {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    margin: 0 auto 12px;
    padding: 12px 16px;
    border-radius: 16px;
    font-weight: 750;
}

.fm-pb-notice-ok {
    color: #31594c;
    background: #eaf7ef;
    border: 1px solid rgba(68, 132, 101, 0.18);
}

.fm-pb-notice-error {
    color: #8c3f3f;
    background: #fff0f0;
    border: 1px solid rgba(166, 62, 62, 0.18);
}

.fm-pb-wrap .fm-context-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
}

.fm-pb-wrap .fm-context-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fm-pb-wrap .fm-context-field label {
    color: #536d67;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .fm-pb-hero,
    .fm-pb-create-panel {
        grid-template-columns: 1fr;
    }

    .fm-pb-dashboard-row,
    .fm-pb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-pb-help-grid {
        grid-template-columns: 1fr;
    }

    .fm-pb-form-grid,
    .fm-pb-form-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-pb-type-guide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Einheitliche Familymap-Modulorientierung */
.fm-pb-help-strip{display:flex!important;width:100%!important;max-width:none!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:10px!important;margin:0 0 18px!important;border:1px solid rgba(48,111,104,.14)!important;border-radius:24px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 10px 24px rgba(32,73,69,.07)!important}
.fm-pb-help-label{font-size:.95rem!important;font-weight:850!important}.fm-pb-help-links a{padding:9px 14px!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important}
@media(max-width:640px){.fm-pb-help-strip{align-items:stretch!important;flex-direction:column!important}.fm-pb-help-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.fm-pb-help-links a{justify-content:center!important}}

/* v1.0.6: Kontext und Begleiter als gemeinsame Kopfspalte */
.fm-pb-hero {
    align-items: stretch;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(72, 112, 98, 0.12);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,250,242,.94), rgba(242,249,246,.92));
}
.fm-pb-hero-copy {
    align-self: center;
    min-width: 0;
}
.fm-pb-hero .fm-pb-eyebrow {
    letter-spacing: 0;
}
.fm-pb-hero .fm-pb-help-strip {
    margin: 18px 0 0 !important;
}
.fm-pb-hero-context {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-width: 0;
}
.fm-pb-hero-context .fm-pb-context-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    margin: 0;
    padding: 14px;
    border-radius: 22px;
}
.fm-pb-hero-context .fm-pb-context-card .fm-context-selector {
    width: 100%;
    min-width: 0;
}
.fm-pb-hero-context .fm-pb-context-summary {
    width: 100%;
    justify-content: flex-start;
    border-radius: 16px;
    white-space: normal;
}

.fm-pb-hero-context .fm-pb-context-summary {
    display: none;
}

.fm-pb-hero-context .fm-context-title {
    margin-bottom: 6px;
    font-size: 11px;
}

.fm-pb-hero-context .fm-context-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fm-pb-hero-context .fm-context-field label {
    margin-bottom: 3px;
    font-size: 11px;
}

.fm-pb-hero-context .fm-context-field select {
    min-height: 38px;
    width: 100%;
}
.fm-pb-hero-context .fm-pb-companion,
.fm-pb-hero-context .fm-pb-companion-placeholder {
    min-height: 128px;
    margin: 0;
    padding: 14px;
    border-radius: 22px;
}
.fm-pb-hero-context .fm-pb-companion {
    grid-template-columns: 88px minmax(0, 1fr);
}
.fm-pb-hero-context .fm-pb-companion img {
    width: 104px;
    max-width: 104px;
    transform: translateX(-8px);
}
@media (max-width: 980px) {
    .fm-pb-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .fm-pb-shell {
        padding: 16px;
        border-radius: 24px;
    }

    .fm-pb-hero h2 {
        font-size: 2rem;
    }

    .fm-pb-help-strip,
    .fm-pb-help-links {
        width: 100%;
    }

    .fm-pb-help-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-pb-help-links a {
        justify-content: center;
    }

    .fm-pb-help-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .fm-pb-companion,
    .fm-pb-companion-placeholder {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .fm-pb-companion img {
        transform: none;
        width: 120px;
    }

    .fm-pb-dashboard-row,
    .fm-pb-grid,
    .fm-pb-form-grid,
    .fm-pb-form-grid.compact,
    .fm-pb-type-guide {
        grid-template-columns: 1fr;
    }

    .fm-pb-form-divider {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .fm-pb-form-divider small {
        text-align: left;
    }

    .fm-pb-field-title,
    .fm-pb-field-text {
        grid-column: auto;
    }

    .fm-pb-form-footer,
    .fm-pb-filterbar,
    .fm-pb-card-footer,
    .fm-pb-context-card {
        align-items: stretch;
        flex-direction: column;
    }

    .fm-pb-primary-button,
    .fm-pb-type-filter,
    .fm-pb-type-filter select {
        width: 100%;
    }

    .fm-pb-context-summary {
        white-space: normal;
        border-radius: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .fm-pb-hero {
        padding: 18px;
        border-radius: 22px;
    }

    .fm-pb-hero-context .fm-pb-companion,
    .fm-pb-hero-context .fm-pb-companion-placeholder {
        grid-template-columns: 76px minmax(0, 1fr);
        text-align: left;
        justify-items: stretch;
    }

    .fm-pb-hero-context .fm-pb-companion img {
        width: 88px;
        transform: translateX(-6px);
    }
}
.fm-pb-public {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px 48px;
    color: #17211d;
}

.fm-pb-public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 24px;
    align-items: stretch;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 8px;
    border: 1px solid rgba(87, 112, 80, .18);
    background: linear-gradient(135deg, #f7fbf3 0%, #eef7f3 58%, #fff7e8 100%);
    box-shadow: 0 18px 44px rgba(44, 62, 53, .08);
}

.fm-pb-public-kicker {
    display: block;
    margin-bottom: 10px;
    color: #59724f;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.fm-pb-public h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
}

.fm-pb-public p {
    font-size: 1.02rem;
    line-height: 1.65;
}

.fm-pb-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.fm-pb-public .fm-pb-public-test-note {
    max-width: 620px;
    margin: 1.45rem 0 0;
    color: #60736a;
    font-size: .95rem;
    line-height: 1.5;
}

.fm-pb-public-button,
.fm-pb-public-overview {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid rgba(89, 114, 79, .32);
    color: #405d37;
    font-weight: 800;
    text-decoration: none;
}

.fm-pb-public-button--primary {
    background: #59724f;
    color: #fff;
    border-color: #59724f;
}

.fm-pb-public-board {
    display: grid;
    gap: 12px;
    align-content: center;
}

.fm-pb-public-board span {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    border-left: 5px solid #c78a4a;
    font-weight: 800;
}

.fm-pb-public-grid,
.fm-pb-public-flow {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.fm-pb-public-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-pb-public-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    list-style: none;
}

.fm-pb-public-grid article,
.fm-pb-public-flow li {
    border: 1px solid rgba(87, 112, 80, .14);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(44, 62, 53, .06);
}

.fm-pb-public-grid h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.fm-pb-public-grid p {
    margin: 0;
    font-size: .96rem;
}

.fm-pb-public-flow li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}

.fm-pb-public-flow strong {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #59724f;
    color: #fff;
    font-size: .9rem;
}

.fm-pb-public-overview {
    margin-top: 18px;
    background: #fff;
}

@media (max-width: 820px) {
    .fm-pb-public-hero,
    .fm-pb-public-grid,
    .fm-pb-public-flow {
        grid-template-columns: 1fr;
    }
}
.fm-pb-public-promo {
    max-width: 560px;
    margin: 0 auto 20px;
}

.fm-pb-public-promo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(30, 47, 42, .14);
}

/* v1.0.7: guided, calmer working view. */
.fm-pb-shell {
    border: 1.5px solid rgba(55, 88, 91, .12);
}

.fm-pb-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 16px;
    margin-bottom: 14px;
    padding: clamp(18px, 2.5vw, 26px);
    border: 1.5px solid rgba(55, 88, 91, .14);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 34px rgba(40, 65, 69, .08);
}

.fm-pb-hero h2 {
    margin: 8px 0 9px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.fm-pb-hero p {
    max-width: 620px;
    font-size: .98rem;
    line-height: 1.5;
}

.fm-pb-hero .fm-pb-help-strip {
    width: auto !important;
    max-width: 100% !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 8px !important;
    border-radius: 18px !important;
}

.fm-pb-hero .fm-pb-help-links {
    flex-wrap: nowrap !important;
    width: auto !important;
}

.fm-pb-hero .fm-pb-help-links a,
.fm-pb-hero .fm-pb-help-links a:visited {
    min-height: 34px;
    padding: 7px 10px !important;
    font-size: 13px !important;
}

.fm-pb-hero .fm-pb-help-label {
    white-space: nowrap !important;
    font-size: 12px !important;
}

.fm-pb-hero-context .fm-pb-context-card,
.fm-pb-hero-context .fm-pb-companion,
.fm-pb-hero-context .fm-pb-companion-placeholder {
    border: 1.5px solid rgba(55, 88, 91, .13);
    background: rgba(255,255,255,.84);
    box-shadow: 0 10px 24px rgba(40,65,69,.06);
}

.fm-pb-dashboard-row {
    margin-bottom: 14px;
}

.fm-pb-mini-card {
    border: 1.5px solid rgba(55, 88, 91, .13);
    box-shadow: 0 10px 24px rgba(40,65,69,.06);
}

.fm-pb-start-focus {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
    align-items: stretch;
    gap: 16px;
    margin: 0 0 14px;
    padding: 18px 20px;
    border: 1.5px solid rgba(73, 124, 110, .24);
    border-left: 7px solid #287061;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fbf8 0%, #fff8eb 100%);
    box-shadow: 0 14px 30px rgba(38, 75, 67, .10);
}

.fm-pb-start-focus-copy {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.fm-pb-start-focus-copy span {
    color: #287061;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fm-pb-start-focus-copy strong {
    color: #173c3a;
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 950;
    line-height: 1.18;
}

.fm-pb-start-focus-copy p {
    max-width: 760px;
    margin: 0;
    color: #526c69;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.48;
}

.fm-pb-start-focus-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    align-items: stretch;
}

.fm-pb-start-focus-steps a,
.fm-pb-start-focus-steps a:visited {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    min-height: 80px;
    padding: 12px 10px;
    border: 1.5px solid rgba(79,159,148,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.78);
    color: #173c3a;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(40,65,69,.05);
}

.fm-pb-start-focus-steps a:hover,
.fm-pb-start-focus-steps a:focus-visible {
    transform: translateY(-1px);
    outline: 2px solid transparent;
    box-shadow: 0 12px 24px rgba(40,65,69,.10);
}

.fm-pb-start-focus-steps span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(223,242,236,.9);
    color: #287061;
    font-size: 13px;
    font-weight: 1000;
}

.fm-pb-start-focus-steps strong {
    color: #173c3a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.24;
}

.fm-pb-create-panel {
    border: 1.5px solid rgba(48, 111, 104, .18);
    border-left: 7px solid #f0b35e;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,235,.86));
}

.fm-pb-create-copy h3 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.fm-pb-filterbar,
.fm-pb-section,
.fm-pb-card,
.fm-pb-empty {
    border-width: 1.5px;
    box-shadow: 0 12px 26px rgba(40,65,69,.075);
}

.fm-pb-filterbar {
    background: rgba(255,255,255,.78);
}

@media (max-width: 980px) {
    .fm-pb-start-focus {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    .fm-pb-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
        align-items: stretch;
    }

    .fm-pb-hero-context .fm-pb-companion,
    .fm-pb-hero-context .fm-pb-companion-placeholder {
        min-height: 106px;
        padding: 12px;
    }

    .fm-pb-hero-context .fm-pb-companion {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .fm-pb-hero-context .fm-pb-companion img {
        width: 86px;
        max-width: 86px;
    }

    .fm-pb-start-focus {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr);
    }

    .fm-pb-dashboard-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fm-pb-create-panel {
        grid-template-columns: minmax(210px, .48fr) minmax(0, 1fr);
        align-items: start;
    }

    .fm-pb-type-guide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .fm-pb-start-focus {
        padding: 15px;
        border-radius: 18px;
    }

    .fm-pb-start-focus-steps {
        grid-template-columns: 1fr;
    }

    .fm-pb-start-focus-steps a {
        min-height: 0;
        grid-template-columns: 28px minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }
}

/* v1.0.3: Pinboard-Eingabe entschlacken, optionale Felder einklappen. */
.fm-pb-create-panel {
    gap: 12px;
    margin: 14px 0;
    padding: 18px;
    border-color: rgba(48, 111, 104, .22);
    box-shadow: 0 14px 34px rgba(40,65,69,.08);
}

.fm-pb-create-copy {
    display: grid;
    align-content: start;
    gap: 8px;
}

.fm-pb-create-copy h3 {
    margin: 4px 0;
}

.fm-pb-create-copy p {
    font-size: 14px;
    line-height: 1.42;
}

.fm-pb-type-suggestions {
    margin-top: 4px;
    border-color: rgba(48, 111, 104, .18);
    border-radius: 16px;
}

.fm-pb-type-suggestions summary {
    min-height: 50px;
    padding: 10px 12px;
}

.fm-pb-form {
    padding: 12px;
    border-color: rgba(48, 111, 104, .14);
    background: rgba(255, 255, 255, .72);
}

.fm-pb-form-grid {
    gap: 9px;
}

.fm-pb-form-divider {
    padding: 0 2px 4px;
}

.fm-pb-form-divider span {
    font-size: .9rem;
}

.fm-pb-form-divider small {
    font-size: .74rem;
}

.fm-pb-field {
    gap: 5px;
}

.fm-pb-field input,
.fm-pb-field textarea,
.fm-pb-field select {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 13px;
}

.fm-pb-field textarea {
    min-height: 82px;
}

.fm-pb-form-options {
    border: 1.5px solid rgba(48, 111, 104, .16);
    border-radius: 16px;
    background: rgba(247, 252, 249, .78);
}

.fm-pb-form-options > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}

.fm-pb-form-options > summary::-webkit-details-marker {
    display: none;
}

.fm-pb-form-options > summary span {
    color: var(--fm-pb-ink);
    font-size: .9rem;
    font-weight: 900;
}

.fm-pb-form-options > summary small {
    color: var(--fm-pb-muted);
    font-size: .74rem;
    line-height: 1.25;
    text-align: right;
}

.fm-pb-form-options > summary::after {
    content: "+";
    display: grid;
    flex: 0 0 26px;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(223,242,236,.9);
    color: #287061;
    font-weight: 900;
}

.fm-pb-form-options[open] > summary::after {
    content: "-";
}

.fm-pb-form-options .fm-pb-form-grid {
    padding: 0 12px 12px;
}

.fm-pb-form-footer {
    margin-top: 10px;
}

@media (min-width: 981px) {
    .fm-pb-create-panel {
        grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 760px) {
    .fm-pb-form-options > summary {
        display: grid;
    }

    .fm-pb-form-options > summary small {
        text-align: left;
    }
}
