/* ==========================================================================
   RANKHOUSE Universal Module Studio v10.6.0
   Shared high-end layout and controls for every module page.
   ========================================================================== */
body.rh-universal-studio .rh-universal-studio-main {
  --rh-studio-panel-bg: linear-gradient(145deg, rgba(20,20,29,.96), rgba(11,11,17,.97));
  --rh-studio-panel-soft: rgba(255,255,255,.022);
  --rh-studio-line: rgba(255,255,255,.075);
  --rh-studio-line-strong: rgba(255,255,255,.13);
  --rh-studio-text: #f5f5f9;
  --rh-studio-muted: #9595a7;
  --rh-studio-dim: #707080;
}

body.rh-universal-studio .rh-universal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rh-studio-line);
  border-radius: 20px;
  background: var(--rh-studio-panel-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 20px 48px rgba(0,0,0,.17);
}
body.rh-universal-studio .rh-universal-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--rh-accent-rgb),.38), transparent);
  opacity: .7;
  pointer-events: none;
}
body.rh-universal-studio .rh-universal-panel[data-rh-studio-kind="editor"] { border-color: rgba(var(--rh-accent-rgb),.20); }
body.rh-universal-studio .rh-universal-panel[data-rh-studio-kind="protokoll"] { border-color: rgba(91,145,255,.15); }
body.rh-universal-studio .rh-universal-panel[data-rh-studio-kind="übersicht"] { border-color: rgba(66,211,138,.14); }

body.rh-universal-studio .rh-universal-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  margin: 0 0 20px !important;
  padding: 17px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.065) !important;
  background:
    radial-gradient(circle at 90% -40%, rgba(var(--rh-accent-rgb),.09), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.022), transparent) !important;
}
body.rh-universal-studio .rh-universal-panel-copy { min-width: 0; }
body.rh-universal-studio .rh-studio-panel-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
body.rh-universal-studio .rh-studio-panel-index {
  min-width: 29px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(var(--rh-accent-rgb),.26);
  border-radius: 8px;
  background: rgba(var(--rh-accent-rgb),.10);
  color: var(--rh-accent-bright);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
}
body.rh-universal-studio .rh-studio-panel-kind {
  color: #777789;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.rh-universal-studio .rh-universal-panel-header h2,
body.rh-universal-studio .rh-universal-panel-header h3 {
  margin: 0;
  color: var(--rh-studio-text);
  letter-spacing: -.012em;
}
body.rh-universal-studio .rh-universal-panel-header p {
  max-width: 920px;
  margin: 6px 0 0;
  color: var(--rh-studio-muted);
  line-height: 1.52;
}

body.rh-universal-studio .rh-universal-form {
  position: relative;
}
body.rh-universal-studio .rh-universal-field-grid {
  align-items: stretch;
  gap: 12px !important;
}
body.rh-universal-studio .rh-universal-field-grid > .rh-universal-field,
body.rh-universal-studio .rh-universal-form > .rh-universal-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 15px;
  padding: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.022), rgba(6,6,11,.30));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.rh-universal-studio .rh-universal-field-grid > .rh-universal-field:focus-within,
