/* NexCore SupportDesk · Patch 3.36a
   Kundenansicht, lokale Funktionshinweise und ruhige Planlimits. */

.plans-ux-page,
.plan-feature-groups {
  display: grid;
  gap: 18px;
}

.plans-ux-page .card,
.plan-page-locks {
  border-color: rgba(56, 215, 255, .16);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .95), rgba(8, 16, 31, .95)),
    rgba(15, 23, 42, .9);
}

.plan-current-summary {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(230px, 1fr) minmax(190px, .72fr);
  gap: 12px;
  margin-top: 18px;
}

.plan-current-summary > div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px;
  background: rgba(2, 8, 20, .29);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.plan-current-summary .plan-current-plan {
  border-color: rgba(56, 215, 255, .28);
  background:
    linear-gradient(135deg, rgba(56, 215, 255, .09), rgba(37, 99, 235, .045)),
    rgba(2, 8, 20, .32);
}

.plan-current-summary span,
.plan-current-summary .plan-mini-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(148, 163, 184, .88);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .025em;
}

.plan-current-summary strong {
  display: block;
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.15;
}

.plan-current-summary small {
  display: block;
  margin-top: 6px;
  color: rgba(148, 163, 184, .78);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
}

.plan-usage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.plan-usage-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 17px;
  background: rgba(2, 8, 20, .27);
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.plan-usage-card:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 215, 255, .3);
  background: rgba(56, 215, 255, .045);
}

.plan-usage-card.near { border-color: rgba(250, 204, 21, .3); }
.plan-usage-card.full { border-color: rgba(248, 113, 113, .34); }
.plan-usage-card.over { border-color: rgba(192, 132, 252, .38); background: rgba(168, 85, 247, .045); }

.plan-usage-card > span {
  overflow: hidden;
  color: rgba(148, 163, 184, .84);
  font-size: .7rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-usage-card > strong {
  margin-top: 5px;
  color: #f8fafc;
  font-size: 1.22rem;
  font-weight: 1000;
  line-height: 1.1;
}

.plan-usage-card > small {
  min-height: 28px;
  margin-top: 5px;
  color: rgba(148, 163, 184, .7);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.25;
}

.plan-usage-card > i {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .12);
}

.plan-usage-card > i > b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(56, 215, 255, .68), rgba(99, 102, 241, .78));
}

.plan-usage-card.near > i > b { background: rgba(250, 204, 21, .74); }
.plan-usage-card.full > i > b { background: rgba(248, 113, 113, .78); }

.plan-limit-hint {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(250, 204, 21, .24);
  border-radius: 16px;
  background: rgba(250, 204, 21, .045);
}

.plan-limit-hint.full {
  border-color: rgba(248, 113, 113, .28);
  background: rgba(248, 113, 113, .045);
}

.plan-limit-hint > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(250, 204, 21, .3);
  border-radius: 10px;
  color: #fde68a;
  font-weight: 1000;
}

