/* Admin: Login und Dashboard */
object {
  display: block;
  margin: auto;
}

#clip {
  width: 768px;
  height: 472px;
}

ul#darstellerlogin_links,
ul.mm-login-grid {
  margin: 10px 20px;
}

ul#darstellerlogin_links,
ul.mm-login-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

ul#darstellerlogin_links li,
ul.mm-login-grid li {
  margin: 0;
}

ul#darstellerlogin_links a.mm-login-card,
ul.mm-login-grid a.mm-login-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e6c28c;
  background: linear-gradient(135deg, #fff4dc 0%, #f8e3c0 55%, #f2d4a8 100%);
  color: #3a2416;
  text-decoration: none;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.08);
}

ul#darstellerlogin_links a.mm-login-card:hover,
ul#darstellerlogin_links a.mm-login-card:focus,
ul.mm-login-grid a.mm-login-card:hover,
ul.mm-login-grid a.mm-login-card:focus {
  background: linear-gradient(135deg, #fff7e8 0%, #f8e6c9 50%, #f1d7b0 100%);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.18);
}

ul#darstellerlogin_links a.mm-login-card span,
ul.mm-login-grid a.mm-login-card span {
  font-weight: bold;
}

ul#darstellerlogin_links svg.mm-login-icon,
ul#darstellerlogin_links .mm-login-icon-fallback,
ul.mm-login-grid svg.mm-login-icon,
ul.mm-login-grid .mm-login-icon-fallback {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

ul#darstellerlogin_links svg.mm-login-icon,
ul.mm-login-grid svg.mm-login-icon {
  fill: currentColor;
}

ul#darstellerlogin_links .mm-login-icon-fallback,
ul.mm-login-grid .mm-login-icon-fallback {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd27a 0%, #e3a23b 70%, #c68022 100%);
}

ul.mm-login-grid a.mm-login-card {
  align-items: flex-start;
}

tr.mm-row-link {
  cursor: pointer;
}

tr.mm-row-link:focus {
  outline: 2px solid #c68022;
  outline-offset: -2px;
}

#bestellungen_suche_results {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#bestellungen_suche_results .mm-row-link-anchor {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

#bestellungen_suche_results .mm-row-link-anchor:hover,
#bestellungen_suche_results .mm-row-link-anchor:focus {
  background: #fff7e8;
}

.mm-dashboard {
  margin: 10px 20px;
}

.mm-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.mm-dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6c28c;
  background: linear-gradient(135deg, #fff4dc 0%, #f8e3c0 55%, #f2d4a8 100%);
  color: #3a2416;
  text-decoration: none;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.08);
}

.mm-dashboard-card:hover,
.mm-dashboard-card:focus {
  background: linear-gradient(135deg, #fff7e8 0%, #f8e6c9 50%, #f1d7b0 100%);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.18);
}

.mm-dashboard-icon svg.mm-login-icon,
.mm-dashboard-icon .mm-login-icon-fallback {
  width: 22px;
  height: 22px;
}

.mm-dashboard-label {
  font-size: 12px;
  opacity: 0.85;
}

.mm-dashboard-value {
  font-size: 22px;
  font-weight: bold;
}

.mm-dashboard-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.mm-dashboard-list li {
  margin: 0;
  padding: 6px 8px;
  border-bottom: 1px dashed #e6c28c;
}

.mm-dashboard-list li:last-child {
  border-bottom: none;
}

.mm-dashboard-list a {
  text-decoration: none;
  color: inherit;
}

.mm-dashboard-list a:hover,
.mm-dashboard-list a:focus {
  text-decoration: underline;
}

.mm-bd {
  margin: 10px 20px;
}

.mm-bd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px 0;
}

.mm-bd-chip {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #e6c28c;
  background: #fff7e8;
  font-size: 12px;
}

.mm-bd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.mm-bd-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6c28c;
  background: linear-gradient(135deg, #fff4dc 0%, #f8e3c0 55%, #f2d4a8 100%);
  color: #3a2416;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.08);
}

.mm-bd-card-muted {
  opacity: 0.9;
}

.mm-bd-card-highlight {
  border: 1px solid #d79b43;
  background: linear-gradient(135deg, #fff1d1 0%, #f7d79e 55%, #efc77b 100%);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.18);
}

.mm-bd-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.mm-bd-ico {
  width: 20px;
  height: 20px;
}

.mm-bd-card-body p {
  margin: 0 0 8px 0;
}

.mm-bd-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mm-bd-list li {
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px dashed #e6c28c;
}

.mm-bd-list li:last-child {
  border-bottom: none;
}

.mm-bd-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-bd-action {
  display: inline-block;
}

.mm-bd-action-muted {
  font-size: 12px;
  opacity: 0.8;
}

.mm-bd-cta {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #c68022;
  background: #fff7e8;
  text-align: center;
  text-decoration: none;
}

.mm-bd-cta:hover,
.mm-bd-cta:focus {
  background: #ffe9c9;
}

/* Admin/Konto Relaunch: Shell und globale Meldungen */
body.mm-shell-admin,
body.mm-shell-konto,
body.mm-shell-auth {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  display: block;
  background:
    radial-gradient(circle at top left, rgba(255, 189, 18, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 232, 0.98));
}

.mm-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(17rem, 20rem) 1fr;
}

.mm-app-shell--konto {
  grid-template-columns: minmax(15rem, 18rem) 1fr;
}

.mm-app-shell--auth {
  display: block;
}

.mm-admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 1.4rem 1.1rem;
  background: rgba(22, 85, 0, 0.96);
  color: #fffef8;
  box-shadow: 0 0 30px rgba(22, 85, 0, 0.18);
}

.mm-admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  color: inherit;
  text-decoration: none;
}

.mm-admin-sidebar__brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--mm-yellow);
  color: var(--mm-text);
  font-weight: bold;
}

.mm-admin-sidebar__brand-text {
  font-size: 1rem;
  font-weight: bold;
}

.mm-admin-nav-group + .mm-admin-nav-group {
  margin-top: 1.4rem;
}

.mm-admin-nav-group__title {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.mm-admin-nav-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.mm-admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.82rem;
  border-radius: 0.9rem;
  color: inherit;
  text-decoration: none;
  background: transparent;
}

.mm-admin-nav-link:hover,
.mm-admin-nav-link:focus {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.mm-admin-nav-link.is-active {
  background: rgba(255, 189, 18, 0.18);
  color: #fffef8;
  box-shadow: inset 0 0 0 1px rgba(255, 189, 18, 0.32);
}

.mm-admin-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mm-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 85, 0, 0.1);
}

