:root {
  --dev-bg: #030507;
  --dev-panel: #10151e;
  --dev-panel-2: #161b26;
  --dev-line: rgba(151, 182, 255, 0.16);
  --dev-line-strong: rgba(104, 187, 255, 0.36);
  --dev-text: #f7fbff;
  --dev-muted: #9ca8ba;
  --dev-soft: #d4deec;
  --dev-blue: #37a8ff;
  --dev-cyan: #69f0ff;
  --dev-green: #65f0b0;
  --dev-pink: #ff77c8;
  --dev-danger: #ff5f74;
  --dev-discord: #5865f2;
  --dev-discord-hover: #4752c4;
  --dev-radius: 8px;
  --dev-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body.blank-dev-page {
  min-height: 100%;
  margin: 0;
  background: var(--dev-bg);
  color: var(--dev-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.blank-dev-page {
  overflow-x: hidden;
}

.blank-dev-page a {
  color: inherit;
}

.dev-public {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(9, 18, 31, 0.96), rgba(3, 5, 7, 0.84)),
    repeating-linear-gradient(90deg, rgba(75, 159, 255, 0.04) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(75, 159, 255, 0.035) 0 1px, transparent 1px 96px),
    var(--dev-bg);
}

.dev-hero {
  position: relative;
  min-height: min(820px, 100dvh);
  overflow: hidden;
  padding-bottom: 24px;
}

.dev-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  pointer-events: none;
}

.dev-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 7, 0.92) 0%, rgba(3, 5, 7, 0.62) 48%, rgba(3, 5, 7, 0.86) 100%),
    linear-gradient(0deg, rgba(3, 5, 7, 0.95) 0%, rgba(3, 5, 7, 0.08) 44%, rgba(3, 5, 7, 0.25) 100%);
}

.dev-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-hero-shell,
.dev-section {
  position: relative;
  width: min(1480px, calc(100vw - 40px));
  margin: 0 auto;
}

.dev-public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.dev-brand {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}

.dev-brand img {
  width: 132px;
  max-width: 42vw;
  height: auto;
  display: block;
}

.dev-public-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dev-login-link,
.dev-nav-link,
.dev-primary,
.dev-secondary,
.dev-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--dev-radius);
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.dev-login-link,
.dev-nav-link,
.dev-secondary {
  color: var(--dev-text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(10, 17, 27, 0.72);
}

.dev-primary,
.dev-button.primary {
  color: #021018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  box-shadow: 0 14px 36px rgba(55, 168, 255, 0.25);
}

.dev-button {
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.dev-button.danger {
  color: #fff;
  border-color: rgba(255, 95, 116, 0.36);
  background: rgba(255, 95, 116, 0.15);
}

.dev-login-link:hover,
.dev-nav-link:hover,
.dev-secondary:hover,
.dev-button:hover {
  border-color: var(--dev-line-strong);
  background: rgba(38, 52, 73, 0.86);
}

.dev-primary:hover,
.dev-button.primary:hover {
  color: #001018;
  border-color: rgba(255, 255, 255, 0.24);
}

.dev-button:disabled,
.dev-button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.dev-button.primary:disabled,
.dev-button.primary[disabled] {
  color: var(--dev-muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.dev-button:disabled:hover,
.dev-button[disabled]:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.dev-auth-note {
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 95, 116, 0.42);
  border-radius: var(--dev-radius);
  background: rgba(255, 95, 116, 0.12);
  color: #ffd8de;
}

.dev-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(440px, calc(100dvh - 230px), 640px);
  padding: 16px 0 28px;
}

.dev-hero-copy {
  max-width: 760px;
}

.dev-eyebrow {
  margin: 0 0 14px;
  color: var(--dev-cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dev-hero-copy h1,
.dev-section h2 {
  margin: 0;
  color: var(--dev-text);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.dev-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(42px, 5.8vw, 78px);
}

.dev-highlight {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 9px 13px;
  border: 1px solid rgba(105, 240, 255, 0.28);
  border-radius: var(--dev-radius);
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.09);
  font-weight: 900;
}

.dev-intro {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--dev-soft);
  font-size: 18px;
  line-height: 1.65;
}

.dev-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.dev-command-panel {
  position: relative;
  border: 1px solid var(--dev-line-strong);
  border-radius: var(--dev-radius);
  background: rgba(11, 16, 25, 0.82);
  box-shadow: var(--dev-shadow);
  overflow: hidden;
}

.dev-command-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 32px, rgba(105, 240, 255, 0.08) 32px 33px, transparent 33px 100%),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(105, 240, 255, 0.05) 52px 53px);
  pointer-events: none;
}

.dev-panel-top,
.dev-panel-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--dev-line);
}

.dev-panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dev-green);
  box-shadow: 0 0 24px rgba(101, 240, 176, 0.62);
}

.dev-terminal-lines {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 30px 18px;
}

.dev-terminal-lines span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--dev-radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--dev-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dev-panel-status {
  border-top: 1px solid var(--dev-line);
  border-bottom: 0;
  color: var(--dev-muted);
}

.dev-panel-status strong {
  color: var(--dev-green);
}

.dev-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.dev-metric,
.dev-feature-card,
.dev-customer-section,
.dev-card,
.dev-free-grant-panel,
.dev-plan-card,
.dev-table-panel,
.dev-sidebar,
.dev-content,
.dev-topbar {
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  background: rgba(16, 21, 30, 0.82);
}

.dev-metric {
  min-height: 98px;
  padding: 16px;
}

.dev-metric strong {
  display: block;
  color: var(--dev-text);
  font-size: 24px;
  font-weight: 900;
}

.dev-metric span {
  color: var(--dev-muted);
}

.dev-section {
  padding: 84px 0;
}

.dev-section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.dev-section h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.dev-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dev-feature-card {
  min-height: 210px;
  padding: 22px;
}

.dev-feature-mark {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: var(--dev-radius);
  background:
    linear-gradient(135deg, rgba(105, 240, 255, 0.92), rgba(55, 168, 255, 0.48)),
    #0b1522;
}

.dev-feature-card h3 {
  margin: 0 0 10px;
  color: var(--dev-text);
  font-size: 20px;
}

.dev-feature-card p,
.dev-customer-section p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.6;
}

.dev-customer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 80px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(55, 168, 255, 0.14), rgba(255, 119, 200, 0.08)),
    rgba(16, 21, 30, 0.82);
}

.dev-app {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.86), rgba(3, 5, 7, 0.98)),
    repeating-linear-gradient(90deg, rgba(75, 159, 255, 0.035) 0 1px, transparent 1px 84px),
    var(--dev-bg);
}

.dev-app-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--dev-muted);
}

.dev-loader {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--dev-cyan);
  border-radius: 999px;
  animation: dev-spin 900ms linear infinite;
}

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

.dev-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.dev-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-width: 0 1px 0 0;
  border-radius: 0;
  padding: 20px;
  background: rgba(9, 13, 21, 0.94);
}

.dev-side-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.dev-side-brand::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 0;
  left: -20px;
  height: 1px;
  background: var(--dev-line);
}

.dev-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: -4px 0 18px;
  color: var(--dev-muted);
  font-size: 11px;
  font-weight: 800;
}

.dev-status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dev-status-legend .dev-nav-status-dot {
  display: inline-block;
  margin-left: 0;
}

.dev-side-logo {
  width: 74px;
  height: 70px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.dev-side-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 240, 255, 0.28);
  border-radius: var(--dev-radius);
  color: var(--dev-cyan);
  font-weight: 900;
  background: rgba(105, 240, 255, 0.08);
}

.dev-side-brand strong {
  display: block;
  font-size: 18px;
}

.dev-side-brand span {
  color: var(--dev-muted);
  font-size: 13px;
}

.dev-nav-group {
  margin: 22px 0;
}

.dev-nav-title {
  margin: 0 0 8px;
  color: var(--dev-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dev-nav-categories {
  display: grid;
  gap: 18px;
}

.dev-nav-category {
  display: grid;
  gap: 2px;
}

.dev-nav-category-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 5px;
  border: 0;
  color: var(--dev-text);
  background: transparent;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.dev-nav-category-head:hover,
.dev-nav-category-head:focus,
.dev-nav-category-head:active,
.dev-nav-category-head:focus-visible {
  color: var(--dev-cyan);
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.dev-nav-category-head:focus {
  outline: none !important;
}

.dev-nav-category-head:focus-visible {
  outline: none !important;
  outline-offset: 0;
}

.dev-nav-category-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-right: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.dev-nav-category-chevron.is-open {
  transform: rotate(225deg) translate(-1px, -1px);
}

.dev-nav-category.is-collapsed > .dev-nav-button {
  display: none;
}

.dev-nav-category-head::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 2px;
  border-radius: 99px;
  background: var(--dev-cyan);
  box-shadow: 0 0 12px rgba(105, 240, 255, .35);
}

.dev-nav-category-label {
  margin-right: auto;
}

.dev-nav-button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--dev-radius);
  color: var(--dev-muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.dev-nav-category > .dev-nav-button {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.dev-bot-master-panel select[multiple] {
  min-height: 148px;
  padding: 8px;
}

.dev-bot-master-panel option {
  padding: 7px 8px;
  border-radius: 6px;
}

.dev-role-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.dev-role-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--dev-border);
  border-radius: 8px;
  background: rgba(19, 30, 43, 0.72);
  color: var(--dev-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dev-role-choice:hover,
.dev-role-choice.is-selected {
  border-color: var(--dev-accent);
  background: rgba(48, 174, 231, 0.12);
  color: var(--dev-text);
}

.dev-role-choice input {
  accent-color: var(--dev-accent);
}

.dev-selected-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 18px;
  margin-top: 10px;
}

.dev-selected-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(73, 215, 244, 0.45);
  border-radius: 999px;
  background: rgba(48, 174, 231, 0.13);
  color: var(--dev-text);
}

.dev-selected-role button {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dev-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.dev-selected-role button:hover {
  color: var(--dev-text);
}

.dev-custom-bot-explanation {
  margin: 16px 0;
  padding: 15px 17px;
  border: 1px solid rgba(73, 215, 244, 0.28);
  border-radius: 10px;
  background: rgba(48, 174, 231, 0.08);
}

.dev-custom-bot-explanation strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dev-text);
}

.dev-custom-bot-explanation p {
  margin: 5px 0 0;
  color: var(--dev-muted);
}

.dev-nav-button.is-active,
.dev-nav-button:hover {
  color: var(--dev-text);
  border-color: rgba(105, 240, 255, 0.2);
  background: rgba(105, 240, 255, 0.08);
}

.dev-nav-button.is-locked {
  color: rgba(182, 195, 215, 0.72);
}

.dev-nav-button.is-locked:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.dev-nav-lock {
  margin-left: auto;
  color: var(--dev-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.dev-nav-status-dot,
.dev-module-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #8793a6;
  box-shadow: 0 0 0 3px rgba(135, 147, 166, 0.12);
}

.dev-nav-button > .dev-nav-status-dot {
  order: -1;
  margin-left: 0;
  margin-right: 2px;
}

.dev-nav-status-dot.is-active {
  background: var(--dev-green);
  box-shadow: 0 0 0 3px rgba(101, 240, 176, 0.14);
}

.dev-nav-status-dot.is-inactive {
  background: #ff6b8a;
  box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.14);
}

.dev-nav-status-dot.is-locked,
.dev-module-status-dot.is-locked {
  background: #8793a6;
  box-shadow: 0 0 0 3px rgba(135, 147, 166, 0.12);
}

.dev-module-status-dot {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.dev-nav-icon {
  width: 24px;
  height: 24px;
  display: none;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--dev-cyan);
  font-size: 12px;
  font-weight: 900;
}

.dev-main {
  min-width: 0;
}

.dev-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding: 16px 28px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: rgba(10, 15, 24, 0.92);
  backdrop-filter: blur(16px);
}

