.bfm-external-shell {
    max-width: 1120px;
    margin: 18px auto;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.38;
}

/* Sponsoring: Typografie folgt immer der Schrift des Shortcodes/Elternelements. */
.bfm-sponsor-shell {
    font-family: inherit;
    font-size: 16px;
}
.bfm-sponsor-shell *,
.bfm-sponsor-shell button,
.bfm-sponsor-shell input,
.bfm-sponsor-shell select,
.bfm-sponsor-shell textarea,
.bfm-sponsor-shell option {
    font-family: inherit !important;
}
.bfm-sponsor-shell .bfm-external-card h3 { font-size: 1.28rem; }
.bfm-sponsor-shell .bfm-external-card h4 { font-size: 1.12rem; }
.bfm-sponsor-shell .bfm-external-header h2 { font-size: 1.5rem; }
.bfm-sponsor-shell .bfm-table-wrap table { font-size: 14.5px; }
.bfm-sponsor-shell .bfm-table-wrap select { font-size: 14px; }
.bfm-sponsor-shell .bfm-external-button.small { font-size: 14px; }
.bfm-sponsor-shell .bfm-compact-note,
.bfm-sponsor-shell .bfm-external-help { font-size: 14px; }
.bfm-sponsor-shell .bfm-mail-placeholder-help { font-size: 13px; }
.bfm-sponsor-shell .bfm-mail-placeholder-help code { font-size: 12px; font-family: inherit; }
.bfm-sponsor-shell .bfm-mail-opportunity-filter legend,
.bfm-sponsor-shell .bfm-external-form .bfm-mail-opportunity-filter label { font-size: 14px; }
.bfm-sponsor-shell .bfm-mail-opportunity-filter small { font-size: 12px; }

/* Popover/Tooltip werden per JavaScript an <body> gehängt und erben deshalb
   die Shortcode-Schrift nicht automatisch. Die Schriftfamilie wird beim
   Erzeugen zusätzlich aus .bfm-sponsor-shell übernommen. */
.bfm-sponsor-filter-popover,
.bfm-sponsor-filter-popover *,
.bfm-sponsor-tooltip-popover {
    font-family: var(--bfm-sponsor-font-family, inherit) !important;
}

.bfm-external-card,
.bfm-portal-card {
    padding: 15px 17px;
    color: #1d2327;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(0,0,0,.045);
}