.mm-admin-topbar__eyebrow {
  margin: 0;
  color: rgba(22, 85, 0, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-admin-topbar__title {
  display: block;
  font-size: 1.1rem;
}

.mm-admin-topbar__user {
  display: inline-block;
  margin-top: 0.18rem;
  color: rgba(22, 85, 0, 0.75);
  font-size: 0.92rem;
}

.mm-admin-topbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.mm-admin-topbar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
}

.mm-admin-topbar__action.ist-primaer {
  background: var(--mm-yellow);
  color: var(--mm-text);
  font-weight: bold;
}

.mm-admin-topbar__action.ist-sekundaer {
  background: rgba(22, 85, 0, 0.08);
  color: var(--mm-text);
}

.mm-global-output {
  display: block;
  width: min(72rem, calc(100% - 2.8rem));
  margin: 1rem auto 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.mm-global-output__inner {
  display: grid;
  gap: 0.7rem;
}

.mm-global-meldung {
  padding: 0.95rem 1.05rem;
  border-radius: 1rem;
  background: var(--mm-surface-strong);
  box-shadow: 0 10px 24px rgba(22, 85, 0, 0.08);
  border-left: 0.35rem solid rgba(22, 85, 0, 0.22);
}

.mm-global-meldung__titel {
  display: block;
  margin-bottom: 0.2rem;
}

.mm-global-meldung__quelle {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  opacity: 0.8;
}

.mm-global-meldung.ist-success {
  border-left-color: var(--mm-text);
}

.mm-global-meldung.ist-warning {
  border-left-color: var(--mm-yellow);
}

.mm-global-meldung.ist-error {
  border-left-color: var(--mm-danger);
}

.mm-admin-main {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.mm-admin-main__content {
  width: min(72rem, calc(100% - 2.8rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.4rem;
}

.mm-admin-pagehead {
  margin: 0 0 1.4rem;
}

.mm-admin-pagehead__eyebrow {
  margin: 0 0 0.4rem;
  color: rgba(22, 85, 0, 0.76);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-admin-pagehead__lead {
  max-width: 56rem;
  margin: 0.4rem 0 0;
  line-height: 1.6;
}

.mm-admin-hub-section + .mm-admin-hub-section {
  margin-top: 1.8rem;
}

.mm-admin-hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.95rem;
}

.mm-admin-linkcard {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: var(--mm-surface-strong);
  border: 1px solid rgba(22, 85, 0, 0.1);
  box-shadow: 0 12px 24px rgba(22, 85, 0, 0.08);
  color: var(--mm-text);
  text-decoration: none;
}

.mm-admin-linkcard:hover,
.mm-admin-linkcard:focus {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(22, 85, 0, 0.12);
}

.mm-admin-linkcard__icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--mm-yellow);
  flex: 0 0 1.4rem;
}

.mm-admin-linkcard__text {
  display: grid;
  gap: 0.28rem;
}

.mm-admin-linkcard__label {
  font-weight: bold;
}

.mm-admin-linkcard__desc {
  color: rgba(22, 85, 0, 0.84);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mm-shell-konto .mm-admin-main__content,
.mm-shell-auth .mm-admin-main__content {
  width: min(54rem, calc(100% - 2.2rem));
}

.mm-shell-auth .mm-admin-topbar {
  justify-content: center;
}

.mm-shell-auth .mm-admin-topbar__actions {
  display: none;
}

body.mm-shell-hybrid {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "header" "nav" "output" "main" "footer";
}

body.mm-shell-hybrid > article,
body.mm-shell-hybrid > aside {
  display: none;
}

body.mm-shell-hybrid > main.mm-hybrid-main {
  background: var(--mm-surface);
}

.mm-hybrid-main__content {
  width: min(76rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.4rem;
}

.mm-hybrid-shell,
.mm-konto-start--shell {
  display: grid;
  gap: 1.1rem;
}

.mm-intern-kopf,
.mm-konto-start--shell > .mm-konto-hinweis {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(22, 85, 0, 0.08);
}

.mm-intern-kopf__titelblock,
.mm-konto-hinweis__kopf {
  display: grid;
  gap: 0.2rem;
}

.mm-intern-kopf__eyebrow,
.mm-konto-hinweis__eyebrow {
  margin: 0;
  color: rgba(22, 85, 0, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-intern-kopf__title,
.mm-konto-hinweis__titel {
  font-size: 1.12rem;
}

.mm-intern-kopf__user,
.mm-konto-start--shell > .mm-konto-hinweis .mm-konto-status {
  color: rgba(22, 85, 0, 0.74);
  font-size: 0.95rem;
}

.mm-intern-subnav,
.mm-konto-card--navigation {
  display: grid;
  gap: 0.9rem;
}

.mm-intern-subnav__gruppe,
.mm-konto-card__gruppe {
  display: grid;
  gap: 0.5rem;
}

.mm-intern-subnav__links,
.mm-intern-actions,
.mm-konto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mm-intern-subnav__link,
.mm-intern-action,
.mm-konto-actions__link,
.mm-konto-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.8rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(22, 85, 0, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--mm-text);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 85, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mm-intern-subnav__link:hover,
.mm-intern-subnav__link:focus,
.mm-intern-action:hover,
.mm-intern-action:focus,
.mm-konto-actions__link:hover,
.mm-konto-actions__link:focus,
.mm-konto-link:hover,
.mm-konto-link:focus {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(22, 85, 0, 0.1);
}

.mm-intern-subnav__link.is-active,
.mm-konto-link.is-active {
  border-color: rgba(22, 85, 0, 0.28);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 2px rgba(22, 85, 0, 0.08), 0 14px 28px rgba(22, 85, 0, 0.08);
}

.mm-intern-action.ist-primaer,
.mm-konto-actions__link.ist-primaer {
  background: var(--mm-yellow);
  border-color: rgba(22, 85, 0, 0.18);
  font-weight: bold;
}

.mm-intern-action.ist-sekundaer,
.mm-konto-actions__link.ist-sekundaer {
  background: rgba(22, 85, 0, 0.08);
}

.mm-intern-action.ist-subtil,
.mm-konto-actions__link.ist-subtil {
  background: rgba(255, 255, 255, 0.78);
}

.mm-intern-content,
.mm-konto-start__inhalt,
.mm-konto-start {
  display: grid;
  gap: 1rem;
}

.mm-konto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}

.mm-konto-grid--gast {
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
}

.mm-konto-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(22, 85, 0, 0.08);
}

.mm-konto-card > h2,
.mm-konto-help > h2 {
  margin: 0;
  text-align: left;
}

.mm-konto-card__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.mm-konto-card__liste li {
  display: grid;
  gap: 0.2rem;
}

.mm-konto-card__liste li small {
  color: rgba(22, 85, 0, 0.74);
}

.mm-konto-card__liste--links {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.mm-konto-form {
  display: grid;
  gap: 1rem;
}

.mm-konto-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.mm-konto-form__feld {
  display: grid;
  gap: 0.35rem;
}

.mm-konto-form__feld--wide {
  grid-column: 1 / -1;
}

.mm-konto-form__split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(6rem, 0.8fr);
  gap: 0.7rem;
}

.mm-konto-form__splitfeld {
  display: grid;
  gap: 0.35rem;
}

.mm-konto-form__feld .fehler,
.mm-konto-form__splitfeld .fehler {
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
  text-align: left;
}

.mm-konto-form .login_formular,
.mm-konto-form .login_formular fieldset {
  margin: 0;
}

.mm-konto-form .login_formular fieldset {
  padding: 0;
}

.mm-konto-form .login_formular a {
  display: inline-block;
}

.mm-konto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mm-konto-help,
.mm-konto-hinweis,
.mm-konto-status {
  color: rgba(22, 85, 0, 0.82);
}

.mm-konto-help {
  margin: 0;
}

.mm-konto-hinweis,
.mm-konto-status {
  margin: 0;
}

.mm-konto-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: normal;
}

.mm-konto-checkbox + .mm-konto-checkbox {
  margin-top: 0.4rem;
}

@media (max-width: 980px) {
  .mm-app-shell,
  .mm-app-shell--konto {
    grid-template-columns: 1fr;
  }

  .mm-admin-sidebar {
    position: relative;
    min-height: 0;
  }

  .mm-admin-main__content,
  .mm-global-output,
  .mm-shell-konto .mm-admin-main__content,
  .mm-shell-auth .mm-admin-main__content {
    width: calc(100% - 1.4rem);
  }

  .mm-admin-topbar {
    padding: 0.9rem 0.7rem;
  }

  .mm-hybrid-main__content {
    width: calc(100% - 1.2rem);
  }

  .mm-konto-grid,
  .mm-konto-grid--gast,
  .mm-konto-form__grid {
    grid-template-columns: 1fr;
  }

  .mm-konto-form__split {
    grid-template-columns: 1fr;
  }
}

.mm-bd-kueche-lead {
  font-weight: bold;
}

.mm-bd-actions form {
  margin: 0;
}

/* Admin: Bestellungen */
.mm-bestellungen-toolbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin: 10px 20px 12px;
  padding: 14px;
  border: 1px solid #e6c28c;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 247, 232, 0.96) 0%, rgba(248, 227, 192, 0.96) 55%, rgba(242, 212, 168, 0.96) 100%);
  box-shadow: 0 10px 22px rgba(58, 36, 22, 0.12);
  backdrop-filter: blur(10px);
}

.mm-bestellungen-modus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px 0;
}

.mm-bestellungen-moduslink {
  min-height: 72px;
  justify-content: center;
}

.mm-bestellungen-moduslink.is-active {
  border-color: #c68022;
  background: linear-gradient(135deg, #fff8ea 0%, #f7dfb7 55%, #efc880 100%);
  box-shadow: 0 0 0 2px rgba(198, 128, 34, 0.18), 2px 2px 10px rgba(0, 0, 0, 0.18);
}

.mm-bestellungen-filtergrid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 2fr);
  gap: 12px;
  align-items: start;
}

.mm-bestellungen-filterblock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mm-bestellungen-filterblock label {
  font-weight: bold;
}

.mm-bestellungen-filterblock input[type=text],
.mm-bestellungen-filterblock select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #d9b27b;
  border-radius: 10px;
  background: #fffdf9;
  box-sizing: border-box;
}