.dev-account {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dev-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.dev-account strong,
.dev-account span {
  display: block;
  overflow-wrap: anywhere;
}

.dev-account span {
  color: var(--dev-muted);
  font-size: 13px;
}

.dev-account-server {
  color: var(--dev-cyan) !important;
}

.dev-topbar-spacer {
  min-width: 1px;
  min-height: 1px;
}

.dev-server-switcher,
.dev-account-menu-wrap {
  position: relative;
  min-width: 0;
}

.dev-server-switcher-button,
.dev-account-trigger {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(151, 182, 255, 0.2);
  border-radius: var(--dev-radius);
  color: var(--dev-text);
  background: rgba(19, 24, 34, 0.94);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.dev-server-switcher-button {
  width: min(420px, 44vw);
  padding: 6px 12px;
}

.dev-sidebar-server {
  margin: 18px 0 22px;
}

.dev-sidebar .dev-server-switcher-button {
  width: 100%;
  min-height: 56px;
  padding: 6px 10px;
}

.dev-sidebar .dev-server-switcher-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.dev-sidebar .dev-server-switcher-text strong {
  font-size: 15px;
}

.dev-account-trigger {
  max-width: 260px;
  padding: 5px 10px 5px 6px;
}

.dev-server-switcher-button:hover,
.dev-server-switcher-button:focus-visible,
.dev-server-switcher.is-open .dev-server-switcher-button,
.dev-account-trigger:hover,
.dev-account-trigger:focus-visible,
.dev-account-menu-wrap.is-open .dev-account-trigger {
  border-color: rgba(105, 240, 255, 0.46);
  background: rgba(18, 35, 48, 0.96);
}

.dev-server-switcher-button:focus-visible,
.dev-account-trigger:focus-visible,
.dev-server-menu-item:focus-visible,
.dev-account-menu-item:focus-visible,
.dev-menu-link:focus-visible {
  outline: 2px solid var(--dev-cyan);
  outline-offset: 3px;
}

.dev-server-switcher-icon,
.dev-server-menu-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 255, 0.28);
  background:
    radial-gradient(circle at 28% 22%, rgba(105, 240, 255, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(28, 52, 67, 0.95), rgba(8, 13, 22, 0.95));
  color: var(--dev-text);
  font-weight: 950;
  letter-spacing: 0;
}

.dev-server-switcher-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 13px;
}

.dev-server-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 12px;
}

