/* Clubdock: dauerhaft sichtbare kontextabhängige Seitenleiste (kein klappbares Hauptmenü). */
html{min-height:100%}
body{display:flex;flex-direction:column;min-height:100vh}
.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:var(--lime);color:var(--ink);padding:12px 16px;font-weight:900}
.skip-link:focus{top:12px}
.footer{margin-top:auto}
.backend-shell{display:grid;grid-template-columns:260px minmax(0,1fr);flex:1;min-width:0}
.backend-workspace{min-width:0;display:flex;flex-direction:column}
.backend-content{min-width:0;flex:1}
.backend-sidebar{background:#171c25;color:#fff;min-width:0}
.sidebar-parent-context{padding:27px 31px 0;overflow-wrap:anywhere}
.sidebar-parent-context span{display:block;font-size:10px;letter-spacing:.17em;color:#98b39d;font-weight:900;margin-bottom:8px}
.sidebar-parent-context strong{display:block;font-size:15px;line-height:1.3;color:#fff}
.backend-menu{position:sticky;top:0;max-height:100vh;overflow-y:auto;padding:31px 19px 42px}
.backend-menu-heading{display:block;position:relative;list-style:none;overflow-wrap:anywhere;border-bottom:1px solid #39483f;padding:8px 12px 25px}
.sidebar-kicker{display:block;font-size:10px;letter-spacing:.18em;color:#9bb49b;font-weight:900;margin-bottom:12px}
.backend-menu-heading strong{display:block;font:900 32px/1 var(--display);letter-spacing:.01em;overflow-wrap:anywhere}
.sidebar-menu-content{padding-top:22px}
.sidebar-back{display:flex;align-items:center;min-height:44px;color:var(--lime);font-size:12px;font-weight:900;padding:12px;border:1px solid #425446;border-radius:5px;line-height:1.4;overflow-wrap:anywhere}
.sidebar-back:hover,.sidebar-back:focus-visible{background:#2d3b31}
.sidebar-level{font-size:10px;letter-spacing:.15em;font-weight:900;color:#93a792;margin:25px 12px 12px}
.sidebar-links{display:flex;flex-direction:column;gap:4px}
.sidebar-links>a{display:flex;align-items:center;min-height:47px;padding:12px;border-radius:5px;color:#d1dcd2;font-size:13px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}
.sidebar-links>a:hover{background:#303e35;color:#fff}
.sidebar-links>a[aria-current="page"]{background:var(--lime);color:var(--ink)}
.sidebar-tree{margin:2px 0 7px 10px;border-left:1px solid #455747}
.sidebar-tree>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;min-height:38px;padding:7px 10px;font-size:12px;font-weight:800;color:#a6bca8}
.sidebar-tree>summary::-webkit-details-marker{display:none}
.sidebar-tree>summary:hover{color:var(--lime)}
.sidebar-tree[open]>summary span{transform:rotate(180deg)}
.sidebar-children{display:grid;gap:3px;padding:1px 0 8px 9px}
.sidebar-children a{display:block;border-radius:4px;padding:9px 11px;font-size:12px;color:#d5e0d4;line-height:1.4;overflow-wrap:anywhere}
.sidebar-children a:hover{background:#303e35;color:#fff}
.sidebar-children small{color:#8ea28d;padding:9px;font-size:11px}
.sidebar-children .sidebar-child-all{color:var(--lime);font-weight:800}
.backend-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:52px;padding:12px 28px;background:#edf0e9;border-bottom:1px solid #dbe3d8;font-size:12px;font-weight:800;color:#788575;line-height:1.5}
.backend-breadcrumbs a{color:#354837;text-decoration:underline;text-decoration-color:#a1b297;text-underline-offset:3px}
.backend-breadcrumbs a:hover{color:#6e902f}
.backend-breadcrumbs span[aria-current]{color:var(--ink);overflow-wrap:anywhere}
.crumb-separator{color:#a5b1a3;font-size:19px;line-height:1}
.backend-content .wrap{width:min(1130px,calc(100% - 54px))}
.backend-content .page-heading{padding:44px 0 47px}
.backend-content .page-heading h1{font-size:clamp(42px,5.1vw,76px);overflow-wrap:anywhere}
.backend-content .section{padding:40px 0 66px}
.backend-content .auth-wrap{width:min(100% - 38px,710px)}
.backend-content :target{scroll-margin-top:24px}

@media(max-width:850px){
    .backend-shell{display:block}
    .backend-sidebar{position:relative}
    .sidebar-parent-context{padding:12px 20px 3px}
    .sidebar-parent-context span{font-size:9px;margin-bottom:3px}
    .sidebar-parent-context strong{font-size:13px}
    .backend-menu{position:static;max-height:none;overflow:visible;padding:0}
    .backend-menu-heading{display:flex;align-items:center;gap:13px;border-bottom:0;padding:13px 20px;min-height:65px}
    .backend-menu-heading strong{font:900 21px/1.1 var(--display);flex:1;max-width:none}
    .sidebar-kicker{font-size:9px;margin-bottom:0;white-space:nowrap}
    .sidebar-menu-content{padding:8px 17px 22px;border-top:1px solid #33433a}
    .sidebar-level{margin-top:16px}
    .sidebar-links{gap:4px}
    .sidebar-links>a{min-height:43px}
    .backend-breadcrumbs{padding:10px 17px;min-height:44px;gap:6px;font-size:11px}
    .backend-content .wrap{width:min(100% - 28px,1130px)}
    .backend-content .page-heading{padding:37px 0}
    .backend-content .section{padding:31px 0 54px}
    .backend-content .auth-wrap{width:min(100% - 24px,710px)}
}

/* 17.11.2026 – einheitliches klassisches Backend gemäß Referenz:
   weiße globale Kopfzeile, dunkle Navigation links darunter, Breadcrumbs und breiter Inhalt.
   Überschreibt alte Backend-Layout-Reste in theme.css. */
body.with-backend-shell .backend-shell{display:grid;grid-template-columns:265px minmax(0,1fr);align-items:stretch;flex:1 0 auto;min-height:0;width:100%}
body.with-backend-shell .backend-sidebar{position:relative;top:auto;align-self:stretch;display:block;overflow:visible;height:auto;min-height:100%;padding:0;background:#171c25;border-right:1px solid #35453b;color:#fff}
body.with-backend-shell .backend-menu{position:sticky;top:72px;max-height:calc(100dvh - 72px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#647566 transparent;padding:25px 19px 42px}
body.with-backend-shell .backend-workspace{min-width:0;display:flex;flex-direction:column}
body.with-backend-shell .backend-content{min-width:0;flex:1}
body.with-backend-shell .backend-content .page-heading{background:#1d3032;color:#fff}
body.with-backend-shell .backend-content .wrap{width:min(1140px,calc(100% - 56px))}
body.with-backend-shell .backend-breadcrumbs{background:#edf2e9;border-bottom:1px solid #dae4d7}
body.with-backend-shell .sidebar-parent-context{padding:22px 31px 0}
body.with-backend-shell .sidebar-parent-context--division{padding-top:16px}
body.with-backend-shell .sidebar-parent-context--division strong{font-size:14px}
body.with-backend-shell .sidebar-links>a{min-height:45px;color:#d4dfd4}
body.with-backend-shell .sidebar-links>a[aria-current="page"]{background:var(--lime);color:#182426}
body.with-backend-shell .sidebar-club-link{font-weight:800}
body.with-backend-shell .backend-menu-heading strong{font-size:31px}
@media(max-width:850px){
  body.with-backend-shell .backend-shell{display:block}
  body.with-backend-shell .backend-sidebar{min-height:0;border-right:0}
  body.with-backend-shell .backend-menu{position:static;max-height:none;overflow:visible;padding:0}
  body.with-backend-shell .backend-menu-heading strong{font-size:20px}
  body.with-backend-shell .backend-content .wrap{width:min(100% - 28px,1140px)}
  body.with-backend-shell .sidebar-parent-context{padding:12px 20px 4px}
}

/* 19.11.2026: Einheitlicher Rhythmus aller Verwaltungsseiten.
   Öffentliche Ansichten, die eigene Karten oder Seitentitel besitzen, bleiben unberührt. */
body.with-backend-shell .backend-content .page-heading h1{line-height:1.06;margin:12px 0 14px}
body.with-backend-shell .backend-content .page-heading p{max-width:72ch}
body.with-backend-shell .backend-content .section-heading h2{line-height:1.13;overflow-wrap:anywhere}
body.with-backend-shell .backend-content .surface-panel>.card-title{line-height:1.15;overflow-wrap:anywhere}
body.with-backend-shell .backend-content .section-block:last-child{margin-bottom:0}
body.with-backend-shell .backend-content .card,
body.with-backend-shell .backend-content .cluster-card,
body.with-backend-shell .backend-content .surface-panel{min-width:0}
body.with-backend-shell .backend-content .backend-page-form{width:100%;max-width:1000px;min-width:0}
body.with-backend-shell .backend-content .backend-page-form--narrow{max-width:760px}
body.with-backend-shell .backend-content .backend-page-form--wide{max-width:1000px}
body.with-backend-shell .backend-content .backend-page-form>.surface-panel{margin-bottom:22px}
body.with-backend-shell .backend-content .backend-page-form .club-editor-nav{margin:0 0 22px}
body.with-backend-shell .backend-content .club-editor-profile-form>.card-title{margin-bottom:14px}
body.with-backend-shell .backend-content .backend-page-actions{margin-top:20px;gap:10px}
body.with-backend-shell .backend-content .backend-page-actions .btn{max-width:100%}
@media(max-width:650px){
  body.with-backend-shell .backend-content .backend-page-form>.surface-panel{margin-bottom:17px;padding:19px 17px}
  body.with-backend-shell .backend-content .backend-page-form .club-editor-nav{margin-bottom:17px}
  body.with-backend-shell .backend-content .backend-page-actions .btn{flex:1 1 180px}
}

/* Plattform-Vereine: kompakte, native Aufklappliste im Stil der Benutzerverwaltung. */
.platform-club-row__summary{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) auto;
    grid-template-areas:"identity status manage";align-items:center;gap:12px;
}
.platform-club-row__identity{grid-area:identity;display:flex;align-items:center;gap:12px;min-width:0}
.platform-club-row__identity .club-logo{flex:none}
.platform-club-row__identity-fields{display:grid;gap:4px;min-width:0}
.platform-club-row__name,.platform-club-row__slug{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-club-row__slug{font-size:12px;color:var(--muted);font-weight:500}
.platform-club-row__summary .platform-club-row__status{grid-area:status;min-width:0;width:auto;order:0}
.platform-club-row__summary .platform-user-card__manage{grid-area:manage;justify-self:end;margin:0}
.platform-club-row__chevron{flex:none;color:#66816a;transition:transform .18s}
.platform-club-row[open]>.platform-club-row__summary .platform-club-row__chevron{transform:rotate(180deg)}
.platform-club-row__details{display:grid;gap:14px;padding-top:16px}
.platform-club-row__details .platform-club-card__actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.platform-club-row__details .platform-club-card__actions .btn{flex:0 1 auto;min-height:40px;font-size:12px}
.platform-club-row__details .disclosure-body input{max-width:100%}
@media(max-width:1100px){
    .platform-club-row__summary{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity manage" "status status";row-gap:9px}
    .platform-club-row__summary .platform-club-row__status{justify-content:flex-start}
}
@media(max-width:480px){
    .platform-club-row__summary{gap:9px;padding:10px 12px}
    .platform-club-row__identity{gap:8px}
    .platform-club-row__details .platform-club-card__actions .btn{flex:1 1 135px}
}
@media(prefers-reduced-motion:reduce){.platform-club-row__chevron{transition:none}}