.mm-bestellungen-filterblock-wide {
  position: relative;
}

.mm-bestellungen-filterchecks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 12px;
  padding: 12px;
  border: 1px dashed #d9b27b;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.mm-bestellungen-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.mm-bestellungen-check input {
  margin-top: 2px;
}

.mm-bestellungen-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.mm-bestellungen-live-status {
  min-height: 18px;
  font-size: 12px;
  color: #5f4630;
}

#bestellungen_suche_results.mm-bestellungen-live-results {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e6c28c;
  border-radius: 12px;
  background: #fffbf3;
  box-shadow: 0 12px 24px rgba(58, 36, 22, 0.08);
  max-height: 260px;
  overflow: auto;
}

.mm-bestellungen-live-results li + li {
  border-top: 1px dashed #ecd5ae;
}

#bestellungen_suche_results.mm-bestellungen-live-results .mm-row-link-anchor {
  display: block;
  padding: 10px 12px;
  border-radius: 0;
}

.mm-bestellungen-live-results[hidden] {
  display: none;
}

.mm-bestellungen-filterchips,
.mm-bestellungen-analyse {
  margin: 10px 20px;
}

.mm-bestellungen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 16px;
  align-items: start;
  margin: 10px 20px 20px;
}

.mm-bestellungen-liste,
.mm-bestellungen-vorschau {
  min-width: 0;
}

.mm-bestellungen-listenkopf {
  margin: 0 0 12px 0;
}

.mm-bestellungen-listenkopf h2 {
  margin: 0 0 4px 0;
}

.mm-bestellungen-listenkopf p {
  margin: 0;
  color: #5f4630;
}

.mm-bestellungen-batchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  margin: 0 0 12px 0;
  border: 1px solid #e6c28c;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8ea 0%, #f7e2bc 55%, #f1d39d 100%);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.06);
}

.mm-bestellungen-batchbar label {
  font-weight: bold;
}

.mm-bestellungen-batchbar select {
  padding: 8px 10px;
  border: 1px solid #d9b27b;
  border-radius: 10px;
  background: #fffdf9;
}

.mm-bestellkarten {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-bestellkarte {
  padding: 14px;
  border: 1px solid #e6c28c;
  border-left: 5px solid #d9b27b;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf9 0%, #fff7e8 55%, #f7e4c0 100%);
  box-shadow: 0 8px 18px rgba(58, 36, 22, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mm-bestellkarte:hover,
.mm-bestellkarte:focus {
  border-color: #c68022;
  box-shadow: 0 14px 28px rgba(58, 36, 22, 0.14);
  transform: translateY(-1px);
}

.mm-bestellkarte:focus {
  outline: 2px solid #c68022;
  outline-offset: 2px;
}

.mm-bestellkarte.is-active {
  border-color: #c68022;
  box-shadow: 0 0 0 2px rgba(198, 128, 34, 0.18), 0 14px 28px rgba(58, 36, 22, 0.14);
}

.mm-bestellkarte.is-selected {
  box-shadow: 0 0 0 2px rgba(215, 155, 67, 0.28), 0 14px 28px rgba(58, 36, 22, 0.14);
}

.mm-bestellkarte.storno {
  border-left-color: #a66242;
}

.mm-bestellkarte.entwertet {
  border-left-color: #7b9b55;
}

.mm-bestellkarte.grossegruppen {
  border-left-color: #c68022;
}

.mm-bestellkarte-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.mm-bestellkarte-select {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: bold;
}

.mm-bestellkarte-select input {
  margin: 0;
}

.mm-bestellkarte-titleblock {
  min-width: 0;
}

.mm-bestellkarte-title {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #3a2416;
}

.mm-bestellkarte-title:hover,
.mm-bestellkarte-title:focus {
  text-decoration: underline;
}

.mm-bestellkarte-subtitle {
  margin-top: 4px;
  color: #5f4630;
}

.mm-bestellkarte-zahlen {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 2px 14px;
  text-align: right;
  white-space: nowrap;
}

.mm-bestellkarte-zahlen strong {
  display: block;
  font-size: 18px;
}

.mm-bestellkarte-zahlen span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.mm-bestellkarte-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 8px 0;
}

.mm-bestellkarte-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: #5f4630;
}

.mm-bestellkarte-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}

.mm-bestellkarte-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e6c28c;
}

.mm-bestellkarte-details summary {
  cursor: pointer;
  font-weight: bold;
}