.plan-limit-hint strong,
.plan-limit-hint small { display: block; }
.plan-limit-hint strong { color: #f8fafc; font-size: .84rem; }
.plan-limit-hint small { margin-top: 2px; color: rgba(203, 213, 225, .72); font-size: .72rem; }
.plan-limit-hint a { color: #a5f3fc; font-size: .74rem; font-weight: 900; text-decoration: none; }

.plan-cards-ux {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.plan-card-ux {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 17px;
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 22px;
  background: rgba(2, 8, 20, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.plan-card-ux:hover,
.plan-card-ux.selected {
  transform: translateY(-2px);
  border-color: rgba(56, 215, 255, .35);
}

.plan-card-ux.current {
  border-color: rgba(56, 215, 255, .45);
  background:
    radial-gradient(circle at top right, rgba(56, 215, 255, .13), transparent 56%),
    rgba(2, 8, 20, .35);
}

.plan-card-ux.plus {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, .14), transparent 52%),
    rgba(2, 8, 20, .31);
}

.plan-card-ux.premium {
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, .13), transparent 54%),
    rgba(2, 8, 20, .31);
}

.plan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.plan-card-tag {
  display: inline-flex;
  margin-bottom: 6px;
  color: #38d7ff;
  font-size: .66rem;
  font-weight: 1000;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.plan-card-ux.plus .plan-card-tag { color: #c084fc; }
.plan-card-ux.premium .plan-card-tag { color: #facc15; }
.plan-card-top h3 { margin: 0; color: #f8fafc; font-size: 1.34rem; line-height: 1.1; }

.plan-card-top em {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(56, 215, 255, .28);
  border-radius: 999px;
  background: rgba(56, 215, 255, .08);
  color: #c8f4ff;
  font-size: .68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-card-ux > p {
  min-height: 38px;
  margin: 0 0 13px;
  color: rgba(203, 213, 225, .82);
  font-size: .84rem;
  line-height: 1.4;
}

.plan-price-box {
  position: relative;
  min-height: 104px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 17px;
  background: rgba(15, 23, 42, .38);
}

.plan-price-box.has-promo { padding-top: 36px; }
.plan-price-box del { display: block; color: rgba(148, 163, 184, .62); font-size: .73rem; font-weight: 800; }
.plan-promo-pill {
  position: absolute;
  top: 10px;
  left: 13px;
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid rgba(192, 132, 252, .28);
  border-radius: 999px;
  background: rgba(168, 85, 247, .1);
  color: #d8b4fe;
  font-size: .61rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-card-ux.premium .plan-promo-pill {
  border-color: rgba(250, 204, 21, .3);
  background: rgba(250, 204, 21, .08);
  color: #fde68a;
}

.plan-price-main { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; color: #f8fafc; }
.plan-price-amount { font-size: 1.65rem; font-weight: 1000; }
.plan-price-period { color: rgba(226, 232, 240, .78); font-size: .76rem; font-weight: 850; }
.plan-price-box > small { display: block; margin-top: 4px; color: rgba(148, 163, 184, .76); font-size: .7rem; font-weight: 750; }

.plan-card-ux ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card-ux li {
  position: relative;
  padding-left: 21px;
  color: rgba(226, 232, 240, .87);
  font-size: .81rem;
  font-weight: 740;
  line-height: 1.3;
}

.plan-card-ux li::before { content: '✓'; position: absolute; left: 0; color: #67e8f9; font-weight: 1000; }
.plan-card-ux.plus li::before { color: #c084fc; }
.plan-card-ux.premium li::before { color: #facc15; }

.plan-feature-count {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(148, 163, 184, .1);
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.plan-feature-count span { color: #e2e8f0; font-size: .72rem; font-weight: 900; }
.plan-feature-count small { color: rgba(148, 163, 184, .65); font-size: .65rem; text-align: right; }
.plan-card-ux footer { margin-top: auto; padding-top: 14px; }
.plan-card-ux footer > span { display: block; color: rgba(148, 163, 184, .77); font-size: .72rem; line-height: 1.35; }
.plan-card-cta { display: inline-flex; margin-top: 10px; color: #bae6fd; font-size: .75rem; font-weight: 950; }

.plan-price-footnote { margin: 12px 0 0; color: rgba(148, 163, 184, .72); font-size: .7rem; }
.plan-selected-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(56, 215, 255, .18);
  border-radius: 15px;
  background: rgba(56, 215, 255, .04);
}
.plan-selected-note strong { color: #f8fafc; font-size: .82rem; }
.plan-selected-note span { color: rgba(203, 213, 225, .76); font-size: .75rem; text-align: right; }

.plan-page-locks { margin-bottom: 18px; }
.plan-lock-grid,
.plan-feature-grid,
.archive-plan-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.plan-lock-grid.single { grid-template-columns: minmax(0, 1fr); }

.plan-lock-card,
.plan-enabled-feature,
.plan-unavailable-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 17px;
  background: rgba(2, 8, 20, .27);
}

.plan-lock-card { border-color: rgba(148, 163, 184, .18); }
.plan-lock-icon,
.plan-enabled-icon,
.plan-unavailable-feature > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  background: rgba(15, 23, 42, .58);
  color: rgba(203, 213, 225, .82);
}
.plan-lock-icon svg { width: 17px; height: 17px; }
.plan-enabled-icon { border-color: rgba(52, 211, 153, .24); background: rgba(52, 211, 153, .07); color: #6ee7b7; font-weight: 1000; }

.plan-lock-copy { min-width: 0; }
.plan-lock-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.plan-lock-title strong,
.plan-enabled-feature strong,
.plan-unavailable-feature strong { color: #f8fafc; font-size: .84rem; font-weight: 950; }
.plan-lock-copy p { margin: 4px 0 0; color: rgba(203, 213, 225, .76); font-size: .73rem; line-height: 1.38; }
.plan-lock-copy small,
.plan-enabled-feature small,
.plan-unavailable-feature small { display: block; margin-top: 4px; color: rgba(148, 163, 184, .68); font-size: .67rem; line-height: 1.35; }

.plan-tier-badge {
  display: inline-flex;
  padding: 3px 7px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: .58rem;
  font-weight: 1000;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.plan-tier-badge.plus { border-color: rgba(192, 132, 252, .3); background: rgba(168, 85, 247, .08); color: #d8b4fe; }
.plan-tier-badge.premium { border-color: rgba(250, 204, 21, .3); background: rgba(250, 204, 21, .07); color: #fde68a; }

.plan-lock-cta {
  min-width: auto;
  padding-inline: 12px;
  white-space: nowrap;
}
.plan-lock-card-compact { padding: 12px; }
.plan-lock-card-compact .plan-lock-icon { width: 32px; height: 32px; }

.plan-feature-group {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 18px;
  background: rgba(2, 8, 20, .18);
}
.plan-feature-group > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}
.plan-feature-group > header strong { color: #f8fafc; font-size: .84rem; }
.plan-feature-group > header small { color: rgba(148, 163, 184, .68); font-size: .68rem; }
.plan-feature-group .plan-feature-grid { margin: 0; padding: 10px; }
.plan-enabled-feature .badge { white-space: nowrap; }
.plan-unavailable-feature { grid-template-columns: auto minmax(0, 1fr); }

.plan-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 15px;
}
.plan-actions-grid a {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 17px;
  background: rgba(2, 8, 20, .26);
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease;
}
.plan-actions-grid a:hover { border-color: rgba(56, 215, 255, .3); background: rgba(56, 215, 255, .045); }
.plan-actions-grid strong { color: #f8fafc; font-size: .82rem; }
.plan-actions-grid small { color: rgba(148, 163, 184, .72); font-size: .69rem; line-height: 1.35; }

/* Gesperrte Bereiche bleiben vollständig lesbar, sind aber nicht bedienbar. */
.plan-feature-gated.is-locked {
  position: relative;
  border-color: rgba(148, 163, 184, .2) !important;
  background-image: linear-gradient(rgba(5, 10, 22, .08), rgba(5, 10, 22, .08));
  filter: saturate(.78);
}
.plan-feature-gated.is-locked::after {
  content: none;
  display: none;
}
.plan-feature-gated.is-locked input,
.plan-feature-gated.is-locked select,
.plan-feature-gated.is-locked textarea,
.plan-feature-gated.is-locked button {
  opacity: .72;
}

.archive-plan-feature-list { grid-template-columns: minmax(0, 1fr); padding: 12px; margin-top: 0; }

@media (max-width: 1380px) {
  .plan-usage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .plan-current-summary { grid-template-columns: 1fr 1fr; }
  .plan-current-summary > div:last-child { grid-column: span 2; }
  .plan-cards-ux { grid-template-columns: 1fr; }
  .plan-card-ux > p { min-height: auto; }
  .plan-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .plan-current-summary,
  .plan-usage-grid,
  .plan-lock-grid,
  .plan-feature-grid,
  .plan-actions-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-current-summary > div:last-child { grid-column: auto; }
  .plan-lock-card,
  .plan-enabled-feature { grid-template-columns: auto minmax(0, 1fr); }
  .plan-lock-card .plan-lock-cta,
  .plan-enabled-feature .badge { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .plan-limit-hint { grid-template-columns: auto 1fr; }
  .plan-limit-hint > a { grid-column: 1 / -1; padding-left: 42px; }
  .plan-selected-note { flex-direction: column; }
  .plan-selected-note span { text-align: left; }
}

.nc-nav a .nav-plan-mini-badge {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(250, 204, 21, .24);
  border-radius: 999px;
  background: rgba(250, 204, 21, .06);
  color: rgba(253, 230, 138, .82);
  font-size: .5rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-gated-static {
  cursor: default;
  opacity: .72;
  pointer-events: none;
}


/* Patch 3.36a · Hinweise stehen direkt bei der betroffenen Funktion. */
.plan-inline-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(56, 215, 255, .04), transparent 42%),
    rgba(3, 10, 22, .52);
}

.plan-inline-gate-page {
  margin-bottom: 14px;
}

.plan-inline-gate-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(56, 215, 255, .22);
  border-radius: 10px;
  background: rgba(56, 215, 255, .055);
  color: #67e8f9;
}

.plan-inline-gate-icon svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px;
}

.plan-inline-gate-copy {
  min-width: 0;
}

.plan-inline-gate-copy > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-inline-gate-copy strong {
  color: #f8fafc;
  font-size: .82rem;
  font-weight: 950;
}

.plan-inline-gate-copy small {
  display: block;
  margin-top: 3px;
  color: rgba(148, 163, 184, .76);
  font-size: .69rem;
  line-height: 1.38;
}

.plan-inline-gate-cta {
  min-width: 0;
  padding-inline: 12px;
  white-space: nowrap;
}

/* Das gesperrte Formular bleibt lesbar, ohne den Inhalt optisch zu zerlegen. */
.plan-feature-gated.is-locked {
  filter: none;
}

.plan-feature-gated.is-locked input,
.plan-feature-gated.is-locked select,
.plan-feature-gated.is-locked textarea,
.plan-feature-gated.is-locked button {
  opacity: .64;
}

.plan-feature-gated.is-locked svg {
  max-width: 24px;
  max-height: 24px;
}

@media (max-width: 760px) {
  .plan-inline-gate {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .plan-inline-gate-cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
}

/* Patch 3.38 · Buchungen & Serverplätze */
.subscription-page-notice {
  margin-bottom: 16px;
}

.subscription-account-card {
  overflow: hidden;
}

.subscription-state-box,
.subscription-request-pending,
.subscription-last-request {
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 16px;
  background: rgba(8, 18, 34, .58);
}

.subscription-state-box {
  display: grid;
  gap: 5px;
  padding: 17px 18px;
}

.subscription-state-box.warning {
  border-color: rgba(245, 158, 11, .28);
  background: rgba(77, 49, 8, .12);
}

.subscription-state-box strong,
.subscription-request-pending strong,
.subscription-plan-head h3,
.subscription-request-copy h3 {
  color: #f8fafc;
}

.subscription-state-box span,
.subscription-request-pending p,
.subscription-request-pending small,
.subscription-form-hint,
.subscription-last-request small {
  color: rgba(184, 199, 220, .78);
}

.subscription-list {
  display: grid;
  gap: 16px;
}

.subscription-plan-block {
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, .08), transparent 34%),
    rgba(7, 16, 31, .56);
}

.subscription-plan-block.plan-plus {
  border-color: rgba(192, 132, 252, .3);
  background:
    radial-gradient(circle at 100% 0, rgba(168, 85, 247, .12), transparent 35%),
    rgba(16, 12, 38, .52);
}

.subscription-plan-block.plan-premium {
  border-color: rgba(250, 204, 21, .3);
  background:
    radial-gradient(circle at 100% 0, rgba(234, 179, 8, .12), transparent 36%),
    rgba(35, 26, 8, .38);
}

.subscription-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.subscription-plan-head h3 {
  margin: 7px 0 3px;
  font-size: 1.2rem;
}

.subscription-plan-head small {
  color: rgba(164, 180, 204, .76);
}

.subscription-slot-counter {
  min-width: 135px;
  display: grid;
  justify-items: end;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 13px;
  background: rgba(8, 18, 34, .52);
}

.subscription-slot-counter strong {
  color: #eef7ff;
  font-size: 1.05rem;
}

.subscription-slot-counter span {
  color: rgba(148, 163, 184, .78);
  font-size: .7rem;
}

.subscription-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.subscription-slot {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(51, 65, 85, .72);
  border-radius: 15px;
  background: rgba(5, 12, 25, .54);
}

.subscription-slot.occupied {
  grid-template-columns: auto minmax(0, 1fr) auto;
  border-color: rgba(34, 211, 238, .25);
}

.subscription-slot.free {
  grid-template-columns: auto minmax(0, 1fr);
  border-style: dashed;
  color: rgba(148, 163, 184, .78);
}

.subscription-slot-number,
.subscription-guild-avatar {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(56, 189, 248, .24);
  background: rgba(8, 33, 51, .72);
  color: #67e8f9;
  font-weight: 900;
}

.subscription-guild-avatar {
  overflow: hidden;
}

.subscription-guild-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscription-slot-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.subscription-slot-copy > span,
.subscription-slot.free span {
  color: #7dd3fc;
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.subscription-slot-copy strong {
  overflow: hidden;
  color: #eef6ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscription-slot-copy small,
.subscription-slot.free small {
  color: rgba(148, 163, 184, .72);
  font-size: .7rem;
}

.subscription-release-form {
  margin: 0;
}

.danger-soft {
  border-color: rgba(248, 113, 113, .26) !important;
  color: #fda4af !important;
}

.subscription-assign-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(51, 65, 85, .62);
}

.subscription-assign-form label,
.subscription-request-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.subscription-assign-form label > span,
.subscription-request-form label > span {
  color: rgba(203, 213, 225, .9);
  font-size: .75rem;
  font-weight: 850;
}

.subscription-assign-form select,
.subscription-request-form select,
.subscription-request-form textarea {
  width: 100%;
}

.subscription-form-hint {
  margin: 8px 0 0;
  font-size: .7rem;
}

.subscription-request-pending {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border-color: rgba(250, 204, 21, .25);
  background: rgba(60, 42, 5, .13);
}

.subscription-request-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 204, 21, .24);
  border-radius: 14px;
  background: rgba(74, 52, 8, .34);
}

.subscription-request-pending > div:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.subscription-request-pending > div:nth-child(2) > span {
  color: #fde68a;
  font-size: .69rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.subscription-request-pending p {
  margin: 5px 0 0;
  font-size: .78rem;
  line-height: 1.5;
}

.subscription-request-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.subscription-request-copy,
.subscription-request-form {
  border: 1px solid rgba(51, 65, 85, .68);
  border-radius: 17px;
  padding: 18px;
  background: rgba(5, 12, 25, .48);
}

.subscription-request-copy h3 {
  margin: 10px 0 7px;
  font-size: 1.22rem;
}

.subscription-request-copy p,
.subscription-request-copy li {
  color: rgba(181, 197, 220, .8);
  font-size: .79rem;
  line-height: 1.55;
}

.subscription-request-copy ul {
  margin: 12px 0 0;
  padding-left: 19px;
}

.subscription-request-form {
  display: grid;
  gap: 13px;
}

.subscription-request-form label > span small {
  color: rgba(148, 163, 184, .66);
  font-weight: 600;
}

.subscription-last-request {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 13px;
  padding: 11px 13px;
  font-size: .72rem;
}

.subscription-last-request > span {
  color: rgba(148, 163, 184, .7);
}

.subscription-last-request > strong {
  color: rgba(226, 232, 240, .9);
}

.plan-selected-note > a {
  color: #67e8f9;
  font-size: .75rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .subscription-slot-grid,
  .subscription-request-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .subscription-plan-head,
  .subscription-request-pending {
    grid-template-columns: 1fr;
    display: grid;
  }

  .subscription-slot-counter {
    justify-items: start;
  }

  .subscription-slot.occupied {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .subscription-release-form {
    grid-column: 1 / -1;
  }

  .subscription-release-form .btn,
  .subscription-assign-form .btn,
  .subscription-request-form .btn {
    width: 100%;
    justify-content: center;
  }

  .subscription-assign-form {
    grid-template-columns: 1fr;
  }

  .subscription-last-request {
    grid-template-columns: 1fr;
  }
}


/* Patch 3.38 · Stripe Checkout & automatische Planfreischaltung */
.stripe-billing-notice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(56, 215, 255, .2);
  border-radius: 16px;
  background: rgba(56, 215, 255, .055);
}

.stripe-billing-notice > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(56, 215, 255, .28);
  border-radius: 10px;
  color: #dff8ff;
  background: rgba(56, 215, 255, .08);
  font-size: .82rem;
  font-weight: 1000;
}

.stripe-billing-notice strong {
  color: #e6f8ff;
  font-size: .82rem;
  line-height: 1.45;
}

.stripe-billing-notice.success {
  border-color: rgba(16, 185, 129, .25);
  background: rgba(16, 185, 129, .06);
}

.stripe-billing-notice.success > span {
  border-color: rgba(16, 185, 129, .32);
  color: #bbf7d0;
  background: rgba(16, 185, 129, .09);
}

.stripe-billing-notice.warning {
  border-color: rgba(245, 158, 11, .28);
  background: rgba(245, 158, 11, .06);
}

.stripe-billing-notice.warning > span {
  border-color: rgba(245, 158, 11, .34);
  color: #fde68a;
  background: rgba(245, 158, 11, .09);
}

.plan-selected-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
  flex: 1 1 420px;
}

.plan-selected-copy span {
  text-align: left;
  line-height: 1.45;
}

.plan-selected-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.stripe-checkout-form,
.stripe-portal-form {
  margin: 0;
}

.stripe-checkout-button,
.stripe-portal-button {
  min-height: 39px;
  white-space: nowrap;
}

.stripe-checkout-button:not(:disabled) {
  border-color: rgba(99, 102, 241, .42);
  background: linear-gradient(180deg, rgba(99, 102, 241, .24), rgba(79, 70, 229, .14));
  box-shadow: inset 0 0 18px rgba(129, 140, 248, .08), 0 0 20px rgba(79, 70, 229, .08);
}

.stripe-checkout-button:not(:disabled):hover {
  border-color: rgba(129, 140, 248, .62);
  box-shadow: inset 0 0 22px rgba(129, 140, 248, .14), 0 0 24px rgba(79, 70, 229, .15);
}

.stripe-checkout-button:disabled {
  cursor: not-allowed;
  opacity: .46;
}

@media (max-width: 720px) {
  .plan-selected-actions,
  .stripe-checkout-form,
  .stripe-portal-form,
  .stripe-checkout-button,
  .stripe-portal-button {
    width: 100%;
  }

  .stripe-checkout-button,
  .stripe-portal-button {
    justify-content: center;
  }
}
.subscription-request-grid--stripe{align-items:stretch}.subscription-stripe-actions{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:16px;border:1px solid rgba(94,132,185,.2);border-radius:14px;background:rgba(8,18,32,.64)}.subscription-stripe-state{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid rgba(255,193,76,.24);border-radius:11px;background:rgba(117,77,14,.12)}.subscription-stripe-state.is-ready{border-color:rgba(69,222,167,.26);background:rgba(24,117,83,.12)}.subscription-stripe-state strong{color:#e9f5ff;font-size:13px}.subscription-stripe-state span{color:#8ca1bc;font-size:12px;line-height:1.5}.subscription-stripe-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.subscription-stripe-buttons .btn{width:100%;box-sizing:border-box}@media(max-width:760px){.subscription-stripe-buttons{grid-template-columns:1fr}}

/* Patch 3.39 · klarer Bestellablauf */
.plans-order-page {
  width: min(1460px, calc(100% - 36px));
  margin: 0 auto;
  padding: 10px 0 54px;
}

.plans-order-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(56, 215, 255, .2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16, 31, 52, .92), rgba(8, 17, 31, .94));
}

.plans-order-header > div {
  display: grid;
  gap: 4px;
}

.plans-order-header h2 {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.plans-order-header > div > span {
  color: #91a5c0;
  font-size: .9rem;
  line-height: 1.55;
}

.plans-order-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(36px, .35fr) minmax(0, 1fr) minmax(36px, .35fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid rgba(73, 104, 146, .22);
  border-radius: 17px;
  background: rgba(8, 18, 32, .72);
}

.plans-order-steps > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.plans-order-steps > div > b {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(105, 129, 164, .3);
  border-radius: 10px;
  color: #7890ae;
  background: rgba(18, 31, 49, .72);
  font-size: .78rem;
}

.plans-order-steps > div.is-active > b {
  border-color: rgba(56, 215, 255, .44);
  color: #dffaff;
  background: rgba(56, 215, 255, .1);
  box-shadow: inset 0 0 14px rgba(56, 215, 255, .05);
}

.plans-order-steps > div > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.plans-order-steps strong {
  color: #eaf3ff;
  font-size: .82rem;
}

.plans-order-steps small {
  overflow: hidden;
  color: #7186a2;
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plans-order-steps > i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 215, 255, .3), rgba(93, 111, 143, .18));
}

.plans-order-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(480px, 1.28fr);
  align-items: start;
  gap: 18px;
}

.plans-order-plan,
.plans-order-checkout {
  border: 1px solid rgba(73, 104, 146, .24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 29, 49, .93), rgba(7, 16, 29, .96));
}

.plans-order-plan {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.plans-order-plan.plan-plus {
  border-color: rgba(190, 107, 255, .34);
}

.plans-order-plan.plan-premium {
  border-color: rgba(245, 190, 40, .34);
}

.plans-order-plan-head {
  padding: 22px 22px 16px;
}

.plans-order-plan-head h3 {
  margin: 7px 0 6px;
  color: #f5f8ff;
  font-size: 1.5rem;
}

.plans-order-plan-head p {
  margin: 0;
  color: #94a6bf;
  line-height: 1.55;
}

.plans-order-price {
  display: grid;
  gap: 5px;
  margin: 0 22px;
  padding: 18px;
  border: 1px solid rgba(104, 126, 159, .22);
  border-radius: 15px;
  background: rgba(5, 12, 24, .52);
}

.plans-order-price > span {
  width: max-content;
  padding: 4px 8px;
  border: 1px solid rgba(190, 107, 255, .34);
  border-radius: 999px;
  color: #ddbbff;
  background: rgba(137, 63, 191, .12);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plans-order-plan.plan-premium .plans-order-price > span {
  border-color: rgba(245, 190, 40, .34);
  color: #ffe798;
  background: rgba(151, 110, 17, .12);
}

.plans-order-price del {
  color: #72829a;
  font-size: .77rem;
}

.plans-order-price strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #f4f8ff;
  font-size: 2rem;
}

.plans-order-price strong small {
  color: #a5b3c7;
  font-size: .75rem;
}

.plans-order-price em {
  color: #8396b0;
  font-size: .73rem;
  font-style: normal;
}

.plans-order-plan > ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 20px 22px 24px;
  list-style: none;
}

.plans-order-plan > ul li {
  position: relative;
  padding-left: 19px;
  color: #d8e3f2;
  font-size: .8rem;
  line-height: 1.45;
}

.plans-order-plan > ul li::before {
  position: absolute;
  left: 0;
  top: .12em;
  color: #68e7ff;
  content: "✓";
  font-weight: 1000;
}

.plans-order-checkout {
  padding: 22px;
}

.plans-order-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.plans-order-section-head > div {
  display: grid;
  gap: 4px;
}

.plans-order-section-head span {
  color: #38d7ff;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plans-order-section-head h3 {
  margin: 0;
  color: #f2f7ff;
  font-size: 1.25rem;
}

.plans-order-section-head > b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(56, 215, 255, .27);
  border-radius: 10px;
  color: #bcf4ff;
  background: rgba(56, 215, 255, .07);
  font-size: .7rem;
}

.plans-order-help {
  margin: 0 0 15px;
  color: #8498b4;
  font-size: .78rem;
  line-height: 1.55;
}

.plans-order-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 15px 0 10px;
  padding: 0 12px;
  border: 1px solid rgba(78, 108, 148, .32);
  border-radius: 12px;
  background: rgba(7, 16, 29, .72);
}

.plans-order-search > span {
  color: #5f7898;
  font-size: 1.1rem;
}

.plans-order-search input {
  width: 100%;
  min-height: 43px;
  border: 0;
  outline: 0;
  color: #eaf3ff;
  background: transparent;
}

.plans-order-guilds {
  display: grid;
  max-height: 340px;
  gap: 8px;
  overflow: auto;
  padding-right: 4px;
}

.plans-order-guild {
  display: grid;
  grid-template-columns: 0 40px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(73, 104, 146, .23);
  border-radius: 13px;
  background: rgba(10, 21, 37, .7);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.plans-order-guild:hover {
  border-color: rgba(56, 215, 255, .34);
  background: rgba(14, 30, 49, .88);
  transform: translateY(-1px);
}

.plans-order-guild:has(input:checked) {
  border-color: rgba(56, 215, 255, .52);
  background: rgba(25, 83, 104, .13);
  box-shadow: inset 0 0 18px rgba(56, 215, 255, .04);
}

.plans-order-guild > input {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.plans-order-guild-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(83, 119, 159, .28);
  border-radius: 12px;
  color: #c7f6ff;
  background: rgba(56, 215, 255, .07);
  font-size: .86rem;
  font-weight: 900;
}

.plans-order-guild-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plans-order-guild > span:nth-of-type(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.plans-order-guild strong,
.plans-order-guild small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plans-order-guild strong {
  color: #e7f0fc;
  font-size: .82rem;
}

.plans-order-guild small {
  color: #7187a4;
  font-size: .69rem;
}

.plans-order-guild > i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(89, 113, 147, .22);
  border-radius: 9px;
  color: transparent;
  background: rgba(9, 18, 31, .62);
  font-size: .72rem;
  font-style: normal;
}

.plans-order-guild:has(input:checked) > i {
  border-color: rgba(56, 215, 255, .45);
  color: #d9fbff;
  background: rgba(56, 215, 255, .11);
}

.plans-order-no-result {
  margin: 12px 0 0;
  padding: 16px;
  border: 1px dashed rgba(90, 116, 150, .28);
  border-radius: 12px;
  color: #8295ae;
  text-align: center;
}

.plans-order-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(73, 104, 146, .2);
}

.plans-order-summary > div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(73, 104, 146, .18);
  border-radius: 11px;
  background: rgba(7, 16, 29, .55);
}

.plans-order-summary span {
  color: #6f84a0;
  font-size: .66rem;
}

.plans-order-summary strong {
  color: #e8f2ff;
  font-size: .78rem;
}

.plans-order-confirm {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: #aebed2;
  font-size: .75rem;
  cursor: pointer;
}

.plans-order-confirm input {
  width: 17px;
  height: 17px;
  accent-color: #38d7ff;
}

.plans-order-pay {
  width: 100%;
  min-height: 47px;
  justify-content: center;
  margin-top: 14px;
}

.plans-order-secure {
  display: block;
  margin-top: 8px;
  color: #687d98;
  font-size: .66rem;
  line-height: 1.45;
  text-align: center;
}

.plans-order-state {
  display: grid;
  gap: 5px;
  margin: 15px 0;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, .26);
  border-radius: 13px;
  background: rgba(103, 66, 8, .1);
}

.plans-order-state strong {
  color: #f6e5bc;
  font-size: .82rem;
}

.plans-order-state span {
  color: #9a8c70;
  font-size: .74rem;
  line-height: 1.5;
}

.plans-order-state .btn {
  width: max-content;
  margin-top: 6px;
}

@media (max-width: 940px) {
  .plans-order-layout {
    grid-template-columns: 1fr;
  }

  .plans-order-plan {
    position: static;
  }
}

@media (max-width: 700px) {
  .plans-order-page {
    width: min(100% - 20px, 1460px);
  }

  .plans-order-header {
    grid-template-columns: 1fr;
  }

  .plans-order-header .btn {
    width: max-content;
  }

  .plans-order-steps {
    grid-template-columns: 1fr;
  }

  .plans-order-steps > i {
    width: 1px;
    height: 16px;
    margin-left: 15px;
  }

  .plans-order-summary {
    grid-template-columns: 1fr;
  }

  .plans-order-checkout,
  .plans-order-plan-head {
    padding: 16px;
  }

  .plans-order-price {
    margin: 0 16px;
  }

  .plans-order-plan > ul {
    padding: 18px 16px 20px;
  }
}

/* Patch 3.40 · Downgrade & Bestandsschutz */
.plan-protection-card {
  overflow: hidden;
  border-color: rgba(56, 189, 248, .28);
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, .08), transparent 34%),
    rgba(7, 16, 31, .64);
}

.plan-protection-card.is-pending {
  border-color: rgba(250, 204, 21, .32);
  background:
    radial-gradient(circle at 100% 0, rgba(250, 204, 21, .08), transparent 36%),
    rgba(20, 17, 12, .48);
}

.plan-protection-success {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(52, 211, 153, .28);
  border-radius: 14px;
  background: rgba(6, 78, 59, .13);
}

.plan-protection-success > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 11px;
  color: #a7f3d0;
  background: rgba(16, 185, 129, .1);
  font-weight: 900;
}

.plan-protection-success > div {
  display: grid;
  gap: 3px;
}

.plan-protection-success strong {
  color: #d1fae5;
  font-size: .82rem;
}

.plan-protection-success small {
  color: rgba(167, 243, 208, .68);
  font-size: .71rem;
  line-height: 1.45;
}

.plan-protection-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0;
}