.dev-server-switcher-icon img,
.dev-server-menu-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-server-switcher-text,
.dev-account-trigger-text {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.dev-server-switcher-text small,
.dev-account-trigger-text small {
  color: var(--dev-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dev-server-switcher-text strong,
.dev-account-trigger-text strong {
  overflow: hidden;
  color: var(--dev-text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-menu-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.78;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.dev-menu-chevron.is-open {
  transform: translateY(3px) rotate(225deg);
}

.dev-server-dropdown,
.dev-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(151, 182, 255, 0.2);
  border-radius: var(--dev-radius);
  background: rgba(15, 18, 27, 0.98);
  box-shadow: var(--dev-shadow);
}

.dev-server-dropdown {
  left: 0;
  width: min(360px, calc(100vw - 32px));
}

.dev-sidebar .dev-server-dropdown {
  position: static;
  width: 100%;
  margin-top: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.dev-account-menu {
  right: 0;
  width: min(340px, calc(100vw - 32px));
}

.dev-menu-section-label {
  padding: 4px 8px 2px;
  color: var(--dev-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-server-menu-list,
.dev-account-server-list {
  display: grid;
  gap: 6px;
}

.dev-server-menu-group {
  display: grid;
  gap: 6px;
}

.dev-server-menu-group + .dev-server-menu-group {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-server-menu-group-label {
  padding: 2px 8px;
  color: var(--dev-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-account-server-list {
  max-height: 330px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--dev-radius);
  background: rgba(3, 5, 7, 0.28);
}

.dev-server-menu-item {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--dev-radius);
  color: var(--dev-text);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dev-server-menu-item:hover,
.dev-server-menu-item.is-active {
  border-color: rgba(105, 240, 255, 0.24);
  background: rgba(105, 240, 255, 0.08);
}

.dev-server-menu-item.is-locked {
  opacity: 0.52;
  cursor: not-allowed;
}

.dev-server-menu-item strong,
.dev-server-menu-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-server-menu-item strong {
  color: var(--dev-text);
  font-size: 14px;
  font-weight: 900;
}

.dev-server-menu-item small {
  color: var(--dev-muted);
  font-size: 12px;
}

.dev-menu-footer {
  display: grid;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-menu-link,
.dev-account-menu-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--dev-radius);
  color: var(--dev-muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.dev-menu-link:hover,
.dev-menu-link:focus-visible,
.dev-account-menu-item:hover,
.dev-account-menu-item:focus-visible {
  color: var(--dev-text);
  border-color: rgba(105, 240, 255, 0.2);
  background: rgba(105, 240, 255, 0.08);
}

.dev-menu-link:disabled {
  opacity: 0.52;
  cursor: wait;
}

.dev-account-menu-head {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: var(--dev-radius);
  background: rgba(105, 240, 255, 0.07);
}

.dev-account-menu-head strong,
.dev-account-menu-head span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-account-menu-head span {
  color: var(--dev-muted);
  font-size: 13px;
}

.dev-account-menu-item.has-chevron {
  justify-content: space-between;
}

.dev-account-menu-item.is-danger {
  color: #ffd8de;
}

.dev-menu-empty {
  margin: 0;
  padding: 12px 10px;
  color: var(--dev-muted);
  font-size: 13px;
}

.dev-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.dev-content {
  margin: 28px;
  padding: 24px;
  background: rgba(16, 21, 30, 0.68);
}

.dev-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.dev-view-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

.dev-view-actions .dev-button {
  white-space: nowrap;
}

.dev-view-head h1 {
  margin: 0 0 8px;
  color: var(--dev-text);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.dev-view-head p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-dashboard-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 4px;
  border: 1px solid rgba(105, 240, 255, 0.22);
  border-radius: var(--dev-radius);
  background: rgba(8, 13, 22, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.dev-dashboard-tab {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: calc(var(--dev-radius) - 3px);
  color: var(--dev-muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.dev-dashboard-tab:hover,
.dev-dashboard-tab:focus-visible,
.dev-dashboard-tab.is-active {
  color: var(--dev-text);
  border-color: rgba(105, 240, 255, 0.28);
  background: rgba(105, 240, 255, 0.11);
}

.dev-dashboard-tab:focus-visible {
  outline: 2px solid var(--dev-cyan);
  outline-offset: 3px;
}

.dev-server-tools {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  max-width: min(100%, 540px);
}

.dev-server-search {
  display: grid;
  gap: 8px;
  width: min(100%, 330px);
  flex: 0 0 min(100%, 330px);
}

.dev-server-search span {
  color: var(--dev-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dev-server-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(105, 240, 255, 0.32);
  border-radius: var(--dev-radius);
  padding: 0 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 240, 255, 0.12), transparent 36%),
    rgba(8, 13, 22, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 44px rgba(0, 0, 0, 0.22);
  color: var(--dev-text);
  -webkit-text-fill-color: var(--dev-text);
  caret-color: var(--dev-cyan);
  font: inherit;
  font-weight: 800;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.dev-server-search input::placeholder {
  color: rgba(212, 222, 236, 0.56);
  -webkit-text-fill-color: rgba(212, 222, 236, 0.56);
}

.dev-server-search input:focus {
  border-color: rgba(105, 240, 255, 0.7);
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 240, 255, 0.18), transparent 38%),
    rgba(9, 15, 25, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.075),
    0 0 0 3px rgba(55, 168, 255, 0.18),
    0 20px 50px rgba(0, 0, 0, 0.28);
}

.dev-server-search small {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 800;
}

.dev-server-refresh {
  min-height: 48px;
  white-space: nowrap;
}

.dev-server-search-empty {
  margin-top: 14px;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dev-card {
  min-height: 150px;
  padding: 18px;
}

.dev-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--dev-muted);
  font-size: 13px;
  font-weight: 800;
}

.dev-card strong {
  display: block;
  color: var(--dev-text);
  font-size: 32px;
  line-height: 1;
}

.dev-card p {
  margin: 12px 0 0;
  color: var(--dev-muted);
  line-height: 1.5;
}

.dev-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #021018;
  background: var(--dev-green);
  font-size: 12px;
  font-weight: 900;
}

.dev-status.muted {
  color: var(--dev-soft);
  background: rgba(255, 255, 255, 0.1);
}

.dev-status.warn {
  color: #18020a;
  background: var(--dev-pink);
}

.dev-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dev-support-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: clamp(28px, 5vw, 72px);
  min-height: 330px;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(105, 240, 255, 0.3);
  border-radius: var(--dev-radius);
  background:
    linear-gradient(115deg, rgba(8, 15, 25, 0.98) 0 64%, rgba(88, 101, 242, 0.14) 100%),
    var(--dev-panel);
  box-shadow: var(--dev-shadow);
}

.dev-support-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -145px;
  bottom: -190px;
  border: 1px solid rgba(88, 101, 242, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(88, 101, 242, 0.04), 0 0 0 88px rgba(105, 240, 255, 0.025);
}

.dev-support-hero-copy {
  align-self: center;
  max-width: 760px;
}

.dev-support-kicker {
  margin: 0 0 12px;
  color: var(--dev-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dev-support-hero h2,
.dev-support-section-head h2 {
  margin: 0;
  color: var(--dev-text);
  line-height: 1.08;
}

.dev-support-hero h2 {
  max-width: 700px;
  font-size: clamp(30px, 5vw, 58px);
}

.dev-support-hero-copy > p:not(.dev-support-kicker) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--dev-soft);
  font-size: 17px;
  line-height: 1.65;
}

.dev-support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.dev-support-command {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  max-width: 820px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(101, 240, 176, 0.3);
  border-radius: var(--dev-radius);
  background: rgba(101, 240, 176, 0.065);
}

.dev-support-command > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #03140e;
  background: var(--dev-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dev-support-command strong {
  display: block;
  color: var(--dev-text);
  line-height: 1.35;
}

.dev-support-command p {
  margin: 4px 0 0;
  color: var(--dev-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dev-support-command code {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(105, 240, 255, 0.28);
  border-radius: 6px;
  color: var(--dev-cyan);
  background: rgba(3, 8, 14, 0.7);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.dev-button.dev-support-discord-button {
  min-height: 50px;
  gap: 10px;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: var(--dev-discord);
  box-shadow: 0 14px 36px rgba(88, 101, 242, 0.28);
}

.dev-button.dev-support-discord-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: var(--dev-discord-hover);
}

.dev-button.dev-support-discord-button:focus-visible {
  outline: 3px solid var(--dev-cyan);
  outline-offset: 3px;
}

.dev-support-discord-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dev-support-discord-button circle {
  fill: currentColor;
  stroke: none;
}

.dev-support-signal {
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto;
  justify-items: center;
  gap: 14px;
  align-self: stretch;
  min-height: 220px;
  padding: 8px 0;
  color: var(--dev-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.dev-support-signal i {
  position: relative;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--dev-cyan), var(--dev-discord));
  box-shadow: 0 0 18px rgba(105, 240, 255, 0.4);
}

.dev-support-signal i::before,
.dev-support-signal i::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.dev-support-signal i::before {
  top: 0;
  background: var(--dev-cyan);
  box-shadow: 0 0 16px rgba(105, 240, 255, 0.72);
}

.dev-support-signal i::after {
  bottom: 0;
  background: var(--dev-discord);
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.72);
}

.dev-support-signal b {
  color: var(--dev-green);
}

.dev-support-topics,
.dev-support-faq {
  margin-top: clamp(34px, 5vw, 64px);
}

.dev-support-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.dev-support-section-head h2 {
  font-size: clamp(25px, 3vw, 38px);
}

.dev-support-section-head > p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.6;
}

.dev-support-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dev-support-topic {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  background: rgba(8, 13, 22, 0.78);
}

.dev-support-topic::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--dev-cyan), transparent);
  opacity: 0.52;
}

.dev-support-topic > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 34px;
  color: var(--dev-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dev-support-topic h3 {
  margin: 0;
  color: var(--dev-text);
  font-size: 20px;
}

.dev-support-topic p {
  margin: 12px 0 28px;
  color: var(--dev-muted);
  line-height: 1.6;
}

.dev-support-faq-list {
  display: grid;
  gap: 10px;
}

.dev-support-faq-item {
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  background: rgba(8, 13, 22, 0.78);
}

.dev-support-faq-item[open] {
  border-color: rgba(105, 240, 255, 0.32);
  background: rgba(11, 19, 30, 0.94);
}

.dev-support-faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: var(--dev-soft);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.dev-support-faq-item summary::-webkit-details-marker {
  display: none;
}

.dev-support-faq-item summary:focus-visible {
  outline: 2px solid var(--dev-cyan);
  outline-offset: 3px;
}

.dev-support-faq-item summary span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.dev-support-faq-item summary span::before,
.dev-support-faq-item summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--dev-cyan);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.dev-support-faq-item summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.dev-support-faq-item[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.dev-support-faq-item > p {
  max-width: 900px;
  margin: 0;
  padding: 0 56px 18px 18px;
  color: var(--dev-muted);
  line-height: 1.65;
}

.dev-server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dev-server-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 18px;
  align-content: start;
  overflow: hidden;
  border: 2px solid rgba(105, 240, 255, 0.38);
  border-radius: var(--dev-radius);
  background:
    radial-gradient(circle at 16% 0%, rgba(105, 240, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(17, 24, 36, 0.96), rgba(8, 13, 22, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 44px rgba(0, 0, 0, 0.24);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.dev-server-card[hidden] {
  display: none !important;
}

.dev-server-card:hover,
.dev-server-card:focus-within {
  border-color: rgba(105, 240, 255, 0.64);
  background:
    radial-gradient(circle at 16% 0%, rgba(105, 240, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(20, 31, 45, 0.98), rgba(9, 15, 25, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 22px 58px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(55, 168, 255, 0.12);
  transform: translateY(-1px);
}

.dev-server-card.is-selected {
  border-color: rgba(105, 240, 255, 0.78);
  background:
    radial-gradient(circle at 16% 0%, rgba(105, 240, 255, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(25, 64, 78, 0.76), rgba(16, 21, 30, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 62px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(105, 240, 255, 0.16);
}

.dev-server-card.is-locked {
  opacity: 0.72;
}

.dev-server-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.dev-server-titlebar {
  min-width: 0;
}

.dev-server-icon,
.dev-current-server-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 255, 0.28);
  background:
    radial-gradient(circle at 28% 22%, rgba(105, 240, 255, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(28, 52, 67, 0.95), rgba(8, 13, 22, 0.95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  color: var(--dev-text);
  font-weight: 950;
  letter-spacing: 0;
}

.dev-server-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  font-size: 18px;
}

.dev-current-server-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  font-size: 17px;
}

.dev-server-icon img,
.dev-current-server-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-server-icon-fallback {
  position: relative;
  z-index: 0;
}

.dev-server-card strong {
  display: block;
  color: var(--dev-text);
  font-size: 28px;
  line-height: 1.1;
}

.dev-server-card p {
  margin: 0;
  color: var(--dev-muted);
  overflow-wrap: anywhere;
}

.dev-server-meta,
.dev-current-server {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--dev-soft);
}

.dev-server-meta span,
.dev-current-server-details span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
}

.dev-server-card .dev-button.primary {
  justify-self: start;
  width: auto;
  min-width: 134px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(105, 240, 255, 0.42);
  background: rgba(105, 240, 255, 0.12);
  box-shadow: none;
  color: var(--dev-text);
}

.dev-server-card .dev-button.primary:hover,
.dev-server-card .dev-button.primary:focus-visible {
  border-color: rgba(105, 240, 255, 0.7);
  background: rgba(105, 240, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(55, 168, 255, 0.16);
}

.dev-server-card .dev-button.primary:disabled {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  color: var(--dev-muted);
}

.dev-current-server {
  align-items: center;
}

.dev-current-server-details {
  display: flex;
  flex: 1 1 260px;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.dev-current-server-details strong {
  width: 100%;
  color: var(--dev-text);
  font-size: 24px;
}

.dev-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 14px;
  margin-top: 18px;
}

.dev-overview-panel {
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  padding: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 240, 255, 0.08), transparent 34%),
    rgba(11, 17, 28, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.dev-overview-server-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.dev-overview-server-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 255, 0.34);
  border-radius: 16px;
  color: var(--dev-text);
  background:
    radial-gradient(circle at 28% 22%, rgba(105, 240, 255, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(28, 52, 67, 0.96), rgba(8, 13, 22, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  font-weight: 950;
}

.dev-overview-server-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-overview-server-main strong {
  display: block;
  color: var(--dev-text);
  font-size: 28px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.dev-overview-server-main p {
  margin: 8px 0 0;
  color: var(--dev-muted);
}

.dev-overview-progress-row {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.dev-overview-progress-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dev-overview-progress-row span,
.dev-overview-details small,
.dev-overview-live-item small {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.dev-overview-progress-row strong {
  color: var(--dev-text);
  font-size: 15px;
}

.dev-overview-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dev-overview-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dev-cyan), var(--dev-blue));
  box-shadow: 0 0 24px rgba(105, 240, 255, 0.28);
}

.dev-overview-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.dev-overview-details span {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-overview-details strong {
  display: block;
  margin-top: 5px;
  color: var(--dev-text);
  overflow-wrap: anywhere;
}

.dev-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dev-overview-actions .dev-button {
  min-height: 44px;
}

.dev-overview-step-list {
  display: grid;
  gap: 10px;
}

.dev-overview-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-overview-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.1);
  font-size: 13px;
  font-weight: 950;
}

.dev-overview-step strong {
  display: block;
  color: var(--dev-text);
  font-size: 16px;
}

.dev-overview-step p {
  margin: 5px 0 0;
  color: var(--dev-muted);
}

.dev-overview-step .dev-button {
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.dev-overview-live-panel {
  margin-top: 14px;
}

.dev-overview-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.dev-overview-live-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-overview-live-item > span {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--dev-pink);
  box-shadow: 0 0 18px rgba(255, 73, 121, 0.3);
}

.dev-overview-live-item > span.is-good {
  background: var(--dev-green);
  box-shadow: 0 0 18px rgba(92, 255, 176, 0.28);
}

.dev-overview-live-item strong {
  display: block;
  margin-top: 4px;
  color: var(--dev-text);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.dev-overview-live-item p {
  margin: 6px 0 0;
  color: var(--dev-muted);
  line-height: 1.4;
}

.dev-grid + .dev-module-grid,
.dev-table-panel + .dev-module-grid {
  margin-top: 18px;
}

.dev-module-card,
.dev-admin-action-card {
  min-height: 190px;
  cursor: default;
}

.dev-module-card[data-table],
.dev-module-card[data-module],
.dev-module-card[data-guided-module],
.dev-module-card[data-bot-profile],
.dev-module-card[data-action="reset-start"],
.dev-admin-action-card[data-admin-action] {
  cursor: pointer;
}

.dev-module-card[data-table]:hover,
.dev-module-card[data-module]:hover,
.dev-module-card[data-guided-module]:hover,
.dev-module-card[data-bot-profile]:hover,
.dev-module-card[data-action="reset-start"]:hover,
.dev-admin-action-card[data-admin-action]:hover {
  border-color: var(--dev-line-strong);
  background: rgba(20, 30, 44, 0.94);
}

.dev-module-card[data-table]:focus-visible,
.dev-module-card[data-module]:focus-visible,
.dev-module-card[data-guided-module]:focus-visible,
.dev-module-card[data-bot-profile]:focus-visible,
.dev-module-card[data-action="reset-start"]:focus-visible,
.dev-admin-action-card[data-admin-action]:focus-visible {
  outline: 2px solid var(--dev-cyan);
  outline-offset: 3px;
  border-color: var(--dev-line-strong);
}

.dev-reset-card {
  border-color: rgba(255, 95, 116, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 95, 116, 0.08), rgba(105, 240, 255, 0.035)),
    rgba(16, 21, 30, 0.82);
}

.dev-reset-card:not([aria-disabled="true"]):hover,
.dev-reset-card:not([aria-disabled="true"]):focus-visible {
  border-color: rgba(255, 95, 116, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 95, 116, 0.13), rgba(105, 240, 255, 0.05)),
    rgba(18, 25, 36, 0.94);
}

.dev-reset-card[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.68;
  filter: saturate(0.45);
}

.dev-setup-panel,
.dev-module-detail,
.dev-panel-editor {
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  background:
    linear-gradient(135deg, rgba(105, 240, 255, 0.07), rgba(55, 168, 255, 0.03)),
    rgba(16, 21, 30, 0.82);
}

.dev-setup-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
}

.dev-setup-panel.is-collapsed {
  gap: 0;
  padding: 16px 18px;
}

.dev-module-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 14px;
}

.dev-module-section-head h2 {
  margin: 0;
  color: var(--dev-text);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.dev-module-section-head p {
  margin: 8px 0 0;
  color: var(--dev-muted);
  font-size: 15px;
  line-height: 1.45;
}

.dev-module-section-head > span {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(105, 240, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--dev-soft);
  background: rgba(105, 240, 255, 0.07);
  font-size: 13px;
  font-weight: 900;
}

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

.dev-reset-option {
  min-height: 96px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 13px;
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dev-reset-option span {
  font-size: 14px;
  font-weight: 900;
}

.dev-reset-option small {
  color: var(--dev-muted);
  font-size: 12px;
  line-height: 1.4;
}

.dev-reset-option:hover,
.dev-reset-option:focus-visible {
  border-color: rgba(255, 95, 116, 0.46);
  outline: none;
}

.dev-reset-option.is-active {
  border-color: rgba(255, 95, 116, 0.58);
  background: rgba(255, 95, 116, 0.12);
}

.dev-reset-option:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.dev-reset-note {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-reset-note span {
  color: var(--dev-soft);
  font-size: 12px;
  font-weight: 900;
}

.dev-reset-note p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.5;
}

.dev-setup-modal.dev-reset-modal {
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
}

.dev-reset-modal .dev-reset-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dev-reset-modal .dev-reset-option {
  min-height: 84px;
  padding: 12px 14px;
}

.dev-reset-modal .dev-reset-note {
  margin-top: 16px;
}

.dev-reset-modal .dev-setup-modal-actions {
  position: sticky;
  bottom: -22px;
  margin: 18px -22px -22px;
  padding: 14px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 24, 36, 0.82), rgba(18, 24, 36, 0.98)),
    rgba(12, 18, 28, 0.98);
}

.dev-setup-head .dev-card-label,
.dev-setup-copy .dev-card-label {
  margin-bottom: 14px;
}

.dev-setup-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.dev-setup-panel.is-collapsed .dev-setup-head {
  align-items: center;
}

.dev-setup-toggle {
  min-width: 230px;
  align-self: start;
  white-space: nowrap;
}

.dev-setup-panel.is-collapsed .dev-setup-toggle {
  align-self: center;
}

.dev-setup-panel.is-collapsed .dev-card-label {
  margin-bottom: 8px;
}

.dev-setup-panel.is-collapsed .dev-setup-head h2 {
  font-size: clamp(21px, 2.2vw, 28px);
}

.dev-setup-panel.is-collapsed .dev-setup-head p:not(.dev-card-label) {
  max-width: none;
}

.dev-setup-head h2,
.dev-setup-copy h2 {
  margin: 0 0 8px;
  color: var(--dev-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.dev-setup-head p:not(.dev-card-label),
.dev-setup-copy p:not(.dev-card-label) {
  max-width: 760px;
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-setup-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dev-setup-choice {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dev-radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.dev-setup-choice.is-primary {
  border-color: rgba(105, 240, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(105, 240, 255, 0.1), rgba(55, 168, 255, 0.04)),
    rgba(255, 255, 255, 0.045);
}

.dev-setup-tag {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.dev-setup-choice h3 {
  margin: 0;
  color: var(--dev-text);
  font-size: 22px;
  line-height: 1.15;
}

.dev-setup-choice p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-setup-list {
  display: grid;
  gap: 10px;
}

.dev-setup-list strong,
.dev-setup-after span {
  color: var(--dev-soft);
  font-size: 13px;
  font-weight: 900;
}

.dev-setup-list ul,
.dev-setup-after ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dev-muted);
  line-height: 1.45;
}

.dev-setup-list li,
.dev-setup-after li {
  position: relative;
  padding-left: 18px;
}

.dev-setup-list li::before,
.dev-setup-after li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--dev-cyan);
  box-shadow: 0 0 14px rgba(105, 240, 255, 0.5);
}

.dev-setup-choice .dev-button {
  width: 100%;
  margin-top: 2px;
}

.dev-setup-after {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 119, 200, 0.22);
  border-radius: var(--dev-radius);
  padding: 16px;
  background: rgba(255, 119, 200, 0.055);
}

.dev-profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(105, 240, 255, 0.18);
  border-radius: var(--dev-radius);
  padding: 7px;
  background: rgba(7, 13, 21, 0.82);
}

.dev-bot-profile-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dev-profile-tabs button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--dev-soft);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dev-profile-tabs button:hover,
.dev-profile-tabs button:focus-visible {
  border-color: rgba(105, 240, 255, 0.28);
  color: var(--dev-text);
  outline: none;
}

.dev-profile-tabs button.is-active {
  border-color: transparent;
  color: #031018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  box-shadow: 0 12px 30px rgba(55, 168, 255, 0.2);
}

.dev-profile-tabs button span {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  margin-left: 7px;
  border-radius: 999px;
  padding: 0 7px;
  color: var(--dev-text);
  background: rgba(3, 16, 24, 0.72);
  font-size: 12px;
}

.dev-profile-tab-panel {
  min-width: 0;
}

.dev-profile-layout {
  display: grid;
  gap: 18px;
}

.dev-profile-server-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 180px)) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  padding: 10px 14px;
  background: rgba(16, 21, 30, 0.88);
}

.dev-profile-server-summary > div {
  display: grid;
  gap: 3px;
  min-height: 48px;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-profile-server-summary span,
.dev-profile-contract-main span {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 800;
}

.dev-profile-server-summary strong {
  color: var(--dev-text);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

.dev-profile-server-summary p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.5;
}

.dev-profile-server-list {
  display: grid;
  gap: 12px;
}

.dev-profile-server-card,
.dev-profile-server-empty {
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  padding: 14px;
  background: linear-gradient(145deg, rgba(105, 240, 255, 0.055), rgba(16, 21, 30, 0.97));
}

.dev-profile-server-card.is-inactive {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(16, 21, 30, 0.92);
}

.dev-profile-server-head,
.dev-profile-server-title {
  display: flex;
  align-items: center;
}

.dev-profile-server-head {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-profile-server-title {
  min-width: 0;
  gap: 11px;
}

.dev-profile-server-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(105, 240, 255, 0.32);
  border-radius: 12px;
  object-fit: cover;
  background: #0c1822;
  font-size: 14px;
  font-weight: 900;
}

.dev-profile-server-title h2,
.dev-profile-server-empty h2 {
  margin: 0;
  color: var(--dev-text);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.15;
}

.dev-profile-server-title p,
.dev-profile-server-empty p {
  margin: 3px 0 0;
  color: var(--dev-muted);
  line-height: 1.5;
}

.dev-profile-contract-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--dev-muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 900;
}

.dev-profile-contract-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.dev-profile-contract-status.is-active {
  border-color: rgba(101, 240, 176, 0.3);
  color: var(--dev-green);
  background: rgba(101, 240, 176, 0.08);
}

.dev-profile-contract-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 10px 0;
}

.dev-profile-contract-main > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
}

.dev-profile-contract-main > div:first-child {
  padding-left: 0;
}

.dev-profile-contract-main > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.dev-profile-contract-main strong {
  color: var(--dev-text);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.dev-profile-contract-main small {
  color: var(--dev-muted);
  line-height: 1.4;
}

.dev-profile-history {
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.12);
}

.dev-profile-history summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  color: var(--dev-soft);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.dev-profile-history summary::-webkit-details-marker {
  display: none;
}

.dev-profile-history summary:focus-visible {
  border-radius: 7px;
  outline: 2px solid var(--dev-cyan);
  outline-offset: 2px;
}

.dev-profile-history summary span {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 7px;
  color: var(--dev-muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
}

.dev-profile-history-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 14px 14px;
  list-style: none;
}

.dev-profile-history-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 0;
}

.dev-profile-history-list li > div {
  display: grid;
  gap: 3px;
}

.dev-profile-history-list strong {
  color: var(--dev-text);
  font-size: 14px;
}

.dev-profile-history-list small,
.dev-profile-history-list time,
.dev-profile-history-empty {
  color: var(--dev-muted);
  font-size: 12px;
  line-height: 1.4;
}

.dev-profile-history-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--dev-blue);
  box-shadow: 0 0 12px rgba(55, 168, 255, 0.45);
}

.dev-profile-history-list li.is-payment .dev-profile-history-dot {
  background: var(--dev-green);
  box-shadow: 0 0 12px rgba(101, 240, 176, 0.45);
}

.dev-profile-history-list li.is-cancellation .dev-profile-history-dot,
.dev-profile-history-list li.is-withdrawal .dev-profile-history-dot {
  background: var(--dev-danger);
  box-shadow: 0 0 12px rgba(255, 95, 116, 0.45);
}

.dev-profile-history-empty {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.dev-profile-server-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.dev-profile-server-empty p {
  max-width: 600px;
}

.dev-profile-server-empty .dev-primary {
  margin-top: 16px;
}

.dev-profile-identity,
.dev-profile-card,
.dev-profile-danger {
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  background: linear-gradient(145deg, rgba(105, 240, 255, 0.055), rgba(16, 21, 30, 0.96));
}

.dev-profile-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.dev-profile-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 240, 255, 0.35);
  border-radius: 50%;
  object-fit: cover;
  background: #111923;
}

.dev-card-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--dev-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.dev-profile-identity h2,
.dev-profile-section-head h2,
.dev-profile-danger h2 {
  margin: 0;
  color: var(--dev-text);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
}

.dev-profile-identity p,
.dev-profile-section-head p,
.dev-profile-danger p {
  margin: 7px 0 0;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-profile-card {
  padding: 22px;
}

.dev-profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.dev-profile-section-head > p {
  max-width: 480px;
  margin-top: 0;
  text-align: right;
}

.dev-profile-card .dev-form-field small {
  color: var(--dev-muted);
  font-size: 12px;
  line-height: 1.4;
}

.dev-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-profile-actions > span {
  color: var(--dev-muted);
  font-size: 13px;
}

.dev-profile-danger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-color: rgba(255, 95, 116, 0.35);
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 95, 116, 0.1), rgba(20, 15, 24, 0.96));
}