.mm-bestellkarte-detailgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 14px;
  margin-top: 10px;
}

.mm-bestellkarte-detailgrid p {
  margin: 0;
}

.mm-bestellungen-vorschau {
  position: sticky;
  top: 172px;
  padding: 14px;
  border: 1px solid #e6c28c;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8ea 0%, #f8e4c1 55%, #f2d5a6 100%);
  box-shadow: 0 10px 22px rgba(58, 36, 22, 0.12);
}

.mm-bestellungen-vorschau h2 {
  margin: 0 0 12px 0;
}

.mm-bestellungen-leer {
  padding: 14px;
  border: 1px dashed #d9b27b;
  border-radius: 14px;
  background: #fffbf3;
  color: #5f4630;
}

.mm-bestellungen-analyse summary {
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 10px;
}

.mm-bestellungen-analyseblock {
  align-self: start;
}

.mm-bd-preview {
  margin: 0;
}

.mm-bd-preview-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.mm-bd-preview-head h3 {
  margin: 0;
}

.mm-bd-empty {
  margin: 0;
}

/* Admin: Sonstiges */
@media (max-width: 960px) {
  .mm-bestellungen-toolbar {
    position: static;
  }
  .mm-bestellungen-filtergrid,
  .mm-bestellungen-layout {
    grid-template-columns: 1fr;
  }
  .mm-bestellungen-modus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mm-bestellungen-vorschau {
    position: static;
  }
  .mm-bestellkarte-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .mm-bestellkarte-zahlen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}
@media (max-width: 700px) {
  .mm-bd {
    margin: 10px 12px;
  }
  .mm-dashboard,
  .mm-bestellungen-toolbar,
  .mm-bestellungen-filterchips,
  .mm-bestellungen-analyse,
  .mm-bestellungen-layout {
    margin-left: 12px;
    margin-right: 12px;
  }
  .mm-bestellungen-modus {
    grid-template-columns: 1fr 1fr;
  }
  .mm-bestellungen-filterchecks {
    grid-template-columns: 1fr;
  }
  .mm-bestellungen-batchbar {
    align-items: stretch;
  }
  .mm-bestellungen-batchbar select,
  .mm-bestellungen-batchbar button {
    width: 100%;
  }
  .mm-bestellkarte-actions,
  .mm-bestellkarte-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .mm-bestellkarte-detailgrid {
    grid-template-columns: 1fr;
  }
}
ul.mm-login-grid .mm-login-text {
  display: block;
}

ul.mm-login-grid .mm-login-label {
  display: block;
  font-weight: bold;
}

ul.mm-login-grid .mm-login-desc {
  display: block;
  font-size: 12px;
  font-weight: normal;
  opacity: 0.85;
}

ul#textdateien {
  margin: 10px 20px;
}

table#probentermine,
table#darstellerliste,
table#newsletter_leser,
table#bestellungen_anzeigen,
table#auffuehrungen {
  width: 100%;
}

table#probentermine td,
table#darstellerliste td,
table#newsletter_leser td,
table#bestellungen_anzeigen td,
table#auffuehrungen td {
  text-align: center;
  padding: 5px 2px;
}

table#probentermine tr:hover td,
table#darstellerliste tr:hover td,
table#newsletter_leser tr:hover td,
table#bestellungen_anzeigen tr:hover td {
  background: #FF6;
}

table#bestellungen_anzeigen tr th:nth-of-type(2) {
  min-width: 200px;
}

table#bestellungen_anzeigen tr th:nth-of-type(3) {
  min-width: 120;
}

form#bestellungen_anzeigen img {
  padding: 5px;
}

form#bestellungen_anzeigen img {
  padding: 5px;
}

fieldset#darstellerregistrierung ul li label:first-child,
fieldset#proben_hinzufuegen ul li label,
fieldset#auffuehrung_hinzufuegen ul li label,
form#passwort_aendern_formular ul li label,
form#passwort_vergessen_formular ul li label {
  display: inline-block;
  width: 180px;
  text-align: right;
}

fieldset#darstellerregistrierung ul li {
  max-width: 450px;
  white-space: nowrap;
  overflow: visible;
}

fieldset#darstellerregistrierung ul li input:first-child {
  margin: 5px 0 0 205px;
}

fieldset#darstellerregistrierung ul li:nth-last-child(3) span {
  display: inline-block;
  width: 100%;
  text-align: center;
}

span.zeit_abstand,
span#zeit_abstand {
  display: inline-block;
  width: 70px;
  text-align: right;
}

fieldset#darstellerregistrierung ul li input,
fieldset#proben_hinzufuegen ul li input,
fieldset#proben_hinzufuegen ul li select,
fieldset#proben_hinzufuegen ul li textarea,
fieldset#auffuehrung_hinzufuegen ul li input,
fieldset#auffuehrung_hinzufuegen ul li select,
fieldset#auffuehrung_hinzufuegen ul li textarea,
form#passwort_aendern_formular ul li input,
form#passwort_vergessen_formular ul li input {
  margin: 2px 0px 0px 0px;
}

fieldset#proben_hinzufuegen ul li textarea,
fieldset#auffuehrung_hinzufuegen ul li textarea {
  width: 400px;
  height: 100px;
}

fieldset#proben_hinzufuegen ul li input#probe_fuer {
  width: 200px;
}

table#bestellungen_anzeigen {
  margin-top: 30px;
}

table#bestellungen_anzeigen td p {
  margin: 10px 0px 0px 0px;
}

p.klein {
  font-size: 12px;
}

table#bestellungen_anzeigen tr.grossegruppen {
  background: lightblue;
}

table#bestellungen_anzeigen tr.trennung {
  border-top: 1px #000 solid;
  height: 1%;
}

a.karten_drucken {
  color: #00F;
}

form#karten_bestellung fieldset,
form#auswahl_auffuehrung fieldset {
  margin: 20px;
  border: 1px #CCC solid;
  padding: 5px;
}

fieldset ul {
  list-style: none;
}

form#karten_bestellung legend,
form#auswahl_auffuehrung legend {
  font-weight: bold;
  font-size: 16px;
}

fieldset#persdaten ul li label,
fieldset#anzahl_karten ul li label {
  display: inline-block;
  width: 200px;
  text-align: right;
}

fieldset#anzahl_karten ul li input {
  width: 30px;
  text-align: right;
}

input#hausnr {
  width: 30px;
}

input#bestellung_absenden,
input#auswahl_auffuehrung {
  display: block;
  margin: auto;
  width: 220px;
}

table#kartenbestellen {
  margin: 20px 0px 0px 20px;
}

table#kartenbestellen td {
  padding: 5px;
  vertical-align: middle;
}

table#kartenbestellen td input {
  width: 20px;
  text-align: right;
}

table#kartenbestellen td.preise {
  text-align: right;
}

p.bestaetigung_gross {
  color: #0A0;
  font-size: 28px;
  text-align: center;
}

input#betreff,
textarea#nachricht {
  display: block;
  width: 750px;
}

textarea#nachricht {
  height: 300px;
}

