/* BASYMOD Standard1 – festes Core-Grundlayout, vereinheitlicht ab Core 1.0.0.16 */
:root{
  --s1-bg:#0d1219;
  --s1-bg-soft:#121923;
  --s1-panel:#161e29;
  --s1-panel-2:#1a2430;
  --s1-line:#283545;
  --s1-line-soft:#202b39;
  --s1-text:#edf3f8;
  --s1-muted:#8f9bab;
  --s1-blue:#2f6fae;
  --s1-blue-soft:#234f79;
  --s1-blue-deep:#17344f;
  --s1-success:#46b87b;
  --s1-danger:#d85e68;
  --s1-radius:7px;
  --s1-portal-accent:var(--portal-accent,var(--s1-blue));
  --s1-portal-strong:var(--portal-accent-strong,var(--s1-blue-soft));
}

html[data-bm-layout="standard1"]{
  --text-color:var(--s1-text);
  --text-muted:var(--s1-muted);
  --background-page:var(--s1-bg);
  --background-card:var(--s1-panel);
  --surface-soft:var(--s1-panel-2);
  --color-primary:var(--s1-blue);
  --color-primary-strong:var(--s1-blue-soft);
  --color-accent:var(--s1-blue);
  --border-color:var(--s1-line);
  --shadow:0 6px 18px rgba(0,0,0,.22);
  --shadow-soft:0 3px 10px rgba(0,0,0,.18);
  --radius:var(--s1-radius);
  --radius-small:5px;
  background:var(--s1-bg);
}