.dev-profile-danger > div {
  max-width: 980px;
}

.dev-profile-danger .dev-card-kicker {
  color: #ff9caa;
}

.dev-profile-danger .dev-button {
  flex: 0 0 auto;
}

.dev-account-delete-modal {
  border-color: rgba(255, 95, 116, 0.42);
  background: linear-gradient(145deg, rgba(255, 95, 116, 0.12), rgba(12, 18, 28, 0.99));
}

.dev-account-delete-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.dev-account-delete-list li {
  position: relative;
  padding: 10px 12px 10px 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  color: var(--dev-soft);
  background: rgba(0, 0, 0, 0.16);
}

.dev-account-delete-list li::before {
  content: "×";
  position: absolute;
  left: 14px;
  color: var(--dev-danger);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .dev-profile-contract-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-profile-contract-main > div:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .dev-profile-contract-main > div:nth-child(3),
  .dev-profile-contract-main > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 9px;
  }

  .dev-profile-contract-main > div:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .dev-profile-tabs {
    position: sticky;
    top: 8px;
    z-index: 20;
  }

  .dev-profile-server-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-profile-server-summary > div:nth-child(2) {
    border-right: 0;
  }

  .dev-profile-server-summary p {
    grid-column: 1 / -1;
  }

  .dev-profile-server-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dev-profile-contract-main {
    grid-template-columns: 1fr;
  }

  .dev-profile-contract-main > div,
  .dev-profile-contract-main > div:first-child,
  .dev-profile-contract-main > div:nth-child(2),
  .dev-profile-contract-main > div:nth-child(3),
  .dev-profile-contract-main > div:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 0;
    padding: 8px 0;
  }

  .dev-profile-contract-main > div:first-child {
    border-top: 0;
  }

  .dev-profile-history-list li {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .dev-profile-history-list time {
    grid-column: 2;
  }

  .dev-profile-identity {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dev-profile-identity .dev-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .dev-profile-section-head,
  .dev-profile-danger,
  .dev-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dev-profile-section-head > p {
    max-width: none;
    text-align: left;
  }

  .dev-profile-danger .dev-button,
  .dev-profile-actions .dev-primary {
    width: 100%;
  }
}

.dev-setup-after p {
  margin: 6px 0 0;
  color: var(--dev-muted);
  line-height: 1.5;
}

.dev-setup-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 14, 0.78);
  backdrop-filter: blur(14px);
}

