:root {
    --ffeu-bg: #f3f5f7;
    --ffeu-panel: #ffffff;
    --ffeu-text: #15202b;
    --ffeu-muted: #637083;
    --ffeu-line: #dce2e8;
    --ffeu-primary: #b20d18;
    --ffeu-primary-dark: #820812;
    --ffeu-dark: #17212b;
    --ffeu-success: #18794e;
    --ffeu-warning: #8a5a00;
    --ffeu-danger: #a11a24;
    --ffeu-radius: 18px;
    --ffeu-shadow: 0 16px 40px rgba(17, 32, 48, 0.08);
}

html, body.ffeu-app-page {
    margin: 0 !important;
    min-height: 100%;
    background: var(--ffeu-bg);
}

body.ffeu-app-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ffeu-text);
}

.ffeu-app-page #wpadminbar { display: none !important; }
html:has(body.ffeu-app-page) { margin-top: 0 !important; }

.ffeu-app-shell, .ffeu-app-shell * { box-sizing: border-box; }
.ffeu-app-shell a { text-decoration: none; }
.ffeu-app-shell button, .ffeu-app-shell input, .ffeu-app-shell textarea { font: inherit; }

.ffeu-topbar {
    min-height: 76px;
    background: var(--ffeu-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px clamp(18px, 4vw, 54px);
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.ffeu-brand, .ffeu-userbox, .ffeu-card-head, .ffeu-section-head, .ffeu-hero {
    display: flex;
    align-items: center;
}

.ffeu-brand { gap: 12px; }
.ffeu-brand strong { display: block; font-size: 18px; line-height: 1.15; }
.ffeu-brand small { color: #aeb8c2; }
.ffeu-brand-logo {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 3px;
}

.ffeu-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ffeu-primary);
    color: #fff;
    font-weight: 800;
    letter-spacing: -.5px;
}

.ffeu-userbox { gap: 12px; color: #dfe5ea; }
.ffeu-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 64px; }

.ffeu-login-card {
    width: min(460px, 100%);
    margin: 7vh auto 0;
    background: var(--ffeu-panel);
    border: 1px solid var(--ffeu-line);
    border-radius: 24px;
    padding: clamp(26px, 5vw, 42px);
    box-shadow: var(--ffeu-shadow);
}

.ffeu-login-card h1, .ffeu-hero h1, .ffeu-section h2, .ffeu-card h2, .ffeu-module-card h3 { margin-top: 0; }
.ffeu-login-card h1 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 10px; }
.ffeu-login-card > p { color: var(--ffeu-muted); margin-top: 0; }
.ffeu-login-note { margin: 20px 0 0 !important; font-size: 13px; line-height: 1.5; }

