
/*
 * NaturFreunde Essen – globale Modernisierung
 * Bewusst nur vorhandene Theme-Klassen gestalten, keine Inhalte ersetzen.
 */
.nfe-modern-suite{
  --nfe-green:#173f30;
  --nfe-green-2:#236247;
  --nfe-green-3:#2f6c4c;
  --nfe-red:#c8141d;
  --nfe-lime:#dce97b;
  --nfe-ink:#19271f;
  --nfe-muted:#69766e;
  --nfe-soft:#f3f7f4;
  --nfe-soft-2:#edf3ef;
  --nfe-line:#dce6df;
  --nfe-white:#fff;
}

/* Grundrhythmus */
.nfe-modern-suite .wrap{width:min(1120px,calc(100% - 34px));margin-inline:auto}
.nfe-modern-suite .section{padding-top:38px;padding-bottom:38px}
.nfe-modern-suite .section.soft{background:var(--nfe-soft-2)}
.nfe-modern-suite .section.sand{background:#f3efe5}
.nfe-modern-suite .section-title,
.nfe-modern-suite .nf7-section-head,
.nfe-modern-suite .nfch-title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  margin-bottom:17px;
}
.nfe-modern-suite .section-title h2,
.nfe-modern-suite .nf7-section-head h2,
.nfe-modern-suite .nfch-title-row h2{
  margin:4px 0 0;
  font-size:clamp(27px,3.4vw,43px);
  line-height:.98;
  letter-spacing:-.045em;
}
.nfe-modern-suite .section-title p,
.nfe-modern-suite .nf7-section-head p,
.nfe-modern-suite .nfch-title-row>p{
  max-width:500px;
  margin:0;
  color:var(--nfe-muted);
  font-size:10.5px;
  line-height:1.5;
}
.nfe-modern-suite .eyebrow,
.nfe-modern-suite .kicker,
.nfe-modern-suite .nf7-kicker{
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
  text-transform:uppercase;
}

/* Einheitlicher Seitenkopf */
.nfe-modern-suite .nf7-page-hero{
  position:relative;
  overflow:hidden;
  padding:44px 0 42px!important;
  background:linear-gradient(145deg,var(--nfe-green),var(--nfe-green-2))!important;
  color:#fff!important;
}
.nfe-modern-suite .nf7-page-hero:before{
  content:'';
  position:absolute;
  left:0;top:0;
  width:145px;height:5px;
  background:var(--nfe-red);
}
.nfe-modern-suite .nf7-page-hero:after{
  content:'';
  position:absolute;
  right:-100px;
  bottom:-145px;
  width:360px;height:360px;
  border-radius:50%;
  background:rgba(255,255,255,.045);
}
.nfe-modern-suite .nf7-page-hero .wrap{position:relative;z-index:1}
.nfe-modern-suite .nf7-breadcrumb,
.nfe-modern-suite .nf7-breadcrumb a{color:rgba(255,255,255,.66)!important}
.nfe-modern-suite .nf7-page-hero .nf7-kicker{color:var(--nfe-lime)!important}
.nfe-modern-suite .nf7-page-hero h1{
  margin-top:7px!important;
  font-size:clamp(40px,5.6vw,67px)!important;
  line-height:.92!important;
  letter-spacing:-.055em!important;
  color:#fff!important;
}
.nfe-modern-suite .nf7-page-hero .nf7-page-hero-intro{
  max-width:720px;
  color:rgba(255,255,255,.76)!important;
  font-size:12px!important;
  line-height:1.6!important;
}
.nfe-modern-suite .nf7-stat-stack{gap:7px!important}
.nfe-modern-suite .nf7-stat-stack>div{
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.085)!important;
  box-shadow:none!important;
}
.nfe-modern-suite .nf7-stat-stack strong{color:var(--nfe-lime)!important}
.nfe-modern-suite .nf7-stat-stack span{color:rgba(255,255,255,.68)!important}
.nfe-modern-suite .nf7-page-links a{
  border-color:rgba(255,255,255,.18)!important;
  border-radius:8px!important;
  color:#fff!important;
  background:rgba(255,255,255,.06)!important;
}

/* Subnavigation */
.nfe-modern-suite .subnav{
  position:sticky;
  top:0;
  z-index:18;
  border-bottom:1px solid var(--nfe-line);
  background:rgba(255,255,255,.95)!important;
  backdrop-filter:blur(14px);
}
.nfe-modern-suite .subnav-inner{
  display:flex;
  gap:4px!important;
  overflow:auto;
  padding-top:7px!important;
  padding-bottom:7px!important;
}
.nfe-modern-suite .subnav a{
  white-space:nowrap;
  padding:7px 9px!important;
  border-radius:8px;
  color:#58665e!important;
  font-size:8px!important;
  font-weight:800!important;
  text-decoration:none;
}
.nfe-modern-suite .subnav a:hover{background:#eaf3ed;color:var(--nfe-green)!important}

/* Intro-Bereiche */
.nfe-modern-suite .intro-grid{
  gap:16px!important;
  align-items:stretch;
}
.nfe-modern-suite .prose{
  padding:21px;
  border:1px solid var(--nfe-line);
  border-radius:17px;
  background:#fff;
}
.nfe-modern-suite .prose h2{
  font-size:clamp(27px,3vw,40px)!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
}
.nfe-modern-suite .prose p{color:var(--nfe-muted);font-size:10.5px;line-height:1.55}
.nfe-modern-suite .highlight{
  border:0!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,var(--nfe-green),var(--nfe-green-2))!important;
  color:#fff!important;
  box-shadow:0 12px 34px rgba(22,61,44,.11);
}
.nfe-modern-suite .highlight .quote,
.nfe-modern-suite .highlight p{color:rgba(255,255,255,.77)!important}