.dev-setup-modal {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(105, 240, 255, 0.32);
  border-radius: var(--dev-radius);
  padding: 22px;
  color: var(--dev-text);
  background:
    linear-gradient(145deg, rgba(105, 240, 255, 0.1), rgba(255, 119, 200, 0.08)),
    rgba(12, 18, 28, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

.dev-setup-confirm-modal {
  width: min(980px, calc(100vw - 48px));
}

.dev-setup-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dev-setup-modal-head h2 {
  margin: 8px 0 0;
  color: var(--dev-text);
  font-size: 28px;
  line-height: 1.1;
}

.dev-setup-modal-state {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--dev-soft);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
}

.dev-setup-modal-state.is-success,
.dev-setup-modal-state.is-done {
  color: #9bffca;
  border-color: rgba(91, 255, 166, 0.38);
  background: rgba(91, 255, 166, 0.1);
}

.dev-setup-modal-state.is-error {
  color: #ffd8de;
  border-color: rgba(255, 95, 116, 0.42);
  background: rgba(255, 95, 116, 0.13);
}

.dev-setup-modal-state.is-warn {
  color: #ffe4a8;
  border-color: rgba(255, 202, 95, 0.42);
  background: rgba(255, 202, 95, 0.12);
}

.dev-setup-modal-state.is-confirm {
  color: #ffe4a8;
  border-color: rgba(255, 202, 95, 0.42);
  background: rgba(255, 202, 95, 0.12);
}

.dev-setup-modal-message {
  margin: 16px 0 18px;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-setup-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dev-setup-preview-group {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.dev-setup-preview-group > strong {
  color: var(--dev-text);
  font-size: 15px;
}

.dev-setup-preview-group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-setup-preview-group li {
  display: grid;
  gap: 2px;
  min-height: 38px;
  border-radius: 7px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, 0.16);
}

.dev-setup-preview-group li span {
  color: var(--dev-text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.dev-setup-resource-name {
  display: block;
}

.dev-setup-resource-icon {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.dev-setup-preview-group li small {
  color: var(--dev-muted);
  font-size: 12px;
  line-height: 1.35;
}

.dev-setup-preview-note {
  margin: 14px 0 0;
  border: 1px solid rgba(105, 240, 255, 0.22);
  border-radius: 8px;
  padding: 12px;
  color: var(--dev-muted);
  background: rgba(105, 240, 255, 0.07);
  line-height: 1.45;
}

.dev-setup-progress-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-setup-progress-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.dev-setup-progress-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.dev-setup-progress-step strong {
  display: block;
  color: var(--dev-text);
  font-size: 15px;
  line-height: 1.25;
}

.dev-setup-progress-step p {
  margin: 5px 0 0;
  color: var(--dev-muted);
  font-size: 13px;
  line-height: 1.4;
}

.dev-setup-progress-step small {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 900;
}

.dev-setup-progress-step.is-running {
  border-color: rgba(105, 240, 255, 0.34);
  background: rgba(105, 240, 255, 0.08);
}

.dev-setup-progress-step.is-running .dev-setup-progress-dot {
  background: var(--dev-cyan);
  box-shadow: 0 0 18px rgba(105, 240, 255, 0.78);
}

.dev-setup-progress-step.is-done .dev-setup-progress-dot {
  background: #5bffa6;
  box-shadow: 0 0 16px rgba(91, 255, 166, 0.55);
}

.dev-setup-progress-step.is-error {
  border-color: rgba(255, 95, 116, 0.38);
  background: rgba(255, 95, 116, 0.11);
}

.dev-setup-progress-step.is-error .dev-setup-progress-dot {
  background: #ff5f74;
  box-shadow: 0 0 16px rgba(255, 95, 116, 0.58);
}

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

.dev-reset-summary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-reset-summary li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.35;
}

.dev-reset-warning {
  margin: 14px 0 0;
  border: 1px solid rgba(255, 95, 116, 0.36);
  border-radius: 8px;
  padding: 12px;
  color: #ffd8de;
  background: rgba(255, 95, 116, 0.12);
  line-height: 1.5;
}

.dev-reset-detail {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-reset-detail strong {
  color: var(--dev-soft);
  font-size: 13px;
}

.dev-reset-detail p {
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.45;
}

.dev-reset-detail.is-error {
  border-color: rgba(255, 95, 116, 0.34);
  background: rgba(255, 95, 116, 0.1);
}

.dev-module-detail,
.dev-panel-editor {
  padding: 18px;
}

.dev-module-detail .dev-card-label {
  margin-bottom: 20px;
}

.dev-module-workspace-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: var(--dev-radius);
  padding: 6px;
  background: rgba(3, 8, 14, 0.48);
}

.dev-module-workspace-tabs button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--dev-soft);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.dev-module-workspace-tabs button:hover {
  border-color: rgba(105, 240, 255, 0.32);
  background: rgba(105, 240, 255, 0.06);
}

.dev-module-workspace-tabs button:focus-visible {
  border-color: var(--dev-cyan);
  outline: 2px solid rgba(105, 240, 255, 0.34);
  outline-offset: 2px;
}

.dev-module-workspace-tabs button.is-active {
  border-color: transparent;
  color: #031018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
}

.dev-module-editor-pane[hidden] {
  display: none;
}

.dev-module-editor-pane > .dev-panel-editor {
  margin-top: 0;
}

.dev-panel-editor {
  margin-top: 18px;
}

.dev-panel-intro {
  max-width: 840px;
  margin: 0 0 18px;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dev-form-field.is-wide {
  grid-column: 1 / -1;
}

.dev-form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.dev-form-field span {
  color: var(--dev-soft);
  font-size: 13px;
  font-weight: 900;
}

.dev-form-field input,
.dev-form-field select,
.dev-form-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.dev-form-field .dev-wizard-color-select {
  width: 132px;
  min-width: 132px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #06121c;
  font-weight: 900;
  cursor: pointer;
}

.dev-form-field .dev-wizard-color-select.is-primary {
  border-color: rgba(105, 240, 255, 0.65);
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
}

.dev-form-field .dev-wizard-color-select.is-secondary {
  border-color: rgba(190, 201, 215, 0.4);
  background: linear-gradient(135deg, #657286, #3d4859);
  color: #f3f7fb;
}

.dev-form-field .dev-wizard-color-select.is-success {
  border-color: rgba(101, 240, 176, 0.65);
  background: linear-gradient(135deg, var(--dev-green), #2fd18d);
}

.dev-form-field .dev-wizard-color-select.is-danger {
  border-color: rgba(255, 109, 131, 0.7);
  background: linear-gradient(135deg, var(--dev-danger), #b83448);
  color: #fff;
}

.blank-dev-page .dev-form-field input,
.blank-dev-page .dev-form-field select,
.blank-dev-page .dev-form-field textarea {
  color: var(--dev-text) !important;
  caret-color: var(--dev-cyan);
  -webkit-text-fill-color: var(--dev-text);
}

.dev-form-field input::placeholder,
.dev-form-field textarea::placeholder {
  color: rgba(212, 222, 236, 0.62);
  -webkit-text-fill-color: rgba(212, 222, 236, 0.62);
}

.dev-form-field select option {
  color: var(--dev-text);
  background: #141b26;
}

.dev-form-field input:disabled,
.dev-form-field textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dev-form-field textarea {
  resize: vertical;
  line-height: 1.45;
}

.dev-format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(105, 240, 255, 0.12);
  border-radius: 6px;
  background: rgba(3, 8, 14, 0.28);
}

.dev-format-toolbar button {
  min-width: 32px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 0 8px;
  color: var(--dev-soft);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.dev-format-toolbar button:hover,
.dev-format-toolbar button:focus-visible {
  color: #031018;
  border-color: rgba(105, 240, 255, 0.48);
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  outline: none;
}

.dev-format-emoji-wrap {
  position: relative;
  display: inline-flex;
}

.dev-format-emoji-toggle {
  color: #f8fbff;
}

.dev-format-emoji-menu {
  position: absolute;
  z-index: 90;
  left: 0;
  top: calc(100% + 8px);
  width: min(360px, calc(100vw - 48px));
  border: 1px solid rgba(105, 240, 255, 0.24);
  border-radius: 7px;
  padding: 10px;
  background: #111822;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.46);
}

.dev-format-emoji-source {
  width: 100%;
  min-height: 38px;
  margin-bottom: 8px;
}

.dev-format-emoji-menu .dev-standard-emoji-grid {
  max-height: 240px;
}

.dev-format-emoji-menu.is-list-picker .dev-standard-emoji-grid {
  grid-template-columns: 1fr;
}

.dev-form-field select {
  cursor: pointer;
}

.dev-emoji-select-row {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  position: relative;
}

.dev-emoji-source-select {
  min-width: 132px;
}

.dev-standard-emoji-picker {
  display: none;
  position: relative;
  min-width: 0;
}

.dev-emoji-select-row.is-picker .dev-emoji-choice-select {
  display: none;
}

.dev-emoji-select-row.is-picker .dev-standard-emoji-picker {
  display: block;
}

.dev-standard-emoji-trigger {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(105, 240, 255, 0.24);
  border-radius: 6px;
  padding: 0 12px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.dev-standard-emoji-trigger:hover,
.dev-standard-emoji-trigger:focus-visible {
  border-color: rgba(105, 240, 255, 0.62);
  background: rgba(105, 240, 255, 0.1);
  outline: none;
}

.dev-standard-emoji-current {
  width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dev-standard-emoji-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-standard-emoji-chevron {
  color: var(--dev-cyan);
  font-size: 15px;
}

.dev-standard-emoji-menu {
  position: absolute;
  z-index: 80;
  right: 0;
  left: 0;
  top: calc(100% + 8px);
  border: 1px solid rgba(105, 240, 255, 0.24);
  border-radius: 7px;
  padding: 10px;
  background: #111822;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.46);
}

.dev-standard-emoji-search {
  width: 100%;
  min-height: 38px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  padding: 0 10px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 700;
}

.dev-standard-emoji-search:focus {
  border-color: rgba(105, 240, 255, 0.62);
  outline: none;
}

.dev-standard-emoji-grid {
  max-height: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 5px;
  overflow-y: auto;
  padding-right: 4px;
}

.dev-standard-emoji-option {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.dev-standard-emoji-option.is-template {
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 10px;
  color: #f8fbff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.dev-emoji-select-row.is-list-picker .dev-standard-emoji-grid {
  grid-template-columns: 1fr;
}

.dev-standard-emoji-option:hover,
.dev-standard-emoji-option:focus-visible,
.dev-standard-emoji-option.is-selected {
  border-color: rgba(105, 240, 255, 0.58);
  background: rgba(105, 240, 255, 0.14);
  outline: none;
}

.dev-standard-emoji-img {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
}

.dev-standard-emoji-text {
  font-size: 20px;
  line-height: 1;
}

.dev-standard-emoji-empty {
  margin: 10px 0 0;
  color: var(--dev-muted);
  font-size: 13px;
  font-weight: 700;
}

.dev-emoji-preview {
  min-width: 52px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--dev-muted);
  background: rgba(105, 240, 255, 0.06);
  font-weight: 800;
}

.dev-emoji-inline {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: -4px;
}

.dev-emoji-inline-text {
  display: inline-flex;
  line-height: 1;
}

.dev-color-field {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.blank-dev-page .dev-color-field input[type="color"] {
  width: 50px;
  min-width: 50px;
  min-height: 44px;
  padding: 4px;
  cursor: pointer;
  -webkit-text-fill-color: initial;
}

.dev-color-field input[type="text"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.dev-form-field input:focus,
.dev-form-field select:focus,
.dev-form-field textarea:focus {
  outline: 2px solid rgba(105, 240, 255, 0.38);
  outline-offset: 2px;
}

.dev-form-field small {
  color: var(--dev-muted);
  line-height: 1.45;
}

.dev-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.dev-bot-profile-form {
  display: grid;
  gap: 18px;
}

.dev-bot-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.dev-bot-profile-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-top: 0;
  overflow: visible;
}

.dev-bot-profile-panel.is-wide {
  grid-column: 1 / -1;
}

.dev-bot-profile-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  min-width: 0;
}

.dev-bot-profile-preview strong {
  display: block;
  color: var(--dev-text);
  font-size: 20px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dev-bot-profile-preview p {
  margin: 4px 0 0;
  color: var(--dev-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.dev-bot-profile-preview small {
  display: block;
  margin: 4px 0 0;
  color: var(--dev-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.dev-custom-bot-panel {
  gap: 16px;
}

.dev-custom-bot-panel.is-collapsed {
  padding-bottom: 18px;
}

.dev-custom-bot-panel-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(105, 240, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  color: inherit;
  background: rgba(10, 16, 26, 0.42);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dev-custom-bot-panel-toggle .dev-card-label {
  margin-bottom: 18px;
}

.dev-custom-bot-panel-toggle:focus-visible {
  outline: 2px solid rgba(105, 240, 255, 0.72);
  outline-offset: 3px;
  border-radius: 8px;
}

.dev-custom-bot-panel-toggle:hover {
  border-color: rgba(105, 240, 255, 0.28);
  background: rgba(13, 22, 34, 0.62);
}

.dev-custom-bot-panel-main {
  display: grid;
  gap: 0;
  min-width: 0;
}

.dev-custom-bot-toggle-state {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--dev-soft);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.dev-custom-bot-panel.is-collapsed .dev-custom-bot-toggle-state {
  min-width: 84px;
}

.dev-custom-bot-panel-toggle:hover .dev-custom-bot-toggle-state {
  border-color: rgba(105, 240, 255, 0.36);
  color: var(--dev-text);
  background: rgba(105, 240, 255, 0.09);
}

.dev-custom-bot-panel.is-collapsed .dev-custom-bot-panel-toggle .dev-card-label {
  margin-bottom: 10px;
}

.dev-custom-bot-guide {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(105, 240, 255, 0.12);
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-custom-bot-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: 8px;
  background: rgba(10, 16, 26, 0.48);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.dev-custom-bot-guide summary::-webkit-details-marker {
  display: none;
}

.dev-custom-bot-guide summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(105, 240, 255, 0.22);
  border-radius: 8px;
  color: var(--dev-cyan);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.dev-custom-bot-guide[open] summary::after {
  content: "-";
}

.dev-custom-bot-guide summary span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dev-custom-bot-guide summary strong {
  color: var(--dev-text);
  font-size: 16px;
  line-height: 1.25;
}

.dev-custom-bot-guide summary small {
  color: var(--dev-muted);
  font-size: 14px;
  line-height: 1.45;
}

.dev-custom-bot-guide-body {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.dev-custom-bot-guide p {
  max-width: 980px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.dev-custom-bot-guide code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(105, 240, 255, 0.14);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--dev-text);
  background: rgba(3, 8, 14, 0.38);
}

.dev-custom-bot-steps {
  display: grid;
  gap: 6px;
  max-width: 1120px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-custom-bot-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid rgba(105, 240, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 16, 26, 0.42);
}

.dev-custom-bot-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(105, 240, 255, 0.22);
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, #69f0ff, #44b8ff);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.dev-custom-bot-steps p {
  align-self: center;
  font-size: 14px;
}

.dev-custom-bot-lock {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid rgba(105, 240, 255, 0.18);
  border-radius: 8px;
  color: var(--dev-muted);
  background: linear-gradient(135deg, rgba(105, 240, 255, 0.11), rgba(68, 184, 255, 0.04));
}

.dev-custom-bot-lock strong {
  color: var(--dev-text);
  font-size: 17px;
  line-height: 1.25;
}

.dev-custom-bot-lock p {
  margin: 0;
  max-width: 720px;
  line-height: 1.55;
}

.dev-custom-bot-lock .dev-button {
  justify-self: start;
  margin-top: 2px;
}

.dev-custom-bot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.dev-custom-bot-activity-toggle {
  grid-column: 1 / -1;
  margin: 4px 0 0;
}

.dev-activity-profile-editor {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(105, 240, 255, 0.12);
}

.dev-activity-profile-note {
  max-width: 920px;
  margin: -2px 0 0;
  color: var(--dev-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dev-activity-profile-list {
  display: grid;
  gap: 10px;
}

.dev-activity-profile-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.45fr) minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(180px, 1.2fr) minmax(180px, 1.2fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(10, 16, 26, 0.45);
}

.dev-activity-profile-active {
  align-self: center;
  margin: 0;
}

.dev-activity-profile-actions {
  margin-top: 0;
  justify-content: flex-start;
}

.dev-bot-avatar-preview {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 255, 0.26);
  border-radius: 8px;
  color: var(--dev-cyan);
  background: linear-gradient(135deg, rgba(105, 240, 255, 0.14), rgba(106, 95, 255, 0.16));
  font-weight: 1000;
}

.dev-bot-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--dev-soft);
  font-size: 14px;
  font-weight: 900;
}

.dev-toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--dev-cyan);
}

.dev-bot-profile-actions {
  margin: 8px 0 14px;
}

.dev-bot-panel-actions {
  margin-top: auto;
  padding-top: 16px;
}

.dev-resource-note {
  margin-bottom: 16px;
}

.dev-panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.dev-panel-controls {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.dev-panel-mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 520px);
  margin-bottom: 16px;
  border: 1px solid rgba(105, 240, 255, 0.14);
  border-radius: var(--dev-radius);
  padding: 6px;
  background: rgba(3, 8, 14, 0.35);
}

.dev-panel-mode-switch button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--dev-soft);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.dev-panel-mode-switch button:hover,
.dev-panel-mode-switch button:focus-visible {
  border-color: rgba(105, 240, 255, 0.32);
  outline: none;
}

.dev-panel-mode-switch button.is-active {
  color: #031018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
}

.dev-panel-key-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 720px);
}

.dev-monitoring-pane[hidden] { display: none; }
.dev-monitoring-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dev-monitoring-setup + .dev-module-editor-pane { margin-top: 18px; }
.dev-monitoring-form { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 18px; align-items: start; }
.dev-monitoring-setup, .dev-monitoring-preview { border: 1px solid var(--dev-line); border-radius: var(--dev-radius); padding: 18px; background: rgba(7, 13, 21, .56); }
.dev-monitoring-preview { border-color: rgba(105, 240, 255, .2); background: rgba(16, 21, 30, .88); }
.dev-monitoring-preview-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; color: var(--dev-cyan); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.dev-monitoring-preview-label small { color: var(--dev-muted); font-size: 11px; letter-spacing: 0; text-transform: none; }
.dev-discord-embed { max-width: 420px; border-left: 4px solid var(--dev-cyan); border-radius: 4px; padding: 16px; color: #f2f3f5; background: #2b2d31; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.dev-discord-embed h2 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; }
.dev-discord-embed p { margin: 0; font-size: 14px; line-height: 1.45; }
.dev-discord-embed hr { height: 1px; margin: 12px 0; border: 0; background: rgba(255, 255, 255, .14); }
.dev-monitoring-form .dev-form-actions { grid-column: 1 / -1; }
@media (max-width: 900px) { .dev-monitoring-form { grid-template-columns: 1fr; } }

.dev-dynamic-rule-tabs {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
}

.dev-dynamic-rule-tabs button {
  flex: 1 1 210px;
  min-width: 210px;
}

.dev-panel-workspace {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.dev-placeholder-legend {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: var(--dev-radius);
  background: rgba(6, 10, 16, 0.38);
}

.dev-placeholder-legend > strong {
  color: var(--dev-soft);
}

.dev-placeholder-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-placeholder-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(105, 240, 255, 0.12);
  border-radius: 7px;
  color: var(--dev-muted);
  background: rgba(255, 255, 255, 0.035);
}

.dev-placeholder-item code {
  color: var(--dev-cyan);
  font-weight: 800;
}

.dev-placeholder-empty {
  margin: 0;
  color: var(--dev-muted);
}

.dev-panel-workspace[hidden],
.dev-panel-preview [hidden] {
  display: none;
}

.dev-panel-toggle {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(105, 240, 255, 0.2);
  border-radius: var(--dev-radius);
  color: var(--dev-soft);
  background: rgba(105, 240, 255, 0.07);
  font-weight: 900;
}

.dev-panel-toggle-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dev-panel-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--dev-cyan);
}

.dev-form-field-wide {
  min-width: 0;
}

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

.dev-panel-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dev-panel-media-block {
  display: grid;
  gap: 10px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dev-panel-media-block.is-enabled {
  border-color: rgba(105, 240, 255, 0.22);
  background: linear-gradient(145deg, rgba(105, 240, 255, 0.12), rgba(105, 240, 255, 0.035));
}

.dev-panel-media-block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--dev-cyan), rgba(105, 240, 255, 0));
  opacity: 0.45;
}

.dev-panel-media-block.is-enabled::before {
  opacity: 1;
}

.dev-panel-media-block .dev-form-grid {
  grid-template-columns: 1fr;
}

.dev-panel-media-block .dev-panel-toggle {
  width: 100%;
  justify-content: flex-start;
}

.dev-panel-media-hint {
  min-height: 32px;
  color: var(--dev-muted);
  font-size: 12px;
  line-height: 1.45;
}

.dev-panel-media-input {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(6, 14, 24, 0.32);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dev-panel-media-input > span {
  flex: 0 0 auto;
  padding-left: 12px;
  color: var(--dev-cyan);
  font-size: 18px;
}

.dev-form-field .dev-panel-media-input input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 8px 10px;
  background: transparent;
  box-shadow: none;
}

.dev-form-field .dev-panel-media-input input:focus {
  outline: none;
  outline-offset: 0;
}

.dev-panel-media-input:focus-within {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(6, 14, 24, 0.38);
  box-shadow: none;
}

.dev-panel-fields {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--dev-radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.dev-panel-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dev-panel-subhead strong {
  color: var(--dev-soft);
}

.dev-panel-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-panel-field-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.dev-panel-field-title {
  grid-column: 1 / -1;
}

.dev-panel-field-text {
  min-width: 0;
}

.dev-panel-field-text textarea {
  min-height: 134px;
}

.dev-ticket-config {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(105, 240, 255, 0.14);
  border-radius: var(--dev-radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(101, 240, 176, 0.07), rgba(105, 240, 255, 0.018)),
    rgba(255, 255, 255, 0.025);
}

.dev-ticket-option-list {
  display: grid;
  gap: 12px;
}

.dev-ticket-option-row {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--dev-radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.dev-ticket-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dev-ticket-option-head strong {
  color: var(--dev-text);
}

.dev-ticket-option-head span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(105, 240, 255, 0.18);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.dev-ticket-control-group {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--dev-radius);
  background: rgba(255, 255, 255, 0.03);
}

.dev-ticket-control-group summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--dev-soft);
  background: rgba(105, 240, 255, 0.05);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.dev-ticket-control-group summary::-webkit-details-marker {
  display: none;
}

.dev-ticket-control-group[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-ticket-control-group .dev-form-grid {
  padding: 14px;
}

.dev-ticket-control-intro {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-ticket-button-control-head,
.dev-ticket-button-control-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(340px, 1.6fr) 132px;
  gap: 12px;
  align-items: end;
}

.dev-ticket-button-control-head {
  padding: 14px 14px 4px;
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dev-ticket-button-control-list {
  display: grid;
  gap: 10px;
  padding: 8px 14px 14px;
}

.dev-ticket-button-control-row .dev-emoji-select-row {
  grid-template-columns: minmax(112px, 0.42fr) minmax(170px, 1fr) auto;
  gap: 6px;
}

.dev-ticket-button-control-row .dev-emoji-source-select {
  min-width: 112px;
}

.dev-ticket-button-control-row .dev-standard-emoji-trigger {
  min-width: 170px;
}

.dev-ticket-button-control-row .dev-wizard-color-select {
  width: 132px;
}

.dev-ticket-control-toggle {
  align-self: end;
}

.dev-ticket-controls-workspace {
  display: grid;
  gap: 16px;
}

.dev-ticket-controls-workspace[hidden] {
  display: none !important;
}

.dev-ticket-controls-tabs {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

.dev-ticket-controls-layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
}

.dev-ticket-full-preview {
  align-content: start;
}

.dev-ticket-preview-section {
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.dev-ticket-preview-section h4 {
  margin: 0;
  color: var(--dev-text);
  font-size: 17px;
  line-height: 1.25;
}

.dev-ticket-preview-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-ticket-preview-select {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--dev-soft);
  background: rgba(4, 7, 12, 0.72);
  font-weight: 850;
}

.dev-ticket-preview-select strong {
  color: var(--dev-cyan);
}

.dev-ticket-preview-options {
  display: grid;
  gap: 8px;
}

.dev-ticket-preview-options div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.dev-ticket-preview-options span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dev-text);
  font-weight: 900;
}

.dev-ticket-preview-options small {
  color: var(--dev-muted);
  line-height: 1.4;
}

.dev-wizard-editor {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(105, 240, 255, 0.14);
  border-radius: var(--dev-radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(105, 240, 255, 0.06), rgba(105, 240, 255, 0.015)),
    rgba(255, 255, 255, 0.025);
}

.dev-panel-subhead span {
  color: var(--dev-muted);
  font-size: 13px;
  font-weight: 800;
}

.dev-wizard-section {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-wizard-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.dev-wizard-section h4 {
  margin: 0;
  color: var(--dev-text);
  font-size: 18px;
  line-height: 1.2;
}

.dev-wizard-advanced {
  padding: 0;
  background: rgba(255, 255, 255, 0.025);
}

.dev-wizard-advanced summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 0 14px 0 48px;
  color: var(--dev-soft);
  font-weight: 900;
  position: relative;
  list-style: none;
  border: 1px solid rgba(105, 240, 255, 0.18);
  border-radius: 6px;
  background: rgba(105, 240, 255, 0.05);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dev-wizard-advanced summary::-webkit-details-marker {
  display: none;
}

.dev-wizard-advanced summary::before {
  content: "›";
  width: 24px;
  height: 24px;
  position: absolute;
  left: 14px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(105, 240, 255, 0.24);
  border-radius: 6px;
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.08);
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.dev-wizard-advanced summary:hover,
.dev-wizard-advanced summary:focus-visible {
  color: #ffffff;
  border-color: rgba(105, 240, 255, 0.42);
  background: rgba(105, 240, 255, 0.1);
  outline: none;
}

.dev-wizard-button-hint {
  margin: 14px 14px 0;
  padding: 11px 14px;
  border: 1px solid rgba(105, 240, 255, 0.24);
  border-left: 4px solid var(--dev-cyan);
  border-radius: 10px;
  color: var(--dev-soft);
  background: rgba(105, 240, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.dev-wizard-field-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 1.6fr) 132px;
  gap: 14px;
  margin: 12px 14px 0;
  color: var(--dev-soft);
  font-size: 13px;
  font-weight: 900;
}

.dev-wizard-advanced .dev-form-grid > .dev-form-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dev-disclosure-title {
  min-width: 0;
}

.dev-disclosure-state {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(105, 240, 255, 0.18);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.08);
  font-size: 12px;
  line-height: 1;
}

.dev-disclosure-open {
  display: none;
}

.dev-wizard-advanced[open] {
  padding-bottom: 14px;
}

.dev-wizard-advanced[open] summary {
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-wizard-advanced[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  color: #031018;
}

.dev-wizard-advanced[open] .dev-disclosure-closed {
  display: none;
}

.dev-wizard-advanced[open] .dev-disclosure-open {
  display: inline;
}

.dev-wizard-advanced .dev-form-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 1.6fr) 132px;
  padding: 0 14px;
}

.dev-wizard-advanced .dev-emoji-select-row {
  grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr) auto;
  gap: 6px;
}

.dev-wizard-advanced .dev-emoji-source-select {
  min-width: 112px;
}

.dev-panel-preview {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: var(--dev-radius);
  padding: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(105, 240, 255, 0.12), transparent 34%),
    rgba(6, 10, 16, 0.72);
}

.dev-panel-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--dev-soft);
  font-weight: 900;
}