p.mini_uhrzeit {
  font-size: 8px;
  margin: 0px;
}

form#nl_hinzufuegen fieldset ul li label {
  display: inline-block;
  width: 200px;
  text-align: right;
}

video {
  max-width: 100%;
}

p#nutzergruppenanzeige {
  font-size: 50%;
  text-align: right;
}

form#kassenabschluss input#absenden,
button#print {
  margin: 20px;
}

form#passwort_aendern_formular {
  float: left;
  margin: 15px 30px;
}

form#passwort_aendern_formular ul {
  list-style: none;
}

form#passwort_aendern_formular + p {
  color: grey;
}

form#passwort_aendern_formular + p + p {
  color: grey;
  text-align: right;
}

.storno {
  opacity: 50%;
}

div#umgang_daten p + p {
  font-weight: normal;
  font-size: 12px;
  color: #999;
}

table#nutzer_bestellungen td {
  padding: 0 1%;
  max-width: 10%;
}

table#nutzer_bestellungen td:nth-of-type(2),
table#nutzer_bestellungen td:nth-of-type(3),
table#nutzer_bestellungen td:nth-of-type(4),
table#nutzer_bestellungen td:nth-of-type(6) {
  text-align: center;
}

table#nutzer_bestellungen td:nth-of-type(5) {
  text-align: right;
}

main,
main > form {
  display: grid;
  height: max-content;
}

@media (orientation: landscape) {
  main > form {
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    gap: 20px;
  }
}
main h2,
main h3 {
  grid-column: 1/-1;
}

main > form > label > small {
  display: block;
  color: gray;
}

main .mm-assistent fieldset {
  margin-bottom: 18px;
}

.mm-termine {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-termin-row {
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  padding: 10px;
  background: #fffaf0;
}

.mm-termin-row.mm-termin-template {
  display: none;
}

.mm-termin-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.mm-termin-fields input[type=datetime-local] {
  min-width: 220px;
}

.mm-termin-fields select {
  width: 260px;
  max-width: 100%;
}

.mm-termin-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mm-termin-actions button,
.mm-add-termin {
  border-radius: 8px;
  padding: 4px 10px;
}

.mm-add-termin {
  margin-top: 8px;
}

.mm-assistent .mm-hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.9em;
  color: #666;
}

.mm-preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.mm-preview-table th,
.mm-preview-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  vertical-align: top;
}

.mm-warn {
  color: #b10000;
  font-weight: bold;
}

.mm-warn-box {
  border: 1px solid #e0b4b4;
  background: #fff4f4;
  padding: 10px 12px;
  margin: 10px 0 16px;
}

.mm-actions {
  margin-top: 12px;
}

.mm-template-block {
  margin: 8px 0 12px;
}

.mm-info {
  margin-left: 8px;
  color: #555;
}

.mm-template-preview {
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fffaf0;
  font-size: 0.95em;
}

.mm-template-preview ul {
  margin: 6px 0 0 18px;
}

.mm-template-preview.is-loading {
  opacity: 0.7;
}

.mm-template-title {
  font-weight: bold;
}

.mm-template-summary {
  margin-top: 2px;
  color: #555;
  font-size: 0.9em;
}

.mm-template-error {
  color: #b10000;
  font-weight: bold;
}

.mm-cookie-banner {
  transition: opacity 0.25s ease;
}

.mm-cookie-banner.is-closing {
  opacity: 0;
  pointer-events: none;
}

.mm-cookie-banner[hidden],
.mm-cookie-banner.is-accepted {
  display: none !important;
}

.mm-layout-header,
.mm-layout-nav,
.mm-layout-main,
.mm-layout-aside,
.mm-layout-footer {
  box-sizing: border-box;
}

#gutschein_formular fieldset {
  max-width: 820px;
  margin: 0 auto;
}

#gutschein_formular .gutschein-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

#gutschein_formular .gutschein-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#gutschein_formular .full-span {
  grid-column: 1/-1;
}

#gutschein_formular .radio-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

#gutschein_formular input[type=submit] {
  width: 220px;
}

#gutschein_tabelle_wrapper {
  overflow: visible;
}

#nutzer_bestellungen {
  width: 100%;
  border-collapse: collapse;
}

#nutzer_bestellungen th,
#nutzer_bestellungen td {
  padding: 6px 4px;
  text-align: left;
}

#nutzer_bestellungen th {
  border-bottom: 2px solid #ccc;
}

.termin-form-date {
  width: 16rem;
}

.termin-form-time {
  width: 10rem;
}

.termine-nav {
  margin: 1rem 0;
}

.probentermine-abo {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f7f7f7;
  border-radius: 6px;
}

.probentermine-abo .ical-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.probentermine-abo .ical-action {
  background: #0063a4;
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.probentermine-abo .ical-action:focus,
.probentermine-abo .ical-action:hover {
  background: #004f82;
}

.probentermine-abo .ical-copy-hint {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 16rem;
}

.probentermine-abo .ical-copy-field {
  padding: 0.5rem 0.6rem;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.probentermine-abo details {
  margin-top: 1rem;
}

.termin-copy-hinweis {
  background: #fff4d6;
  border-left: 4px solid #f0a202;
  padding: 0.8rem 1rem;
  margin: 0 0 1rem;
}

.termin-id-display {
  display: inline-block;
  min-width: 3rem;
  font-weight: bold;
}

.umbuchung-preise[hidden] {
  display: none !important;
}

.mm-bd-action-inline {
  display: inline;
}

.mm-admin-inline-form {
  display: inline;
}

.mm-admin-inline-block-form {
  display: inline-block;
}

.mm-admin-inline-label {
  display: inline-block;
}

.mm-admin-input-breit-60 {
  width: 60%;
}

.mm-admin-input-breit-80 {
  width: 80%;
}

.mm-admin-input-breit-95 {
  width: 95%;
}

.mm-admin-input-breit-100 {
  width: 100%;
}

.mm-admin-input-breit-40 {
  width: 40%;
}

.mm-admin-input-breit-50 {
  width: 50%;
}

.mm-admin-hinweis {
  color: #555;
}

.mm-admin-space-r-8 {
  margin-right: 8px;
}

.mm-admin-space-r-12 {
  margin-right: 12px;
}

.mm-admin-space-b-6 {
  margin-bottom: 6px;
}

.mm-admin-space-b-12 {
  margin-bottom: 12px;
}

.mm-admin-artikel-block {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
}

.mm-erfolg {
  color: green;
}

@media (max-width: 720px) {
  #gutschein_formular .gutschein-form-grid {
    grid-template-columns: 1fr;
  }
  #gutschein_formular input[type=submit] {
    width: 100%;
  }
  #nutzer_bestellungen,
  #nutzer_bestellungen tbody,
  #nutzer_bestellungen tr,
  #nutzer_bestellungen td {
    display: block;
    width: 100%;
  }
  #nutzer_bestellungen th {
    display: none;
  }
  #nutzer_bestellungen tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 6px;
  }
  #nutzer_bestellungen td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 6px 2px;
  }
  #nutzer_bestellungen td:last-child {
    border-bottom: none;
  }
  #nutzer_bestellungen td::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 8px;
  }
  #nutzer_bestellungen {
    font-size: 90%;
  }
}
/* ProjektKonfigurationRenderer bridge */
:root {
  --pk-bg: #f7f7f7;
  --pk-surface: #ffffff;
  --pk-surface-muted: #fbfbfb;
  --pk-border: #d9d9d9;
  --pk-border-strong: #bdbdbd;
  --pk-text: #1f1f1f;
  --pk-muted: #5f5f5f;
  --pk-accent: #3b5f8a;
  --pk-ok-bg: #edf6ef;
  --pk-ok-text: #27613a;
  --pk-warn-bg: #fff7e8;
  --pk-warn-text: #7a5600;
  --pk-error-bg: #fbecec;
  --pk-error-text: #8b2f2f;
}

