/* Katsubo V11.7.10 – compact unified editor buttons.
   Scope: editor only. Header navigation and hero CTA stay untouched. */
#app .editpanel button {
  appearance:none;
  border:1px solid rgba(199,166,255,.22);
  border-radius:12px;
  min-height:44px;
  padding:9px 15px;
  background:rgba(255,255,255,.085);
  color:var(--text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:14px;
  font-weight:650;
  line-height:1.2;
  letter-spacing:normal;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
#app .editpanel button:hover {
  border-color:rgba(199,166,255,.44);
  background:rgba(255,255,255,.115);
  transform:translateY(-1px);
}
#app .editpanel button:focus-visible {
  outline:2px solid rgba(214,190,255,.9);
  outline-offset:2px;
}
#app .editpanel button.primary,
#app .editpanel button.active,
#app .editpanel button[aria-pressed="true"],
#app .editpanel button[aria-selected="true"],
#app .editpanel button[aria-current="step"] {
  background:#c8a8ee;
  border-color:#d9c0ff;
  color:#231630;
}
#app .editpanel button.primary:hover,
#app .editpanel button.active:hover,
#app .editpanel button[aria-pressed="true"]:hover,
#app .editpanel button[aria-selected="true"]:hover,
#app .editpanel button[aria-current="step"]:hover {
  background:#cfb3f2;
  border-color:#e0cbff;
}
#app .editpanel button.dangeraction {
  background:rgba(255,110,140,.09);
  border-color:rgba(241,128,150,.82);
  color:#ef97a8;
}
#app .editpanel button.dangeraction:hover {
  background:rgba(255,110,140,.14);
  border-color:rgba(241,128,150,.95);
}
/* Keep little close preview / round controls out of this system if they ever appear inside editor */
#app .editpanel .arrows button.round,
#app .editpanel .round,
#app .editpanel .collectionReturn {
  min-height:unset;
}
/* File inputs get the same narrow visual system */
#app .editpanel input[type="file"] {
  width:100%;
  color:var(--muted);
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:14px;
}
#app .editpanel input[type="file"]::file-selector-button {
  appearance:none;
  border:1px solid rgba(199,166,255,.22);
  border-radius:12px;
  padding:8px 14px;
  margin-right:14px;
  background:rgba(255,255,255,.085);
  color:var(--text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:14px;
  font-weight:640;
  line-height:1.15;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
#app .editpanel input[type="file"]::file-selector-button:hover {
  border-color:rgba(199,166,255,.44);
  background:rgba(255,255,255,.115);
  transform:translateY(-1px);
}
/* Better spacing for adjacent action groups */
#app .editpanel .categoryEditFooter,
#app .editpanel .v9TextActions,
#app .editpanel .collectionEditorActions,
#app .editpanel .v11Actions {
  gap:10px;
}
/* Track media segment buttons use the same system but slightly shorter label padding */
#app .editpanel .trackMediaTabs button,
#app .editpanel .track-media-tabs button,
#app .editpanel [data-track-tab] {
  min-height:44px;
}
/* Generated select/upload/save rows often align better with centered labels */
#app .editpanel .slots button,
#app .editpanel .assetPanel button,
#app .editpanel .trackMediaPanel button,
#app .editpanel .track-media-panel button {
  text-align:center;
}
@media (max-width:900px) {
  #app .editpanel button {font-size:14px; min-height:42px; padding:8px 12px; border-radius:11px}
  #app .editpanel input[type="file"]::file-selector-button {font-size:15px; padding:8px 12px}
}

/* Katsubo V11.7.11 – ausschließlich Editor-Formularfelder und Werkzeugleiste. */
/* Einheitliche, gut lesbare Auswahlfelder in allen vier Editor-Bereichen. */
#app .editpanel select:not([multiple]),
#app #v11Editor select:not([multiple]) {
  box-sizing:border-box;
  min-height:48px;
  height:48px;
  padding:9px 38px 9px 14px;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  line-height:1.35;
  max-width:100%;
  vertical-align:middle;
}
/* Die Browserpfeile bleiben erhalten, Safari-Dropdownfunktion unverändert. */
#app .editpanel .editorTools {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
#app .editpanel .editorTools button {
  min-height:44px;
  padding:9px 13px;
  font-size:14px;
}
#app .editpanel .editorTools > label {align-self:center;}
/* Vertikale Ausrichtung der Kategorie-/Album-Auswahl samt Label. */
#app .editpanel .collectionEditorTop {display:flex; flex-wrap:wrap; align-items:center; gap:10px;}
#app .editpanel .categoryEditGrid label,
#app .editpanel .v9TextGrid label,
#app #v11Editor label {min-width:0;}
/* Kleine Monitore: die Auswahl darf nicht aus der Karte herausragen. */
@media (max-width:700px) {
  #app .editpanel select:not([multiple]), #app #v11Editor select:not([multiple]) {width:100%; max-width:100%;}
}