.dev-panel-preview-head small {
  color: var(--dev-muted);
  font-size: 12px;
}

.dev-panel-preview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--panel-accent, var(--dev-blue));
  border-radius: var(--dev-radius);
  background: rgba(20, 26, 36, 0.96);
}

.dev-panel-preview-card.is-disabled {
  opacity: 0.58;
}

.dev-panel-preview-thumb,
.dev-panel-preview-image {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.dev-panel-preview-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.dev-panel-preview-body h3 {
  margin: 0;
  color: var(--dev-text);
  font-size: 24px;
  line-height: 1.1;
}

.dev-panel-preview-body p {
  margin: 0;
  color: var(--dev-soft);
  line-height: 1.5;
}

.dev-discord-markdown {
  color: var(--dev-soft);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dev-discord-markdown p,
.dev-discord-markdown ul,
.dev-discord-markdown blockquote,
.dev-discord-markdown pre,
.dev-discord-markdown h4,
.dev-discord-markdown h5,
.dev-discord-markdown h6 {
  margin: 0;
}

.dev-discord-markdown p + p,
.dev-discord-markdown p + ul,
.dev-discord-markdown ul + p,
.dev-discord-markdown blockquote + p,
.dev-discord-markdown pre + p {
  margin-top: 8px;
}

.dev-discord-markdown strong,
.dev-discord-markdown h4,
.dev-discord-markdown h5,
.dev-discord-markdown h6 {
  color: var(--dev-text);
}

.dev-discord-markdown h4 {
  font-size: 21px;
  line-height: 1.18;
}

.dev-discord-markdown h5 {
  font-size: 18px;
  line-height: 1.2;
}

.dev-discord-markdown h6 {
  font-size: 15px;
  line-height: 1.25;
}

.dev-discord-markdown ul {
  display: grid;
  gap: 3px;
  padding-left: 20px;
}

.dev-discord-markdown blockquote {
  border-left: 4px solid rgba(174, 187, 205, 0.35);
  padding-left: 10px;
  color: var(--dev-muted);
}

.dev-discord-markdown code {
  border-radius: 4px;
  padding: 1px 5px;
  color: #f2f5f8;
  background: rgba(4, 7, 12, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.dev-discord-markdown pre {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 10px;
  background: rgba(4, 7, 12, 0.82);
}

.dev-discord-markdown pre code {
  display: block;
  padding: 0;
  background: transparent;
}

.dev-discord-markdown a {
  color: var(--dev-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dev-discord-spoiler {
  border-radius: 4px;
  padding: 0 4px;
  color: transparent;
  background: rgba(174, 187, 205, 0.32);
}

.dev-discord-spoiler:hover,
.dev-discord-spoiler:focus {
  color: var(--dev-text);
}

.dev-panel-preview-field {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-panel-preview-field strong {
  color: var(--dev-text);
}

.dev-panel-preview-button {
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 6px;
  padding: 0 14px;
  color: #021018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dev-panel-preview-button.is-secondary {
  color: var(--dev-text);
  background: linear-gradient(135deg, #465263, #283240);
}

.dev-panel-preview-button.is-success {
  color: #02120b;
  background: linear-gradient(135deg, var(--dev-green), #2fd18d);
}

.dev-panel-preview-button.is-danger {
  color: #fff;
  background: linear-gradient(135deg, var(--dev-danger), #b83448);
}

.dev-panel-preview-footer {
  color: var(--dev-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dev-wizard-preview-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dev-radius);
  padding: 16px;
  background: rgba(20, 26, 36, 0.96);
}

.dev-wizard-preview-card h3 {
  margin: 0;
  color: var(--dev-text);
  font-size: 23px;
  line-height: 1.1;
}

.dev-wizard-preview-card p {
  margin: 0;
  color: var(--dev-soft);
  line-height: 1.45;
}

.dev-wizard-preview-card strong {
  color: var(--dev-text);
}

.dev-wizard-preview-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--dev-soft);
}

.dev-wizard-preview-list span {
  color: var(--dev-text);
}

.dev-wizard-button-row,
.dev-wizard-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-wizard-button-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--dev-soft);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.dev-panel-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.dev-admin-actions {
  display: grid;
  gap: 18px;
}

.dev-admin-actions .dev-free-grant-panel {
  margin-top: 0;
}

.dev-free-grant-panel {
  margin-top: 18px;
  border-color: rgba(105, 240, 255, 0.28);
  padding: 16px;
  background: linear-gradient(135deg, rgba(23, 45, 58, 0.92), rgba(17, 22, 33, 0.9));
}

.dev-free-grant-panel > .dev-muted {
  margin: 8px 0 0;
}

.dev-free-grant-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 0.9fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.dev-free-grant-layout .dev-button {
  min-height: 44px;
  white-space: nowrap;
}

.dev-staff-layout {
  display: grid;
  gap: 18px;
}

.dev-staff-form {
  display: grid;
  gap: 16px;
}

.dev-login-access-mode {
  display: grid;
  gap: 16px;
}

.dev-login-access-mode .dev-panel-mode-switch {
  margin: 0;
}

.dev-login-access-explanation {
  display: grid;
  gap: 7px;
  max-width: 760px;
}

.dev-login-access-explanation strong {
  color: var(--dev-text);
  font-size: 18px;
}

.dev-login-access-explanation p {
  margin: 0;
  color: var(--dev-soft);
  line-height: 1.65;
}

.dev-login-access-table th:last-child,
.dev-login-access-table td:last-child {
  width: 140px;
  text-align: right;
}

.dev-checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.dev-checkbox-line input {
  width: 16px;
  height: 16px;
  accent-color: var(--dev-cyan);
}

.dev-staff-new-active {
  align-self: end;
}

.dev-staff-table td {
  vertical-align: top;
}

.dev-staff-table td:first-child strong,
.dev-staff-table td:first-child small {
  display: block;
}

.dev-staff-table td:first-child small {
  margin-top: 5px;
  color: var(--dev-muted);
  font-size: 12px;
}

.dev-staff-user-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 260px;
}

.dev-staff-user-avatar {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 255, 0.28);
  border-radius: 50%;
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.dev-staff-user-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-staff-user-copy {
  min-width: 0;
}

.dev-staff-user-copy strong {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-staff-user-copy small {
  max-width: 300px;
  word-break: break-all;
}

.dev-staff-role-select {
  min-width: 150px;
}

.dev-staff-note-input {
  width: min(260px, 100%);
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.dev-staff-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 420px;
}

.dev-staff-permissions span {
  min-height: 28px;
  border: 1px solid rgba(105, 240, 255, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--dev-soft);
  background: rgba(105, 240, 255, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.dev-staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-staff-actions .dev-button {
  min-height: 38px;
  padding: 0 12px;
}

.dev-field-stack {
  display: grid;
  align-content: start;
  gap: 10px;
}

.dev-field-label {
  color: var(--dev-soft);
  font-size: 13px;
  font-weight: 900;
}

.dev-shop-layout {
  display: grid;
  gap: 28px;
}

.dev-shop-section {
  display: grid;
  gap: 14px;
}

.dev-shop-section + .dev-shop-section {
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.dev-shop-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.dev-shop-section-head h2 {
  margin: 0;
  color: var(--dev-text);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.dev-shop-section-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--dev-muted);
  font-size: 15px;
  line-height: 1.5;
}

.dev-shop-section-action {
  display: flex;
  justify-content: flex-end;
}

.dev-shop-section .dev-grid,
.dev-shop-section .dev-plan-grid,
.dev-shop-section .dev-transfer-grid,
.dev-shop-section .dev-table-panel {
  margin-top: 0;
}

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

.dev-plan-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
}

.dev-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(105, 240, 255, 0.2), rgba(55, 168, 255, 0.85));
}

.dev-plan-card.is-featured::before {
  background: linear-gradient(90deg, var(--dev-green), var(--dev-cyan));
}

.dev-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dev-muted);
  font-size: 13px;
  font-weight: 900;
}

.dev-plan-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.dev-plan-price {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.dev-plan-card p {
  min-height: 48px;
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.45;
}

.dev-plan-list {
  display: grid;
  gap: 8px;
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
  color: var(--dev-soft);
  font-size: 14px;
  line-height: 1.35;
}

.dev-plan-list li {
  position: relative;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  column-gap: 11px;
  align-items: start;
}

.dev-plan-list li::before {
  content: "";
  display: block;
  margin-top: 0.425em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dev-cyan);
  box-shadow: 0 0 14px rgba(105, 240, 255, 0.5);
}

.dev-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.dev-transfer-grid .dev-table-panel {
  margin-top: 0;
}

.dev-table-panel {
  margin-top: 18px;
  padding: 16px;
  overflow-x: auto;
}

.dev-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.dev-table th,
.dev-table td {
  padding: 10px;
  border-bottom: 1px solid var(--dev-line);
  text-align: left;
  vertical-align: top;
}

.dev-table th {
  color: var(--dev-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.dev-table input,
.dev-table select,
.dev-table textarea,
.dev-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--dev-text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.dev-table textarea {
  min-height: 82px;
  resize: vertical;
}

.dev-server-management-panel {
  padding: 16px;
}

.dev-server-management-table {
  min-width: 1480px;
}

.dev-server-management-table th,
.dev-server-management-table td {
  vertical-align: top;
}

.dev-server-management-stack {
  display: grid;
  min-width: 180px;
  gap: 8px;
}

.dev-server-management-stack.is-price,
.dev-server-management-stack.is-switch {
  grid-template-columns: minmax(110px, 1fr) minmax(76px, 0.45fr);
  min-width: 220px;
}

.dev-server-management-table textarea {
  min-width: 240px;
}

.dev-server-management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 180px;
}

.dev-server-management-actions .dev-order-action {
  flex: 1 1 84px;
}

.dev-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-order-action {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  white-space: nowrap;
}

.dev-order-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--dev-muted);
  font-size: 13px;
  font-weight: 800;
}

.dev-cancel-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.dev-cancel-summary p {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-cancel-summary span {
  color: var(--dev-muted);
  font-size: 13px;
  font-weight: 900;
}

.dev-cancel-summary strong {
  color: var(--dev-text);
  overflow-wrap: anywhere;
}

.dev-withdraw-field {
  margin-top: 16px;
}

.dev-checkout-modal {
  width: min(720px, calc(100vw - 48px));
}

.dev-checkout-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dev-checkout-summary p {
  display: grid;
  gap: 5px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dev-checkout-summary span,
.dev-checkout-consent span {
  color: var(--dev-muted);
}

.dev-checkout-summary strong {
  color: var(--dev-text);
  overflow-wrap: anywhere;
}

.dev-checkout-form {
  display: grid;
  gap: 14px;
}

.dev-checkout-form .dev-select {
  min-height: 46px;
}

.dev-checkout-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255, 202, 95, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 202, 95, 0.07);
  line-height: 1.45;
}

.dev-checkout-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--dev-cyan);
}

.dev-checkout-consent a {
  color: var(--dev-cyan);
  font-weight: 900;
}

.dev-empty,
.dev-error {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dev-radius);
  color: var(--dev-muted);
  background: rgba(255, 255, 255, 0.05);
}