/* Karten allgemein */
.nfe-modern-suite .cards-3,
.nfe-modern-suite .quick-actions{
  gap:10px!important;
}
.nfe-modern-suite .info-card,
.nfe-modern-suite .quick-action,
.nfe-modern-suite .progress-card,
.nfe-modern-suite .metric,
.nfe-modern-suite .contact-box{
  border:1px solid var(--nfe-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(24,63,43,.035)!important;
}
.nfe-modern-suite a.quick-action,
.nfe-modern-suite .info-card a{transition:transform .16s ease,box-shadow .16s ease}
.nfe-modern-suite a.quick-action:hover,
.nfe-modern-suite .info-card:hover{
  transform:translateY(-2px);
  box-shadow:0 11px 27px rgba(24,63,43,.07)!important;
}
.nfe-modern-suite .quick-action{
  min-height:155px;
  padding:16px!important;
  display:flex;
  flex-direction:column;
}
.nfe-modern-suite .quick-action strong{margin-top:10px;font-size:14px!important;letter-spacing:-.02em}
.nfe-modern-suite .quick-action span{margin-top:5px;color:var(--nfe-muted);font-size:8.5px;line-height:1.4}
.nfe-modern-suite .info-card{padding:18px!important}
.nfe-modern-suite .info-card .kicker{color:var(--nfe-green-3)!important}
.nfe-modern-suite .info-card h3{font-size:20px!important;letter-spacing:-.035em!important}
.nfe-modern-suite .info-card p{font-size:9px;line-height:1.45;color:var(--nfe-muted)}
.nfe-modern-suite .info-card.emphasis{
  background:linear-gradient(145deg,var(--nfe-green),var(--nfe-green-2))!important;
  color:#fff!important;
  border-color:transparent!important;
}
.nfe-modern-suite .info-card.emphasis p{color:rgba(255,255,255,.72)!important}

/* Buttons */
.nfe-modern-suite .btn,
.nfe-modern-suite .nf7-btn,
.nfe-modern-suite button[type="submit"]{
  border-radius:9px!important;
  box-shadow:none!important;
  font-weight:850!important;
}
.nfe-modern-suite .btn.green,
.nfe-modern-suite .nf7-btn.green,
.nfe-modern-suite button[type="submit"]{background:var(--nfe-green)!important;color:#fff!important}
.nfe-modern-suite .btn.red{background:var(--nfe-red)!important;color:#fff!important}
.nfe-modern-suite .btn.outline{border-color:#cbd9d0!important;color:var(--nfe-green)!important;background:#fff!important}
.nfe-modern-suite .text-link{color:var(--nfe-green-3)!important;font-weight:800!important}

/* Termine */
.nfe-modern-suite .filter-box,
.nfe-modern-suite .event-filter-panel{
  padding:15px!important;
  border:1px solid var(--nfe-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(24,63,43,.035)!important;
}
.nfe-modern-suite .event-filter-chip{
  border-radius:999px!important;
  border-color:#dbe5df!important;
  background:#f7faf8!important;
  color:#53645a!important;
}
.nfe-modern-suite .event-filter-chip.is-active{
  background:var(--nfe-green)!important;
  border-color:var(--nfe-green)!important;
  color:#fff!important;
}
.nfe-modern-suite .event-card{
  overflow:hidden;
  border:1px solid var(--nfe-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(24,63,43,.04)!important;
}
.nfe-modern-suite .event-date{background:#eaf3ed!important;color:var(--nfe-green)!important}
.nfe-modern-suite .event-card h3{letter-spacing:-.025em}
.nfe-modern-suite .event-card-body>p{color:var(--nfe-muted)}
.nfe-modern-suite .event-type-badge{border-radius:999px!important;background:#edf3ef!important;color:#36684d!important}

/* Formulare */
.nfe-modern-suite .nf-form,
.nfe-modern-suite .form-card,
.nfe-modern-suite form[class*="form"]{
  border-radius:16px;
}
.nfe-modern-suite input:not([type="checkbox"]):not([type="radio"]),
.nfe-modern-suite select,
.nfe-modern-suite textarea{
  border:1px solid #d9e3dc!important;
  border-radius:9px!important;
  background:#fbfcfb!important;
  box-shadow:none!important;
}
.nfe-modern-suite input:focus,
.nfe-modern-suite select:focus,
.nfe-modern-suite textarea:focus{
  outline:2px solid rgba(47,108,76,.15)!important;
  border-color:#9cb9a7!important;
}
.nfe-modern-suite fieldset{
  border-radius:12px!important;
  border-color:var(--nfe-line)!important;
}
.nfe-modern-suite label{color:#405149}

/* FAQ */
.nfe-modern-suite .faq-list{display:grid;gap:7px!important}
.nfe-modern-suite .faq-list details{
  border:1px solid var(--nfe-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  overflow:hidden;
}
.nfe-modern-suite .faq-list summary{
  padding:12px 14px!important;
  color:#253b30!important;
  font-size:9px!important;
  font-weight:850!important;
}
.nfe-modern-suite .faq-list details>div{padding:0 14px 13px!important;color:var(--nfe-muted)!important;font-size:8.5px!important;line-height:1.5}

/* Timeline */
.nfe-modern-suite .timeline{gap:7px!important}
.nfe-modern-suite .timeline-item{
  position:relative;
  padding:13px 14px 13px 18px!important;
  border:1px solid var(--nfe-line)!important;
  border-radius:11px!important;
  background:#fff!important;
}
.nfe-modern-suite .timeline-item:before{
  content:'';
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:var(--nfe-green-3);
}

/* Bezirksgruppen-Hub */
.nfe-modern-suite .nf-district-hub-grid{gap:10px!important}
.nfe-modern-suite .nf-district-hub-card{
  border-radius:17px!important;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(24,63,43,.06)!important;
}
.nfe-modern-suite .nf-district-hub-card h2,
.nfe-modern-suite .nf-district-hub-card h3{letter-spacing:-.04em!important}
.nfe-modern-suite .nf-district-hub-note{border-radius:12px!important;background:#edf3ef!important}

/* Naturfreundejugend */
.nfe-modern-suite .nfj-actions{gap:9px!important}
.nfe-modern-suite [class*="nfj-"] .info-card,
.nfe-modern-suite [class*="nfj-"] article{
  border-radius:14px;
}
.nfe-modern-suite .nfj-actions a{border-radius:9px!important}

/* Naturfreundehaus */
.nfe-modern-suite .nf-house-intro-grid,
.nfe-modern-suite .nf-house-room-grid{gap:10px!important}
.nfe-modern-suite .nf-house-contact-card,
.nfe-modern-suite .nf-house-room-card,
.nfe-modern-suite .nfhp-profile,
.nfe-modern-suite .nfhp-content{
  border:1px solid var(--nfe-line)!important;
  border-radius:16px!important;
  box-shadow:0 6px 20px rgba(24,63,43,.04)!important;
}
.nfe-modern-suite .nf-house-contact-card{background:linear-gradient(145deg,var(--nfe-green),var(--nfe-green-2))!important;color:#fff!important}
.nfe-modern-suite .nf-house-contact-card a{color:var(--nfe-lime)!important}
.nfe-modern-suite .nf-house-open{border-radius:999px!important}

/* Mitglied werden */
.nfe-modern-suite .nf-member-districts{gap:9px!important}
.nfe-modern-suite .nf-member-districts a{
  border:1px solid var(--nfe-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 17px rgba(24,63,43,.035)!important;
}
.nfe-modern-suite .nf-member-form-layout{gap:17px!important}
.nfe-modern-suite .nf-member-form-copy{
  border-radius:17px!important;
  background:linear-gradient(145deg,var(--nfe-green),var(--nfe-green-2))!important;
  color:#fff!important;
}
.nfe-modern-suite .nf-member-form-copy p{color:rgba(255,255,255,.72)!important}
.nfe-modern-suite .nf-member-form-hints>div{border-radius:9px;background:rgba(255,255,255,.08)}

/* Menschen / Personen */
.nfe-modern-suite .people-grid,
.nfe-modern-suite .person-grid{gap:10px!important}
.nfe-modern-suite .person-card{
  border:1px solid var(--nfe-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(24,63,43,.04)!important;
  overflow:hidden;
}
.nfe-modern-suite .person-card h3{letter-spacing:-.03em!important}

/* Presse / Aktuelles / Postkarten */
.nfe-modern-suite .post-card,
.nfe-modern-suite .editable-content{
  border:1px solid var(--nfe-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(24,63,43,.035)!important;
}
.nfe-modern-suite .post-card{overflow:hidden}
.nfe-modern-suite .post-card h2,
.nfe-modern-suite .post-card h3{letter-spacing:-.035em!important}

/* CTA */
.nfe-modern-suite .cta{
  border-radius:18px!important;
  background:linear-gradient(145deg,var(--nfe-green),var(--nfe-green-2))!important;
  color:#fff!important;
  box-shadow:0 12px 32px rgba(22,61,44,.11)!important;
}
.nfe-modern-suite .cta p{color:rgba(255,255,255,.72)!important}

/* Editor-Hinweise unaufdringlicher */
.nfe-modern-suite .edit-hint{
  max-width:1120px;
  margin:10px auto!important;
  padding:8px 10px!important;
  border:1px dashed #d4dfd8!important;
  border-radius:9px!important;
  background:#f8faf8!important;
  color:#7c8981!important;
  font-size:7.5px!important;
}

/* Kontakt/Chronik-Plugins behalten ihr eigenes Design */
.nfe-modern-suite .nfe-contact-modern .section,
.nfe-modern-suite .nfe-chronik-modern .section{padding:unset}

/* Mobile */
@media(max-width:850px){
  .nfe-modern-suite .section-title,
  .nfe-modern-suite .nf7-section-head,
  .nfe-modern-suite .nfch-title-row{align-items:flex-start;flex-direction:column}
  .nfe-modern-suite .cards-3{grid-template-columns:1fr 1fr!important}
}
@media(max-width:700px){
  .nfe-modern-suite .wrap{width:calc(100% - 24px)}
  .nfe-modern-suite .section{padding-top:29px;padding-bottom:29px}
  .nfe-modern-suite .nf7-page-hero{padding:34px 0!important}
  .nfe-modern-suite .cards-3,
  .nfe-modern-suite .quick-actions{grid-template-columns:1fr!important}
  .nfe-modern-suite .intro-grid{grid-template-columns:1fr!important}
  .nfe-modern-suite .info-card,
  .nfe-modern-suite .quick-action{min-height:0}
}

.nfe-tf-shell{
  --tf-green:#176b46;
  --tf-dark:#173f30;
  --tf-lime:#dce97b;
  --tf-ink:#17211d;
  --tf-muted:#6e7a72;
  --tf-line:#dfe7e2;
  width:min(1180px,calc(100% - 34px));
  margin:0 auto 22px;
}
.nfe-tf-box{
  position:relative;
  overflow:hidden;
  padding:18px 19px 16px;
  border:1px solid var(--tf-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 10px 28px rgba(23,63,48,.055);
}
.nfe-tf-box:before{
  content:"";
  position:absolute;
  left:0;top:0;
  width:110px;height:4px;
  background:#c8141d;
}
.nfe-tf-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:13px;
}
.nfe-tf-copy small{
  display:block;
  margin-bottom:3px;
  color:var(--tf-green);
  font-size:8px;
  font-weight:950;
  letter-spacing:.12em;
}
.nfe-tf-copy strong{
  display:block;
  color:var(--tf-ink);
  font-size:20px;
  line-height:1.05;
  letter-spacing:-.025em;
}
.nfe-tf-copy span{
  display:block;
  margin-top:4px;
  color:var(--tf-muted);
  font-size:9px;
}
.nfe-tf-reset{
  border:0;
  background:transparent;
  color:var(--tf-green);
  font:inherit;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.nfe-tf-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.nfe-tf-chip{
  appearance:none;
  min-height:36px;
  padding:0 11px;
  border:1px solid var(--tf-line);
  border-radius:999px;
  background:#f8faf9;
  color:#48584f;
  font:inherit;
  font-size:8.5px;
  font-weight:850;
  cursor:pointer;
  transition:.15s ease;
}
.nfe-tf-chip:hover{
  transform:translateY(-1px);
  border-color:#b9cec0;
  background:#f2f7f4;
}
.nfe-tf-chip.is-active{
  border-color:var(--tf-green);
  background:var(--tf-green);
  color:#fff;
}
.nfe-tf-count{
  display:inline-grid;
  min-width:18px;
  height:18px;
  place-items:center;
  margin-left:5px;
  padding:0 5px;
  border-radius:999px;
  background:rgba(23,107,70,.09);
  color:var(--tf-green);
  font-size:7px;
}
.nfe-tf-chip.is-active .nfe-tf-count{
  background:rgba(255,255,255,.16);
  color:#fff;
}
.nfe-tf-empty{
  display:none;
  width:min(1180px,calc(100% - 34px));
  margin:10px auto 30px;
  padding:22px;
  border:1px dashed #cad8cf;
  border-radius:15px;
  background:#f8faf9;
  color:#66736b;
  font-size:10px;
  text-align:center;
}
.nfe-tf-empty.is-visible{display:block}
.nfe-tf-hidden{display:none!important}

@media(max-width:700px){
  .nfe-tf-shell{width:calc(100% - 24px);margin-bottom:15px}
  .nfe-tf-box{padding:16px 14px 14px}
  .nfe-tf-head{align-items:flex-start;flex-direction:column;gap:6px}
  .nfe-tf-chips{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .nfe-tf-chip{
    width:100%;
    text-align:left;
    padding:0 10px;
  }
}
@media(max-width:430px){
  .nfe-tf-chips{grid-template-columns:1fr}
}

/* ==========================================================
   Benutzerkonten Modern v1.2.0
   ECHTE NewsletterStudio-Optik
   ========================================================== */
.nfe-account-page.nfe-bm-ready{
 --bm-green:#176b46;
 --bm-green2:#1f7d54;
 --bm-deep:#1d2822;
 --bm-deep2:#26332c;
 --bm-lime:#dce97b;
 --bm-red:#cf493e;
 --bm-ink:#17211d;
 --bm-muted:#6e7872;
 --bm-line:#e0e7e3;
 --bm-soft:#f5f7f6;
 padding:0!important;
 background:#eef2ef!important;
 color:var(--bm-ink)!important;
}

.nfe-bm-ready .nfe-account-wrap{
 width:auto!important;
 max-width:none!important;
 margin:0!important;
 padding:22px 24px 44px!important;
}

.nfe-bm-remove{display:none!important}

/* APP SHELL */
.nfe-bm-shell{
 width:min(1480px,calc(100% - 22px));
 min-height:820px;
 margin:12px auto 38px;
 display:grid;
 grid-template-columns:245px minmax(0,1fr);
 overflow:hidden;
 border:1px solid #d8e0db;
 border-radius:20px;
 background:#fff;
 box-shadow:0 24px 70px rgba(23,63,48,.10);
}

.nfe-bm-sidebar{
 display:flex;
 min-height:820px;
 flex-direction:column;
 padding:16px 12px;
 background:linear-gradient(180deg,#1c2821 0%,#223129 100%);
 color:#fff;
}

.nfe-bm-side-brand{
 display:grid;
 grid-template-columns:42px 1fr;
 gap:10px;
 align-items:center;
 padding:8px 8px 18px;
 border-bottom:1px solid rgba(255,255,255,.09);
}

.nfe-bm-side-logo{
 display:grid;
 width:40px;
 height:40px;
 place-items:center;
 border-radius:11px;
 background:var(--bm-green);
 color:#fff;
 font-size:12px;
 font-weight:950;
}

.nfe-bm-side-brand strong,
.nfe-bm-side-brand small{
 display:block;
}

.nfe-bm-side-brand strong{
 font-size:15px;
}

.nfe-bm-side-brand small{
 margin-top:1px;
 font-size:9px;
 font-weight:900;
 letter-spacing:.13em;
 color:#9ab2a4;
}

.nfe-bm-side-nav{
 display:grid;
 gap:4px;
 margin-top:14px;
}

.nfe-bm-side-nav>small{
 margin:13px 9px 3px;
 font-size:9px;
 font-weight:900;
 letter-spacing:.13em;
 color:#73877b;
}

.nfe-bm-side-nav button{
 display:grid;
 grid-template-columns:28px 1fr;
 gap:8px;
 align-items:center;
 width:100%;
 min-height:42px;
 padding:7px 9px;
 border:0;
 border-radius:9px;
 background:transparent;
 color:#dce4df;
 text-align:left;
 cursor:pointer;
}

.nfe-bm-side-nav button:hover{
 background:rgba(255,255,255,.055);
}

.nfe-bm-side-nav button.active{
 background:var(--bm-green);
 color:#fff;
}

.nfe-bm-side-nav button span{
 display:grid;
 width:27px;
 height:27px;
 place-items:center;
 border-radius:7px;
 background:rgba(255,255,255,.07);
 font-size:12px;
}

.nfe-bm-side-nav button.active span{
 background:rgba(255,255,255,.13);
}

.nfe-bm-side-nav button b{
 font-size:13px;
 font-weight:750;
}

.nfe-bm-side-footer{
 margin-top:auto;
 padding:12px 10px;
 border:1px solid rgba(255,255,255,.08);
 border-radius:10px;
 background:rgba(255,255,255,.035);
}

.nfe-bm-side-footer strong,
.nfe-bm-side-footer small{
 display:block;
}

.nfe-bm-side-footer strong{
 font-size:11px;
}

.nfe-bm-side-footer small{
 margin-top:3px;
 font-size:9px;
 color:#86988d;
}

.nfe-bm-workspace{
 min-width:0;
 background:#f5f7f6;
}

.nfe-bm-topbar{
 min-height:70px;
 display:flex;
 justify-content:space-between;
 gap:18px;
 align-items:center;
 padding:0 24px;
 border-bottom:1px solid var(--bm-line);
 background:#fff;
}

.nfe-bm-topbar>div:first-child{
 display:flex;
 align-items:center;
 gap:9px;
 flex-wrap:wrap;
}

.nfe-bm-topbar small{
 font-size:9px;
 font-weight:900;
 letter-spacing:.12em;
 color:#87938c;
}

.nfe-bm-topbar strong{
 font-size:20px;
 letter-spacing:-.02em;
}

.nfe-bm-secure{
 padding:5px 8px;
 border-radius:999px;
 background:#e8f3ec;
 color:var(--bm-green);
 font-size:10px;
 font-weight:800;
}

.nfe-bm-top-actions{
 display:flex;
 gap:7px;
}

.nfe-bm-top-actions a,
.nfe-bm-top-actions button{
 min-height:38px;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 padding:0 13px;
 border:1px solid var(--bm-line);
 border-radius:9px;
 background:#fff;
 color:#3c5145;
 text-decoration:none;
 font-size:12px;
 font-weight:800;
 cursor:pointer;
}

.nfe-bm-top-actions button{
 border-color:var(--bm-green);
 background:var(--bm-green);
 color:#fff;
}

/* original hero becomes NewsletterStudio content title */
.nfe-bm-ready .nfe-account-hero.nfe-bm-hero{
 display:grid!important;
 grid-template-columns:1fr auto!important;
 gap:18px!important;
 align-items:end!important;
 margin:0 0 15px!important;
 padding:0!important;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
 color:var(--bm-ink)!important;
}

.nfe-bm-ready .nfe-account-hero.nfe-bm-hero:before{display:none!important}

.nfe-bm-ready .nfe-account-hero span{
 display:block!important;
 font-size:10px!important;
 font-weight:900!important;
 letter-spacing:.12em!important;
 color:var(--bm-green)!important;
}

.nfe-bm-ready .nfe-account-hero h1{
 margin:3px 0 6px!important;
 font-size:36px!important;
 line-height:1!important;
 letter-spacing:-.04em!important;
 color:var(--bm-ink)!important;
}

.nfe-bm-ready .nfe-account-hero p{
 max-width:780px!important;
 margin:0!important;
 font-size:14px!important;
 line-height:1.45!important;
 color:var(--bm-muted)!important;
}

.nfe-bm-ready .nfe-account-secondary{
 display:none!important;
}

.nfe-bm-new-account{
 display:none!important;
}

/* WHITE PANELS */
.nfe-bm-dashboard,
.nfe-bm-ready .nfe-account-create,
.nfe-bm-ready .nfe-account-section.nfe-bm-list-section{
 margin:0 0 12px!important;
 padding:16px!important;
 border:1px solid var(--bm-line)!important;
 border-radius:14px!important;
 background:#fff!important;
 box-shadow:none!important;
}

/* dashboard */
.nfe-bm-dashboard-head{
 display:flex;
 justify-content:space-between;
 align-items:end;
 gap:15px;
 margin-bottom:12px;
}

.nfe-bm-dashboard-head small{
 display:block;
 font-size:9px;
 font-weight:900;
 letter-spacing:.12em;
 color:var(--bm-green);
}

.nfe-bm-dashboard-head h2{
 margin:3px 0 0;
 font-size:24px;
 letter-spacing:-.035em;
}

.nfe-bm-dashboard-head>span{
 padding:6px 8px;
 border-radius:999px;
 background:var(--bm-soft);
 font-size:11px;
 color:var(--bm-muted);
}

.nfe-bm-stats{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 gap:8px;
}

.nfe-bm-stats article{
 min-height:94px;
 padding:13px;
 border:1px solid #e8ece9;
 border-radius:11px;
 background:#fafbfa;
}

.nfe-bm-stats article:first-child{
 background:#edf5f0;
 border-color:#d8e9df;
}

.nfe-bm-stats article.attention{
 background:#fff8e7;
 border-color:#efe1b6;
}

.nfe-bm-stats small,
.nfe-bm-stats strong,
.nfe-bm-stats span{display:block}

.nfe-bm-stats small{
 font-size:8px;
 font-weight:900;
 letter-spacing:.08em;
 color:#718078;
}

.nfe-bm-stats strong{
 margin-top:6px;
 font-size:29px;
 line-height:1;
}

.nfe-bm-stats span{
 margin-top:6px;
 font-size:11px;
 color:var(--bm-muted);
}

/* warning */
.nfe-bm-ready .nfe-account-admin-warning.nfe-bm-warning{
 margin:0 0 12px!important;
 padding:11px 13px!important;
 border:1px solid #efdfad!important;
 border-radius:11px!important;
 background:#fff9e8!important;
 font-size:12px!important;
 line-height:1.4!important;
}

/* create */
.nfe-bm-ready .nfe-account-create.nfe-bm-create-collapsed{display:none!important}

.nfe-bm-ready .nfe-account-create .nfe-account-sectionhead{
 position:relative;
 padding-right:110px;
}

.nfe-bm-ready .nfe-account-create .nfe-account-sectionhead small,
.nfe-bm-list-head small{
 font-size:9px!important;
 font-weight:900!important;
 letter-spacing:.12em!important;
 color:var(--bm-green)!important;
}

.nfe-bm-ready .nfe-account-create .nfe-account-sectionhead h2,
.nfe-bm-list-head h2{
 margin:3px 0 5px!important;
 font-size:24px!important;
 letter-spacing:-.035em!important;
}

.nfe-bm-ready .nfe-account-create .nfe-account-sectionhead p{
 margin:0!important;
 font-size:12px!important;
 color:var(--bm-muted)!important;
}

.nfe-bm-create-close{
 position:absolute;
 right:0;
 top:0;
 padding:7px 10px;
 border:1px solid var(--bm-line);
 border-radius:8px;
 background:#fff;
 color:#607067;
 font-size:11px;
 cursor:pointer;
}

.nfe-bm-ready .nfe-account-create .nfe-account-form{
 grid-template-columns:1fr 1fr!important;
 gap:10px!important;
 margin-top:14px!important;
}

.nfe-bm-ready .nfe-account-create label{
 font-size:12px!important;
 font-weight:800!important;
}

.nfe-bm-ready .nfe-account-create input,
.nfe-bm-ready .nfe-account-create select{
 min-height:42px!important;
 margin-top:5px!important;
 padding:9px 10px!important;
 border:1px solid #d9e1dc!important;
 border-radius:8px!important;
 background:#fff!important;
 font-size:13px!important;
}

.nfe-bm-ready .nfe-account-create .nfe-create-permissions{
 gap:6px!important;
 padding:10px!important;
 border:1px solid var(--bm-line)!important;
 border-radius:10px!important;
 background:#fafcfb!important;
}

.nfe-bm-ready .nfe-account-create .nfe-create-permissions label{
 min-height:36px!important;
 padding:7px 9px!important;
 border-radius:8px!important;
 font-size:11px!important;
}

/* list heading */
.nfe-bm-list-head{
 display:flex;
 justify-content:space-between;
 align-items:end;
 gap:15px;
 margin-bottom:12px!important;
}

.nfe-bm-visible-count{
 padding:6px 8px;
 border-radius:999px;
 background:var(--bm-soft);
 color:var(--bm-muted);
 font-size:11px;
}

/* toolbar like NewsletterStudio editor toolbar */
.nfe-bm-toolbar{
 display:grid;
 grid-template-columns:minmax(0,1fr) 210px auto;
 gap:8px;
 align-items:end;
 margin-bottom:12px;
 padding:9px;
 border:1px solid var(--bm-line);
 border-radius:11px;
 background:#f8faf9;
}

.nfe-bm-search{
 display:grid;
 grid-template-columns:32px 1fr;
 gap:7px;
 align-items:center;
 min-height:46px;
 padding:5px 10px;
 border:1px solid var(--bm-line);
 border-radius:8px;
 background:#fff;
}

.nfe-bm-search>span{font-size:19px;color:var(--bm-green)}

.nfe-bm-search small,
.nfe-bm-filter small{
 display:block;
 margin-bottom:1px;
 font-size:7px;
 font-weight:900;
 letter-spacing:.1em;
 color:#77857d;
}

.nfe-bm-search input{
 width:100%!important;
 padding:2px 0!important;
 border:0!important;
 outline:0!important;
 background:transparent!important;
 box-shadow:none!important;
 font-size:13px!important;
}

.nfe-bm-filter select{
 width:100%;
 min-height:46px;
 padding:0 9px;
 border:1px solid var(--bm-line);
 border-radius:8px;
 background:#fff;
 font-size:12px;
}

.nfe-bm-collapse-all{
 min-height:46px;
 padding:0 11px;
 border:1px solid var(--bm-line);
 border-radius:8px;
 background:#fff;
 color:#53675b;
 font-size:11px;
 font-weight:800;
 cursor:pointer;
}

/* compact account cards */
.nfe-bm-ready .nfe-admin-users{
 display:grid!important;
 gap:7px!important;
}

.nfe-bm-ready .nfe-admin-users article.nfe-bm-user{
 display:block!important;
 padding:0!important;
 overflow:hidden;
 border:1px solid var(--bm-line)!important;
 border-radius:10px!important;
 background:#fff!important;
 box-shadow:none!important;
}

.nfe-bm-user-summary{
 display:grid;
 grid-template-columns:42px minmax(0,1fr) auto auto 32px;
 gap:10px;
 align-items:center;
 width:100%;
 min-height:67px;
 padding:9px 11px;
 border:0;
 background:#fff;
 color:var(--bm-ink);
 text-align:left;
 cursor:pointer;
}

.nfe-bm-user-summary:hover{
 background:#fafcfb;
}

.nfe-bm-avatar{
 display:grid;
 width:40px;
 height:40px;
 place-items:center;
 border-radius:9px;
 background:#e8f2ec;
 color:var(--bm-green);
 font-size:12px;
 font-weight:950;
}

.nfe-bm-person{min-width:0}
.nfe-bm-person strong,.nfe-bm-person small{display:block}
.nfe-bm-person strong{
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 font-size:15px;
}
.nfe-bm-person small{
 margin-top:3px;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 font-size:11px;
 color:var(--bm-muted);
}

.nfe-bm-status,
.nfe-bm-duplicate{
 padding:6px 8px;
 border-radius:999px;
 background:#edf3ef;
 color:#476453;
 font-size:10px;
 font-weight:850;
 white-space:nowrap;
}

.nfe-bm-status.waiting,.nfe-bm-status.pending{background:#fff4d6;color:#76571f}
.nfe-bm-status.blocked{background:#f8e8e9;color:#9d2d34}
.nfe-bm-status.member{background:#e5f3ea;color:#176b46}
.nfe-bm-status.merged{background:#f0f2f1;color:#707873}
.nfe-bm-duplicate{background:#fff0dd;color:#875a1d}

.nfe-bm-chevron{
 display:grid;
 width:31px;
 height:31px;
 place-items:center;
 border-radius:8px;
 background:var(--bm-soft);
 color:#627169;
 font-size:15px;
 transition:.15s;
}

.nfe-bm-user[data-open="1"]{
 border-color:#bfd5c7!important;
 box-shadow:inset 3px 0 0 var(--bm-green)!important;
}
.nfe-bm-user[data-open="1"] .nfe-bm-chevron{
 transform:rotate(180deg);
 background:var(--bm-green);
 color:#fff;
}

/* details */
.nfe-bm-user .nfe-bm-original-main,
.nfe-bm-user .nfe-bm-controls{display:none!important}

.nfe-bm-user[data-open="1"] .nfe-bm-original-main{
 display:flex!important;
 padding:12px 14px 6px!important;
 border-top:1px solid var(--bm-line)!important;
 background:#fafcfb!important;
}

.nfe-bm-user[data-open="1"] .nfe-bm-controls{
 display:flex!important;
 padding:8px 14px 14px!important;
 background:#fafcfb!important;
}

.nfe-bm-original-main>strong{display:none!important}
.nfe-bm-original-main>span{font-size:12px!important}
.nfe-bm-original-main>small{font-size:10px!important}

.nfe-bm-ready .nfe-account-email-pair{
 grid-template-columns:1fr 1fr auto!important;
 gap:8px!important;
 margin-bottom:7px!important;
 padding:10px!important;
 border:1px solid var(--bm-line)!important;
 border-radius:9px!important;
 background:#fff!important;
}

.nfe-bm-ready .nfe-account-email-pair label,
.nfe-bm-ready .nfe-admin-user-controls>label{
 font-size:11px!important;
 font-weight:800!important;
}

.nfe-bm-ready .nfe-account-email-pair input,
.nfe-bm-ready .nfe-admin-user-controls select{
 min-height:40px!important;
 padding:8px 9px!important;
 border:1px solid #d9e1dc!important;
 border-radius:8px!important;
 font-size:12px!important;
}

.nfe-bm-ready .nfe-account-merge-box{
 grid-template-columns:1fr 240px auto!important;
 gap:8px!important;
 margin-bottom:7px!important;
 padding:10px!important;
 border:1px solid var(--bm-line)!important;
 border-radius:9px!important;
 background:#fff!important;
}

.nfe-bm-ready .nfe-account-merge-box strong{font-size:12px!important}
.nfe-bm-ready .nfe-account-merge-box small{font-size:10px!important;line-height:1.4!important}

.nfe-bm-ready .nfe-admin-user-controls fieldset{
 grid-template-columns:repeat(3,1fr)!important;
 gap:5px!important;
 padding:10px!important;
 border:1px solid var(--bm-line)!important;
 border-radius:9px!important;
 background:#fff!important;
}

.nfe-bm-ready .nfe-admin-user-controls fieldset label{font-size:11px!important}

.nfe-bm-ready .nfe-account-admin-actions button{
 min-height:36px!important;
 padding:7px 10px!important;
 border-radius:8px!important;
 font-size:11px!important;
}

.nfe-bm-ready .nfe-account-button{
 min-height:38px!important;
 padding:8px 12px!important;
 border-radius:8px!important;
 background:var(--bm-green)!important;
 color:#fff!important;
 font-size:11px!important;
 font-weight:900!important;
}

/* responsive */
@media(max-width:980px){
 .nfe-bm-shell{grid-template-columns:205px minmax(0,1fr)}
 .nfe-bm-stats{grid-template-columns:1fr 1fr}
 .nfe-bm-toolbar{grid-template-columns:1fr 1fr}
 .nfe-bm-collapse-all{grid-column:1/-1}
 .nfe-bm-user-summary{grid-template-columns:40px minmax(0,1fr) auto 31px}
 .nfe-bm-duplicate{grid-column:2;justify-self:start}
 .nfe-bm-ready .nfe-account-email-pair,
 .nfe-bm-ready .nfe-account-merge-box{grid-template-columns:1fr!important}
}

@media(max-width:720px){
 .nfe-bm-shell{
   width:calc(100% - 10px);
   grid-template-columns:1fr;
   margin:5px auto 20px;
   border-radius:14px;
 }
 .nfe-bm-sidebar{
   min-height:0;
   padding:10px;
 }
 .nfe-bm-side-brand{padding-bottom:10px}
 .nfe-bm-side-nav{
   grid-template-columns:1fr 1fr;
 }
 .nfe-bm-side-nav>small{display:none}
 .nfe-bm-side-footer{display:none}
 .nfe-bm-topbar{
   align-items:flex-start;
   flex-direction:column;
   padding:12px 14px;
 }
 .nfe-bm-top-actions{width:100%}
 .nfe-bm-top-actions a,.nfe-bm-top-actions button{flex:1}
 .nfe-bm-ready .nfe-account-wrap{padding:16px 12px 30px!important}
 .nfe-bm-ready .nfe-account-hero.nfe-bm-hero{grid-template-columns:1fr!important}
 .nfe-bm-ready .nfe-account-hero h1{font-size:32px!important}
 .nfe-bm-ready .nfe-account-create .nfe-account-form{grid-template-columns:1fr!important}
 .nfe-bm-ready .nfe-admin-user-controls fieldset{grid-template-columns:1fr!important}
}


/* ==========================================================
   v1.3.0 – FUNKTIONS- UND BUTTON-FIX
   ========================================================== */

/* Rechte als sauberer eigener Block */
.nfe-bm-ready .nfe-bm-controls{
  flex-direction:column!important;
  gap:12px!important;
}

.nfe-bm-ready .nfe-bm-controls > label{
  width:100%!important;
  box-sizing:border-box!important;
}

.nfe-bm-ready .nfe-bm-controls fieldset{
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
}

.nfe-bm-ready .nfe-bm-controls fieldset legend{
  padding:0 6px!important;
  font-size:12px!important;
  font-weight:900!important;
  color:#315c45!important;
}

/* Berechtigungen gleichmäßig ausrichten */
.nfe-bm-ready .nfe-bm-controls fieldset{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  padding:12px!important;
  border:1px solid var(--bm-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}

.nfe-bm-ready .nfe-bm-controls fieldset label{
  display:flex!important;
  min-height:42px!important;
  align-items:center!important;
  gap:8px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:8px 10px!important;
  border:1px solid #e3e9e5!important;
  border-radius:9px!important;
  background:#f8faf9!important;
  color:#34463c!important;
  font-size:12px!important;
  line-height:1.25!important;
  cursor:pointer!important;
}

.nfe-bm-ready .nfe-bm-controls fieldset label:hover{
  border-color:#bfd2c5!important;
  background:#f2f7f3!important;
}

.nfe-bm-ready .nfe-bm-controls fieldset input[type="checkbox"]{
  flex:none!important;
  width:17px!important;
  height:17px!important;
  margin:0!important;
}

/* Untere Aktionsleiste – keine verzogenen Buttons mehr */
.nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar{
  display:grid!important;
  grid-template-columns:minmax(150px,1.35fr) repeat(3,minmax(115px,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:12px!important;
  box-sizing:border-box!important;
  border:1px solid var(--bm-line)!important;
  border-radius:12px!important;
  background:#f4f7f5!important;
}

.nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar button{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid #d7e1da!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#40564a!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:850!important;
  text-align:center!important;
  white-space:normal!important;
  cursor:pointer!important;
}

.nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar button:hover{
  border-color:#b9ccbf!important;
  background:#fafcfb!important;
}

/* Hauptaktion */
.nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar [data-save-account]{
  border-color:#176b46!important;
  background:#176b46!important;
  color:#fff!important;
}

/* Gefährliche Aktion bewusst abgesetzt */
.nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar [data-account-action="delete"]{
  border-color:#ecc9cb!important;
  color:#a12e35!important;
  background:#fff!important;
}

.nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar button:disabled{
  opacity:.6!important;
  cursor:wait!important;
}

/* Speicherstatus bekommt eine eigene Zeile */
.nfe-bm-ready .nfe-bm-save-message{
  display:block!important;
  width:100%!important;
  min-height:22px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:2px 3px!important;
  color:#65746b!important;
  font-size:12px!important;
  font-weight:800!important;
}

.nfe-bm-ready .nfe-bm-save-message.is-success{
  color:#176b46!important;
}

.nfe-bm-ready .nfe-bm-save-message.is-error{
  color:#a12e35!important;
}

/* E-Mail- und Zusammenführen-Bereiche ebenfalls exakt ausrichten */
.nfe-bm-ready .nfe-account-email-pair{
  width:100%!important;
  box-sizing:border-box!important;
}

.nfe-bm-ready .nfe-account-email-pair button,
.nfe-bm-ready .nfe-account-merge-box button{
  min-height:42px!important;
  margin:0!important;
  padding:8px 11px!important;
  box-sizing:border-box!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:850!important;
}

/* Kein Element darf unsichtbar über Buttons liegen */
.nfe-bm-ready .nfe-bm-user[data-open="1"] .nfe-bm-controls,
.nfe-bm-ready .nfe-bm-user[data-open="1"] .nfe-bm-controls *{
  pointer-events:auto;
}

@media(max-width:1000px){
  .nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar{
    grid-template-columns:1fr 1fr!important;
  }
}

@media(max-width:760px){
  .nfe-bm-ready .nfe-bm-controls fieldset{
    grid-template-columns:1fr 1fr!important;
  }

  .nfe-bm-ready .nfe-account-admin-actions.nfe-bm-actionbar{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:520px){
  .nfe-bm-ready .nfe-bm-controls fieldset{
    grid-template-columns:1fr!important;
  }
}

/* Rein redaktioneller Hinweis hat auf der öffentlichen Website keinen Nutzen. */
body:not(.wp-admin) .edit-hint{
  display:none!important;
}
