.jeiert-eb { container-type: inline-size; }
.jeiert-eb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}
.jeiert-eb-card {
    background: #fff;
    color: #17283a;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    padding: 16px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.jeiert-eb-role {
    display: inline-block;
    color: #075f59;
    font-size: .8em;
    font-weight: 700;
    margin-bottom: 10px;
}
.jeiert-eb-person { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.jeiert-eb-details { flex: 1 1 125px; min-width: 0; }
.jeiert-eb-details h3 { color: #17283a; font-size: 1.05em; line-height: 1.3; margin: 0 0 4px; }
.jeiert-eb-details p { font-size: .9em; line-height: 1.4; margin: 0 0 4px; }
.jeiert-eb-position { color: #075f59; font-weight: 600; }
.jeiert-eb-location { color: #526477; }
.jeiert-eb-avatar {
    display: grid;
    place-items: center;
    width: var(--jeiert-eb-size);
    height: var(--jeiert-eb-size);
    flex: none;
    max-width: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #e2f2ef;
    color: #075f59;
    font-weight: 700;
    font-size: calc(var(--jeiert-eb-size) * .42);
}
.jeiert-eb-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@container (max-width: 720px) {
    .jeiert-eb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 480px) {
    .jeiert-eb-grid { grid-template-columns: minmax(0, 1fr); }
}
.jeiert-eb-open {
    margin-top: 12px;
    border: 1px solid #a8cfca;
    border-radius: 6px;
    background: #edf7f5;
    color: #07554f;
    padding: .4em .75em;
    cursor: pointer;
}
.jeiert-eb-dialog {
    box-sizing: border-box;
    width: min(640px, calc(100% - 24px));
    max-height: 90vh;
    max-height: 90dvh;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #17283a;
    overflow: hidden;
}
.jeiert-eb-dialog[open] { display: flex; flex-direction: column; }
.jeiert-eb-dialog::backdrop { background: rgb(10 26 32 / 55%); }
.jeiert-eb-dialog-header {
    position: relative;
    padding: 20px 46px 20px 20px;
    background: #104d46;
    color: #fff;
}
.jeiert-eb-dialog-header h3 { color: #fff; }
.jeiert-eb-dialog-header .jeiert-eb-role {
    color: #fff;
    background: #316b64;
    border-radius: 20px;
    padding: 2px 10px;
}
.jeiert-eb-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #316b64;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.jeiert-eb-stats {
    display: flex;
    margin: 0;
    border-bottom: 1px solid #dbe4ef;
}
.jeiert-eb-stats div {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    overflow-wrap: anywhere;
}
.jeiert-eb-stats div + div { border-left: 1px solid #dbe4ef; }
.jeiert-eb-stats dt { font-size: .8em; color: #526477; }
.jeiert-eb-stats dd { order: -1; margin: 0; font-weight: 700; color: #075f59; }
.jeiert-eb-bio { min-height: 0; overflow-y: auto; padding: 18px 20px; }
.jeiert-eb-bio h4 { margin: 0 0 8px; color: #075f59; }
.jeiert-eb-bio p { margin: 0 0 .8em; line-height: 1.65; }
.jeiert-eb-grid > .jeiert-eb-group-heading {
    grid-column: 1 / -1;
    margin: 10px 0 0;
    padding-left: 8px;
    border-left: 2px solid #075f59;
    color: #17283a;
    font-size: 1.1em;
    line-height: 1.3;
}