.dev-error {
  color: #ffd8de;
  border-color: rgba(255, 95, 116, 0.38);
  background: rgba(255, 95, 116, 0.12);
}

@media (max-width: 1100px) {
  .dev-hero-grid,
  .dev-shell {
    grid-template-columns: 1fr;
  }

  .dev-view-head {
    flex-wrap: wrap;
  }

  .dev-shell {
    display: block;
  }

  .dev-sidebar {
    position: relative;
    height: auto;
    display: block;
    border-width: 0 0 1px;
  }

  .dev-nav-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
  }

  .dev-nav-categories {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .dev-nav-category {
    min-width: min(220px, 100%);
  }

  .dev-nav-title {
    width: 100%;
  }

  .dev-nav-button {
    width: auto;
  }

  .dev-feature-grid,
  .dev-plan-grid,
  .dev-server-grid,
  .dev-module-grid,
  .dev-bot-profile-grid,
  .dev-setup-choice-grid,
  .dev-overview-layout,
  .dev-reset-grid,
  .dev-form-grid,
  .dev-free-grant-layout,
  .dev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-overview-layout {
    grid-template-columns: 1fr;
  }

  .dev-overview-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-support-topic-grid {
    grid-template-columns: 1fr;
  }

  .dev-support-topic {
    min-height: 0;
  }

  .dev-free-grant-layout .dev-button {
    grid-column: 1 / -1;
  }

  .dev-setup-after {
    grid-template-columns: 1fr;
  }

  .dev-reset-modal .dev-reset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-panel-layout,
  .dev-panel-media-grid,
  .dev-panel-field-row,
  .dev-activity-profile-row,
  .dev-wizard-advanced .dev-form-grid {
    grid-template-columns: 1fr;
  }

  .dev-panel-key-tabs {
    grid-template-columns: 1fr;
  }

  .dev-dynamic-rule-tabs {
    width: 100%;
  }

  .dev-dynamic-rule-tabs button {
    flex-basis: 100%;
    min-width: 0;
  }

  .dev-panel-preview {
    position: relative;
    top: auto;
  }

  .dev-transfer-grid {
    grid-template-columns: 1fr;
  }

  .dev-metrics {
    margin-top: 0;
    padding-bottom: 24px;
  }
}

