/* ================================================================
   aicappella Artist CSS — artist.aicappella.com
   Design System: Warm Cinema Rhythmus
   Eigenstaendig — keine Abhaengigkeit von backstage.css
   ================================================================ */

/* ── Fonts: Crimson Pro (Display) + Figtree (Body) ─────────────── */
/* Geladen via Google Fonts in artist-profil.html — OFL-Lizenz     */

:root {
  /* Farben */
  --surface-deep:      #0e0818;
  --surface:           #130d20;
  --surface-elevated:  #1a1228;
  --surface-light:     #f5e8c0;
  --purple:            #451067;
  --purple-warm:       #2d1045;
  --accent:            #E85E00;
  --orange:            #E85E00;
  --yellow:            #FCDE67;
  --cream:             #F5EDE0;
  --cream-15:          rgba(245, 237, 224, 0.15);
  --cream-08:          rgba(245, 237, 224, 0.08);
  --cream-04:          rgba(245, 237, 224, 0.04);
  --orange-glow:       rgba(232, 94, 0, 0.15);
  --text-primary:      #ede5d8;
  --text-secondary:    rgba(237, 229, 216, 0.75);
  --text-muted:        rgba(237, 229, 216, 0.5);
  --text-dark:         #2a2318;
  --text-dark-secondary: rgba(42, 35, 24, 0.6);
  --glass-bg:          rgba(26, 18, 40, 0.55);
  --glass-border:      rgba(245, 237, 224, 0.12);

  /* Profile-spezifische Variablen (kompatibel mit profil.html Pattern) */
  --sp-card-bg:        rgba(26, 18, 40, 0.6);
  --sp-card-border:    rgba(245, 237, 224, 0.08);
  --sp-edit-hover:     rgba(232, 94, 0, 0.08);
  --sp-edit-active:    rgba(232, 94, 0, 0.15);
  --sp-save-success:   #4ade80;
  --sp-save-error:     #f87171;
  --sp-tag-bg:         rgba(232, 94, 0, 0.15);
  --sp-tag-border:     rgba(232, 94, 0, 0.3);
  --sp-tag-text:       #E85E00;
  --sp-progress-bg:    rgba(245, 237, 224, 0.08);
  --sp-progress-fill:  #E85E00;

  /* Fonts */
  --font-display:  'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-body:     'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-numbers:  Georgia, 'Times New Roman', serif; /* Bogart hat Ziffern-Bug → Georgia als Fallback */
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--surface-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

/* ================================================================
   AUTH LOADING
   ================================================================ */
.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
  gap: 16px;
}

