/* AgraGen 6.2.0-r7 · Bereichs-Finish
   Ziel: konsistente Premium-Identität, starke Orientierung, barrierearme Zustände.
   Keine externen Schriften, APIs oder kostenpflichtigen Assets. */

body.future-community-theme{
  --fm-deep:#071b14;
  --fm-deep-2:#0b3025;
  --fm-green:#0f8465;
  --fm-green-soft:#e5f5ee;
  --fm-gold:#edc76b;
  --fm-gold-soft:#fff5d8;
  --fm-blue:#377fa2;
  --fm-purple:#735d9a;
  --fm-red:#a84439;
  --fm-text:#10271e;
  --fm-muted:#536b62;
  --fm-line:rgba(21,91,70,.14);
  --fm-glass:rgba(255,255,255,.86);
  --fm-shadow:0 24px 64px rgba(5,31,23,.13);
  --fm-shadow-hover:0 30px 78px rgba(5,31,23,.18);
}

/* ----- globale Bereichskomponenten ----- */
body.future-community-theme .admin-tabs,
body.future-community-theme .coop-admin-tabs,
body.future-community-theme .pm-tabs,
body.future-community-theme .mc-categories{
  scrollbar-width:thin;
  scrollbar-color:rgba(15,132,101,.45) transparent;
}
body.future-community-theme .admin-tabs a,
body.future-community-theme .coop-admin-tabs a,
body.future-community-theme .pm-tabs a{
  min-height:50px;
  border-radius:15px;
  font-weight:800;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.future-community-theme .admin-tabs a:hover,
body.future-community-theme .coop-admin-tabs a:hover,
body.future-community-theme .pm-tabs a:hover{transform:translateY(-2px)}
body.future-community-theme .admin-tabs a[aria-current="page"],
body.future-community-theme .coop-admin-tabs a[aria-current="page"],
body.future-community-theme .pm-tabs a[aria-current="page"]{box-shadow:0 12px 28px rgba(7,48,37,.18)}

body.future-community-theme dialog{
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:26px!important;
  box-shadow:0 40px 110px rgba(2,18,13,.35)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(246,251,248,.96))!important;
  color:var(--fm-text);
}
body.future-community-theme dialog::backdrop{background:rgba(2,16,12,.66);backdrop-filter:blur(6px)}
body.future-community-theme .dialog-close{border-radius:12px!important;min-width:42px;min-height:42px}
body.future-community-theme .notice{
  border-radius:17px!important;
  border-width:1px!important;
  box-shadow:0 8px 24px rgba(5,31,23,.05)
}
body.future-community-theme .table-wrap,
body.future-community-theme .table-panel{border-radius:20px;overflow:auto;border:1px solid var(--fm-line);background:rgba(255,255,255,.72)}
body.future-community-theme table tbody tr{transition:background .15s ease}
body.future-community-theme table tbody tr:hover{background:rgba(15,132,101,.045)}