.ffeu-eyebrow {
    color: var(--ffeu-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin-bottom: 7px;
}

.ffeu-form { display: grid; gap: 16px; margin-top: 26px; }
.ffeu-form label { display: grid; gap: 7px; }
.ffeu-form label > span { font-weight: 650; font-size: 14px; }
.ffeu-form input[type="text"], .ffeu-form input[type="password"], .ffeu-form textarea {
    width: 100%;
    border: 1px solid #c8d0d9;
    background: #fff;
    border-radius: 12px;
    padding: 12px 13px;
    color: var(--ffeu-text);
    outline: none;
}
.ffeu-form input:focus, .ffeu-form textarea:focus {
    border-color: var(--ffeu-primary);
    box-shadow: 0 0 0 3px rgba(178, 13, 24, .11);
}
.ffeu-form-compact { margin-top: 14px; }

.ffeu-button {
    appearance: none;
    border: 0;
    border-radius: 11px;
    padding: 10px 15px;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    transition: transform .12s ease, opacity .12s ease;
}
.ffeu-button:hover { transform: translateY(-1px); }
.ffeu-button-primary { background: var(--ffeu-primary); color: #fff; }
.ffeu-button-primary:hover { background: var(--ffeu-primary-dark); color: #fff; }
.ffeu-button-secondary { background: var(--ffeu-dark); color: #fff; }
.ffeu-button-secondary:hover { color: #fff; opacity: .92; }
.ffeu-button-ghost { border: 1px solid #53606c; color: #fff; background: transparent; }
.ffeu-button-ghost:hover { color: #fff; border-color: #8c98a3; }
.ffeu-button-ghost-dark { border: 1px solid var(--ffeu-line); color: var(--ffeu-text); background: #fff; }

.ffeu-alert { border-radius: 12px; padding: 13px 15px; margin: 0 0 22px; border: 1px solid; }
.ffeu-alert-error { background: #fff1f2; border-color: #f2b6bc; color: #7f111b; }
.ffeu-alert-success { background: #edf9f2; border-color: #b6e3c9; color: #14623f; }
.ffeu-alert-info { background: #eef5fb; border-color: #c7dced; color: #244d6d; }

.ffeu-hero {
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
    border: 1px solid var(--ffeu-line);
    border-radius: 22px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: var(--ffeu-shadow);
    margin-bottom: 28px;
}
.ffeu-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.ffeu-hero p { margin: 0; color: var(--ffeu-muted); max-width: 730px; line-height: 1.6; }

.ffeu-section { margin-top: 34px; }
.ffeu-section-head { justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.ffeu-section-head h2 { margin-bottom: 0; font-size: 27px; }
.ffeu-version-badge { background: #e8edf2; color: #4d5b69; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 700; }

.ffeu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ffeu-grid-orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ffeu-card, .ffeu-module-card {
    background: var(--ffeu-panel);
    border: 1px solid var(--ffeu-line);
    border-radius: var(--ffeu-radius);
    padding: 22px;
    box-shadow: 0 8px 24px rgba(17, 32, 48, .05);
}
.ffeu-card-head { justify-content: space-between; align-items: flex-start; gap: 14px; }
.ffeu-card-head h2 { margin: 8px 0 0; font-size: 22px; }
.ffeu-card-head code { background: #eef1f4; border-radius: 7px; padding: 5px 7px; color: #46525e; }

.ffeu-module-card { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; position: relative; min-height: 180px; }
.ffeu-module-card p { margin: 0; color: var(--ffeu-muted); line-height: 1.55; }
.ffeu-module-card h3 { margin-bottom: 8px; font-size: 22px; }
.ffeu-module-icon { width: 48px; height: 48px; border-radius: 14px; background: #f2e4e6; color: var(--ffeu-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 25px; font-weight: 800; }
.ffeu-coming { grid-column: 1 / -1; align-self: end; justify-self: start; background: #f0f2f5; color: #65717d; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; }
.ffeu-note-card { margin-top: 20px; border-style: dashed; }
.ffeu-note-card p { margin-bottom: 0; color: var(--ffeu-muted); line-height: 1.6; }
.ffeu-card-danger { border-color: #efb8bd; background: #fff7f7; }

.ffeu-status { display: inline-flex; width: fit-content; border-radius: 999px; padding: 6px 9px; font-size: 12px; font-weight: 800; }
.ffeu-status.is-active { color: #12623e; background: #e6f6ed; }
.ffeu-status.is-blocked { color: #7d1b23; background: #fdecee; }

.ffeu-access-state { margin: 18px 0 14px; padding: 13px 14px; border-radius: 12px; background: #f3f5f7; display: grid; gap: 3px; }
.ffeu-access-state strong { font-size: 14px; }
.ffeu-access-state span { color: var(--ffeu-muted); font-size: 13px; }
.ffeu-access-state.is-granted { background: #eaf7f0; }
.ffeu-access-details summary { cursor: pointer; color: var(--ffeu-primary); font-weight: 750; }
.ffeu-check {
    position: relative;
    grid-template-columns: 22px 1fr !important;
    align-items: start;
    gap: 9px !important;
    cursor: pointer;
}
.ffeu-check input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none;
}
.ffeu-checkmark {
    width: 22px;
    height: 22px;
    border: 1.5px solid #9aa6b2;
    border-radius: 5px;
    background: #fff;
    display: inline-block;
    position: relative;
    transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.ffeu-check input[type="checkbox"]:focus-visible + .ffeu-checkmark {
    border-color: var(--ffeu-primary);
    box-shadow: 0 0 0 3px rgba(178, 13, 24, .11);
}
.ffeu-check input[type="checkbox"]:checked + .ffeu-checkmark {
    border-color: var(--ffeu-primary);
    background: var(--ffeu-primary);
}
.ffeu-check input[type="checkbox"]:checked + .ffeu-checkmark::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.ffeu-checktext {
    font-weight: 500 !important;
    color: var(--ffeu-muted);
    line-height: 1.45;
}

@media (max-width: 820px) {
    .ffeu-grid, .ffeu-grid-orgs { grid-template-columns: 1fr; }
    .ffeu-hero, .ffeu-topbar { align-items: flex-start; }
    .ffeu-hero { flex-direction: column; }
    .ffeu-userbox { flex-direction: column; align-items: flex-end; }
}

@media (max-width: 560px) {
    .ffeu-main { width: min(100% - 22px, 1180px); padding-top: 22px; }
    .ffeu-topbar { padding: 12px; }
    .ffeu-brand small, .ffeu-userbox > span { display: none; }
    .ffeu-login-card { margin-top: 2vh; border-radius: 18px; }
    .ffeu-card, .ffeu-module-card { padding: 18px; }
}

.ffeu-logout-form {
    margin: 0;
}

/* 0.2.0 – Einsatzverwaltung */
.ffeu-brand { color: #fff; }
.ffeu-brand:hover { color: #fff; }
.ffeu-toplink { color: #dfe5ea; font-weight: 700; }
.ffeu-toplink:hover { color: #fff; }

.ffeu-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}
.ffeu-page-head h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); }
.ffeu-page-head p { margin: 0; color: var(--ffeu-muted); line-height: 1.55; }
.ffeu-title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ffeu-title-line h1 { margin-bottom: 0; }

.ffeu-module-card.is-active {
    color: var(--ffeu-text);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.ffeu-module-card.is-active:hover {
    transform: translateY(-2px);
    border-color: #c8d0d9;
    box-shadow: 0 14px 30px rgba(17, 32, 48, .10);
}
.ffeu-coming.is-ready { background: #e6f6ed; color: #12623e; }

.ffeu-count {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8edf2;
    color: #43505c;
    font-weight: 800;
}

.ffeu-incident-list {
    display: grid;
    gap: 10px;
}
.ffeu-incident-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--ffeu-line);
    border-radius: 15px;
    padding: 16px 18px;
    color: var(--ffeu-text);
    box-shadow: 0 5px 18px rgba(17, 32, 48, .035);
    transition: transform .12s ease, border-color .12s ease;
}
.ffeu-incident-row:hover { color: var(--ffeu-text); transform: translateY(-1px); border-color: #c6ced7; }
.ffeu-incident-row > div:first-child { display: grid; gap: 4px; }
.ffeu-incident-row strong { font-size: 17px; }
.ffeu-incident-row span:not(.ffeu-status) { color: var(--ffeu-muted); }
.ffeu-incident-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; text-align: right; }
.ffeu-incident-meta small { color: var(--ffeu-muted); }
.ffeu-empty {
    border: 1px dashed #cfd6de;
    border-radius: 15px;
    background: rgba(255,255,255,.55);
    color: var(--ffeu-muted);
    padding: 22px;
    text-align: center;
}
.ffeu-status.is-open { color: #7b5100; background: #fff3d5; }
.ffeu-status.is-closed { color: #4f5964; background: #edf0f3; }

.ffeu-incident-form { display: grid; gap: 18px; }
.ffeu-form-section {
    background: #fff;
    border: 1px solid var(--ffeu-line);
    border-radius: 19px;
    box-shadow: 0 8px 24px rgba(17, 32, 48, .045);
    overflow: hidden;
}
.ffeu-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: #fafbfc;
    border-bottom: 1px solid #e7ebef;
}
.ffeu-form-section-head > span {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 11px;
    background: #f2e4e6;
    color: var(--ffeu-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    font-size: 12px;
}
.ffeu-form-section-head h2 { margin: 0 0 3px; font-size: 21px; }
.ffeu-form-section-head p { margin: 0; color: var(--ffeu-muted); font-size: 14px; }
.ffeu-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 18px;
    padding: 22px;
}
.ffeu-field { display: grid; align-content: start; gap: 7px; }
.ffeu-field > span { font-weight: 700; font-size: 13px; }
.ffeu-field-wide { grid-column: 1 / -1; }
.ffeu-field-check { align-self: end; min-height: 48px; justify-content: center; }
.ffeu-field input,
.ffeu-field select,
.ffeu-field textarea,
.ffeu-form select,
.ffeu-form input[type="date"],
.ffeu-form input[type="time"],
.ffeu-form input[type="number"],
.ffeu-form input[type="tel"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c8d0d9;
    background: #fff;
    border-radius: 11px;
    padding: 10px 12px;
    color: var(--ffeu-text);
    outline: none;
}
.ffeu-field textarea { min-height: 86px; resize: vertical; }
.ffeu-field input:focus,
.ffeu-field select:focus,
.ffeu-field textarea:focus {
    border-color: var(--ffeu-primary);
    box-shadow: 0 0 0 3px rgba(178, 13, 24, .10);
}
.ffeu-inline-check { margin-top: 23px; }

.ffeu-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--ffeu-line);
    border-radius: 17px;
    padding: 18px 20px;
    position: sticky;
    bottom: 12px;
    z-index: 10;
    box-shadow: 0 12px 30px rgba(17, 32, 48, .12);
}
.ffeu-form-actions > span { color: var(--ffeu-muted); font-size: 13px; text-align: right; }
.ffeu-button-large { min-height: 48px; padding-left: 22px; padding-right: 22px; }
.ffeu-button-danger { background: #9d1b25; color: #fff; }
.ffeu-button-danger:hover { background: #7e141d; color: #fff; }
.ffeu-status-card {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.ffeu-status-card h2 { margin-bottom: 7px; }
.ffeu-status-card p { margin: 0; color: var(--ffeu-muted); }
.ffeu-inline-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ffeu-inline-actions form { margin: 0; }

@media (max-width: 760px) {
    .ffeu-page-head, .ffeu-status-card { flex-direction: column; }
    .ffeu-fields-grid { grid-template-columns: 1fr; padding: 17px; }
    .ffeu-field-wide { grid-column: auto; }
    .ffeu-form-section-head { padding: 17px; }
    .ffeu-incident-row { align-items: flex-start; flex-direction: column; }
    .ffeu-incident-meta { align-items: flex-start; text-align: left; }
    .ffeu-form-actions { position: static; align-items: stretch; flex-direction: column; }
    .ffeu-form-actions > span { text-align: left; }
    .ffeu-button-large { width: 100%; }
}
.ffeu-field input:disabled,
.ffeu-field select:disabled,
.ffeu-field textarea:disabled {
    background: #f3f5f7;
    color: #4f5c68;
    cursor: default;
    opacity: 1;
}
.ffeu-readonly-note { position: static; justify-content: flex-start; }
.ffeu-readonly-note strong { white-space: nowrap; }

/* 0.2.3 – Feldhinweise, geschützter Foto-Upload und Organisationslogo */
.ffeu-field-help {
    display: block;
    margin-top: 1px;
    color: var(--ffeu-muted);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 500;
}
.ffeu-checktext .ffeu-field-help {
    margin-top: 4px;
}
.ffeu-photo-toggle-row {
    padding-top: 2px;
}
.ffeu-photo-toggle-row .ffeu-inline-check {
    margin-top: 0;
}
.ffeu-photo-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--ffeu-line);
    border-radius: 15px;
    background: #f8fafb;
}
.ffeu-photo-panel.is-hidden {
    display: none;
}
.ffeu-photo-preview-wrap {
    min-height: 190px;
    border: 1px dashed #c7d0d9;
    border-radius: 13px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ffeu-photo-preview {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    background: #fff;
}
.ffeu-photo-preview.is-hidden,
.ffeu-photo-placeholder.is-hidden {
    display: none;
}
.ffeu-photo-placeholder {
    padding: 24px;
    color: var(--ffeu-muted);
    text-align: center;
    font-size: 13px;
}
.ffeu-photo-controls {
    display: grid;
    align-content: start;
    gap: 14px;
}
.ffeu-photo-controls input[type="file"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c8d0d9;
    background: #fff;
    border-radius: 11px;
    padding: 9px 11px;
    color: var(--ffeu-text);
}
.ffeu-photo-controls input[type="file"]::file-selector-button {
    border: 0;
    border-radius: 8px;
    background: #e9edf1;
    color: var(--ffeu-text);
    padding: 8px 11px;
    margin-right: 10px;
    font-weight: 700;
    cursor: pointer;
}
.ffeu-photo-remove {
    margin-top: 0;
}
.ffeu-photo-privacy {
    color: var(--ffeu-muted);
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .ffeu-photo-panel {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

/* 0.3.0 – Steckbrief-Vorschau und A4-Druckansicht */
.ffeu-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.ffeu-profile-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.ffeu-profile-toolbar h1 {
    margin: 0 0 5px;
    font-size: clamp(26px, 4vw, 38px);
}
.ffeu-profile-toolbar p {
    margin: 0;
    color: var(--ffeu-muted);
}
.ffeu-profile-sheet {
    width: min(210mm, 100%);
    min-height: 297mm;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ffeu-line);
    border-radius: 8px;
    box-shadow: var(--ffeu-shadow);
    padding: 14mm 14mm 12mm;
    color: #111820;
}
.ffeu-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 7mm;
    border-bottom: 2px solid #17212b;
}
.ffeu-profile-org {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ffeu-profile-org strong {
    display: block;
    font-size: 17px;
}
.ffeu-profile-org span {
    display: block;
    margin-top: 2px;
    color: #64707c;
    font-size: 12px;
}
.ffeu-profile-logo,
.ffeu-profile-logo-fallback {
    width: 17mm;
    height: 17mm;
    flex: 0 0 17mm;
    border-radius: 4mm;
}
.ffeu-profile-logo {
    object-fit: contain;
    padding: 1.5mm;
    border: 1px solid #dce2e8;
    background: #fff;
}
.ffeu-profile-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ffeu-primary);
    color: #fff;
    font-weight: 850;
    font-size: 16px;
}
.ffeu-profile-classification {
    border: 1px solid #c7ccd1;
    border-radius: 999px;
    padding: 6px 10px;
    color: #47515b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.ffeu-profile-title-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9mm;
    padding: 9mm 0 7mm;
}
.ffeu-profile-title-area.has-photo {
    grid-template-columns: minmax(0, 1fr) 48mm;
    align-items: start;
}
.ffeu-profile-kicker {
    display: block;
    margin-bottom: 2mm;
    color: var(--ffeu-primary);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.ffeu-profile-title-copy h2 {
    margin: 0 0 2mm;
    font-size: 28px;
    line-height: 1.08;
}
.ffeu-profile-incident-number {
    display: inline-flex;
    margin-top: 2mm;
    padding: 5px 8px;
    border-radius: 6px;
    background: #eef1f4;
    font-size: 12px;
    font-weight: 750;
}
.ffeu-profile-nickname {
    margin: 3mm 0 0;
    color: #495560;
    font-size: 14px;
}
.ffeu-profile-photo-box {
    min-height: 54mm;
    border: 1px solid #ccd3da;
    border-radius: 4mm;
    overflow: hidden;
    background: #f7f8f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ffeu-profile-photo-box img {
    display: block;
    width: 100%;
    height: 54mm;
    object-fit: contain;
    background: #fff;
}
.ffeu-profile-photo-box.is-placeholder {
    padding: 7mm;
    flex-direction: column;
    text-align: center;
    gap: 2mm;
    color: #4f5c68;
}
.ffeu-profile-photo-box.is-placeholder strong {
    font-size: 14px;
}
.ffeu-profile-photo-box.is-placeholder span {
    font-size: 11px;
    line-height: 1.4;
}
.ffeu-profile-section {
    margin-top: 6mm;
    break-inside: avoid;
    page-break-inside: avoid;
}
.ffeu-profile-section h3 {
    margin: 0 0 3mm;
    padding-bottom: 2mm;
    border-bottom: 1px solid #aeb6bf;
    color: #17212b;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .055em;
}
.ffeu-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 8mm;
    margin: 0;
}
.ffeu-profile-row {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 3mm;
    padding: 2.1mm 0;
    border-bottom: 1px solid #edf0f2;
    min-width: 0;
}
.ffeu-profile-row.is-multiline {
    grid-column: 1 / -1;
    grid-template-columns: 20% 1fr;
}
.ffeu-profile-row dt,
.ffeu-profile-row dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}
.ffeu-profile-row dt {
    color: #5c6874;
    font-size: 11px;
    font-weight: 750;
}
.ffeu-profile-row dd {
    color: #121820;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}
.ffeu-profile-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9mm;
    padding-top: 3mm;
    border-top: 1px solid #c9d0d7;
    color: #6b7580;
    font-size: 9.5px;
}

@media (max-width: 760px) {
    .ffeu-profile-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .ffeu-page-actions {
        justify-content: stretch;
    }
    .ffeu-page-actions .ffeu-button {
        flex: 1 1 auto;
    }
    .ffeu-profile-sheet {
        min-height: 0;
        padding: 22px;
        border-radius: 16px;
    }
    .ffeu-profile-title-area.has-photo {
        grid-template-columns: 1fr;
    }
    .ffeu-profile-photo-box {
        width: min(260px, 100%);
    }
    .ffeu-profile-grid {
        grid-template-columns: 1fr;
    }
    .ffeu-profile-row.is-multiline {
        grid-column: auto;
        grid-template-columns: 42% 1fr;
    }
    .ffeu-profile-footer {
        flex-direction: column;
    }
}

@page {
    size: A4 portrait;
    margin: 10mm;
}

@media print {
    html,
    body.ffeu-app-page {
        background: #fff !important;
        width: auto !important;
        min-height: 0 !important;
    }
    body.ffeu-app-page {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .ffeu-topbar,
    .ffeu-no-print,
    .ffeu-alert,
    #wpadminbar {
        display: none !important;
    }
    .ffeu-main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .ffeu-profile-sheet {
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .ffeu-profile-header {
        padding-bottom: 5mm;
    }
    .ffeu-profile-title-area {
        padding: 7mm 0 5mm;
    }
    .ffeu-profile-section {
        margin-top: 4.5mm;
    }
    .ffeu-profile-footer {
        margin-top: 6mm;
    }
}


/* 0.3.1 - stabile A4-Druckansicht: Desktop-Raster auch im Druck erzwingen */
@media print {
    .ffeu-profile-sheet {
        font-size: 10pt !important;
    }
    .ffeu-profile-header {
        gap: 12px !important;
        padding-bottom: 4mm !important;
    }
    .ffeu-profile-logo,
    .ffeu-profile-logo-fallback {
        width: 14mm !important;
        height: 14mm !important;
        flex-basis: 14mm !important;
    }
    .ffeu-profile-org strong { font-size: 14px !important; }
    .ffeu-profile-org span { font-size: 10px !important; }
    .ffeu-profile-title-area,
    .ffeu-profile-title-area.has-photo {
        grid-template-columns: minmax(0, 1fr) 42mm !important;
        gap: 6mm !important;
        padding: 5mm 0 4mm !important;
    }
    .ffeu-profile-title-area:not(.has-photo) {
        grid-template-columns: 1fr !important;
    }
    .ffeu-profile-title-copy h2 {
        font-size: 23px !important;
    }
    .ffeu-profile-photo-box {
        width: auto !important;
        min-height: 43mm !important;
    }
    .ffeu-profile-photo-box img {
        height: 43mm !important;
    }
    .ffeu-profile-section {
        margin-top: 3.2mm !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
    .ffeu-profile-section h3 {
        margin-bottom: 1.8mm !important;
        padding-bottom: 1.2mm !important;
        font-size: 12.5px !important;
    }
    .ffeu-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 7mm !important;
    }
    .ffeu-profile-row {
        grid-template-columns: 41% 1fr !important;
        gap: 2mm !important;
        padding: 1.35mm 0 !important;
    }
    .ffeu-profile-row.is-multiline {
        grid-column: 1 / -1 !important;
        grid-template-columns: 20% 1fr !important;
    }
    .ffeu-profile-row dt {
        font-size: 9.5px !important;
    }
    .ffeu-profile-row dd {
        font-size: 10.5px !important;
        line-height: 1.28 !important;
    }
    .ffeu-profile-footer {
        flex-direction: row !important;
        margin-top: 4mm !important;
        padding-top: 2mm !important;
        font-size: 8.5px !important;
    }
}

/* Karte / letzter bekannter Punkt – 0.4.0 */
.ffeu-map-coordinate-hint {
    justify-content: flex-start;
}

.ffeu-map-helpbox {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #d7dee5;
    border-radius: 10px;
    background: #f6f8fa;
    color: #536171;
    font-size: 13px;
    line-height: 1.45;
}

.ffeu-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.ffeu-map-toolbar > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ffeu-map-toolbar strong {
    color: #172431;
    font-size: 14px;
}

.ffeu-map-toolbar small {
    color: #697686;
    font-size: 12px;
}

.ffeu-map-toolbar small.is-error {
    color: #b20d18;
}

.ffeu-map-clear {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 13px;
}

.ffeu-map {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    border: 1px solid #cfd8e0;
    border-radius: 12px;
    background: #e9edf0;
    cursor: crosshair;
    touch-action: none;
    user-select: none;
}

.ffeu-map.is-dragging {
    cursor: grabbing;
}

.ffeu-map[data-readonly="1"] {
    cursor: grab;
}

.ffeu-map-tiles,
.ffeu-map-tile {
    position: absolute;
    inset: 0 auto auto 0;
}

.ffeu-map-tiles {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ffeu-map-tile {
    width: 256px;
    height: 256px;
    max-width: none !important;
    border: 0;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.ffeu-map-marker {
    position: absolute;
    z-index: 5;
    width: 28px;
    height: 38px;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.ffeu-map-marker.is-hidden {
    display: none;
}

.ffeu-map-marker::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #b20d18;
    box-shadow: 0 2px 8px rgba(0,0,0,.28);
    transform: rotate(-45deg);
}

.ffeu-map-marker span {
    position: absolute;
    z-index: 2;
    left: 11px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.ffeu-map-controls {
    position: absolute;
    z-index: 8;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #bcc7d0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.ffeu-map-controls button {
    width: 38px;
    height: 36px;
    border: 0;
    border-bottom: 1px solid #d3dbe2;
    background: #fff;
    color: #172431;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ffeu-map-controls button:last-child {
    border-bottom: 0;
}

.ffeu-map-controls button:hover,
.ffeu-map-controls button:focus-visible {
    background: #f2f5f7;
}

.ffeu-map-attribution {
    position: absolute;
    z-index: 8;
    right: 0;
    bottom: 0;
    padding: 3px 6px;
    background: rgba(255,255,255,.88);
    font-size: 10px;
    line-height: 1.3;
}

.ffeu-map-attribution a {
    color: #31506a;
    text-decoration: none;
}

@media (max-width: 720px) {
    .ffeu-map {
        height: 350px;
    }

    .ffeu-map-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Adressauflösung – 0.4.1 */
.ffeu-map-address-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.ffeu-map-address-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.ffeu-map-address-row .ffeu-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ffeu-map-toolbar-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
}

.ffeu-geocode-status {
    min-height: 18px;
    margin-top: 2px;
    color: #536171;
    font-size: 12px;
    line-height: 1.4;
}

.ffeu-geocode-status:empty {
    min-height: 0;
    margin-top: 0;
}

.ffeu-geocode-status.is-error {
    color: #b20d18;
}

.ffeu-geocode-status.is-success {
    color: #176b3a;
}

.ffeu-geocoder-note {
    margin-top: 10px;
    padding: 9px 11px;
    border: 1px solid #d7dee5;
    border-radius: 9px;
    background: #f6f8fa;
    color: #536171;
    font-size: 12px;
    line-height: 1.45;
}

.ffeu-geocoder-note.is-active {
    border-color: #b9d9c5;
    background: #f1f8f3;
    color: #2f5d40;
}

.ffeu-geocoder-note.is-warning {
    border-color: #e3c785;
    background: #fff8e8;
    color: #735716;
}

.ffeu-map-address-row .ffeu-button:disabled,
.ffeu-map-toolbar-actions .ffeu-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

@media (max-width: 720px) {
    .ffeu-map-address-row {
        flex-direction: column;
    }

    .ffeu-map-address-row .ffeu-button {
        width: 100%;
    }

    .ffeu-map-toolbar-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .ffeu-map-toolbar-actions .ffeu-button {
        flex: 1 1 180px;
    }
}

/* 0.5.0 – statistische Suchzonen */
.ffeu-search-profile-suggestion {
    display: none;
    color: #315b77;
    font-size: 12px;
    line-height: 1.45;
}

.ffeu-search-profile-suggestion.is-visible {
    display: block;
}

.ffeu-map-search-rings {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.ffeu-map-search-ring {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(178, 13, 24, .28);
    box-sizing: border-box;
    pointer-events: none;
}

.ffeu-map-search-ring.is-p95 {
    border-color: rgba(178, 13, 24, .25);
    background: rgba(178, 13, 24, .035);
}

.ffeu-map-search-ring.is-p75 {
    border-color: rgba(178, 13, 24, .36);
    background: rgba(178, 13, 24, .045);
}

.ffeu-map-search-ring.is-p50 {
    border-color: rgba(178, 13, 24, .52);
    background: rgba(178, 13, 24, .055);
}

.ffeu-map-search-ring.is-p25 {
    border-color: rgba(178, 13, 24, .72);
    background: rgba(178, 13, 24, .085);
}

.ffeu-search-prognosis-body {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.ffeu-search-intro {
    display: grid;
    gap: 5px;
}

.ffeu-search-intro strong {
    font-size: 18px;
    color: var(--ffeu-text);
}

.ffeu-search-intro p {
    margin: 0;
    color: var(--ffeu-muted);
    line-height: 1.55;
}

.ffeu-search-ring-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ffeu-search-ring-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 4px;
    min-height: 118px;
    padding: 16px;
    border: 1px solid #d8dee5;
    border-radius: 14px;
    background: #fafbfc;
}

.ffeu-search-ring-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: rgba(178, 13, 24, .35);
}

.ffeu-search-ring-card.is-p25::before { background: rgba(178, 13, 24, .85); }
.ffeu-search-ring-card.is-p50::before { background: rgba(178, 13, 24, .68); }
.ffeu-search-ring-card.is-p75::before { background: rgba(178, 13, 24, .50); }
.ffeu-search-ring-card.is-p95::before { background: rgba(178, 13, 24, .33); }

.ffeu-search-ring-card > span {
    color: var(--ffeu-primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
}

.ffeu-search-ring-card strong {
    font-size: 24px;
    line-height: 1.15;
    color: var(--ffeu-text);
}

.ffeu-search-ring-card small {
    color: var(--ffeu-muted);
    line-height: 1.4;
}

.ffeu-search-context-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ffeu-search-context-grid > div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f3f5f7;
}

.ffeu-search-context-grid span {
    color: var(--ffeu-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ffeu-search-context-grid strong {
    color: var(--ffeu-text);
    font-size: 14px;
}

.ffeu-search-advisories {
    display: grid;
    gap: 8px;
}

.ffeu-search-advisory {
    padding: 11px 13px;
    border: 1px solid #c9d9e7;
    border-radius: 10px;
    background: #f3f8fc;
    color: #31536c;
    font-size: 13px;
    line-height: 1.5;
}

.ffeu-search-advisory.is-warning {
    border-color: #e2c987;
    background: #fff8e9;
    color: #715817;
}

.ffeu-search-advisory.is-danger {
    border-color: #e7b7bc;
    background: #fff2f3;
    color: #7d1b23;
}

.ffeu-search-advisory.is-success {
    border-color: #b9dbc7;
    background: #f0f8f3;
    color: #285f3f;
}

.ffeu-search-method-note {
    padding: 13px 15px;
    border: 1px dashed #c8d0d9;
    border-radius: 12px;
    background: #fafbfc;
    color: #536171;
    font-size: 12px;
    line-height: 1.55;
}

.ffeu-search-method-note strong {
    color: #273745;
}

@media (max-width: 900px) {
    .ffeu-search-ring-cards,
    .ffeu-search-context-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ffeu-search-ring-cards,
    .ffeu-search-context-grid {
        grid-template-columns: 1fr;
    }
}

/* 0.5.1 – evidenzbasierte operative Suchprognose */
.ffeu-map-search-ring.is-p80,
.ffeu-map-search-ring.is-operative {
    border-width: 3px;
    border-color: rgba(178, 13, 24, .72);
    background: rgba(178, 13, 24, .025);
}

.ffeu-map-search-ring.is-p100,
.ffeu-map-search-ring.is-outer {
    border-style: dashed;
    border-color: rgba(74, 85, 99, .48);
    background: rgba(74, 85, 99, .015);
}

.ffeu-search-ring-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ffeu-search-ring-card.is-operative::before {
    width: 6px;
    background: rgba(178, 13, 24, .90);
}

.ffeu-search-ring-card.is-operative {
    border-color: rgba(178, 13, 24, .25);
    background: #fff8f8;
}

.ffeu-search-ring-card.is-outer::before {
    background: rgba(74, 85, 99, .45);
}

.ffeu-search-ring-card.is-outer {
    background: #f7f8f9;
}

.ffeu-search-map-options {
    padding: 12px 14px;
    border: 1px solid #e0e5ea;
    border-radius: 12px;
    background: #fafbfc;
}

.ffeu-search-outer-toggle {
    margin: 0;
}

.ffeu-search-location-stats {
    display: grid;
    gap: 9px;
    padding: 13px 14px;
    border: 1px solid #dce3e9;
    border-radius: 12px;
    background: #fff;
}

.ffeu-search-location-stats.is-hidden {
    display: none;
}

.ffeu-search-location-stats > strong {
    color: var(--ffeu-text);
    font-size: 13px;
}

.ffeu-search-location-stats > div {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.ffeu-search-location-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0f3f6;
    color: #42505d;
    font-size: 12px;
    font-weight: 700;
}

.ffeu-search-compact-notice {
    padding: 11px 13px;
    border-left: 4px solid var(--ffeu-primary);
    border-radius: 8px;
    background: #f7f8fa;
    color: #4d5966;
    font-size: 12px;
    line-height: 1.45;
}

.ffeu-search-method-details {
    border: 1px solid #dce2e8;
    border-radius: 11px;
    background: #fafbfc;
    overflow: hidden;
}

.ffeu-search-method-details summary {
    cursor: pointer;
    padding: 11px 13px;
    color: #394957;
    font-size: 12px;
    font-weight: 800;
    user-select: none;
}

.ffeu-search-method-details > div {
    padding: 0 13px 12px;
    color: #536171;
    font-size: 12px;
    line-height: 1.55;
}

.ffeu-search-method-details p {
    margin: 8px 0 0;
}

.ffeu-search-method-details a {
    font-weight: 750;
}

@media (max-width: 1100px) {
    .ffeu-search-ring-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ffeu-search-ring-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ffeu-search-ring-cards {
        grid-template-columns: 1fr;
    }
}

.ffeu-search-source {
    color: #6d7883;
    font-size: 11px;
    font-weight: 700;
}

/* 0.6.0 – räumliche NATSAR/OSM-Priorisierung */
.ffeu-map-spatial-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.ffeu-map-search-rings { z-index: 4; }
.ffeu-map-marker { z-index: 6; }
.ffeu-map-controls { z-index: 8; }
.ffeu-map-attribution { z-index: 9; }

.ffeu-spatial-feature {
    --ffeu-spatial-strength: .35;
    vector-effect: non-scaling-stroke;
    opacity: calc(.20 + (var(--ffeu-spatial-strength) * .72));
}

.ffeu-spatial-feature.is-line {
    fill: none;
    stroke-width: calc(1.2px + (var(--ffeu-spatial-strength) * 4px));
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ffeu-spatial-feature.is-polygon {
    stroke-width: calc(.6px + (var(--ffeu-spatial-strength) * 1.4px));
    fill-opacity: calc(.035 + (var(--ffeu-spatial-strength) * .12));
}

.ffeu-spatial-feature.is-road { stroke: #b20d18; }
.ffeu-spatial-feature.is-road.is-polygon { fill: #b20d18; }
.ffeu-spatial-feature.is-structure { stroke: #7d4d00; fill: #d69a34; }
.ffeu-spatial-feature.is-water { stroke: #2471a3; fill: #5dade2; }
.ffeu-spatial-feature.is-forest { stroke: #2f6f3e; fill: #55a868; }
.ffeu-spatial-feature.is-open { stroke: #6c8b2b; fill: #a8c66c; }
.ffeu-spatial-feature.is-barrier { stroke: #6b596b; }
.ffeu-spatial-feature.is-railway { stroke: #5b4b8a; stroke-dasharray: 5 4; }
.ffeu-spatial-feature.is-transit,
.ffeu-spatial-feature.is-transport { stroke: #6f42c1; fill: #6f42c1; }
.ffeu-spatial-feature.is-transport-emphasis {
    filter: drop-shadow(0 0 2px rgba(255,255,255,.95));
    opacity: .95;
}

.ffeu-spatial-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d9e0e6;
    border-radius: 12px;
    background: #fff;
}

.ffeu-spatial-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.ffeu-spatial-panel-head > div:first-child {
    display: grid;
    gap: 4px;
}

.ffeu-spatial-panel-head strong {
    color: var(--ffeu-text);
    font-size: 14px;
}

.ffeu-spatial-panel-head span,
.ffeu-spatial-status {
    color: var(--ffeu-muted);
    font-size: 12px;
    line-height: 1.45;
}

.ffeu-spatial-panel-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ffeu-spatial-status {
    padding: 10px 12px;
    border-radius: 9px;
    background: #f4f6f8;
}
.ffeu-spatial-status.is-success { background: #eef8f1; color: #2a6140; }
.ffeu-spatial-status.is-warning { background: #fff8e9; color: #715817; }
.ffeu-spatial-status.is-error { background: #fff1f2; color: #861e27; }

.ffeu-spatial-legend {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}
.ffeu-spatial-legend.is-hidden,
.ffeu-spatial-priorities.is-hidden,
.ffeu-spatial-pois.is-hidden { display: none; }

.ffeu-spatial-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f4f6f8;
    color: #45515e;
    font-size: 11px;
    font-weight: 750;
}
.ffeu-spatial-legend span::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8894a0;
}
.ffeu-spatial-legend .is-road::before { background: #b20d18; }
.ffeu-spatial-legend .is-structure::before { background: #d69a34; }
.ffeu-spatial-legend .is-water::before { background: #2471a3; }
.ffeu-spatial-legend .is-forest::before { background: #2f6f3e; }
.ffeu-spatial-legend .is-open::before { background: #6c8b2b; }
.ffeu-spatial-legend .is-transport::before { background: #6f42c1; }

.ffeu-spatial-priorities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.ffeu-spatial-priority-card {
    display: grid;
    gap: 3px;
    padding: 10px 11px;
    border: 1px solid #e2e6ea;
    border-left: 4px solid #84909c;
    border-radius: 9px;
    background: #fafbfc;
}
.ffeu-spatial-priority-card span,
.ffeu-spatial-priority-card small { color: var(--ffeu-muted); font-size: 10px; }
.ffeu-spatial-priority-card strong { color: var(--ffeu-text); font-size: 12px; }
.ffeu-spatial-priority-card.is-road { border-left-color: #b20d18; }
.ffeu-spatial-priority-card.is-structure { border-left-color: #d69a34; }
.ffeu-spatial-priority-card.is-water { border-left-color: #2471a3; }
.ffeu-spatial-priority-card.is-forest { border-left-color: #2f6f3e; }
.ffeu-spatial-priority-card.is-open { border-left-color: #6c8b2b; }
.ffeu-spatial-priority-card.is-barrier { border-left-color: #6b596b; }

.ffeu-spatial-pois {
    display: grid;
    gap: 8px;
}
.ffeu-spatial-pois > strong { font-size: 12px; color: var(--ffeu-text); }
.ffeu-spatial-pois > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}
.ffeu-spatial-poi {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    padding: 8px 10px;
    border: 1px solid #e0e5ea;
    border-radius: 8px;
    background: #fafbfc;
    color: var(--ffeu-text);
    cursor: pointer;
}
.ffeu-spatial-poi:hover { background: #f0f4f7; }
.ffeu-spatial-poi strong { font-size: 11px; }
.ffeu-spatial-poi span { color: var(--ffeu-muted); font-size: 10px; white-space: nowrap; }

@media (max-width: 850px) {
    .ffeu-spatial-panel-head { flex-direction: column; }
    .ffeu-spatial-panel-actions { justify-content: flex-start; }
    .ffeu-spatial-priorities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ffeu-spatial-priorities,
    .ffeu-spatial-pois > div { grid-template-columns: 1fr; }
    .ffeu-spatial-panel-actions .ffeu-button { width: 100%; }
}
.ffeu-spatial-feature.is-context-emphasis:not(.is-transport-emphasis) {
    stroke-dasharray: 3 3;
    filter: drop-shadow(0 0 1px rgba(255,255,255,.9));
}
.ffeu-search-context-grid small {
    color: var(--ffeu-muted);
    font-size: 10px;
    line-height: 1.35;
}

/* 0.6.1 – verständliche Außenreferenz und robustere Testhinweise */
.ffeu-outer-reference-card {
    display: grid;
    gap: 8px;
    cursor: pointer;
    color: var(--ffeu-text);
}

.ffeu-outer-reference-toggle {
    display: grid;
    grid-template-columns: 22px 1fr !important;
    align-items: center;
    gap: 10px !important;
    margin: 0;
}

.ffeu-outer-reference-toggle strong {
    font-size: 13px;
    line-height: 1.35;
    color: var(--ffeu-text);
}

.ffeu-outer-reference-help {
    display: block;
    padding-left: 32px;
    color: var(--ffeu-muted);
    font-size: 11px;
    line-height: 1.5;
}

.ffeu-outer-reference-help strong {
    color: var(--ffeu-text);
}

.ffeu-outer-reference-state {
    display: block;
    margin-left: 32px;
    padding: 7px 9px;
    border-radius: 8px;
    background: #f0f3f6;
    color: #53606d;
    font-size: 10px;
    line-height: 1.4;
}

@media (max-width: 560px) {
    .ffeu-outer-reference-help,
    .ffeu-outer-reference-state {
        padding-left: 0;
        margin-left: 0;
    }
}

/* 0.6.3 – verständlichere, ruhigere Prioritätskarte */
.ffeu-map-spatial-key {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 7;
    display: grid;
    gap: 5px;
    max-width: min(320px, calc(100% - 86px));
    padding: 9px 11px;
    border: 1px solid rgba(24, 38, 49, .15);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 14px rgba(20, 32, 43, .10);
    color: #33414e;
    font-size: 11px;
    line-height: 1.35;
    pointer-events: none;
}
.ffeu-map-spatial-key.is-hidden { display: none; }
.ffeu-map-spatial-key strong { color: var(--ffeu-text); font-size: 11px; }
.ffeu-map-spatial-key > span { display: flex; align-items: center; gap: 6px; }
.ffeu-map-spatial-key i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.ffeu-map-spatial-key i.is-road { background: #b20d18; }
.ffeu-map-spatial-key i.is-structure { background: #d69a34; }
.ffeu-map-spatial-key i.is-water { background: #2471a3; }
.ffeu-map-spatial-key i.is-forest { background: #2f6f3e; }
.ffeu-map-spatial-key i.is-open { background: #6c8b2b; }
.ffeu-map-spatial-key i.is-transport { background: #6f42c1; }
.ffeu-map-spatial-key small { color: #6b7783; font-size: 10px; }

/* Die Karte soll Hinweise zeigen, nicht die Grundkarte übermalen. */
.ffeu-spatial-feature {
    opacity: calc(.12 + (var(--ffeu-spatial-strength) * .48));
}
.ffeu-spatial-feature.is-line {
    stroke-width: calc(.8px + (var(--ffeu-spatial-strength) * 2.1px));
}
.ffeu-spatial-feature.is-polygon {
    stroke-width: calc(.5px + (var(--ffeu-spatial-strength) * 1px));
    fill-opacity: calc(.025 + (var(--ffeu-spatial-strength) * .075));
}
.ffeu-spatial-feature.is-transport-emphasis {
    opacity: .82;
}

.ffeu-spatial-explainer {
    padding: 12px 13px;
    border-left: 4px solid var(--ffeu-primary);
    border-radius: 9px;
    background: #f7f9fb;
    color: #445260;
    font-size: 12px;
    line-height: 1.5;
}
.ffeu-spatial-explainer.is-hidden,
.ffeu-spatial-view-actions.is-hidden { display: none; }
.ffeu-spatial-explainer strong { color: var(--ffeu-text); }
.ffeu-spatial-explainer p { margin: 5px 0 0; }

.ffeu-spatial-view-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ffeu-spatial-view-actions > span {
    flex: 1 1 260px;
    color: var(--ffeu-muted);
    font-size: 11px;
    line-height: 1.4;
}
.ffeu-spatial-view-actions .ffeu-button.is-active {
    border-color: var(--ffeu-primary);
    background: #fff1f2;
    color: #9f111b;
}

.ffeu-spatial-legend button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid #dce2e8;
    border-radius: 999px;
    background: #f4f6f8;
    color: #65717d;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.ffeu-spatial-legend button::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8894a0;
    opacity: .45;
}
.ffeu-spatial-legend button small { font-size: 9px; font-weight: 800; opacity: .8; }
.ffeu-spatial-legend button.is-active {
    background: #fff;
    color: #263542;
    border-color: #aeb8c2;
    box-shadow: 0 1px 4px rgba(20, 32, 43, .08);
}
.ffeu-spatial-legend button.is-active::before { opacity: 1; }
.ffeu-spatial-legend button.is-road::before { background: #b20d18; }
.ffeu-spatial-legend button.is-structure::before { background: #d69a34; }
.ffeu-spatial-legend button.is-water::before { background: #2471a3; }
.ffeu-spatial-legend button.is-forest::before { background: #2f6f3e; }
.ffeu-spatial-legend button.is-open::before { background: #6c8b2b; }
.ffeu-spatial-legend button.is-transport::before { background: #6f42c1; }

@media (max-width: 700px) {
    .ffeu-map-spatial-key {
        top: auto;
        bottom: 34px;
        right: 8px;
        left: 8px;
        max-width: none;
    }
    .ffeu-spatial-view-actions .ffeu-button { width: auto; }
}


/* 0.6.4 – kontrastreichere Prioritätskarte und filterbare konkrete Punkte */
.ffeu-spatial-feature { opacity: calc(.48 + (var(--ffeu-spatial-strength) * .42)); }
.ffeu-spatial-feature.is-line { stroke-width: calc(2.0px + (var(--ffeu-spatial-strength) * 2.8px)); stroke-linecap: round; stroke-linejoin: round; }
.ffeu-spatial-feature.is-polygon { stroke-width: calc(1.2px + (var(--ffeu-spatial-strength) * 1.8px)); fill-opacity: calc(.12 + (var(--ffeu-spatial-strength) * .18)); }
.ffeu-spatial-halo { pointer-events: none; }
.ffeu-spatial-halo.is-line { fill: none; stroke: rgba(255,255,255,.96); stroke-width: calc(4.6px + (var(--ffeu-spatial-strength) * 3.6px)); stroke-linecap: round; stroke-linejoin: round; }
.ffeu-spatial-halo.is-point { fill: rgba(255,255,255,.96); stroke: rgba(17,29,39,.22); stroke-width: 1px; }
.ffeu-spatial-feature.is-road { stroke: #e00035; }
.ffeu-spatial-feature.is-road.is-polygon { fill: #e00035; }
.ffeu-spatial-feature.is-structure { stroke: #f28c00; fill: #ffad32; }
.ffeu-spatial-feature.is-water { stroke: #0077cc; fill: #32a7ff; }
.ffeu-spatial-feature.is-forest { stroke: #087a4e; fill: #26a269; }
.ffeu-spatial-feature.is-open { stroke: #698f00; fill: #a8c900; }
.ffeu-spatial-feature.is-barrier { stroke: #4f3b4f; }
.ffeu-spatial-feature.is-railway { stroke: #7a2fb8; stroke-dasharray: 6 4; }
.ffeu-spatial-feature.is-transit,.ffeu-spatial-feature.is-transport { stroke: #7a2fb8; fill: #7a2fb8; }
.ffeu-spatial-legend button.is-road::before,.ffeu-map-spatial-key i.is-road { background: #e00035; }
.ffeu-spatial-legend button.is-structure::before,.ffeu-map-spatial-key i.is-structure { background: #f28c00; }
.ffeu-spatial-legend button.is-water::before,.ffeu-map-spatial-key i.is-water { background: #0077cc; }
.ffeu-spatial-legend button.is-forest::before,.ffeu-map-spatial-key i.is-forest { background: #087a4e; }
.ffeu-spatial-legend button.is-open::before,.ffeu-map-spatial-key i.is-open { background: #698f00; }
.ffeu-spatial-legend button.is-transport::before,.ffeu-map-spatial-key i.is-transport { background: #7a2fb8; }
.ffeu-spatial-priority-card.is-road { border-left-color: #e00035; }
.ffeu-spatial-priority-card.is-structure { border-left-color: #f28c00; }
.ffeu-spatial-priority-card.is-water { border-left-color: #0077cc; }
.ffeu-spatial-priority-card.is-forest { border-left-color: #087a4e; }
.ffeu-spatial-priority-card.is-open { border-left-color: #698f00; }
.ffeu-spatial-poi-controls { display:grid; gap:10px; padding:12px; border:1px solid #dfe5ea; border-radius:12px; background:#fafbfc; }
.ffeu-spatial-poi-controls.is-hidden { display:none; }
.ffeu-spatial-poi-controls-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.ffeu-spatial-poi-controls-head > div:first-child { display:grid; gap:3px; }
.ffeu-spatial-poi-controls-head strong { color:var(--ffeu-text); font-size:12px; }
.ffeu-spatial-poi-controls-head span,.ffeu-spatial-pois > p { margin:0; color:var(--ffeu-muted); font-size:10px; line-height:1.45; }
.ffeu-spatial-poi-view-actions { display:flex; gap:7px; flex-wrap:wrap; }
.ffeu-spatial-poi-view-actions .ffeu-button.is-active { border-color:var(--ffeu-primary); background:#fff1f2; color:#9f111b; }
.ffeu-spatial-poi-filters { display:flex; flex-wrap:wrap; gap:7px; }
.ffeu-spatial-poi-filters button { appearance:none; border:1px solid #d7dee5; border-radius:999px; padding:6px 9px; background:#fff; color:#52606c; font:inherit; font-size:10px; font-weight:750; cursor:pointer; }
.ffeu-spatial-poi-filters button small { display:inline-flex; min-width:18px; justify-content:center; margin-left:4px; padding:1px 5px; border-radius:999px; background:#eef2f5; color:#5d6974; font-size:9px; }
.ffeu-spatial-poi-filters button.is-active { border-color:#172430; background:#172430; color:#fff; }
.ffeu-spatial-poi-filters button.is-active small { background:rgba(255,255,255,.16); color:#fff; }
.ffeu-spatial-poi-filters button:disabled { opacity:.42; cursor:not-allowed; }
.ffeu-spatial-pois { display:grid; gap:6px; }
.ffeu-spatial-pois > p { margin-top:-2px; }
.ffeu-spatial-poi span { white-space:normal; text-align:right; }
@media (max-width:700px) { .ffeu-spatial-poi-controls-head { flex-direction:column; } .ffeu-spatial-poi-view-actions { width:100%; } .ffeu-spatial-poi-view-actions .ffeu-button { width:auto; } }

/* 0.6.5 – Bedienung, Plausibilitätsprüfung und interaktive POIs */
.ffeu-alert-success {
    position: relative;
    padding-left: 44px;
    font-weight: 750;
}
.ffeu-alert-success::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    background: #1b7a4b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.ffeu-incident-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}
.ffeu-incident-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid #dce2e8;
    border-radius: 999px;
    background: #f6f8fa;
    color: #4d5a66;
    font-size: 11px;
    font-weight: 750;
}
.ffeu-incident-summary span.is-active {
    border-color: #b9ddc7;
    background: #eef8f2;
    color: #1c6842;
}
.ffeu-incident-summary span.is-warning {
    border-color: #ecd18d;
    background: #fff9e8;
    color: #755915;
}
.ffeu-incident-summary span.is-neutral {
    background: #f0f2f4;
    color: #5f6a75;
}

.ffeu-field-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.4;
    vertical-align: middle;
}
.ffeu-field-badge.is-required {
    background: #fff0f1;
    color: #a11621;
    border: 1px solid #f1c7cb;
}

.ffeu-button-compact {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 11px;
}
.ffeu-copy-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px dashed #d6dde4;
    border-radius: 10px;
    background: #fafbfc;
}
.ffeu-copy-tools .ffeu-field-help {
    margin: 0;
    flex: 1 1 280px;
}

.ffeu-map-poi-focus {
    position: absolute;
    z-index: 7;
    width: 0;
    height: 0;
    transform: translate(-50%, -100%);
    pointer-events: none;
}
.ffeu-map-poi-focus.is-hidden { display: none; }
.ffeu-map-poi-pin {
    position: absolute;
    left: -9px;
    top: -18px;
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #172430;
    box-shadow: 0 2px 8px rgba(0,0,0,.30);
    transform: rotate(-45deg);
}
.ffeu-map-poi-pin::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
}
.ffeu-map-poi-popup {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: grid;
    gap: 2px;
    width: max-content;
    max-width: min(280px, 70vw);
    padding: 9px 30px 9px 10px;
    border: 1px solid #cfd7de;
    border-radius: 10px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    color: var(--ffeu-text);
    pointer-events: auto;
}
.ffeu-map-poi-popup strong {
    font-size: 12px;
    line-height: 1.35;
}
.ffeu-map-poi-popup small {
    color: var(--ffeu-muted);
    font-size: 10px;
    line-height: 1.35;
}
.ffeu-map-poi-popup button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #66727d;
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.ffeu-map-poi-popup button:hover,
.ffeu-map-poi-popup button:focus-visible {
    background: #eef2f5;
    color: #172430;
    outline: none;
}

.ffeu-spatial-poi {
    position: relative;
    align-items: center;
    transition: border-color .12s ease, background .12s ease, transform .12s ease;
}
.ffeu-spatial-poi::after {
    content: "Auf Karte";
    flex: 0 0 auto;
    margin-left: 4px;
    padding: 3px 6px;
    border-radius: 999px;
    background: #eef2f5;
    color: #596673;
    font-size: 9px;
    font-weight: 800;
}
.ffeu-spatial-poi:hover,
.ffeu-spatial-poi:focus-visible {
    border-color: #aab6c1;
    background: #f0f4f7;
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 720px) {
    .ffeu-copy-tools { align-items: stretch; }
    .ffeu-copy-tools .ffeu-button { width: 100%; }
    .ffeu-map-poi-popup { max-width: 72vw; }
}

.ffeu-form-guide {
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid #dbe2e8;
    border-left: 4px solid var(--ffeu-primary);
    border-radius: 10px;
    background: #fafbfc;
    color: #52606c;
    font-size: 12px;
    line-height: 1.5;
}
.ffeu-form-guide strong { color: var(--ffeu-text); }

/* 0.7.0 – mobile Bedienung, Fundort und Abschlussauswertung */
.ffeu-map-marker-found::before {
    background: #18884f;
}
.ffeu-map-marker-found span {
    background: #fff;
}

.ffeu-map-interaction-toggle {
    position: absolute;
    z-index: 12;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    display: none;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #b9c4ce;
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    color: #172431;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(20,34,48,.16);
    cursor: pointer;
}
.ffeu-map-interaction-toggle[aria-pressed="true"] {
    background: #172431;
    color: #fff;
    border-color: #172431;
}

.ffeu-map-mode-banner {
    position: absolute;
    z-index: 13;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 28px));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 2px solid #18884f;
    border-radius: 12px;
    background: rgba(244,253,248,.97);
    color: #173d2b;
    box-shadow: 0 5px 18px rgba(15,70,42,.20);
}
.ffeu-map-mode-banner.is-hidden { display: none; }
.ffeu-map-mode-banner strong { white-space: nowrap; }
.ffeu-map-mode-banner span { font-size: 12px; line-height: 1.4; }
.ffeu-map-mode-banner button {
    min-height: 38px;
    border: 1px solid #a9c9b7;
    border-radius: 8px;
    background: #fff;
    color: #24593d;
    font-weight: 700;
    cursor: pointer;
}

.ffeu-outcome-map-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}
.ffeu-outcome-map-actions > small {
    flex: 1 1 100%;
    color: var(--ffeu-muted);
    font-size: 12px;
}
.ffeu-outcome-map-actions > small.is-error { color: #b20d18; }

.ffeu-outcome-evaluation {
    border: 1px solid #cfd8e0;
    border-radius: 13px;
    background: #f8fafb;
    padding: 16px;
}
.ffeu-outcome-evaluation-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.ffeu-outcome-evaluation-head > div {
    display: grid;
    gap: 4px;
}
.ffeu-outcome-evaluation-head strong { font-size: 15px; }
.ffeu-outcome-evaluation-head span:not(.ffeu-outcome-evaluation-state) {
    color: var(--ffeu-muted);
    font-size: 12px;
    line-height: 1.45;
}
.ffeu-outcome-evaluation-state {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf1f4;
    color: #607080;
    font-size: 11px;
    font-weight: 800;
}
.ffeu-outcome-evaluation-state.is-ready {
    background: #e5f5eb;
    color: #176b3a;
}
.ffeu-outcome-evaluation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.ffeu-outcome-evaluation-grid > div {
    min-width: 0;
    padding: 11px;
    border: 1px solid #dde4ea;
    border-radius: 10px;
    background: #fff;
    display: grid;
    gap: 5px;
}
.ffeu-outcome-evaluation-grid span {
    color: #677585;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ffeu-outcome-evaluation-grid strong {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.ffeu-outcome-evaluation > p {
    margin: 12px 0 0;
    color: #536171;
    font-size: 12px;
    line-height: 1.5;
}
.ffeu-outcome-divider {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #dde4ea;
}
.ffeu-outcome-divider > span {
    font-size: 14px;
    font-weight: 850;
}
.ffeu-outcome-divider > small {
    color: var(--ffeu-muted);
    font-size: 12px;
}
.ffeu-status-hint {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.45;
}
.ffeu-status-hint.is-warning {
    background: #fff8e8;
    border: 1px solid #e3c785;
    color: #735716;
}
.ffeu-status-hint.is-success {
    background: #eef8f2;
    border: 1px solid #b9d9c5;
    color: #2f5d40;
}

@media (pointer: coarse) {
    .ffeu-map {
        touch-action: pan-y;
        cursor: default;
    }
    .ffeu-map.is-interaction-active {
        touch-action: none;
        cursor: grab;
    }
    .ffeu-map.is-interaction-active.is-dragging {
        cursor: grabbing;
    }
    .ffeu-map-interaction-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 760px) {
    /* iOS/Safari schneidet native Select-Texte bei kleinen line-heights gerne ab. */
    .ffeu-field select,
    .ffeu-form select {
        min-height: 54px;
        height: 54px;
        padding: 0 42px 0 14px;
        font-size: 16px;
        line-height: normal;
        -webkit-appearance: menulist;
        appearance: auto;
        background-color: #fff;
    }

    .ffeu-map {
        height: 360px;
    }
    .ffeu-map-controls button {
        width: 44px;
        height: 44px;
    }
    .ffeu-map-mode-banner {
        grid-template-columns: 1fr auto;
        bottom: 12px;
    }
    .ffeu-map-mode-banner strong {
        grid-column: 1 / -1;
    }
    .ffeu-map-mode-banner span {
        font-size: 12px;
    }
    .ffeu-outcome-map-actions .ffeu-button {
        flex: 1 1 200px;
        min-height: 46px;
    }
    .ffeu-outcome-evaluation-head {
        flex-direction: column;
    }
    .ffeu-outcome-evaluation-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .ffeu-outcome-evaluation-grid {
        grid-template-columns: 1fr;
    }
    .ffeu-map-interaction-toggle {
        top: 10px;
        max-width: calc(100% - 120px);
        white-space: nowrap;
    }
}

/* 1.0.0 – dominanteres Branding, Freigaben und Löschbereich */
.ffeu-brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    padding: 2px;
}
.ffeu-brand-mark {
    width: 54px;
    height: 54px;
}

.ffeu-profile-header {
    align-items: flex-start;
    padding-bottom: 6mm;
}
.ffeu-profile-org {
    gap: 5mm;
}
.ffeu-profile-logo,
.ffeu-profile-logo-fallback {
    width: 24mm;
    height: 24mm;
    flex: 0 0 24mm;
    border-radius: 4mm;
}
.ffeu-profile-logo {
    padding: 1mm;
    border: 0;
    background: transparent;
}
.ffeu-profile-org strong {
    font-size: 20px;
    line-height: 1.15;
}
.ffeu-profile-org span {
    margin-top: 4px;
    font-size: 12px;
}
.ffeu-profile-classification {
    max-width: 68mm;
    display: grid;
    gap: 2px;
    border: 1px solid #e2a8ad;
    border-left: 4px solid var(--ffeu-primary);
    border-radius: 3mm;
    padding: 3mm 3.5mm;
    background: #fff4f5;
    color: #6f1118;
    text-transform: none;
    letter-spacing: 0;
}
.ffeu-profile-classification strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.ffeu-profile-classification span {
    color: #2c3338;
    font-size: 10.5px;
    font-weight: 750;
}
.ffeu-profile-classification small {
    color: #5b6269;
    font-size: 8.8px;
    line-height: 1.3;
}

.ffeu-shared-access-note {
    margin-bottom: 18px;
}
.ffeu-sharing-card,
.ffeu-delete-card {
    margin-top: 22px;
}
.ffeu-sharing-card > div:first-child h2,
.ffeu-delete-card h2 {
    margin: 4px 0 5px;
}
.ffeu-share-list {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}
.ffeu-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid var(--ffeu-line);
    border-radius: 10px;
    background: #f8fafb;
}
.ffeu-share-row > div {
    display: grid;
    gap: 2px;
}
.ffeu-share-row span {
    color: var(--ffeu-muted);
    font-size: 11px;
}
.ffeu-share-form {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.ffeu-share-form label {
    display: grid;
    gap: 6px;
    min-width: min(340px, 100%);
}
.ffeu-share-form label > span {
    font-weight: 750;
}
.ffeu-share-form select {
    min-height: 44px;
}
.ffeu-muted-copy {
    color: var(--ffeu-muted);
}
.ffeu-delete-card {
    border-color: #efc8cb;
    background: #fffafa;
}
.ffeu-delete-card details > summary {
    cursor: pointer;
    color: #9d111b;
    font-weight: 800;
}
.ffeu-delete-card form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}
.ffeu-delete-card .ffeu-button-danger {
    justify-self: start;
}

@media (max-width: 760px) {
    .ffeu-profile-header {
        flex-direction: column;
    }
    .ffeu-profile-classification {
        max-width: none;
        width: 100%;
    }
    .ffeu-share-row {
        align-items: stretch;
        flex-direction: column;
    }
}

@media print {
    .ffeu-profile-header {
        align-items: flex-start !important;
        padding-bottom: 3.5mm !important;
    }
    .ffeu-profile-logo,
    .ffeu-profile-logo-fallback {
        width: 20mm !important;
        height: 20mm !important;
        flex-basis: 20mm !important;
    }
    .ffeu-profile-logo {
        padding: .5mm !important;
    }
    .ffeu-profile-org {
        gap: 3.5mm !important;
    }
    .ffeu-profile-org strong {
        font-size: 15px !important;
    }
    .ffeu-profile-classification {
        max-width: 64mm !important;
        padding: 2.2mm 2.6mm !important;
    }
    .ffeu-profile-classification strong {
        font-size: 9.5px !important;
    }
    .ffeu-profile-classification span {
        font-size: 9px !important;
    }
    .ffeu-profile-classification small {
        font-size: 7.5px !important;
        line-height: 1.25 !important;
    }
    .ffeu-profile-title-area,
    .ffeu-profile-title-area.has-photo {
        padding-top: 4mm !important;
    }
}

@media (max-width: 700px) {
    .ffeu-brand-logo,
    .ffeu-brand-mark {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }
    .ffeu-brand strong {
        font-size: 16px;
    }
}

/* 1.1.0 – Freigaberechte, Druckpaket und UI-Korrekturen */
.ffeu-check {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    width: fit-content;
    max-width: 100%;
}
.ffeu-checktext {
    min-width: 0;
    padding-top: 1px;
}

.ffeu-share-row-main {
    display: grid;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}
.ffeu-share-permission-form {
    display: flex;
    align-items: end;
    gap: 8px;
    flex-wrap: wrap;
}
.ffeu-share-permission-form label {
    display: grid;
    gap: 4px;
    min-width: 190px;
}
.ffeu-share-permission-form label > span {
    color: var(--ffeu-muted);
    font-size: 11px;
    font-weight: 700;
}
.ffeu-share-permission-form select {
    min-height: 42px;
}

.ffeu-profile-toolbar-actions {
    display: grid;
    justify-items: end;
    gap: 12px;
}
.ffeu-print-options {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 16px;
    padding: 10px 12px;
    border: 1px solid var(--ffeu-line);
    border-radius: 12px;
    background: #fff;
}
.ffeu-print-options > strong {
    font-size: 12px;
    white-space: nowrap;
}
.ffeu-print-option-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.ffeu-print-option {
    width: auto;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    background: #f8fafb;
    color: #24313c;
}
.ffeu-print-option .ffeu-checkmark {
    width: 20px;
    height: 20px;
}
.ffeu-print-option .ffeu-checktext {
    color: #24313c;
    font-size: 12px;
    font-weight: 700 !important;
    white-space: nowrap;
}
.ffeu-print-option input[type="checkbox"]:checked + .ffeu-checkmark::after {
    left: 6px;
    top: 2px;
}


.ffeu-print-page + .ffeu-print-page {
    margin-top: 28px;
}
.ffeu-print-page-title {
    padding: 8mm 0 5mm;
}
.ffeu-print-page-title h2 {
    margin: 0 0 2mm;
    font-size: 27px;
    line-height: 1.08;
}
.ffeu-print-page-title p {
    margin: 0;
    max-width: 150mm;
    color: #5f6b77;
    font-size: 12px;
    line-height: 1.55;
}
.ffeu-print-subpage-header {
    margin-bottom: 0;
}
.ffeu-print-priority-summary,
.ffeu-print-map-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.ffeu-print-priority-summary > div,
.ffeu-print-map-meta > div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e1e6eb;
    border-radius: 10px;
    background: #f8fafb;
}
.ffeu-print-priority-summary span,
.ffeu-print-map-meta span {
    color: #6b7580;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ffeu-print-priority-summary strong,
.ffeu-print-map-meta strong {
    font-size: 13px;
    line-height: 1.35;
}
.ffeu-print-ring-grid,
.ffeu-print-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.ffeu-print-ring-card,
.ffeu-print-priority-card {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #dce2e8;
    border-left: 4px solid #c4cbd2;
    border-radius: 10px;
    background: #fbfcfd;
}
.ffeu-print-ring-card.is-operative {
    border-color: #e3a4a9;
    border-left-color: var(--ffeu-primary);
    background: #fff5f6;
}
.ffeu-print-ring-card span,
.ffeu-print-priority-card span {
    color: #697581;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ffeu-print-ring-card strong {
    font-size: 20px;
}
.ffeu-print-priority-card strong {
    font-size: 14px;
    line-height: 1.3;
}
.ffeu-print-priority-card small {
    color: #68737e;
    font-size: 10px;
}
.ffeu-print-priority-card:nth-child(1) { border-left-color: #c31322; }
.ffeu-print-priority-card:nth-child(2) { border-left-color: #df9414; }
.ffeu-print-priority-card:nth-child(3) { border-left-color: #267ea4; }
.ffeu-print-priority-card:nth-child(4) { border-left-color: #6d8e2c; }
.ffeu-print-location-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.ffeu-print-location-chips > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 9px;
    border: 1px solid #dde3e8;
    border-radius: 999px;
    background: #f8fafb;
    color: #44515d;
    font-size: 10.5px;
}
.ffeu-print-section-help {
    margin: -2px 0 10px;
    color: #6b7580;
    font-size: 10px;
    line-height: 1.45;
}
.ffeu-print-poi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}
.ffeu-print-poi-item {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #e1e6eb;
    border-radius: 9px;
    background: #fafbfc;
}
.ffeu-print-poi-item strong {
    overflow-wrap: anywhere;
    font-size: 10.5px;
    line-height: 1.3;
}
.ffeu-print-poi-item span {
    color: #697581;
    font-size: 9px;
    line-height: 1.3;
}
.ffeu-print-method-note,
.ffeu-print-empty-state {
    margin-top: 7mm;
    padding: 4mm;
    border: 1px solid #dce2e8;
    border-left: 4px solid var(--ffeu-primary);
    border-radius: 3mm;
    background: #f8fafb;
    color: #4e5964;
    font-size: 11px;
    line-height: 1.5;
}
.ffeu-print-method-note p {
    margin: 1.5mm 0 0;
}

.ffeu-print-map {
    position: relative;
    height: 166mm;
    margin-top: 2mm;
    overflow: hidden;
    border: 1px solid #cfd6dd;
    border-radius: 3mm;
    background: #e8ecef;
}
.ffeu-print-map-tiles,
.ffeu-print-map-rings {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ffeu-print-map-tile {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none !important;
    user-select: none;
    pointer-events: none;
}
.ffeu-print-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 2px solid rgba(177, 23, 34, .55);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}
.ffeu-print-ring.is-operative {
    border-width: 3px;
    border-color: rgba(177, 23, 34, .95);
    background: rgba(177, 23, 34, .055);
}
.ffeu-print-ring > span {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translate(100%, -50%);
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(255,255,255,.92);
    color: #7f1119;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}
.ffeu-print-map-marker,
.ffeu-print-map-found {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 34px;
    transform: translate(-50%, -100%);
    z-index: 6;
}
.ffeu-print-map-marker::before,
.ffeu-print-map-found::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #bd1421;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}
.ffeu-print-map-found::before { background: #198754; }
.ffeu-print-map-marker span,
.ffeu-print-map-found span {
    position: absolute;
    left: 11px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}
.ffeu-print-map-legend {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 8;
    display: grid;
    gap: 5px;
    max-width: 74mm;
    padding: 9px 10px;
    border: 1px solid rgba(115,126,137,.35);
    border-radius: 9px;
    background: rgba(255,255,255,.94);
    font-size: 9.5px;
    line-height: 1.3;
}
.ffeu-print-map-legend strong { font-size: 10.5px; }
.ffeu-print-map-legend span { display: flex; align-items: center; gap: 6px; }
.ffeu-print-map-legend i { width: 13px; height: 13px; flex: 0 0 13px; display: inline-block; }
.ffeu-print-map-legend i.is-last { border-radius: 50%; background: #bd1421; border: 2px solid #fff; box-shadow: 0 0 0 1px #bd1421; }
.ffeu-print-map-legend i.is-found { border-radius: 50%; background: #198754; border: 2px solid #fff; box-shadow: 0 0 0 1px #198754; }
.ffeu-print-map-legend i.is-ring { border-radius: 50%; border: 2px solid rgba(177, 23, 34, .55); }
.ffeu-print-map-legend i.is-ring.is-operative { border-color: rgba(177, 23, 34, .95); background: rgba(177, 23, 34, .08); }
.ffeu-print-map-attribution {
    position: absolute;
    right: 5px;
    bottom: 4px;
    z-index: 7;
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(255,255,255,.85);
    color: #5c6772;
    font-size: 8px;
}
.ffeu-print-map-meta {
    grid-template-columns: 1.2fr 1fr 1fr;
    margin-top: 4mm;
}

@media (max-width: 760px) {
    .ffeu-profile-toolbar-actions { justify-items: stretch; }
    .ffeu-print-options { grid-template-columns: 1fr; align-items: stretch; }
    .ffeu-print-option-list { justify-content: flex-start; }
    .ffeu-print-ring-grid,
    .ffeu-print-priority-grid,
    .ffeu-print-priority-summary,
    .ffeu-print-map-meta { grid-template-columns: 1fr 1fr; }
    .ffeu-print-map { height: 420px; }
}

@media print {
    .ffeu-print-page {
        width: 100% !important;
        min-height: 0 !important;
        page-break-after: always;
        break-after: page;
    }
    .ffeu-print-page:last-of-type {
        page-break-after: auto;
        break-after: auto;
    }
    .ffeu-print-page.ffeu-print-disabled {
        display: none !important;
    }
    .ffeu-print-page + .ffeu-print-page {
        margin-top: 0 !important;
    }
    .ffeu-print-page-title {
        padding: 5mm 0 4mm !important;
    }
    .ffeu-print-page-title h2 { font-size: 22px !important; }
    .ffeu-print-page-title p { font-size: 9.5px !important; line-height: 1.4 !important; }
    .ffeu-print-priority-summary,
    .ffeu-print-map-meta { gap: 2.5mm !important; }
    .ffeu-print-priority-summary > div,
    .ffeu-print-map-meta > div { padding: 2.5mm 3mm !important; }
    .ffeu-print-ring-grid,
    .ffeu-print-priority-grid { gap: 2mm !important; }
    .ffeu-print-ring-card,
    .ffeu-print-priority-card { padding: 3mm !important; }
    .ffeu-print-ring-card strong { font-size: 16px !important; }
    .ffeu-print-priority-card strong { font-size: 11.5px !important; }
    .ffeu-print-location-chips { gap: 1.5mm !important; }
    .ffeu-print-location-chips > span { padding: 1.5mm 2mm !important; font-size: 8.8px !important; }
    .ffeu-print-section-help { margin: -1mm 0 2mm !important; font-size: 8.4px !important; line-height: 1.35 !important; }
    .ffeu-print-poi-grid { gap: 1.5mm !important; }
    .ffeu-print-poi-item { padding: 1.7mm 2mm !important; border-radius: 1.5mm !important; }
    .ffeu-print-poi-item strong { font-size: 8.8px !important; }
    .ffeu-print-poi-item span { font-size: 7.8px !important; }
    .ffeu-print-method-note,
    .ffeu-print-empty-state { margin-top: 4mm !important; padding: 3mm !important; font-size: 9px !important; }
    .ffeu-print-map { height: 178mm !important; border-radius: 0 !important; }
    .ffeu-print-map-legend { font-size: 8px !important; max-width: 68mm !important; }
    .ffeu-print-map-meta { margin-top: 3mm !important; }
}


/* 1.1.2 – Druckkopf, Seitennummern und kompakte Lagekarte */
.ffeu-print-page-number {
    display: none;
}

@media print {
    /* Der Kopf ist auf allen Druckseiten gleich aufgebaut und bleibt kompakt. */
    .ffeu-profile-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(48mm, 61mm) !important;
        align-items: center !important;
        gap: 5mm !important;
        margin: 0 0 3.5mm !important;
        padding: 3.5mm 4mm !important;
        border: 1px solid #d6dce2 !important;
        border-left: 1.6mm solid #bd1421 !important;
        border-bottom: 1px solid #d6dce2 !important;
        border-radius: 2.5mm !important;
        background: #f7f9fa !important;
        box-sizing: border-box !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
    .ffeu-profile-org {
        min-width: 0 !important;
        gap: 3.5mm !important;
    }
    .ffeu-profile-logo,
    .ffeu-profile-logo-fallback {
        width: 18mm !important;
        height: 18mm !important;
        flex-basis: 18mm !important;
        border-radius: 2.5mm !important;
    }
    .ffeu-profile-logo {
        padding: .7mm !important;
        border-color: #cfd6dc !important;
        background: #fff !important;
    }
    .ffeu-profile-org strong {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }
    .ffeu-profile-org span {
        margin-top: 1mm !important;
        color: #53606c !important;
        font-size: 9.2px !important;
        line-height: 1.3 !important;
        font-weight: 650 !important;
    }
    .ffeu-profile-classification {
        max-width: none !important;
        padding: 2.2mm 2.6mm !important;
        border: 1px solid #e2b3b7 !important;
        border-radius: 2mm !important;
        background: #fff3f4 !important;
        color: #6f1118 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }
    .ffeu-profile-classification strong {
        display: block !important;
        margin-bottom: .7mm !important;
        color: #a6111d !important;
        font-size: 9.5px !important;
        letter-spacing: .05em !important;
        text-transform: uppercase !important;
    }
    .ffeu-profile-classification span {
        display: block !important;
        font-size: 8.5px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
    }
    .ffeu-profile-classification small {
        display: block !important;
        margin-top: .7mm !important;
        font-size: 6.9px !important;
        line-height: 1.22 !important;
        font-weight: 650 !important;
    }

    /* Eigene Seitennummer statt unzuverlässiger Browser-Seitenzähler. */
    .ffeu-profile-footer {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        align-items: end !important;
        gap: 4mm !important;
        margin-top: 4mm !important;
        padding-top: 2mm !important;
        font-size: 8.2px !important;
    }
    .ffeu-profile-footer > span:nth-child(2) {
        text-align: right !important;
        white-space: nowrap !important;
    }
    .ffeu-print-page-number {
        display: inline !important;
        color: #17212b !important;
        font-size: 8.5px !important;
        font-weight: 850 !important;
        white-space: nowrap !important;
    }

    /* Die Lagekarte bleibt garantiert auf EINER A4-Seite. */
    .ffeu-print-page-map {
        height: 276mm !important;
        max-height: 276mm !important;
        min-height: 276mm !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }
    .ffeu-print-page-map .ffeu-profile-header,
    .ffeu-print-page-map .ffeu-print-page-title,
    .ffeu-print-page-map .ffeu-print-map-meta,
    .ffeu-print-page-map .ffeu-profile-footer {
        flex: 0 0 auto !important;
    }
    .ffeu-print-page-map .ffeu-print-page-title {
        padding: 2.5mm 0 2.5mm !important;
    }
    .ffeu-print-page-map .ffeu-print-page-title h2 {
        margin-bottom: 1mm !important;
        font-size: 19px !important;
    }
    .ffeu-print-page-map .ffeu-print-page-title p {
        font-size: 8.7px !important;
        line-height: 1.3 !important;
    }
    .ffeu-print-page-map .ffeu-print-map {
        flex: 1 1 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-top: 0 !important;
        border-radius: 1.5mm !important;
    }
    .ffeu-print-page-map .ffeu-print-map-meta {
        margin-top: 2.5mm !important;
    }
    .ffeu-print-page-map .ffeu-profile-footer {
        margin-top: 2.5mm !important;
    }

    /* Ringwerte nur in der Legende: auf der Karte selbst keine Textüberlagerungen. */
    .ffeu-print-ring > span {
        display: none !important;
    }
    .ffeu-print-ring {
        border-width: 1.5px !important;
    }
    .ffeu-print-ring.is-operative {
        border-width: 2.5px !important;
    }
    .ffeu-print-map-legend {
        gap: 1.2mm !important;
        max-width: 58mm !important;
        padding: 2.2mm 2.5mm !important;
        border: 1px solid rgba(84, 95, 105, .55) !important;
        background: rgba(255,255,255,.96) !important;
        font-size: 7.4px !important;
        line-height: 1.2 !important;
    }
    .ffeu-print-map-legend strong {
        font-size: 8.3px !important;
    }
    .ffeu-print-map-legend i {
        width: 9px !important;
        height: 9px !important;
        flex-basis: 9px !important;
    }
}
