:root {
  --bg: #050713;
  --bg-soft: #080b18;
  --surface: rgba(12, 16, 31, .95);
  --surface-solid: #0d1224;
  --surface-raised: #121a31;
  --surface-hover: #16223d;
  --field: #080d1c;
  --text: #f4f7fb;
  --text-soft: #c9d0dc;
  --muted: #838d9e;
  --muted-2: #5f6878;
  --line: #26324f;
  --line-strong: #405277;
  --brand: #16d8ff;
  --brand-2: #ff45d2;
  --brand-soft: rgba(22, 216, 255, .11);
  --brand-border: rgba(22, 216, 255, .42);
  --neon-cyan: #16d8ff;
  --neon-pink: #ff45d2;
  --neon-orange: #ffad26;
  --neon-lime: #84f248;
  --neon-violet: #9a61ff;
  --discord-role-color: var(--brand);
  --danger: #f5657c;
  --danger-soft: rgba(245, 101, 124, .12);
  --warning: #f3b455;
  --warning-soft: rgba(243, 180, 85, .12);
  --success: #43d69a;
  --success-soft: rgba(67, 214, 154, .12);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 8px 22px rgba(0,0,0,.16);
  --shadow: 0 22px 65px rgba(0,0,0,.28);
  --control-h: 46px;
  --sidebar-w: 248px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -8%, rgba(22,216,255,.15), transparent 31rem),
    radial-gradient(circle at 96% 7%, rgba(255,69,210,.11), transparent 33rem),
    radial-gradient(circle at 55% 105%, rgba(154,97,255,.08), transparent 35rem),
    linear-gradient(180deg, #070a17 0%, #050713 58%, #04050d 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
::selection { background: rgba(255,69,210,.30); color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shell + navigation */
.app-shell { padding-left: var(--sidebar-w); }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(6,9,21,.97), rgba(5,7,17,.98));
  border-right: 1px solid rgba(255,255,255,.075);
  box-shadow: 16px 0 55px rgba(0,0,0,.16);
  backdrop-filter: blur(22px);
}
.sidebar-top { flex: 0 0 auto; padding: 2px 4px 12px; }
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
}
.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.34));
}
.brand-sidebar { justify-content: center; width: 100%; }
.brand-logo-full {
  width: min(100%, 190px);
  height: auto;
  flex: 0 1 auto;
  aspect-ratio: 1;
  border-radius: 0;
}
.brand-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; letter-spacing: .055em; text-transform: uppercase; }

.sidebar-nav {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #303a49 transparent;
  padding: 4px 3px 12px;
}
.sidebar-nav::-webkit-scrollbar { width: 6px; height: 0; }
.sidebar-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: #303a49; }
.nav-group { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nav-group + .nav-group { margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.055); }
.nav-label {
  padding: 8px 12px 7px;
  color: #667083;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.nav-link {
  position: relative;
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #aeb7c6;
  font-size: .9rem;
  font-weight: 620;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: transparent;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.045); }
.nav-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(154,97,255,.24), rgba(255,69,210,.10), rgba(22,216,255,.05));
  border-color: rgba(255,69,210,.34);
  box-shadow: inset 0 0 22px rgba(154,97,255,.08), 0 0 18px rgba(255,69,210,.06);
}
.nav-link.is-active::before { background: linear-gradient(180deg,var(--neon-cyan),var(--neon-pink)); box-shadow: 0 0 16px rgba(255,69,210,.65); }
.nav-group-admin .nav-link.is-active { background: linear-gradient(90deg, rgba(154,97,255,.22), rgba(255,69,210,.085), rgba(22,216,255,.04)); }

.sidebar-footer {
  flex: 0 0 auto;
  min-width: 0;
  padding: 13px 5px 2px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.identity { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 4px 3px 9px; }
.identity-copy { min-width: 0; display: flex; flex-direction: column; }
.identity-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.identity-copy small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--text-soft);
  font-weight: 800;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.logout-form { margin: 0; }