/* ----- Startseite: r6-Premiumregeln gegenüber nachgeladenem Home-CSS absichern ----- */
body.future-community-theme .ae-home .ae-hero{
  background:
    radial-gradient(circle at 10% 12%,rgba(237,199,107,.19),transparent 18%),
    radial-gradient(circle at 88% 20%,rgba(55,211,165,.17),transparent 17%),
    linear-gradient(135deg,#06150f 0%,#09271d 48%,#0d4434 100%);
  border-bottom-left-radius:34px;border-bottom-right-radius:34px;
  box-shadow:0 24px 90px rgba(3,18,13,.24)
}
body.future-community-theme .ae-home .ae-network-stage{
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.045));
  box-shadow:0 26px 70px rgba(0,0,0,.22);
  backdrop-filter:blur(18px)
}
body.future-community-theme .ae-home .ae-node{border-color:rgba(255,255,255,.18);box-shadow:0 12px 26px rgba(0,0,0,.17)}
body.future-community-theme .ae-home .ae-impact article,
body.future-community-theme .ae-home .ae-sector-grid article,
body.future-community-theme .ae-home .ae-feature,
body.future-community-theme .ae-home .ae-steps article,
body.future-community-theme .ae-home .ae-price-cards article,
body.future-community-theme .ae-home .ae-values-grid article{
  border:1px solid rgba(255,255,255,.76);
  box-shadow:var(--fm-shadow);
}
body.future-community-theme .ae-home .ae-feature:hover,
body.future-community-theme .ae-home .ae-sector-grid article:hover,
body.future-community-theme .ae-home .ae-values-grid article:hover{transform:translateY(-4px);box-shadow:var(--fm-shadow-hover)}
body.future-community-theme .ae-home .ae-final-inner{
  background:radial-gradient(circle at 12% 10%,rgba(237,199,107,.16),transparent 18%),linear-gradient(135deg,#071610,#0a2b20 55%,#0d4938);
  border-radius:32px;box-shadow:var(--fm-shadow-hover)
}

/* ----- Wissenszentrum ----- */
body.future-community-theme .knowledge-accessible{
  --ka-ink:var(--fm-text);
  --ka-muted:var(--fm-muted);
  --ka-line:#d7e4de;
}
body.future-community-theme .knowledge-accessible .ka-hero{
  background:
    radial-gradient(circle at 86% 18%,rgba(237,199,107,.16),transparent 22%),
    radial-gradient(circle at 8% 86%,rgba(39,178,135,.15),transparent 24%),
    linear-gradient(135deg,#071b14,#0a3629 58%,#0c5943)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 28px 80px rgba(4,27,20,.22)!important;
}
body.future-community-theme .knowledge-accessible .ka-kicker,
body.future-community-theme .knowledge-accessible .ka-hero h1,
body.future-community-theme .knowledge-accessible .ka-hero p{color:#f4fbf7}
body.future-community-theme .knowledge-accessible .ka-hero h1 em{color:#f3d487}
body.future-community-theme .knowledge-accessible .ka-status-card{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.17)!important;
  color:#f7fffb;box-shadow:0 18px 50px rgba(0,0,0,.16);backdrop-filter:blur(18px)
}
body.future-community-theme .knowledge-accessible .ka-status-card dt,
body.future-community-theme .knowledge-accessible .ka-status-card span{color:rgba(239,249,244,.78)}
body.future-community-theme .knowledge-accessible .ka-accessibility-bar{
  background:linear-gradient(135deg,#fff8e7,#fffdf7)!important;
  border:1px solid #ead59e!important;
  border-radius:20px!important;
  box-shadow:0 12px 34px rgba(92,69,15,.08)!important
}
body.future-community-theme .knowledge-accessible .ka-accessibility-actions button{
  min-height:46px;border-radius:13px;border:1px solid #d9c68f;background:#fff;color:#3c382b;font-weight:850
}
body.future-community-theme .knowledge-accessible .ka-intent,
body.future-community-theme .knowledge-accessible .ka-chapter,
body.future-community-theme .knowledge-accessible .ka-resource-card,
body.future-community-theme .knowledge-accessible .ka-feed-card,
body.future-community-theme .knowledge-accessible .ka-source-panel,
body.future-community-theme .knowledge-accessible .ka-control{
  border-color:rgba(18,91,70,.13)!important;
  box-shadow:var(--fm-shadow)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,252,250,.92))!important
}
body.future-community-theme .knowledge-accessible .ka-intent:hover,
body.future-community-theme .knowledge-accessible .ka-resource-card:hover,
body.future-community-theme .knowledge-accessible .ka-feed-card:hover{transform:translateY(-3px);box-shadow:var(--fm-shadow-hover)!important}
body.future-community-theme .knowledge-accessible .ka-chapter{border-radius:24px!important;overflow:hidden}
body.future-community-theme .knowledge-accessible .ka-chapter-header{
  background:linear-gradient(90deg,var(--chapter-soft),rgba(255,255,255,.72));
  border-bottom:1px solid rgba(18,91,70,.10)
}
body.future-community-theme .knowledge-accessible .ka-toc,
body.future-community-theme .knowledge-accessible .ka-help-card{
  border-radius:20px!important;background:rgba(255,255,255,.90)!important;box-shadow:0 12px 34px rgba(5,31,23,.08)!important
}
body.future-community-theme .knowledge-accessible .ka-toc a{border-radius:12px}
body.future-community-theme .knowledge-accessible .ka-toc a:hover{background:var(--fm-green-soft)}

/* ----- Handel & Einkauf ----- */
body.future-community-theme .pm-root .pm-hero{
  background:
    radial-gradient(circle at 86% 14%,rgba(237,199,107,.18),transparent 21%),
    radial-gradient(circle at 12% 90%,rgba(48,210,161,.17),transparent 25%),
    linear-gradient(135deg,#061811,#092f24 55%,#0c5c45)!important;
  border:1px solid rgba(255,255,255,.12);border-radius:30px;box-shadow:0 30px 84px rgba(4,27,20,.22)
}
body.future-community-theme .pm-root .pm-hero-stats{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.16);backdrop-filter:blur(18px)}
body.future-community-theme .pm-root .pm-safety-note{background:linear-gradient(135deg,#fff8e5,#fffdf7);border-color:#ecd79e;box-shadow:0 12px 30px rgba(92,69,15,.07)}
body.future-community-theme .pm-root .pm-tabs{gap:9px;overflow-x:auto;padding:4px 2px 10px;grid-template-columns:repeat(6,minmax(150px,1fr))}
body.future-community-theme .pm-root .pm-tabs a{background:rgba(255,255,255,.90);border-color:rgba(16,101,78,.12);box-shadow:0 9px 24px rgba(7,57,44,.06)}
body.future-community-theme .pm-root .pm-tabs a.active{background:linear-gradient(135deg,#09251c,#0d624a);border-color:transparent;color:#fff}
body.future-community-theme .pm-root .pm-section,
body.future-community-theme .pm-root .pm-detail-card,
body.future-community-theme .pm-root .pm-thread,
body.future-community-theme .pm-root .pm-counteroffer,
body.future-community-theme .pm-root .pm-order-document,
body.future-community-theme .pm-root .pm-order-actions{
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(247,251,249,.93));
  border-color:rgba(16,101,78,.12);box-shadow:var(--fm-shadow);border-radius:24px
}
body.future-community-theme .pm-root .pm-listing-card{
  background:linear-gradient(180deg,#fff,#f7fcf9);border-color:rgba(16,101,78,.13);border-radius:22px;box-shadow:0 12px 30px rgba(7,57,44,.07)
}
body.future-community-theme .pm-root .pm-listing-card:hover{transform:translateY(-4px);box-shadow:var(--fm-shadow-hover);border-color:rgba(15,132,101,.30)}
body.future-community-theme .pm-root .pm-listing-metrics>div,
body.future-community-theme .pm-root .pm-facts>div,
body.future-community-theme .pm-root .pm-deal-box{background:linear-gradient(180deg,#eff8f4,#f8fbfa);border:1px solid rgba(15,132,101,.09)}
body.future-community-theme .pm-root .pm-deal-box{border-radius:22px;box-shadow:0 14px 32px rgba(7,57,44,.08)}

/* ----- Maschinenzentrum ----- */
body.future-community-theme .mc-hero{
  background:
    radial-gradient(circle at 84% 20%,rgba(237,199,107,.17),transparent 22%),
    linear-gradient(135deg,#071912,#0b3327 55%,#0f624a)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:30px!important;
  box-shadow:0 30px 84px rgba(4,27,20,.22)!important;padding:34px!important;overflow:hidden
}
body.future-community-theme .mc-hero h1,
body.future-community-theme .mc-hero p,
body.future-community-theme .mc-hero .eyebrow{color:#fff!important}
body.future-community-theme .mc-kpi{
  background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;
  box-shadow:0 12px 34px rgba(0,0,0,.13)!important;backdrop-filter:blur(16px)
}
body.future-community-theme .mc-filter.panel{border-radius:22px!important;box-shadow:var(--fm-shadow)!important}
body.future-community-theme .mc-categories{display:flex;gap:9px;overflow:auto;padding:4px 2px 10px}
body.future-community-theme .mc-categories a,
body.future-community-theme .mc-categories button{border-radius:999px!important;min-height:42px!important;white-space:nowrap}
body.future-community-theme .mc-card{
  background:linear-gradient(180deg,#fff,#f7fbf9)!important;border:1px solid rgba(16,101,78,.13)!important;
  border-radius:24px!important;box-shadow:0 14px 34px rgba(7,57,44,.08)!important;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease
}
body.future-community-theme .mc-card:hover{transform:translateY(-4px);box-shadow:var(--fm-shadow-hover)!important}
body.future-community-theme .mc-card header{background:linear-gradient(135deg,rgba(15,132,101,.08),rgba(237,199,107,.10))}
body.future-community-theme .mc-tags span{border-radius:999px;background:#edf7f2;border:1px solid rgba(15,132,101,.09)}
body.future-community-theme .mc-price b{color:#0c684f}
body.future-community-theme .mc-detail,
body.future-community-theme .mc-create{max-width:min(1100px,calc(100vw - 30px))}
body.future-community-theme .mc-detail header{border-radius:20px;background:linear-gradient(135deg,#0a2a20,#0e674e)!important;color:#fff!important}

/* ----- Mitglieder-Genossenschaftscenter ----- */
body.future-community-theme .coop-member-page .coop-hero{
  background:
    radial-gradient(circle at 88% 12%,rgba(237,199,107,.18),transparent 21%),
    radial-gradient(circle at 8% 85%,rgba(53,201,157,.15),transparent 25%),
    linear-gradient(135deg,#071710,#0a3024 54%,#0c5d45)!important;
  color:#fff!important;border-radius:32px!important;border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 32px 86px rgba(4,27,20,.22)!important
}
body.future-community-theme .coop-member-page .coop-hero h1,
body.future-community-theme .coop-member-page .coop-hero p,
body.future-community-theme .coop-member-page .coop-kicker{color:#fff!important}
body.future-community-theme .coop-member-page .coop-legal-card{
  background:rgba(255,255,255,.095)!important;border:1px solid rgba(255,255,255,.17)!important;color:#f6fdf9!important;backdrop-filter:blur(18px)
}
body.future-community-theme .coop-member-page .coop-jump{
  background:rgba(255,255,255,.88)!important;border:1px solid rgba(15,132,101,.12)!important;
  border-radius:18px!important;box-shadow:0 12px 34px rgba(5,31,23,.08)!important;backdrop-filter:blur(16px)
}
body.future-community-theme .coop-member-page .coop-jump a{border-radius:11px}
body.future-community-theme .coop-member-page .coop-jump a:hover{background:var(--fm-green-soft)}
body.future-community-theme .coop-member-page .coop-stat-grid>*{background:linear-gradient(180deg,#fff,#f8fcfa);border:1px solid rgba(15,132,101,.12);border-radius:20px;box-shadow:0 12px 28px rgba(5,31,23,.07)}
body.future-community-theme .coop-member-page .coop-chapter{
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(247,251,249,.92))!important;
  border:1px solid rgba(15,132,101,.12)!important;border-radius:26px!important;box-shadow:var(--fm-shadow)!important;overflow:hidden
}
body.future-community-theme .coop-member-page .coop-chapter-head{background:linear-gradient(90deg,rgba(15,132,101,.07),rgba(237,199,107,.08),transparent);border-bottom:1px solid rgba(15,132,101,.08)}
body.future-community-theme .coop-member-page .coop-body-card,
body.future-community-theme .coop-member-page .member-certificate,
body.future-community-theme .coop-member-page .consent-card,
body.future-community-theme .coop-member-page .document-mini-grid>*{border-radius:20px!important;border-color:rgba(15,132,101,.12)!important;box-shadow:0 12px 28px rgba(5,31,23,.06)!important}

/* ----- Enterprise Admin ----- */
body.future-community-theme .admin-head{
  background:
    radial-gradient(circle at 86% 18%,rgba(237,199,107,.18),transparent 22%),
    linear-gradient(135deg,#071711,#0a2a20 58%,#0d4d3b)!important;
  color:#fff!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 28px 82px rgba(4,27,20,.21)!important
}
body.future-community-theme .admin-head h1,
body.future-community-theme .admin-head p,
body.future-community-theme .admin-head .eyebrow{color:#fff!important}
body.future-community-theme .version-chip{
  background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.18)!important;color:#ffe8ac!important;
  border-radius:999px!important;box-shadow:0 10px 28px rgba(0,0,0,.14);backdrop-filter:blur(12px)
}
body.future-community-theme .admin-tabs{display:flex!important;gap:8px!important;overflow:auto!important;padding:6px 2px 12px!important}
body.future-community-theme .admin-tabs a{
  flex:0 0 auto;background:rgba(255,255,255,.88)!important;border:1px solid rgba(15,132,101,.12)!important;box-shadow:0 8px 22px rgba(5,31,23,.05)
}
body.future-community-theme .admin-tabs a.active{background:linear-gradient(135deg,#09241b,#0d664c)!important;color:#fff!important;border-color:transparent!important}
body.future-community-theme .admin-quick-grid a{
  background:linear-gradient(180deg,#fff,#f7fbf9)!important;border:1px solid rgba(15,132,101,.12)!important;border-radius:20px!important;
  box-shadow:0 12px 28px rgba(5,31,23,.06)!important;transition:transform .18s ease,box-shadow .18s ease
}
body.future-community-theme .admin-quick-grid a:hover{transform:translateY(-3px);box-shadow:var(--fm-shadow)!important}
body.future-community-theme .ops-hero{
  background:
    radial-gradient(circle at 84% 10%,rgba(237,199,107,.16),transparent 20%),
    linear-gradient(135deg,#071912,#0a3428 58%,#0d5c46)!important;
  color:#fff!important;border-radius:28px!important;box-shadow:var(--fm-shadow-hover)!important;border:1px solid rgba(255,255,255,.12)!important
}
body.future-community-theme .ops-hero h2,
body.future-community-theme .ops-hero p,
body.future-community-theme .ops-hero .eyebrow{color:#fff!important}
body.future-community-theme .ops-kpis>* ,
body.future-community-theme .migration-card,
body.future-community-theme .ops-form,
body.future-community-theme .audit-compact>*{
  border-radius:20px!important;border-color:rgba(15,132,101,.12)!important;box-shadow:0 12px 30px rgba(5,31,23,.07)!important;
  background:linear-gradient(180deg,#fff,#f8fcfa)!important
}
body.future-community-theme .ops-step{border-radius:16px!important}

/* ----- Genossenschafts-Admin ----- */
body.future-community-theme .coop-admin-hero{
  background:
    radial-gradient(circle at 86% 15%,rgba(237,199,107,.18),transparent 22%),
    linear-gradient(135deg,#071711,#0a3025 58%,#0d5843)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:28px!important;box-shadow:var(--fm-shadow-hover)!important
}
body.future-community-theme .coop-admin-hero h2,
body.future-community-theme .coop-admin-hero p,
body.future-community-theme .coop-admin-hero .eyebrow{color:#fff!important}
body.future-community-theme .coop-admin-health{background:rgba(255,255,255,.095)!important;border:1px solid rgba(255,255,255,.17)!important;color:#fff!important;border-radius:20px!important;backdrop-filter:blur(16px)}
body.future-community-theme .coop-admin-tabs{display:flex!important;gap:8px;overflow:auto;padding:5px 2px 12px}
body.future-community-theme .coop-admin-tabs a{flex:0 0 auto;background:rgba(255,255,255,.90)!important;border:1px solid rgba(15,132,101,.12)!important}
body.future-community-theme .coop-admin-tabs a.active{background:linear-gradient(135deg,#09241b,#0d664c)!important;color:#fff!important;border-color:transparent!important}
body.future-community-theme .coop-kpis>* ,
body.future-community-theme .task-board>* ,
body.future-community-theme .risk-mini-list>* ,
body.future-community-theme .compact-records>*{
  border-radius:18px!important;border-color:rgba(15,132,101,.12)!important;box-shadow:0 9px 24px rgba(5,31,23,.055)!important
}
body.future-community-theme .coop-form{box-shadow:var(--fm-shadow)!important}

/* ----- Legacy-/Spezial-Adminseiten ----- */
body.future-community-theme .app-top{
  background:linear-gradient(135deg,#071711,#0b392b)!important;color:#fff!important;border-radius:24px!important;
  box-shadow:var(--fm-shadow)!important;border:1px solid rgba(255,255,255,.10)!important
}
body.future-community-theme .app-top h1,
body.future-community-theme .app-top .kicker{color:#fff!important}
body.future-community-theme .tabs{border-radius:16px;padding:5px;background:rgba(255,255,255,.70);box-shadow:0 10px 28px rgba(5,31,23,.06)}
body.future-community-theme .tabs a{border-radius:12px}
body.future-community-theme .tabs a.active{background:linear-gradient(135deg,#0a2b20,#0d674e)!important;color:#fff!important}
body.future-community-theme .card,
body.future-community-theme .stat{
  background:linear-gradient(180deg,#fff,#f8fcfa)!important;border-color:rgba(15,132,101,.12)!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(5,31,23,.07)!important
}

/* ----- hohe Kontraste / Motion ----- */
@media (prefers-contrast:more){
  body.future-community-theme .panel,
  body.future-community-theme .stat-card,
  body.future-community-theme .pm-root .pm-listing-card,
  body.future-community-theme .mc-card,
  body.future-community-theme .coop-member-page .coop-chapter,
  body.future-community-theme .knowledge-accessible .ka-resource-card{border-width:2px!important;border-color:#1d4939!important;box-shadow:none!important}
}
@media (prefers-reduced-motion:reduce){
  body.future-community-theme .admin-tabs a,
  body.future-community-theme .coop-admin-tabs a,
  body.future-community-theme .pm-tabs a,
  body.future-community-theme .pm-root .pm-listing-card,
  body.future-community-theme .mc-card,
  body.future-community-theme .admin-quick-grid a{transition:none!important;transform:none!important}
}
@media (forced-colors:active){
  body.future-community-theme .admin-head,
  body.future-community-theme .ops-hero,
  body.future-community-theme .coop-admin-hero,
  body.future-community-theme .pm-root .pm-hero,
  body.future-community-theme .mc-hero,
  body.future-community-theme .coop-member-page .coop-hero,
  body.future-community-theme .knowledge-accessible .ka-hero{forced-color-adjust:auto;border:2px solid CanvasText!important}
}
@media(max-width:900px){
  body.future-community-theme .pm-root .pm-tabs{grid-template-columns:repeat(6,minmax(145px,1fr))}
  body.future-community-theme .mc-hero{padding:26px!important}
  body.future-community-theme .admin-tabs,
  body.future-community-theme .coop-admin-tabs{margin-left:-2px;margin-right:-2px}
}
@media(max-width:620px){
  body.future-community-theme .mc-hero,
  body.future-community-theme .pm-root .pm-hero,
  body.future-community-theme .coop-member-page .coop-hero,
  body.future-community-theme .admin-head,
  body.future-community-theme .ops-hero,
  body.future-community-theme .coop-admin-hero{border-radius:22px!important}
  body.future-community-theme dialog{border-radius:20px!important}
}