.bfm-external-card h3 { margin: 3px 0 10px; font-size: 1.15rem; }
.bfm-external-card h4 { margin: 14px 0 7px; font-size: 1rem; }
.bfm-external-card hr { margin: 16px 0; border: 0; border-top: 1px solid #dcdcde; }

.bfm-external-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 9px;
    padding: 0 2px;
}
.bfm-external-header h2 { margin: 0; font-size: 1.35rem; }
.bfm-external-header p { margin: 1px 0 0; color: #646970; }

.bfm-sponsor-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 9px 8px 13px;
}
.bfm-sponsor-status-totals {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin: 0;
}
.bfm-sponsor-total-box {
    min-width: 105px;
    width: max-content;
    padding: 7px 9px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-top: 3px solid #a7aaad;
    border-radius: 5px;
}
.bfm-sponsor-total-box span,
.bfm-sponsor-total-box strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bfm-sponsor-total-box span { color: #50575e; font-size: 13px; }
.bfm-sponsor-total-box strong { margin-top: 1px; font-size: 17px; }
.bfm-sponsor-total-box.status-interessent { border-top-color: #dba617; background: #fffaf0; }
.bfm-sponsor-total-box.status-kontaktiert { border-top-color: #72aee6; background: #f2f8fd; }
.bfm-sponsor-total-box.status-beworben { border-top-color: #8c6bb1; background: #faf6fd; }
.bfm-sponsor-total-box.status-angenommen { border-top-color: #00a32a; background: #f1faf3; }
.bfm-sponsor-total-box.status-kein_interesse,
.bfm-sponsor-total-box.status-abgelehnt { border-top-color: #8c8f94; background: #f0f0f1; }

.bfm-external-tabs {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    margin: 7px 0 0;
}
.bfm-external-tabs a {
    display: block;
    padding: 8px 11px;
    color: #1d2327;
    background: #dcdcde;
    border: 1px solid #c3c4c7;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    text-decoration: none;
}
.bfm-external-tabs a:hover { background: #f0f0f1; }
.bfm-external-tabs a.active { color: #135e96; background: #fff; font-weight: 700; }

.bfm-sponsor-navrow {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%;
    margin: 7px 0 0;
}
.bfm-sponsor-navrow .bfm-external-tabs {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
}
.bfm-sponsor-nav-save-form {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 0 1px;
}
.bfm-sponsor-nav-save-form .bfm-save-all {
    min-height: 35px;
    white-space: nowrap;
}
.bfm-sponsor-nav-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 35px;
    margin-left: auto;
    padding: 7px 11px;
    box-sizing: border-box;
    color: #fff;
    background: #607665;
    border: 1px solid #526858;
    border-radius: 5px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.bfm-sponsor-nav-logout:hover { color: #fff; background: #4d6252; }
.bfm-external-tabs .bfm-sponsor-logout {
    margin-left: auto;
    color: #fff;
    background: #607665;
    border-color: #526858;
    border-bottom: 1px solid #526858;
    border-radius: 5px;
    font-weight: 700;
}
.bfm-external-tabs .bfm-sponsor-logout:hover { color: #fff; background: #4d6252; }
.bfm-sponsor-top-logout {
    display: inline-block;
    flex: 0 0 auto;
    padding: 7px 11px;
    color: #fff;
    background: #607665;
    border: 1px solid #526858;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
}
.bfm-sponsor-top-logout:hover { color: #fff; background: #4d6252; }

.bfm-status-summary {
    display: grid;
    gap: 5px;
    padding: 9px 11px;
    background: #f6f7f7;
    border-left: 4px solid #2271b1;
    border-radius: 3px;
}
.bfm-status-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.bfm-status-row > strong { min-width: 145px; }
.bfm-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}
.bfm-status-chip b { padding-left: 5px; border-left: 1px solid rgba(255,255,255,.45); }
.bfm-status-chip.status-beworben { background: #2271b1; }
.bfm-status-chip.status-gepruft,
.bfm-status-chip.status-geprueft { background: #996800; }
.bfm-status-chip.status-abgelehnt { background: #d63638; }
.bfm-status-chip.status-bewertet { background: #00a32a; }

.bfm-external-form label { display: block; margin: 0 0 10px; font-weight: 600; }
.bfm-external-form input:not([type=checkbox]):not([type=radio]),
.bfm-external-form select,
.bfm-external-form textarea,
.bfm-external-login input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 34px;
    margin-top: 3px;
    padding: 6px 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font: inherit;
}
.bfm-external-form textarea { min-height: 66px; }
.bfm-external-form fieldset { margin: 0 0 10px; padding: 9px; border: 1px solid #c3c4c7; border-radius: 4px; }
.bfm-external-form .bfm-inline,
.bfm-external-form .bfm-check { display: inline-flex; align-items: center; gap: 5px; margin-right: 13px; font-weight: 400; }
.bfm-external-grid { display: grid; gap: 9px 12px; }
.bfm-external-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bfm-external-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }

.bfm-external-button {
    display: inline-block;
    padding: 7px 11px;
    color: #fff;
    background: #2271b1;
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.bfm-external-button:hover { color: #fff; background: #135e96; }
.bfm-external-button.secondary { background: #50575e; }
.bfm-external-button.danger { background: #d63638; }
.bfm-external-button.small { padding: 5px 8px; font-size: 12px; }
.bfm-link-danger { padding: 3px 0; color: #b32d2e; background: none; border: 0; text-decoration: underline; cursor: pointer; }

.bfm-external-alert { margin: 7px 0 10px; padding: 8px 11px; border-radius: 4px; }
.bfm-external-alert.bfm-success { background: #edfaef; border-left: 4px solid #00a32a; }
.bfm-external-alert.bfm-error { background: #fcf0f1; border-left: 4px solid #d63638; }

.bfm-table-wrap { overflow: auto; border: 1px solid #dcdcde; border-radius: 4px; }
.bfm-table-wrap table { width: 100%; border-collapse: collapse; font-size: 12.5px; line-height: 1.3; }
.bfm-table-wrap th,
.bfm-table-wrap td { padding: 6px 7px; border-bottom: 1px solid #dcdcde; vertical-align: top; text-align: left; }
.bfm-table-wrap th { position: sticky; top: 0; z-index: 1; background: #f0f0f1; color: #1d2327; white-space: nowrap; }
.bfm-table-wrap tbody tr:last-child td { border-bottom: 0; }
.bfm-table-wrap tr:hover { background: #f6f7f7; }
.bfm-sponsor-company { font-size: 1.12em; line-height: 1.25; }
.bfm-table-wrap select { max-width: 150px; min-height: 30px; padding: 3px 5px; font-size: 12px; }
.bfm-sponsor-table { width: max-content !important; min-width: 100%; }
.bfm-sponsor-table-wrap {
    /* Fallback: auf Desktop den verfügbaren Viewport nahezu vollständig nutzen.
       JavaScript verfeinert die Höhe anhand der tatsächlichen Position des Blocks. */
    height: calc(100dvh - 110px);
    min-height: 360px;
    max-height: none;
    overflow: auto;
    overscroll-behavior: contain;
}
.bfm-sponsor-table-wrap thead th {
    z-index: 3;
    box-shadow: 0 1px 0 #c3c4c7;
    vertical-align: bottom !important;
}
.bfm-sponsor-table th,
.bfm-sponsor-table td { white-space: nowrap; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-interessent { background: #fff9e8; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-kontaktiert { background: #eef7ff; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-beworben { background: #f7f1ff; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-angenommen { background: #f2fbf3; box-shadow: inset 4px 0 0 #a8d5ad; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-interessent:hover { background: #fff4cf; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-kontaktiert:hover { background: #e0f0ff; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-beworben:hover { background: #eee2fb; }
.bfm-sponsor-table tbody tr.bfm-sponsor-status-angenommen:hover { background: #edf8ef; box-shadow: inset 4px 0 0 #9bc9a1; }
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive:hover { background: #ededed; color: #50575e; }
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive td,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive strong,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive span,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive a,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive button,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive select { color: #50575e !important; }
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive select,
.bfm-sponsor-table tbody tr.bfm-sponsor-inactive input { background: #f6f7f7; color: #50575e !important; }
.bfm-sponsor-table tbody tr[data-bfm-sponsor-row]:not(.bfm-sponsor-inactive):not(.bfm-sponsor-marked):not(.bfm-sponsor-status-angenommen),
.bfm-sponsor-table tbody tr[data-bfm-sponsor-row]:not(.bfm-sponsor-inactive):not(.bfm-sponsor-marked):not(.bfm-sponsor-status-angenommen):hover { background: #fff; }
.bfm-sponsor-row-actions { display: grid; grid-template-columns: repeat(2,24px); justify-content: center; align-items: center; gap: 3px; }
.bfm-sponsor-row-actions .bfm-sponsor-row-icon { margin: 0; }
.bfm-sponsor-table tbody tr.bfm-sponsor-marked,
.bfm-sponsor-table tbody tr.bfm-sponsor-marked:hover {
    background: #fffbea;
    box-shadow: inset 4px 0 0 #e8d58a;
}
.bfm-sponsor-priority-col,
.bfm-sponsor-priority-cell { width: 108px; min-width: 108px; max-width: 108px; padding-right: 5px !important; padding-left: 5px !important; text-align: center !important; vertical-align: middle !important; }
.bfm-sponsor-control-stack { display: grid; grid-template-rows: auto auto auto; justify-items: center; align-items: center; row-gap: 5px; width: 100%; }
.bfm-sponsor-contacted-by-input { width: 87px !important; min-width: 87px !important; max-width: 87px !important; box-sizing: border-box; }
.bfm-sponsor-priority-actions { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; }
.bfm-sponsor-priority-actions > select { display: block; width: 38px; min-width: 38px; max-width: 38px; margin: 0; padding-right: 2px; padding-left: 4px; }
.bfm-sponsor-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 4px auto 0;
    padding: 0;
    color: #50575e;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}
.bfm-sponsor-row-icon:hover { color: #135e96; background: rgba(255,255,255,.65); }
.bfm-sponsor-row-icon.danger:hover { color: #b32d2e; }
.bfm-sponsor-row-icon svg { width: 16px; height: 16px; fill: currentColor; }
.bfm-sponsor-row-delete { margin: 0; }
.bfm-sponsor-text-cell {
    width: 672px;
    min-width: 600px;
    max-width: 816px;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
.bfm-sponsor-contact { width: 165px; min-width: 150px; max-width: 180px; white-space: normal !important; }
.bfm-sponsor-contact > * { display: block; overflow-wrap: anywhere; }
.bfm-sponsor-contact .bfm-sponsor-company { margin-bottom: 3px; }
.bfm-sponsor-compact-date { position: relative; display: grid; grid-template-columns: 60px 24px; align-items: center; gap: 3px; width: 87px; }
.bfm-sponsor-date-display { width: 60px !important; min-width: 60px !important; max-width: 60px !important; padding: 3px 4px !important; text-align: center; }
.bfm-sponsor-date-button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; padding: 0; color: #50575e; background: #fff; border: 1px solid #8c8f94; border-radius: 4px; cursor: pointer; }
.bfm-sponsor-date-button:hover { color: #135e96; border-color: #135e96; }
.bfm-sponsor-date-button svg { width: 15px; height: 15px; fill: currentColor; }
.bfm-sponsor-date-native { position: absolute !important; right: 0; bottom: 0; width: 1px !important; min-width: 1px !important; height: 1px !important; min-height: 1px !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.bfm-sponsor-date-display:invalid { border-color: #d63638; box-shadow: 0 0 0 1px #d63638; }
.bfm-sponsor-contact-history-table td:nth-child(1),
.bfm-sponsor-contact-history-table td:nth-child(3) { white-space: nowrap; }
.bfm-sponsor-contact-history-table .bfm-sponsor-history-heading th {
    padding-top: 14px;
    padding-bottom: 8px;
    text-align: left;
    background: #f3f4f5;
    border-top: 2px solid #dcdcde;
}
.bfm-sponsor-contact-history-table .bfm-sponsor-history-company { font-weight: 700; }
.bfm-sponsor-contact-history-table .bfm-sponsor-history-id {
    margin-left: 8px;
    color: #646970;
    font-size: 14px;
    font-weight: 600;
}
.bfm-sponsor-contact-history-table .bfm-sponsor-history-empty td { color: #646970; font-style: italic; }
.bfm-sponsor-option-col {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    text-align: center !important;
}
.bfm-vertical-option-heading {
    height: 140px;
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    padding: 6px 2px !important;
    text-align: center !important;
    vertical-align: bottom !important;
    white-space: normal !important;
}
.bfm-vertical-option-heading > span {
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    line-height: 1.05;
    white-space: nowrap;
}
.bfm-sponsor-option-cell { width: 28px; min-width: 28px; max-width: 28px; padding-right: 2px !important; padding-left: 2px !important; text-align: center !important; vertical-align: middle !important; }
.bfm-sponsor-check { color: #008a20; font-size: 18px; font-weight: 800; }
.bfm-has-tooltip { cursor: help; }
.bfm-sponsor-check.bfm-has-tooltip { display: inline-block; min-width: 18px; outline: none; }
.bfm-sponsor-tooltip-popover {
    position: fixed;
    z-index: 99999;
    display: none;
    width: max-content;
    max-width: min(360px,calc(100vw - 24px));
    padding: 7px 9px;
    color: #fff;
    background: #1d2327;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0,0,0,.22);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    pointer-events: none;
}
.bfm-sponsor-empty { color: #a7aaad; }
.bfm-sponsor-status-cell select { display: block; width: 145px; min-width: 145px; max-width: 145px; }
.bfm-sponsor-status-cell select + select { margin-top: 5px; }
.bfm-sponsor-invoice-select[hidden] { display: none !important; }
.bfm-sponsor-toolbar-actions,
.bfm-sponsor-filter-form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bfm-sponsor-toolbar-actions form { margin: 0; }
.bfm-list-heading-actions-only { justify-content: flex-end; }
.bfm-external-button.bfm-save-all { background: #607665; }
.bfm-external-button.bfm-save-all:hover { background: #4d6252; }

.bfm-sponsor-overview-toolbar { margin-bottom: 8px; }
.bfm-sponsor-overview-toolbar form { margin: 0 0 0 auto; }
.bfm-sponsor-smart-header { overflow: visible !important; }
.bfm-sponsor-header-controls { display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; }
.bfm-sponsor-header-collapse,
.bfm-sponsor-filter-toggle,
.bfm-sponsor-sort-button {
    min-height: 26px;
    margin: 0;
    padding: 2px 4px;
    color: #1d2327;
    background: transparent;
    border: 0;
    border-radius: 3px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.bfm-sponsor-header-collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    padding: 0;
    color: #1d2327;
    background: #fff;
    border: 1px solid #1d2327;
    border-radius: 3px;
    box-sizing: border-box;
    line-height: 1;
}
.bfm-sponsor-header-collapse svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 160ms ease;
}
.bfm-sponsor-header-collapse.is-collapsed svg { transform: rotate(180deg); }
.bfm-sponsor-filter-toggle { width: 22px; min-width: 22px; padding: 0; font-size: 15px; line-height: 1; }
.bfm-sponsor-header-collapse:hover {
    color: #1d2327;
    background: #f0f0f1;
    border-color: #1d2327;
}
.bfm-sponsor-filter-toggle:hover,
.bfm-sponsor-sort-button:hover { background: #dcdcde; }

/* Eingeklappt bleibt die Kopfzeile nur eine normale Textzeile hoch. */
.bfm-sponsor-table.is-header-collapsed thead th {
    height: auto !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
.bfm-sponsor-table.is-header-collapsed .bfm-vertical-option-heading {
    height: auto !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
.bfm-sponsor-table.is-header-collapsed .bfm-vertical-option-heading > span { display: none !important; }
.bfm-sponsor-filter-toggle.is-active { color: #fff; background: #2271b1; }
.bfm-sponsor-sort-button.is-active { color: #135e96; }
.bfm-sponsor-sort-indicator { display: inline-block; min-width: 11px; margin-left: 2px; }
.bfm-sponsor-filter-popover {
    position: fixed;
    z-index: 100000;
    width: min(270px,calc(100vw - 16px));
    max-height: min(420px,calc(100vh - 16px));
    overflow: auto;
    box-sizing: border-box;
    padding: 10px;
    color: #1d2327;
    background: #fff;
    border: 1px solid #8c8f94;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    font-size: 14px;
    line-height: 1.35;
}
.bfm-sponsor-filter-popover[hidden] { display: none !important; }
.bfm-sponsor-filter-group + .bfm-sponsor-filter-group { margin-top: 11px; padding-top: 10px; border-top: 1px solid #dcdcde; }
.bfm-sponsor-filter-group-title { display: block; margin-bottom: 6px; font-size: 14px; }
.bfm-sponsor-filter-values { display: grid; gap: 3px; max-height: 180px; overflow: auto; padding: 2px 0; }
.bfm-sponsor-filter-option { display: flex; align-items: flex-start; gap: 4px; margin: 0; padding: 2px 0; font-weight: 400; cursor: pointer; }
.bfm-sponsor-filter-option input { flex: 0 0 auto; margin: 1px 0 0; }
.bfm-sponsor-filter-all { margin-bottom: 4px; padding-bottom: 5px; border-bottom: 1px solid #eee; font-weight: 700; }
.bfm-sponsor-filter-reset {
    width: 100%;
    margin: 10px 0 0;
    padding: 6px 8px;
    color: #135e96;
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    cursor: pointer;
}
.bfm-sponsor-filter-reset:hover { background: #f0f0f1; border-color: #8c8f94; }

.bfm-sponsor-opportunity-fieldset { margin-top: 14px !important; }
.bfm-sponsor-opportunity-fieldset {
    max-width: 920px;
    padding: 12px !important;
    background: #fbfbfc;
}
.bfm-sponsor-opportunity-fieldset legend { padding: 0 6px; font-size: 17px; font-weight: 700; }
.bfm-sponsor-details-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 3px 12px;
    max-width: 920px;
}
.bfm-sponsor-details-grid .bfm-sponsor-email-field { grid-column: span 2; }
.bfm-sponsor-notes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 920px;
}
.bfm-external-form .bfm-sponsor-total-amount-field {
    max-width: 220px;
    margin: 12px 0 4px;
    padding: 9px 11px;
    background: #f1f6f2;
    border: 1px solid #cad7cd;
    border-radius: 6px;
}
.bfm-sponsor-total-amount-field .bfm-sponsor-amount-input { margin-top: 3px; }
.bfm-sponsor-total-amount-field .bfm-sponsor-amount-input input {
    width: 145px !important;
    margin-top: 0 !important;
}
.bfm-sponsor-option-grid { display: grid; grid-template-columns: 1fr; gap: 7px; }
.bfm-external-form .bfm-sponsor-option-card {
    display: grid;
    grid-template-columns: 22px minmax(220px,1fr) 205px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    font-weight: 400;
}
.bfm-external-form .bfm-sponsor-option-card:hover { border-color: #a7aaad; background: #fcfdfc; }
.bfm-sponsor-option-checkbox { width: 18px; height: 18px; margin: 0; }
.bfm-sponsor-option-info { display: grid; gap: 4px; min-width: 0; }
.bfm-sponsor-option-info strong { font-size: 15px; }
.bfm-external-form .bfm-sponsor-option-text { min-height: 30px; margin-top: 0; padding: 4px 7px; font-weight: 400; }
.bfm-external-form .bfm-sponsor-option-text::placeholder { color: #787c82; opacity: 1; }
.bfm-sponsor-option-card small { color: #50575e; }
.bfm-sponsor-option-card em { color: #646970; font-size: 14px; font-style: normal; }
.bfm-sponsor-threshold-hint {
    display: grid;
    gap: 2px;
    padding-left: 10px;
    border-left: 1px solid #dcdcde;
    color: #50575e;
    font-size: 14px;
}
.bfm-sponsor-threshold-hint strong { color: #1d2327; font-size: 15px; }
.bfm-sponsor-threshold-hint small { color: #646970; }
.bfm-sponsor-amount-input { display: flex; align-items: center; gap: 4px; }
.bfm-sponsor-amount-cell { min-width: 90px; text-align: right !important; white-space: nowrap; }

.bfm-sponsor-upload-fieldset {
    max-width: 920px;
    margin-top: 14px !important;
    padding: 12px !important;
    background: #fbfbfc;
}
.bfm-sponsor-upload-fieldset legend { padding: 0 6px; font-size: 17px; font-weight: 700; }
.bfm-sponsor-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.bfm-external-form .bfm-sponsor-upload-card {
    display: grid;
    grid-template-columns: 78px minmax(0,1fr);
    align-items: center;
    gap: 4px 10px;
    margin: 0;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}
.bfm-sponsor-upload-card strong { grid-row: 1 / span 2; }
.bfm-sponsor-upload-card input { min-width: 0; margin: 0 !important; padding: 4px !important; background: #f6f7f7; }
.bfm-sponsor-upload-card small { grid-column: 2; overflow: hidden; color: #646970; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }

.bfm-opportunity-table { min-width: 980px; }
.bfm-opportunity-table th:nth-child(1) { width: 25%; }
.bfm-opportunity-table th:nth-child(2) { width: 16%; }
.bfm-opportunity-table th:nth-child(3) { width: 35%; }
.bfm-opportunity-table th:nth-child(4) { width: 100px; }
.bfm-opportunity-table th:nth-child(5) { width: 82px; }
.bfm-opportunity-table th:nth-child(6) { width: 42px; }
.bfm-opportunity-table input,
.bfm-opportunity-table textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 32px;
    padding: 5px 7px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font: inherit;
}
.bfm-opportunity-table textarea { min-width: 280px; resize: vertical; }
.bfm-opportunity-value { display: flex; align-items: center; gap: 4px; }
.bfm-opportunity-value input { width: 82px; }
.bfm-opportunity-new-row { background: #f0f6f2; }
.bfm-opportunity-new-row td { border-top: 2px solid #607665; }
.bfm-opportunity-delete-heading,
.bfm-opportunity-delete-cell { width: 42px; min-width: 42px; padding-right: 4px !important; padding-left: 4px !important; text-align: center !important; vertical-align: middle !important; }
.bfm-opportunity-delete-form { margin: 0; }
.bfm-opportunity-delete-cell .bfm-sponsor-row-icon { margin: 0 auto; }
.bfm-opportunity-add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    padding: 0 0 2px;
    color: #fff;
    background: #607665;
    border: 0;
    border-radius: 50%;
    font: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.bfm-opportunity-add-button:hover { background: #4d6252; }
.bfm-sponsor-levels-table { width: 100%; }
.bfm-sponsor-levels-table th:first-child { width: 135px; white-space: nowrap; }
.bfm-sponsor-level-items { display: flex; flex-wrap: wrap; gap: 5px; }
.bfm-sponsor-level-items span { padding: 4px 7px; background: #f0f4f1; border: 1px solid #d4ddd6; border-radius: 4px; }
.bfm-sponsor-level-items .bfm-sponsor-level-includes { color: #50575e; background: #f6f7f7; border-style: dashed; font-weight: 700; }
.bfm-sponsor-totals-sections { display: grid; gap: 18px; }
.bfm-sponsor-totals-section { min-width: 0; }
.bfm-sponsor-totals-section h3 { margin: 0 0 6px; padding-left: 8px; border-left: 4px solid #8c6bb1; }
.bfm-sponsor-totals-section.status-angenommen h3 { border-left-color: #00a32a; }
.bfm-sponsor-totals-table { width: max-content !important; min-width: 100%; }
.bfm-sponsor-totals-table th,
.bfm-sponsor-totals-table td { white-space: nowrap; text-align: right; }
.bfm-sponsor-totals-table th:first-child { text-align: left; }
.bfm-sponsor-totals-table .bfm-vertical-option-heading { width: 30px; min-width: 30px; max-width: 30px; }
.bfm-sponsor-totals-table tbody th { background: #f6f7f7; }
.bfm-sponsor-totals-table tfoot th,
.bfm-sponsor-totals-table tfoot td { padding: 8px 7px; background: #eef4ef; border-top: 2px solid #607665; }
.bfm-sponsor-totals-table .bfm-sponsor-capacity-over { color: #b32d2e; background: #fbeaea; }
.bfm-inline-form { display: inline; }
.bfm-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.bfm-list-heading h3, .bfm-list-heading p { margin: 0; }
.bfm-compact-note, .bfm-external-help { color: #646970; font-size: 12px; }

.bfm-mail-form {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(300px,.72fr);
    align-items: start;
    gap: 12px;
    max-width: none;
}
.bfm-mail-section {
    padding: 13px;
    background: #fbfbfc;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}
.bfm-mail-section + .bfm-mail-section { margin-top: 0; }
.bfm-mail-section h3 { margin: 0 0 10px; }
.bfm-mail-basics-grid {
    display: grid;
    grid-template-columns: minmax(170px,.8fr) minmax(210px,1fr);
    gap: 10px;
}
.bfm-mail-subject-field { grid-column: 1 / -1; }
.bfm-mail-content-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.bfm-mail-content-grid textarea { min-height: 235px; resize: vertical; }
.bfm-mail-content-grid label { min-width: 0; }
.bfm-mail-content-grid .bfm-external-help { display: block; margin-top: 5px; font-weight: 400; }
.bfm-mail-editor-label { display: block; margin-bottom: 3px; font-weight: 600; }
.bfm-mail-placeholder-help { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; color: #50575e; font-size: 11px; font-weight: 400; }
.bfm-mail-placeholder-help > span { padding: 2px 5px; background: #f0f0f1; border-radius: 3px; }
.bfm-mail-placeholder-help code { font-size: 10px; }
.bfm-mail-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.bfm-mail-filter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.bfm-mail-filter-grid label { width: auto; }
.bfm-mail-opportunity-filter { margin: 1px 0 8px !important; padding: 7px 8px !important; background: #fff; }
.bfm-mail-opportunity-filter legend { padding: 0 4px; font-size: 12px; font-weight: 700; }
.bfm-mail-opportunity-filter > div { display: grid; gap: 2px; }
.bfm-external-form .bfm-mail-opportunity-filter label { display: flex; align-items: center; gap: 6px; margin: 0; padding: 2px 3px; font-size: 12px; font-weight: 400; }
.bfm-mail-opportunity-filter input { flex: 0 0 auto; margin: 0; }
.bfm-mail-opportunity-filter small { display: block; margin-top: 5px; color: #646970; font-size: 10px; }
.bfm-mail-preview-button { margin-bottom: 8px; }
.bfm-mail-recipient-list {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 8px;
    max-height: 90px;
    margin: 2px 0 11px;
    padding: 8px 10px;
    overflow: auto;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 12px;
}
.bfm-mail-recipient-list strong { white-space: nowrap; }
.bfm-mail-recipient-list span { color: #50575e; }
.bfm-mail-recipient-list-stacked { grid-template-columns: 1fr; max-height: 190px; }
.bfm-mail-recipient-list-stacked ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.bfm-mail-recipient-list-stacked li { display: grid; grid-template-columns: minmax(120px,auto) minmax(180px,1fr); gap: 8px; align-items: baseline; padding: 3px 0; border-top: 1px solid #f0f0f1; }
.bfm-mail-recipient-list-stacked li:first-child { border-top: 0; }
.bfm-mail-recipient-list-stacked code { color: #50575e; background: transparent; padding: 0; font: inherit; }
.bfm-mail-filter-disabled { color: #8c8f94; }
.bfm-mail-filter-disabled select { color: #8c8f94 !important; background: #f0f0f1 !important; cursor: not-allowed; }

.bfm-competition-compact-form { max-width: 930px; }
.bfm-competition-entry-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(330px,430px));
    gap: 7px 18px;
    align-items: start;
    margin-bottom: 10px;
}
.bfm-external-form .bfm-competition-entry-grid label {
    display: grid;
    grid-template-columns: 118px minmax(0,1fr);
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
}
.bfm-competition-entry-grid label > span { line-height: 1.25; }
.bfm-competition-entry-grid label > span small { display: block; margin-top: 2px; color: #646970; font-size: 10px; font-weight: 400; }
.bfm-external-form .bfm-competition-entry-grid input:not([type=checkbox]):not([type=radio]),
.bfm-external-form .bfm-competition-entry-grid textarea { margin-top: 0; }
.bfm-competition-entry-wide { grid-column: 1 / -1; }
.bfm-competition-notes-row textarea { max-width: 650px; min-height: 74px; }
.bfm-competition-file-row input[type=file] { max-width: 520px; }
.bfm-competition-password-row { max-width: 560px; }
.bfm-competition-password-row input { max-width: 330px; }
.bfm-stat-grid { display: flex; gap: 8px; margin: 0 0 10px; }
.bfm-stat-grid div { min-width: 150px; padding: 8px 11px; background: #f6f7f7; border-left: 4px solid #2271b1; }
.bfm-stat-grid strong { display: inline; margin-right: 5px; font-size: 1.15rem; }
.bfm-stat-grid span { color: #646970; }

.bfm-jury-progress { display: grid; gap: 4px; margin-bottom: 12px; }
.bfm-jury-progress-row { display: grid; grid-template-columns: minmax(160px,1.3fr) 1fr 1fr; gap: 8px; padding: 6px 9px; background: #f6f7f7; border-left: 4px solid #72aee6; }
.bfm-jury-progress-row span { color: #50575e; }

.bfm-rating-form.compact { display: grid; grid-template-columns: 70px minmax(110px,1fr) auto; gap: 5px; align-items: center; min-width: 260px; }
.bfm-rating-form.compact select,
.bfm-rating-form.compact input { width: 100%; min-height: 29px; margin: 0; padding: 4px 5px; font-size: 12px; }
.bfm-jury-row.group-0 { border-left: 4px solid #2271b1; }
.bfm-jury-row.group-1 { border-left: 4px solid #dba617; }
.bfm-jury-row.group-2 { border-left: 4px solid #00a32a; }
.bfm-jury-row.is-locked { border-left: 4px solid #8c8f94; color: #787c82; background: #f0f0f1; }
.bfm-jury-row.is-locked a { color: #787c82; }
.bfm-locked-label { display: inline-block; margin-top: 2px; padding: 2px 5px; color: #fff; background: #646970; border-radius: 3px; font-size: 11px; }
.bfm-rating-note { max-width: 230px; margin-top: 3px; font-size: 11px; }

.bfm-sheet-settings { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding: 8px 10px; background: #f6f7f7; border-left: 4px solid #2271b1; }
.bfm-sheet-settings h3, .bfm-sheet-settings p { margin: 0; }
.bfm-sheet-settings p { color: #646970; font-size: 12px; }
.bfm-threshold-form { display: flex; align-items: end; gap: 6px; white-space: nowrap; }
.bfm-threshold-form label { margin: 0; font-weight: 600; font-size: 12px; }
.bfm-threshold-form select { display: inline-block; width: 64px; min-height: 29px; margin: 2px 0 0; padding: 3px 5px; }
.bfm-ranking-section + .bfm-ranking-section { margin-top: 15px; }
.bfm-ranking-table td:first-child { width: 40px; text-align: center; }
.bfm-ranking-table td:last-child { color: #008a20; font-size: 14px; }

.bfm-external-intro { margin-bottom: 12px; }
.bfm-minor-consent { margin-bottom: 10px; padding: 9px; background: #f6f7f7; border-left: 4px solid #dba617; }

@media (max-width: 800px) {
    .bfm-external-shell { margin: 10px auto; }
    .bfm-external-grid.two, .bfm-external-grid.three { grid-template-columns: 1fr; }
    .bfm-external-card, .bfm-portal-card { padding: 12px; }
    .bfm-external-tabs a { border-radius: 4px; border-bottom: 1px solid #c3c4c7; }
    .bfm-sponsor-topline { align-items: stretch; flex-direction: column; }
    .bfm-sponsor-top-logout { align-self: flex-start; }
    .bfm-competition-entry-grid { grid-template-columns: 1fr; }
    .bfm-competition-entry-wide { grid-column: auto; }
    .bfm-external-form .bfm-competition-entry-grid label { grid-template-columns: 1fr; gap: 3px; }
    .bfm-status-row > strong { width: 100%; }
    .bfm-jury-progress-row { grid-template-columns: 1fr; }
    .bfm-stat-grid { flex-direction: column; }
    .bfm-sheet-settings { align-items: stretch; flex-direction: column; }
    .bfm-sponsor-option-grid { grid-template-columns: 1fr; }
    .bfm-sponsor-status-totals { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bfm-sponsor-details-grid,
    .bfm-sponsor-notes-grid { grid-template-columns: 1fr; }
    .bfm-sponsor-details-grid .bfm-sponsor-email-field { grid-column: auto; }
    .bfm-external-form .bfm-sponsor-option-card { grid-template-columns: 22px minmax(0,1fr); }
    .bfm-sponsor-threshold-hint { grid-column: 2; padding: 7px 0 0; border-top: 1px solid #dcdcde; border-left: 0; }
    .bfm-sponsor-upload-grid,
    .bfm-mail-basics-grid,
    .bfm-mail-content-grid { grid-template-columns: 1fr; }
    .bfm-external-form .bfm-sponsor-upload-card { grid-template-columns: 1fr; }
    .bfm-sponsor-upload-card strong,
    .bfm-sponsor-upload-card small { grid-row: auto; grid-column: auto; }
    .bfm-mail-recipient-list { grid-template-columns: 1fr; }
    .bfm-sponsor-toolbar-actions { align-items: stretch; flex-direction: column; }
}

@media (max-width: 980px) {
    .bfm-mail-form { grid-template-columns: 1fr; }
    .bfm-mail-section + .bfm-mail-section { margin-top: 0; }
}


/* Sponsorportal: reine Handy-Darstellung. Desktop/Tablet bleiben unverändert. */
@media (max-width: 700px) {
    .bfm-sponsor-shell {
        margin: 6px 0;
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    .bfm-sponsor-shell .bfm-external-card { padding: 8px; }
    .bfm-sponsor-navrow {
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }
    .bfm-sponsor-navrow .bfm-external-tabs {
        flex: 1 0 100%;
        width: 100%;
    }
    .bfm-sponsor-nav-save-form { padding: 0; }
    .bfm-sponsor-nav-logout { margin-left: auto; }
    .bfm-sponsor-topline { margin: 6px 0 10px; }
    .bfm-sponsor-status-totals {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        width: 100%;
        gap: 6px;
    }
    .bfm-sponsor-total-box { width: auto; min-width: 0; }
    .bfm-sponsor-top-logout { align-self: flex-end; }

    .bfm-sponsor-shell .bfm-external-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .bfm-sponsor-shell .bfm-external-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .bfm-sponsor-overview-toolbar,
    .bfm-sponsor-overview-toolbar form,
    .bfm-sponsor-overview-toolbar .bfm-save-all { width: 100%; }

    /* Die Desktop-Tabelle wird nur auf Handys zu einzelnen Karten. */
    .bfm-sponsor-table-wrap {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        border: 0;
        border-radius: 0;
    }
    .bfm-sponsor-table {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 15px;
        line-height: 1.4;
    }
    .bfm-sponsor-table thead { display: none; }
    .bfm-sponsor-table tbody {
        display: grid;
        gap: 10px;
    }
    .bfm-sponsor-table tbody tr[data-bfm-sponsor-row] {
        display: block;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        border: 1px solid #cfd2d4;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }
    .bfm-sponsor-table tbody tr.bfm-sponsor-marked,
    .bfm-sponsor-table tbody tr.bfm-sponsor-marked:hover {
        box-shadow: inset 4px 0 0 #e8d58a, 0 1px 3px rgba(0,0,0,.06);
    }
    .bfm-sponsor-table tbody tr.bfm-sponsor-status-angenommen,
    .bfm-sponsor-table tbody tr.bfm-sponsor-status-angenommen:hover {
        box-shadow: inset 4px 0 0 #a8d5ad, 0 1px 3px rgba(0,0,0,.06);
    }
    .bfm-sponsor-table tbody tr[data-bfm-sponsor-row] > td {
        display: block;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        box-sizing: border-box;
        padding: 8px 10px !important;
        white-space: normal !important;
        border-bottom: 1px solid rgba(140,143,148,.3);
        vertical-align: top !important;
        text-align: left !important;
    }
    .bfm-sponsor-table tbody tr[data-bfm-sponsor-row] > td:last-child { border-bottom: 0; }
    .bfm-sponsor-table tbody tr[data-bfm-sponsor-row] > td[data-mobile-label]::before {
        content: attr(data-mobile-label);
        display: block;
        margin-bottom: 4px;
        color: #646970;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: .035em;
        text-transform: uppercase;
    }

    .bfm-sponsor-priority-cell { background: rgba(255,255,255,.34); }
    .bfm-sponsor-control-stack {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-content: start;
        justify-items: start;
        align-items: center;
        gap: 6px;
        width: auto;
    }
    .bfm-sponsor-contacted-by-input { width: 87px !important; min-width: 87px !important; max-width: 87px !important; }
    .bfm-sponsor-priority-actions { justify-content: flex-start; width: auto; }
    .bfm-sponsor-priority-actions > select {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        margin: 0;
    }
    .bfm-sponsor-row-actions { grid-template-columns: repeat(2,30px); gap: 3px; }
    .bfm-sponsor-row-icon { width: 30px; height: 30px; }
    .bfm-sponsor-row-icon svg { width: 18px; height: 18px; }

    .bfm-sponsor-contact { background: rgba(255,255,255,.18); }
    .bfm-sponsor-contact .bfm-sponsor-company {
        margin-bottom: 4px;
        font-size: 18px;
        line-height: 1.25;
    }
    .bfm-sponsor-contact > * { overflow-wrap: anywhere; }

    /* iOS-Safari darf lange Anmerkungen nicht eigenmächtig größer skalieren. */
    .bfm-sponsor-text-cell {
        font-size: 15px !important;
        line-height: 1.42 !important;
        overflow-wrap: anywhere;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Auf dem Handy werden nur tatsächlich gebuchte Leistungen angezeigt. */
    .bfm-sponsor-table .bfm-sponsor-option-empty { display: none !important; }
    .bfm-sponsor-table .bfm-sponsor-option-selected {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) auto;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,.16);
    }
    .bfm-sponsor-table .bfm-sponsor-option-selected::before {
        margin: 0 !important;
        color: #50575e !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }
    .bfm-sponsor-table .bfm-sponsor-option-selected .bfm-sponsor-check {
        justify-self: end;
        font-size: 20px;
    }

    .bfm-sponsor-amount-cell { text-align: left !important; }
    .bfm-sponsor-amount-cell strong { font-size: 17px; }
    .bfm-sponsor-status-cell select {
        width: 100%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
    }

    /* 16px bei Eingabefeldern verhindert den automatischen iPhone-Zoom. */
    .bfm-sponsor-shell input:not([type=checkbox]):not([type=radio]),
    .bfm-sponsor-shell select,
    .bfm-sponsor-shell textarea { font-size: 17px; }
    .bfm-sponsor-shell .bfm-sponsor-date-display { font-size: 17px; }

    .bfm-sponsor-tooltip-popover {
        max-width: calc(100vw - 20px);
        padding: 9px 11px;
        font-size: 17px;
        line-height: 1.45;
    }

    /* Formularansichten des Sponsorportals ebenfalls ohne unnötige Breite. */
    .bfm-sponsor-details-grid,
    .bfm-sponsor-notes-grid,
    .bfm-sponsor-opportunity-fieldset,
    .bfm-sponsor-upload-fieldset { max-width: none; }
    .bfm-external-form .bfm-sponsor-total-amount-field { max-width: none; }
    .bfm-sponsor-total-amount-field .bfm-sponsor-amount-input input { width: 100% !important; }

    .bfm-sponsor-contact-history-table { min-width: 560px; }
    .bfm-sponsor-levels-wrap,
    .bfm-sponsor-totals-wrap { -webkit-overflow-scrolling: touch; }
}