body.bm-standard1{
  min-height:100vh;
  margin:0;
  color:var(--s1-text);
  background:linear-gradient(180deg,#0c1118 0,#101720 100%);
  line-height:1.42;
}

.bm-standard1 .bm-page-shell{min-height:100vh;display:flex;flex-direction:column;width:100%;}

/* NAV1 */
.bm-standard1 .bm-nav1{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:3px 14px;
  background:#0b1016;
  border-bottom:1px solid #1c2734;
  box-shadow:none;
}
.bm-standard1 .bm-nav1-user,.bm-standard1 .bm-nav1-actions{display:flex;align-items:center;gap:8px;min-width:0;}
.bm-standard1 .bm-nav1-avatar{width:29px;height:29px;display:block;border-radius:50%;overflow:hidden;border:1px solid #35465a;background:#151d27;flex:0 0 29px;}
.bm-standard1 .bm-nav1-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.bm-standard1 .bm-nav1-identity{display:flex;align-items:center;gap:8px;min-width:0;font-size:.82rem;}
.bm-standard1 .bm-nav1-identity strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;color:#e8eef5;font-size:.84rem;}
.bm-standard1 .bm-online-state{display:inline-flex;align-items:center;gap:5px;color:#8fa2b5;font-size:.72rem;}
.bm-standard1 .bm-online-dot{width:7px;height:7px;border-radius:50%;background:var(--s1-success);box-shadow:0 0 0 2px rgba(70,184,123,.10);}
.bm-standard1 .bm-icon-link,.bm-standard1 .bm-session-link{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 8px;
  color:#aeb9c6;
  text-decoration:none;
  border:1px solid transparent;
  border-radius:5px;
  background:transparent;
  font-size:.78rem;
  box-shadow:none;
}
.bm-standard1 .bm-icon-link{width:30px;padding:0;font-size:1rem;}
.bm-standard1 .bm-icon-link img{width:16px;height:16px;display:block;}
.bm-standard1 .bm-icon-link:hover,.bm-standard1 .bm-session-link:hover{color:#fff;background:#151f2a;border-color:#273646;}
.bm-standard1 .bm-icon-link.is-disabled{opacity:.38;cursor:default;}
.bm-standard1 .bm-session-link.is-primary{color:#dceaf6;border-color:#294b6b;background:#15283a;}

/* HEADER */
.bm-standard1 .bm-standard1-header{
  position:relative;
  min-height:82px;
  display:flex;
  align-items:center;
  padding:10px 18px;
  overflow:hidden;
  background:#111923 url('/SystemIMG/Standard1/Layout/IMG/header-pattern.svg') center right/auto 100% no-repeat;
  border-bottom:1px solid #263443;
  box-shadow:none;
}
.bm-standard1 .bm-standard1-header::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,var(--s1-portal-accent) 25%,var(--s1-portal-accent) 75%,transparent);opacity:.55;}
.bm-standard1 .bm-standard1-brand{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;position:relative;z-index:1;}
.bm-standard1 .bm-standard1-mark{width:48px;height:48px;display:block;}
.bm-standard1 .bm-standard1-wordmark{display:flex;flex-direction:column;line-height:1;}
.bm-standard1 .bm-standard1-wordmark strong{font-size:1.55rem;letter-spacing:.055em;font-weight:800;color:#f5f8fb;}
.bm-standard1 .bm-standard1-wordmark strong span{color:var(--s1-portal-accent);}
.bm-standard1 .bm-standard1-wordmark small{margin-top:6px;color:#7f91a3;font-size:.57rem;letter-spacing:.25em;}

/* NAV2 */
.bm-standard1 .bm-nav2{min-height:36px;display:flex;align-items:center;background:#131b25;border-bottom:1px solid #263341;box-shadow:0 2px 8px rgba(0,0,0,.15);overflow-x:auto;}
.bm-standard1 .bm-nav2-items{display:flex;align-items:stretch;min-width:max-content;padding:0 12px;}
.bm-standard1 .bm-nav2 a{position:relative;display:flex;align-items:center;min-height:36px;padding:0 13px;color:#aeb9c5;text-decoration:none;font-size:.82rem;border-left:1px solid transparent;border-right:1px solid transparent;}
.bm-standard1 .bm-nav2 a:hover{color:#eef5fb;background:#182330;}
.bm-standard1 .bm-nav2 a.active{color:#f4f8fb;background:#172433;}
.bm-standard1 .bm-nav2 a.active::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;background:var(--s1-portal-accent);}

/* HAUPTBEREICH – bewusst ohne feste Sidebar */
.bm-standard1 .bm-main.bm-standard1-main{flex:1;min-height:0;width:100%;background:linear-gradient(180deg,#101720,#0d131b);}
.bm-standard1 .bm-content{width:100%;max-width:none!important;margin:0;padding:16px 18px;}
.bm-standard1 .bm-card,.bm-standard1 .bm-panel{background:linear-gradient(180deg,#171f2a,#141c26);border:1px solid var(--s1-line);border-radius:var(--s1-radius);padding:16px;margin-bottom:12px;box-shadow:0 4px 14px rgba(0,0,0,.18);backdrop-filter:none;}
.bm-standard1 .bm-card h1,.bm-standard1 .bm-card h2,.bm-standard1 .bm-card h3,.bm-standard1 .bm-panel h1,.bm-standard1 .bm-panel h2,.bm-standard1 .bm-panel h3{color:#f1f5f9;}
.bm-standard1 .bm-muted{color:var(--s1-muted);}
.bm-standard1 a{color:#6f9dcc;}
.bm-standard1 .bm-button,.bm-standard1 button{background:var(--s1-portal-strong);color:#f4f8fb;border:1px solid var(--s1-portal-accent);border-radius:5px;box-shadow:none;}
.bm-standard1 .bm-button:hover,.bm-standard1 button:hover{background:var(--s1-portal-accent);filter:none;}
.bm-standard1 .bm-button-secondary{background:#192431;color:#b9c9d8;border-color:#344456;}
.bm-standard1 input,.bm-standard1 select,.bm-standard1 textarea{background:#0f161e;color:#e7edf3;border-color:#334254;border-radius:5px;}
.bm-standard1 input:focus,.bm-standard1 select:focus,.bm-standard1 textarea:focus{border-color:var(--s1-portal-accent);outline:2px solid color-mix(in srgb,var(--s1-portal-accent) 22%,transparent);}
.bm-standard1 .bm-table th,.bm-standard1 .bm-table-wrap th{background:color-mix(in srgb,var(--s1-portal-strong) 48%,#141c26);color:#d7e4ef;}
.bm-standard1 .bm-table tbody tr:nth-child(even),.bm-standard1 .bm-table-wrap tbody tr:nth-child(even){background:rgba(255,255,255,.018);}
.bm-standard1 .bm-login-card{max-width:520px;margin:16px auto;}

/* FOOTER */
.bm-standard1 .bm-footer.bm-standard1-footer{
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 12px;
  color:#768698;
  background:#0a0f15;
  border-top:1px solid #202b37;
  box-shadow:none;
  font-size:.68rem;
}
.bm-standard1 .bm-footer-main,.bm-standard1 .bm-footer-portals{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.bm-standard1 .bm-footer-portals{margin-left:auto;justify-content:flex-end;}
.bm-standard1 .bm-footer-portals a{color:#738aa1;text-decoration:none;font-size:.66rem;}
.bm-standard1 .bm-footer-portals a:hover{color:#b8c9d9;}

@media(max-width:700px){
  .bm-standard1 .bm-nav1{padding:4px 8px;gap:6px;}
  .bm-standard1 .bm-nav1-identity strong{max-width:120px;}
  .bm-standard1 .bm-online-state{display:none;}
  .bm-standard1 .bm-standard1-header{min-height:68px;padding:8px 12px;background-size:auto 100%;}
  .bm-standard1 .bm-standard1-mark{width:40px;height:40px;}
  .bm-standard1 .bm-standard1-wordmark strong{font-size:1.24rem;}
  .bm-standard1 .bm-standard1-wordmark small{font-size:.5rem;letter-spacing:.16em;}
  .bm-standard1 .bm-content{padding:10px;}
  .bm-standard1 .bm-card,.bm-standard1 .bm-panel{padding:12px;}
  .bm-standard1 .bm-footer.bm-standard1-footer{align-items:flex-start;flex-direction:column;padding:5px 8px;}
  .bm-standard1 .bm-footer-portals{margin-left:0;}
}

/* Portal-Kennfarbe: gleiche Struktur, nur Akzentfarbe wechselt je Bereich. */
.bm-standard1 .bm-kpi{color:color-mix(in srgb,var(--s1-portal-accent) 78%,white);}
.bm-standard1 .bm-badge{background:color-mix(in srgb,var(--s1-portal-accent) 16%,#121923);color:color-mix(in srgb,var(--s1-portal-accent) 68%,white);}


/* BASYMOD Standard1 1.0.0.50 - direkte, stabile Seitenbreite ohne HTML-Outputfilter */
html[data-bm-layout="standard1"] body.bm-standard1{min-width:0;background:#090e14}
body.bm-standard1 .bm-page-shell{width:100%;max-width:none;margin:0 auto;min-width:0;transition:max-width .18s ease}
body.bm-standard1.bm-width-standard .bm-page-shell,html[data-bm-width="standard"] body.bm-standard1 .bm-page-shell{max-width:1440px}
body.bm-standard1.bm-width-compact .bm-page-shell,html[data-bm-width="compact"] body.bm-standard1 .bm-page-shell{max-width:1080px}
body.bm-standard1.bm-width-fullwidth .bm-page-shell,html[data-bm-width="fullwidth"] body.bm-standard1 .bm-page-shell{max-width:none}
body.bm-standard1 .bm-page-shell>*{min-width:0;max-width:100%;box-sizing:border-box}
body.bm-standard1 .bm-main,body.bm-standard1 .bm-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
body.bm-standard1 img,body.bm-standard1 video,body.bm-standard1 svg,body.bm-standard1 canvas{max-width:100%}
body.bm-standard1 table{max-width:100%}
@media(max-width:1080px){body.bm-standard1.bm-width-standard .bm-page-shell,body.bm-standard1.bm-width-compact .bm-page-shell{max-width:none}}


/* Core 1.0.1.21: einheitliche NAV1-Hoehe gegen Layout-Jitter auf allen Standard1-Seiten. */
@media (min-width:701px){
  .bm-standard1 .bm-nav1{height:38px!important;min-height:38px!important;max-height:38px!important;box-sizing:border-box!important;padding-top:3px!important;padding-bottom:3px!important;}
  .bm-standard1 .bm-nav1-user,.bm-standard1 .bm-nav1-actions{height:31px;min-height:31px;align-items:center;}
}


/* BASYMOD 1.0.1.66 - Admin-Header vom Stammgrafikserver */
html[data-bm-portal="admin"] .bm-admin-header{
  width:100%;
  max-width:none;
  height:auto;
  max-height:300px;
  padding:0;
  margin:0;
  overflow:hidden;
  background:#0d2b45;
  border:0;
}
html[data-bm-portal="admin"] .bm-admin-header-image{
  display:block;
  width:100%;
  height:auto;
  max-height:300px;
  object-fit:cover;
  object-position:center;
}
@media(max-width:700px){
  html[data-bm-portal="admin"] .bm-admin-header,
  html[data-bm-portal="admin"] .bm-admin-header-image{
    max-height:220px;
  }
}


/* =====================================================================
   BASYMOD Core 1.0.1.87
   ADMIN / COMMUNITY - WALD
   Diese Regeln stehen absichtlich in standard1.css, weil diese Datei
   nach core.css geladen wird und die reale Admin-Navigation enthält.
   ===================================================================== */
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav1,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav1{
  background:#10291e!important;
  background-image:none!important;
  border-bottom-color:#2b4a38!important;
}

html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav1 .bm-icon-link:hover,
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav1 .bm-session-link:hover,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav1 .bm-icon-link:hover,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav1 .bm-session-link:hover{
  background:#214a37!important;
  border-color:#37634a!important;
  color:#fff!important;
}

html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2{
  background:#173528!important;
  background-image:none!important;
  border-bottom-color:#2b4a38!important;
}

html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2 a,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2 a{
  color:#d8e7dc!important;
}

html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2 a:hover,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2 a:hover{
  background:#214a37!important;
  color:#fff!important;
}

html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2 a.active,
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2 a[aria-current="page"],
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2 a.active,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2 a[aria-current="page"]{
  background:#397451!important;
  color:#fff!important;
}

html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2 a.active::after,
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-nav2 a[aria-current="page"]::after,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2 a.active::after,
body[data-bm-admin-design="wald"].bm-standard1 .bm-nav2 a[aria-current="page"]::after{
  background:#8fc69b!important;
}

/* Wald Admin-Banner: keine alte Pattern-/Hintergrundgrafik darf sichtbar bleiben. */
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-admin-header,
body[data-bm-admin-design="wald"].bm-standard1 .bm-admin-header{
  background:#173528!important;
  background-image:none!important;
  padding:0!important;
}
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-admin-header-image,
body[data-bm-admin-design="wald"].bm-standard1 .bm-admin-header-image{
  display:block!important;
  width:100%!important;
  height:250px!important;
  object-fit:cover!important;
  object-position:center!important;
}
@media(max-width:760px){
  html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-admin-header-image,
  body[data-bm-admin-design="wald"].bm-standard1 .bm-admin-header-image{
    height:220px!important;
  }
}

/* =====================================================================
   BASYMOD Core 1.0.1.120 - Admin/Community follows active design tokens
   Wald must not inherit Standard1 blue in generic UI components.
   ===================================================================== */
html[data-bm-portal="admin"] body.bm-standard1{
  --s1-portal-accent:var(--s1-admin-accent,var(--s1-blue));
  --s1-portal-strong:var(--s1-admin-accent-hover,var(--s1-blue-soft));
}
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav1{
  background:var(--s1-admin-topbar,#0b1016);
  border-bottom-color:var(--s1-admin-nav-border,#1c2734);
}
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2{
  background:var(--s1-admin-nav,#131b25);
  border-bottom-color:var(--s1-admin-nav-border,#263341);
}
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2 a{color:var(--s1-admin-nav-muted,#aeb9c5)}
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2 a:hover{background:var(--s1-admin-nav-hover,#182330);color:var(--s1-admin-nav-text,#eef5fb)}
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2 a.active,
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2 a[aria-current="page"]{background:var(--s1-admin-nav-active,#172433);color:var(--s1-admin-nav-text,#fff)}
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2 a.active::after,
html[data-bm-portal="admin"] body.bm-standard1 .bm-nav2 a[aria-current="page"]::after{background:var(--s1-admin-accent,var(--s1-blue))}
html[data-bm-portal="admin"] body.bm-standard1 .bm-button,
html[data-bm-portal="admin"] body.bm-standard1 button:not(.bm-global-notice-close){background:var(--s1-admin-accent-hover,var(--s1-blue-soft));border-color:var(--s1-admin-accent,var(--s1-blue))}
html[data-bm-portal="admin"] body.bm-standard1 .bm-button:hover,
html[data-bm-portal="admin"] body.bm-standard1 button:not(.bm-global-notice-close):hover{background:var(--s1-admin-accent,var(--s1-blue))}
html[data-bm-portal="admin"] body.bm-standard1 a{color:var(--s1-admin-accent,var(--s1-blue))}
html[data-bm-portal="admin"] body.bm-standard1 input:focus,
html[data-bm-portal="admin"] body.bm-standard1 select:focus,
html[data-bm-portal="admin"] body.bm-standard1 textarea:focus{border-color:var(--s1-admin-accent,var(--s1-blue));outline-color:color-mix(in srgb,var(--s1-admin-accent,var(--s1-blue)) 22%,transparent)}
html[data-bm-portal="admin"] body.bm-standard1 .bm-table th,
html[data-bm-portal="admin"] body.bm-standard1 .bm-table-wrap th{background:color-mix(in srgb,var(--s1-admin-accent-hover,var(--s1-blue-soft)) 48%,#141c26)}
html[data-bm-portal="admin"] body.bm-standard1 .bm-kpi{color:color-mix(in srgb,var(--s1-admin-accent,var(--s1-blue)) 78%,white)}
html[data-bm-portal="admin"] body.bm-standard1 .bm-badge{background:color-mix(in srgb,var(--s1-admin-accent,var(--s1-blue)) 16%,#121923);color:color-mix(in srgb,var(--s1-admin-accent,var(--s1-blue)) 68%,white)}

/* Wald-specific final guard for legacy selectors that still carry blue defaults. */
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-session-link.is-primary,
body[data-bm-admin-design="wald"].bm-standard1 .bm-session-link.is-primary{background:#173528!important;border-color:#397451!important;color:#e7f2e9!important}
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-icon-link:hover,
html[data-bm-portal="admin"][data-bm-admin-design="wald"] body.bm-standard1 .bm-session-link:hover{background:#214a37!important;border-color:#397451!important;color:#fff!important}

/* =====================================================================
   BASYMOD Core 1.0.1.123
   ZENTRALE LAYOUTACHSE / CARD- / TABELLENBASIS
   Eine Breitenlogik fuer Header, Content und Footer. Designs erben diese
   Geometrie und duerfen nur ueber Tokens gestalten.
   ===================================================================== */
html[data-bm-layout="standard1"]{
  --bm-layout-width-standard:1440px;
  --bm-layout-width-compact:1080px;
  --bm-layout-outer-gap:18px;
  --bm-layout-outer-gap-mobile:0px;
  --bm-layout-container-bg:#fff;
  --bm-layout-container-border:rgba(0,0,0,.16);
  --bm-layout-container-shadow:0 8px 28px rgba(0,0,0,.20);
  --bm-layout-card-gap:14px;
}

/* Eine einzige Seitenachse: Shell ist die Grenze fuer ALLE Bereiche. */
html[data-bm-layout="standard1"] body.bm-standard1{
  min-width:0;
  background:var(--s1-bg,#090e14);
}
body.bm-standard1 .bm-page-shell{
  width:100%;
  max-width:none;
  min-width:0;
  min-height:100vh;
  margin:0 auto;
  box-sizing:border-box;
  overflow:hidden;
  background:var(--bm-layout-container-bg);
  transition:max-width .18s ease,box-shadow .18s ease;
}
body.bm-standard1.bm-width-standard .bm-page-shell,
html[data-bm-width="standard"] body.bm-standard1 .bm-page-shell{
  width:calc(100% - (2 * var(--bm-layout-outer-gap)));
  max-width:var(--bm-layout-width-standard);
  margin-top:var(--bm-layout-outer-gap);
  margin-bottom:var(--bm-layout-outer-gap);
  border:1px solid var(--bm-layout-container-border);
  box-shadow:var(--bm-layout-container-shadow);
}
body.bm-standard1.bm-width-compact .bm-page-shell,
html[data-bm-width="compact"] body.bm-standard1 .bm-page-shell{
  width:calc(100% - (2 * var(--bm-layout-outer-gap)));
  max-width:var(--bm-layout-width-compact);
  margin-top:var(--bm-layout-outer-gap);
  margin-bottom:var(--bm-layout-outer-gap);
  border:1px solid var(--bm-layout-container-border);
  box-shadow:var(--bm-layout-container-shadow);
}
body.bm-standard1.bm-width-fullwidth .bm-page-shell,
html[data-bm-width="fullwidth"] body.bm-standard1 .bm-page-shell{
  width:100%;
  max-width:none;
  margin:0;
  border:0;
  box-shadow:none;
}

/* Header, Navigation, Content und Footer duerfen die Shell-Achse nie verlassen. */
body.bm-standard1 .bm-page-shell > *,
body.bm-standard1 .bm-nav1,
body.bm-standard1 .bm-standard1-header,
body.bm-standard1 .bm-admin-header,
body.bm-standard1 .bm-nav2,
body.bm-standard1 .bm-main,
body.bm-standard1 .bm-footer{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0;
  margin-right:0;
  box-sizing:border-box;
}

/* Headergrafiken liegen buendig im Headercontainer, ohne Bild-Luft. */
body.bm-standard1 .bm-admin-header{
  padding:0!important;
  margin:0!important;
  line-height:0;
}
body.bm-standard1 .bm-admin-header-image{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  border:0;
}

/* Content bleibt innerhalb derselben Achse. */
body.bm-standard1 .bm-main,
body.bm-standard1 .bm-content{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
body.bm-standard1 .bm-content{overflow-x:hidden;}

/* Gemeinsame Card-Basis. Vorhandene Card-Grids erben gleiche Abstaende. */
body.bm-standard1 .bm-card,
body.bm-standard1 .bm-panel,
body.bm-standard1 .bm-option-card{
  min-width:0;
  box-sizing:border-box;
}
body.bm-standard1 .bm-card-grid,
body.bm-standard1 .bm-cards,
body.bm-standard1 .bm-function-card-grid{
  display:grid;
  gap:var(--bm-layout-card-gap);
  align-items:stretch;
  min-width:0;
  max-width:100%;
}
body.bm-standard1 .bm-card-grid > .bm-card,
body.bm-standard1 .bm-cards > .bm-card,
body.bm-standard1 .bm-function-card-grid > .bm-card,
body.bm-standard1 .bm-function-card-grid > .bm-option-card{
  height:100%;
  margin-bottom:0;
}

/* Tabellen: contained auf Desktop, horizontal scrollbar auf kleinen Flaechen. */
body.bm-standard1 .bm-table-wrap{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box;
}
body.bm-standard1 .bm-table-wrap table,
body.bm-standard1 table.bm-table{
  width:100%;
  max-width:100%;
  margin:0;
  box-sizing:border-box;
  border-collapse:collapse;
}
body.bm-standard1 .bm-table-wrap table{min-width:max-content;}

@media(max-width:1080px){
  body.bm-standard1.bm-width-standard .bm-page-shell,
  html[data-bm-width="standard"] body.bm-standard1 .bm-page-shell,
  body.bm-standard1.bm-width-compact .bm-page-shell,
  html[data-bm-width="compact"] body.bm-standard1 .bm-page-shell{
    width:100%;
    max-width:100%;
    margin:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
  }
}