.plan-protection-summary > div {
  display: grid;
  gap: 4px;
  padding: 14px 15px;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 15px;
  background: rgba(5, 12, 25, .5);
}

.plan-protection-summary strong {
  color: #eef7ff;
  font-size: 1.1rem;
}

.plan-protection-summary span {
  color: rgba(148, 163, 184, .74);
  font-size: .7rem;
}

.plan-protection-form {
  display: grid;
  gap: 14px;
}

.plan-protection-group {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(51, 65, 85, .72);
  border-radius: 17px;
  background: rgba(5, 12, 25, .46);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.plan-protection-group.is-complete {
  border-color: rgba(56, 189, 248, .24);
}

.plan-protection-group.is-invalid {
  border-color: rgba(251, 191, 36, .42);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .05);
}

.plan-protection-group legend {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 10px;
}

.plan-protection-group legend > span {
  display: grid;
  gap: 4px;
}

.plan-protection-group legend strong {
  color: #eff6ff;
  font-size: .88rem;
}

.plan-protection-group legend small {
  color: rgba(148, 163, 184, .72);
  font-size: .69rem;
  line-height: 1.45;
}

.plan-protection-group legend > b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(14, 116, 144, .1);
  font-size: .68rem;
  font-style: normal;
}

.plan-protection-group legend em {
  color: #67e8f9;
  font-style: normal;
}

.plan-protection-group.is-invalid legend > b {
  border-color: rgba(251, 191, 36, .3);
  color: #fde68a;
  background: rgba(120, 83, 8, .12);
}

.plan-protection-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.plan-protection-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(51, 65, 85, .68);
  border-radius: 13px;
  background: rgba(7, 16, 31, .6);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, opacity .18s ease;
}

.plan-protection-option:hover {
  border-color: rgba(56, 189, 248, .3);
}

.plan-protection-option.is-selected {
  border-color: rgba(56, 189, 248, .36);
  background: rgba(14, 116, 144, .1);
}

.plan-protection-option.is-protected {
  border-style: dashed;
  opacity: .82;
}

.plan-protection-option:has(input:disabled) {
  cursor: default;
  opacity: .56;
}

.plan-protection-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.plan-protection-check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(100, 116, 139, .32);
  border-radius: 9px;
  color: transparent;
  background: rgba(2, 6, 23, .46);
  font-size: .72rem;
  font-weight: 900;
}

.plan-protection-option.is-selected .plan-protection-check {
  border-color: rgba(56, 189, 248, .5);
  color: #cffafe;
  background: rgba(8, 145, 178, .16);
}

.plan-protection-option > span:nth-of-type(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.plan-protection-option strong,
.plan-protection-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-protection-option strong {
  color: #e5eefb;
  font-size: .76rem;
}

.plan-protection-option small {
  color: rgba(148, 163, 184, .68);
  font-size: .65rem;
}

.plan-protection-option > em {
  color: rgba(148, 163, 184, .72);
  font-size: .64rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.plan-protection-option.is-selected > em {
  color: #67e8f9;
}

.plan-protection-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 3px;
}

.plan-protection-actions > div {
  display: grid;
  gap: 3px;
}

.plan-protection-actions strong {
  color: #dbeafe;
  font-size: .78rem;
}

.plan-protection-actions small {
  color: rgba(148, 163, 184, .7);
  font-size: .68rem;
  line-height: 1.4;
}

.subscription-preserved-servers {
  display: grid;
  gap: 13px;
  margin-top: 15px;
  padding: 15px;
  border: 1px solid rgba(250, 204, 21, .25);
  border-radius: 16px;
  background: rgba(74, 52, 8, .1);
}

.subscription-preserved-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.subscription-preserved-head > div {
  display: grid;
  gap: 3px;
}

.subscription-preserved-head span {
  color: #facc15;
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.subscription-preserved-head strong {
  color: #fef3c7;
  font-size: .88rem;
}

.subscription-preserved-head small {
  color: rgba(226, 211, 167, .72);
  font-size: .69rem;
  line-height: 1.45;
}

.subscription-preserved-head > b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(250, 204, 21, .28);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(120, 83, 8, .13);
  font-size: .64rem;
}

.subscription-primary-form {
  display: grid;
  gap: 11px;
}

.subscription-primary-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.subscription-primary-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 0 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(92, 76, 37, .5);
  border-radius: 13px;
  background: rgba(11, 16, 25, .58);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.subscription-primary-option:hover,
.subscription-primary-option.is-selected {
  border-color: rgba(250, 204, 21, .4);
  background: rgba(120, 83, 8, .11);
}

.subscription-primary-option > input {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.subscription-primary-option > span:nth-of-type(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.subscription-primary-option strong,
.subscription-primary-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscription-primary-option strong {
  color: #f8fafc;
  font-size: .75rem;
}

.subscription-primary-option small {
  color: rgba(180, 169, 135, .72);
  font-size: .64rem;
}

.subscription-primary-option > em {
  color: rgba(250, 204, 21, .72);
  font-size: .62rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.subscription-primary-form > .btn {
  width: max-content;
}

@media (max-width: 820px) {
  .plan-protection-summary,
  .plan-protection-options,
  .subscription-primary-options {
    grid-template-columns: 1fr;
  }

  .plan-protection-group legend,
  .plan-protection-actions,
  .subscription-preserved-head {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-protection-actions .btn,
  .subscription-primary-form > .btn {
    width: 100%;
    justify-content: center;
  }
}

.panel-button-edit-card.is-plan-protected {
  border-style: dashed;
  border-color: rgba(250, 204, 21, .28);
  background: rgba(74, 52, 8, .08);
}
.panel-button-edit-card.is-plan-protected input,
.panel-button-edit-card.is-plan-protected select,
.panel-button-edit-card.is-plan-protected textarea,
.panel-button-edit-card.is-plan-protected button { opacity: .58; }
.plan-protected-label { padding: 5px 8px; border: 1px solid rgba(250,204,21,.25); border-radius: 999px; color: #fde68a; background: rgba(120,83,8,.12); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.plan-protected-copy { margin: 0 0 10px; color: rgba(226,211,167,.72); font-size: .69rem; line-height: 1.45; }

/* Patch 3.40a · Bestandsschutz aus Planübersicht ausgelagert */
.plan-protection-overview-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-color: rgba(56, 189, 248, .24);
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, .07), transparent 40%),
    rgba(7, 16, 31, .66);
}

.plan-protection-overview-card.is-pending {
  border-color: rgba(250, 204, 21, .3);
  background:
    radial-gradient(circle at 100% 0, rgba(250, 204, 21, .07), transparent 40%),
    rgba(17, 16, 13, .5);
}

.plan-protection-overview-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, .26);
  border-radius: 15px;
  color: #67e8f9;
  background: rgba(8, 145, 178, .1);
}

.plan-protection-overview-card.is-pending .plan-protection-overview-icon {
  border-color: rgba(250, 204, 21, .28);
  color: #fde68a;
  background: rgba(120, 83, 8, .12);
}

.plan-protection-overview-icon .nc-ui-icon,
.plan-protection-overview-icon svg {
  width: 23px;
  height: 23px;
}

.plan-protection-overview-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.plan-protection-overview-copy > div:first-child {
  display: grid;
  gap: 2px;
}

.plan-protection-overview-copy h3 {
  margin: 0;
  color: #eff6ff;
  font-size: clamp(1rem, 1.3vw, 1.17rem);
}

.plan-protection-overview-copy > p {
  max-width: 860px;
  margin: 0;
  color: rgba(148, 163, 184, .78);
  font-size: .75rem;
  line-height: 1.5;
}

.plan-protection-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.plan-protection-overview-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(51, 65, 85, .66);
  border-radius: 999px;
  color: rgba(186, 230, 253, .78);
  background: rgba(2, 6, 23, .28);
  font-size: .62rem;
  font-weight: 750;
}

.plan-protection-overview-action {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.plan-protection-overview-action .btn {
  white-space: nowrap;
}

.plan-protection-manager {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.plan-protection-manager-header {
  display: grid;
  gap: 18px;
  border-color: rgba(56, 189, 248, .24);
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, .07), transparent 38%),
    rgba(7, 16, 31, .68);
}

.plan-protection-manager-header > .btn {
  width: max-content;
}

.plan-protection-manager-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.plan-protection-manager-title > div {
  display: grid;
  gap: 6px;
}

.plan-protection-manager-title h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.plan-protection-manager-title p:last-child {
  max-width: 820px;
  margin: 0;
  color: rgba(148, 163, 184, .82);
  font-size: .79rem;
  line-height: 1.55;
}

.plan-protection-manager-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-protection-manager-context > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(51, 65, 85, .66);
  border-radius: 14px;
  background: rgba(3, 10, 22, .44);
}

.plan-protection-manager-context span,
.plan-protection-manager-context small {
  overflow: hidden;
  color: rgba(148, 163, 184, .7);
  font-size: .65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-protection-manager-context strong {
  overflow: hidden;
  color: #eaf4ff;
  font-size: .84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-protection-manager-form {
  padding: 16px;
  border-color: rgba(51, 65, 85, .72);
  background: rgba(7, 16, 31, .62);
}

.plan-protection-manager-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 6px;
}

.plan-protection-manager-intro > div {
  display: grid;
  gap: 3px;
}

.plan-protection-manager-intro strong {
  color: #eaf4ff;
  font-size: .83rem;
}

.plan-protection-manager-intro small {
  color: rgba(148, 163, 184, .7);
  font-size: .68rem;
}

.plan-protection-manager-intro > span {
  padding: 6px 9px;
  border: 1px solid rgba(52, 211, 153, .24);
  border-radius: 999px;
  color: #a7f3d0;
  background: rgba(6, 78, 59, .1);
  font-size: .63rem;
  font-weight: 800;
}

.plan-protection-manager .plan-protection-group {
  padding: 0;
  overflow: hidden;
}

.plan-protection-manager .plan-protection-group > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 46px 14px 15px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.plan-protection-manager .plan-protection-group > summary::-webkit-details-marker {
  display: none;
}

.plan-protection-manager .plan-protection-group > summary::after {
  content: '';
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(125, 211, 252, .8);
  border-bottom: 2px solid rgba(125, 211, 252, .8);
  transform: translateY(-68%) rotate(45deg);
  transition: transform .18s ease;
}

.plan-protection-manager .plan-protection-group[open] > summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.plan-protection-manager .plan-protection-group > summary > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.plan-protection-manager .plan-protection-group > summary strong {
  color: #eff6ff;
  font-size: .84rem;
}

.plan-protection-manager .plan-protection-group > summary small {
  overflow: hidden;
  color: rgba(148, 163, 184, .7);
  font-size: .67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-protection-manager .plan-protection-group > summary > b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(14, 116, 144, .1);
  font-size: .66rem;
}

.plan-protection-manager .plan-protection-group > summary em {
  color: #67e8f9;
  font-style: normal;
}

.plan-protection-manager .plan-protection-group.is-invalid > summary > b {
  border-color: rgba(251, 191, 36, .32);
  color: #fde68a;
  background: rgba(120, 83, 8, .12);
}

.plan-protection-group-body {
  padding: 0 15px 15px;
  border-top: 1px solid rgba(51, 65, 85, .5);
}

.plan-protection-group-body .plan-protection-options {
  padding-top: 12px;
}

.plan-protection-manager-actions {
  position: sticky;
  bottom: 10px;
  z-index: 4;
  padding: 12px 13px;
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 15px;
  background: rgba(6, 15, 29, .94);
  box-shadow: 0 14px 35px rgba(2, 6, 23, .32);
  backdrop-filter: blur(12px);
}

.plan-protection-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.plan-protection-empty > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(52, 211, 153, .28);
  border-radius: 13px;
  color: #a7f3d0;
  background: rgba(6, 78, 59, .12);
  font-weight: 900;
}