/* Admin: Projektkonfiguration */
.pk-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  color: var(--pk-text);
}

.pk-shell h1,
.pk-shell h2,
.pk-shell h3 {
  margin: 0;
  color: var(--pk-text);
}

.pk-shell p,
.pk-shell label,
.pk-shell small,
.pk-shell input,
.pk-shell select,
.pk-shell textarea,
.pk-shell a,
.pk-shell button,
.pk-shell dt,
.pk-shell dd {
  font-family: Arial, Helvetica, sans-serif;
}

.pk-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.pk-eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pk-muted);
}

.pk-kopf h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.pk-lead {
  margin: 0;
  line-height: 1.55;
  color: #363636;
  max-width: 72ch;
}

.pk-fakten {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--pk-border);
  background: var(--pk-surface);
}

.pk-fakt {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.pk-fakt + .pk-fakt {
  border-top: 1px solid #eeeeee;
}

.pk-fakt dt {
  color: var(--pk-muted);
}

.pk-fakt dd {
  margin: 0;
  font-weight: 700;
}

.pk-meldung {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid transparent;
}

.pk-meldung-fertig {
  background: var(--pk-ok-bg);
  border-color: #cfe3d4;
  color: var(--pk-ok-text);
}

.pk-meldung-hinweis {
  background: var(--pk-warn-bg);
  border-color: #e8d9b2;
  color: var(--pk-warn-text);
}

.pk-meldung-fehler {
  background: var(--pk-error-bg);
  border-color: #e7c5c5;
  color: var(--pk-error-text);
}

.pk-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 14px;
  margin-bottom: 14px;
}

.pk-filterbox,
.pk-hinweise,
.pk-navigation,
.pk-gruppe {
  border: 1px solid var(--pk-border);
  background: var(--pk-surface);
}

.pk-filterbox,
.pk-hinweise {
  padding: 14px;
}

.pk-filterbox label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: var(--pk-muted);
}

.pk-hinweise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.pk-hinweis {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.84rem;
  color: #444444;
  background: #f3f3f3;
  border: 1px solid #e2e2e2;
}

.pk-navigation {
  margin-bottom: 18px;
  padding: 12px 14px;
}

.pk-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pk-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: var(--pk-text);
  text-decoration: none;
  border: 1px solid #e1e1e1;
  background: #fafafa;
}

.pk-navigation a:hover {
  border-color: var(--pk-border-strong);
  background: #f4f4f4;
}

.pk-navigation-anzahl {
  color: var(--pk-muted);
  font-size: 0.84rem;
}

.pk-gruppe {
  margin-bottom: 18px;
}

.pk-gruppe form {
  margin: 0;
}

.pk-gruppe-kopf {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: var(--pk-surface-muted);
  border-bottom: 1px solid var(--pk-border);
}

.pk-gruppe-kopf h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pk-gruppe-info {
  margin: 0;
  color: var(--pk-muted);
  line-height: 1.5;
}

.pk-gruppe-anzahl {
  white-space: nowrap;
  color: var(--pk-muted);
  font-size: 0.9rem;
}

.pk-grid {
  padding: 16px;
}

.pk-eintrag {
  padding: 14px 0 16px;
  border-bottom: 1px solid #ececec;
}

.pk-eintrag:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pk-eintrag-kopf {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pk-eintrag-kopf h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.pk-key {
  display: inline-block;
  margin-bottom: 5px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  color: var(--pk-muted);
}

.pk-help {
  margin: 0;
  color: #4d4d4d;
  line-height: 1.45;
}

.pk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.pk-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.78rem;
  color: #505050;
  background: #f3f3f3;
  border: 1px solid #e1e1e1;
}

.pk-badge-legacy {
  background: #fff7e8;
  color: #7a5600;
}

.pk-badge-secret {
  background: #eef3f9;
  color: #3b5f8a;
}

.pk-feld {
  display: grid;
  gap: 10px;
}

.pk-feld input[type=text],
.pk-feld input[type=number],
.pk-feld input[type=password],
.pk-feld select,
.pk-feld textarea,
.pk-filterbox input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--pk-border-strong);
  background: #ffffff;
  color: var(--pk-text);
  box-sizing: border-box;
  font-size: 0.95rem;
}

.pk-feld input[type=text]:focus,
.pk-feld input[type=number]:focus,
.pk-feld input[type=password]:focus,
.pk-feld select:focus,
.pk-feld textarea:focus,
.pk-filterbox input:focus {
  outline: none;
  border-color: var(--pk-accent);
}

.pk-feld textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45;
  font-family: Consolas, "Courier New", monospace;
}

.pk-boolean {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.pk-secret-aktionen {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pk-secret-status {
  color: var(--pk-muted);
  font-size: 0.9rem;
}

.pk-loeschen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b2f2f;
}

.pk-gruppe-fuss {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--pk-border);
  background: var(--pk-surface-muted);
}

.pk-gruppe-fuss p {
  margin: 0;
  color: var(--pk-muted);
}

.pk-gruppe-fuss input[type=submit] {
  padding: 10px 14px;
  border: 1px solid #6f6f6f;
  background: #f7f7f7;
  color: var(--pk-text);
  font-weight: 700;
  cursor: pointer;
}

.pk-gruppe-fuss input[type=submit]:hover {
  background: #efefef;
}

.pk-leer {
  padding: 16px;
  border: 1px solid var(--pk-border);
  background: var(--pk-surface);
}