.auth-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--cream-08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-loading-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================================================================
   HEADER
   ================================================================ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  padding: 0 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 8, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cream-08);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.header-brand-text .ai {
  background: linear-gradient(180deg, #FCDE67, #E8A830);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-brand-text .cappella {
  color: var(--orange);
}

.header-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--cream-08);
  padding: 3px 10px;
  border-radius: 100px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-back {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.header-back:hover {
  color: var(--yellow);
}

.header-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1.5px solid var(--cream-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
}

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.header-username {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.header-logout-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--cream-08);
  background: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.header-logout-btn:hover {
  color: var(--text-primary);
  border-color: var(--cream-15);
}

/* ================================================================
   APP LAYOUT
   ================================================================ */
.sp-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sp-main {
  flex: 1;
  padding: 24px 32px 48px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* ================================================================
   ONBOARDING BANNER
   ================================================================ */
.sp-onboarding {
  background: rgba(252, 222, 103, 0.07);
  border: 1px solid rgba(252, 222, 103, 0.28);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.sp-onboarding-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--yellow);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-onboarding-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.sp-onboarding-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-onboarding-list li {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(252, 222, 103, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(252, 222, 103, 0.2);
}

/* ================================================================
   SECTION SYSTEM — Abwechselnde Hell/Dunkel-Sections
   ================================================================ */
.section-dark {
  background: var(--surface-deep);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(69, 16, 103, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.section-elevated {
  background: var(--surface-elevated);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.section-elevated::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -40px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(69, 16, 103, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-light {
  background: var(--surface);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.section-light::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 94, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Separator — Warm Glow Line */
.separator {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(232, 94, 0, 0.4) 30%,
    rgba(252, 222, 103, 0.5) 50%,
    rgba(232, 94, 0, 0.4) 70%,
    transparent 95%
  );
  box-shadow: 0 0 20px rgba(232, 94, 0, 0.12);
}

/* Eyebrow */
.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--orange);
}

/* ================================================================
   PROFIL-HEADER CARD
   ================================================================ */
.sp-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

/* Foto — rundes Avatar */
.sp-avatar-container {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.sp-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream-15);
  background: var(--surface-elevated);
  display: block;
}

.sp-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--cream-15);
  background: linear-gradient(160deg, #2d1045 0%, #0e0818 55%, #1a0820 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 2rem;
  color: rgba(237, 229, 216, 0.25);
}

.sp-avatar-placeholder-text {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(237, 229, 216, 0.25);
}

.sp-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  flex-direction: column;
  gap: 6px;
}

.sp-avatar-container:hover .sp-avatar-overlay {
  opacity: 1;
}

/* Aktions-Buttons */
.sp-profile-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sp-profile-actions .btn-primary,
.sp-profile-actions .btn-ghost {
  width: auto;
}

/* Buttons */
.btn-primary {
  background: var(--orange);
  color: white;
  padding: 15px 28px;
  border-radius: 100px;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.3s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.btn-primary:hover {
  background: #d05400;
  box-shadow: 0 8px 32px rgba(232, 94, 0, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--cream-15);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-secondary {
  background: var(--cream-08);
  color: var(--text-secondary);
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--cream-15);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: var(--cream-15);
  color: var(--text-primary);
}

.btn-danger {
  background: none;
  color: var(--sp-save-error);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.08);
}

/* Info rechts */
.sp-profile-info {
  flex: 1;
  min-width: 0;
}

.sp-profile-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.15;
}

.sp-profile-name[contenteditable="true"] {
  outline: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.sp-profile-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 6px;
}

.sp-profile-location {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.sp-profile-headline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-style: italic;
  line-height: 1.5;
}

/* Progress Bar */
.sp-progress {
  background: var(--sp-progress-bg);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.sp-progress-fill {
  height: 100%;
  background: var(--sp-progress-fill);
  border-radius: 100px;
  transition: width 0.5s ease;
}

.sp-progress-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-numbers);
}

/* Tags */
.profile-tags {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--orange);
  background: var(--sp-tag-bg);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--sp-tag-border);
}

.tag.voice {
  color: var(--yellow);
  background: rgba(252, 222, 103, 0.08);
  border-color: rgba(252, 222, 103, 0.18);
}

/* ================================================================
   STECKBRIEF — LIGHT SECTION
   Identisches Pattern zu profil.html — Cards, sp-grid, sp-field
   ================================================================ */
.sp-section {
  background: rgba(26, 18, 40, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.sp-section:last-child {
  margin-bottom: 0;
}

.sp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sp-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
}

/* Field Grid */
.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.sp-field {
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.2s;
  position: relative;
}

.sp-field.sp-field-wide {
  grid-column: 1 / -1;
}

.sp-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-required {
  color: var(--orange);
  font-size: 0.7rem;
}

.sp-field-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-field-value.sp-editable {
  cursor: pointer;
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 6px;
  transition: background 0.15s;
}

.sp-field-value.sp-editable:hover {
  background: rgba(232, 94, 0, 0.06);
}

.sp-edit-icon {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.15s;
}

.sp-field-value.sp-editable:hover .sp-edit-icon {
  opacity: 1;
}

.sp-field-empty {
  color: var(--text-muted);
  font-style: italic;
}

/* Field-level Save Indicator */
.sp-field-save {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.sp-save-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--cream-08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.sp-save-ok {
  color: var(--sp-save-success);
  font-size: 0.85rem;
}

.sp-save-fail {
  color: var(--sp-save-error);
  font-size: 0.85rem;
}

.sp-field-error {
  font-size: 0.75rem;
  color: var(--sp-save-error);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-retry-btn {
  font-size: 0.7rem;
  padding: 2px 8px;
  border: 1px solid var(--sp-save-error);
  color: var(--sp-save-error);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
}

.sp-retry-btn:hover {
  background: var(--sp-save-error);
  color: white;
}

/* Input im Bearbeitungsmodus */
.sp-field-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 8px 10px;
  border-radius: 6px;
  width: 100%;
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 94, 0, 0.15);
}

.sp-field-input:disabled {
  opacity: 0.5;
}

textarea.sp-field-input {
  min-height: 80px;
  resize: vertical;
}

select.sp-field-input option {
  background: var(--surface);
  color: var(--text-primary);
}

.sp-field-select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 8px 10px;
  border-radius: 6px;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.sp-field-select option {
  background: var(--surface);
  color: var(--text-primary);
}

/* Tags in Steckbrief */
.sp-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--sp-tag-bg);
  border: 1px solid var(--sp-tag-border);
  color: var(--sp-tag-text);
}

