/* MISCHEL 14.11.2026 – Admin: Navigationsleiste und „Foto N entfernen“.
   Nur Darstellung; wird als letzte Datei geladen. Keine Funktion wird geändert. */

/* 1) Fokusrahmen innerhalb des Knopfes – die Leiste schneidet oben/unten ab. */
html body .mischel-admin-workspace-nav :is(button,select,summary,a):focus-visible{
  outline:2px solid #a77c40!important;
  outline-offset:-3px!important;
}

/* 2) Breite Ansicht: alle Reiter in Textbreite, gleicher Abstand, „Abmelden“ ganz rechts. */
@media (min-width:1221px){
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs{
    justify-content:flex-start!important;
    gap:clamp(2px,.3vw,6px)!important;
    max-width:none!important;
  }
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs >
    :is(.mischel-workspace-tab,.mischel-workspace-logout,.mischel-workspace-marketing){
    flex:0 0 auto!important;
  }
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs >
    .mischel-workspace-marketing > .mischel-workspace-tab{
    width:auto!important;
    min-height:37px!important;padding:8px 10px!important;
    font:500 12px/1.25 Arial,sans-serif!important;
  }
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs > .mischel-workspace-logout{
    margin-left:auto!important;
    min-height:37px!important;padding:8px 10px!important;
    font:500 12px/1.25 Arial,sans-serif!important;
  }
}

/* 3) Produktverwaltung: „Foto N entfernen“ als normaler kleiner Knopf. */
html body #catalog-admin .catalog-gallery-preview .catalog-extra > button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:118px!important;min-height:32px!important;
  margin:7px 0 0!important;padding:6px 4px!important;
  border:1px solid #c8a66d!important;border-radius:8px!important;
  background:#fffdf8!important;color:#5b3d1f!important;box-shadow:none!important;
  font-size:12px!important;line-height:1.2!important;text-decoration:none!important;cursor:pointer;
}
html body #catalog-admin .catalog-gallery-preview .catalog-extra > button:hover{background:#efe6d8!important}
html body #catalog-admin .catalog-gallery-preview .catalog-extra > button:focus-visible{outline:2px solid #a77c40!important;outline-offset:2px!important}

/* 4) Stark vergrößerter Maßstab (1221–1365 px Breite): etwas kompaktere Reiter,
      damit alle Reiter einschließlich „Abmelden“ ohne seitliches Scrollen sichtbar bleiben. */
@media (min-width:1221px) and (max-width:1365px){
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-brand{
    font-size:11px!important;letter-spacing:.05em!important;
  }
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs{
    gap:2px!important;
  }
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs > button.mischel-workspace-tab,
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs > .mischel-workspace-marketing > .mischel-workspace-tab,
  html body dialog[open] > nav.mischel-admin-workspace-nav > .mischel-workspace-tabs > .mischel-workspace-logout{
    padding:8px 5px!important;
    font-size:11.5px!important;
  }
}