@media (max-width: 720px) {
  .dev-view-head {
    display: grid;
    gap: 16px;
  }

  .dev-view-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .dev-support-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }

  .dev-support-signal {
    grid-template-columns: auto minmax(80px, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    min-height: 0;
    writing-mode: horizontal-tb;
  }

  .dev-support-signal i {
    width: 100%;
    height: 1px;
  }

  .dev-support-signal i::before {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }

  .dev-support-signal i::after {
    right: 0;
    bottom: 50%;
    left: auto;
    transform: translate(50%, 50%);
  }

  .dev-support-section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dev-support-actions,
  .dev-support-actions .dev-button {
    width: 100%;
  }

  .dev-support-command {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dev-support-command > span,
  .dev-support-command code {
    width: fit-content;
  }

  .dev-shop-layout {
    gap: 22px;
  }

  .dev-shop-section + .dev-shop-section {
    padding-top: 22px;
  }

  .dev-shop-section-head {
    display: grid;
    align-items: start;
  }

  .dev-dashboard-tabs {
    width: 100%;
  }

  .dev-dashboard-tab {
    flex: 1 1 0;
  }

  .dev-module-section-head {
    align-items: start;
    flex-direction: column;
  }

  .dev-module-section-head > span {
    width: fit-content;
  }

  .dev-setup-head {
    grid-template-columns: 1fr;
  }

  .dev-setup-toggle {
    width: 100%;
    min-width: 0;
  }

  .dev-custom-bot-panel-toggle {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dev-custom-bot-toggle-state {
    width: 100%;
  }

  .dev-overview-details,
  .dev-overview-live-grid {
    grid-template-columns: 1fr;
  }

  .dev-overview-step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dev-overview-step .dev-button {
    grid-column: 2;
    justify-self: start;
  }

  .dev-server-search {
    width: 100%;
    flex-basis: auto;
  }

  .dev-server-tools {
    display: grid;
    width: 100%;
    max-width: none;
  }

  .dev-server-refresh {
    width: 100%;
  }

  .dev-server-card .dev-button.primary {
    justify-self: stretch;
    width: 100%;
  }

  .dev-hero-shell,
  .dev-section {
    width: min(100% - 24px, 1480px);
  }

  .dev-public-nav {
    min-height: 74px;
    align-items: flex-start;
    padding-top: 14px;
  }

  .dev-brand img {
    width: 104px;
    max-width: 28vw;
  }

  .dev-public-actions {
    gap: 8px;
  }

  .dev-login-link,
  .dev-nav-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .dev-hero-grid {
    min-height: auto;
    padding: 26px 0 92px;
  }

  .dev-command-panel {
    display: none;
  }

  .dev-metrics,
  .dev-feature-grid,
  .dev-customer-section,
  .dev-plan-grid,
  .dev-server-grid,
  .dev-module-grid,
  .dev-bot-profile-grid,
  .dev-setup-choice-grid,
  .dev-reset-grid,
  .dev-form-grid,
  .dev-free-grant-layout,
  .dev-transfer-grid,
  .dev-grid {
    grid-template-columns: 1fr;
  }

  .dev-setup-modal.dev-reset-modal {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
  }

  .dev-reset-modal .dev-reset-grid {
    grid-template-columns: 1fr;
  }

  .dev-cancel-summary p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dev-checkout-summary {
    grid-template-columns: 1fr;
  }

  .dev-emoji-select-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dev-emoji-source-select {
    grid-column: 1 / -1;
  }

  .dev-standard-emoji-picker {
    grid-column: 1 / -1;
  }

  .dev-standard-emoji-menu {
    right: auto;
  }

  .dev-customer-section,
  .dev-view-head,
  .dev-topbar {
    display: grid;
  }

  .dev-content {
    margin: 14px;
    padding: 16px;
  }

  .dev-topbar {
    padding: 14px;
  }

  .dev-server-switcher-button {
    width: 100%;
  }

  .dev-server-dropdown,
  .dev-account-menu {
    left: 0;
    right: auto;
    width: min(100%, calc(100vw - 28px));
  }

  .dev-account-trigger {
    max-width: none;
  }

  .dev-setup-modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .dev-setup-modal {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .dev-setup-confirm-modal {
    width: min(100%, calc(100vw - 24px));
  }

  .dev-setup-preview-grid {
    grid-template-columns: 1fr;
  }

  .dev-setup-modal-head {
    display: grid;
  }

  .dev-setup-modal-state {
    justify-self: start;
  }

  .dev-setup-progress-step {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .dev-setup-progress-step small {
    grid-column: 2;
  }

  .dev-top-actions {
    justify-content: flex-start;
  }

  .dev-top-actions,
  .dev-account-menu-wrap {
    width: 100%;
  }

  .dev-top-actions > .dev-button,
  .dev-account-trigger {
    flex: 1 1 auto;
  }

  .dev-panel-subhead,
  .dev-panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dev-panel-subhead .dev-button,
  .dev-panel-actions .dev-button {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.dev-ranking-grid { display: grid; gap: 16px; }
.dev-ranking-box { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--dev-line); border-radius: 12px; background: rgba(16, 21, 30, 0.9); }
.dev-ranking-box legend { padding: 0 8px; color: var(--dev-text); font-weight: 800; }
.dev-reminder-language {
  overflow: hidden;
  border: 1px solid rgba(105, 240, 255, 0.16);
  border-radius: 10px;
  background: rgba(3, 8, 14, 0.34);
}

.dev-panel-preview-image-error {
  margin: 12px;
  border: 1px solid rgba(255, 107, 126, 0.42);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 107, 126, 0.1);
  color: #ffb2bd;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.dev-panel-media-input input[aria-invalid="true"] {
  color: #ffb2bd;
}

.dev-panel-preview-card.is-host-post .dev-panel-preview-body {
  grid-template-columns: 1fr;
}

.dev-panel-preview-card.is-host-post .dev-panel-preview-body > :not(.dev-panel-preview-field.is-inline) {
  grid-column: 1 / -1;
}

.dev-panel-preview-card.is-host-post .dev-panel-preview-field {
  grid-column: 1 / -1;
}

.dev-panel-preview-separator {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}


.dev-panel-preview-avatar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, #303846, #121721);
  color: var(--dev-text);
  font-size: 18px;
  font-weight: 800;
}

.dev-panel-preview-card:has(.dev-panel-preview-avatar) .dev-panel-preview-body {
  padding-right: 94px;
}

.dev-reminder-language summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--dev-soft);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.dev-reminder-language summary::-webkit-details-marker {
  display: none;
}

.dev-reminder-language:not([open]) > :not(summary) {
  display: none;
}

.dev-reminder-language summary::after {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.dev-reminder-language summary:hover,
.dev-reminder-language summary:focus-visible {
  color: var(--dev-cyan);
  background: rgba(105, 240, 255, 0.06);
}

.dev-reminder-language summary:focus-visible {
  outline: 2px solid rgba(105, 240, 255, 0.34);
  outline-offset: -2px;
}

.dev-reminder-language[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.dev-reminder-language .dev-form-grid {
  padding: 4px 14px 14px;
}

.dev-reminder-preview {
  min-width: 0;
  border-top: 1px solid rgba(105, 240, 255, 0.12);
  padding-top: 14px;
}

.dev-reminder-preview-card {
  max-width: 760px;
  border-left-color: var(--dev-cyan);
}

.dev-reminder-preview .dev-panel-preview-head {
  margin-bottom: 8px;
}

.dev-reminder-preview .dev-panel-preview-body {
  padding: 14px;
}
.dev-ranking-box > [data-action="remove-ranking-mode"],
.dev-ranking-box > [data-action="remove-matchpoint-sheet"] { margin-top: 16px; }
.dev-wide { grid-column: 1 / -1; }
.dev-ranking-toggle { display: flex; min-height: 44px; align-items: center; gap: 10px; color: var(--dev-text); cursor: pointer; }
.dev-ranking-toggle input { width: 18px; height: 18px; accent-color: var(--dev-blue); }
.dev-ranking-sheet-toggle { grid-column: 1 / -1; display: flex; min-height: 56px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--dev-line); border-radius: 8px; background: rgba(55, 168, 255, 0.06); color: var(--dev-text); cursor: pointer; }
.dev-ranking-sheet-toggle input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--dev-blue); }
.dev-ranking-sheet-toggle span { display: grid; gap: 3px; }
.dev-ranking-sheet-toggle small { color: var(--dev-muted); font-weight: 400; line-height: 1.45; }
.dev-ranking-sheet-fields { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 16px; }
.dev-ranking-sheet-fields[hidden] { display: none; }
.dev-ranking-template-guide { grid-column: 1 / -1; margin-top: 4px; }
@media (max-width: 700px) { .dev-ranking-box { padding: 14px; } }
@media (max-width: 700px) { .dev-ranking-sheet-fields { grid-template-columns: 1fr; } }

.dev-module-workspace-tabs[aria-label="Ranking bearbeiten"],
.dev-module-workspace-tabs[aria-label="Tickets bearbeiten"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dev-module-workspace-tabs[aria-label="Turniere bearbeiten"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dev-google-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
}

.dev-google-login-main,
.dev-google-login-guide {
  min-width: 0;
  border: 1px solid var(--dev-line);
  border-radius: 12px;
  padding: 20px;
  background: rgba(16, 21, 30, 0.9);
}

.dev-google-login-main {
  display: grid;
  align-content: start;
  gap: 18px;
}

.dev-google-login-status {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--dev-line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--dev-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.dev-google-login-status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7f8b9d;
  box-shadow: 0 0 0 4px rgba(127, 139, 157, 0.12);
}

.dev-google-login-status.is-ready > span {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.13);
}

.dev-google-login-status.is-error > span {
  background: #fb7185;
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.13);
}

.dev-google-login-status.is-pending > span {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.13);
}

.dev-google-login-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dev-google-login-facts > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(105, 240, 255, 0.13);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(3, 8, 14, 0.38);
}

.dev-google-login-facts span,
.dev-google-login-guide-head span {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dev-google-login-facts strong {
  overflow-wrap: anywhere;
  color: var(--dev-text);
  font-size: 14px;
}

#dev-google-credentials-json {
  min-height: 220px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
}

.dev-google-login-actions {
  margin-top: 0;
}

.dev-google-login-guide {
  display: grid;
  align-content: start;
  gap: 16px;
  background: linear-gradient(150deg, rgba(105, 240, 255, 0.07), rgba(16, 21, 30, 0.92) 42%);
}

.dev-google-login-guide-head {
  display: grid;
  gap: 5px;
}

.dev-google-login-guide-head strong {
  color: var(--dev-text);
  font-size: 20px;
}

.dev-google-login-guide ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: google-setup;
}

.dev-google-login-guide li {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 0 0 16px 42px;
  counter-increment: google-setup;
}

.dev-google-login-guide li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 2px;
  left: 14px;
  width: 1px;
  background: rgba(105, 240, 255, 0.2);
}

.dev-google-login-guide li::before {
  content: counter(google-setup);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(105, 240, 255, 0.28);
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  font-size: 12px;
  font-weight: 900;
}

.dev-google-login-guide li strong {
  color: var(--dev-text);
  font-size: 14px;
}

.dev-google-login-guide li span {
  color: var(--dev-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dev-google-cloud-link {
  justify-self: start;
}

@media (max-width: 1050px) {
  .dev-module-workspace-tabs[aria-label="Ranking bearbeiten"],
  .dev-module-workspace-tabs[aria-label="Tickets bearbeiten"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dev-google-login-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .dev-module-workspace-tabs[aria-label="Ranking bearbeiten"],
  .dev-module-workspace-tabs[aria-label="Tickets bearbeiten"] {
    grid-template-columns: 1fr;
  }

  .dev-google-login-main,
  .dev-google-login-guide {
    padding: 14px;
  }

  .dev-google-login-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dev-ticket-button-control-head {
    display: none;
  }

  .dev-module-workspace-tabs[aria-label="Turniere bearbeiten"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-ticket-button-control-row {
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
  }

  .dev-ticket-button-control-row:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .dev-ticket-button-control-row .dev-wizard-color-select {
    width: 100%;
  }
}

.dev-matchpoint-template-guide {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(105, 240, 255, 0.2);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(105, 240, 255, 0.09), rgba(16, 21, 30, 0.94) 45%);
}

.dev-matchpoint-template-copy {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.dev-matchpoint-template-copy strong {
  color: var(--dev-text);
  font-size: 20px;
  line-height: 1.25;
}

.dev-matchpoint-template-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--dev-muted);
  line-height: 1.55;
}

.dev-matchpoint-template-copy .dev-button {
  justify-self: start;
}

.dev-matchpoint-template-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.dev-matchpoint-template-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-matchpoint-template-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(105, 240, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(3, 8, 14, 0.36);
}

.dev-matchpoint-template-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue));
  font-size: 12px;
  font-weight: 900;
}

.dev-matchpoint-template-steps li div {
  display: grid;
  gap: 3px;
}

.dev-matchpoint-template-steps strong {
  color: var(--dev-text);
  font-size: 14px;
}

.dev-matchpoint-template-steps small {
  overflow-wrap: anywhere;
  color: var(--dev-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dev-matchpoint-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.dev-matchpoint-card-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-matchpoint-validation {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--dev-line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--dev-muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.dev-matchpoint-validation.is-pending {
  border-color: rgba(251, 191, 36, 0.32);
  color: #fcd34d;
}

.dev-matchpoint-validation.is-ready {
  border-color: rgba(74, 222, 128, 0.32);
  color: #86efac;
}

.dev-matchpoint-validation.is-error {
  border-color: rgba(251, 113, 133, 0.34);
  color: #fda4af;
}

@media (max-width: 900px) {
  .dev-matchpoint-template-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .dev-matchpoint-template-guide {
    padding: 14px;
  }

  .dev-matchpoint-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dev-matchpoint-card-actions > div,
  .dev-matchpoint-card-actions .dev-button {
    width: 100%;
  }

  .dev-matchpoint-template-buttons,
  .dev-matchpoint-template-buttons .dev-button {
    width: 100%;
  }
}
.dev-social-links-detail {
  display: grid;
  gap: 24px;
}

.dev-social-link-fields {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(280px, 1.35fr) auto;
  gap: 16px;
  align-items: end;
}

.dev-social-link-fields .dev-button {
  min-height: 44px;
}

.dev-social-link-fields .dev-wide {
  grid-column: auto;
}

@media (max-width: 760px) {
  .dev-social-link-fields {
    grid-template-columns: 1fr;
  }


  .dev-module-workspace-tabs[aria-label="Turniere bearbeiten"] {
    grid-template-columns: 1fr;
  }

  .dev-social-link-fields .dev-button {
    width: 100%;
  }
}