/* Tag-Entfernen */
.sp-tag-remove {
  background: none;
  border: none;
  color: var(--sp-tag-text);
  cursor: pointer;
  font-size: 0.78rem;
  opacity: 0.7;
  padding: 0 0 0 6px;
  line-height: 1;
  flex-shrink: 0;
}

.sp-tag-remove:hover {
  opacity: 1;
}

/* Tags in Feld-Anzeige (read + edit) */
.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Toggle */
.sp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.sp-toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--cream-08);
  transition: background 0.2s;
  position: relative;
}

.sp-toggle-track.sp-toggle-on {
  background: var(--orange);
}

.sp-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: left 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.sp-toggle-track.sp-toggle-on .sp-toggle-thumb {
  left: 22px;
}

.sp-toggle-label-text {
  font-size: 0.88rem;
  color: var(--text-primary);
}

/* Stars */
.sp-stars {
  display: flex;
  gap: 3px;
}

.sp-star {
  font-size: 1.1rem;
  color: rgba(237, 229, 216, 0.18);
  cursor: pointer;
  transition: color 0.15s;
}

.sp-star.filled {
  color: var(--yellow);
}

/* ================================================================
   DEMO-REELS — LIGHT SECTION
   ================================================================ */
.sp-reels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-reel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  padding: 12px 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sp-reel:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.sp-reel-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
  cursor: pointer;
  border: none;
}

.sp-reel:hover .sp-reel-play {
  box-shadow: 0 0 16px rgba(232, 94, 0, 0.25);
}

.sp-reel-player {
  flex: 1;
  min-width: 0;
}

.sp-reel-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.sp-reel-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sp-reel-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(232, 94, 0, 0.1);
  border: 1px solid rgba(232, 94, 0, 0.2);
  color: var(--orange);
}

.sp-reel-progress {
  height: 4px;
  background: var(--cream-08);
  border-radius: 2px;
  overflow: hidden;
}

.sp-reel-progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.sp-reel-audio {
  width: 100%;
  height: 32px;
  margin-top: 6px;
  border-radius: 6px;
}

.sp-reels-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.sp-reel-upload-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  background: var(--orange);
  border: none;
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sp-reel-upload-btn:hover {
  background: #d05400;
  transform: translateY(-1px);
}

/* ================================================================
   PINNWAND — DARK ELEVATED SECTION
   DashboardNote — Post-It Stil
   ================================================================ */
.pinnwand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pinnwand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.post-it {
  width: 200px;
  min-height: 160px;
  padding: 20px 16px 14px;
  border-radius: 3px;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 2px 3px 14px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.15);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.25s, box-shadow 0.25s, z-index 0s;
  cursor: pointer;
}

.post-it:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.04);
  box-shadow: 5px 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* Tape Effekt */
.post-it::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 15px;
  background: rgba(245, 237, 224, 0.42);
  border-radius: 1px;
}