.link-button {
  width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  text-align: left;
  transition: color .15s, background .15s;
}
.link-button:hover { color: #fff; background: rgba(255,255,255,.04); }
.install-button { color: var(--brand-2); }
.sidebar-backdrop { display: none; }
.mobile-head { display: none; }

/* Main */
.main-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1510px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 42px 24px;
}
.guest-shell .main-content {
  width: min(100%, 980px);
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px 20px;
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.page-head h1 { margin: 5px 0 0; font-size: clamp(1.75rem, 2.3vw, 2.25rem); line-height: 1.06; letter-spacing: -.045em; }
.eyebrow { display: block; color: var(--brand-2); font-size: .69rem; font-weight: 800; letter-spacing: .145em; text-transform: uppercase; }

/* Cards / panels */
.panel,
.hero-panel,
.wallet-hero,
.auth-card,
.install-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,25,35,.95), rgba(14,18,25,.96));
  box-shadow: var(--shadow-sm);
}
.panel {
  margin: 16px 0;
  padding: 21px;
  border-radius: var(--radius-lg);
}
.panel h3 { margin: 0; font-size: 1rem; letter-spacing: -.015em; }
.panel p, .toolbar p, .hero-panel p, .auth-card p, .install-card p { color: var(--muted); line-height: 1.65; }
.panel-head { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.panel-head a { color: var(--brand-2); font-size: .82rem; font-weight: 700; }
.panel-head a:hover { color: #fff; }

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 190px;
  padding: 29px 31px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 42%, rgba(255,69,210,.18), transparent 16rem),
    radial-gradient(circle at 58% 18%, rgba(22,216,255,.10), transparent 18rem),
    linear-gradient(135deg, rgba(22,216,255,.10), rgba(10,14,29,.97) 45%),
    var(--surface-solid);
  box-shadow: var(--shadow);
}
.hero-panel::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -90px;
  top: -115px;
  border: 1px solid rgba(49,153,244,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(49,153,244,.025), 0 0 0 78px rgba(49,153,244,.018);
  pointer-events: none;
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel h2 { margin: 7px 0 7px; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -.055em; }
.hero-panel p { max-width: 720px; margin: 0; }
.hero-actions, .form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 13px; margin: 17px 0; }
.stat-card {
  min-width: 0;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(21,26,36,.92), rgba(14,18,25,.94));
  box-shadow: 0 9px 25px rgba(0,0,0,.1);
  transition: border-color .16s, background .16s, transform .16s;
}
.stat-card:hover { transform: translateY(-2px); border-color: #3d4b60; background: linear-gradient(180deg, rgba(26,33,45,.96), rgba(16,21,29,.96)); }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card span { font-size: .82rem; font-weight: 650; }
.stat-card strong { display: block; margin: 7px 0 3px; font-size: 1.95rem; line-height: 1.08; letter-spacing: -.045em; }
.stat-card small { font-size: .73rem; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 15px; }
.wide { grid-column: 1 / -1; }

/* Lists */
.list { min-width: 0; display: flex; flex-direction: column; }
.list-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 3px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
a.list-row { margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 10px; transition: background .15s; }
a.list-row:hover { background: rgba(255,255,255,.035); }
.list-row:last-child { border-bottom-color: transparent; }
.list-row > span:first-child { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.list-row strong { overflow-wrap: anywhere; }
.list-row small, .muted { color: var(--muted); line-height: 1.45; }
.empty { padding: 25px 8px; color: var(--muted); text-align: center; }

/* Buttons */
.button {
  min-height: var(--control-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(22,216,255,.76);
  border-radius: 11px;
  background: linear-gradient(135deg, #18c9f1, #367cf5 55%, #8d55ff);
  color: #fff;
  font-size: .88rem;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 8px 24px rgba(22,216,255,.14), 0 0 24px rgba(154,97,255,.08), inset 0 1px rgba(255,255,255,.18);
  transition: transform .15s, filter .15s, border-color .15s, background .15s;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.button:active { transform: translateY(0); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .nav-link:focus-visible, .link-button:focus-visible {
  outline: 3px solid rgba(49,153,244,.23);
  outline-offset: 2px;
}
.button.secondary { border-color: #35465b; background: linear-gradient(180deg, #263346, #1b2635); box-shadow: none; }
.button.ghost { border-color: var(--line-strong); background: rgba(255,255,255,.02); color: var(--text-soft); box-shadow: none; }
.button.ghost:hover { background: rgba(255,255,255,.055); border-color: #48566a; }
.button.danger { border-color: rgba(245,101,124,.46); color: #ff9aaa; }
.button.danger:not(.ghost) { background: linear-gradient(180deg, #e95e76, #c7435b); color: #fff; }
.button.discord { border-color: #6472f4; background: linear-gradient(180deg, #6673f5, #5360dd); }
.button.full { width: 100%; }
.button.small { min-height: 36px; padding: 0 11px; border-radius: 9px; font-size: .79rem; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; filter: none; }
.inline-form { display: inline-flex; margin: 0; }

/* Forms */
form { min-width: 0; }
.form-panel > h3 { margin-bottom: 17px; }
.form-panel label, .panel label, .stack-form label, .install-card label, .auth-card label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--text-soft);
  font-size: .82rem;
  font-weight: 650;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 15px;
  margin: 14px 0;
  align-items: end;
}
input, select, textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #303949;
  border-radius: 11px;
  background: var(--field);
  color: var(--text);
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input, select { height: var(--control-h); padding: 0 13px; }
textarea { min-height: 108px; padding: 12px 13px; line-height: 1.5; resize: vertical; }
input::placeholder, textarea::placeholder { color: #596477; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #3c4759; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); background: #0f141d; box-shadow: 0 0 0 3px rgba(49,153,244,.105); }
select { padding-right: 35px; }
.check { min-height: var(--control-h); flex-direction: row !important; align-items: center; justify-content: flex-start; gap: 9px !important; padding: 0 2px; }
.check input { width: 18px; height: 18px; flex: 0 0 18px; padding: 0; accent-color: var(--brand); }
.form-actions { margin-top: 17px; justify-content: flex-end; }
.stack-form { min-width: min(440px, 75vw); display: grid; gap: 10px; margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #0c1017; box-shadow: var(--shadow-sm); }
.stack-form form { display: grid; gap: 10px; }
.input-prefix { display: flex; align-items: stretch; overflow: hidden; border: 1px solid #303949; border-radius: 11px; background: var(--field); }
.input-prefix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,153,244,.105); }
.input-prefix > span { min-width: 43px; display: grid; place-items: center; border-right: 1px solid #303949; color: var(--muted); font-weight: 750; }
.input-prefix input { border: 0; border-radius: 0; box-shadow: none !important; }

/* Tables */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: #354052 transparent;
  border-radius: 12px;
}
table { width: 100%; min-width: 690px; border-collapse: collapse; font-size: .85rem; }
th, td { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.062); text-align: left; vertical-align: middle; }
th { color: #7f8b9d; font-size: .69rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; white-space: nowrap; }
tbody tr { transition: background .14s; }
tbody tr:hover { background: rgba(255,255,255,.023); }
tbody tr:last-child td { border-bottom: 0; }
td small { color: var(--muted); line-height: 1.45; }
td details { position: relative; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary.button { width: fit-content; }

/* Status / notices */
.badge, .game-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1b212c;
  color: #b6bfcd;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge.active, .badge.open, .badge.completed { border-color: rgba(67,214,154,.3); background: var(--success-soft); color: #77e6b8; }
.badge.pending, .badge.provisioning, .badge.waiting_staff, .badge.in_progress { border-color: rgba(243,180,85,.33); background: var(--warning-soft); color: #f8ca82; }
.badge.waiting_user { border-color: rgba(49,153,244,.36); background: var(--brand-soft); color: #8bcaff; }
.badge.closed, .badge.cancelled, .badge.rejected, .badge.expired { border-color: rgba(245,101,124,.28); background: var(--danger-soft); color: #ff9bad; }
.badge.suspended { border-color: rgba(174,132,255,.3); background: rgba(135,85,230,.12); color: #cbb2ff; }
.game-pill { border-color: var(--brand-border); background: var(--brand-soft); color: #91ccff; }
.notice { margin: 12px 0; padding: 12px 14px; border: 1px solid; border-radius: 12px; font-size: .86rem; line-height: 1.5; }
.notice.success { border-color: rgba(67,214,154,.28); background: var(--success-soft); color: #a3edcf; }
.notice.error { border-color: rgba(245,101,124,.3); background: var(--danger-soft); color: #ffb5c1; }
.notice.subtle { border-color: #2b3545; background: rgba(255,255,255,.025); color: #aab4c3; }
.amount { white-space: nowrap; }
.amount.positive { color: var(--success); }
.amount.negative { color: #ff8397; }
hr { height: 1px; margin: 22px 0; border: 0; background: var(--line); }

/* Server + order cards */
.server-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #151a24, #0f131b);
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.server-card:hover { transform: translateY(-2px); border-color: #3c4a5e; box-shadow: var(--shadow); }
.server-card-top, .server-foot, .server-detail-head { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.server-card h3 { margin: 17px 0 5px; font-size: 1.24rem; letter-spacing: -.025em; }
.server-card p { min-height: 24px; color: var(--muted); }
.server-foot { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.server-foot strong { color: #fff; }
.wallet-strip { display: flex; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid var(--brand-border); border-radius: 13px; background: var(--brand-soft); }
.wallet-strip strong { font-size: 1.15rem; }
.wallet-strip a { margin-left: auto; color: var(--brand-2); font-size: .84rem; font-weight: 700; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 12px; margin: 17px 0; }
.plan-card { position: relative; min-width: 0; cursor: pointer; }
.plan-card > input { position: absolute; opacity: 0; pointer-events: none; }
.plan-content { min-height: 218px; display: flex; flex-direction: column; gap: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #0f141c; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.plan-card:hover .plan-content { transform: translateY(-1px); border-color: #3b485b; }
.plan-card input:checked + .plan-content { border-color: var(--brand); background: linear-gradient(180deg, rgba(49,153,244,.1), #10151d); box-shadow: 0 0 0 2px rgba(49,153,244,.11); }
.plan-price { margin-top: auto; font-size: 1.32rem; font-weight: 850; }
.plan-price small, .specs { color: var(--muted); font-size: .74rem; font-weight: 600; }
.specs { display: block; }
.server-detail-head { margin-bottom: 14px; }
.server-detail-head h2 { margin: 8px 0 0; font-size: clamp(1.75rem, 3vw, 2.15rem); letter-spacing: -.04em; }
.detail-list { margin: 0; }
.detail-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 17px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.detail-list a { color: var(--brand-2); }

/* Wallet */
.wallet-hero {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 30px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 82% 50%, rgba(49,153,244,.2), transparent 17rem), linear-gradient(135deg, rgba(49,153,244,.1), #11151d 50%);
  box-shadow: var(--shadow);
}
.wallet-hero > div:first-child { display: flex; flex-direction: column; }
.wallet-hero span, .wallet-hero small { color: var(--muted); }
.wallet-hero strong { margin: 8px 0; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.055em; }
.token-orb { width: 112px; height: 112px; flex: 0 0 112px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: radial-gradient(circle at 30% 22%, #77c6ff, #3199f4 42%, #0d416f 100%); box-shadow: 0 20px 45px rgba(49,153,244,.25), inset 0 0 0 1px rgba(255,255,255,.12); font-size: 1.35rem; font-weight: 900; }

/* Tickets */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.toolbar p { max-width: 820px; margin: 0; }
.ticket-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-bottom: 16px; color: var(--muted); font-size: .82rem; }
.thread { display: flex; flex-direction: column; gap: 12px; margin: 15px 0 19px; }
.message { width: min(78%, 820px); padding: 16px 17px; border: 1px solid var(--line); border-radius: 16px 16px 16px 5px; background: #11161f; box-shadow: var(--shadow-sm); }
.message.staff { align-self: flex-end; border-color: rgba(49,153,244,.31); border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, rgba(49,153,244,.11), #111720); }
.message-head { display: flex; align-items: baseline; justify-content: space-between; gap: 13px; margin-bottom: 9px; }
.message-head strong { font-size: .84rem; }
.message-head time { color: var(--muted); font-size: .71rem; white-space: nowrap; }
.message-body { color: #d9dfe8; line-height: 1.62; overflow-wrap: anywhere; }

/* Auth */
.auth-card, .install-card { width: min(100%, 540px); padding: 31px; border-radius: 23px; box-shadow: var(--shadow); }
.auth-card { text-align: left; }
.auth-logo {
  width: 116px;
  height: 116px;
  display: block;
  margin: 0 0 22px;
  object-fit: contain;
  border-radius: 17px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.27));
}
.auth-card h1, .install-card h1 { margin: 8px 0 10px; font-size: clamp(1.85rem, 5vw, 2.35rem); line-height: 1.08; letter-spacing: -.048em; }
.auth-card p, .install-card p { margin: 0 0 17px; }
.auth-hint { margin-top: 15px; color: #6d7788; font-size: .75rem; text-align: center; }
.text-link { display: block; margin-top: 13px; color: var(--muted); font-size: .84rem; text-align: center; }
.text-link:hover { color: #fff; }
.error-card { text-align: center; }
.error-card > strong { color: #657185; font-size: 4rem; }

/* Footer */
.site-footer { margin-top: 31px; padding: 18px 4px 2px; border-top: 1px solid rgba(255,255,255,.06); color: #525c6d; font-size: .73rem; text-align: center; }

/* Installer */
.install-shell .main-content { width: min(100%, 1080px); padding-top: 28px; padding-bottom: 28px; }
.install-wizard { width: min(100%, 1000px); padding: 30px; }
.install-brand-row { display: flex; align-items: center; gap: 17px; }
.install-brand-row .auth-logo { width: 64px; height: 64px; flex: 0 0 64px; margin: 0; }
.install-brand-row h1 { margin: 4px 0 0; }
.install-intro { margin: 18px 0 22px; }
.install-progress { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin: 24px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.install-progress button { min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; background: #0e131b; color: var(--muted); text-align: left; }
.install-progress button span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; background: #202735; color: #bac3d1; font-size: .78rem; font-weight: 850; }
.install-progress button.active { border-color: var(--brand-border); background: var(--brand-soft); color: #fff; }
.install-progress button.active span { background: var(--brand); color: #fff; }
.install-progress button.done { border-color: rgba(67,214,154,.25); color: #9bd9c0; }
.install-progress button.done span { background: var(--success-soft); color: #71e5b5; }
.install-step { padding-top: 4px; }
.install-step-head h2 { margin: 5px 0 7px; font-size: 1.55rem; letter-spacing: -.035em; }
.install-step-head p { margin: 0; color: var(--muted); }
.install-checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.install-check { display: grid; grid-template-columns: 38px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 2px 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #0e131b; }
.install-check-icon { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
.install-check.ok .install-check-icon { background: var(--success-soft); color: #72e3b5; }
.install-check.fail .install-check-icon { background: var(--danger-soft); color: #ff9caf; }
.install-check small { color: var(--muted); }
.install-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.install-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.install-choice { position: relative; display: block !important; cursor: pointer; }
.install-choice input { position: absolute; width: 1px !important; height: 1px; opacity: 0; }
.install-choice > span { min-height: 86px; display: flex; flex-direction: column; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #0e131b; }
.install-choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 2px rgba(49,153,244,.1); }
.install-choice small, .install-wizard label small { color: var(--muted); line-height: 1.4; }
.install-review { display: flex; flex-direction: column; overflow: hidden; margin: 18px 0; border: 1px solid var(--line); border-radius: 13px; }
.install-review > div { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 18px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0e131b; }
.install-review > div:last-child { border-bottom: 0; }
.install-review span { color: var(--muted); }
.install-review strong { overflow-wrap: anywhere; font-weight: 700; }
.install-confirm { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 13px 14px; border: 1px solid #344255; border-radius: 12px; background: #111722; }
.install-confirm input { width: auto !important; height: auto; margin-top: 3px; }
.install-command { margin: 15px 0; padding: 13px; overflow: auto; border: 1px solid var(--line); border-radius: 11px; background: #090d13; }
.install-card code, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82em; }
.install-complete .button { margin-top: 8px; }

/* Responsive */
@media (max-width: 1120px) {
  .main-content { padding-left: 30px; padding-right: 30px; }
  .form-grid { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
}

@media (max-width: 920px) {
  .app-shell { padding-left: 0; padding-top: 68px; }
  .mobile-head {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255,255,255,.075);
    background: rgba(8,11,16,.94);
    backdrop-filter: blur(20px);
  }
  .brand-mobile .brand-logo { width: 42px; height: 42px; flex-basis: 42px; border-radius: 10px; }
  .brand-mobile .brand-copy small { margin-top: 3px; }
  .menu-toggle { width: 44px; height: 42px; display: grid; align-content: center; gap: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #111720; }
  .menu-toggle > span:not(.sr-only) { width: 100%; height: 2px; display: block; border-radius: 99px; background: #d8dee8; transition: transform .18s, opacity .18s; }
  .sidebar { width: min(88vw, 310px); transform: translateX(-103%); transition: transform .2s ease; box-shadow: 25px 0 65px rgba(0,0,0,.4); }
  .menu-open .sidebar { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 35; display: block; visibility: hidden; opacity: 0; border: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(2px); transition: opacity .2s, visibility .2s; }
  .menu-open .sidebar-backdrop { visibility: visible; opacity: 1; }
  .menu-open { overflow: hidden; }
  .main-content { padding: 27px 20px 22px; }
  .two-col { grid-template-columns: 1fr; }
  .hero-panel { min-height: auto; align-items: flex-start; flex-direction: column; }
  .message { width: min(90%, 820px); }
}

@media (max-width: 700px) {
  .page-head { margin-bottom: 18px; }
  .panel { padding: 17px; border-radius: 16px; }
  .hero-panel { padding: 24px 21px; border-radius: 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 180px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar .button { width: 100%; }
  .wallet-hero { padding: 23px 21px; border-radius: 20px; }
  .token-orb { width: 88px; height: 88px; flex-basis: 88px; font-size: 1.05rem; }
  .detail-list div { grid-template-columns: 1fr; gap: 5px; }
  .server-detail-head { align-items: flex-start; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button, .form-actions form, .form-actions form .button { width: 100%; }
  .stack-form { min-width: min(360px, 78vw); }
  .message { width: 96%; }
  .message-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .install-progress { grid-template-columns: 1fr; }
  .install-progress button { display: none; }
  .install-progress button.active { display: flex; }
  .install-checks, .install-choice-grid { grid-template-columns: 1fr; }
  .install-review > div { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 520px) {
  :root { --control-h: 45px; }
  .mobile-head { padding-left: 12px; padding-right: 12px; }
  .brand-mobile .brand-copy small { display: none; }
  .main-content { padding: 21px 12px 18px; }
  .guest-shell .main-content { padding: 20px 12px; }
  .auth-card, .install-card { padding: 23px 20px; border-radius: 18px; }
  .auth-logo { width: 66px; height: 66px; }
  .stats-grid, .cards-grid, .plan-grid, .form-grid { grid-template-columns: 1fr; }
  .list-row { align-items: flex-start; }
  .list-row > :last-child { flex: 0 0 auto; }
  .wallet-hero { align-items: flex-start; }
  .token-orb { width: 72px; height: 72px; flex-basis: 72px; font-size: .9rem; }
  .install-wizard { padding: 21px 18px; }
  .install-brand-row { align-items: flex-start; }
  .install-brand-row .auth-logo { width: 54px; height: 54px; flex-basis: 54px; }
  .install-actions { flex-direction: column-reverse; }
  .install-actions .button { width: 100%; }
}


/* 0.4.1 manual workflow + exact brand additions */
.action-panel { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.action-panel > div { min-width:0; }
.action-panel h3 { margin:4px 0 7px; }
.button.compact { min-height:38px; height:38px; padding-inline:14px; font-size:.82rem; }
.table-sub { display:block; margin-top:4px; color:var(--muted); }
.compact-empty { min-height:auto; padding:18px 8px; }
.badge.disputed { border-color:rgba(245,101,124,.34); background:var(--danger-soft); color:#ff9bad; }
.badge.partially_refunded { border-color:rgba(243,180,85,.36); background:var(--warning-soft); color:#f8ca82; }
.badge.refunded, .badge.reversed, .badge.failed { border-color:rgba(245,101,124,.34); background:var(--danger-soft); color:#ff9bad; }
@media (max-width:700px){ .action-panel { align-items:stretch; flex-direction:column; } .action-panel form,.action-panel .button { width:100%; } }
.panel-head a.button { color:#fff; font-weight:760; }
.panel-head a.button.secondary { color:var(--text); }


/* 0.4.1 manual order / server workflow */
.order-admin-grid,
.admin-server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 16px;
  margin: 16px 0;
}
.order-admin-card,
.admin-server-card { margin: 0; min-width: 0; }
.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.order-card-head h3 { margin: 5px 0 5px; font-size: 1.2rem; }
.order-card-head p { margin: 0; font-size: .82rem; }
.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  margin: 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--line);
}
.order-meta-grid > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 13px;
  background: #0d1219;
}
.order-meta-grid span { color: var(--muted); font-size: .72rem; }
.order-meta-grid strong { overflow-wrap: anywhere; font-size: .86rem; }
.admin-details { margin-top: 12px; }
.admin-details > summary { width: 100%; list-style: none; user-select: none; }
.admin-details > summary::-webkit-details-marker { display: none; }
.admin-details[open] > summary { margin-bottom: 12px; }
.danger-details { margin-top: 10px; }
.manual-server-form,
.compact-action-form {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b1017;
}
.compact-action-form { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.compact-action-form label { margin: 0; }
.form-section-title { margin: 5px 0 -2px; }
.form-section-title strong { display: block; margin-top: 4px; font-size: .95rem; }
.runtime-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 8px 24px;
  background:
    radial-gradient(circle at 85% 35%, rgba(49,153,244,.18), transparent 17rem),
    linear-gradient(180deg, rgba(20,25,35,.96), rgba(14,18,25,.96));
}
.runtime-panel > small { grid-column: 1 / -1; color: var(--muted); }
.runtime-countdown {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -.045em;
  color: #fff;
}
.access-notes {
  margin: 15px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1017;
}
.access-notes strong { display: block; margin-bottom: 7px; font-size: .8rem; }
.access-notes p { margin: 0; color: var(--text-soft); white-space: normal; overflow-wrap: anywhere; }
.status-actions { display: inline-flex; align-items: center; gap: 10px; }
.inline-link { width: auto; min-height: 30px; padding: 3px 5px; }
.badge.pending { border-color: rgba(49,153,244,.34); background: var(--brand-soft); color: #8bcaff; }
.badge.provisioning { border-color: rgba(243,180,85,.36); background: var(--warning-soft); color: #f8ca82; }

@media (max-width: 700px) {
  .order-meta-grid { grid-template-columns: 1fr; }
  .compact-action-form { grid-template-columns: 1fr; }
  .compact-action-form .button { width: 100%; }
  .order-card-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .runtime-panel { grid-template-columns: 1fr; }
  .runtime-panel > small { grid-column: auto; }
  .runtime-countdown { margin-top: 4px; }
  .status-actions { align-items: flex-end; flex-direction: column; }
}

/* Neon accents based on the original Gamer's Bar logo */
.sidebar {
  border-right-color: rgba(22,216,255,.12);
  box-shadow: 14px 0 55px rgba(0,0,0,.28), 1px 0 0 rgba(255,69,210,.06);
}
.brand-logo-full { filter: drop-shadow(0 0 18px rgba(22,216,255,.16)) drop-shadow(0 0 24px rgba(255,69,210,.10)); }
.eyebrow { color: var(--neon-cyan); text-shadow: 0 0 15px rgba(22,216,255,.18); }
.stats-grid .stat-card { position: relative; overflow: hidden; }
.stats-grid .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: .8;
}
.stats-grid .stat-card:nth-child(4n+1) { border-color: rgba(22,216,255,.48); box-shadow: inset 0 0 26px rgba(22,216,255,.04), 0 0 22px rgba(22,216,255,.05); }
.stats-grid .stat-card:nth-child(4n+2) { border-color: rgba(255,69,210,.45); box-shadow: inset 0 0 26px rgba(255,69,210,.04), 0 0 22px rgba(255,69,210,.05); }
.stats-grid .stat-card:nth-child(4n+3) { border-color: rgba(255,173,38,.46); box-shadow: inset 0 0 26px rgba(255,173,38,.04), 0 0 22px rgba(255,173,38,.05); }
.stats-grid .stat-card:nth-child(4n+4) { border-color: rgba(132,242,72,.42); box-shadow: inset 0 0 26px rgba(132,242,72,.035), 0 0 22px rgba(132,242,72,.04); }
.stats-grid .stat-card:nth-child(4n+1) > strong { color: #b9f5ff; }
.stats-grid .stat-card:nth-child(4n+2) > strong { color: #ffc0ee; }
.stats-grid .stat-card:nth-child(4n+3) > strong { color: #ffd69a; }
.stats-grid .stat-card:nth-child(4n+4) > strong { color: #c9ffa9; }
.panel, .server-card, .auth-card, .install-card { backdrop-filter: blur(16px); }
.panel { border-color: rgba(70,87,126,.50); }
.server-card:hover { border-color: rgba(22,216,255,.5); box-shadow: 0 18px 50px rgba(0,0,0,.28), 0 0 22px rgba(22,216,255,.06); }
.runtime-panel { border-color: rgba(22,216,255,.34); box-shadow: 0 0 30px rgba(22,216,255,.045); }
.runtime-countdown { color: #d8fbff; text-shadow: 0 0 18px rgba(22,216,255,.22); }
.auth-logo { border-radius: 0; filter: drop-shadow(0 0 22px rgba(22,216,255,.16)) drop-shadow(0 0 24px rgba(255,69,210,.13)); }
.site-footer { color: #66708a; }

/* 0.5.0 commerce + lifecycle */
.product-admin-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,540px),1fr)); gap:16px; margin:16px 0; }
.product-admin-card { min-width:0; margin:0; }
.product-section { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.compact-head { margin-bottom:10px; }
.compact-head h4 { margin:4px 0 0; font-size:1rem; }
.compact-copy { margin:6px 0 12px; }
.tariff-list, .addon-admin-list { display:grid; gap:10px; }
.tariff-row { display:grid; grid-template-columns:minmax(130px,1.4fr) 90px 105px 80px auto auto; align-items:center; gap:8px; padding:10px; border:1px solid var(--line); border-radius:12px; background:#0a0f18; }
.tariff-row input { min-width:0; }
.tariff-row.new-row { border-style:dashed; background:rgba(22,216,255,.025); }
.compact-check { min-height:var(--control-h); margin:0; white-space:nowrap; }
.addon-admin-row { display:grid; gap:11px; padding:14px; border:1px solid var(--line); border-radius:13px; background:#0a0f18; }
.history-details { margin-top:18px; }
.history-list { display:grid; gap:1px; margin-top:10px; overflow:hidden; border:1px solid var(--line); border-radius:11px; background:var(--line); }
.history-list > div { display:flex; justify-content:space-between; gap:12px; padding:10px 12px; background:#0a0f18; font-size:.78rem; }
.history-list span { color:var(--muted); }

.configurable-plans { grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); align-items:start; }
.plan-config { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); border-radius:17px; background:#0d121c; transition:border-color .15s,box-shadow .15s,transform .15s; cursor:default; }
.plan-config:hover { transform:translateY(-1px); border-color:#3b485b; }
.plan-config.is-selected { border-color:var(--neon-cyan); box-shadow:0 0 0 2px rgba(22,216,255,.09),0 0 28px rgba(22,216,255,.06); }
.plan-select-head { position:relative; margin:0; cursor:pointer; }
.plan-select-head > input { position:absolute; opacity:0; pointer-events:none; }
.plan-config .plan-content { min-height:190px; border:0; border-radius:0; background:linear-gradient(180deg,#111827,#0d131f); }
.plan-config:hover .plan-content { transform:none; border-color:transparent; }
.plan-select-head > input:checked + .plan-content { background:linear-gradient(180deg,rgba(22,216,255,.08),rgba(255,69,210,.025),#0d131f); box-shadow:inset 0 -1px 0 rgba(22,216,255,.18); }
.plan-select-head > input:checked + .plan-content::after { content:"Ausgewählt"; align-self:flex-start; margin-top:auto; padding:4px 8px; border:1px solid rgba(132,242,72,.28); border-radius:999px; background:rgba(132,242,72,.08); color:#caffaf; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.plan-options { display:grid; gap:13px; padding:15px; }
.plan-options label { margin:0; }
.field-caption { display:block; margin-bottom:7px; color:var(--muted); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.addon-choice-list { display:grid; gap:7px; }
.addon-choice { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; min-height:54px; padding:9px 10px; border:1px solid var(--line); border-radius:11px; background:#090e17; cursor:pointer; }
.addon-choice:hover { border-color:var(--line-strong); }
.addon-choice:has(input:checked) { border-color:rgba(255,69,210,.42); background:rgba(255,69,210,.055); }
.addon-choice input { width:18px; height:18px; margin:0; accent-color:var(--neon-pink); }
.addon-choice span { min-width:0; }
.addon-choice strong,.addon-choice small { display:block; }
.addon-choice strong { font-size:.79rem; }
.addon-choice small { margin-top:3px; color:var(--muted); font-size:.68rem; line-height:1.35; overflow-wrap:anywhere; }
.addon-choice b { color:#ffc0ee; font-size:.72rem; white-space:nowrap; }
.checkout-summary { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 18px; align-items:center; margin:18px 0; padding:15px 17px; border:1px solid rgba(22,216,255,.35); border-radius:14px; background:linear-gradient(135deg,rgba(22,216,255,.07),rgba(255,69,210,.045)); }
.checkout-summary > span,.checkout-summary > small { color:var(--muted); }
.checkout-summary > span { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.checkout-summary > strong { grid-row:1 / 3; grid-column:2; font-size:1.5rem; color:#d7fbff; }
.checkout-summary > small { font-size:.72rem; }
.order-addon-summary { display:flex; flex-wrap:wrap; gap:7px; margin:12px 0; }
.order-addon-summary .field-caption { width:100%; margin:0 0 2px; }
.addon-pill { display:inline-flex; align-items:center; min-height:30px; padding:5px 9px; border:1px solid rgba(255,69,210,.26); border-radius:999px; background:rgba(255,69,210,.06); color:#ffd0f2; font-size:.7rem; }

.lifecycle-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin:15px 0; }
.renewal-card { margin:0; }
.renew-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px; }
.renew-form label { margin:0; }
.wallet-inline { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:13px 0; padding:10px 12px; border:1px solid var(--line); border-radius:11px; background:#0a0f18; }
.wallet-inline span { color:var(--muted); font-size:.76rem; }
.wallet-inline strong { color:#c9ffa9; }
.warning-runtime { border-color:rgba(255,173,38,.42); background:radial-gradient(circle at 85% 35%,rgba(255,173,38,.16),transparent 17rem),linear-gradient(180deg,rgba(26,21,15,.96),rgba(15,16,22,.96)); }
.warning-runtime .runtime-countdown { color:#ffe0a9; text-shadow:0 0 18px rgba(255,173,38,.2); }
.badge.grace { border-color:rgba(255,173,38,.38); background:rgba(255,173,38,.1); color:#ffd28a; }
.lifecycle-actions { justify-content:flex-start; }

@media (max-width:1050px) {
  .tariff-row { grid-template-columns:minmax(150px,1fr) 90px 105px; }
  .tariff-row > :nth-child(n+4) { min-width:0; }
  .lifecycle-grid { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  .tariff-row { grid-template-columns:1fr 1fr; align-items:end; }
  .tariff-row .button { width:100%; }
  .checkout-summary { grid-template-columns:1fr; }
  .checkout-summary > strong { grid-row:auto; grid-column:auto; margin-top:5px; }
  .renew-form { grid-template-columns:1fr; }
  .renew-form .button { width:100%; }
  .addon-choice { grid-template-columns:auto minmax(0,1fr); }
  .addon-choice b { grid-column:2; }
}
.plan-card.is-unavailable{opacity:.62;filter:saturate(.65)}
.plan-card.is-unavailable .plan-select-head{cursor:not-allowed}

/* 0.5.2 admin workflow, timelines & structured change requests */
.admin-stats-grid { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); }
.attention-card { border-color:rgba(255,173,38,.5)!important; box-shadow:inset 0 0 28px rgba(255,173,38,.045),0 0 24px rgba(255,173,38,.05)!important; }
.attention-card > strong { color:#ffd79d!important; }
.filter-panel { padding-block:16px; }
.admin-filter-grid { display:grid; grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(150px,1fr)); gap:12px; align-items:end; }
.admin-filter-grid label { margin:0; min-width:0; }
.filter-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; grid-column:1 / -1; }
.filter-check { display:flex!important; flex-direction:row!important; align-items:center; gap:10px; min-height:var(--control-h); padding:9px 11px; border:1px solid var(--line); border-radius:11px; background:#0a0f18; }
.filter-check input { width:18px; height:18px; min-height:auto; margin:0; accent-color:var(--neon-cyan); }
.filter-check > span { display:block; color:var(--text-soft); font-size:.78rem; }
.filter-check small { display:block; margin-top:2px; color:var(--muted); }
.admin-order-table .badge + .badge { margin-left:6px; }
.row-overdue td { background:rgba(255,173,38,.025); }
.badge.overdue { border-color:rgba(255,173,38,.4); background:rgba(255,173,38,.09); color:#ffd18a; }
.table-actions { text-align:right; white-space:nowrap; }
.detail-toolbar { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; margin-bottom:14px; }
.order-detail-hero.is-overdue { border-color:rgba(255,173,38,.45); box-shadow:0 0 28px rgba(255,173,38,.05); }
.badge-stack { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.workflow-columns { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.7fr); gap:16px; margin:16px 0; align-items:start; }
.workflow-columns > .panel { margin:0; }
.order-timeline { position:relative; display:grid; gap:0; padding-left:7px; }
.timeline-item { position:relative; display:grid; grid-template-columns:24px minmax(0,1fr); gap:10px; padding-bottom:14px; }
.timeline-item:not(:last-child)::before { content:""; position:absolute; left:11px; top:20px; bottom:-1px; width:1px; background:linear-gradient(var(--neon-cyan),rgba(70,87,126,.25)); opacity:.5; }
.timeline-dot { position:relative; z-index:1; width:11px; height:11px; margin:6px 0 0 6px; border:2px solid #7deeff; border-radius:50%; background:#0b111c; box-shadow:0 0 12px rgba(22,216,255,.26); }
.timeline-item.is-internal .timeline-dot { border-color:#ff69d8; box-shadow:0 0 12px rgba(255,69,210,.22); }
.timeline-card { min-width:0; padding:11px 13px; border:1px solid var(--line); border-radius:12px; background:#0a0f18; }
.timeline-item.is-internal .timeline-card { border-color:rgba(255,69,210,.23); background:rgba(255,69,210,.035); }
.timeline-head { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.timeline-head strong { font-size:.82rem; }
.timeline-head time { color:var(--muted); font-size:.7rem; white-space:nowrap; }
.timeline-card p { margin:7px 0 5px; color:var(--text-soft); font-size:.8rem; overflow-wrap:anywhere; }
.timeline-card small { color:var(--muted); }
.user-order-list { display:grid; gap:10px; }
.user-order-card { border:1px solid var(--line); border-radius:13px; background:#0a0f18; overflow:hidden; }
.user-order-card .list-row { border:0; }
.mini-timeline { display:flex; flex-wrap:wrap; gap:8px 14px; padding:0 14px 12px; }
.mini-timeline-item { display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:.67rem; }
.mini-timeline-item i { width:7px; height:7px; border-radius:50%; background:var(--neon-cyan); box-shadow:0 0 8px rgba(22,216,255,.28); }
.mini-timeline-item b { color:var(--text-soft); font-size:.68rem; }
.mini-timeline-item small { color:var(--muted); }
.change-plans { margin:14px 0; }
.change-price-preview { min-height:var(--control-h); padding:9px 12px; border:1px solid rgba(22,216,255,.3); border-radius:11px; background:linear-gradient(135deg,rgba(22,216,255,.06),rgba(255,69,210,.025)); }
.change-price-preview span,.change-price-preview small { display:block; color:var(--muted); font-size:.68rem; }
.change-price-preview strong { display:block; margin:2px 0; color:#d8fbff; font-size:.9rem; }
.change-request-list,.change-admin-list { display:grid; gap:12px; }
.change-request-card,.change-admin-card { padding:14px; border:1px solid var(--line); border-radius:14px; background:#0a0f18; }
.change-request-card h4,.change-admin-card h4 { margin:4px 0; }
.change-request-card > p,.change-message { color:var(--text-soft); font-size:.8rem; }
.change-target-card { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:12px 0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--line); }
.change-target-card > div { min-width:0; padding:10px 11px; background:#0d1219; }
.change-target-card span { display:block; color:var(--muted); font-size:.66rem; }
.change-target-card strong { display:block; margin-top:4px; font-size:.78rem; overflow-wrap:anywhere; }
.change-admin-form { display:grid; grid-template-columns:160px minmax(220px,1fr) auto auto; gap:10px; align-items:end; margin-top:12px; }
.change-admin-form label { margin:0; }
.grow-field { min-width:0; }
.apply-target-check { align-self:end; max-width:270px; }
.text-warning { color:#ffd08a!important; }
.text-success { color:#baf89c!important; }

@media (max-width:1100px) {
  .admin-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workflow-columns { grid-template-columns:1fr; }
  .change-admin-form { grid-template-columns:1fr 1fr; }
  .change-admin-form .button { width:100%; }
}
@media (max-width:700px) {
  .admin-filter-grid { grid-template-columns:1fr; }
  .filter-actions { grid-column:auto; }
  .filter-actions .button { flex:1 1 140px; }
  .badge-stack { align-items:flex-start; }
  .timeline-head { align-items:flex-start; flex-direction:column; gap:3px; }
  .change-target-card { grid-template-columns:1fr; }
  .change-admin-form { grid-template-columns:1fr; }
  .mini-timeline { display:grid; grid-template-columns:1fr; }
}

/* 0.5.3 – Order Operations & Staff Workflow */
.work-queue-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px;max-width:100%;overflow:hidden}
.queue-chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025);color:var(--muted);font-size:.88rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.queue-chip:hover,.queue-chip.is-active{color:var(--text);border-color:rgba(67,213,255,.45);background:rgba(42,154,255,.1);box-shadow:0 0 24px rgba(64,142,255,.08)}
.priority-pill,.booking-mode-hint{display:inline-flex;align-items:center;width:max-content;max-width:100%;border:1px solid var(--line);border-radius:999px;padding:4px 9px;font-size:.72rem;font-weight:800;letter-spacing:.025em;line-height:1.2}
.priority-low{color:#9cb0c7;background:rgba(156,176,199,.08)}
.priority-normal{color:#67d9ff;background:rgba(62,180,255,.09);border-color:rgba(62,180,255,.24)}
.priority-high{color:#ffbf62;background:rgba(255,166,52,.1);border-color:rgba(255,166,52,.28)}
.priority-urgent{color:#ff718b;background:rgba(255,70,105,.11);border-color:rgba(255,70,105,.3);box-shadow:0 0 20px rgba(255,70,105,.06)}
.booking-mode-hint{margin-top:8px}
.booking-mode-hint.instant{color:#6ee7b7;background:rgba(46,211,145,.08);border-color:rgba(46,211,145,.22)}
.booking-mode-hint.approval{color:#d3a6ff;background:rgba(169,92,255,.1);border-color:rgba(169,92,255,.26)}
.activity-timeline{display:grid;gap:0;position:relative}
.activity-item{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;position:relative;padding-bottom:16px;min-width:0}
.activity-item:not(:last-child)::before{content:"";position:absolute;left:11px;top:18px;bottom:-2px;width:1px;background:linear-gradient(rgba(74,210,255,.38),rgba(177,77,255,.08))}
.activity-dot{width:11px;height:11px;border-radius:50%;margin:8px 0 0 6px;background:#4bd8ff;box-shadow:0 0 14px rgba(75,216,255,.45);z-index:1}
.activity-card{min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.022)}
.activity-card p{margin:8px 0 4px;color:var(--muted)}
.activity-card small{display:block;max-width:100%;overflow-wrap:anywhere;color:var(--muted)}
.settlement-form{margin-top:12px}
.order-detail-hero .order-meta-grid small{display:block;margin-top:4px;color:var(--muted);font-weight:500}
.badge.requested{color:#d9afff;background:rgba(171,82,255,.12);border-color:rgba(171,82,255,.3)}
@media(max-width:760px){.work-queue-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;scrollbar-width:thin}.queue-chip{flex:0 0 auto}.activity-item{grid-template-columns:18px minmax(0,1fr);gap:8px}.activity-item:not(:last-child)::before{left:8px}.activity-dot{margin-left:3px}.activity-card{padding:12px}}
.notice.warning{border-color:rgba(255,173,38,.32);background:rgba(255,173,38,.08);color:#ffd89b}

/* 0.6.0 Support & Staff Workflow */
.admin-ticket-table .row-overdue td { background: rgba(255,173,38,.035); }
.badge.resolved { border-color:rgba(67,214,154,.32); background:var(--success-soft); color:#83ebbf; }
.badge.priority-low { border-color:rgba(127,140,141,.32); background:rgba(127,140,141,.09); color:#bdc6c9; }
.badge.priority-normal { border-color:rgba(49,153,244,.28); background:var(--brand-soft); color:#9acfff; }
.badge.priority-high { border-color:rgba(243,180,85,.36); background:var(--warning-soft); color:#f8ca82; }
.badge.priority-urgent { border-color:rgba(245,101,124,.36); background:var(--danger-soft); color:#ff9bad; }
.queue-chip.attention { border-color:rgba(245,101,124,.22); }
.queue-chip.attention strong { color:#ff9bad; }
.ticket-list-row { align-items:center; }
.ticket-list-row .badge-stack small { color:var(--muted); text-align:right; }
.file-field { padding:13px 14px; border:1px dashed rgba(120,156,205,.3); border-radius:13px; background:rgba(9,14,23,.55); }
.file-field > span { margin-bottom:8px; }
.file-field input[type=file] { min-height:0; height:auto; padding:8px 0; border:0; background:transparent; }
.file-field small { color:var(--muted); line-height:1.45; }
.attachment-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; }
.attachment-chip { display:inline-flex; align-items:center; gap:10px; max-width:100%; min-height:38px; padding:8px 11px; border:1px solid var(--line); border-radius:10px; background:rgba(8,14,24,.72); color:var(--text-soft); text-decoration:none; }
.attachment-chip:hover { border-color:rgba(49,153,244,.42); background:rgba(49,153,244,.08); }
.attachment-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:360px; }
.attachment-chip small { color:var(--muted); flex:0 0 auto; }
.ticket-public-timeline { margin-top:18px; }
.compact-activity .activity-card { padding-block:10px; }
.admin-ticket-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(280px,.72fr); gap:18px; align-items:start; }
.admin-ticket-main, .admin-ticket-side { min-width:0; }
.admin-ticket-main { display:grid; gap:18px; }
.admin-ticket-side .sticky-panel { position:sticky; top:18px; }
.ticket-sla-box { display:flex; flex-direction:column; gap:5px; margin-top:16px; padding:13px 14px; border:1px solid var(--line); border-radius:12px; background:rgba(9,14,23,.62); }
.ticket-sla-box strong { font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.ticket-sla-box span { font-size:1.02rem; font-weight:700; color:var(--text); }
.ticket-sla-box small { line-height:1.45; color:var(--muted); }
.ticket-sla-box.is-overdue { border-color:rgba(245,101,124,.36); background:rgba(245,101,124,.07); }
.ticket-sla-box.is-overdue span { color:#ff9bad; }
.admin-ticket-lower-grid { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:18px; margin-top:18px; align-items:start; }
.ticket-event-list .activity-item.is-internal .activity-dot { background:#c18dff; box-shadow:0 0 0 4px rgba(174,132,255,.08); }
.ticket-event-list .activity-item.is-internal .activity-card { border-color:rgba(174,132,255,.22); background:rgba(174,132,255,.035); }
.timeline-status-change { margin-top:8px; color:var(--muted); font-size:.78rem; }
.timeline-status-change strong { color:var(--text-soft); }
.category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.category-card { display:flex; flex-direction:column; gap:11px; margin:0; }
.category-card > strong { font-size:1rem; }
.compact-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.compact-head { margin-bottom:0; }
.compact-head strong { font-size:1rem; }
.admin-ticket-table small { color:var(--muted); }

@media (max-width:1100px) {
  .admin-ticket-layout, .admin-ticket-lower-grid { grid-template-columns:1fr; }
  .admin-ticket-side .sticky-panel { position:static; }
  .category-grid { grid-template-columns:1fr; }
}
@media (max-width:680px) {
  .compact-grid { grid-template-columns:1fr; }
  .attachment-chip { width:100%; justify-content:space-between; }
  .attachment-chip span { max-width:70%; }
}


/* 0.6.1 – Benachrichtigungszentrale */
.notification-intro { margin-bottom:20px; }
.placeholder-box { margin-top:14px; padding:13px 14px; border:1px solid var(--line); border-radius:12px; background:rgba(9,14,23,.55); }
.placeholder-box strong { display:block; margin-bottom:9px; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.placeholder-box > div { display:flex; flex-wrap:wrap; gap:7px; }
.placeholder-box code { padding:4px 7px; border:1px solid rgba(49,153,244,.22); border-radius:8px; background:rgba(49,153,244,.07); color:#a8d6ff; font-size:.72rem; }
.notification-rule-group { margin:24px 0; }
.notification-rule-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.notification-rule-card { padding:0; overflow:hidden; }
.notification-rule-card > summary { display:grid; grid-template-columns:14px minmax(0,1fr) auto; gap:12px; align-items:center; min-height:72px; padding:14px 16px; cursor:pointer; list-style:none; }
.notification-rule-card > summary::-webkit-details-marker { display:none; }
.notification-rule-card[open] > summary { border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.notification-color-dot { width:11px; height:11px; border-radius:50%; background:#43d6ff; box-shadow:0 0 14px rgba(67,214,255,.42); }
.notification-color-support { background:#c18dff; box-shadow:0 0 14px rgba(193,141,255,.42); }
.notification-color-server { background:#43d6ff; box-shadow:0 0 14px rgba(67,214,255,.42); }
.notification-color-zahlungen { background:#7fe8a8; box-shadow:0 0 14px rgba(127,232,168,.42); }
.notification-summary-copy { min-width:0; }
.notification-summary-copy strong,.notification-summary-copy small { display:block; }
.notification-summary-copy strong { color:var(--text); font-size:.92rem; }
.notification-summary-copy small { margin-top:4px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; }
.notification-summary-copy code { font-size:.68rem; }
.notification-channel-badges { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; max-width:180px; }
.mini-badge { display:inline-flex; align-items:center; min-height:24px; padding:3px 7px; border:1px solid rgba(49,153,244,.26); border-radius:999px; background:rgba(49,153,244,.08); color:#9fd2ff; font-size:.65rem; font-weight:800; }
.muted-badge { border-color:var(--line); background:rgba(255,255,255,.025); color:var(--muted); }
.notification-rule-form { display:grid; gap:16px; padding:16px; }
.notification-switch-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.notification-switch-grid .check-row { margin:0; min-height:70px; padding:11px 12px; border:1px solid var(--line); border-radius:12px; background:rgba(9,14,23,.48); }
.notification-switch-grid .check-row span { display:block; }
.notification-switch-grid .check-row strong,.notification-switch-grid .check-row small { display:block; }
.notification-switch-grid .check-row small { margin-top:3px; color:var(--muted); line-height:1.35; }
.notification-meta-grid { grid-template-columns:minmax(220px,320px); }
.color-input-row { display:grid; grid-template-columns:52px minmax(0,1fr); gap:8px; }
.color-input-row input[type=color] { width:52px; padding:4px; cursor:pointer; }
.notification-template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.template-panel { display:grid; gap:10px; min-width:0; padding:13px; border:1px solid var(--line); border-radius:13px; background:rgba(8,13,21,.55); }
.template-head { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.template-head strong { color:var(--text); }
.template-head small { color:var(--muted); text-align:right; }
.template-panel label { margin:0; }
.template-panel textarea { min-height:108px; resize:vertical; }
.notification-filter-grid { grid-template-columns:1.2fr 1fr .8fr .8fr; }
.notification-history-table td { vertical-align:top; }
.badge.notification-status-sent,.badge.notification-status-stored { color:#83ebbf; border-color:rgba(67,214,154,.3); background:var(--success-soft); }
.badge.notification-status-queued { color:#ffd28f; border-color:rgba(243,180,85,.32); background:var(--warning-soft); }
.badge.notification-status-failed { color:#ff9bad; border-color:rgba(245,101,124,.34); background:var(--danger-soft); }
.badge.notification-status-suppressed { color:#bdc6c9; border-color:rgba(127,140,141,.3); background:rgba(127,140,141,.08); }
@media(max-width:1100px){.notification-rule-grid{grid-template-columns:1fr}.notification-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.notification-switch-grid,.notification-template-grid,.notification-filter-grid{grid-template-columns:1fr}.notification-rule-card>summary{grid-template-columns:12px minmax(0,1fr)}.notification-channel-badges{grid-column:2;justify-content:flex-start;max-width:none}.template-head{align-items:flex-start;flex-direction:column}.template-head small{text-align:left}}

/* 0.6.2 – Portal-Benachrichtigungscenter */
.page-head-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }
.mobile-head-actions { display:flex; align-items:center; gap:8px; }
.nav-link-with-count { justify-content:space-between; gap:10px; }
.nav-link-with-count > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.nav-count {
  min-width:22px; height:22px; padding:0 6px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(22,216,255,.32); border-radius:999px; color:#b8f5ff; background:rgba(22,216,255,.12);
  font-size:.69rem; font-weight:800; line-height:1;
}
.notification-bell { position:relative; z-index:28; }
.notification-bell > summary { list-style:none; }
.notification-bell > summary::-webkit-details-marker { display:none; }
.notification-bell-button {
  position:relative; width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.095);
  border-radius:13px; color:#dce6ef; background:linear-gradient(180deg,rgba(18,26,42,.92),rgba(9,14,25,.92));
  box-shadow:0 12px 34px rgba(0,0,0,.2); cursor:pointer; transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.notification-bell-button:hover { transform:translateY(-1px); border-color:rgba(22,216,255,.32); background:linear-gradient(180deg,rgba(20,32,51,.96),rgba(10,16,29,.96)); }
.notification-bell[open] .notification-bell-button { border-color:rgba(22,216,255,.38); box-shadow:0 0 0 3px rgba(22,216,255,.07),0 16px 38px rgba(0,0,0,.28); }
.notification-bell-button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.notification-bell-count {
  position:absolute; right:-5px; top:-5px; min-width:20px; height:20px; padding:0 5px; display:inline-flex; align-items:center; justify-content:center;
  border:2px solid var(--bg); border-radius:999px; color:#fff; background:linear-gradient(135deg,var(--neon-pink),#9a61ff); box-shadow:0 5px 16px rgba(255,69,210,.34);
  font-size:.63rem; font-weight:900; line-height:1;
}
.notification-bell-panel {
  position:absolute; top:calc(100% + 10px); right:0; width:min(390px,calc(100vw - 28px)); overflow:hidden;
  border:1px solid rgba(255,255,255,.105); border-radius:17px; background:rgba(7,11,21,.98); box-shadow:0 28px 80px rgba(0,0,0,.48);
  backdrop-filter:blur(24px);
}
.notification-bell-head { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 16px 13px; border-bottom:1px solid rgba(255,255,255,.07); }
.notification-bell-head > div { min-width:0; display:grid; gap:3px; }
.notification-bell-head strong { font-size:.94rem; }
.notification-bell-head small { color:var(--muted); font-size:.74rem; }
.notification-bell-head > a { flex:0 0 auto; color:#87eafb; font-size:.76rem; font-weight:750; }
.notification-bell-list { max-height:370px; overflow:auto; }
.notification-bell-item { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 30px; align-items:center; gap:10px; padding:12px 13px 12px 16px; border-bottom:1px solid rgba(255,255,255,.055); }
.notification-bell-item:last-child { border-bottom:0; }
.notification-bell-item.is-unread { background:linear-gradient(90deg,rgba(22,216,255,.085),rgba(154,97,255,.03)); }
.notification-bell-item.is-unread::before { content:""; position:absolute; left:5px; top:16px; width:4px; height:4px; border-radius:50%; background:var(--neon-cyan); box-shadow:0 0 9px rgba(22,216,255,.75); }
.notification-bell-item-copy { min-width:0; display:grid; gap:4px; }
.notification-bell-item-copy small { color:var(--muted); font-size:.68rem; }
.notification-bell-item-copy strong { overflow:hidden; color:#e8edf4; font-size:.82rem; font-weight:670; white-space:nowrap; text-overflow:ellipsis; }
.notification-bell-item form { margin:0; }
.notification-bell-open { width:30px; height:30px; padding:0; display:grid; place-items:center; border:1px solid rgba(255,255,255,.09); border-radius:9px; color:#b8f5ff; background:rgba(255,255,255,.04); font-weight:900; }
.notification-bell-open:hover { border-color:rgba(22,216,255,.32); background:rgba(22,216,255,.1); }
.notification-bell-empty { display:grid; gap:5px; padding:25px 18px; text-align:center; }
.notification-bell-empty strong { font-size:.88rem; }
.notification-bell-empty small { color:var(--muted); }
.notification-bell-footer { padding:10px 13px; border-top:1px solid rgba(255,255,255,.07); text-align:center; }
.notification-bell-footer button { border:0; color:#9deefb; background:transparent; font-size:.75rem; font-weight:750; }
.notification-bell-mobile { display:none; }

.notification-center-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; overflow:hidden; }
.notification-center-copy { max-width:760px; }
.notification-center-copy h2 { margin:5px 0 8px; }
.notification-center-copy p { margin:0; line-height:1.65; }
.notification-center-counter { min-width:128px; padding:16px 19px; display:grid; gap:4px; border:1px solid rgba(255,255,255,.08); border-radius:15px; background:rgba(255,255,255,.025); text-align:right; }
.notification-center-counter span { color:var(--muted); font-size:.73rem; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
.notification-center-counter strong { font-size:2rem; line-height:1; }
.notification-center-counter.has-unread { border-color:rgba(22,216,255,.28); background:linear-gradient(135deg,rgba(22,216,255,.1),rgba(154,97,255,.06)); box-shadow:inset 0 0 25px rgba(22,216,255,.035); }
.notification-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; margin:18px 0 14px; }
.notification-tabs { display:flex; align-items:center; gap:6px; padding:5px; border:1px solid rgba(255,255,255,.075); border-radius:13px; background:rgba(8,12,21,.62); }
.notification-tab { min-height:36px; padding:0 12px; display:inline-flex; align-items:center; gap:7px; border-radius:9px; color:var(--muted); font-size:.8rem; font-weight:700; }
.notification-tab:hover { color:#fff; background:rgba(255,255,255,.04); }
.notification-tab.is-active { color:#dffaff; background:rgba(22,216,255,.1); box-shadow:inset 0 0 0 1px rgba(22,216,255,.13); }
.notification-tab span { min-width:20px; height:20px; padding:0 5px; display:grid; place-items:center; border-radius:999px; color:#fff; background:rgba(255,69,210,.25); font-size:.66rem; }
.notification-bulk-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
.notification-bulk-actions form,.notification-item-actions form { margin:0; }
.button.compact { min-height:36px; padding:0 12px; font-size:.77rem; }
.notification-list { display:grid; gap:10px; }
.notification-item { position:relative; display:grid; grid-template-columns:5px minmax(0,1fr); overflow:hidden; border:1px solid rgba(255,255,255,.075); border-radius:15px; background:linear-gradient(145deg,rgba(12,18,30,.78),rgba(7,11,20,.78)); transition:border-color .16s ease,transform .16s ease,background .16s ease; }
.notification-item:hover { transform:translateY(-1px); border-color:rgba(255,255,255,.13); }
.notification-item.is-unread { border-color:rgba(22,216,255,.18); background:linear-gradient(145deg,rgba(12,27,39,.88),rgba(10,13,27,.86)); }
.notification-item.is-archived { opacity:.78; }
.notification-item-marker { background:linear-gradient(180deg,var(--neon-cyan),#9a61ff); }
.notification-marker-support { background:linear-gradient(180deg,var(--neon-pink),#9a61ff); }
.notification-marker-server { background:linear-gradient(180deg,var(--neon-cyan),#4aa7ff); }
.notification-marker-zahlungen { background:linear-gradient(180deg,var(--neon-lime),var(--neon-orange)); }
.notification-item-main { min-width:0; padding:15px 16px; }
.notification-item-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.notification-item-meta { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:5px; color:var(--muted); font-size:.69rem; font-weight:650; }
.notification-item h3 { margin:0; font-size:1rem; letter-spacing:-.015em; }
.notification-item p { margin:9px 0 0; color:#c4ccd7; font-size:.88rem; line-height:1.58; }
.notification-state-badges { display:flex; flex:0 0 auto; gap:6px; }
.notification-unread-badge { color:#aef4ff; border-color:rgba(22,216,255,.28); background:rgba(22,216,255,.09); }
.notification-item-foot { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-top:13px; padding-top:11px; border-top:1px solid rgba(255,255,255,.055); }
.notification-item-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.notification-empty { padding:34px 24px; text-align:center; }
.notification-empty strong { font-size:1rem; }
.notification-empty p { margin:8px auto 0; max-width:580px; }
.pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:18px 0 0; }
.pagination a { min-width:35px; height:35px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.08); border-radius:9px; color:var(--muted); background:rgba(255,255,255,.025); font-size:.78rem; font-weight:700; }
.pagination a.is-active { color:#fff; border-color:rgba(22,216,255,.27); background:rgba(22,216,255,.1); }
.notification-preferences { margin-top:24px; scroll-margin-top:20px; }
.notification-preferences > p { max-width:900px; line-height:1.6; }
.notification-preferences-form { margin-top:18px; }
.notification-preference-group + .notification-preference-group { margin-top:22px; }
.compact-heading { margin-bottom:10px; }
.compact-heading h4 { margin:3px 0 0; font-size:1rem; }
.notification-preference-list { overflow:hidden; border:1px solid rgba(255,255,255,.07); border-radius:14px; }
.notification-preference-row { min-height:66px; padding:11px 13px; display:grid; grid-template-columns:minmax(220px,1fr) auto; align-items:center; gap:16px; border-bottom:1px solid rgba(255,255,255,.055); background:rgba(5,9,17,.35); }
.notification-preference-row:last-child { border-bottom:0; }
.notification-preference-row.is-mandatory { background:rgba(255,255,255,.018); }
.notification-preference-copy { min-width:0; display:grid; gap:4px; }
.notification-preference-copy strong { font-size:.87rem; }
.notification-preference-copy small { color:var(--muted); font-size:.71rem; }
.notification-preference-channels { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.preference-toggle { min-height:38px; padding:7px 10px; display:grid; grid-template-columns:auto auto; align-items:center; gap:7px; border:1px solid rgba(255,255,255,.08); border-radius:10px; background:rgba(255,255,255,.025); cursor:pointer; }
.preference-toggle input { margin:0; accent-color:var(--neon-cyan); }
.preference-toggle span { font-size:.76rem; font-weight:700; }
.preference-toggle small { grid-column:2; margin-top:-5px; color:var(--muted); font-size:.6rem; }
.preference-toggle.is-globally-off { border-style:dashed; opacity:.68; }
.mandatory-badge { color:#ffd694; border-color:rgba(243,180,85,.28); background:rgba(243,180,85,.08); }

@media(max-width:920px){
  .notification-bell-desktop { display:none; }
  .notification-bell-mobile { display:block; }
  .notification-bell-panel { position:fixed; top:72px; right:12px; width:min(390px,calc(100vw - 24px)); }
}
@media(max-width:760px){
  .notification-center-hero { align-items:stretch; flex-direction:column; }
  .notification-center-counter { min-width:0; grid-template-columns:1fr auto; align-items:end; text-align:left; }
  .notification-center-counter strong { text-align:right; }
  .notification-toolbar { align-items:stretch; flex-direction:column; }
  .notification-tabs { width:100%; overflow:auto; }
  .notification-tab { flex:0 0 auto; }
  .notification-bulk-actions { justify-content:flex-start; }
  .notification-item-head,.notification-item-foot { align-items:flex-start; flex-direction:column; }
  .notification-item-actions { justify-content:flex-start; }
  .notification-preference-row { grid-template-columns:1fr; }
  .notification-preference-channels { justify-content:flex-start; }
}
@media(max-width:520px){
  .notification-bell-panel { top:68px; right:8px; width:calc(100vw - 16px); border-radius:14px; }
  .notification-item-main { padding:13px 12px; }
  .notification-tabs { padding:4px; }
  .notification-bulk-actions { display:grid; grid-template-columns:1fr; width:100%; }
  .notification-bulk-actions form,.notification-bulk-actions .button { width:100%; }
  .notification-item-actions { display:grid; grid-template-columns:1fr; width:100%; }
  .notification-item-actions form,.notification-item-actions .button { width:100%; }
}
.notification-filter-panel { margin:0 0 14px; padding:12px 13px; }
.notification-user-filter { display:grid; grid-template-columns:minmax(220px,1.4fr) minmax(170px,.7fr) auto; align-items:end; gap:10px; }
.notification-user-filter label { margin:0; }
.notification-user-filter .filter-actions { align-self:end; }
@media(max-width:760px){.notification-user-filter{grid-template-columns:1fr}.notification-user-filter .filter-actions{justify-content:flex-start}}
.optional-badge { color:#cbb8ff; border-color:rgba(154,97,255,.3); background:rgba(154,97,255,.09); }

/* 0.7.0 – Staff RBAC, irreversible ticket delete & Admin UX cleanup */
.admin-hero {
  position:relative; display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 18px; padding:22px 24px;
  overflow:hidden; border:1px solid rgba(255,255,255,.085); border-radius:18px;
  background:linear-gradient(135deg,rgba(13,22,38,.92),rgba(8,12,23,.92)); box-shadow:0 18px 50px rgba(0,0,0,.22);
}
.admin-hero::after { content:""; position:absolute; width:240px; height:240px; right:-80px; top:-120px; border-radius:50%; background:radial-gradient(circle,rgba(22,216,255,.12),transparent 67%); pointer-events:none; }
.admin-hero > div { position:relative; z-index:1; min-width:0; }
.admin-hero h2 { margin:5px 0 8px; font-size:clamp(1.25rem,2vw,1.7rem); }
.admin-hero p { max-width:820px; margin:0; color:var(--muted); line-height:1.62; }
.admin-hero-aside { min-width:160px; padding:14px 16px; display:grid; gap:3px; border:1px solid rgba(255,255,255,.08); border-radius:14px; background:rgba(255,255,255,.025); text-align:right; }
.admin-hero-aside span,.admin-hero-aside small { color:var(--muted); font-size:.72rem; }
.admin-hero-aside span { font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.admin-hero-aside strong { font-size:1.8rem; line-height:1.05; color:#f2f7fb; }
.admin-hero-aside .role-name-large { font-size:1.15rem; }
.admin-hero-metrics { display:flex; flex:0 0 auto; align-items:stretch; gap:8px; }
.admin-hero-metrics > div { min-width:105px; padding:12px 14px; display:grid; gap:2px; border:1px solid rgba(255,255,255,.075); border-radius:13px; background:rgba(255,255,255,.025); text-align:right; }
.admin-hero-metrics span { color:var(--muted); font-size:.68rem; font-weight:750; }
.admin-hero-metrics strong { font-size:1.45rem; }
.admin-hero-metrics .is-alert { border-color:rgba(245,101,124,.27); background:rgba(245,101,124,.065); }
.admin-hero-metrics .is-alert strong { color:#ff9bad; }
.compact-admin-hero { padding-top:18px; padding-bottom:18px; }
.permission-aware-stats { margin-top:0; }
.permission-notice { margin:-5px 0 16px; }

.feature-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.feature-strip > div { padding:13px 14px; display:grid; gap:5px; border:1px solid rgba(255,255,255,.07); border-radius:13px; background:rgba(7,12,21,.5); }
.feature-strip strong { font-size:.88rem; color:#edf4fa; }
.feature-strip span { color:var(--muted); font-size:.76rem; line-height:1.45; }

.discord-role-reference { padding:0; overflow:hidden; margin-bottom:22px; }
.discord-role-reference > summary,.admin-config-details > summary,.clean-details > summary { list-style:none; cursor:pointer; }
.discord-role-reference > summary::-webkit-details-marker,.admin-config-details > summary::-webkit-details-marker,.clean-details > summary::-webkit-details-marker { display:none; }
.discord-role-reference > summary { min-height:68px; padding:14px 17px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.discord-role-reference > summary > span:first-child { display:grid; gap:4px; }
.discord-role-reference > summary small { color:var(--muted); }
.discord-role-reference[open] > summary { border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.details-chevron { color:var(--muted); font-size:1rem; transition:transform .16s ease; }
details[open] > summary .details-chevron { transform:rotate(180deg); }
.discord-role-chip-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:14px 16px 17px; }
.discord-role-chip { min-width:0; display:grid; grid-template-columns:9px minmax(0,1fr); gap:10px; align-items:center; padding:9px 10px; border:1px solid rgba(255,255,255,.065); border-radius:11px; background:rgba(8,13,22,.48); }
.discord-role-swatch { width:9px; height:34px; border-radius:999px; background:linear-gradient(180deg,var(--brand),var(--brand-2)); }
.discord-role-swatch.tone-pink { background:linear-gradient(180deg,#ff718b,#ff45d2); }
.discord-role-swatch.tone-amber { background:linear-gradient(180deg,#ffd26c,#ff8a3d); }
.discord-role-swatch.tone-lime { background:linear-gradient(180deg,#a6f365,#36d48b); }
.discord-role-swatch.tone-cyan { background:linear-gradient(180deg,#7eeaff,#16d8ff); }
.discord-role-swatch.tone-blue { background:linear-gradient(180deg,#72a7ff,#6c63ff); }
.discord-role-swatch.tone-violet { background:linear-gradient(180deg,#d184ff,#9a61ff); }
.discord-role-swatch.tone-neutral { background:linear-gradient(180deg,#a8b3c3,#657187); }
.discord-role-chip div { min-width:0; display:grid; gap:3px; }
.discord-role-chip strong { overflow:hidden; font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.discord-role-chip code { overflow:hidden; color:var(--muted); font-size:.65rem; text-overflow:ellipsis; }
.discord-role-chip small { color:#748595; font-size:.6rem; }

.role-section { margin:24px 0; }
.role-card-list { display:grid; gap:12px; }
.role-card { padding:0; overflow:hidden; }
.role-card > summary { min-height:76px; padding:13px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; list-style:none; }
.role-card > summary::-webkit-details-marker { display:none; }
.role-card[open] > summary { border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.role-summary-main { min-width:0; display:flex; align-items:center; gap:12px; }
.role-summary-main > div { min-width:0; display:grid; gap:4px; }
.role-summary-main strong { font-size:.95rem; }
.role-summary-main small { overflow:hidden; color:var(--muted); font-size:.72rem; text-overflow:ellipsis; white-space:nowrap; }
.role-icon { width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center; border:1px solid rgba(22,216,255,.22); border-radius:13px; color:#bdf6ff; background:linear-gradient(135deg,rgba(22,216,255,.12),rgba(154,97,255,.07)); font-size:.86rem; font-weight:900; }
.role-icon.is-super { border-color:rgba(255,69,210,.26); color:#ffd3f5; background:linear-gradient(135deg,rgba(255,69,210,.12),rgba(154,97,255,.1)); box-shadow:inset 0 0 22px rgba(255,69,210,.04); }
.role-summary-meta { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.role-super-badge { color:#ffd0f3; border-color:rgba(255,69,210,.3); background:rgba(255,69,210,.08); }
.role-editor { padding:17px; display:grid; gap:18px; }
.role-basic-grid { display:grid; grid-template-columns:1fr .45fr 1.25fr 1fr; gap:11px; align-items:end; }
.role-basic-grid label { margin:0; }
.role-id-field { min-width:0; }
.role-active-toggle { min-height:76px; margin:0; }
.superadmin-callout { padding:14px 15px; border:1px solid rgba(255,69,210,.2); border-radius:13px; background:linear-gradient(135deg,rgba(255,69,210,.07),rgba(154,97,255,.045)); }
.superadmin-callout strong { color:#ffd7f5; }
.superadmin-callout p { margin:6px 0 0; color:var(--muted); line-height:1.55; }
.permission-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.permission-group { min-width:0; margin:0; padding:11px; border:1px solid rgba(255,255,255,.07); border-radius:13px; background:rgba(6,10,18,.42); }
.permission-group legend { padding:0 7px; color:#e7eef4; font-size:.77rem; font-weight:800; }
.permission-row { min-height:66px; margin:0; padding:9px 9px; display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:flex-start; border-radius:10px; cursor:pointer; }
.permission-row:hover { background:rgba(255,255,255,.025); }
.permission-row input { margin-top:4px; accent-color:var(--neon-cyan); }
.permission-row span { min-width:0; display:grid; gap:3px; }
.permission-row strong { font-size:.79rem; }
.permission-row small { color:var(--muted); font-size:.68rem; line-height:1.4; }
.permission-row code { width:max-content; max-width:100%; color:#86cde0; font-size:.61rem; overflow:hidden; text-overflow:ellipsis; }
.role-actions { justify-content:space-between; }
.role-actions .muted { max-width:620px; font-size:.73rem; }
.new-role-panel { margin-top:24px; }
.member-role-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.member-role-card { display:grid; gap:11px; }
.member-role-head { display:flex; align-items:center; gap:11px; margin-bottom:2px; }
.member-role-head > div { display:grid; gap:3px; }
.member-role-head small { color:var(--muted); }
.role-table-badge { display:inline-flex; min-height:27px; align-items:center; padding:4px 9px; border:1px solid rgba(154,97,255,.22); border-radius:999px; color:#d7caff; background:rgba(154,97,255,.07); font-size:.72rem; font-weight:800; }

.admin-object-hero { margin-bottom:16px; padding:20px 22px; border:1px solid rgba(255,255,255,.085); border-radius:17px; background:linear-gradient(135deg,rgba(13,21,35,.88),rgba(7,11,20,.88)); }
.object-backlink { display:inline-flex; margin-bottom:10px; color:#95dff0; font-size:.76rem; font-weight:750; }
.object-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.object-title-row h2 { margin:4px 0 0; font-size:clamp(1.2rem,2vw,1.65rem); }
.object-badges { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.object-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-top:16px; }
.object-facts > div { min-width:0; padding:10px 11px; display:grid; gap:3px; border:1px solid rgba(255,255,255,.06); border-radius:11px; background:rgba(255,255,255,.022); }
.object-facts span { color:var(--muted); font-size:.65rem; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.object-facts strong { overflow:hidden; font-size:.82rem; text-overflow:ellipsis; white-space:nowrap; }
.admin-ticket-layout-clean { align-items:start; }
.thread-panel,.action-panel,.workflow-panel,.internal-note-panel { border-color:rgba(255,255,255,.08); }
.clean-form-stack { display:grid; gap:12px; }
.clean-form-stack label { margin:0; }
.context-chip,.privacy-chip { display:inline-flex; min-height:26px; align-items:center; padding:4px 8px; border:1px solid rgba(22,216,255,.18); border-radius:999px; color:#9ce9f5; background:rgba(22,216,255,.055); font-size:.66rem; font-weight:800; }
.privacy-chip { color:#d5c1ff; border-color:rgba(154,97,255,.22); background:rgba(154,97,255,.06); }
.panel-divider { height:1px; margin:16px 0; background:var(--line); }
.clean-lower-grid { margin-top:15px; }
.timeline-full { grid-column:1/-1; }

.danger-zone { margin-top:18px; border-color:rgba(245,101,124,.28); background:linear-gradient(145deg,rgba(54,15,25,.3),rgba(16,10,17,.72)); }
.danger-zone-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.danger-zone-head h3 { margin:4px 0 7px; color:#ffd9df; }
.danger-zone-head p { max-width:850px; margin:0; color:#c8aab0; line-height:1.58; }
.danger-icon { width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center; border:1px solid rgba(245,101,124,.36); border-radius:13px; color:#ff9bad; background:rgba(245,101,124,.08); font-size:1.1rem; font-weight:950; }
.danger-confirm-details { margin-top:14px; }
.danger-confirm-details > summary { width:max-content; list-style:none; cursor:pointer; }
.danger-confirm-details > summary::-webkit-details-marker { display:none; }
.danger-confirm-form { max-width:760px; margin-top:13px; padding:15px; display:grid; gap:13px; border:1px solid rgba(245,101,124,.18); border-radius:13px; background:rgba(8,10,16,.48); }
.danger-confirm-copy { display:grid; gap:4px; }
.danger-confirm-copy span { color:var(--muted); font-size:.76rem; }
.danger-confirm-copy code { color:#ffb6c3; }
.danger-check { border-color:rgba(245,101,124,.18)!important; background:rgba(245,101,124,.04)!important; }

.clean-queue-tabs { margin-top:0; }
.admin-config-details { margin-top:18px; padding:0; overflow:hidden; }
.admin-config-details > summary { min-height:66px; padding:13px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.admin-config-details > summary > span:first-child { display:grid; gap:3px; }
.admin-config-details > summary small { color:var(--muted); }
.admin-config-details[open] > summary { border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.admin-config-body { padding:16px; }
.rule-fieldset { min-width:0; margin:0; padding:0; border:0; display:grid; gap:16px; }
.rule-fieldset:disabled { opacity:.72; }
.clean-details { padding:0; }
.clean-details > summary { padding:10px 12px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.clean-details[open] > summary { border-bottom:1px solid rgba(255,255,255,.06); }
.clean-details > div { padding:10px 12px 12px; }
.table-action-details > summary { width:max-content; }
.compact-action-form { min-width:280px; margin-top:8px; padding:10px; border:1px solid var(--line); border-radius:11px; background:rgba(6,10,18,.94); }

@media(max-width:1180px){
  .role-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .discord-role-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .object-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .admin-hero{align-items:stretch;flex-direction:column}.admin-hero-aside{min-width:0;text-align:left}.admin-hero-metrics{width:100%}.admin-hero-metrics>div{flex:1;text-align:left}
  .feature-strip,.permission-groups,.member-role-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .admin-hero{padding:17px 15px}.admin-hero-metrics{display:grid;grid-template-columns:repeat(3,1fr)}.admin-hero-metrics>div{min-width:0;padding:10px}.admin-hero-metrics span{font-size:.6rem}.admin-hero-metrics strong{font-size:1.2rem}
  .discord-role-chip-grid,.role-basic-grid,.object-facts{grid-template-columns:1fr}.role-card>summary{align-items:flex-start;flex-direction:column}.role-summary-meta{justify-content:flex-start}.role-actions{align-items:flex-start;flex-direction:column}.object-title-row{flex-direction:column}.object-badges{justify-content:flex-start}.danger-zone-head{flex-direction:column-reverse}.compact-action-form{min-width:0}
}

/* 0.7.1 – Analytics Center */
.admin-hero-actions { gap:8px; align-items:flex-end; }
.admin-hero-actions .button { margin-top:5px; }
.analytics-hero { border-color:rgba(22,216,255,.15); background:linear-gradient(132deg,rgba(8,26,38,.78),rgba(20,10,31,.78)); }
.analytics-period-aside { min-width:290px; }
.analytics-filter-panel { margin-bottom:22px; padding:16px 18px; }
.analytics-preset-row { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.analytics-preset-row > div:first-child { display:grid; gap:4px; }
.analytics-preset-row > div:first-child strong { font-size:.86rem; }
.analytics-preset-tabs { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.analytics-preset { min-height:34px; padding:7px 11px; display:inline-flex; align-items:center; border:1px solid rgba(255,255,255,.075); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.025); font-size:.7rem; font-weight:800; }
.analytics-preset:hover { color:#eefcff; border-color:rgba(22,216,255,.18); }
.analytics-preset.is-active { color:#d8fbff; border-color:rgba(22,216,255,.3); background:rgba(22,216,255,.08); box-shadow:inset 0 0 20px rgba(22,216,255,.025); }
.analytics-date-form { display:grid; grid-template-columns:minmax(150px,.55fr) minmax(150px,.55fr) auto minmax(180px,1fr); gap:10px; align-items:end; margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.analytics-date-form label { margin:0; }
.analytics-date-form small { align-self:center; color:var(--muted); font-size:.68rem; line-height:1.4; }
.analytics-section-head { margin:26px 0 10px; display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.analytics-section-head h2 { margin:3px 0 0; font-size:1.14rem; }
.analytics-section-head .muted { font-size:.68rem; }
.analytics-kpi-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.analytics-kpi-card { min-width:0; padding:14px 14px 13px; display:grid; gap:7px; border:1px solid rgba(255,255,255,.075); border-radius:14px; background:linear-gradient(145deg,rgba(12,19,31,.87),rgba(7,11,20,.9)); box-shadow:inset 0 1px rgba(255,255,255,.018); }
.analytics-kpi-card:nth-child(3n+1) { border-top-color:rgba(22,216,255,.35); }
.analytics-kpi-card:nth-child(3n+2) { border-top-color:rgba(255,69,210,.28); }
.analytics-kpi-card:nth-child(3n) { border-top-color:rgba(154,97,255,.3); }
.analytics-kpi-top { display:flex; align-items:center; justify-content:space-between; gap:7px; color:#aebcc8; font-size:.66rem; font-weight:800; }
.analytics-kpi-card > strong { overflow:hidden; color:#f2f8fb; font-size:clamp(1.15rem,2vw,1.55rem); text-overflow:ellipsis; }
.analytics-kpi-card > small { min-height:2.5em; color:var(--muted); font-size:.63rem; line-height:1.35; }
.analytics-delta { flex:0 0 auto; min-height:23px; padding:3px 7px; display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.025); font-size:.59rem; white-space:nowrap; }
.analytics-delta.positive { color:#a9f6cc; border-color:rgba(71,220,141,.22); background:rgba(71,220,141,.065); }
.analytics-delta.negative { color:#ffafb9; border-color:rgba(245,101,124,.24); background:rgba(245,101,124,.065); }
.analytics-main-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr); gap:12px; margin-top:12px; }
.analytics-secondary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.analytics-chart-panel { min-width:0; overflow:hidden; }
.analytics-chart-panel .panel-head { align-items:flex-start; }
.chart-legend { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; color:var(--muted); font-size:.64rem; font-weight:800; }
.chart-legend span { display:inline-flex; align-items:center; gap:5px; }
.chart-legend span::before { width:13px; height:3px; border-radius:999px; content:""; background:currentColor; }
.legend-orders,.legend-gross { color:#43e2ff!important; }
.legend-tickets { color:#ff69d8!important; }
.legend-renewals { color:#a6f365!important; }
.legend-adjustments { color:#ffb25d!important; }
.analytics-chart-wrap { min-height:260px; display:grid; grid-template-rows:minmax(210px,1fr) auto; }
.analytics-chart { width:100%; height:230px; overflow:visible; }
.chart-grid { stroke:rgba(255,255,255,.055); stroke-width:1; vector-effect:non-scaling-stroke; }
.chart-line { fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.chart-line-orders,.chart-line-gross { stroke:var(--neon-cyan); filter:drop-shadow(0 0 4px rgba(22,216,255,.18)); }
.chart-line-tickets { stroke:var(--neon-pink); }
.chart-line-renewals { stroke:var(--neon-lime); }
.chart-line-adjustments { stroke:var(--neon-orange); }
.chart-axis { display:flex; justify-content:space-between; gap:10px; padding:0 4px; color:#6f8291; font-size:.6rem; }
.analytics-quality-panel { display:flex; flex-direction:column; }
.quality-metric-list { display:grid; gap:4px; }
.quality-metric { min-height:55px; padding:8px 0; display:flex; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid rgba(255,255,255,.055); }
.quality-metric:last-child { border-bottom:0; }
.quality-metric > span:first-child { display:grid; gap:3px; }
.quality-metric small { color:var(--muted); font-size:.65rem; }
.quality-metric strong { font-size:.83rem; }
.quality-metric > span:last-child { text-align:right; }
.analytics-distribution { display:grid; gap:9px; }
.analytics-distribution > div { display:grid; grid-template-columns:minmax(120px,.8fr) minmax(140px,1.4fr); gap:12px; align-items:center; }
.analytics-distribution > div > span { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.analytics-distribution strong { font-size:.74rem; }
.analytics-distribution small { color:var(--muted); font-size:.63rem; }
.analytics-distribution progress,.analytics-ranking-row progress { width:100%; height:6px; border:0; border-radius:999px; overflow:hidden; background:rgba(255,255,255,.055); appearance:none; }
.analytics-distribution progress::-webkit-progress-bar,.analytics-ranking-row progress::-webkit-progress-bar { background:rgba(255,255,255,.055); border-radius:999px; }
.analytics-distribution progress::-webkit-progress-value,.analytics-ranking-row progress::-webkit-progress-value { border-radius:999px; background:linear-gradient(90deg,var(--neon-cyan),var(--neon-violet)); }
.analytics-distribution progress::-moz-progress-bar,.analytics-ranking-row progress::-moz-progress-bar { border-radius:999px; background:linear-gradient(90deg,var(--neon-cyan),var(--neon-violet)); }
.analytics-snapshot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.analytics-snapshot-grid > div { padding:10px; display:grid; gap:3px; border:1px solid rgba(255,255,255,.06); border-radius:11px; background:rgba(255,255,255,.02); }
.analytics-snapshot-grid span { color:var(--muted); font-size:.6rem; text-transform:uppercase; letter-spacing:.05em; }
.analytics-snapshot-grid strong { font-size:.95rem; }
.analytics-rankings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.analytics-ranking-card { min-width:0; }
.analytics-ranking-list { display:grid; gap:3px; }
.analytics-ranking-row { min-width:0; padding:7px 0; display:grid; grid-template-columns:minmax(0,1fr) 82px; gap:10px; align-items:center; border-bottom:1px solid rgba(255,255,255,.045); }
.analytics-ranking-row:last-child { border-bottom:0; }
.analytics-ranking-copy { min-width:0; display:grid; grid-template-columns:25px minmax(0,1fr); gap:8px; align-items:center; }
.analytics-ranking-copy > span:last-child { min-width:0; display:grid; gap:2px; }
.analytics-ranking-copy strong { overflow:hidden; font-size:.71rem; text-overflow:ellipsis; white-space:nowrap; }
.analytics-ranking-copy small { color:var(--muted); font-size:.59rem; }
.analytics-rank-index { width:24px; height:24px; display:grid; place-items:center; border:1px solid rgba(22,216,255,.13); border-radius:8px; color:#9feefa; background:rgba(22,216,255,.04); font-size:.61rem; font-weight:900; }
.analytics-mini-list,.analytics-error-list,.wallet-breakdown-list,.finance-facts { display:grid; gap:5px; }
.analytics-mini-list > div,.analytics-error-list > div,.finance-facts > div { min-height:47px; padding:8px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid rgba(255,255,255,.05); }
.analytics-mini-list > div:last-child,.analytics-error-list > div:last-child,.finance-facts > div:last-child { border-bottom:0; }
.analytics-mini-list span,.analytics-error-list span,.finance-facts span { color:#aebbc6; font-size:.69rem; }
.analytics-mini-list strong,.analytics-error-list strong,.finance-facts strong { font-size:.78rem; text-align:right; }
.finance-section-head { margin-top:30px; }
.finance-access-badge { color:#a8f5c9; border-color:rgba(71,220,141,.2); background:rgba(71,220,141,.055); }
.finance-kpi { border-top-color:rgba(71,220,141,.3)!important; }
.finance-summary-panel { border-color:rgba(71,220,141,.11); }
.wallet-breakdown-list > div { min-height:56px; padding:8px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid rgba(255,255,255,.05); }
.wallet-breakdown-list > div:last-child { border-bottom:0; }
.wallet-breakdown-list > div > span { display:grid; gap:3px; }
.wallet-breakdown-list strong { font-size:.72rem; }
.wallet-breakdown-list small { color:var(--muted); font-size:.61rem; }
.wallet-breakdown-values { text-align:right; }
.wallet-breakdown-values b { font-size:.65rem; }
.text-success { color:#8ce9b5; }
.text-warning { color:#ffbd72; }
.analytics-locked-panel { margin-top:22px; border-style:dashed; border-color:rgba(154,97,255,.18); background:rgba(154,97,255,.025); }
.analytics-locked-panel h3 { margin:4px 0 6px; }
.analytics-locked-panel p { margin:0; color:var(--muted); line-height:1.5; }
.analytics-export-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.analytics-export-card { min-width:0; min-height:122px; padding:13px; display:grid; grid-template-columns:34px minmax(0,1fr); grid-template-rows:1fr auto; gap:8px 10px; align-items:start; color:inherit; transition:transform .16s ease,border-color .16s ease,background .16s ease; }
.analytics-export-card:hover { transform:translateY(-2px); border-color:rgba(22,216,255,.2); background:rgba(22,216,255,.035); }
.analytics-export-card > span:nth-child(2) { min-width:0; display:grid; gap:4px; }
.analytics-export-card strong { font-size:.76rem; }
.analytics-export-card small { color:var(--muted); font-size:.6rem; line-height:1.4; }
.analytics-export-card > b { grid-column:2; color:#8eeafb; font-size:.65rem; }
.export-icon { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(22,216,255,.18); border-radius:10px; color:#a7eff8; background:rgba(22,216,255,.055); font-size:.64rem; font-weight:950; }
.export-locked { grid-column:1/-1; margin-top:0; }
.analytics-methodology { margin-top:22px; }
.analytics-method-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.analytics-method-grid > div { padding:11px; border:1px solid rgba(255,255,255,.055); border-radius:11px; background:rgba(255,255,255,.018); }
.analytics-method-grid strong { font-size:.73rem; }
.analytics-method-grid p { margin:5px 0 0; color:var(--muted); font-size:.65rem; line-height:1.5; }

@media(max-width:1280px){
  .analytics-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .analytics-rankings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .analytics-export-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .analytics-preset-row{align-items:flex-start;flex-direction:column}.analytics-preset-tabs{justify-content:flex-start}
  .analytics-date-form{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-date-form .button{width:100%}.analytics-date-form small{align-self:end}
  .analytics-main-grid,.analytics-secondary-grid{grid-template-columns:1fr}.analytics-chart-wrap{min-height:230px}
  .analytics-rankings-grid{grid-template-columns:1fr}.analytics-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .admin-hero-actions{align-items:flex-start}.analytics-period-aside{min-width:0}
  .analytics-section-head{align-items:flex-start;flex-direction:column}.analytics-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .analytics-date-form{grid-template-columns:1fr}.analytics-date-form small{align-self:auto}.analytics-export-grid{grid-template-columns:1fr}
  .analytics-distribution>div{grid-template-columns:1fr}.analytics-ranking-row{grid-template-columns:minmax(0,1fr) 65px}.analytics-method-grid{grid-template-columns:1fr}
  .analytics-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-legend{justify-content:flex-start}.analytics-chart{height:210px}
}
@media(max-width:440px){
  .analytics-kpi-grid,.analytics-snapshot-grid{grid-template-columns:1fr}.analytics-kpi-card>small{min-height:0}.analytics-preset-tabs{gap:4px}.analytics-preset{font-size:.64rem;padding:6px 9px}
}
.analytics-three-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:12px; }
.analytics-ranking-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
@media(max-width:1280px){.analytics-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.analytics-three-grid,.analytics-ranking-grid{grid-template-columns:1fr}}

/* 0.7.2 – Portal Toasts */
.notification-bell-count.is-empty,.nav-count.is-empty{display:none}
.portal-toast-stack{position:fixed;right:22px;bottom:22px;z-index:160;display:flex;max-width:min(380px,calc(100vw - 32px));width:100%;flex-direction:column;gap:10px;pointer-events:none}
.portal-toast{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:8px;overflow:hidden;border:1px solid rgba(22,216,255,.18);border-radius:15px;background:rgba(8,13,26,.82);box-shadow:0 18px 50px rgba(0,0,0,.35),0 0 28px rgba(22,216,255,.07);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);opacity:0;transform:translate3d(18px,8px,0) scale(.985);transition:opacity .24s ease,transform .24s ease,border-color .2s ease;pointer-events:auto}
.portal-toast::before{position:absolute;inset:0 auto 0 0;width:3px;content:"";background:linear-gradient(180deg,var(--neon-cyan),var(--neon-violet))}
.portal-toast.is-support{border-color:rgba(255,69,210,.18)}.portal-toast.is-support::before{background:linear-gradient(180deg,var(--neon-pink),var(--neon-violet))}
.portal-toast.is-finance{border-color:rgba(166,243,101,.18)}.portal-toast.is-finance::before{background:linear-gradient(180deg,var(--neon-lime),var(--neon-cyan))}
.portal-toast.is-server{border-color:rgba(22,216,255,.2)}
.portal-toast.is-visible{opacity:.96;transform:none}.portal-toast.is-leaving{opacity:0;transform:translate3d(20px,0,0) scale(.98)}
.portal-toast-copy{min-width:0;padding:13px 8px 13px 16px;display:grid;gap:4px;color:inherit;text-decoration:none}
.portal-toast-copy:hover strong{color:#fff}.portal-toast-meta{color:#7fddeb;font-size:.61rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.portal-toast-copy strong{overflow:hidden;color:#eefbff;font-size:.78rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap;transition:color .15s ease}.portal-toast-body{display:-webkit-box;overflow:hidden;color:#aebdca;font-size:.67rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.portal-toast-close{width:30px;height:30px;margin:8px 7px 0 0;display:grid;place-items:center;border:0;border-radius:9px;color:#8ea0ae;background:transparent;font-size:1rem;line-height:1;cursor:pointer;transition:color .15s ease,background .15s ease}.portal-toast-close:hover,.portal-toast-close:focus-visible{color:#fff;background:rgba(255,255,255,.07)}
@media(max-width:680px){.portal-toast-stack{right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}.portal-toast{background:rgba(8,13,26,.9)}.portal-toast-body{-webkit-line-clamp:1}}
@media(prefers-reduced-motion:reduce){.portal-toast{transition:opacity .01ms linear;transform:none}.portal-toast.is-leaving{transform:none}}

/* 0.7.2 – System & Betrieb */
.system-hero{align-items:flex-start}.system-version-chip{min-width:112px;padding:9px 12px;display:grid;gap:2px;border:1px solid rgba(22,216,255,.16);border-radius:12px;background:rgba(22,216,255,.04)}.system-version-chip span{color:var(--muted);font-size:.58rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.system-version-chip strong{font-size:.84rem}
.system-setup-panel{margin-bottom:14px;border-color:rgba(255,178,93,.2);background:linear-gradient(135deg,rgba(255,178,93,.055),rgba(154,97,255,.025))}.system-setup-panel h3{margin:5px 0}.system-setup-panel p{max-width:900px;color:var(--muted);line-height:1.55}
.system-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.system-health-card{min-height:105px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;border-top:2px solid rgba(22,216,255,.24)}.system-health-card.is-ok{border-top-color:rgba(166,243,101,.38)}.system-health-card.is-danger{border-top-color:rgba(255,91,109,.42)}.system-health-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(22,216,255,.14);border-radius:12px;color:#92eaf5;background:rgba(22,216,255,.045);font-size:.61rem;font-weight:950;letter-spacing:.05em}.system-health-card>div{min-width:0;display:grid;gap:3px}.system-health-card small{color:var(--muted);font-size:.59rem;text-transform:uppercase;letter-spacing:.06em}.system-health-card strong{font-size:.9rem}.system-health-card>div>span{overflow:hidden;color:#7d909f;font-size:.61rem;text-overflow:ellipsis;white-space:nowrap}
.system-services-panel{margin-bottom:12px}.system-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.system-service-row{min-height:58px;padding:9px 10px;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.018)}.system-service-row>div{min-width:0;display:grid;gap:2px}.system-service-row strong{font-size:.71rem}.system-service-row small{overflow:hidden;color:var(--muted);font-size:.57rem;text-overflow:ellipsis;white-space:nowrap}.system-dot{width:8px;height:8px;border-radius:50%;background:#6d7b88;box-shadow:0 0 0 4px rgba(109,123,136,.08)}.system-dot.ok{background:#8fe8b2;box-shadow:0 0 0 4px rgba(143,232,178,.08),0 0 10px rgba(143,232,178,.14)}.system-dot.warning{background:#ffbd72;box-shadow:0 0 0 4px rgba(255,189,114,.08)}.system-dot.danger{background:#ff7486;box-shadow:0 0 0 4px rgba(255,116,134,.08)}.system-dot.muted{background:#687684}.system-facts-row{margin-top:10px;padding-top:10px;display:flex;flex-wrap:wrap;gap:8px 16px;border-top:1px solid rgba(255,255,255,.055);color:var(--muted);font-size:.63rem}.system-facts-row strong{margin-left:4px;color:#dce9ef}
.system-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.setting-toggle{min-height:78px;padding:12px;display:flex!important;align-items:flex-start!important;gap:10px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:rgba(255,255,255,.018)}.setting-toggle input{width:18px!important;height:18px!important;min-height:0!important;margin-top:2px;flex:0 0 auto}.setting-toggle span{display:grid;gap:4px}.setting-toggle strong{font-size:.72rem}.setting-toggle small{color:var(--muted);font-size:.61rem;line-height:1.45}.system-settings-submit{grid-column:1/-1}
.system-backup-table td{vertical-align:middle}.system-backup-table td>strong,.system-backup-table td>small{display:block}.system-backup-table td>small{margin-top:3px;color:var(--muted);font-size:.57rem}.system-backup-table .row-actions{align-items:flex-start;flex-wrap:wrap}.backup-delete{position:relative}.backup-delete summary{padding:6px 8px;border:1px solid rgba(255,116,134,.15);border-radius:8px;color:#f59aaa;background:rgba(255,116,134,.035);font-size:.61rem;font-weight:850;cursor:pointer;list-style:none}.backup-delete summary::-webkit-details-marker{display:none}.backup-delete[open] form{position:absolute;right:0;top:calc(100% + 5px);z-index:20;width:250px;padding:10px;display:grid;gap:8px;border:1px solid rgba(255,116,134,.2);border-radius:11px;background:#0a101d;box-shadow:0 16px 36px rgba(0,0,0,.38)}.backup-delete label{font-size:.6rem}.backup-delete input{min-height:34px;margin-top:4px;font-size:.64rem}
.system-restore-confirm{margin-bottom:12px}.system-restore-confirm p{max-width:940px;color:#b7aeb4;line-height:1.55}.system-restore-target{margin:12px 0;padding:12px;display:grid;gap:3px;border:1px solid rgba(255,116,134,.16);border-radius:11px;background:rgba(255,116,134,.035)}.system-restore-target span,.system-restore-target small{color:var(--muted);font-size:.61rem}.system-restore-target strong{font-size:.88rem}.danger-check{padding:10px;border:1px solid rgba(255,116,134,.13);border-radius:10px;background:rgba(255,116,134,.025)}
.system-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.system-timeline{display:grid;gap:2px}.system-timeline-row{min-height:55px;padding:8px 0;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid rgba(255,255,255,.05)}.system-timeline-row:last-child{border-bottom:0}.system-timeline-row>div{min-width:0;display:grid;gap:2px}.system-timeline-row strong{font-size:.68rem}.system-timeline-row small{color:var(--muted);font-size:.57rem}.system-error-text{margin-top:3px;color:#e9a3ad;font-size:.59rem;line-height:1.35}.system-migrations-panel{margin-top:12px}.system-migration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.system-migration-grid>div{padding:9px;display:grid;gap:3px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(255,255,255,.016)}.system-migration-grid code{overflow:hidden;color:#a8e9f1;font-size:.6rem;text-overflow:ellipsis;white-space:nowrap}.system-migration-grid small{color:var(--muted);font-size:.56rem}
.badge.ok{color:#9aebbb;border-color:rgba(143,232,178,.18);background:rgba(143,232,178,.05)}.badge.warning{color:#ffc681;border-color:rgba(255,189,114,.18);background:rgba(255,189,114,.05)}.badge.danger{color:#ff9baa;border-color:rgba(255,116,134,.18);background:rgba(255,116,134,.05)}.badge.muted{color:#9aabb7;border-color:rgba(154,171,183,.13);background:rgba(154,171,183,.035)}
@media(max-width:1180px){.system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-migration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.system-service-grid,.system-history-grid,.system-settings-grid{grid-template-columns:1fr}.system-settings-submit{grid-column:auto}.system-backup-table{min-width:860px}}
@media(max-width:560px){.system-health-grid{grid-template-columns:1fr}.system-migration-grid{grid-template-columns:1fr}.system-facts-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.system-hero .admin-hero-actions{width:100%;align-items:stretch}.system-version-chip{min-width:0}.system-hero .button{width:100%}}

/* 0.11.0–0.12.0 · beobachtbarer Betrieb, Readiness und Assurance */
.operations-overview{margin:12px 0;padding:18px;border:1px solid rgba(22,216,255,.12);border-radius:16px;background:radial-gradient(circle at 100% 0,rgba(22,216,255,.055),transparent 34%),rgba(10,15,28,.72);box-shadow:var(--shadow)}
.operations-section-head{align-items:flex-start}.operations-section-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.operations-section-head p,.readiness-panel .section-head p,.assurance-card .section-head p,#assurance-settings .section-head p{max-width:780px;margin:5px 0 0;color:var(--muted);font-size:.66rem;line-height:1.5}.operations-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0}.operations-kpi-grid .stat-card{min-height:104px}.operations-kpi-grid .stat-card.is-danger{border-color:rgba(255,91,109,.24);background:linear-gradient(145deg,rgba(255,91,109,.065),rgba(12,17,31,.9))}.operations-alert-list{display:grid;gap:8px}.operations-alert-card{min-width:0;padding:12px;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:11px;align-items:start;border:1px solid rgba(255,189,114,.14);border-radius:12px;background:rgba(255,189,114,.025)}.operations-alert-card.severity-critical{border-color:rgba(255,91,109,.19);background:rgba(255,91,109,.028)}.operations-alert-card.status-resolved{border-color:rgba(143,232,178,.1);background:rgba(143,232,178,.018);opacity:.72}.operations-alert-card>.system-dot{margin-top:5px}.operations-alert-copy{min-width:0;display:grid;gap:4px}.operations-alert-title{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.operations-alert-title strong{font-size:.73rem}.operations-alert-copy p{margin:0;color:var(--text-soft);font-size:.64rem;line-height:1.48}.operations-alert-copy small{color:var(--muted);font-size:.57rem;line-height:1.42}.operations-ack{position:relative}.operations-ack>summary{min-height:32px;padding:7px 9px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:var(--text-soft);font-size:.6rem;font-weight:800;cursor:pointer;list-style:none}.operations-ack>summary::-webkit-details-marker{display:none}.operations-ack[open]>form{position:absolute;right:0;top:calc(100% + 5px);z-index:20;width:260px;padding:10px;display:grid;gap:8px;border:1px solid var(--line);border-radius:11px;background:#0a101d;box-shadow:0 16px 36px rgba(0,0,0,.38)}.operations-ack label{font-size:.58rem}.operations-ack input{min-height:36px;margin-top:4px}
.operations-trend-card{margin:0 0 13px;padding:12px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(4,9,18,.42)}.operations-trend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.operations-trend-head>div:first-child{display:grid;gap:2px}.operations-trend-head strong{font-size:.68rem}.operations-trend-head small{color:var(--muted);font-size:.57rem}.operations-trend-head>div:last-child{display:flex;gap:10px;color:var(--muted);font-size:.56rem}.operations-trend-head span{display:flex;align-items:center;gap:4px}.operations-trend-head i{width:8px;height:8px;border-radius:2px;background:#4fe4f5}.operations-trend-head i.errors{background:#ff6f88}.operations-trend-plot{height:86px;margin-top:10px;padding-top:5px;display:grid;grid-template-columns:repeat(36,minmax(3px,1fr));gap:3px;align-items:end;border-bottom:1px solid rgba(255,255,255,.07);overflow:hidden}.operations-trend-point{height:100%;display:flex;align-items:end;gap:1px}.operations-trend-point i{width:50%;height:var(--bar);min-height:2px;border-radius:2px 2px 0 0;background:linear-gradient(180deg,#60e7f7,rgba(22,216,255,.32))}.operations-trend-point i.errors{background:linear-gradient(180deg,#ff758c,rgba(255,91,109,.3))}.operations-trend-axis{margin-top:5px;display:flex;justify-content:space-between;color:var(--muted);font-size:.53rem}
.readiness-panel{scroll-margin-top:86px}.readiness-summary{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(143,232,178,.14);border-radius:12px;background:rgba(143,232,178,.025)}.readiness-summary.status-warning{border-color:rgba(255,189,114,.16);background:rgba(255,189,114,.025)}.readiness-summary.status-failed{border-color:rgba(255,91,109,.2);background:rgba(255,91,109,.03)}.readiness-summary>div:first-child{display:grid;gap:3px}.readiness-summary span,.readiness-summary small{color:var(--muted);font-size:.59rem}.readiness-summary strong{font-size:.93rem}.readiness-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.readiness-counts span{padding:5px 8px;border:1px solid currentColor;border-radius:999px;font-weight:800}.readiness-counts .ok{color:#9cecc0}.readiness-counts .warning{color:#ffd096}.readiness-counts .danger{color:#ff9dac}.readiness-details{margin-top:9px}.readiness-details>summary{padding:9px 11px;border:1px solid rgba(255,255,255,.07);border-radius:9px;color:var(--text-soft);font-size:.64rem;font-weight:800;cursor:pointer}.readiness-check-list{margin-top:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.readiness-check-list>div{min-width:0;padding:9px;display:grid;grid-template-columns:9px minmax(0,1fr);gap:9px;align-items:start;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(255,255,255,.015)}.readiness-check-list .system-dot{margin-top:4px}.readiness-check-list>div>div{min-width:0;display:grid;gap:2px}.readiness-check-list strong{font-size:.64rem}.readiness-check-list small{color:var(--muted);font-size:.57rem;line-height:1.4}.operations-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.operations-settings-grid>label{min-width:0}.operations-toggle{grid-column:span 2;min-height:78px}.operations-settings-submit{grid-column:1/-1}
.assurance-grid{margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;scroll-margin-top:86px}.assurance-card{min-width:0;display:flex;flex-direction:column;gap:10px}.assurance-card>.section-head{margin-bottom:0}.assurance-summary{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(143,232,178,.14);border-radius:12px;background:rgba(143,232,178,.025)}.assurance-summary.status-warning,.assurance-summary.status-running{border-color:rgba(255,189,114,.17);background:rgba(255,189,114,.025)}.assurance-summary.status-failed{border-color:rgba(255,91,109,.2);background:rgba(255,91,109,.03)}.assurance-summary>div:first-child{min-width:0;display:grid;gap:3px}.assurance-summary>div:first-child>span,.assurance-summary small{color:var(--muted);font-size:.58rem}.assurance-summary>div:first-child>strong{font-size:.88rem}.assurance-metrics{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.assurance-metrics>span{min-width:72px;padding:6px 8px;display:grid;gap:2px;border:1px solid rgba(255,255,255,.06);border-radius:9px;color:var(--muted);font-size:.52rem;text-align:right}.assurance-metrics b{color:var(--text);font-size:.65rem}.assurance-message{margin:0;color:var(--text-soft);font-size:.61rem;line-height:1.5}.assurance-action-form{margin-top:auto;padding-top:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;border-top:1px solid rgba(255,255,255,.055)}.assurance-action-form label{min-width:0}.assurance-action-form .button{min-height:42px}.assurance-action-form.single-action{grid-template-columns:minmax(0,1fr) auto}.assurance-action-form p{margin:0;color:var(--muted);font-size:.58rem;line-height:1.45}.assurance-settings-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.assurance-settings-grid>label{min-width:0}.assurance-settings-grid .form-actions{grid-column:1/-1}.assurance-card .readiness-check-list{grid-template-columns:1fr}
.assurance-history{border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.012)}.assurance-history>summary{padding:9px 11px;color:var(--text-soft);font-size:.59rem;font-weight:800;cursor:pointer}.assurance-history>div{padding:0 9px 9px;display:grid;gap:5px}.assurance-history article{min-width:0;padding:7px;display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:8px;align-items:center;border-top:1px solid rgba(255,255,255,.045)}.assurance-history article>.system-dot{margin:0}.assurance-history article>div{min-width:0;display:grid;gap:2px}.assurance-history strong{font-size:.6rem;overflow-wrap:anywhere}.assurance-history small{color:var(--muted);font-size:.53rem;line-height:1.4}.assurance-history .badge{white-space:nowrap}
@media(max-width:1200px){.operations-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.operations-settings-grid,.assurance-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.assurance-grid{grid-template-columns:1fr}.assurance-card .readiness-check-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.operations-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-settings-grid,.assurance-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-toggle{grid-column:1/-1}.readiness-check-list,.assurance-card .readiness-check-list{grid-template-columns:1fr}}
@media(max-width:620px){.operations-overview{padding:14px}.operations-section-head{align-items:stretch;flex-direction:column}.operations-section-actions{align-items:stretch;justify-content:flex-start;flex-direction:column}.operations-section-head form,.operations-section-head .button{width:100%}.operations-kpi-grid,.operations-settings-grid,.assurance-settings-grid{grid-template-columns:1fr}.operations-toggle,.operations-settings-submit{grid-column:auto}.operations-alert-card{grid-template-columns:10px minmax(0,1fr)}.operations-ack{grid-column:1/-1}.operations-ack>summary{width:100%}.operations-ack[open]>form{position:static;width:100%;margin-top:7px;box-shadow:none}.readiness-panel .section-head{align-items:stretch;flex-direction:column}.readiness-panel .section-head form,.readiness-panel .section-head .button{width:100%}.readiness-summary,.assurance-summary{align-items:flex-start;flex-direction:column}.readiness-counts,.assurance-metrics{justify-content:flex-start}.assurance-action-form,.assurance-action-form.single-action{grid-template-columns:1fr}.assurance-action-form .button{width:100%}.assurance-settings-grid .form-actions{grid-column:auto}.assurance-history article{grid-template-columns:9px minmax(0,1fr)}.assurance-history .badge{grid-column:2;justify-self:start}}
.button.warning{border-color:rgba(255,189,114,.25);background:rgba(255,189,114,.06);color:#ffc57f;box-shadow:none}.button.warning:hover{border-color:rgba(255,189,114,.4);background:rgba(255,189,114,.1)}

/* 0.14.3 · System-/Recovery-Layout */
.button.tiny{min-height:32px;height:32px;padding:0 10px;border-radius:8px;font-size:.63rem;line-height:1.2;white-space:nowrap}
.assurance-grid{align-items:stretch}
.assurance-card{gap:14px;overflow:hidden}
.assurance-card>.section-head{min-width:0;align-items:flex-start}
.assurance-card-content{min-width:0;display:grid;gap:10px;align-content:start;flex:1 1 auto}
.assurance-card-content>.empty-state{margin:0}
.assurance-card-content>details,.assurance-summary>*{min-width:0}
.assurance-action-form,.assurance-action-form.single-action{margin-top:0;padding-top:13px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;border-top:1px solid rgba(255,255,255,.065)}
.assurance-action-form label{min-width:0;display:grid;gap:7px}
.assurance-action-form select{width:100%;min-height:var(--control-h)}
.assurance-action-row{min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px}
.assurance-action-row>small{min-width:0;flex:1 1 260px;color:var(--muted);font-size:.58rem;line-height:1.45;overflow-wrap:anywhere}
.assurance-action-row>.button{min-width:190px;min-height:var(--control-h);margin:0;flex:0 0 auto}
.readiness-panel>.section-head>form,.operations-section-actions>form,.section-head-actions>form,.system-hero .admin-hero-actions>form{margin:0;display:flex;align-items:stretch}
.readiness-panel>.section-head>form .button,.operations-section-actions>form .button,.section-head-actions>form .button{min-height:var(--control-h);white-space:nowrap}
.system-backup-table .row-actions{align-items:center;gap:6px}
.system-backup-table .row-actions>form{display:flex;align-items:center}
.backup-delete>summary{min-height:32px;display:flex;align-items:center;justify-content:center;white-space:nowrap}
@media(max-width:1180px){.assurance-grid{grid-template-columns:1fr}.assurance-card .readiness-check-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.assurance-card .readiness-check-list{grid-template-columns:1fr}}
@media(max-width:620px){.assurance-card{gap:12px}.assurance-action-row{align-items:stretch;flex-direction:column}.assurance-action-row>small{flex-basis:auto}.assurance-action-row>.button{width:100%;min-width:0}.button.tiny{height:auto;min-height:36px;white-space:normal}.system-backup-table .row-actions{align-items:stretch}}

/* 0.8.0 – Global search, personal workspace & responsive UX */
.top-search-button,.top-action-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 11px;border:1px solid rgba(255,255,255,.09);border-radius:11px;color:#c9d7e4;background:rgba(255,255,255,.025);font-size:.72rem;font-weight:800;transition:border-color .16s,background .16s,color .16s,transform .16s;white-space:nowrap}
.top-search-button:hover,.top-search-button:focus-visible,.top-action-button:hover,.top-action-button:focus-visible{color:#fff;border-color:rgba(22,216,255,.3);background:rgba(22,216,255,.065);transform:translateY(-1px)}
.top-search-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.top-search-button kbd{padding:3px 5px;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#7f8c9a;background:rgba(0,0,0,.18);font-size:.58rem;font-family:inherit}.icon-only-search{width:42px;padding:0}.icon-only-search svg{width:20px;height:20px}
.save-view-capture{position:relative}.save-view-capture>summary{list-style:none;cursor:pointer}.save-view-capture>summary::-webkit-details-marker{display:none}.save-view-capture[open]>summary{border-color:rgba(255,69,210,.28);background:rgba(255,69,210,.055);color:#fff}.save-view-capture form{position:absolute;right:0;top:calc(100% + 8px);z-index:34;width:min(310px,calc(100vw - 28px));padding:12px;display:grid;gap:9px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:#09101d;box-shadow:0 20px 48px rgba(0,0,0,.38)}.save-view-capture label{margin:0}.save-view-capture label span{font-size:.61rem}.save-view-capture input{min-height:38px}
.global-search-open{overflow:hidden}.global-search-overlay{position:fixed;inset:0;z-index:220;display:grid;align-items:start;justify-items:center;padding:clamp(72px,11vh,125px) 18px 24px}.global-search-overlay[hidden]{display:none}.global-search-backdrop{position:absolute;inset:0;border:0;background:rgba(2,4,10,.7);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.global-search-dialog{position:relative;width:min(720px,100%);max-height:min(680px,calc(100vh - 120px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(22,216,255,.22);border-radius:20px;background:linear-gradient(180deg,rgba(12,18,34,.98),rgba(7,11,23,.98));box-shadow:0 34px 100px rgba(0,0,0,.58),0 0 50px rgba(22,216,255,.06)}
.global-search-input-row{min-height:64px;padding:10px 12px 10px 16px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid rgba(255,255,255,.07)}.global-search-input-row>svg{width:22px;height:22px;fill:none;stroke:#8feaf7;stroke-width:1.8;stroke-linecap:round}.global-search-input-row input{width:100%;min-height:42px;padding:0;border:0;outline:0;background:transparent;color:#f5fbff;font-size:1rem}.global-search-input-row input::placeholder{color:#667686}.global-search-esc{min-height:30px;padding:0 8px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#7f8d99;background:rgba(255,255,255,.025);font-size:.59rem;font-weight:900}.global-search-hint{padding:16px 18px;color:#81909e;font-size:.72rem;line-height:1.5}.global-search-results{min-height:0;overflow:auto;padding:7px}.global-search-result{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid transparent;border-radius:12px;transition:background .12s,border-color .12s}.global-search-result:hover,.global-search-result.is-selected{border-color:rgba(22,216,255,.16);background:linear-gradient(90deg,rgba(22,216,255,.075),rgba(154,97,255,.035))}.global-search-result-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(22,216,255,.13);border-radius:10px;color:#9cecf6;background:rgba(22,216,255,.045);font-size:.7rem;font-weight:950}.global-search-result-copy{min-width:0;display:grid;gap:2px}.global-search-result-copy small{color:#708394;font-size:.56rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.global-search-result-copy strong{overflow:hidden;color:#edf5fa;font-size:.77rem;text-overflow:ellipsis;white-space:nowrap}.global-search-result-copy span{overflow:hidden;color:#8d9dab;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.global-search-result-badge{max-width:145px;padding:5px 7px;overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:999px;color:#99aab8;background:rgba(255,255,255,.025);font-size:.57rem;font-weight:780;text-overflow:ellipsis;white-space:nowrap}.global-search-footer{padding:9px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.07);color:#647484;font-size:.59rem}.global-search-footer a{color:#8deafa;font-weight:800}
.workspace-hero{align-items:center}.workspace-hero-search{flex:0 0 auto}.workspace-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.workspace-metric-card{min-height:105px;padding:15px 17px;display:grid;align-content:center;gap:3px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:linear-gradient(180deg,rgba(17,25,44,.82),rgba(10,15,29,.82));transition:transform .16s,border-color .16s,background .16s}.workspace-metric-card:hover{transform:translateY(-2px);border-color:rgba(22,216,255,.26);background:linear-gradient(180deg,rgba(20,31,52,.9),rgba(11,18,34,.9))}.workspace-metric-card.is-alert{border-color:rgba(245,101,124,.18);background:linear-gradient(180deg,rgba(245,101,124,.045),rgba(10,15,29,.84))}.workspace-metric-card span{color:#8392a0;font-size:.61rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.workspace-metric-card strong{font-size:1.65rem;line-height:1}.workspace-metric-card small{color:#788895;font-size:.6rem}.workspace-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:12px}.workspace-panel{margin:0}.workspace-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-quick-action{position:relative;min-height:78px;padding:12px 34px 12px 13px;display:grid;align-content:center;gap:3px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:rgba(255,255,255,.018);transition:border-color .15s,background .15s,transform .15s}.workspace-quick-action:hover{transform:translateY(-1px);border-color:rgba(22,216,255,.19);background:rgba(22,216,255,.04)}.workspace-quick-action strong{font-size:.7rem}.workspace-quick-action small{color:var(--muted);font-size:.59rem}.workspace-quick-action>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#83e7f5;font-weight:900}.saved-view-list{display:grid;gap:6px}.saved-view-row{min-height:61px;display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;padding:7px 7px 7px 11px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.016)}.saved-view-row>a{min-width:0;display:grid;gap:3px}.saved-view-row>a span{color:#7c8b98;font-size:.56rem;text-transform:uppercase;letter-spacing:.07em}.saved-view-row>a strong{overflow:hidden;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.saved-view-row form{margin:0}.icon-danger-button{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(245,101,124,.12);border-radius:9px;color:#da8d9a;background:rgba(245,101,124,.025);font-size:.9rem}.icon-danger-button:hover{color:#fff;border-color:rgba(245,101,124,.3);background:rgba(245,101,124,.09)}.workspace-settings-panel{margin-top:12px}.workspace-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.workspace-choice{position:relative!important;margin:0!important;cursor:pointer}.workspace-choice>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}.workspace-choice>span{min-height:72px;padding:11px 12px;display:grid;align-content:center;gap:3px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(255,255,255,.017);transition:border-color .15s,background .15s}.workspace-choice>input:checked+span{border-color:rgba(22,216,255,.28);background:rgba(22,216,255,.055);box-shadow:inset 0 0 22px rgba(22,216,255,.025)}.workspace-choice strong{font-size:.67rem}.workspace-choice small{color:var(--muted);font-size:.57rem;line-height:1.35}.workspace-mobile-toggle{margin:11px 0 0!important}.desktop-key-hint{margin-left:5px;padding:2px 5px;border:1px solid rgba(255,255,255,.09);border-radius:6px;color:#83909c;background:rgba(0,0,0,.15);font-size:.55rem}
.global-search-page-panel{padding:14px 16px}.global-search-page-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.global-search-page-form label{margin:0}.search-results-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.search-result-group{margin:0}.search-result-list{display:grid;gap:4px}.search-result-row{min-height:61px;padding:7px 8px;display:grid;grid-template-columns:34px minmax(0,1fr) auto 20px;gap:8px;align-items:center;border:1px solid transparent;border-radius:10px}.search-result-row:hover{border-color:rgba(22,216,255,.14);background:rgba(22,216,255,.035)}.search-result-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(22,216,255,.1);border-radius:9px;color:#8de6f2;background:rgba(22,216,255,.035);font-size:.62rem;font-weight:900}.search-result-copy{min-width:0;display:grid;gap:2px}.search-result-copy strong{overflow:hidden;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.search-result-copy small{overflow:hidden;color:var(--muted);font-size:.57rem;text-overflow:ellipsis;white-space:nowrap}.search-result-arrow{color:#78ddea;font-weight:900}

/* 0.8.0 – whole-portal responsive cleanup */
@media(max-width:1100px){.workspace-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-results-page{grid-template-columns:1fr}.page-head-actions{gap:7px}.top-search-button kbd{display:none}}
@media(max-width:920px){.page-head-actions .top-search-button,.page-head-actions .save-view-capture{display:none}.mobile-head-actions .icon-only-search{display:grid}.workspace-grid{grid-template-columns:1fr}.workspace-hero{align-items:stretch}.workspace-hero-search .button{width:100%}.global-search-overlay{padding-top:82px}.global-search-dialog{max-height:calc(100dvh - 100px)}}
@media(min-width:921px){.mobile-head-actions .icon-only-search{display:none}}
@media(max-width:760px){
  .main-content{width:100%;padding-left:14px;padding-right:14px}.page-head{align-items:flex-start}.page-head h1{font-size:clamp(1.45rem,7vw,1.9rem);overflow-wrap:anywhere}.panel-head{align-items:flex-start}.panel-head>.button,.panel-head>a.button{flex:0 0 auto}.workspace-metric-grid{grid-template-columns:1fr 1fr}.workspace-choice-grid{grid-template-columns:1fr 1fr}.workspace-quick-grid{grid-template-columns:1fr 1fr}.global-search-dialog{border-radius:16px}.global-search-footer>span{display:none}.global-search-footer{justify-content:flex-end}.global-search-result{grid-template-columns:34px minmax(0,1fr)}.global-search-result-badge{grid-column:2;justify-self:start;max-width:100%}.global-search-page-form{grid-template-columns:1fr}.global-search-page-form .button{width:100%}
  .table-wrap{overflow:visible;border:0;background:transparent}.mobile-card-table{min-width:0!important;width:100%;border:0!important;background:transparent}.mobile-card-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mobile-card-table tbody{display:grid;gap:10px}.mobile-card-table tbody tr{display:grid;gap:0;padding:7px 11px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:linear-gradient(180deg,rgba(16,22,38,.92),rgba(9,14,27,.92));box-shadow:0 8px 22px rgba(0,0,0,.1)}.mobile-card-table tbody tr.row-overdue{border-color:rgba(245,101,124,.22);background:linear-gradient(180deg,rgba(245,101,124,.045),rgba(9,14,27,.94))}.mobile-card-table tbody td{width:100%!important;min-width:0!important;padding:8px 0!important;display:grid;grid-template-columns:minmax(88px,34%) minmax(0,1fr);gap:10px;align-items:start;border:0!important;border-bottom:1px solid rgba(255,255,255,.045)!important;background:transparent!important;white-space:normal!important}.mobile-card-table tbody td:last-child{border-bottom:0!important}.mobile-card-table tbody td[data-label]::before{content:attr(data-label);padding-top:2px;color:#70808f;font-size:.56rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.mobile-card-table .table-actions{justify-items:start}.mobile-card-table .table-actions .button{width:100%;max-width:none}.mobile-card-table .mobile-card-empty-cell{display:block!important;padding:0!important;border:0!important}.mobile-card-table .mobile-card-empty-cell::before{display:none}.mobile-card-table details.table-action-details{width:100%}.mobile-card-table details.table-action-details>summary{width:100%;text-align:center}.mobile-card-table .compact-action-form{position:static!important;width:100%!important;min-width:0!important;margin-top:8px!important;box-shadow:none!important}.system-backup-table{min-width:0!important}
  .order-admin-grid,.admin-server-grid{grid-template-columns:1fr}.order-meta-grid,.change-target-card{grid-template-columns:1fr 1fr}.admin-server-card,.order-admin-card{padding:15px}.change-admin-form{grid-template-columns:1fr!important}.admin-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-hero-metrics>div:last-child:nth-child(odd){grid-column:1/-1}.notification-bell-panel{max-height:calc(100dvh - 80px)}
}
@media(max-width:560px){
  .main-content{padding-left:10px;padding-right:10px}.mobile-head{padding-left:9px;padding-right:9px}.brand-mobile{gap:7px}.brand-mobile .brand-logo{width:38px;height:38px;flex-basis:38px}.brand-mobile .brand-copy strong{font-size:.86rem}.mobile-head-actions{gap:5px}.menu-toggle,.notification-bell-button,.top-search-button.icon-only-search{width:40px;height:40px;min-height:40px}.page-head{margin-bottom:14px}.eyebrow{font-size:.59rem}.panel{margin:11px 0;padding:14px}.admin-hero{margin-bottom:11px}.workspace-metric-grid{grid-template-columns:1fr}.workspace-choice-grid,.workspace-quick-grid{grid-template-columns:1fr}.workspace-metric-card{min-height:88px}.workspace-metric-card strong{font-size:1.4rem}.compact-mobile-workspace .workspace-quick-action,.compact-mobile-workspace .workspace-choice>span{min-height:58px;padding-top:9px;padding-bottom:9px}.global-search-overlay{padding:68px 7px 8px}.global-search-dialog{max-height:calc(100dvh - 76px);border-radius:14px}.global-search-input-row{min-height:56px;padding-left:12px}.global-search-input-row input{font-size:.88rem}.global-search-result{padding:8px}.global-search-result-copy strong{font-size:.7rem}.global-search-result-copy span{font-size:.58rem}.save-view-capture form{right:-42px}.order-meta-grid,.change-target-card{grid-template-columns:1fr}.hero-actions .button,.admin-hero-actions .button{width:100%;flex:1 1 100%}.admin-hero-metrics{grid-template-columns:1fr 1fr!important}.system-facts-row{grid-template-columns:1fr!important}.portal-toast-stack{bottom:max(8px,env(safe-area-inset-bottom));right:8px;max-width:calc(100vw - 16px)}.portal-toast{border-radius:13px}.portal-toast-copy{padding-top:11px;padding-bottom:11px}.portal-toast-copy strong{font-size:.73rem}.mobile-card-table tbody td{grid-template-columns:1fr;gap:4px;padding:7px 0!important}.mobile-card-table tbody td[data-label]::before{padding-top:0}.mobile-card-table tbody tr{padding:7px 10px}.work-queue-tabs{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px;scroll-padding-left:10px}.queue-chip{min-height:38px}.filter-actions{display:grid!important;grid-template-columns:1fr!important}.filter-actions .button{width:100%}.stats-grid{gap:9px}.stat-card{padding:15px 16px}.site-footer{font-size:.64rem}
}
@media(max-width:380px){.brand-mobile .brand-copy{display:none}.admin-hero-metrics{grid-template-columns:1fr!important}.admin-hero-metrics>div{grid-column:auto!important}.notification-bell-panel{right:5px!important;width:calc(100vw - 10px)!important}.workspace-metric-card{padding:13px}.global-search-esc{display:none}}
@media(hover:none){.top-search-button:hover,.top-action-button:hover,.workspace-quick-action:hover,.workspace-metric-card:hover{transform:none}}
@media(max-width:920px){.page-head-actions .save-view-capture{display:block}.page-head-actions .save-view-capture .top-action-button{min-height:36px;padding:0 9px;font-size:.65rem}}
@media(max-width:560px){.page-head{gap:10px}.page-head-actions{flex:0 0 auto}.page-head-actions .save-view-capture .top-action-button{font-size:0;width:38px;padding:0}.page-head-actions .save-view-capture .top-action-button::before{content:"+";font-size:1rem;line-height:1}.page-head-actions .save-view-capture form{right:0}}
.admin-server-card[id],.product-admin-card[id]{scroll-margin-top:90px}
@media(max-width:560px){.compact-action-form{min-width:0!important}}
@media(max-width:560px){.desktop-key-hint{display:none}}

/* 0.8.1 Community, VIP and Browser Push */
.vip-mini-badge{display:inline-flex;align-items:center;margin-left:.45rem;padding:.1rem .38rem;border-radius:999px;font-size:.62rem;letter-spacing:.08em;color:#ffe8a3;background:rgba(255,184,0,.12);border:1px solid rgba(255,184,0,.32);vertical-align:middle}
.vip-notice{border-color:rgba(255,184,0,.3);background:linear-gradient(135deg,rgba(255,184,0,.08),rgba(255,70,210,.05))}
.promotion-pill,.vip-benefit-pill{display:inline-flex;width:max-content;max-width:100%;padding:.25rem .55rem;border-radius:999px;font-size:.72rem;font-weight:800;line-height:1.2}
.promotion-pill{background:rgba(22,216,255,.1);border:1px solid rgba(22,216,255,.28);color:#98efff}
.vip-benefit-pill{background:rgba(255,184,0,.1);border:1px solid rgba(255,184,0,.28);color:#ffe29a}
.community-hero .admin-hero-aside strong{font-size:1.05rem}.promotion-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}.promotion-card{display:flex;flex-direction:column;gap:.9rem}.promotion-card.is-inactive{opacity:.7}.promotion-benefits{display:flex;flex-wrap:wrap;gap:.55rem}.promotion-benefits span{padding:.55rem .7rem;border-radius:.75rem;background:rgba(255,255,255,.035);border:1px solid var(--line);font-size:.78rem}.promotion-benefits strong{color:var(--text);margin-right:.25rem}.push-optin-panel{scroll-margin-top:90px}.push-optin-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.push-optin-actions [data-push-message]{flex:1 1 220px}.notification-preference-channels{flex-wrap:wrap}
@media(max-width:900px){.promotion-admin-grid{grid-template-columns:1fr}}
@media(max-width:560px){.promotion-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.push-optin-actions .button{width:100%}.push-optin-actions [data-push-message]{flex-basis:100%}}

.benefit-summary{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.65rem 0 .3rem;padding:.65rem .75rem;border:1px solid rgba(255,255,255,.06);border-radius:.8rem;background:rgba(255,255,255,.025)}.benefit-summary>span:first-child{color:var(--muted);font-size:.72rem}.benefit-summary>span:first-child strong{color:var(--text)}
@media(max-width:560px){.benefit-summary{align-items:flex-start;flex-direction:column}.promotion-pill,.vip-benefit-pill{width:100%;justify-content:center;text-align:center}}

/* 0.8.1 – sichtbare VIP-/Aktionshinweise im User-Dashboard */
.community-user-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px;margin:0 0 20px}.community-user-card,.community-user-cta{min-height:132px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(13,22,44,.92),rgba(8,12,28,.86));padding:18px;box-shadow:0 14px 34px rgba(0,0,0,.17)}.community-user-card{display:flex;flex-direction:column;gap:7px}.community-user-card strong{font-size:1.04rem}.community-user-card p{margin:0;color:var(--muted);line-height:1.5}.community-user-card small{color:var(--muted)}.vip-user-card{border-color:rgba(255,187,61,.34);background:radial-gradient(circle at 90% 0,rgba(255,187,61,.13),transparent 42%),linear-gradient(145deg,rgba(20,20,39,.96),rgba(9,13,29,.9))}.promotion-user-card{border-color:rgba(22,216,255,.28)}.community-user-cta{display:flex;flex-direction:column;justify-content:flex-end;gap:5px;text-decoration:none;color:var(--text);border-color:rgba(255,69,210,.3);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.community-user-cta span{color:var(--muted);font-size:.84rem}.community-user-cta strong{font-size:1.08rem}.community-user-cta:hover{transform:translateY(-2px);border-color:rgba(255,69,210,.55);box-shadow:0 18px 40px rgba(0,0,0,.23),0 0 28px rgba(255,69,210,.08)}
@media(max-width:560px){.community-user-strip{grid-template-columns:1fr;gap:10px}.community-user-card,.community-user-cta{min-height:auto;border-radius:17px;padding:15px}.community-user-cta{min-height:82px}}

/* 0.9.0 – Performance, Pagination & Background Exports */
.pagination{margin-top:14px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.055)}
.pagination-summary{color:var(--muted);font-size:.66rem;font-weight:700}.pagination-pages{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.pagination-link,.pagination-current{min-width:32px;height:32px;padding:0 8px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.075);border-radius:9px;font-size:.66rem;font-weight:850}.pagination-link{color:#b9cbd5;background:rgba(255,255,255,.018);text-decoration:none}.pagination-link:hover{color:#fff;border-color:rgba(22,216,255,.22);background:rgba(22,216,255,.05)}.pagination-current{color:#071019;border-color:rgba(22,216,255,.45);background:linear-gradient(135deg,#71ecff,#9de5ff)}.pagination-gap{padding:0 2px;color:#687987}
.performance-hero{border-color:rgba(22,216,255,.13);background:radial-gradient(circle at 90% 0,rgba(22,216,255,.08),transparent 38%),linear-gradient(145deg,rgba(14,20,39,.95),rgba(8,12,26,.9))}.period-tabs{display:flex;gap:7px;margin:0 0 12px;overflow:auto;padding:2px 0 5px;scrollbar-width:thin}.performance-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:12px}.performance-columns{align-items:start}.performance-query-list{display:grid;gap:8px}.performance-query-card{min-width:0;padding:10px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.018)}.performance-query-card code{display:block;max-height:94px;margin:7px 0;padding:8px;overflow:auto;border-radius:8px;color:#b7eaf2;background:rgba(2,8,16,.55);font-size:.61rem;line-height:1.48;white-space:pre-wrap;overflow-wrap:anywhere}.performance-query-card small{color:var(--muted);font-size:.58rem}.performance-query-card .timeline-head span{color:#ffbd72;font-size:.62rem;font-weight:800}.analytics-export-form{margin:0;border:1px solid var(--line);font:inherit;text-align:left}.analytics-export-form>button{grid-column:2;justify-self:start}.analytics-export-history{margin-top:12px}.analytics-export-status-completed{border-color:rgba(166,243,101,.25);color:#bff28f}.analytics-export-status-failed{border-color:rgba(255,91,109,.25);color:#ff9aa7}.analytics-export-status-queued,.analytics-export-status-running{border-color:rgba(22,216,255,.22);color:#91eaf7}.analytics-export-status-expired{opacity:.65}
@media(max-width:1280px){.performance-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.performance-columns{grid-template-columns:1fr}.pagination{align-items:flex-start;flex-direction:column}.pagination-pages{justify-content:flex-start}.performance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.performance-kpi-grid{grid-template-columns:1fr}.pagination-pages{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(32px,max-content));justify-content:start}.pagination .button{width:auto!important}.performance-query-card .timeline-head{align-items:flex-start;flex-direction:column}.period-tabs{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.analytics-export-form>button{width:100%;grid-column:1/-1}.analytics-export-card{grid-template-columns:34px minmax(0,1fr)}}

/* 0.9.1 – UI consistency, resilient controls & layout polish */
/* Native choice controls must never inherit the full-width text-input box.
   Keep this generic safety net so newly added checkboxes/radios cannot become
   40px/100%-wide blocks when a view forgets a component-specific class. */
input[type="checkbox"], input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  flex: 0 0 18px;
  box-shadow: none;
  accent-color: var(--neon-cyan);
}
input[type="checkbox"]:focus, input[type="radio"]:focus {
  box-shadow: 0 0 0 3px rgba(49,153,244,.105);
}

:root { --panel-gap: 16px; }

/* Checkbox/toggle rows are a reusable component. Do not let generic input rules
   stretch native checkboxes to full field width/height. */
.check-row {
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 11px 12px;
  display: grid !important;
  grid-template-columns: 20px minmax(0,1fr);
  align-items: start !important;
  gap: 10px !important;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8,13,23,.52);
  color: var(--text-soft);
  cursor: pointer;
}
.check-row:hover { border-color: rgba(99,124,156,.46); background: rgba(13,19,31,.64); }
.check-row > input[type="checkbox"] {
  appearance: auto;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 4px;
  box-shadow: none !important;
  accent-color: var(--neon-cyan);
}
.check-row > span { min-width: 0; display: grid !important; gap: 3px; }
.check-row > span > strong { color: var(--text); font-size: .78rem; line-height: 1.3; }
.check-row > span > small { margin: 0; color: var(--muted); font-size: .68rem; font-weight: 500; line-height: 1.42; }

/* Queue pills: count is visually separated instead of being glued to the label. */
.queue-chip { gap: 8px; }
.queue-chip > strong {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #c8d4df;
  font-size: .67rem;
  line-height: 1;
}
.queue-chip.is-active > strong { color: #06131b; border-color: rgba(116,234,255,.52); background: #79e8fa; }
.queue-chip.attention > strong { color: #ff9bad; border-color: rgba(245,101,124,.22); background: rgba(245,101,124,.08); }
.queue-chip.attention.is-active > strong { color: #26070d; background: #ff9bad; }

/* Technical count cards were previously unstyled, which concatenated labels/counts. */
.system-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.system-metric-grid > div {
  min-width: 0;
  min-height: 80px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 12px;
  background: rgba(7,12,21,.48);
}
.system-metric-grid span { color: var(--muted); font-size: .68rem; font-weight: 750; line-height: 1.35; }
.system-metric-grid strong { color: var(--text); font-size: 1.35rem; line-height: 1; letter-spacing: -.03em; }

/* Community settings: numeric benefits and toggles get their own grids. */
.community-benefit-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; margin-bottom: 12px; }
.community-toggle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.community-settings-actions { margin-top: 14px; }
.community-form-note { margin: 0 0 14px; }
.promotion-create-card { padding: 0; overflow: hidden; }
.promotion-create-card > summary { width: 100%; min-height: 54px; border: 0; border-radius: 0; box-shadow: none; }
.promotion-create-card[open] > summary { border-bottom: 1px solid var(--line); }
.promotion-create-card > form { padding: 17px; }
.promotion-create-grid { grid-template-columns: repeat(5,minmax(0,1fr)); align-items: start; }
.promotion-create-grid .promotion-active-field { align-self: end; min-height: var(--control-h); }

/* Settings: stop bottom-aligning fields with helper text; give each section rhythm. */
.settings-page-form { display: grid; gap: 0; }
.settings-section { padding: 4px 0 22px; }
.settings-section + .settings-section { padding-top: 22px; border-top: 1px solid var(--line); }
.settings-section .panel-head { margin-bottom: 10px; }
.settings-section > .muted { margin: 0 0 14px; }
.settings-section .form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 14px 15px; }
.settings-section label { align-self: start; }
.settings-section label > small { min-height: 0; margin-top: 0; color: var(--muted); font-size: .68rem; font-weight: 500; line-height: 1.42; }
.settings-section .notice { margin-top: 14px; }
.settings-page-actions { margin-top: 2px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Ticket detail: keep secondary history/notices in the main column so a tall
   workflow sidebar cannot create a large blank block on the left. */
.ticket-main-secondary-grid { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: 16px; }
.ticket-main-secondary-grid > .panel { margin: 0; }
.admin-ticket-layout-clean { grid-template-columns: minmax(0,1fr) minmax(330px,390px); gap: 18px; }
.workflow-panel .form-actions { margin-top: 4px; }
.workflow-panel .button { min-width: 0; }
.action-panel .notice { margin: 0; }
.thread-panel .thread { min-height: 0; }

/* Roles page: predictable controls, compact permission rows and no layout jump. */
.role-basic-grid { align-items: start; }
.role-active-toggle { min-height: 70px; align-self: end; }
.permission-row > input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; padding: 0; }
.member-role-card > .check-row { min-height: 64px; }
.role-load-warning { margin-bottom: 16px; }

/* User dashboard and wallet – make action cards feel intentional rather than empty. */
.community-user-cta { justify-content: center; min-height: 132px; position: relative; overflow: hidden; }
.community-user-cta::after { content: "→"; position: absolute; right: 18px; bottom: 13px; color: rgba(255,255,255,.26); font-size: 2rem; font-weight: 900; }
.community-user-cta p { max-width: 330px; margin: 2px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.wallet-action-form { display: grid; gap: 12px; }
.wallet-action-form .button { margin-top: 0; }
.wallet-action-panel { display: flex; flex-direction: column; }
.wallet-action-panel > p { margin-top: 2px; }
.wallet-action-panel .wallet-action-form { margin-top: auto; }

/* Consistent section/title wrapping and long values. */
.section-title-row { gap: 14px; }
.section-title-row > * { min-width: 0; }
.panel-head > * { min-width: 0; }
.panel-head small, .section-title-row .muted { overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; }

@media(max-width:1180px) {
  .community-benefit-grid, .community-toggle-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .promotion-create-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .settings-section .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ticket-main-secondary-grid { grid-template-columns: 1fr; }
}
@media(max-width:900px) {
  .admin-ticket-layout-clean { grid-template-columns: 1fr; }
  .admin-ticket-side .sticky-panel { position: static; }
  .community-benefit-grid, .community-toggle-grid { grid-template-columns: 1fr; }
  .promotion-create-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px) {
  .settings-section .form-grid, .promotion-create-grid { grid-template-columns: 1fr; }
  .system-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .community-user-cta { min-height: 96px; align-items: flex-start; }
  .role-active-toggle { align-self: auto; }
}
@media(max-width:420px) {
  .system-metric-grid { grid-template-columns: 1fr; }
  .check-row { min-height: 0; }
}
.settings-info-card { display:grid; gap:8px; }
.settings-info-lines { display:grid; gap:5px; }
.settings-info-lines > span { min-width:0; display:flex; flex-wrap:wrap; gap:7px; align-items:baseline; color:var(--muted); font-size:.73rem; }
.settings-info-lines code { color:#b9dbe5; }
.settings-info-card > small { color:var(--muted); line-height:1.45; }
.fatal-error-card { width:min(100%,620px); text-align:left; }
.fatal-error-card h1 { margin:7px 0 10px; font-size:clamp(1.8rem,5vw,2.6rem); }
.fatal-error-card p { margin:0 0 16px; }
.fatal-error-id { margin:0 0 18px; padding:11px 12px; display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.025); }
.fatal-error-id span { color:var(--muted); font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.fatal-error-id code { color:#bceef6; font-size:.75rem; }
@media(max-width:560px){.fatal-error-id{align-items:flex-start;flex-direction:column}}

/* PayPal sale/donation modes: separate intent, review state and irreversible booking action. */
.payment-mode-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 15px; }
.payment-mode-choice { position:relative; margin:0!important; cursor:pointer; }
.payment-operation-grid { grid-template-columns:minmax(280px,1.35fr) minmax(230px,.65fr)!important; margin-bottom:15px; }
.payment-operation-select select { font-weight:800; }
.payment-mode-state { min-height:76px; padding:13px 15px; display:grid; align-content:center; gap:4px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.018); }
.payment-mode-state strong { font-size:.78rem; }
.payment-mode-state small { color:var(--muted); font-size:.66rem; line-height:1.45; }
.payment-mode-state.is-sale { border-color:rgba(22,216,255,.24); background:rgba(22,216,255,.055); }
.payment-mode-state.is-donation { border-color:rgba(171,82,255,.3); background:rgba(171,82,255,.075); }
.payment-mode-choice > input { position:absolute!important; width:1px!important; height:1px!important; min-height:0!important; opacity:0!important; pointer-events:none; }
.payment-mode-choice > span { min-height:104px; padding:16px; display:grid; align-content:center; gap:6px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.018); transition:border-color .16s,background .16s,box-shadow .16s,transform .16s; }
.payment-mode-choice:hover > span { transform:translateY(-1px); border-color:rgba(22,216,255,.22); }
.payment-mode-choice > input:checked + span { border-color:rgba(22,216,255,.38); background:linear-gradient(145deg,rgba(22,216,255,.075),rgba(154,97,255,.04)); box-shadow:inset 0 0 28px rgba(22,216,255,.035); }
.payment-mode-summary { cursor:default; opacity:.58; }
.payment-mode-summary:hover > span { transform:none; border-color:var(--line); }
.payment-mode-summary.is-selected { opacity:1; }
.payment-mode-summary.is-selected > span { border-color:rgba(22,216,255,.38); background:linear-gradient(145deg,rgba(22,216,255,.075),rgba(154,97,255,.04)); box-shadow:inset 0 0 28px rgba(22,216,255,.035); }
.payment-mode-summary[data-paypal-mode-summary="donation"].is-selected > span { border-color:rgba(171,82,255,.38); background:linear-gradient(145deg,rgba(171,82,255,.09),rgba(22,216,255,.025)); }
.payment-mode-choice strong { font-size:.82rem; }
.payment-mode-choice small { color:var(--muted); font-size:.68rem; font-weight:500; line-height:1.48; }
.payment-donation-settings { grid-template-columns:minmax(260px,2fr) minmax(0,1fr)!important; }
.mode-badge { display:inline-flex; min-height:28px; align-items:center; padding:4px 10px; border:1px solid var(--line); border-radius:999px; font-size:.66rem; font-weight:850; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.mode-badge.donation { color:#d9b4ff; border-color:rgba(171,82,255,.32); background:rgba(171,82,255,.1); }
.mode-badge.checkout { color:#9cecf6; border-color:rgba(22,216,255,.26); background:rgba(22,216,255,.075); }
.payment-primary-panel { border-color:rgba(22,216,255,.12); background:radial-gradient(circle at 100% 0,rgba(22,216,255,.06),transparent 36%),var(--surface); }
.payment-primary-panel.is-donation-mode { border-color:rgba(171,82,255,.18); background:radial-gradient(circle at 100% 0,rgba(171,82,255,.08),transparent 38%),var(--surface); }
.payment-primary-panel label > small { color:var(--muted); font-size:.66rem; line-height:1.45; }

.donation-user-panel { scroll-margin-top:90px; }
.donation-panel-intro { max-width:900px; margin:-2px 0 14px; line-height:1.55; }
.donation-user-list,.donation-admin-list { display:grid; gap:10px; }
.donation-user-card,.donation-admin-card { min-width:0; padding:15px; border:1px solid rgba(255,255,255,.065); border-radius:14px; background:linear-gradient(180deg,rgba(17,25,44,.62),rgba(9,14,27,.7)); }
.donation-user-card.status-reported,.donation-admin-card.status-reported { border-color:rgba(243,180,85,.25); }
.donation-user-card.status-completed,.donation-admin-card.status-completed { border-color:rgba(67,214,154,.22); }
.donation-user-card.status-rejected,.donation-admin-card.status-rejected { border-color:rgba(245,101,124,.2); }
.donation-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.donation-card-head > div { min-width:0; display:grid; gap:4px; }
.donation-card-head strong,.donation-card-head small { overflow-wrap:anywhere; }
.donation-card-head small { color:var(--muted); font-size:.64rem; }
.badge.donation-started { color:#b5d9f8; border-color:rgba(49,153,244,.28); background:var(--brand-soft); }
.badge.donation-reported { color:#f8ca82; border-color:rgba(243,180,85,.34); background:var(--warning-soft); }
.badge.donation-completed { color:#83ebbf; border-color:rgba(67,214,154,.3); background:var(--success-soft); }
.badge.donation-rejected { color:#ff9bad; border-color:rgba(245,101,124,.34); background:var(--danger-soft); }
.badge.donation-cancelled { color:#aab6be; border-color:rgba(127,140,141,.28); background:rgba(127,140,141,.08); }
.donation-result { margin-top:12px; padding:10px 12px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; border:1px solid var(--line); border-radius:10px; font-size:.69rem; }
.donation-result.success { color:#a9efca; border-color:rgba(67,214,154,.18); background:rgba(67,214,154,.055); }
.donation-result.rejected { color:#f5a6b4; border-color:rgba(245,101,124,.18); background:rgba(245,101,124,.05); }
.donation-result.pending { color:#f7cc91; border-color:rgba(243,180,85,.18); background:rgba(243,180,85,.05); }
.donation-result.cancelled { color:var(--muted); background:rgba(255,255,255,.018); }
.donation-result small { flex-basis:100%; color:var(--muted); }
.donation-user-actions { margin-top:12px; display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; }
.donation-user-actions form { margin:0; }
.donation-report-details { position:relative; }
.donation-report-details > summary { list-style:none; }
.donation-report-details > summary::-webkit-details-marker { display:none; }
.donation-report-form { width:min(440px,calc(100vw - 58px)); margin-top:8px; padding:12px; border:1px solid var(--line); border-radius:12px; background:#0c1220; box-shadow:var(--shadow); }
.donation-report-form textarea { resize:vertical; }

.payment-admin-hero { border-color:rgba(171,82,255,.13); background:radial-gradient(circle at 90% 0,rgba(171,82,255,.09),transparent 40%),linear-gradient(145deg,rgba(14,20,39,.95),rgba(8,12,26,.9)); }

/* 0.9.5 · direkte Zuordnung bereits vorhandener Gameserver */
.manual-assignment-form{display:grid;gap:14px}.manual-assignment-form>.panel{margin:0}.manual-assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-assignment-grid label{align-content:start}.manual-assignment-grid label>small{display:block;margin-top:6px;color:var(--muted);line-height:1.45}.manual-assignment-hero .admin-hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.server-management-actions{display:grid;justify-items:stretch}.selected-user-panel{border-color:rgba(22,216,255,.16);background:linear-gradient(145deg,rgba(13,25,43,.92),rgba(8,13,26,.94))}.selected-user-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted)}.selected-user-meta code{max-width:100%;overflow-wrap:anywhere}.assignment-confirm-panel{display:grid;gap:14px;border-color:rgba(46,204,113,.18)}.assignment-confirm{padding:12px 14px;border:1px solid rgba(46,204,113,.17);border-radius:13px;background:rgba(46,204,113,.045)}.assignment-mode-hero{border-color:rgba(22,216,255,.17)}.assignment-mode-notice{margin-bottom:12px}.assignment-user-row{background:rgba(22,216,255,.018)}.user-table-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.manual-source-label{color:#77e7bd;font-weight:750}.admin-server-card .order-meta-grid>div>small{display:block;margin-top:4px;color:var(--muted);font-weight:500}.manual-assignment-form [hidden]{display:none!important}

@media(max-width:980px){.manual-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.manual-assignment-grid{grid-template-columns:1fr}.manual-assignment-hero .admin-hero-actions,.manual-assignment-hero .admin-hero-actions .button{width:100%}.selected-user-panel .panel-head{align-items:flex-start}.user-table-actions{display:grid;width:100%}.user-table-actions>.button,.user-table-actions>details,.user-table-actions>details>summary{width:100%}}
.donation-admin-panel { scroll-margin-top:90px; }
.donation-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:0 0 14px; }
.donation-kpi-grid > div { min-width:0; min-height:92px; padding:13px 14px; display:grid; align-content:center; gap:4px; border:1px solid rgba(255,255,255,.06); border-radius:12px; background:rgba(255,255,255,.018); }
.donation-kpi-grid > div.is-attention { border-color:rgba(243,180,85,.18); background:rgba(243,180,85,.035); }
.donation-kpi-grid span { color:var(--muted); font-size:.61rem; font-weight:850; letter-spacing:.07em; text-transform:uppercase; }
.donation-kpi-grid strong { font-size:1.45rem; line-height:1; }
.donation-kpi-grid small { color:var(--muted); font-size:.61rem; }
.donation-admin-list { margin-top:14px; }
.donation-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-top:12px; }
.donation-facts > div { min-width:0; padding:9px 10px; display:grid; gap:3px; border:1px solid rgba(255,255,255,.05); border-radius:9px; background:rgba(255,255,255,.015); }
.donation-facts span,.donation-note > span { color:var(--muted); font-size:.58rem; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.donation-facts strong { overflow-wrap:anywhere; font-size:.69rem; }
.donation-note { margin-top:9px; padding:10px 11px; border-left:2px solid rgba(171,82,255,.35); border-radius:0 9px 9px 0; background:rgba(171,82,255,.035); }
.donation-note p { margin:4px 0 0; color:var(--text-soft); font-size:.68rem; line-height:1.5; }
.donation-review-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:10px; margin-top:12px; }
.donation-review-form { min-width:0; margin:0; padding:12px; display:grid; align-content:start; gap:10px; border:1px solid rgba(255,255,255,.06); border-radius:11px; background:rgba(255,255,255,.017); }
.donation-review-form.approve-form { border-color:rgba(67,214,154,.15); }
.donation-review-form.reject-form { border-color:rgba(245,101,124,.13); }
.donation-review-form .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.donation-review-form label { min-width:0; }
.donation-review-form .button { justify-self:start; margin-top:auto; }
.donation-review-head { display:grid; gap:3px; }
.donation-review-head strong { font-size:.72rem; }
.donation-review-head small { color:var(--muted); font-size:.61rem; }

@media(max-width:1050px) {
  .donation-kpi-grid,.donation-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .donation-review-grid { grid-template-columns:1fr; }
}
@media(max-width:680px) {
  .payment-mode-grid,.payment-operation-grid,.payment-donation-settings,.donation-review-form .form-grid { grid-template-columns:1fr!important; }
  .donation-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .donation-card-head { flex-direction:column; }
  .donation-card-head .badge { align-self:flex-start; }
  .donation-user-actions { align-items:stretch; flex-direction:column; }
  .donation-user-actions > .button,.donation-user-actions > details,.donation-user-actions > form,.donation-user-actions button { width:100%; }
  .donation-report-form { width:100%; }
}
@media(max-width:430px) {
  .donation-kpi-grid,.donation-facts { grid-template-columns:1fr; }
}

/* 0.9.9 · GBT-Store */
.store-hero{position:relative;min-width:0;margin-bottom:26px;padding:clamp(22px,4vw,38px);display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:28px;align-items:center;overflow:hidden;border:1px solid rgba(22,216,255,.16);border-radius:20px;background:radial-gradient(circle at 82% 14%,rgba(255,69,210,.13),transparent 36%),radial-gradient(circle at 8% 100%,rgba(22,216,255,.1),transparent 42%),linear-gradient(145deg,rgba(14,21,40,.96),rgba(7,10,24,.96));box-shadow:var(--shadow)}
.store-hero:after{content:"GBT";position:absolute;right:22%;bottom:-31px;color:rgba(255,255,255,.025);font-size:9rem;font-weight:950;line-height:1;pointer-events:none}.store-hero-copy{position:relative;z-index:1;min-width:0}.store-hero-copy h2{max-width:720px;margin:7px 0 10px;font-size:clamp(1.6rem,3.2vw,2.8rem);letter-spacing:-.045em}.store-hero-copy p{max-width:760px;margin:0;color:var(--text-soft);line-height:1.65}.store-hero-actions{margin-top:20px;display:flex;flex-wrap:wrap;gap:9px}.store-balance-card{position:relative;z-index:1;min-width:0;padding:19px;display:grid;gap:7px;border:1px solid rgba(22,216,255,.2);border-radius:16px;background:rgba(6,13,27,.72);box-shadow:inset 0 0 32px rgba(22,216,255,.035)}.store-balance-card>span,.store-balance-card p{color:var(--muted);font-size:.7rem}.store-balance-card>strong{font-size:clamp(1.7rem,3vw,2.45rem);letter-spacing:-.04em}.store-balance-card>strong small{font-size:.7rem;color:#8cecff}.store-balance-card p{margin:0}.store-balance-card a{margin-top:5px;color:#8cecff;font-size:.72rem;font-weight:800}
.store-catalog-section,.store-account-section,.store-admin-section{margin-top:26px;scroll-margin-top:86px}.store-category+.store-category{margin-top:23px}.store-category-head{margin:0 0 11px;padding-bottom:8px;display:flex;align-items:end;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.055)}.store-category-head h3{margin:0;font-size:.92rem}.store-category-head span{color:var(--muted);font-size:.65rem}.store-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.store-product-card{min-width:0;min-height:315px;margin:0!important;padding:18px;display:flex;flex-direction:column;gap:15px;transition:transform .16s,border-color .16s,box-shadow .16s}.store-product-card:hover{transform:translateY(-2px);border-color:rgba(22,216,255,.2)}.store-product-card.is-featured{border-color:rgba(255,69,210,.24);background:radial-gradient(circle at 100% 0,rgba(255,69,210,.075),transparent 40%),var(--surface)}.store-product-card.is-unavailable{opacity:.72}.store-product-top{min-width:0;display:flex;justify-content:space-between;gap:8px;align-items:start}.store-product-tags{min-width:0;display:flex;flex-wrap:wrap;gap:6px}.store-kind-pill,.store-featured-pill,.store-category-pill{display:inline-flex;min-height:25px;align-items:center;padding:4px 8px;border:1px solid rgba(22,216,255,.18);border-radius:999px;background:rgba(22,216,255,.055);color:#a7eef7;font-size:.58rem;font-weight:850;letter-spacing:.035em}.store-featured-pill{border-color:rgba(255,69,210,.25);background:rgba(255,69,210,.075);color:#ffb4ea}.store-category-pill{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.025);color:var(--muted)}.store-product-copy{min-width:0}.store-product-copy h3{margin:0 0 7px;font-size:1.08rem;overflow-wrap:anywhere}.store-product-copy p{margin:0;color:var(--text-soft);font-size:.72rem;line-height:1.55}.store-product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.store-product-facts>span{min-width:0;padding:9px 10px;display:grid;gap:3px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.017)}.store-product-facts small,.store-price span{color:var(--muted);font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.store-product-facts strong{font-size:.69rem;overflow-wrap:anywhere}.store-product-footer{margin-top:auto;padding-top:12px;display:flex;align-items:end;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.055)}.store-price{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:5px}.store-price strong{font-size:1.4rem;letter-spacing:-.04em}
.store-entitlement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.store-entitlement-card{min-width:0;margin:0!important;padding:17px;border-left:3px solid rgba(127,140,141,.28)}.store-entitlement-card.status-active{border-left-color:var(--success)}.store-entitlement-card.status-pending{border-left-color:var(--warning)}.store-entitlement-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.store-entitlement-head h3{margin:4px 0 0;font-size:.95rem}.store-entitlement-timeline{margin-top:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.store-entitlement-timeline>div{min-width:0;padding:9px 10px;display:grid;gap:3px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(255,255,255,.016)}.store-entitlement-timeline span{color:var(--muted);font-size:.56rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.store-entitlement-timeline strong{font-size:.66rem;line-height:1.4;overflow-wrap:anywhere}.store-inline-error{margin:11px 0 0}.store-renew-form{margin-top:12px;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.055)}.store-renew-form>span{display:grid;gap:3px}.store-renew-form strong{font-size:.69rem}.store-renew-form small{color:var(--muted);font-size:.6rem}.store-purchase-history{margin-top:25px}
.store-detail-back{margin:-4px 0 13px}.store-detail-back a{color:#8cecff;font-size:.72rem;font-weight:750}.store-detail-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:16px;align-items:start}.store-detail-main{margin:0!important;padding:clamp(20px,3vw,31px)}.store-detail-main.is-featured{border-color:rgba(255,69,210,.2);background:radial-gradient(circle at 100% 0,rgba(255,69,210,.075),transparent 35%),var(--surface)}.store-detail-main h2{margin:16px 0 8px;font-size:clamp(1.55rem,3vw,2.25rem)}.store-detail-lead{margin:0;color:#cae7ed!important;font-size:.9rem!important;line-height:1.6}.store-detail-description{margin-top:20px;color:var(--text-soft);font-size:.78rem;line-height:1.75}.store-detail-fact-grid{margin:22px 0 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.store-detail-fact-grid>div{min-width:0;padding:11px;display:grid;gap:4px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(255,255,255,.018)}.store-detail-fact-grid span{color:var(--muted);font-size:.58rem;font-weight:850;text-transform:uppercase;letter-spacing:.055em}.store-detail-fact-grid strong{font-size:.72rem;line-height:1.4;overflow-wrap:anywhere}.store-checkout-card{position:sticky;top:18px;margin:0!important;padding:18px;display:grid;gap:16px;border-color:rgba(22,216,255,.17)}.store-checkout-balance{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:baseline}.store-checkout-balance span{color:var(--muted);font-size:.65rem}.store-checkout-balance strong{font-size:.92rem}.store-checkout-balance a{grid-column:1/-1;color:#8cecff;font-size:.62rem;font-weight:750}.store-checkout-price{padding:15px;display:grid;gap:3px;border:1px solid rgba(22,216,255,.14);border-radius:13px;background:linear-gradient(145deg,rgba(22,216,255,.055),rgba(255,69,210,.025))}.store-checkout-price>span{color:var(--muted);font-size:.6rem;text-transform:uppercase;font-weight:850;letter-spacing:.055em}.store-checkout-price>strong{font-size:2rem;letter-spacing:-.045em}.store-checkout-price>strong small{font-size:.65rem;color:#8cecff}.store-checkout-price p{margin:0;color:var(--muted);font-size:.65rem}.store-checkout-form{display:grid;gap:10px}.store-auto-renew-choice,.store-confirm-choice{min-height:78px}.store-checkout-note{color:var(--muted);font-size:.59rem;line-height:1.45}
.store-admin-hero{border-color:rgba(255,69,210,.14);background:radial-gradient(circle at 90% 0,rgba(255,69,210,.09),transparent 38%),linear-gradient(145deg,rgba(14,20,39,.95),rgba(8,12,26,.9))}.store-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.store-product-editor{scroll-margin-top:86px}.store-admin-form{display:grid;gap:16px}.store-editor-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);gap:17px;align-items:start}.store-editor-copy,.store-editor-options{min-width:0;display:grid;gap:12px}.store-editor-core-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.store-editor-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.store-editor-switches .check-row{min-height:82px}.store-editor-limits{grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;padding-top:15px;border-top:1px solid rgba(255,255,255,.055)}.store-admin-product-list{display:grid;gap:10px}.store-admin-product-row{min-width:0;margin:0!important;padding:15px;display:grid;grid-template-columns:minmax(230px,1.25fr) minmax(390px,1fr) auto;gap:16px;align-items:center}.store-admin-product-row.is-inactive{opacity:.67}.store-admin-product-main{min-width:0}.store-admin-product-main h3{margin:8px 0 4px;font-size:.9rem}.store-admin-product-main p{margin:0;color:var(--muted);font-size:.66rem;line-height:1.45}.store-admin-product-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.store-admin-product-numbers>span{min-width:0;padding:8px;display:grid;gap:3px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(255,255,255,.015)}.store-admin-product-numbers small{color:var(--muted);font-size:.54rem;text-transform:uppercase;font-weight:800;letter-spacing:.05em}.store-admin-product-numbers strong{font-size:.64rem;overflow-wrap:anywhere}.store-admin-product-actions{display:grid;gap:7px;justify-items:stretch;min-width:112px}.store-admin-product-actions .badge{justify-content:center}.store-admin-product-actions form,.store-admin-product-actions .button{width:100%}.store-fulfillment-table-wrap{padding:0!important;overflow:hidden}.store-fulfillment-table td{vertical-align:middle}.store-fulfillment-table td>strong,.store-fulfillment-table td>small{display:block}.store-fulfillment-table td>small{margin-top:4px;color:var(--muted);font-size:.59rem}.store-error-copy{color:#ff9bad!important;max-width:320px}.store-admin-purchases{margin-top:25px}
/* 0.10.0 · Store operations, lifecycle and Discord reconciliation */
.store-operations-panel{margin:0 0 22px;scroll-margin-top:86px}.store-operation-form{display:grid;gap:15px}.store-grant-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.store-operation-reason{grid-column:span 2}.store-preflight-card{display:flex;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025)}.store-preflight-card span,.store-preflight-card small{display:block}.store-preflight-card small{margin-top:4px;color:var(--muted);font-size:.63rem;line-height:1.45}.store-preflight-card.is-ok{border-color:rgba(46,204,113,.24);background:rgba(46,204,113,.055)}.store-preflight-card.is-error{border-color:rgba(231,76,60,.25);background:rgba(231,76,60,.05)}.store-preflight-form{margin-top:12px}.store-preflight-pill{display:inline-flex;min-height:25px;align-items:center;padding:4px 8px;border:1px solid;border-radius:999px;font-size:.58rem;font-weight:850}.store-preflight-pill.is-ok{border-color:rgba(46,204,113,.25);color:#8ee9b5;background:rgba(46,204,113,.06)}.store-preflight-pill.is-error{border-color:rgba(231,76,60,.28);color:#ff9bad;background:rgba(231,76,60,.06)}.store-product-preflight-copy{display:block;margin-top:7px;color:var(--muted);font-size:.59rem;line-height:1.4}.store-entitlement-actions{display:grid;gap:6px;min-width:132px}.store-entitlement-actions>form,.store-entitlement-actions .button{width:100%}.store-inline-operation{position:relative}.store-inline-operation>summary{list-style:none;min-height:32px;padding:7px 10px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.11);border-radius:9px;color:var(--text-soft);font-size:.62rem;font-weight:800;cursor:pointer}.store-inline-operation>summary::-webkit-details-marker{display:none}.store-inline-operation[open]>summary{border-color:rgba(255,69,210,.25);color:#ffc0ef}.store-inline-operation>form{margin-top:7px;padding:10px;display:grid;gap:8px;min-width:230px;border:1px solid var(--line);border-radius:11px;background:#0c1221}.store-inline-operation label{gap:4px}.store-inline-operation label>span{font-size:.57rem}.store-inline-operation input{min-height:36px}.store-purchase-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(110px,auto);align-items:center;gap:13px}.store-purchase-amount{display:grid;text-align:right}.store-purchase-amount small{color:var(--muted);font-size:.6rem}.store-refund-operation>form{min-width:280px}.store-refund-operation .check-row{min-height:0;padding:7px}.store-refund-operation .check-row strong{font-size:.61rem}
@media(max-width:1180px){.store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-admin-product-row{grid-template-columns:minmax(220px,1fr) minmax(360px,1fr)}.store-admin-product-actions{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center}.store-admin-product-actions form,.store-admin-product-actions .button{width:auto}.store-editor-limits{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.store-hero,.store-detail-layout,.store-editor-grid{grid-template-columns:1fr}.store-hero:after{right:-15px}.store-balance-card{max-width:none}.store-checkout-card{position:static}.store-detail-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-editor-switches{grid-template-columns:1fr}.store-admin-product-row{grid-template-columns:1fr}.store-admin-product-actions{grid-column:auto}.store-admin-product-numbers{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.store-product-grid,.store-entitlement-grid{grid-template-columns:1fr}.store-product-card{min-height:0}.store-entitlement-timeline,.store-editor-core-grid,.store-editor-limits{grid-template-columns:repeat(2,minmax(0,1fr))}.store-admin-product-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.store-hero{padding:19px}.store-hero-actions,.store-hero-actions .button{width:100%}.store-product-footer,.store-entitlement-head,.store-renew-form{align-items:stretch;flex-direction:column}.store-product-footer .button,.store-renew-form .button{width:100%}.store-detail-fact-grid,.store-entitlement-timeline,.store-editor-core-grid,.store-editor-limits,.store-admin-product-numbers{grid-template-columns:1fr}.store-admin-product-actions{display:grid}.store-admin-product-actions>*,.store-admin-product-actions .button{width:100%}.store-checkout-card{padding:14px}}
@media(max-width:980px){.store-grant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-operation-reason{grid-column:span 2}.store-purchase-row{grid-template-columns:minmax(0,1fr) auto}.store-refund-operation{grid-column:1/-1}.store-refund-operation>form{min-width:0}}
@media(max-width:620px){.store-grant-grid{grid-template-columns:1fr}.store-operation-reason{grid-column:auto}.store-purchase-row{grid-template-columns:1fr}.store-purchase-amount{text-align:left}.store-inline-operation>form{min-width:0}.store-admin-section .section-title-row{align-items:stretch;flex-direction:column}.store-admin-section .section-title-row form,.store-admin-section .section-title-row .button{width:100%}}

/* 0.14.0 · versionierte Release-Abnahme */
.release-acceptance-hero{border-color:rgba(22,216,255,.16);background:radial-gradient(circle at 88% 10%,rgba(171,82,255,.1),transparent 38%),linear-gradient(145deg,rgba(13,22,40,.96),rgba(8,12,26,.94))}.release-hero-aside{min-width:240px}.release-hero-aside strong{overflow-wrap:anywhere}.release-create-panel{margin-bottom:20px}.release-create-form{display:grid;grid-template-columns:minmax(220px,420px) auto;gap:10px;align-items:end}.release-create-form .button{min-height:42px}.release-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;border-color:rgba(255,189,114,.16);background:linear-gradient(145deg,rgba(255,189,114,.025),rgba(8,13,25,.92))}.release-overview.status-blocked{border-color:rgba(255,91,109,.22);background:linear-gradient(145deg,rgba(255,91,109,.035),rgba(8,13,25,.92))}.release-overview.status-ready,.release-overview.status-released{border-color:rgba(143,232,178,.2);background:linear-gradient(145deg,rgba(143,232,178,.032),rgba(8,13,25,.92))}.release-overview.status-superseded{opacity:.78}.release-overview-main{min-width:0;display:grid;grid-template-columns:11px minmax(0,1fr);gap:12px;align-items:start}.release-overview-main>.system-dot{margin-top:8px}.release-overview-main h3{margin:4px 0 6px;font-size:1.15rem}.release-overview-main p{max-width:820px;margin:0;color:var(--text-soft);font-size:.69rem;line-height:1.55}.release-counts{display:grid;grid-template-columns:repeat(4,minmax(76px,1fr));gap:7px}.release-counts>span{min-width:0;padding:9px 10px;display:grid;gap:3px;border:1px solid currentColor;border-radius:10px;font-size:.56rem;font-weight:800;text-align:right}.release-counts b{font-size:.88rem}.release-counts .ok{color:#9cecc0}.release-counts .warning{color:#ffd096}.release-counts .danger{color:#ff9dac}.release-counts .pending{color:#9acfff}.release-overview-actions{grid-column:1/-1;padding-top:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid rgba(255,255,255,.055)}.release-overview-actions>small{margin-right:auto;color:var(--muted);font-size:.59rem}.release-overview-actions form{margin:0}.release-gate-grid{margin:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.release-gate-panel{min-width:0;margin:0!important}.release-gate-panel .section-intro{min-height:52px}.release-check-list{display:grid;gap:8px}.release-check{min-width:0;padding:11px;display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.014)}.release-check.status-failed{border-color:rgba(255,91,109,.16);background:rgba(255,91,109,.025)}.release-check.status-warning,.release-check.status-pending{border-color:rgba(255,189,114,.12);background:rgba(255,189,114,.018)}.release-check.status-passed{border-color:rgba(143,232,178,.1)}.release-check>.system-dot{margin-top:4px}.release-check>div{min-width:0;display:grid;gap:4px}.release-check strong{font-size:.68rem;overflow-wrap:anywhere}.release-check p{margin:0;color:var(--text-soft);font-size:.6rem;line-height:1.48}.release-check small{color:var(--muted);font-size:.55rem;line-height:1.4;overflow-wrap:anywhere}.release-check>.badge{white-space:nowrap}.release-check>form{margin:0;align-self:center}.release-check>form .button{white-space:nowrap}.release-history-panel{margin-top:20px}.release-history-list{display:grid;gap:6px}.release-history-row{min-width:0;padding:10px 11px;display:grid;grid-template-columns:9px minmax(160px,1fr) auto auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.05);border-radius:10px;background:rgba(255,255,255,.012);color:inherit;text-decoration:none;transition:border-color .15s,background .15s}.release-history-row:hover,.release-history-row.is-selected{border-color:rgba(22,216,255,.17);background:rgba(22,216,255,.025)}.release-history-row>span:nth-child(2){min-width:0;display:grid;gap:3px}.release-history-row strong{font-size:.65rem;overflow-wrap:anywhere}.release-history-row small,.release-history-counts{color:var(--muted);font-size:.56rem}.release-history-counts{white-space:nowrap}.release-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}.release-settings-grid>label{min-width:0}.release-settings-grid .form-actions{grid-column:1/-1}
.release-check-link{width:max-content;max-width:100%;margin-top:2px;color:var(--cyan);font-size:.57rem;font-weight:800;text-decoration:none}.release-check-link:hover{text-decoration:underline}
@media(max-width:1180px){.release-gate-grid{grid-template-columns:1fr}.release-gate-panel .section-intro{min-height:0}.release-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.release-overview{grid-template-columns:1fr}.release-counts{justify-self:stretch}.release-history-row{grid-template-columns:9px minmax(0,1fr) auto}.release-history-counts{grid-column:2}.release-history-row>.badge{grid-column:3;grid-row:1/3}}
@media(max-width:620px){.release-acceptance-hero .release-hero-aside{min-width:0}.release-create-form,.release-settings-grid{grid-template-columns:1fr}.release-create-form .button,.release-settings-grid .button{width:100%}.release-overview{padding:14px}.release-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.release-overview-actions{align-items:stretch;flex-direction:column}.release-overview-actions>small{margin:0}.release-overview-actions form,.release-overview-actions .button{width:100%}.release-check{grid-template-columns:9px minmax(0,1fr)}.release-check>.badge,.release-check>form{grid-column:2;justify-self:start}.release-check>form,.release-check>form .button{width:100%}.release-history-row{grid-template-columns:9px minmax(0,1fr)}.release-history-counts,.release-history-row>.badge{grid-column:2;grid-row:auto;justify-self:start}.release-settings-grid .form-actions{grid-column:auto}}

/* 0.17.0: verdichtete, vollständig automatische Release-Abnahme */
.compact-release-hero{min-height:0;padding-block:18px}.compact-release-hero h2{margin-bottom:5px}.compact-release-start{padding:12px 14px;margin-bottom:12px}.compact-release-start .release-create-form{grid-template-columns:minmax(180px,300px) auto}.compact-release-overview{margin-bottom:12px;padding:15px;gap:11px}.compact-release-overview .release-counts.compact>span{padding:7px 9px}.release-progress{grid-column:1/-1;width:100%;height:6px;border:0;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.06);accent-color:var(--cyan)}.release-progress::-webkit-progress-bar{background:rgba(255,255,255,.06)}.release-progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,var(--cyan),#8fe8b2)}.release-progress::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg,var(--cyan),#8fe8b2)}.release-job-strip{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.release-job-strip>small{margin-right:2px;color:var(--muted);font-size:.57rem}.release-gates-compact,.compact-release-history,.compact-release-settings{margin-top:12px}.release-gates-compact>summary,.compact-release-history>summary,.compact-release-settings>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer}.release-gates-compact>summary::-webkit-details-marker,.compact-release-history>summary::-webkit-details-marker,.compact-release-settings>summary::-webkit-details-marker{display:none}.release-gates-compact>summary>span:first-child,.compact-release-history>summary>span:first-child,.compact-release-settings>summary>span:first-child{min-width:0;display:grid;gap:3px}.release-gates-compact>summary strong,.compact-release-history>summary strong,.compact-release-settings>summary strong{font-size:.74rem}.release-gates-compact>summary small,.compact-release-history>summary small,.compact-release-settings>summary small{color:var(--muted);font-size:.57rem}.release-gates-compact[open]>summary,.compact-release-history[open]>summary,.compact-release-settings[open]>summary{padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.055)}.release-check-list.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.release-check-list.compact .release-check{padding:9px 10px}.compact-release-history .release-history-list,.compact-release-settings .release-settings-grid{padding-top:2px}
@media(max-width:980px){.release-check-list.compact{grid-template-columns:1fr}}
@media(max-width:620px){.compact-release-start .release-create-form{grid-template-columns:1fr}.compact-release-overview .release-counts.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.release-gates-compact,.compact-release-history,.compact-release-settings{padding:14px}.release-gates-compact>summary,.compact-release-history>summary,.compact-release-settings>summary{align-items:flex-start}}

/* 0.14.4 · Sicherungsverlauf mit explizitem Kopf- und Aktionslayout */
.system-backup-head{min-width:0;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px 18px}
.system-backup-head>div:first-child{min-width:0}
.system-backup-head .section-head-actions{min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto}
.system-backup-head .section-head-actions form{margin:0;display:flex}
.system-backup-head .section-head-actions .button{min-height:var(--control-h);white-space:nowrap}
.system-backup-table{min-width:1020px}
.system-backup-table th:last-child,.system-backup-table td:last-child{width:286px}
.system-backup-actions{width:100%;min-width:270px;display:grid;grid-template-columns:repeat(3,minmax(82px,1fr));align-items:stretch;gap:6px}
.system-backup-actions>form,.system-backup-actions>details{width:100%;min-width:0;margin:0}
.system-backup-actions>form{display:flex;align-items:stretch}
.system-backup-actions .button,.system-backup-actions>.backup-delete>summary{width:100%;min-height:36px;height:36px;padding:0 10px;display:flex;align-items:center;justify-content:center;line-height:1.2;white-space:nowrap}
@media(max-width:760px){
  .system-backup-table{min-width:0!important}
  .system-backup-table th:last-child,.system-backup-table td:last-child{width:100%}
  .system-backup-actions{min-width:0;grid-template-columns:1fr}
  .system-backup-actions .button,.system-backup-actions>.backup-delete>summary{height:auto;min-height:38px}
  .system-backup-actions>.backup-delete[open]>form{position:static;width:100%;margin-top:7px;box-shadow:none}
}
@media(max-width:620px){
  .system-backup-head{align-items:stretch;flex-direction:column}
  .system-backup-head .section-head-actions,.system-backup-head .section-head-actions form,.system-backup-head .section-head-actions .button{width:100%}
}

/* 0.16.0 · Discord-Mitgliederverzeichnis und kontrollierte Bot-PNs */
.discord-directory-hero{border-color:rgba(88,101,242,.24);background:radial-gradient(circle at 86% 8%,rgba(88,101,242,.15),transparent 36%),linear-gradient(145deg,rgba(13,20,40,.97),rgba(8,12,27,.94))}.discord-directory-hero .admin-hero-actions{display:flex;align-items:stretch}.discord-directory-hero .admin-hero-actions>form{margin:0;display:flex;align-items:stretch}.discord-directory-hero .admin-hero-actions>form .button{min-height:100%}.discord-sync-button.is-queued:disabled{opacity:1;border-color:rgba(88,101,242,.4);background:linear-gradient(135deg,rgba(22,216,255,.5),rgba(118,79,255,.62));color:#eaf5ff;box-shadow:0 0 22px rgba(88,101,242,.16)}.discord-sync-state{font-size:1rem!important}.discord-sync-state.is-failed{color:#ff9bad}.discord-intent-notice{margin-bottom:17px;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 8px;line-height:1.55}.discord-intent-notice small{flex-basis:100%;margin-top:3px}.discord-sync-job-notice{margin:-4px 0 17px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center}.discord-sync-job-notice>div{min-width:0;display:grid;gap:3px}.discord-sync-job-notice span,.discord-sync-job-notice small{color:var(--muted);font-size:.61rem;line-height:1.45}.discord-sync-job-notice>small{text-align:right}.discord-member-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.discord-sync-settings{display:grid;grid-template-columns:minmax(280px,1.25fr) repeat(3,minmax(150px,.65fr));gap:12px;align-items:stretch}.discord-sync-settings>label{min-width:0;margin:0}.discord-sync-settings>.filter-check{min-height:78px}.discord-sync-submit{grid-column:1/-1;padding-top:2px;display:flex;justify-content:flex-end}.discord-sync-submit .button{min-height:42px}.discord-campaign-panel{scroll-margin-top:86px}.discord-campaign-form{display:grid;gap:13px}.discord-campaign-grid{display:grid;grid-template-columns:minmax(240px,1fr) repeat(2,minmax(190px,.7fr));gap:10px;align-items:start}.discord-campaign-grid>label{min-width:0}.discord-campaign-confirm{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:10px;align-items:stretch}.discord-campaign-confirm>.filter-check{min-height:72px}.discord-campaign-confirm>.button{min-height:42px}.discord-member-filters{grid-template-columns:minmax(240px,1.3fr) repeat(2,minmax(180px,.7fr))}.discord-member-directory{scroll-margin-top:86px}.discord-member-table{min-width:1040px}.discord-member-table th:first-child,.discord-member-table td:first-child{width:62px}.discord-member-table td{vertical-align:middle}.discord-member-table tr.is-inactive{opacity:.7}.discord-member-select{width:18px;height:18px;accent-color:var(--neon-cyan)}.discord-member-identity{min-width:240px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center}.discord-member-identity>img,.discord-member-identity>span{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(88,101,242,.27);border-radius:12px;background:rgba(88,101,242,.1);color:#cbd0ff;font-size:.78rem;font-weight:900;object-fit:cover}.discord-member-identity>div{min-width:0;display:grid;gap:3px}.discord-member-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem}.discord-member-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.58rem}.discord-role-pills{max-width:390px;display:flex;flex-wrap:wrap;gap:5px}.discord-role-pills>span{max-width:170px;padding:4px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid rgba(88,101,242,.18);border-radius:999px;background:rgba(88,101,242,.055);color:#cbd0ff;font-size:.56rem;font-weight:750}.discord-role-pills>small{color:var(--muted);font-size:.59rem}.discord-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.discord-history-grid>.panel{margin:0}.discord-history-list{display:grid;gap:7px}.discord-history-row{min-width:0;padding:10px 11px;display:grid;grid-template-columns:9px minmax(0,1fr);gap:10px;align-items:start;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.014)}.discord-history-row>.system-dot{margin-top:5px}.discord-history-row>div{min-width:0;display:grid;gap:3px}.discord-history-row strong{font-size:.67rem}.discord-history-row small,.discord-history-error{color:var(--muted);font-size:.57rem;line-height:1.45;overflow-wrap:anywhere}.discord-history-error{color:#ff9bad}.discord-campaign-history{min-width:0;padding:10px 11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.014)}.discord-campaign-history>div:first-child{min-width:0;display:grid;gap:3px}.discord-campaign-history strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.67rem}.discord-campaign-history small{color:var(--muted);font-size:.57rem;line-height:1.4}.discord-campaign-history>.badge{align-self:start}.discord-campaign-counts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:5px}.discord-campaign-counts>span{padding:4px 7px;border:1px solid rgba(255,255,255,.055);border-radius:7px;color:var(--muted);font-size:.55rem}
@media(max-width:1180px){.discord-sync-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.discord-sync-toggle{grid-column:1/-1}.discord-sync-submit{grid-column:1/-1}.discord-sync-submit .button{width:auto}.discord-campaign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discord-member-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.discord-history-grid{grid-template-columns:1fr}.discord-campaign-confirm{grid-template-columns:1fr}.discord-campaign-confirm>.button{width:100%}}
@media(max-width:760px){.discord-directory-hero .admin-hero-actions{width:100%;align-items:stretch;flex-direction:column}.discord-directory-hero .admin-hero-actions>form,.discord-directory-hero .admin-hero-actions>form .button{width:100%;min-height:42px}.discord-sync-job-notice{grid-template-columns:1fr}.discord-sync-job-notice>small{text-align:left}.discord-sync-settings,.discord-campaign-grid,.discord-member-filters{grid-template-columns:1fr}.discord-sync-toggle,.discord-sync-submit{grid-column:auto}.discord-sync-submit,.discord-sync-submit .button{width:100%}.discord-member-table{min-width:0}.discord-member-table th:first-child,.discord-member-table td:first-child{width:100%}.discord-member-identity{min-width:0}.discord-role-pills{max-width:none}.discord-member-table .inline-form,.discord-member-table .inline-form .button{width:100%}}
@media(max-width:480px){.discord-member-stats{grid-template-columns:1fr}.discord-member-identity{grid-template-columns:34px minmax(0,1fr)}.discord-member-identity>img,.discord-member-identity>span{width:34px;height:34px}.discord-campaign-history{grid-template-columns:1fr}.discord-campaign-history>.badge{justify-self:start}}

/* 0.19.1 · einseitige, konvergierende Live-Release-Abnahme */
.release-console-hero{min-height:0;margin-bottom:14px;padding-block:18px}.release-console-hero h2{margin-bottom:6px}.release-console-hero p{max-width:900px}.release-live-console{display:grid;gap:12px;min-width:0}.release-live-summary{margin:0!important;padding:16px;display:grid;gap:13px;border-color:rgba(22,216,255,.18);background:radial-gradient(circle at 90% 0,rgba(22,216,255,.065),transparent 35%),rgba(8,13,25,.94)}.release-live-summary.status-released{border-color:rgba(143,232,178,.24);background:radial-gradient(circle at 90% 0,rgba(143,232,178,.07),transparent 35%),rgba(8,13,25,.94)}.release-live-summary.status-blocked{border-color:rgba(255,91,109,.25)}.release-live-heading{min-width:0;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;align-items:start}.release-live-heading>.system-dot{margin-top:8px}.release-live-heading h3{margin:3px 0 5px;font-size:1.12rem}.release-live-heading p{margin:0;color:var(--text-soft);font-size:.68rem}.release-live-connection{display:flex;align-items:center;gap:7px;color:#9cecc0}.release-live-connection>span{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(143,232,178,.08),0 0 12px currentColor}.release-live-connection small{font-size:.58rem;font-weight:800}.release-live-connection[data-release-connection=refreshing]{color:#9acfff}.release-live-connection[data-release-connection=offline]{color:#ff9dac}.release-progress-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center}.release-progress-copy{display:grid;gap:2px}.release-progress-copy strong{font-size:1.22rem}.release-progress-copy small{color:var(--muted);font-size:.56rem}.release-progress{width:100%;height:10px;border:0;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.06);accent-color:var(--cyan)}.release-progress::-webkit-progress-bar{background:rgba(255,255,255,.06)}.release-progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,var(--cyan),#8fe8b2);transition:width .45s ease}.release-progress::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg,var(--cyan),#8fe8b2)}.release-live-summary .release-counts{grid-template-columns:repeat(4,minmax(82px,1fr))}.release-live-summary .release-counts>span{padding:7px 9px;text-align:left}.release-live-meta{padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.055)}.release-live-meta>small{color:var(--muted);font-size:.58rem}.release-pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.release-stage{position:relative;min-width:0;padding:10px;display:grid;grid-template-columns:25px minmax(0,1fr) 8px;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(255,255,255,.015)}.release-stage:not(:last-child):after{content:"";position:absolute;right:-8px;width:8px;height:1px;background:rgba(255,255,255,.1)}.release-stage.status-passed{border-color:rgba(143,232,178,.17);background:rgba(143,232,178,.025)}.release-stage.status-failed{border-color:rgba(255,91,109,.2);background:rgba(255,91,109,.03)}.release-stage-number{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.05);font-size:.62rem;font-weight:900}.release-stage>div{min-width:0;display:grid;gap:2px}.release-stage strong{font-size:.62rem;overflow-wrap:anywhere}.release-stage small{color:var(--muted);font-size:.53rem}.release-live-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:12px;align-items:start}.release-live-grid>.panel,.release-live-side>.panel{margin:0!important}.release-live-side{display:grid;gap:12px}.release-live-gates,.release-job-panel,.release-log-panel,.release-policy-panel,.release-history-panel{padding:14px}.release-live-gates .panel-head,.release-job-panel .panel-head,.release-log-panel .panel-head,.release-policy-panel .panel-head,.release-history-panel .panel-head{margin-bottom:11px}.release-live-gates .panel-head h3,.release-job-panel .panel-head h3,.release-log-panel .panel-head h3,.release-policy-panel .panel-head h3,.release-history-panel .panel-head h3{margin:2px 0 0;font-size:.8rem}.release-live-gates .panel-head>small,.release-job-panel .panel-head>small,.release-policy-panel .panel-head>small,.release-history-panel .panel-head>small{color:var(--muted);font-size:.55rem}.release-check-list.live{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.release-check-list.live .release-check{padding:9px}.release-check-list.live .release-check strong{font-size:.64rem}.release-check-list.live .release-check p{font-size:.57rem}.release-job-list{display:grid;gap:6px}.release-job{min-width:0;padding:8px 9px;display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;align-items:start;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(255,255,255,.012)}.release-job.status-running{border-color:rgba(22,216,255,.18);background:rgba(22,216,255,.025)}.release-job.status-failed{border-color:rgba(255,91,109,.17)}.release-job>div{min-width:0;display:grid;gap:2px}.release-job strong{font-size:.61rem;overflow-wrap:anywhere}.release-job small{color:var(--muted);font-size:.53rem;overflow-wrap:anywhere}.release-log-pulse{width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 0 rgba(22,216,255,.35);animation:release-log-pulse 1.8s infinite}.release-live-log{height:238px;margin:0;padding:10px;display:flex;flex-direction:column;gap:6px;overflow:auto;border:1px solid rgba(22,216,255,.1);border-radius:10px;background:#070b14;scrollbar-color:rgba(22,216,255,.22) transparent}.release-live-log li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;color:var(--text-soft);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.55rem;line-height:1.45}.release-live-log time{color:#718797}.release-live-log .level-success span{color:#9cecc0}.release-live-log .level-warning span{color:#ffd096}.release-live-log .level-error span{color:#ff9dac}.release-policy-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.release-policy-grid>span{min-width:0;padding:9px;display:grid;gap:3px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:rgba(255,255,255,.014)}.release-policy-grid b{font-size:.66rem;overflow-wrap:anywhere}.release-policy-grid small{color:var(--muted);font-size:.52rem}.release-live-empty{margin:0!important;padding:20px;display:flex;align-items:center;gap:13px}.release-live-empty>div{display:grid;gap:4px}.release-live-empty small{color:var(--muted);font-size:.62rem}.release-live-spinner{width:22px;height:22px;flex:0 0 auto;border:2px solid rgba(22,216,255,.18);border-top-color:var(--cyan);border-radius:50%;animation:release-spin .8s linear infinite}@keyframes release-spin{to{transform:rotate(360deg)}}@keyframes release-log-pulse{70%{box-shadow:0 0 0 7px rgba(22,216,255,0)}100%{box-shadow:0 0 0 0 rgba(22,216,255,0)}}
@media(max-width:1180px){.release-live-grid{grid-template-columns:1fr}.release-live-side{grid-template-columns:repeat(2,minmax(0,1fr))}.release-policy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.release-pipeline{grid-template-columns:repeat(3,minmax(0,1fr))}.release-stage:not(:last-child):after{display:none}}
@media(max-width:760px){.release-pipeline,.release-check-list.live,.release-live-side{grid-template-columns:1fr}.release-progress-row{grid-template-columns:1fr}.release-live-heading{grid-template-columns:10px minmax(0,1fr)}.release-live-connection{grid-column:2}.release-live-summary .release-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.release-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.release-history-row{grid-template-columns:9px minmax(0,1fr)}.release-history-counts,.release-history-row>.badge{grid-column:2;justify-self:start}.release-live-log{height:210px}}
@media(max-width:460px){.release-policy-grid{grid-template-columns:1fr}.release-live-meta{align-items:stretch;flex-direction:column}.release-live-meta .button{width:100%}}
@media(prefers-reduced-motion:reduce){.release-log-pulse,.release-live-spinner{animation:none}.release-progress::-webkit-progress-value{transition:none}}
.release-live-console>.release-policy-panel,.release-live-console>.release-history-panel{margin:0!important}

/* 0.19.1 · konvergierende Abnahme ohne Hinweis-Gates */
.release-live-summary .release-counts{grid-template-columns:repeat(3,minmax(82px,1fr))}
@media(max-width:760px){.release-live-summary .release-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.release-live-summary .release-counts{grid-template-columns:1fr}}