@media (max-width: 920px) {
  .pk-kopf,
  .pk-toolbar {
    grid-template-columns: 1fr;
  }
  .pk-gruppe-kopf,
  .pk-gruppe-fuss,
  .pk-secret-aktionen {
    flex-direction: column;
    align-items: stretch;
  }
  .pk-eintrag-kopf {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pk-badges {
    justify-content: flex-start;
    margin-bottom: 0;
  }
}
@media (max-width: 640px) {
  .pk-shell {
    padding: 18px 12px 32px;
  }
  .pk-grid,
  .pk-gruppe-kopf,
  .pk-gruppe-fuss {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Refactoring: Wald & Gold für Bestellungen und Detailansichten */
.mm-dashboard-card,
.mm-bd-card,
.mm-bestellungen-toolbar,
.mm-bestellungen-batchbar,
.mm-bestellkarte,
.mm-bestellungen-leer,
#bestellungen_suche_results.mm-bestellungen-live-results {
  color: var(--mm-text, rgb(22, 85, 0));
}

.mm-dashboard-card,
.mm-bd-card {
  border-color: rgba(22, 85, 0, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(22, 85, 0, 0.08);
}

.mm-bd-card-highlight,
.mm-bestellungen-batchbar,
.mm-bestellungen-toolbar,
.mm-bestellungen-moduslink.is-active {
  border-color: rgba(255, 189, 18, 0.65);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 249, 229, 0.96) 100%);
  box-shadow: 0 14px 28px rgba(22, 85, 0, 0.09);
}

.mm-bd-card-muted {
  opacity: 1;
}

.mm-bd-chip {
  border-color: rgba(22, 85, 0, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--mm-text, rgb(22, 85, 0));
}

.mm-bestellungen-filterchecks {
  border-color: rgba(22, 85, 0, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.mm-bestellungen-toolbar-quickbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
  margin-top: 14px;
}

.mm-bestellungen-suchchip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 85, 0, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mm-bestellungen-suchchip-label {
  font-size: 12px;
  font-weight: bold;
  color: rgba(22, 85, 0, 0.8);
}

.mm-bestellungen-suchchip input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(22, 85, 0, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mm-text, rgb(22, 85, 0));
  box-sizing: border-box;
}

.mm-bestellungen-suchchip input:focus {
  outline: 2px solid rgba(255, 189, 18, 0.45);
  outline-offset: 2px;
  border-color: rgba(255, 189, 18, 0.8);
}

.mm-bestellungen-live-status {
  align-self: center;
  min-height: 18px;
  color: rgba(22, 85, 0, 0.72);
}

#bestellungen_suche_results.mm-bestellungen-live-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: min(620px, 100%);
  margin: 0;
  border-color: rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(22, 85, 0, 0.12);
  z-index: 8;
}

#bestellungen_suche_results.mm-bestellungen-live-results .mm-row-link-anchor {
  color: var(--mm-text, rgb(22, 85, 0));
}

#bestellungen_suche_results.mm-bestellungen-live-results .mm-row-link-anchor:hover,
#bestellungen_suche_results.mm-bestellungen-live-results .mm-row-link-anchor:focus {
  background: rgba(255, 189, 18, 0.16);
}

.mm-bestellungen-layout {
  display: block;
}

.mm-bestellkarte {
  border-color: rgba(22, 85, 0, 0.14);
  border-left-color: rgba(255, 189, 18, 0.75);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 241, 230, 0.88) 100%);
  box-shadow: 0 12px 28px rgba(22, 85, 0, 0.08);
}

.mm-bestellkarte:hover,
.mm-bestellkarte:focus-within {
  border-color: rgba(255, 189, 18, 0.8);
  box-shadow: 0 18px 32px rgba(22, 85, 0, 0.12);
}

.mm-bestellkarte.is-active,
.mm-bestellkarte.is-selected {
  box-shadow: 0 0 0 2px rgba(255, 189, 18, 0.28), 0 18px 32px rgba(22, 85, 0, 0.12);
}

.mm-bestellkarte.storno {
  border-left-color: var(--mm-danger, rgb(149, 0, 0));
}

.mm-bestellkarte.entwertet {
  border-left-color: rgba(22, 85, 0, 0.8);
}

.mm-bestellkarte-title,
.mm-bestellkarte-meta,
.mm-bestellungen-listenkopf p,
.mm-dashboard-label {
  color: rgba(22, 85, 0, 0.82);
}

.mm-bestellkarte-details {
  border-top-color: rgba(22, 85, 0, 0.14);
}

.mm-bestellkarte-details summary {
  color: var(--mm-text, rgb(22, 85, 0));
}

.mm-bestellkarte-detailblock {
  margin-top: 12px;
}

.mm-bd-kueche-details {
  border-top: 1px dashed rgba(22, 85, 0, 0.14);
  padding-top: 10px;
  margin-top: 10px;
}

.mm-bd-kueche-details summary {
  cursor: pointer;
  font-weight: bold;
}

.mm-bd-kueche-block {
  margin-top: 10px;
}

.mm-bd-action a,
.mm-bd-action,
.mm-bestellkarte-actions a {
  color: var(--mm-text, rgb(22, 85, 0));
}

.mm-bd-cta {
  border-color: rgba(255, 189, 18, 0.8);
  background: rgba(255, 249, 229, 0.95);
}

.mm-bd-cta:hover,
.mm-bd-cta:focus {
  background: rgba(255, 189, 18, 0.18);
}

@media (max-width: 960px) {
  .mm-bestellungen-toolbar-quickbar {
    grid-template-columns: 1fr;
  }

  #bestellungen_suche_results.mm-bestellungen-live-results {
    position: static;
    width: 100%;
    margin-top: 4px;
  }
}

/* Admin: Kundenverwaltung */
.mm-kunden-admin {
  margin: 10px 20px 24px;
  display: grid;
  gap: 16px;
}

.mm-kunden-admin__hero {
  margin: 0;
}

.mm-kunden-admin__workspace,
.mm-kunden-admin__stack {
  display: grid;
  gap: 16px;
}

.mm-kunden-admin__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mm-kunden-admin__card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(22, 85, 0, 0.08);
}

.mm-kunden-admin__search-card {
  position: relative;
  overflow: visible;
}

.mm-kunden-admin__card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px 18px;
  margin: 0 0 16px 0;
}

.mm-kunden-admin__card-head h2 {
  margin: 0 0 6px 0;
  color: var(--mm-text, #165500);
}

.mm-kunden-admin__card-head p,
.mm-kunden-admin__empty-copy {
  margin: 0;
  color: rgba(22, 85, 0, 0.8);
}

.mm-kunden-admin__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(22, 85, 0, 0.72);
}

.mm-kunden-admin__search-block {
  display: grid;
  gap: 10px;
}

.mm-kunden-admin__label,
.mm-kunden-admin__field {
  display: grid;
  gap: 6px;
}

.mm-kunden-admin__field span,
.mm-kunden-admin__label {
  font-weight: 600;
  color: var(--mm-text, #165500);
}

.mm-kunden-admin__search-input,
.mm-kunden-admin__field input,
.mm-kunden-admin__field select,
.mm-kunden-admin__textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 85, 0, 0.2);
  background: #fff;
  color: var(--mm-text, #165500);
  box-sizing: border-box;
}

.mm-kunden-admin__search-input:focus,
.mm-kunden-admin__field input:focus,
.mm-kunden-admin__field select:focus,
.mm-kunden-admin__textarea:focus {
  border-color: var(--mm-yellow, #ffbd12);
  outline: 2px solid rgba(255, 189, 18, 0.25);
  outline-offset: 1px;
}

.mm-kunden-admin__search-status {
  min-height: 20px;
  font-size: 13px;
  color: rgba(22, 85, 0, 0.72);
}

.mm-kunden-admin__search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mm-kunden-admin__search-results li {
  margin: 0;
}

.mm-kunden-admin__search-results a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--mm-text, #165500);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 85, 0, 0.06);
}