.plan-protection-empty > div {
  display: grid;
  gap: 3px;
}

.plan-protection-empty strong { color: #d1fae5; font-size: .84rem; }
.plan-protection-empty small { color: rgba(167, 243, 208, .68); font-size: .69rem; }

@media (max-width: 900px) {
  .plan-protection-overview-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .plan-protection-overview-action {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .plan-protection-manager-context {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .plan-protection-overview-card {
    grid-template-columns: 1fr;
  }

  .plan-protection-overview-icon {
    width: 42px;
    height: 42px;
  }

  .plan-protection-overview-action,
  .plan-protection-manager-title,
  .plan-protection-manager-intro,
  .plan-protection-manager .plan-protection-group > summary,
  .plan-protection-manager-actions,
  .plan-protection-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-protection-overview-action {
    display: grid;
    justify-items: stretch;
  }

  .plan-protection-overview-action .badge {
    width: max-content;
  }

  .plan-protection-overview-action .btn,
  .plan-protection-manager-header > .btn,
  .plan-protection-manager-actions .btn,
  .plan-protection-empty .btn {
    width: 100%;
    justify-content: center;
  }

  .plan-protection-manager-title {
    display: grid;
  }

  .plan-protection-manager .plan-protection-group > summary {
    display: grid;
    padding-right: 42px;
  }

  .plan-protection-manager .plan-protection-group > summary > b {
    width: max-content;
  }

  .plan-protection-empty {
    grid-template-columns: 1fr;
  }
}

/* Patch 3.40b · Verkaufsfokus und klare Seitenhierarchie. */
.plan-marketplace-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: rgba(56, 215, 255, .32) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 215, 255, .10), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(168, 85, 247, .09), transparent 36%),
    linear-gradient(145deg, rgba(14, 25, 46, .98), rgba(7, 14, 28, .98)) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.plan-marketplace-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #38d7ff, #8b5cf6 56%, #facc15);
  opacity: .82;
}

.plan-marketplace-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.plan-marketplace-copy {
  max-width: 820px;
}

.plan-marketplace-copy h2 {
  margin: 3px 0 8px;
  color: #f8fafc;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.08;
}

.plan-marketplace-copy > p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(203, 213, 225, .78);
  font-size: .88rem;
  line-height: 1.55;
}

.plan-marketplace-benefits {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.plan-marketplace-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 999px;
  background: rgba(2, 8, 20, .28);
  color: rgba(203, 213, 225, .78);
  font-size: .69rem;
  font-weight: 800;
}

.plan-marketplace-benefits b {
  color: #67e8f9;
  font-size: .72rem;
}

.plan-marketplace-card .plan-cards-ux {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.plan-marketplace-card .plan-card-ux {
  border-color: rgba(148, 163, 184, .20);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .13), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.plan-marketplace-card .plan-card-ux.plus {
  border-color: rgba(192, 132, 252, .42);
}

.plan-marketplace-card .plan-card-ux.premium {
  border-color: rgba(250, 204, 21, .32);
}

.plan-card-top em.recommended {
  border-color: rgba(192, 132, 252, .38);
  background: rgba(168, 85, 247, .11);
  color: #e9d5ff;
}

.plan-marketplace-card .plan-card-cta {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 13px;
  border: 1px solid rgba(56, 215, 255, .26);
  border-radius: 12px;
  background: rgba(56, 215, 255, .06);
  color: #d8f7ff;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.plan-marketplace-card .plan-card-ux:hover .plan-card-cta {
  border-color: rgba(56, 215, 255, .52);
  background: rgba(56, 215, 255, .11);
  transform: translateY(-1px);
}

.plan-marketplace-card .plan-card-ux.plus .plan-card-cta {
  border-color: rgba(192, 132, 252, .35);
  background: rgba(168, 85, 247, .08);
  color: #eadcff;
}

.plan-marketplace-card .plan-card-ux.premium .plan-card-cta {
  border-color: rgba(250, 204, 21, .30);
  background: rgba(250, 204, 21, .07);
  color: #fff2ad;
}

.plan-marketplace-card .plan-card-ux.current .plan-card-cta {
  border-color: rgba(148, 163, 184, .16);
  background: rgba(148, 163, 184, .05);
  color: rgba(203, 213, 225, .78);
}


@media (max-width: 980px) {
  .plan-current-ribbon {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .plan-current-ribbon-status {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(148, 163, 184, .12);
    border-left: 0;
    padding: 11px 0 0;
  }
}

@media (max-width: 760px) {
  .plan-current-ribbon {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    padding: 16px;
  }

  .plan-current-ribbon-link {
    width: 100%;
  }

  .plan-marketplace-card {
    padding: 18px;
  }

  .plan-marketplace-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-management-divider {
    align-items: flex-start;
  }
}


/* Patch 3.40e · Aktueller Plan und Planwahl in einem gemeinsamen Hauptfenster. */
.plan-hub-card {
  padding: 0 !important;
  overflow: hidden;
}

.plan-hub-current {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-bottom: 1px solid rgba(56, 215, 255, .18);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 215, 255, .09), transparent 34%),
    linear-gradient(145deg, rgba(13, 24, 43, .78), rgba(7, 14, 28, .66));
}

.plan-hub-current-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.plan-hub-current-head h2 {
  margin: 4px 0 7px;
  color: #f8fafc;
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  line-height: 1.12;
}

.plan-hub-current-head p:last-child {
  max-width: 860px;
  margin: 0;
  color: rgba(177, 195, 219, .80);
  font-size: .86rem;
  line-height: 1.5;
}

.plan-hub-current .plan-usage-grid {
  margin-top: 18px;
}

.plan-hub-current .plan-limit-hint {
  margin-top: 12px;
}

.plan-hub-offers {
  position: relative;
  z-index: 1;
  padding: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(168, 85, 247, .07), transparent 34%),
    linear-gradient(145deg, rgba(10, 19, 35, .62), rgba(6, 12, 24, .74));
}

.plan-hub-offers .plan-marketplace-copy {
  max-width: 900px;
}

@media (max-width: 760px) {
  .plan-hub-current,
  .plan-hub-offers {
    padding: 18px;
  }

  .plan-hub-current-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-hub-current-head .badge {
    width: max-content;
  }
}

/* Patch 3.44a · Pläne & Nutzung konzentriert sich nur noch auf Angebote und Buchung. */
.plan-hub-offers-only .plan-hub-offers {
  padding: clamp(22px, 2.5vw, 34px);
  border-bottom: 0;
}
.plan-hub-offers-only .plan-marketplace-head {
  margin-top: 0;
}
.plan-marketplace-notice {
  margin: 0 0 18px;
}

/* Patch 3.50u · Stripe Embedded Checkout */
.plans-order-checkout--embedded {
  min-width: 0;
  overflow: hidden;
}

.plans-order-payment-head {
  margin-bottom: 8px;
}

.plans-order-embedded-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.plans-order-embedded-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(89, 195, 255, 0.14);
  border-radius: 14px;
  background: rgba(5, 16, 35, 0.58);
}

.plans-order-embedded-summary span {
  color: rgba(169, 193, 224, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans-order-embedded-summary strong {
  overflow: hidden;
  color: #f6f9ff;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stripe-embedded-shell {
  position: relative;
  min-height: 520px;
  padding: 10px;
  border: 1px solid rgba(56, 215, 255, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 215, 255, 0.08), transparent 32%),
    rgba(3, 12, 27, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.stripe-embedded-checkout {
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  border-radius: 14px;
}

.stripe-embedded-loading {
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 30px;
  border-radius: 14px;
  color: #dbeaff;
  text-align: center;
  background: rgba(4, 14, 31, 0.94);
}

.stripe-embedded-loading[hidden] {
  display: none;
}

.stripe-embedded-loading small {
  max-width: 460px;
  color: rgba(170, 195, 225, 0.72);
  line-height: 1.5;
}

.stripe-embedded-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(56, 215, 255, 0.17);
  border-top-color: #38d7ff;
  border-radius: 50%;
  animation: nc-stripe-spin 0.8s linear infinite;
}

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

.stripe-embedded-error {
  margin: 12px;
}

.stripe-embedded-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.stripe-embedded-actions small {
  max-width: 440px;
  color: rgba(169, 193, 224, 0.68);
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 900px) {
  .plans-order-embedded-summary {
    grid-template-columns: 1fr;
  }

  .stripe-embedded-shell {
    min-height: 600px;
    padding: 4px;
    border-radius: 16px;
  }

  .stripe-embedded-checkout {
    min-height: 580px;
  }

  .stripe-embedded-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .stripe-embedded-actions small {
    text-align: left;
  }
}

/* Patch 3.54b · fokussierter Stripe Embedded Checkout */
.plans-order-layout--payment {
  grid-template-columns: minmax(255px, 320px) minmax(520px, 720px);
  justify-content: center;
  gap: 24px;
}

.plans-order-layout--payment .plans-order-plan--compact {
  top: 24px;
  border-color: rgba(113, 96, 255, .28);
  background:
    radial-gradient(circle at 18% 0%, rgba(105, 76, 255, .11), transparent 34%),
    linear-gradient(155deg, rgba(13, 28, 49, .98), rgba(6, 15, 28, .98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

.plans-order-plan--compact .plans-order-plan-head {
  padding-bottom: 12px;
}

.plans-order-plan--compact .plans-order-plan-head h3 {
  font-size: 1.42rem;
}

.plans-order-plan--compact .plans-order-plan-head p {
  font-size: .8rem;
  line-height: 1.5;
}

.plans-order-plan--compact .plans-order-price {
  padding: 16px;
  border-color: rgba(155, 112, 255, .22);
  background: rgba(7, 14, 28, .72);
}

.plans-order-plan--compact .plans-order-price strong {
  font-size: 1.75rem;
}

.plans-order-compact-meta {
  display: grid;
  gap: 0;
  margin: 16px 20px 0;
  overflow: hidden;
  border: 1px solid rgba(92, 127, 172, .2);
  border-radius: 14px;
  background: rgba(4, 13, 27, .54);
}

.plans-order-compact-meta > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(92, 127, 172, .14);
}

.plans-order-compact-meta > div:last-child {
  border-bottom: 0;
}

.plans-order-compact-meta span {
  color: #7f93af;
  font-size: .68rem;
}

.plans-order-compact-meta strong {
  overflow: hidden;
  max-width: 150px;
  color: #edf5ff;
  font-size: .74rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plans-order-plan > .plans-order-compact-list {
  gap: 7px;
  padding: 16px 20px 10px;
}

.plans-order-plan > .plans-order-compact-list li {
  font-size: .75rem;
}

.plans-order-plan > .plans-order-compact-list li.is-more {
  color: #a9b9ce;
  font-weight: 800;
}

.plans-order-plan > .plans-order-compact-list li.is-more::before {
  color: #bf93ff;
  content: "+";
}

.plans-order-trust-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 8px 20px 20px;
  padding: 12px;
  border: 1px solid rgba(56, 215, 255, .16);
  border-radius: 13px;
  background: rgba(22, 176, 211, .055);
}

.plans-order-trust-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(56, 215, 255, .28);
  border-radius: 11px;
  color: #65e7ff;
  background: rgba(56, 215, 255, .08);
  font-size: 1.05rem;
  font-weight: 900;
}

.plans-order-trust-note p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.plans-order-trust-note strong {
  color: #e7f8ff;
  font-size: .75rem;
}

.plans-order-trust-note small {
  color: #7f95b1;
  font-size: .65rem;
  line-height: 1.4;
}

.plans-order-layout--payment .plans-order-checkout--embedded {
  width: 100%;
  max-width: 720px;
  padding: 24px;
  border-color: rgba(56, 215, 255, .2);
  background:
    radial-gradient(circle at 88% 0%, rgba(56, 215, 255, .075), transparent 30%),
    linear-gradient(150deg, rgba(12, 27, 47, .98), rgba(5, 15, 29, .98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .24);
}

.plans-order-payment-head {
  align-items: center;
}

.plans-order-payment-head > b {
  position: relative;
  padding-left: 25px;
}

.plans-order-payment-head > b::before {
  position: absolute;
  left: 9px;
  top: 50%;
  color: #69ecff;
  content: "✓";
  transform: translateY(-50%);
}

.plans-order-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.plans-order-payment-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(91, 133, 181, .18);
  border-radius: 999px;
  color: #a8bad0;
  background: rgba(5, 14, 28, .46);
  font-size: .66rem;
  font-weight: 750;
}

.plans-order-payment-badges i {
  color: #5fe1f8;
  font-style: normal;
}

.plans-order-layout--payment .stripe-embedded-shell {
  min-height: 620px;
  padding: 0 14px 18px;
  border-color: rgba(83, 190, 229, .22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 21, 40, .96), rgba(3, 12, 26, .98));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .025),
    0 18px 45px rgba(0, 0, 0, .18);
}

.stripe-embedded-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 570px;
  margin: 0 auto;
  padding: 14px 4px 12px;
  border-bottom: 1px solid rgba(89, 130, 177, .14);
}

.stripe-embedded-frame-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #edf8ff;
  font-size: .75rem;
  font-weight: 850;
}

.stripe-embedded-frame-head i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(56, 215, 255, .3);
  border-radius: 8px;
  color: #5de6ff;
  background: rgba(56, 215, 255, .075);
  font-size: .72rem;
  font-style: normal;
}

.stripe-embedded-frame-head small {
  color: #738aa8;
  font-size: .62rem;
}

.plans-order-layout--payment .stripe-embedded-checkout {
  width: 100%;
  max-width: 570px;
  min-height: 580px;
  margin: 14px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 19px;
  background: #0b1020;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .28s ease, transform .28s ease;
}

.plans-order-layout--payment .stripe-embedded-shell.is-ready .stripe-embedded-checkout {
  opacity: 1;
  transform: translateY(0);
}

.plans-order-layout--payment .stripe-embedded-loading {
  inset: 54px 14px 18px;
  border-radius: 17px;
}

.plans-order-layout--payment .stripe-embedded-actions {
  max-width: 660px;
  margin: 16px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(91, 132, 176, .13);
}

.plans-order-layout--payment .stripe-embedded-actions .btn {
  min-height: 40px;
}

@media (max-width: 1080px) {
  .plans-order-layout--payment {
    grid-template-columns: minmax(240px, 290px) minmax(480px, 1fr);
  }
}