body.rh-universal-studio .rh-universal-form > .rh-universal-field:focus-within {
  border-color: rgba(var(--rh-accent-rgb),.30);
  background: linear-gradient(145deg, rgba(var(--rh-accent-rgb),.055), rgba(7,7,12,.54));
  box-shadow: 0 0 0 3px rgba(var(--rh-accent-rgb),.055), inset 0 1px 0 rgba(255,255,255,.028);
  transform: translateY(-1px);
}
body.rh-universal-studio .rh-universal-field-label,
body.rh-universal-studio .rh-universal-field > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 17px;
  margin: 0 0 8px;
  color: #b6b6c4 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .035em !important;
}
body.rh-universal-studio .rh-universal-field.is-required .rh-universal-field-label::after,
body.rh-universal-studio .rh-universal-field.is-required > span:first-child::after {
  content: '•';
  color: var(--rh-accent-bright);
  font-size: 12px;
}
body.rh-universal-studio .rh-universal-field::before {
  position: absolute;
  top: 13px;
  right: 13px;
  color: #5f5f70;
  font-size: 10px;
  font-weight: 900;
  opacity: .8;
}
body.rh-universal-studio .rh-universal-field[data-rh-field-type="select"]::before { content: 'AUSWAHL'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="date"]::before { content: 'ZEIT'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="color"]::before { content: 'FARBE'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="number"]::before { content: 'WERT'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="url"]::before { content: 'LINK'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="email"]::before { content: 'E-MAIL'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="textarea"]::before { content: 'TEXT'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="password"]::before { content: 'SICHER'; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="text"]::before { content: ''; }
body.rh-universal-studio .rh-universal-field input:not([type="checkbox"]):not([type="radio"]),
body.rh-universal-studio .rh-universal-field select,
body.rh-universal-studio .rh-universal-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.075) !important;
  border-radius: 11px !important;
  background: rgba(6,6,10,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body.rh-universal-studio .rh-universal-field input:not([type="checkbox"]):not([type="radio"]):focus,
body.rh-universal-studio .rh-universal-field select:focus,
body.rh-universal-studio .rh-universal-field textarea:focus {
  border-color: rgba(var(--rh-accent-rgb),.40) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--rh-accent-rgb),.07) !important;
}
body.rh-universal-studio .rh-universal-field textarea { min-height: 112px; resize: vertical; }
body.rh-universal-studio .rh-universal-field[data-rh-field-type="color"] input[type="color"] {
  min-height: 46px;
  padding: 5px;
  cursor: pointer;
}
body.rh-universal-studio .rh-universal-field small:not(.rh-studio-field-counter) {
  margin-top: 7px;
  color: #737384;
  line-height: 1.45;
}
body.rh-universal-studio .rh-studio-field-counter {
  align-self: flex-end;
  margin-top: 7px;
  color: #666677;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
}
body.rh-universal-studio .rh-studio-field-counter.is-near-limit { color: #ffb45e; }
body.rh-universal-studio .rh-universal-field.is-disabled { opacity: .58; }

body.rh-universal-studio .rh-universal-toggle-card {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 15px !important;
  padding: 13px 15px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(7,7,12,.45)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
body.rh-universal-studio .rh-universal-toggle-card:has(input:checked) {
  border-color: rgba(var(--rh-accent-rgb),.27) !important;
  background: linear-gradient(145deg, rgba(var(--rh-accent-rgb),.09), rgba(7,7,12,.46)) !important;
}
body.rh-universal-studio .rh-universal-toggle-card strong { color: #ededf2; }
body.rh-universal-studio .rh-universal-toggle-card small { color: #858596; line-height: 1.45; }

body.rh-universal-studio .rh-universal-action-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.065) !important;
  padding-top: 16px !important;
}
body.rh-universal-studio .rh-universal-action-bar::before {
  content: 'AKTIONEN';
  margin-right: auto;
  color: #646475;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
body.rh-universal-studio .rh-universal-action-bar .button,
body.rh-universal-studio .rh-universal-action-bar button {
  min-height: 38px;
  border-radius: 11px;
  font-weight: 850;
}
body.rh-universal-studio .rh-studio-action-save,
body.rh-universal-studio .rh-studio-action-create {
  box-shadow: 0 9px 20px rgba(var(--rh-accent-rgb),.12);
}
body.rh-universal-studio .rh-studio-action-danger:not(.button-submit) {
  border-color: rgba(255,74,101,.20) !important;
}

body.rh-universal-studio .rh-universal-details {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 15px;
  background: rgba(255,255,255,.018);
}
body.rh-universal-studio .rh-universal-details + .rh-universal-details { margin-top: 10px; }
body.rh-universal-studio .rh-universal-details-summary {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 50px 13px 16px;
  color: #e8e8ee;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  transition: background .16s ease, color .16s ease;
}
body.rh-universal-studio .rh-universal-details-summary::-webkit-details-marker { display: none; }
body.rh-universal-studio .rh-universal-details-summary:hover,
body.rh-universal-studio .rh-universal-details[open] > .rh-universal-details-summary {
  background: rgba(var(--rh-accent-rgb),.055);
  color: #fff;
}
body.rh-universal-studio .rh-studio-details-indicator {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  transform: translateY(-50%);
}
body.rh-universal-studio .rh-studio-details-indicator::before,
body.rh-universal-studio .rh-studio-details-indicator::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%,-50%);
}
body.rh-universal-studio .rh-studio-details-indicator::after { transform: translate(-50%,-50%) rotate(90deg); }
body.rh-universal-studio .rh-universal-details[open] .rh-studio-details-indicator::after { opacity: 0; }
body.rh-universal-studio .rh-universal-details > :not(summary) { margin-left: 14px; margin-right: 14px; }
body.rh-universal-studio .rh-universal-details > :last-child { margin-bottom: 14px; }

body.rh-universal-studio .rh-universal-stats-grid { gap: 12px; }
body.rh-universal-studio .rh-universal-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 17px;
  background: linear-gradient(145deg, rgba(24,24,34,.9), rgba(11,11,17,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
body.rh-universal-studio .rh-universal-stat-card::after {
  content: '';
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(var(--rh-accent-rgb),.075);
  filter: blur(1px);
}
body.rh-universal-studio .rh-universal-stat-card strong { position: relative; z-index: 1; font-size: 25px; }
body.rh-universal-studio .rh-universal-stat-card span { position: relative; z-index: 1; color: #8e8e9f; }

body.rh-universal-studio .rh-universal-card-list {
  display: grid;
  gap: 12px;
}
body.rh-universal-studio .rh-universal-record-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(23,23,32,.88), rgba(10,10,15,.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
body.rh-universal-studio .rh-universal-record-card:hover {
  border-color: rgba(var(--rh-accent-rgb),.20) !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 16px 28px rgba(0,0,0,.13);
}

body.rh-universal-studio .rh-universal-meta-grid { gap: 9px; }
body.rh-universal-studio .rh-universal-meta-card {
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.018);
}
body.rh-universal-studio .rh-universal-meta-card span { color: #707081; font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
body.rh-universal-studio .rh-universal-meta-card strong { margin-top: 4px; color: #e9e9ee; }

body.rh-universal-studio .rh-universal-table-wrap {
  overflow: auto;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 15px;
  background: rgba(6,6,10,.42);
}
body.rh-universal-studio .rh-universal-table { min-width: 720px; }
body.rh-universal-studio .rh-universal-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom-color: rgba(255,255,255,.08);
  background: rgba(16,16,23,.97);
  color: #858596;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}
body.rh-universal-studio .rh-universal-table tbody tr { transition: background .14s ease; }
body.rh-universal-studio .rh-universal-table tbody tr:hover { background: rgba(var(--rh-accent-rgb),.045); }

body.rh-universal-studio .rh-universal-empty-state {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  padding: 26px !important;
  background: radial-gradient(circle at 50% 120%, rgba(var(--rh-accent-rgb),.07), transparent 18rem), rgba(255,255,255,.012) !important;
  color: #858596 !important;
  text-align: center;
}
body.rh-universal-studio .rh-studio-empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--rh-accent-rgb),.22);
  border-radius: 15px;
  background: rgba(var(--rh-accent-rgb),.08);
  color: var(--rh-accent-bright);
  font-size: 20px;
}

body.rh-universal-studio .module-divider {
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
}
body.rh-universal-studio .panel > h3,
body.rh-universal-studio form > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 12px;
  color: #ededf2;
  font-size: 13px;
}
body.rh-universal-studio .panel > h3::before,
body.rh-universal-studio form > h3::before {
  content: '';
  width: 3px;
  height: 18px;
  border-radius: 99px;
  background: var(--rh-accent-bright);
  box-shadow: 0 0 12px rgba(var(--rh-accent-rgb),.3);
}

@media (max-width: 980px) {
  body.rh-universal-studio .rh-universal-panel-header { align-items: flex-start; flex-direction: column; }
  body.rh-universal-studio .rh-universal-field-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 680px) {
  body.rh-universal-studio .rh-universal-field-grid { grid-template-columns: 1fr !important; }
  body.rh-universal-studio .rh-universal-action-bar { align-items: stretch; flex-direction: column; }
  body.rh-universal-studio .rh-universal-action-bar::before { margin: 0 0 2px; }
  body.rh-universal-studio .rh-universal-action-bar .button,
  body.rh-universal-studio .rh-universal-action-bar button,
  body.rh-universal-studio .rh-universal-action-bar form { width: 100%; }
}