.mm-kunden-admin__search-results a:hover,
.mm-kunden-admin__search-results a:focus {
  border-color: rgba(255, 189, 18, 0.55);
  background: #fffdf7;
}

.mm-kunden-admin__form {
  display: grid;
  gap: 14px;
}

.mm-kunden-admin__form-grid {
  display: grid;
  gap: 12px;
}

.mm-kunden-admin__form-grid--stammdaten {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-kunden-admin__field--span-2 {
  grid-column: span 2;
}

.mm-kunden-admin__check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.mm-kunden-admin__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--mm-text, #165500);
}

.mm-kunden-admin__check input {
  margin-top: 3px;
}

.mm-kunden-admin__gruppen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mm-kunden-admin__gruppen-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.mm-kunden-admin__gruppen-option--pflicht {
  background: rgba(255, 189, 18, 0.1);
  border-color: rgba(255, 189, 18, 0.4);
}

.mm-kunden-admin__gruppen-option input {
  margin-top: 4px;
}

.mm-kunden-admin__gruppen-name {
  font-weight: 700;
  color: var(--mm-text, #165500);
}

.mm-kunden-admin__gruppen-hinweis {
  grid-column: 2;
  font-size: 13px;
  color: rgba(22, 85, 0, 0.72);
}

.mm-kunden-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mm-kunden-admin__actions input[type="submit"] {
  min-width: 220px;
}

.mm-kunden-admin__table-wrap {
  overflow-x: auto;
}

.mm-kunden-admin__table {
  width: 100%;
  border-collapse: collapse;
}

.mm-kunden-admin__table th,
.mm-kunden-admin__table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(22, 85, 0, 0.12);
  text-align: left;
  vertical-align: top;
}

.mm-kunden-admin__table th {
  font-size: 13px;
  color: rgba(22, 85, 0, 0.72);
}

.mm-kunden-admin__table tr:last-child td {
  border-bottom: none;
}

.mm-kunden-admin__empty {
  padding: 20px 22px;
}

@media (max-width: 980px) {
  .mm-kunden-admin__grid {
    grid-template-columns: 1fr;
  }

  .mm-kunden-admin__form-grid--stammdaten {
    grid-template-columns: 1fr;
  }

  .mm-kunden-admin__field--span-2 {
    grid-column: auto;
  }
}

/* Hybrid-Login/Admin-Relaunch: Website-Chrome + interner Workspace */
body.mm-shell-hybrid > main.mm-hybrid-main {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 232, 0.92));
}

body.mm-shell-hybrid .mm-hybrid-main__content {
  width: min(78rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.75rem;
}

body.mm-shell-hybrid .mm-hybrid-shell,
body.mm-shell-hybrid .mm-konto-start {
  display: grid;
  gap: 1rem;
}

body.mm-shell-hybrid .mm-hybrid-shell {
  align-content: start;
}

body.mm-shell-hybrid .mm-intern-kopf,
body.mm-shell-hybrid .mm-konto-card,
body.mm-shell-hybrid .mm-konto-help,
body.mm-shell-hybrid .mm-konto-hinweis {
  border-radius: 18px;
  border: 1px solid rgba(22, 85, 0, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(22, 85, 0, 0.08);
}

body.mm-shell-hybrid .mm-intern-kopf {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
}

body.mm-shell-hybrid .mm-intern-kopf__titelblock {
  display: grid;
  gap: 0.22rem;
}

body.mm-shell-hybrid .mm-intern-kopf__eyebrow {
  margin: 0;
  color: rgba(22, 85, 0, 0.72);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.mm-shell-hybrid .mm-intern-kopf__title {
  margin: 0;
  color: var(--mm-text);
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.8rem);
  line-height: 1.15;
}

body.mm-shell-hybrid .mm-intern-kopf__user {
  margin: 0;
  color: rgba(22, 85, 0, 0.78);
  font-size: 0.95rem;
}

body.mm-shell-hybrid .mm-intern-subnav {
  display: grid;
  gap: 0.75rem;
}

body.mm-shell-hybrid .mm-intern-subnav__gruppe {
  display: grid;
  gap: 0.45rem;
}

body.mm-shell-hybrid .mm-intern-subnav__links,
body.mm-shell-hybrid .mm-intern-actions,
body.mm-shell-hybrid .mm-konto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

body.mm-shell-hybrid .mm-intern-subnav__link,
body.mm-shell-hybrid .mm-intern-action,
body.mm-shell-hybrid .mm-konto-actions a,
body.mm-shell-hybrid .mm-konto-card a.mm-login-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.7rem;
  padding: 0.72rem 0.98rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 85, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--mm-text);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 85, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.mm-shell-hybrid .mm-intern-subnav__link:hover,
body.mm-shell-hybrid .mm-intern-subnav__link:focus,
body.mm-shell-hybrid .mm-intern-action:hover,
body.mm-shell-hybrid .mm-intern-action:focus,
body.mm-shell-hybrid .mm-konto-actions a:hover,
body.mm-shell-hybrid .mm-konto-actions a:focus,
body.mm-shell-hybrid .mm-konto-card a.mm-login-card:hover,
body.mm-shell-hybrid .mm-konto-card a.mm-login-card:focus {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(22, 85, 0, 0.24);
  box-shadow: 0 14px 28px rgba(22, 85, 0, 0.1);
}

body.mm-shell-hybrid .mm-intern-subnav__link.is-active,
body.mm-shell-hybrid .mm-intern-action.ist-primaer {
  border-color: rgba(22, 85, 0, 0.22);
  background: rgba(255, 189, 18, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 189, 18, 0.14), 0 14px 28px rgba(22, 85, 0, 0.08);
}

body.mm-shell-hybrid .mm-intern-action.ist-sekundaer {
  background: rgba(22, 85, 0, 0.08);
}

body.mm-shell-hybrid .mm-konto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}

body.mm-shell-hybrid .mm-konto-card,
body.mm-shell-hybrid .mm-konto-help {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.1rem 1.15rem;
}

body.mm-shell-hybrid .mm-konto-form {
  display: grid;
  gap: 1rem;
}

body.mm-shell-hybrid .mm-konto-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

body.mm-shell-hybrid .mm-konto-form__feld {
  display: grid;
  gap: 0.35rem;
}

body.mm-shell-hybrid .mm-konto-actions {
  align-items: center;
}

body.mm-shell-hybrid .mm-konto-help,
body.mm-shell-hybrid .mm-konto-hinweis,
body.mm-shell-hybrid .mm-konto-status {
  color: rgba(22, 85, 0, 0.82);
}

body.mm-shell-hybrid .mm-konto-hinweis,
body.mm-shell-hybrid .mm-konto-status {
  margin: 0;
}

body.mm-shell-hybrid .mm-konto-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 189, 18, 0.16);
}

@media (max-width: 980px) {
  body.mm-shell-hybrid .mm-hybrid-main__content {
    width: calc(100% - 1.2rem);
  }

  body.mm-shell-hybrid .mm-konto-grid,
  body.mm-shell-hybrid .mm-konto-form__grid {
    grid-template-columns: 1fr;
  }
}