@media (max-width: 940px) {
  .plans-order-layout--payment {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .plans-order-layout--payment .plans-order-plan--compact {
    position: static;
  }

  .plans-order-compact-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plans-order-compact-meta > div {
    grid-template-columns: 1fr;
    border-right: 1px solid rgba(92, 127, 172, .14);
    border-bottom: 0;
  }

  .plans-order-compact-meta > div:last-child {
    border-right: 0;
  }

  .plans-order-compact-meta strong {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .plans-order-layout--payment .plans-order-checkout--embedded {
    padding: 16px 10px;
    border-radius: 17px;
  }

  .plans-order-payment-badges {
    gap: 6px;
  }

  .plans-order-payment-badges span {
    padding: 6px 8px;
    font-size: .61rem;
  }

  .plans-order-compact-meta {
    grid-template-columns: 1fr;
  }

  .plans-order-compact-meta > div {
    grid-template-columns: minmax(0, 1fr) auto;
    border-right: 0;
    border-bottom: 1px solid rgba(92, 127, 172, .14);
  }

  .plans-order-compact-meta > div:last-child {
    border-bottom: 0;
  }

  .plans-order-compact-meta strong {
    max-width: 145px;
    text-align: right;
  }

  .plans-order-layout--payment .stripe-embedded-shell {
    min-height: 650px;
    padding-inline: 4px;
    border-radius: 16px;
  }

  .stripe-embedded-frame-head {
    padding-inline: 8px;
  }

  .stripe-embedded-frame-head small {
    display: none;
  }

  .plans-order-layout--payment .stripe-embedded-checkout {
    margin-top: 8px;
    border-radius: 13px;
  }
}

/* Patch 3.54b · breiter Stripe Embedded Checkout */
@media (min-width: 1181px) {
  .plans-order-layout--payment {
    grid-template-columns: minmax(250px, 300px) minmax(720px, 900px);
    gap: 28px;
    width: min(1230px, 100%);
    margin-inline: auto;
  }

  .plans-order-layout--payment .plans-order-checkout--embedded {
    max-width: 900px;
    padding: 26px 28px;
  }

  .plans-order-layout--payment .stripe-embedded-shell {
    min-height: 560px;
    padding: 0 24px 22px;
  }

  .plans-order-layout--payment .stripe-embedded-frame-head,
  .plans-order-layout--payment .stripe-embedded-checkout {
    max-width: 760px;
  }

  .plans-order-layout--payment .stripe-embedded-checkout {
    min-height: 540px;
  }

  .plans-order-layout--payment .stripe-embedded-loading {
    inset: 54px 24px 22px;
  }

  .plans-order-layout--payment .stripe-embedded-actions {
    max-width: 820px;
  }
}

@media (min-width: 941px) and (max-width: 1180px) {
  .plans-order-layout--payment {
    grid-template-columns: minmax(235px, 285px) minmax(600px, 1fr);
    gap: 22px;
  }

  .plans-order-layout--payment .plans-order-checkout--embedded {
    max-width: 780px;
  }

  .plans-order-layout--payment .stripe-embedded-frame-head,
  .plans-order-layout--payment .stripe-embedded-checkout {
    max-width: 680px;
  }
}

/* Patch 3.50ad · einheitliche Preis-Typografie für Zahlungsbeträge */
:where(
  .plans-order-price strong,
  .plans-order-price strong small,
  .plans-order-price del,
  .plans-order-compact-meta > div:last-child strong,
  .plans-upgrade-prices small,
  .plans-upgrade-due strong,
  .billing-price-line strong,
  .billing-price-line span,
  .billing-invoice-row > strong
) {
  font-family: "Kalam", "Segoe Print", "Trebuchet MS", system-ui, cursive;
  font-weight: 700;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}

.plans-order-price strong,
.billing-price-line strong,
.plans-upgrade-due strong {
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 10px 22px rgba(0, 0, 0, .22);
}

.plans-order-price del {
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(248, 113, 113, .72);
}

.billing-invoice-row > strong,
.plans-order-compact-meta > div:last-child strong,
.plans-upgrade-prices small {
  font-size: 1rem;
}


/* Patch 3.50ae · Preisfolge immer sichtbar, ohne aufgeklappte Stripe-Details */
.plans-order-price-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  width: min(760px, 100%);
  margin: 14px auto 18px;
  padding: 10px;
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7, 24, 43, .86), rgba(9, 31, 54, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.plans-order-price-flow.is-regular-price {
  grid-template-columns: minmax(0, 1fr);
}

.plans-order-price-flow > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1px 12px;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(2, 12, 27, .58);
}

.plans-order-price-flow > div.is-current {
  border: 1px solid rgba(34, 211, 238, .2);
}

.plans-order-price-flow > div.is-later {
  border: 1px solid rgba(251, 191, 36, .17);
}

.plans-order-price-flow > div > span {
  grid-row: 1 / span 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 58px;
  padding: 5px 8px;
  border-radius: 9px;
  color: #8be9ff;
  background: rgba(34, 211, 238, .09);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.plans-order-price-flow .is-later > span {
  color: #ffe17b;
  background: rgba(251, 191, 36, .085);
}

.plans-order-price-flow strong {
  color: #f8fbff;
  font-family: "Kalam", "Segoe Print", "Trebuchet MS", system-ui, cursive;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}

.plans-order-price-flow strong small {
  margin-left: 5px;
  color: #a9bdd5;
  font: 800 .68rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

.plans-order-price-flow em {
  color: #8299b5;
  font-size: .69rem;
  font-style: normal;
}

.plans-order-price-flow > i {
  align-self: center;
  color: #6c8bab;
  font-size: 1.15rem;
  font-style: normal;
}

.plans-order-layout--payment .plans-order-plan--compact .plans-order-plan-head {
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .plans-order-price-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .plans-order-price-flow > i {
    display: none;
  }
}

/* Patch 3.50af · klassische Preis-Card links wiederhergestellt */
.plans-order-layout--payment .plans-order-plan--compact .plans-order-price {
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  padding: 16px 17px;
  border-color: rgba(181, 112, 255, .38);
  background:
    radial-gradient(circle at 92% 0%, rgba(191, 108, 255, .16), transparent 42%),
    linear-gradient(145deg, rgba(28, 16, 51, .94), rgba(9, 15, 31, .94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 14px 34px rgba(58, 25, 103, .16);
}

.plans-order-layout--payment .plans-order-plan--compact .plans-order-price::after {
  content: "";
  position: absolute;
  inset: auto -32px -48px auto;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(171, 81, 255, .08);
  filter: blur(2px);
  pointer-events: none;
}

.plans-order-layout--payment .plans-order-plan--compact.plan-premium .plans-order-price {
  border-color: rgba(245, 190, 40, .34);
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 190, 40, .13), transparent 42%),
    linear-gradient(145deg, rgba(45, 33, 12, .92), rgba(9, 15, 28, .96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 14px 34px rgba(98, 70, 14, .14);
}

.plans-order-price-after {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding-top: 10px;
  border-top: 1px solid rgba(194, 143, 255, .2);
}

.plan-premium .plans-order-price-after {
  border-top-color: rgba(245, 190, 40, .18);
}

.plans-order-price-after > span {
  color: #aa94c7;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .025em;
}

.plan-premium .plans-order-price-after > span {
  color: #c7b274;
}

.plans-order-price-after > b {
  color: #e8d4ff;
  font-family: "Kalam", "Segoe Print", "Trebuchet MS", system-ui, cursive;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.plan-premium .plans-order-price-after > b {
  color: #ffe59a;
}

.plans-order-price-after > b small {
  margin-left: 3px;
  color: #a798ba;
  font: 800 .62rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

.plans-order-layout--payment .plans-order-plan--compact .plans-order-compact-meta {
  margin-top: 12px;
}

@media (max-width: 700px) {
  .plans-order-price-after {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Patch 3.50aj · wiederhergestelltes sicheres Upgrade und Native Billing Center */

/* Patch 3.50v · tagesgenaues Stripe-Upgrade */
.plans-upgrade-box {
  display: grid;
  gap: 18px;
}

.plans-upgrade-head,
.plans-upgrade-server,
.plans-upgrade-prices,
.plans-upgrade-due {
  border: 1px solid rgba(94, 214, 255, .18);
  background: rgba(8, 24, 44, .72);
  border-radius: 16px;
}

.plans-upgrade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.plans-upgrade-head span {
  display: block;
  color: #45d6ff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.plans-upgrade-head h3 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.plans-upgrade-head b {
  padding: 7px 10px;
  border: 1px solid rgba(255, 211, 64, .34);
  border-radius: 999px;
  color: #ffe36b;
  background: rgba(255, 202, 40, .08);
  font-size: .76rem;
}

.plans-upgrade-box > p {
  margin: 0;
  color: var(--muted, #9fb3cb);
  line-height: 1.6;
}

.plans-upgrade-server {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
}

.plans-upgrade-server span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.plans-upgrade-server small {
  color: var(--muted, #8ca2bc);
}

.plans-upgrade-server i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(64, 214, 255, .45);
  border-radius: 9px;
  color: #61e5ff;
  font-style: normal;
}

.plans-upgrade-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.plans-upgrade-prices > div {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-right: 1px solid rgba(94, 214, 255, .12);
}

.plans-upgrade-prices > div:last-child { border-right: 0; }
.plans-upgrade-prices span { color: #7f98b7; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.plans-upgrade-prices strong { font-size: 1.05rem; }
.plans-upgrade-prices small { color: #a9bad0; }
.plans-upgrade-prices .is-credit strong { color: #79e3bd; }
.plans-upgrade-prices .is-target strong { color: #ffe36b; }

.plans-upgrade-due {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-color: rgba(255, 211, 64, .26);
  background: linear-gradient(135deg, rgba(255, 199, 46, .08), rgba(11, 27, 48, .86));
}

.plans-upgrade-due span { color: #ffe36b; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.plans-upgrade-due strong { font-size: 1.06rem; }
.plans-upgrade-due small { color: #a9bad0; line-height: 1.45; }
.plans-upgrade-form { display: grid; gap: 13px; }

@media (max-width: 760px) {
  .plans-upgrade-head { align-items: flex-start; flex-direction: column; }
  .plans-upgrade-prices { grid-template-columns: 1fr; }
  .plans-upgrade-prices > div { border-right: 0; border-bottom: 1px solid rgba(94, 214, 255, .12); }
  .plans-upgrade-prices > div:last-child { border-bottom: 0; }
}

/* Patch 3.50x · Native Abrechnung & Rechnungen */
.billing-center-page{display:grid;gap:20px}.billing-center-hero{display:flex;align-items:center;gap:18px;padding:24px 28px}.billing-center-hero>div:nth-child(2){flex:1}.billing-center-hero h2{margin:3px 0 8px;font-size:clamp(26px,3vw,38px)}.billing-center-hero p{margin:0;color:var(--muted,#8fa5c4)}.billing-center-hero-icon{width:58px;height:58px;border:1px solid rgba(56,215,255,.32);border-radius:18px;display:grid;place-items:center;background:rgba(56,215,255,.08);color:#38d7ff}.billing-center-hero-icon .nc-ui-icon{width:30px;height:30px}.billing-center-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px}.billing-center-card{padding:22px;display:flex;flex-direction:column;gap:18px;min-width:0}.billing-center-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.billing-center-card-head span{display:block;color:#58dfff;font-size:11px;font-weight:900;letter-spacing:.11em}.billing-center-card-head h3{margin:5px 0 0;font-size:22px}.billing-center-card-head>.nc-ui-icon{color:#38d7ff;width:24px;height:24px}.billing-status{border:1px solid rgba(94,234,169,.3);background:rgba(94,234,169,.09);color:#6ff0b5;border-radius:999px;padding:6px 10px;font-style:normal;font-size:11px;font-weight:900;white-space:nowrap}.billing-status-past_due,.billing-status-unpaid,.billing-status-incomplete{border-color:rgba(255,188,72,.36);background:rgba(255,188,72,.1);color:#ffd179}.billing-status-canceled{border-color:rgba(255,112,127,.35);background:rgba(255,112,127,.1);color:#ff9eaa}.billing-price-line{display:flex;align-items:baseline;gap:8px;padding:16px;border:1px solid rgba(56,215,255,.16);background:rgba(7,19,40,.55);border-radius:14px}.billing-price-line strong{font-size:32px}.billing-price-line span{color:#8fa5c4}.billing-meta-list{display:grid;gap:10px}.billing-meta-list>div{display:flex;justify-content:space-between;gap:14px;padding-bottom:10px;border-bottom:1px solid rgba(132,158,196,.12)}.billing-meta-list span{color:#8298b8}.billing-meta-list strong{text-align:right}.billing-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}.billing-card-actions form{margin:0}.billing-address-block{display:grid;gap:7px;color:#dce8fa;line-height:1.45}.billing-address-block span:first-child{color:#8fa5c4}.billing-external-action{display:grid;gap:8px;margin-top:auto}.billing-external-action small{color:#7188a9;line-height:1.35}.billing-invoices-card{padding:24px}.billing-invoice-list{display:grid;gap:10px;margin-top:18px}.billing-invoice-row{display:grid;grid-template-columns:minmax(150px,1.3fr) 110px 110px minmax(160px,.8fr);align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(132,158,196,.14);border-radius:14px;background:rgba(7,18,38,.45)}.billing-invoice-row>div:first-child{display:grid;gap:4px}.billing-invoice-row small{color:#7d93b2}.billing-invoice-status{justify-self:start;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;background:rgba(132,158,196,.1);color:#b7c8df}.billing-invoice-status.status-paid{background:rgba(94,234,169,.1);color:#6ff0b5}.billing-invoice-status.status-open{background:rgba(255,188,72,.1);color:#ffd179}.billing-invoice-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.btn.small{min-height:34px;padding:7px 11px;font-size:12px}.billing-center-empty{display:flex;align-items:center;gap:16px;padding:24px}.billing-center-empty>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(56,215,255,.08);color:#38d7ff}.billing-center-empty>div{display:grid;gap:4px;flex:1}.billing-center-empty small{color:#8197b7}.billing-center-empty.compact{margin-top:18px;background:rgba(7,18,38,.35);border:1px dashed rgba(132,158,196,.18);border-radius:14px}.plans-upgrade-due strong{font-size:24px;color:#7af0b9}.account-user-panel a .nc-icon-billing{color:#5eeaa9}
@media(max-width:1100px){.billing-center-grid{grid-template-columns:1fr 1fr}.billing-center-subscription{grid-column:1/-1}}@media(max-width:760px){.billing-center-hero{align-items:flex-start;flex-wrap:wrap}.billing-center-hero>a{width:100%}.billing-center-grid{grid-template-columns:1fr}.billing-center-subscription{grid-column:auto}.billing-invoice-row{grid-template-columns:1fr auto}.billing-invoice-row>strong{grid-column:1}.billing-invoice-actions{grid-column:2;grid-row:1/3;align-self:center;flex-direction:column}.billing-invoice-status{justify-self:start}.billing-meta-list>div{align-items:flex-start;flex-direction:column;gap:4px}.billing-meta-list strong{text-align:left}}




/* Patch 3.54c · echter dunkler Stripe Elements Checkout */
.plans-order-layout--payment .stripe-elements-shell {
  min-height: 720px;
  padding: 0 22px 22px;
  background:
    radial-gradient(circle at 50% -10%, rgba(139, 92, 246, .12), transparent 34%),
    linear-gradient(180deg, #081326 0%, #050d1b 100%);
}

.plans-order-layout--payment .stripe-elements-form {
  display: grid;
  gap: 14px;
  width: min(650px, 100%);
  margin: 16px auto 0;
  padding: 18px;
  border: 1px solid rgba(120, 139, 177, .16);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(12, 18, 35, .98), rgba(7, 12, 25, .98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .28s ease, transform .28s ease;
}

.plans-order-layout--payment .stripe-elements-shell.is-ready .stripe-elements-form {
  opacity: 1;
  transform: translateY(0);
}

.stripe-elements-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(111, 132, 171, .18);
  border-radius: 15px;
  background: rgba(12, 19, 36, .78);
}

.stripe-elements-section[hidden],
.stripe-elements-promo[hidden] {
  display: none !important;
}

.stripe-elements-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.stripe-elements-section-head h4 {
  margin: 0;
  color: #eef3ff;
  font-size: .82rem;
  font-weight: 850;
}

.stripe-elements-section-head small {
  color: #71809b;
  font-size: .64rem;
}

.stripe-elements-email-card {
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
}

.stripe-elements-email-card > span {
  color: #8f9db5;
  font-size: .72rem;
  font-weight: 700;
}

.stripe-elements-email-card > strong {
  overflow: hidden;
  color: #eef3ff;
  font-size: .78rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stripe-element-mount {
  min-height: 22px;
}

.stripe-elements-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #65718b;
  font-size: .68rem;
  text-transform: uppercase;
}

.stripe-elements-divider::before,
.stripe-elements-divider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: rgba(113, 130, 164, .2);
}

.stripe-elements-promo {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px dashed rgba(139, 92, 246, .35);
  border-radius: 14px;
  background: rgba(139, 92, 246, .055);
}

.stripe-elements-promo > label {
  color: #dce4f5;
  font-size: .72rem;
  font-weight: 750;
}

.stripe-elements-promo > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.stripe-elements-promo input,
.stripe-elements-promo button {
  min-height: 42px;
  border-radius: 10px;
  font: inherit;
}

.stripe-elements-promo input {
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #2a3550;
  outline: none;
  color: #f4f7ff;
  background: #11182b;
}

.stripe-elements-promo input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}

.stripe-elements-promo button {
  padding: 0 14px;
  border: 1px solid rgba(139, 92, 246, .55);
  color: #ece7ff;
  background: rgba(139, 92, 246, .18);
  cursor: pointer;
}

.stripe-elements-promo button:disabled {
  opacity: .55;
  cursor: wait;
}

.stripe-elements-promo > small {
  min-height: 1em;
  color: #9ca9c0;
  font-size: .65rem;
}

.stripe-elements-total {
  display: grid;
  gap: 9px;
  padding: 14px 4px 2px;
  border-top: 1px solid rgba(113, 130, 164, .18);
}

.stripe-elements-total > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8f9db5;
  font-size: .72rem;
}

.stripe-elements-total strong {
  color: #dfe7f7;
  font-size: .77rem;
}

.stripe-elements-total .is-total {
  color: #cbd5e8;
  font-size: .82rem;
  font-weight: 800;
}

.stripe-elements-total .is-total strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.stripe-elements-submit {
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #7c4dff, #995cf4);
  box-shadow: 0 12px 30px rgba(124, 77, 255, .24);
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, opacity .16s ease;
}

.stripe-elements-submit:not(:disabled):hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.stripe-elements-submit:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.stripe-elements-shell.is-submitting .stripe-elements-submit {
  cursor: wait;
}

.stripe-elements-legal {
  margin: 0;
  color: #7b889f;
  font-size: .64rem;
  line-height: 1.5;
  text-align: center;
}

.plans-order-layout--payment .stripe-elements-shell .stripe-embedded-loading {
  inset: 54px 22px 22px;
  background: rgba(5, 12, 25, .97);
}

.plans-order-layout--payment .stripe-elements-shell .stripe-embedded-error {
  width: min(650px, calc(100% - 36px));
  margin: 16px auto 0;
}

@media (max-width: 620px) {
  .plans-order-layout--payment .stripe-elements-shell {
    padding: 0 6px 10px;
  }

  .plans-order-layout--payment .stripe-elements-form {
    gap: 11px;
    padding: 11px;
    border-radius: 14px;
  }

  .stripe-elements-section {
    padding: 11px;
    border-radius: 12px;
  }

  .stripe-elements-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .stripe-elements-email-card {
    grid-template-columns: 1fr;
  }

  .stripe-elements-email-card > strong {
    text-align: left;
  }

  .stripe-elements-promo > div {
    grid-template-columns: 1fr;
  }
}

.stripe-embedded-error[hidden] { display: none !important; }

/* Patch 3.54e · Kaufabschluss, Abrechnung und Stripe-Rückwege */
.checkout-completion-page {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(720px, calc(100vh - 190px));
  overflow: hidden;
  padding: clamp(26px, 5vw, 68px) 16px;
}

.checkout-completion-glow {
  position: absolute;
  z-index: -1;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, .20), rgba(35, 211, 238, .07) 42%, transparent 70%);
  filter: blur(12px);
  animation: checkoutGlow 3.8s ease-in-out infinite;
}

.checkout-completion-card {
  width: min(850px, 100%);
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(139, 92, 246, .28);
  background: linear-gradient(160deg, rgba(17, 24, 43, .97), rgba(8, 13, 27, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  text-align: center;
}

.checkout-completion-animation {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
}

.checkout-completion-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(52, 211, 153, .52);
  border-radius: 50%;
  color: #d9fff0;
  background: radial-gradient(circle at 35% 30%, rgba(52, 211, 153, .28), rgba(12, 42, 38, .96));
  box-shadow: 0 0 34px rgba(52, 211, 153, .22);
  font-size: 2rem;
  font-weight: 900;
  animation: checkoutSymbolIn .55s cubic-bezier(.2, .9, .25, 1.3) both;
}

.checkout-completion-page.is-processing .checkout-completion-symbol,
.checkout-completion-page.is-pending .checkout-completion-symbol {
  border-color: rgba(139, 92, 246, .58);
  color: #eee7ff;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, .30), rgba(29, 20, 62, .96));
  box-shadow: 0 0 34px rgba(139, 92, 246, .26);
}

.checkout-completion-page.is-error .checkout-completion-symbol {
  border-color: rgba(255, 107, 122, .58);
  color: #ffe5e8;
  background: radial-gradient(circle at 35% 30%, rgba(255, 107, 122, .28), rgba(61, 21, 31, .96));
  box-shadow: 0 0 34px rgba(255, 107, 122, .20);
}

.checkout-completion-orbit {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-top-color: rgba(139, 92, 246, .86);
  border-radius: 50%;
  animation: checkoutOrbit 3.2s linear infinite;
}

.checkout-completion-orbit.orbit-two {
  inset: 14px;
  border-color: rgba(35, 211, 238, .14);
  border-bottom-color: rgba(35, 211, 238, .7);
  animation-duration: 2.4s;
  animation-direction: reverse;
}

.checkout-completion-page.is-ready .checkout-completion-orbit { animation-duration: 7s; }
.checkout-completion-copy { max-width: 650px; margin: 0 auto; }
.checkout-completion-copy h2 { margin: 7px 0 12px; color: #fff; font-size: clamp(1.65rem, 3.5vw, 2.55rem); line-height: 1.14; }
.checkout-completion-copy > p:last-child { margin: 0; color: #aebbd1; font-size: .93rem; line-height: 1.7; }

.checkout-completion-progress {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 34px 0 26px;
  padding: 18px;
  border: 1px solid rgba(113, 130, 164, .18);
  border-radius: 16px;
  background: rgba(7, 12, 24, .52);
  text-align: left;
}
.checkout-completion-progress > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.checkout-completion-progress > div > span { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #33405e; border-radius: 50%; color: #8492aa; background: #11182b; font-size: .72rem; font-weight: 900; }
.checkout-completion-progress > div.is-active > span { border-color: #8b5cf6; color: #fff; box-shadow: 0 0 0 4px rgba(139, 92, 246, .12); }
.checkout-completion-progress > div.is-done > span { border-color: rgba(52, 211, 153, .55); color: #d9fff0; background: rgba(16, 83, 64, .58); }
.checkout-completion-progress strong, .checkout-completion-progress small { display: block; }
.checkout-completion-progress strong { color: #e5ebf7; font-size: .73rem; }
.checkout-completion-progress small { margin-top: 2px; color: #7f8ca3; font-size: .62rem; }
.checkout-completion-progress > i { width: 26px; height: 1px; background: linear-gradient(90deg, rgba(139, 92, 246, .45), rgba(52, 211, 153, .25)); }

.checkout-completion-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
.checkout-completion-details > div { display: grid; gap: 5px; padding: 14px 16px; border: 1px solid rgba(113, 130, 164, .15); border-radius: 12px; background: rgba(11, 17, 32, .68); }
.checkout-completion-details span { color: #7f8ca3; font-size: .63rem; text-transform: uppercase; letter-spacing: .08em; }
.checkout-completion-details strong { overflow-wrap: anywhere; color: #edf2fc; font-size: .79rem; }
.checkout-completion-wait, .checkout-completion-warning { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(139, 92, 246, .26); border-radius: 13px; background: rgba(88, 57, 177, .09); text-align: left; }
.checkout-completion-warning { border-color: rgba(255, 107, 122, .25); background: rgba(255, 107, 122, .07); }
.checkout-completion-wait strong, .checkout-completion-wait small, .checkout-completion-warning strong, .checkout-completion-warning small { display: block; }
.checkout-completion-wait strong, .checkout-completion-warning strong { color: #e8edf8; font-size: .77rem; }
.checkout-completion-wait small, .checkout-completion-warning small { margin-top: 3px; color: #94a2ba; font-size: .66rem; line-height: 1.5; }
.checkout-completion-loader { flex: 0 0 auto; width: 24px; height: 24px; border: 2px solid rgba(139, 92, 246, .22); border-top-color: #9d7bff; border-radius: 50%; animation: checkoutOrbit .8s linear infinite; }
.checkout-completion-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.checkout-completion-actions .btn { min-height: 42px; }

.billing-tabbar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px; }
.billing-tabbar a, .billing-tabbar button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; color: #93a0b8; background: transparent; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; text-decoration: none; transition: .16s ease; }
.billing-tabbar a:hover, .billing-tabbar button:hover, .billing-tabbar a.is-active { border-color: rgba(139, 92, 246, .26); color: #fff; background: rgba(139, 92, 246, .10); }
.billing-tabbar form { margin: 0; }
.billing-tabbar form:last-child { margin-left: auto; }
.billing-tabbar button:disabled { opacity: .65; cursor: wait; }

.billing-price-line { align-items: baseline; }
.billing-price-line.has-discount { display: grid; grid-template-columns: auto auto 1fr; }
.billing-price-discount { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-bottom: 3px; }
.billing-price-discount span { padding: 4px 8px; border-radius: 999px; color: #dcfff1; background: rgba(52, 211, 153, .12); font-size: .62rem; font-weight: 850; }
.billing-price-discount del { color: #78869e; font-size: .85rem; }
.billing-price-line > small { grid-column: 1 / -1; color: #8e9cb3; line-height: 1.55; }
.billing-external-action { display: grid; gap: 7px; margin-top: auto; }
.billing-external-action small { color: #7f8ca3; font-size: .62rem; line-height: 1.45; }
.billing-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.billing-invoice-detail { overflow: hidden; padding: 0; }
.billing-invoice-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px; border-bottom: 1px solid rgba(113, 130, 164, .16); background: linear-gradient(135deg, rgba(139, 92, 246, .08), transparent 55%); }
.billing-invoice-detail-head h2 { margin: 4px 0; color: #fff; font-size: 1.35rem; }
.billing-invoice-detail-head span { color: #8997ae; font-size: .7rem; }
.billing-invoice-detail-head-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.billing-invoice-detail-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(113, 130, 164, .14); }
.billing-invoice-detail-meta > div { min-width: 0; padding: 17px 20px; background: #0d1425; }
.billing-invoice-detail-meta span, .billing-invoice-detail-meta strong, .billing-invoice-detail-meta small { display: block; overflow-wrap: anywhere; }
.billing-invoice-detail-meta span { color: #74829a; font-size: .61rem; text-transform: uppercase; letter-spacing: .08em; }
.billing-invoice-detail-meta strong { margin-top: 6px; color: #e9eef8; font-size: .76rem; }
.billing-invoice-detail-meta small { margin-top: 3px; color: #8593aa; font-size: .65rem; }
.billing-invoice-lines { padding: 18px 24px 8px; }
.billing-invoice-line { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(140px, .9fr) 70px minmax(100px, .6fr); gap: 14px; align-items: center; min-height: 54px; padding: 10px 0; border-bottom: 1px solid rgba(113, 130, 164, .12); color: #aeb9cb; font-size: .7rem; }
.billing-invoice-line > *:last-child { text-align: right; }
.billing-invoice-line strong { color: #edf1f9; }
.billing-invoice-line small { display: block; margin-top: 4px; color: #4adeaa; font-size: .6rem; }
.billing-invoice-line-head { min-height: 34px; color: #75839b; font-size: .59rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.billing-invoice-totals { width: min(430px, calc(100% - 48px)); margin: 8px 24px 20px auto; padding: 14px 16px; border: 1px solid rgba(113, 130, 164, .16); border-radius: 12px; background: rgba(8, 13, 26, .58); }
.billing-invoice-totals > div { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; color: #8e9bb1; font-size: .68rem; }
.billing-invoice-totals strong { color: #e7edf8; }
.billing-invoice-totals .is-discount strong { color: #4adeaa; }
.billing-invoice-totals .is-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(113, 130, 164, .16); color: #e7edf8; font-weight: 850; }
.billing-invoice-totals .is-total strong { font-size: .88rem; }
.billing-invoice-totals .is-open strong { color: #fbbf24; }
.billing-invoice-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 24px; }
.billing-invoice-row.is-selected { border-color: rgba(139, 92, 246, .36); background: rgba(139, 92, 246, .07); }
.billing-invoice-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }

.billing-confirm-dialog { width: min(620px, calc(100% - 28px)); max-width: none; max-height: calc(100vh - 28px); padding: 0; overflow: visible; border: 1px solid rgba(139, 92, 246, .30); border-radius: 20px; color: #dfe6f4; background: #0d1425; box-shadow: 0 32px 100px rgba(0, 0, 0, .58); }
.billing-confirm-dialog::backdrop { background: rgba(3, 7, 17, .80); backdrop-filter: blur(8px); }
.billing-confirm-dialog-shell { position: relative; overflow: auto; max-height: calc(100vh - 30px); padding: clamp(23px, 5vw, 38px); border-radius: inherit; background: radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .12), transparent 35%); }
.billing-dialog-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border: 1px solid rgba(113, 130, 164, .22); border-radius: 10px; color: #a8b4ca; background: rgba(10, 16, 30, .78); font-size: 1.2rem; cursor: pointer; }
.billing-dialog-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; font-size: 1.35rem; font-weight: 900; }
.billing-dialog-icon.danger { color: #ffdfe3; background: rgba(255, 107, 122, .13); box-shadow: 0 0 0 1px rgba(255, 107, 122, .22) inset; }
.billing-dialog-icon.success { color: #d9fff0; background: rgba(52, 211, 153, .12); box-shadow: 0 0 0 1px rgba(52, 211, 153, .22) inset; }
.billing-confirm-dialog h2 { margin: 7px 0 12px; color: #fff; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.25; }
.billing-confirm-dialog p:not(.eyebrow) { color: #9ba8be; font-size: .78rem; line-height: 1.65; }
.billing-confirm-dialog ul { display: grid; gap: 8px; margin: 18px 0; padding: 14px 16px 14px 34px; border: 1px solid rgba(113, 130, 164, .15); border-radius: 12px; color: #aeb9cb; background: rgba(7, 12, 24, .48); font-size: .7rem; line-height: 1.5; }
.billing-dialog-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.billing-dialog-summary > div { display: grid; gap: 5px; padding: 12px; border: 1px solid rgba(113, 130, 164, .16); border-radius: 10px; background: rgba(7, 12, 24, .48); }
.billing-dialog-summary span { color: #75839a; font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; }
.billing-dialog-summary strong { color: #e8edf7; font-size: .69rem; overflow-wrap: anywhere; }
.billing-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.billing-dialog-actions form { margin: 0; }
html.has-billing-dialog { overflow: hidden; }

.plans-order-compact-price small { display: block; margin-top: 3px; color: #8e9bb1; font-size: .58rem; font-weight: 600; }
.stripe-elements-total .is-regular del { color: #76839a; }
.stripe-elements-total .is-promotion strong { color: #4adeaa; }
.stripe-elements-total > p { margin: 1px 0 0; color: #8795ab; font-size: .62rem; line-height: 1.5; }
.stripe-elements-submit { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; }
.stripe-elements-submit-spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, .28); border-top-color: #fff; border-radius: 50%; }
.stripe-elements-shell.is-submitting .stripe-elements-submit-spinner { display: inline-block; animation: checkoutOrbit .7s linear infinite; }
.stripe-elements-processing { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid rgba(139, 92, 246, .28); border-radius: 12px; background: rgba(139, 92, 246, .09); animation: checkoutProcessingIn .28s ease both; }
.stripe-elements-processing[hidden] { display: none !important; }
.stripe-elements-processing-icon { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #e8e0ff; background: rgba(139, 92, 246, .20); animation: checkoutProcessingPulse 1.2s ease-in-out infinite; }
.stripe-elements-processing strong, .stripe-elements-processing small { display: block; }
.stripe-elements-processing strong { color: #ecf0f9; font-size: .72rem; }
.stripe-elements-processing small { margin-top: 3px; color: #95a2b8; font-size: .62rem; line-height: 1.45; }
.stripe-elements-shell.is-submitting .stripe-elements-section, .stripe-elements-shell.is-submitting .stripe-elements-promo { opacity: .55; pointer-events: none; }

@keyframes checkoutOrbit { to { transform: rotate(360deg); } }
@keyframes checkoutGlow { 50% { transform: scale(1.08); opacity: .72; } }
@keyframes checkoutSymbolIn { from { transform: scale(.45); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes checkoutProcessingIn { from { transform: translateY(5px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes checkoutProcessingPulse { 50% { transform: scale(.92); box-shadow: 0 0 0 7px rgba(139, 92, 246, .06); } }

@media (max-width: 820px) {
  .checkout-completion-progress { grid-template-columns: 1fr; }
  .checkout-completion-progress > i { width: 1px; height: 14px; margin-left: 14px; }
  .billing-invoice-detail-meta, .billing-dialog-summary { grid-template-columns: 1fr; }
  .billing-invoice-line { grid-template-columns: minmax(0, 1fr) auto; }
  .billing-invoice-line > :nth-child(2), .billing-invoice-line > :nth-child(3) { display: none; }
  .billing-invoice-line-head > :nth-child(4) { display: block; }
}

@media (max-width: 620px) {
  .checkout-completion-card { padding: 24px 16px; }
  .checkout-completion-details { grid-template-columns: 1fr; }
  .checkout-completion-actions { display: grid; }
  .billing-tabbar { display: grid; grid-template-columns: 1fr 1fr; }
  .billing-tabbar form, .billing-tabbar form:last-child { margin: 0; }
  .billing-tabbar a, .billing-tabbar button { width: 100%; }
  .billing-invoice-detail-head { flex-direction: column; padding: 19px 16px; }
  .billing-invoice-detail-head-actions { justify-content: flex-start; }
  .billing-invoice-lines { padding: 14px 16px 6px; }
  .billing-invoice-totals { width: calc(100% - 32px); margin: 8px 16px 18px; }
  .billing-invoice-detail-actions { padding: 0 16px 20px; }
  .billing-invoice-detail-actions .btn { width: 100%; }
  .billing-dialog-actions { display: grid; }
  .billing-dialog-actions .btn, .billing-dialog-actions form { width: 100%; }
  .billing-dialog-actions form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-completion-glow, .checkout-completion-symbol, .checkout-completion-orbit, .checkout-completion-loader,
  .stripe-elements-submit-spinner, .stripe-elements-processing, .stripe-elements-processing-icon { animation: none !important; }
}


/* Patch 3.54f · Billing overview cards */
.billing-center-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  grid-template-areas:
    "subscription payment"
    "subscription details";
  gap: 18px;
  align-items: stretch;
}
.billing-center-subscription { grid-area: subscription; }
.billing-center-payment { grid-area: payment; }
.billing-center-details { grid-area: details; }

.billing-center-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  gap: 20px;
  border-color: rgba(127, 161, 210, .20);
  background:
    radial-gradient(circle at 100% 0, rgba(57, 216, 255, .08), transparent 34%),
    linear-gradient(145deg, rgba(17, 31, 54, .98), rgba(12, 24, 44, .98));
  box-shadow: 0 18px 46px rgba(0, 7, 20, .22), inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.billing-center-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(63, 218, 255, .9), rgba(136, 96, 255, .55), transparent 80%);
  opacity: .72;
}
.billing-center-card:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 216, 255, .31);
  box-shadow: 0 22px 52px rgba(0, 7, 20, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.billing-center-payment::before { background: linear-gradient(90deg, rgba(91, 235, 184, .9), rgba(56, 215, 255, .55), transparent 80%); }
.billing-center-details::before { background: linear-gradient(90deg, rgba(167, 112, 255, .9), rgba(56, 215, 255, .48), transparent 80%); }

.billing-center-card-head {
  align-items: center;
  min-height: 52px;
}
.billing-center-card-title {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.billing-card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(79, 218, 255, .24);
  border-radius: 14px;
  color: #61dcff !important;
  background: linear-gradient(145deg, rgba(43, 196, 255, .14), rgba(53, 93, 201, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.billing-center-payment .billing-card-icon {
  color: #76efc0 !important;
  border-color: rgba(100, 235, 180, .24);
  background: linear-gradient(145deg, rgba(63, 210, 153, .14), rgba(43, 133, 255, .08));
}
.billing-center-details .billing-card-icon {
  color: #bd91ff !important;
  border-color: rgba(174, 119, 255, .25);
  background: linear-gradient(145deg, rgba(153, 91, 255, .15), rgba(55, 124, 255, .08));
}
.billing-card-icon .nc-ui-icon { width: 22px; height: 22px; }
.billing-center-card-title > div { min-width: 0; }
.billing-center-card-title > div > span {
  color: #6cdfff;
  font-size: 10px;
  letter-spacing: .14em;
}
.billing-center-card-title h3 {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(20px, 1.6vw, 24px);
}
.billing-card-provider {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(135, 160, 198, .16);
  border-radius: 999px;
  color: #7188a9;
  background: rgba(6, 15, 31, .32);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .12em;
}

.billing-center-subscription .billing-price-line {
  position: relative;
  align-items: end;
  padding: 20px;
  border-color: rgba(55, 213, 255, .23);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(73, 216, 255, .10), transparent 38%),
    linear-gradient(145deg, rgba(7, 20, 43, .86), rgba(7, 17, 35, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.billing-center-subscription .billing-price-line strong {
  color: #f4f8ff;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
}
.billing-center-subscription .billing-price-line > span {
  padding-bottom: 4px;
  color: #9fb0cb;
  font-weight: 700;
}
.billing-center-subscription .billing-price-line > small {
  margin-top: 3px;
  color: #91a3bd;
  font-size: 12px;
}
.billing-center-subscription .billing-price-discount {
  margin-bottom: 7px;
}
.billing-center-subscription .billing-price-discount span {
  border: 1px solid rgba(79, 227, 170, .18);
  background: rgba(55, 202, 145, .11);
  color: #9bf3ce;
}

.billing-center-subscription .billing-meta-list {
  gap: 8px;
}
.billing-center-subscription .billing-meta-list > div {
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(129, 156, 197, .10);
  border-radius: 11px;
  background: rgba(6, 16, 34, .28);
}
.billing-center-subscription .billing-meta-list > div:last-child { border-bottom: 1px solid rgba(129, 156, 197, .10); }
.billing-center-subscription .billing-meta-list span { color: #8097b8; }
.billing-center-subscription .billing-meta-list strong { color: #e7eef9; }

.billing-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
}
.billing-card-actions .btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  text-align: center;
}
.billing-card-actions .btn.danger {
  border-color: rgba(255, 104, 126, .28) !important;
  background: rgba(255, 84, 113, .09) !important;
  color: #ff9aaa !important;
}
.billing-card-actions .btn.danger:hover {
  border-color: rgba(255, 114, 135, .46) !important;
  background: rgba(255, 84, 113, .15) !important;
  color: #ffc0c9 !important;
}
.billing-card-actions .btn.ghost {
  border-color: rgba(157, 111, 255, .26);
  background: rgba(122, 77, 224, .08);
  color: #c6adff;
}
.billing-card-actions .btn.ghost:hover {
  border-color: rgba(170, 130, 255, .42);
  background: rgba(122, 77, 224, .14);
}

.billing-payment-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 154px;
  padding: 19px 20px;
  border: 1px solid rgba(102, 231, 187, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 12%, rgba(94, 239, 188, .20), transparent 30%),
    radial-gradient(circle at 10% 100%, rgba(47, 149, 255, .20), transparent 42%),
    linear-gradient(135deg, rgba(20, 57, 70, .94), rgba(13, 30, 54, .98));
  box-shadow: 0 14px 30px rgba(0, 8, 24, .22), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.billing-payment-visual::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -105px;
  top: -118px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .018), 0 0 0 56px rgba(255, 255, 255, .012);
}
.billing-payment-visual-top,
.billing-payment-visual-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.billing-payment-visual-top strong {
  color: #dffdf2;
  font-size: 12px;
  letter-spacing: .12em;
}
.billing-payment-chip {
  width: 31px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 43%, rgba(255, 255, 255, .24) 44%, rgba(255, 255, 255, .24) 48%, transparent 49%),
    linear-gradient(0deg, transparent 43%, rgba(255, 255, 255, .24) 44%, rgba(255, 255, 255, .24) 48%, transparent 49%),
    linear-gradient(145deg, rgba(238, 255, 249, .28), rgba(111, 239, 196, .10));
}
.billing-payment-visual > b {
  position: relative;
  z-index: 1;
  align-self: center;
  color: #f1f8ff;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.billing-payment-visual-bottom { align-self: end; }
.billing-payment-visual-bottom span {
  color: rgba(218, 239, 249, .60);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
.billing-payment-visual-bottom strong {
  color: #e9f8ff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.billing-security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(92, 231, 177, .12);
  border-radius: 12px;
  background: rgba(51, 202, 145, .055);
}
.billing-security-note > span {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6ceab7;
  background: rgba(70, 222, 164, .12);
  font-size: 12px;
  font-weight: 900;
}
.billing-security-note > div { display: grid; gap: 2px; }
.billing-security-note strong { color: #d8eee8; font-size: 12px; }
.billing-security-note small { color: #78928e; font-size: 10px; }

.billing-contact-panel {
  display: grid;
  gap: 10px;
}
.billing-contact-row {
  position: relative;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid rgba(151, 118, 255, .13);
  border-radius: 13px;
  background: rgba(62, 41, 114, .06);
}
.billing-contact-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: rgba(166, 118, 255, .45);
}
.billing-contact-row > span {
  color: #8297b7;
  font-size: 11px;
  font-weight: 800;
}
.billing-contact-row > strong {
  min-width: 0;
  color: #e5ecf8;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.billing-contact-email > strong { color: #a8bce0; font-weight: 700; }

.billing-external-action {
  gap: 7px;
  margin-top: auto;
}
.billing-external-action .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding-inline: 15px;
  border-color: rgba(112, 151, 205, .18);
  background: rgba(7, 17, 35, .34);
  color: #c7d4e8;
}
.billing-external-action .btn:hover {
  border-color: rgba(73, 211, 255, .32);
  background: rgba(30, 104, 139, .12);
  color: #f0f8ff;
}
.billing-center-details .billing-external-action .btn:hover {
  border-color: rgba(168, 116, 255, .35);
  background: rgba(99, 61, 180, .11);
}
.billing-external-action .btn span:last-child {
  color: #62dcff;
  font-size: 16px;
}
.billing-center-details .billing-external-action .btn span:last-child { color: #ba91ff; }
.billing-external-action small {
  padding-left: 2px;
  color: #657c9d;
  font-size: 10px;
}

@media (max-width: 1180px) {
  .billing-center-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  }
  .billing-contact-row { grid-template-columns: 105px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .billing-center-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "subscription subscription"
      "payment details";
  }
  .billing-center-subscription { min-height: auto; }
}
@media (max-width: 720px) {
  .billing-center-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "subscription"
      "payment"
      "details";
  }
  .billing-center-card { padding: 19px; }
  .billing-card-actions { grid-template-columns: 1fr; }
  .billing-contact-row { grid-template-columns: 1fr; gap: 5px; }
  .billing-center-card-title h3 { white-space: normal; }
}

/* Patch 3.54g · Goldener Premium-CTA & kompakte Rechnungsansicht */
.billing-card-actions .billing-premium-upgrade {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 8px;
  border-color: rgba(255, 205, 91, .48) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 235, 159, .24), transparent 38%),
    linear-gradient(135deg, rgba(211, 153, 35, .27), rgba(105, 68, 12, .28)) !important;
  color: #ffe6a0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 203, .12), 0 9px 24px rgba(167, 111, 16, .12);
}
.billing-card-actions .billing-premium-upgrade::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 248, 213, .16) 46%, transparent 69%);
  transform: translateX(-115%);
  transition: transform .55s ease;
}
.billing-card-actions .billing-premium-upgrade:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 218, 116, .72) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 239, 174, .32), transparent 40%),
    linear-gradient(135deg, rgba(226, 169, 47, .36), rgba(122, 78, 11, .34)) !important;
  color: #fff2bf !important;
  box-shadow: inset 0 1px 0 rgba(255, 250, 224, .16), 0 13px 30px rgba(173, 116, 18, .20);
}
.billing-card-actions .billing-premium-upgrade:hover::before { transform: translateX(115%); }
.billing-card-actions .billing-premium-upgrade > span:first-child { color: #ffd765; font-size: 15px; filter: drop-shadow(0 0 7px rgba(255, 205, 68, .42)); }

.billing-invoice-detail {
  border-color: rgba(105, 143, 205, .22);
  background:
    radial-gradient(circle at 0 0, rgba(102, 85, 210, .09), transparent 34%),
    linear-gradient(180deg, rgba(15, 25, 45, .98), rgba(12, 21, 39, .98));
  box-shadow: 0 22px 54px rgba(0, 7, 21, .25), inset 0 1px 0 rgba(255, 255, 255, .025);
}
.billing-invoice-detail-head {
  align-items: center;
  padding: 23px 24px;
  background:
    radial-gradient(circle at 12% -35%, rgba(139, 92, 246, .20), transparent 43%),
    linear-gradient(90deg, rgba(45, 55, 110, .15), transparent 64%);
}
.billing-invoice-detail-head h2 { font-size: clamp(1.28rem, 2vw, 1.55rem); letter-spacing: -.015em; }
.billing-invoice-detail-head-actions .btn { border-color: rgba(127, 151, 189, .18); background: rgba(7, 15, 29, .34); }

.billing-invoice-detail-meta {
  gap: 11px;
  padding: 15px 24px 0;
  background: transparent;
}
.billing-invoice-detail-meta > div {
  position: relative;
  overflow: hidden;
  padding: 15px 17px;
  border: 1px solid rgba(117, 145, 190, .13);
  border-radius: 13px;
  background: rgba(6, 14, 29, .34);
}
.billing-invoice-detail-meta > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: #58dfff;
  opacity: .72;
}
.billing-invoice-detail-meta > div:nth-child(2)::before { background: #a97cff; }
.billing-invoice-detail-meta > div:nth-child(3)::before { background: #57e2ad; }
.billing-invoice-detail-meta strong { font-size: .78rem; }
.billing-invoice-detail-meta small { line-height: 1.45; }

.billing-invoice-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
  gap: 17px;
  align-items: start;
  padding: 18px 24px 24px;
}
.billing-invoice-main { min-width: 0; }
.billing-invoice-lines {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(115, 143, 188, .14);
  border-radius: 14px;
  background: rgba(5, 13, 27, .25);
}
.billing-invoice-line {
  min-height: 58px;
  padding: 13px 16px;
  border-bottom-color: rgba(113, 140, 182, .10);
}
.billing-invoice-line:last-child { border-bottom: 0; }
.billing-invoice-line-head {
  min-height: 40px;
  padding-block: 10px;
  background: rgba(68, 90, 135, .075);
}
.billing-invoice-line strong { font-size: .73rem; }
.billing-invoice-line small {
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(61, 219, 159, .08);
}

.billing-invoice-summary {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(105, 138, 188, .16);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(69, 213, 255, .08), transparent 37%),
    rgba(5, 12, 25, .49);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.billing-invoice-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(108, 137, 181, .12);
}
.billing-invoice-summary-head > div { display: grid; gap: 4px; }
.billing-invoice-summary-head span:first-child { color: #7085a5; font-size: .58rem; font-weight: 900; letter-spacing: .10em; }
.billing-invoice-summary-head strong { color: #e8f1ff; font-size: .82rem; }
.billing-invoice-summary-check {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 231, 174, .20);
  border-radius: 50%;
  color: #69e8b7;
  background: rgba(54, 211, 153, .10);
  font-size: 13px;
  font-weight: 900;
}
.billing-invoice-summary .billing-invoice-totals {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.billing-invoice-summary .billing-invoice-totals > div { padding: 7px 1px; }
.billing-invoice-summary .billing-invoice-totals .is-total { margin-top: 5px; padding-top: 12px; }
.billing-invoice-summary .billing-invoice-totals .is-total strong { color: #fff; font-size: 1.08rem; }
.billing-invoice-detail-actions {
  display: grid;
  gap: 8px;
  padding: 0;
}
.billing-invoice-detail-actions .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding-inline: 13px;
}
.billing-invoice-detail-actions .btn span:last-child { font-size: 15px; }
.billing-invoice-external-note { color: #657a9a; font-size: .59rem; line-height: 1.45; }

.billing-invoices-card {
  padding: 24px;
  border-color: rgba(102, 137, 190, .20);
  background:
    radial-gradient(circle at 0 0, rgba(48, 208, 255, .055), transparent 30%),
    rgba(14, 24, 43, .94);
}
.billing-invoice-history-head { align-items: center; }
.billing-invoice-history-head p { max-width: 680px; }
.billing-invoice-list-head {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) 110px 100px minmax(250px, .9fr);
  gap: 14px;
  padding: 0 16px 8px;
  color: #7185a4;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.billing-invoice-list-head > :nth-child(3) { text-align: right; }
.billing-invoice-list-head > :last-child { text-align: right; }
.billing-invoice-list { gap: 8px; margin-top: 5px; }
.billing-invoice-row {
  grid-template-columns: minmax(230px, 1.45fr) 110px 100px minmax(250px, .9fr);
  min-height: 70px;
  padding: 11px 14px;
  border-color: rgba(116, 145, 190, .14);
  border-radius: 14px;
  background: rgba(6, 14, 29, .34);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.billing-invoice-row:hover {
  transform: translateY(-1px);
  border-color: rgba(74, 209, 255, .26);
  background: rgba(10, 24, 46, .55);
}
.billing-invoice-row.is-selected {
  border-color: rgba(158, 111, 255, .42);
  background: linear-gradient(90deg, rgba(129, 83, 224, .12), rgba(25, 35, 65, .35));
  box-shadow: inset 3px 0 0 rgba(169, 124, 255, .68);
}
.billing-invoice-document {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.billing-invoice-document-icon {
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70, 210, 255, .18);
  border-radius: 11px;
  color: #62dcff;
  background: rgba(44, 179, 230, .08);
}
.billing-invoice-document-icon .nc-ui-icon { width: 18px; height: 18px; }
.billing-invoice-document > div { display: grid; gap: 4px; min-width: 0; }
.billing-invoice-document strong { overflow: hidden; color: #edf4ff; text-overflow: ellipsis; white-space: nowrap; }
.billing-invoice-document small { color: #7e93b3; }
.billing-invoice-discount {
  display: inline-flex;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #68e5b6;
  background: rgba(54, 211, 153, .08);
  font-size: .58rem;
  font-weight: 850;
}
.billing-invoice-amount {
  justify-self: end;
  color: #f0f5ff !important;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
.billing-invoice-actions .btn { min-width: 0; }
.billing-invoice-actions .btn.primary { box-shadow: 0 7px 18px rgba(44, 171, 255, .12); }

@media (max-width: 1080px) {
  .billing-invoice-workspace { grid-template-columns: 1fr; }
  .billing-invoice-summary { grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); align-items: start; }
  .billing-invoice-summary-head { grid-column: 1 / -1; }
  .billing-invoice-external-note { grid-column: 2; }
  .billing-invoice-list-head,
  .billing-invoice-row { grid-template-columns: minmax(210px, 1.25fr) 100px 90px minmax(210px, .9fr); }
}
@media (max-width: 800px) {
  .billing-invoice-detail-meta { grid-template-columns: 1fr; }
  .billing-invoice-workspace { padding-inline: 16px; }
  .billing-invoice-summary { grid-template-columns: 1fr; }
  .billing-invoice-summary-head,
  .billing-invoice-external-note { grid-column: auto; }
  .billing-invoice-list-head { display: none; }
  .billing-invoice-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 13px;
  }
  .billing-invoice-document { grid-column: 1; }
  .billing-invoice-row .billing-invoice-status { grid-column: 2; grid-row: 1; }
  .billing-invoice-amount { grid-column: 1; grid-row: 2; justify-self: start; padding-left: 48px; }
  .billing-invoice-actions { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; padding-left: 48px; }
}
@media (max-width: 560px) {
  .billing-invoice-detail-head { align-items: flex-start; }
  .billing-invoice-detail-meta { padding-inline: 16px; }
  .billing-invoice-line { grid-template-columns: minmax(0, 1fr) auto; }
  .billing-invoice-line > :nth-child(2),
  .billing-invoice-line > :nth-child(3) { display: none; }
  .billing-invoice-line-head > :nth-child(4) { display: block; }
  .billing-invoices-card { padding: 19px 16px; }
  .billing-invoice-row .billing-invoice-status { align-self: start; }
  .billing-invoice-amount,
  .billing-invoice-actions { padding-left: 0; }
  .billing-invoice-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .billing-invoice-actions .btn:first-child { grid-column: 1 / -1; }
}
.billing-invoice-summary-check.status-open,
.billing-invoice-summary-check.status-draft,
.billing-invoice-summary-check.status-uncollectible {
  border-color: rgba(251, 191, 36, .22);
  color: #f7ca63;
  background: rgba(251, 191, 36, .10);
}
.billing-invoice-summary-check.status-void,
.billing-invoice-summary-check.status-unpaid {
  border-color: rgba(255, 111, 132, .22);
  color: #ff9eae;
  background: rgba(255, 91, 119, .10);
}

/* Patch 3.55b · rechtliche Hinweise im Stripe- und Abrechnungsweg */
.nc-legal-copy--de { display: none; }
html[lang^="de"] .nc-legal-copy--de { display: block; }
html[lang^="de"] .nc-legal-copy--en { display: none; }
html:not([lang^="de"]) .nc-legal-copy--en { display: block; }
.plans-order-legal {
  margin: 10px 0 2px;
  padding: 11px 13px;
  border: 1px solid rgba(77,180,227,.16);
  border-radius: 12px;
  color: #8fa7bd;
  background: rgba(4,11,20,.34);
  font-size: .72rem;
  line-height: 1.55;
}
.plans-order-legal a,
.stripe-elements-legal a,
.billing-legal-links a {
  color: #8ce7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stripe-elements-legal { line-height: 1.55; }
.billing-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: #7f96ad;
  font-size: .72rem;
  font-weight: 720;
}


/* NexCore 3.57b12 · White Label als eigenständige Produktstufe */
.plan-card-ux.white_label {
  border-color: rgba(52, 211, 153, .34);
  background: radial-gradient(circle at top right, rgba(52, 211, 153, .13), transparent 54%), rgba(2, 8, 20, .31);
}
.plan-card-ux.white_label:hover,.plan-card-ux.white_label.selected {
  border-color: rgba(110, 231, 183, .58);
  box-shadow: 0 18px 44px rgba(0,0,0,.24),0 0 28px rgba(52,211,153,.14),inset 0 1px 0 rgba(255,255,255,.05);
}
.plan-card-ux.white_label .plan-card-tag,.plan-card-ux.white_label li::before { color:#6ee7b7; }
.plan-card-ux.white_label .plan-price-box {
  border-color: rgba(52,211,153,.26);
  background: radial-gradient(circle at 12% 0%, rgba(52,211,153,.17), transparent 50%), rgba(4,24,20,.48);
}
.plan-card-ux.white_label .plan-promo-pill { border-color:rgba(52,211,153,.32);background:rgba(52,211,153,.10);color:#a7f3d0; }
.plan-card-ux.white_label .plan-price-amount,.plan-card-ux.white_label .plan-price-currency,.plan-card-ux.white_label .plan-price-period { color:#d1fae5; }
.plan-card-ux.white_label .plan-card-cta { border-color:rgba(52,211,153,.30);background:rgba(52,211,153,.09);color:#d1fae5; }

/* NexCore 3.57b13 · vier Planstufen kompakt nebeneinander im Desktop-Webpanel */
@media (min-width: 1181px) {
  .plan-marketplace-card .plan-cards-ux {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
  }
  .plan-marketplace-card .plan-card-ux {
    padding: 14px;
    border-radius: 18px;
  }
  .plan-marketplace-card .plan-card-top {
    gap: 8px;
    margin-bottom: 8px;
  }
  .plan-marketplace-card .plan-card-tag {
    margin-bottom: 5px;
    font-size: .61rem;
  }
  .plan-marketplace-card .plan-card-top h3 {
    font-size: 1.18rem;
  }
  .plan-marketplace-card .plan-card-top em {
    height: 25px;
    padding-inline: 8px;
    font-size: .61rem;
  }
  .plan-marketplace-card .plan-card-ux > p {
    min-height: 34px;
    margin-bottom: 10px;
    font-size: .77rem;
    line-height: 1.34;
  }
  .plan-marketplace-card .plan-price-box {
    min-height: 92px;
    margin-bottom: 11px;
    padding: 11px;
    border-radius: 14px;
  }
  .plan-marketplace-card .plan-price-box.has-promo {
    padding-top: 32px;
  }
  .plan-marketplace-card .plan-promo-pill {
    top: 8px;
    left: 10px;
    padding: 3px 7px;
    font-size: .56rem;
  }
  .plan-marketplace-card .plan-price-amount {
    font-size: 1.48rem;
  }
  .plan-marketplace-card .plan-price-period {
    font-size: .69rem;
  }
  .plan-marketplace-card .plan-price-box > small,
  .plan-marketplace-card .plan-price-box del {
    font-size: .65rem;
  }
  .plan-marketplace-card .plan-card-ux ul {
    gap: 6px;
  }
  .plan-marketplace-card .plan-card-ux li {
    padding-left: 18px;
    font-size: .74rem;
    line-height: 1.25;
  }
  .plan-marketplace-card .plan-feature-count {
    gap: 7px;
    margin-top: 11px;
    padding: 8px 0;
  }
  .plan-marketplace-card .plan-feature-count span {
    font-size: .67rem;
  }
  .plan-marketplace-card .plan-feature-count small {
    font-size: .60rem;
  }
  .plan-marketplace-card .plan-card-ux footer {
    padding-top: 11px;
  }
  .plan-marketplace-card .plan-card-ux footer > span {
    font-size: .66rem;
  }
  .plan-marketplace-card .plan-card-cta {
    min-height: 34px;
    margin-top: 9px;
    font-size: .69rem;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .plan-marketplace-card .plan-cards-ux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .plan-marketplace-card .plan-cards-ux {
    grid-template-columns: minmax(0, 1fr);
  }
}