/* Post-It Farben */
.post-it-yellow { background: #fef9c3; color: #713f12; }
.post-it-pink   { background: #fce7f3; color: #831843; }
.post-it-blue   { background: #dbeafe; color: #1e3a5f; }
.post-it-green  { background: #d1fae5; color: #064e3b; }
.post-it-orange { background: #ffedd5; color: #7c2d12; }
.post-it-purple { background: #ede9fe; color: #4c1d95; }

.post-it-author {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.5;
  margin-bottom: 7px;
}

.post-it-text {
  font-size: 0.84rem;
  line-height: 1.55;
}

.post-it-image {
  width: 100%;
  border-radius: 3px;
  margin-top: 8px;
  max-height: 100px;
  object-fit: cover;
}

.post-it-reactions {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.post-it-reaction {
  background: rgba(0, 0, 0, 0.07);
  border-radius: 100px;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.77rem;
}

.post-it-meta {
  font-family: var(--font-numbers);
  font-size: 0.67rem;
  opacity: 0.38;
  margin-top: 8px;
}

.pinnwand-loading,
.pinnwand-empty,
.pinnwand-error {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.pinnwand-empty i,
.pinnwand-error i {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}

.pinnwand-show-more {
  text-align: center;
  margin-top: 20px;
}

.pinnwand-show-more-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--cream-15);
  padding: 9px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.pinnwand-show-more-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ================================================================
   NEUE NOTIZ MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 8, 24, 0.82);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: var(--surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-field {
  margin-bottom: 16px;
}

.modal-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-field textarea,
.modal-field input,
.modal-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--cream-15);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.modal-field textarea:focus,
.modal-field input:focus,
.modal-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 94, 0, 0.15);
}

.modal-field select option {
  background: var(--surface);
  color: var(--text-primary);
}

.modal-color-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.color-swatch:hover,
.color-swatch.selected {
  border-color: var(--accent);
  transform: scale(1.15);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ================================================================
   VITA / UEBER MICH — LIGHT SECTION
   ================================================================ */
.vita-text {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.vita-empty {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.vita-textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  resize: vertical;
  outline: none;
  min-height: 120px;
  transition: box-shadow 0.15s;
}

.vita-textarea:focus {
  box-shadow: 0 0 0 3px rgba(232, 94, 0, 0.15);
}

/* ================================================================
   STIMMPORTRAIT — LIGHT SECTION
   ================================================================ */
.voice-card {
  background: rgba(26, 18, 40, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  transition: box-shadow 0.3s;
}

.voice-card:hover {
  box-shadow: 0 8px 24px rgba(42, 35, 24, 0.08);
}

.voice-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: white;
}

.voice-info {
  flex: 1;
  min-width: 0;
}

.voice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.voice-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

.voice-categories {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.voice-cat {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #c084fc;
  background: rgba(69, 16, 103, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(69, 16, 103, 0.35);
}

.voice-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.voice-status-badge.draft {
  background: rgba(252, 222, 103, 0.1);
  color: var(--yellow);
  border: 1px solid rgba(252, 222, 103, 0.2);
}

.voice-status-badge.processing {
  background: rgba(232, 94, 0, 0.1);
  color: var(--orange);
  border: 1px solid rgba(232, 94, 0, 0.2);
}

.voice-status-badge.paused {
  background: rgba(237, 229, 216, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--cream-15);
}

.voice-no-portrait {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-muted);
}

.voice-no-portrait i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.3;
}

/* ================================================================
   KALENDER — DARK ELEVATED SECTION
   ================================================================ */
.calendar-card {
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  border-radius: 16px;
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.72rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-dot.booking  { background: rgba(69, 16, 103, 0.6); }
.legend-dot.pre      { background: rgba(69, 16, 103, 0.3); }
.legend-dot.blocked  { background: rgba(239, 68, 68, 0.6); }
.legend-dot.flexible { background: rgba(239, 68, 68, 0.15); border: 1px dashed rgba(239, 68, 68, 0.5); }
.legend-dot.free     { background: rgba(74, 222, 128, 0.3); }

.calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calendar-month {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 16px;
}

.month-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  font-size: 0.78rem;
}

.cal-day-header {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  padding: 4px 0;
}

.cal-day {
  font-family: var(--font-numbers);
  padding: 7px 2px;
  border-radius: 4px;
  color: var(--text-primary);
  transition: background 0.15s;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.cal-day:hover:not(.empty):not(.past) {
  background: rgba(232, 94, 0, 0.12);
}

.cal-day.blocked  { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.cal-day.flexible { background: rgba(239, 68, 68, 0.08); border: 1px dashed rgba(239, 68, 68, 0.35); color: #ef4444; }
.cal-day.booked   { background: rgba(69, 16, 103, 0.2);  color: #c084fc; font-weight: 700; }
.cal-day.tentative { background: rgba(69, 16, 103, 0.1); color: #c084fc; }
.cal-day.today    { border: 1px solid var(--orange); font-weight: 700; }
.cal-day.empty    { color: transparent; pointer-events: none; }
.cal-day.past     { opacity: 0.3; cursor: default; }

/* Status-Picker Modal */
.status-picker {
  position: fixed;
  z-index: 300;
  background: var(--surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  min-width: 160px;
}

.status-picker-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
}

.status-picker-option:hover {
  background: var(--cream-08);
  color: var(--text-primary);
}

/* Buchungsanfrage Modal */
.booking-form-field {
  margin-bottom: 14px;
}

.booking-form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.booking-form-field input,
.booking-form-field textarea,
.booking-form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--cream-15);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.booking-form-field input:focus,
.booking-form-field textarea:focus,
.booking-form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 94, 0, 0.15);
}

.booking-form-field select option {
  background: var(--surface);
  color: var(--text-primary);
}

/* ================================================================
   VITA/STIMMPORTRAIT 2-SPALTEN LAYOUT
   ================================================================ */
.vita-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.vita-voice-grid .sp-section {
  margin-bottom: 0;
}

/* ================================================================
   VITA/STIMMPORTRAIT auf Sections (dark color Kontext)
   ================================================================ */
.sp-section.dark {
  background: var(--sp-card-bg);
  border-color: var(--sp-card-border);
}

.sp-section.dark .sp-section-title {
  color: var(--text-primary);
}

/* ================================================================
   REEL UPLOAD PROGRESS
   ================================================================ */
.upload-progress-bar {
  height: 4px;
  background: var(--cream-08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
}

.upload-progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.2s;
}

/* ================================================================
   TOAST (eigenstaendig, falls ui.js nicht geladen)
   ================================================================ */
.artist-toast {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.artist-toast-item {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: toastIn 0.25s ease;
  max-width: 320px;
}

.artist-toast-item.success {
  background: #16a34a;
  color: white;
}

.artist-toast-item.error {
  background: var(--sp-save-error);
  color: white;
}

.artist-toast-item.info {
  background: var(--surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--cream-15);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .app-header {
    padding: 0 16px;
  }

  .header-username {
    display: none;
  }

  .sp-main {
    padding: 16px 16px 32px;
  }

  .sp-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sp-avatar-container {
    width: 100px;
    height: 100px;
  }

  .sp-profile-location {
    justify-content: center;
  }

  .profile-tags {
    justify-content: center;
  }

  .sp-profile-actions {
    justify-content: center;
  }

  .sp-grid {
    grid-template-columns: 1fr;
  }

  .sp-field.sp-field-wide {
    grid-column: auto;
  }

  .vita-voice-grid {
    grid-template-columns: 1fr;
  }

  .vita-voice-grid .sp-section {
    margin-bottom: 24px;
  }

  .vita-voice-grid .sp-section:last-child {
    margin-bottom: 0;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .pinnwand-grid {
    justify-content: center;
  }

  .post-it {
    width: 160px;
    min-height: 130px;
  }

  .calendar-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-legend {
    gap: 10px;
  }

  .voice-card {
    flex-direction: column;
    text-align: center;
  }

  .voice-categories {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sp-profile-name {
    font-size: 1.5rem;
  }

  .pinnwand-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   BIO SNIPPET — Profil-Header (2-3 Zeilen Kurzvorstellung)
   ================================================================ */
.sp-bio-snippet {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 520px;
  border-left: 2px solid rgba(232, 94, 0, 0.35);
  padding-left: 14px;
}

/* ================================================================
   HERO AUDIO PLAYER — Erster Demo-Reel direkt im Profil-Header
   ================================================================ */
.sp-hero-player {
  background: var(--cream-04);
  border: 1px solid var(--cream-15);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
  max-width: 520px;
}

.sp-hero-player-eyebrow {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 6px;
}

.sp-hero-player-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-hero-player-title .sp-reel-category {
  font-size: 0.62rem;
}

.sp-hero-player audio {
  width: 100%;
  height: 36px;
  border-radius: 6px;
  accent-color: var(--orange);
}

/* ================================================================
   SPLIT LAYOUT — Links: sticky Preview, Rechts: Inhalte
   Inspiriert von old_profil.html (20.02-Backup)
   ================================================================ */

.sp-split-layout {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 64px);
}

/* ── LEFT: PREVIEW PANE ───────────────────────────────────────── */
.sp-preview-pane {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  background:
    radial-gradient(ellipse 280px 260px at 50% 14%, rgba(69, 16, 103, 0.30) 0%, transparent 70%),
    radial-gradient(ellipse 200px 180px at 50% 14%, rgba(232, 94, 0, 0.07) 0%, transparent 65%),
    var(--surface-deep);
  border-right: 1px solid var(--cream-08);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--cream-08) transparent;
}

.sp-preview-label {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--cream-08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* Avatar zentriert im Preview-Pane — deutlich größer */
.sp-preview-pane .sp-avatar-container {
  width: 210px;
  height: 210px;
  margin: 0 auto 22px;
  flex-shrink: 0;
}

.sp-preview-pane .sp-avatar-img,
.sp-preview-pane .sp-avatar-placeholder,
.sp-preview-pane .sp-avatar-overlay {
  border-radius: 50%;
}

/* Glow-Effekt inspiriert vom Website-Hero */
.sp-preview-pane .sp-avatar-img {
  border-color: rgba(232, 94, 0, 0.30);
  box-shadow:
    0 0 0 1px rgba(232, 94, 0, 0.12),
    0 0 40px rgba(232, 94, 0, 0.22),
    0 0 80px rgba(69, 16, 103, 0.20);
}

.sp-preview-pane .sp-avatar-placeholder {
  box-shadow:
    0 0 32px rgba(232, 94, 0, 0.12),
    0 0 64px rgba(69, 16, 103, 0.15);
  font-size: 3rem;
}

/* Rolle, Name, Bio zentriert */
.sp-preview-pane .sp-profile-role {
  text-align: center;
  margin-bottom: 6px;
}

.sp-preview-pane .sp-profile-name {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 6px;
}

.sp-preview-pane .sp-profile-headline {
  text-align: center;
  margin-bottom: 8px;
}

.sp-preview-pane .sp-bio-snippet {
  text-align: center;
  border-left: none;
  padding-left: 0;
  border-top: 1px solid var(--cream-08);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 0.84rem;
  max-width: 100%;
}

.sp-preview-pane .sp-profile-location {
  justify-content: center;
  margin-bottom: 12px;
}

.sp-preview-pane #spProgressWrapper {
  width: 100%;
  margin-bottom: 14px;
}

.sp-preview-pane .profile-tags {
  justify-content: center;
  margin-bottom: 14px;
}

.sp-preview-pane .sp-hero-player {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Aktions-Buttons: untereinander, volle Breite */
.sp-preview-pane .sp-profile-actions {
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  width: 100%;
}

.sp-preview-pane .sp-profile-actions .btn-primary,
.sp-preview-pane .sp-profile-actions .btn-ghost,
.sp-preview-pane .sp-profile-actions .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ── RIGHT: CONTENT PANE ──────────────────────────────────────── */
.sp-content-pane {
  flex: 1;
  min-width: 0;
  padding: 28px 32px 48px;
}

.sp-content-pane .sp-section {
  margin-bottom: 20px;
}

.sp-content-pane .calendar-card {
  margin-bottom: 0;
}

/* vita-voice-grid im Content-Pane: einspaltig */
.sp-content-pane .vita-voice-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.sp-content-pane .vita-voice-grid .sp-section {
  margin-bottom: 20px;
}

/* ── RESPONSIVE: ab 900px stacken ────────────────────────────── */
@media (max-width: 900px) {
  .sp-split-layout {
    flex-direction: column;
  }

  .sp-preview-pane {
    width: 100%;
    position: relative;
    top: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--cream-08);
    padding: 24px 20px;
  }

  .sp-preview-pane .sp-profile-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 0;
  }

  .sp-preview-pane .sp-profile-actions .btn-primary,
  .sp-preview-pane .sp-profile-actions .btn-ghost,
  .sp-preview-pane .sp-profile-actions .btn-secondary {
    width: auto;
    flex: 1;
  }

  .sp-content-pane {
    padding: 20px 16px 32px;
  }
}
