:root {
  --bg: #120a06;
  --card: #1b110a;
  --card-2: #24160d;
  --card-3: #2d1b10;
  --text: #fff6ee;
  --muted: #d8c5b1;
  --accent: #ff8a2b;
  --accent-dark: #d96f1f;
  --border: #5a3924;
  --card-border: rgba(255, 154, 76, 0.34);
  --card-shadow: 0 28px 72px rgba(0, 0, 0, 0.52);
  --soft-glow: rgba(255, 145, 58, 0.2);
  --surface-a: rgba(20, 12, 8, 0.96);
  --surface-b: rgba(27, 16, 10, 0.96);
  --surface-c: rgba(36, 22, 13, 0.94);
  --line-strong: rgba(255, 165, 90, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  background:
    radial-gradient(780px 420px at 15% -12%, rgba(255, 138, 43, 0.16), transparent 62%),
    radial-gradient(680px 420px at 86% -5%, rgba(255, 186, 97, 0.1), transparent 57%),
    radial-gradient(900px 520px at 30% 120%, rgba(255, 128, 64, 0.08), transparent 62%),
    linear-gradient(180deg, #120a06 0%, #090604 100%);
  color: var(--text);
  overflow-x: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 9, 6, 0.94);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.topbar .link,
.topbar .link-button {
  margin-left: 0;
}

.topbar nav .link,
.topbar nav .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.22);
  background: linear-gradient(180deg, rgba(36, 22, 12, 0.84), rgba(22, 14, 9, 0.88));
  color: #f8ede0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 200ms ease, background 200ms ease;
}

.topbar nav .link:hover,
.topbar nav .link-button:hover {
  border-color: rgba(255, 165, 84, 0.58);
  background: linear-gradient(180deg, rgba(53, 30, 15, 0.9), rgba(28, 16, 10, 0.9));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.topbar nav .link:active,
.topbar nav .link-button:active {
  transform: translateY(0);
}

body.compact .topbar nav #compact-toggle {
  border-color: rgba(255, 181, 109, 0.74);
  background: linear-gradient(180deg, rgba(255, 148, 67, 0.32), rgba(255, 114, 35, 0.28));
  color: #fff5e8;
}

.topbar nav a[href="/logout"] {
  border-color: rgba(255, 107, 107, 0.38);
  background: linear-gradient(180deg, rgba(56, 20, 20, 0.85), rgba(32, 14, 14, 0.9));
}

.topbar nav a[href="/logout"]:hover {
  border-color: rgba(255, 128, 128, 0.6);
  background: linear-gradient(180deg, rgba(72, 24, 24, 0.9), rgba(40, 16, 16, 0.94));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

.brand-text {
  line-height: 1;
}

.topbar.topbar-public {
  justify-content: center;
}

.topbar.topbar-public nav {
  display: none;
}

.topbar.topbar-public .brand {
  gap: 12px;
}

.topbar.topbar-public .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.topbar.topbar-public .brand-text {
  font-size: 1.2rem;
  font-weight: 800;
}

.link {
  color: var(--text);
  text-decoration: none;
  margin-left: 16px;
}

.inline-link {
  color: var(--text);
  text-decoration: none;
}

.inline-link:hover {
  color: var(--accent);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.preview-card {
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 12px;
  padding: 8px;
  background: rgba(32, 18, 10, 0.7);
}

.preview-title {
  font-size: 0.8em;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: capitalize;
}

.preview-card img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.alert-item {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.18);
  background: rgba(32, 18, 10, 0.7);
}

.alert-item.warn {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.08);
}

.alert-item.danger {
  border-color: rgba(244, 67, 54, 0.35);
  background: rgba(244, 67, 54, 0.08);
}

.alert-item.info {
  border-color: rgba(3, 169, 244, 0.25);
  background: rgba(3, 169, 244, 0.06);
}

.faction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.faction-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 43, 0.18);
  background: rgba(32, 18, 10, 0.7);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.faction-item:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.faction-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 138, 43, 0.12);
  border: 1px solid rgba(255, 138, 43, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
}

.faction-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faction-name {
  font-weight: 700;
}

.faction-sub {
  color: var(--muted);
  font-size: 0.82em;
}

.faction-count {
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-wrap: wrap;
  }

  .table-scroll {
    overflow-x: auto;
  }

  .stat-card {
    padding: 14px;
  }
}

.zone-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.zone-item {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.16);
  background: rgba(24, 14, 8, 0.8);
}

.zone-name {
  font-weight: 700;
}

.zone-sub {
  color: var(--muted);
  font-size: 0.82em;
}

.zone-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.zone-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zone-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.16);
}

.zone-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.zones-master {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  margin-top: 0;
  align-items: start;
}

#zone-add-form {
  margin: 0;
}

.zones-list-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 520px;
}

.zones-pane-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zone-pane-sub {
  color: var(--muted);
  font-size: 0.85em;
}

.zones-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 340px);
  overflow: auto;
  padding-right: 4px;
}

.zone-list-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(20, 14, 10, 0.7);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.zone-list-item:hover {
  border-color: rgba(255, 138, 43, 0.45);
  transform: translateY(-1px);
}

.zone-list-item.is-active {
  border-color: rgba(255, 138, 43, 0.7);
  background: rgba(255, 138, 43, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 43, 0.22);
}

.zone-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.zone-list-name {
  display: block;
  font-weight: 700;
}

.zone-list-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82em;
}

.zones-detail-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.zones-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zone-detail {
  display: none;
}

.zone-detail.is-active {
  display: block;
}

.zone-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.zone-row-points {
  min-height: 180px;
  font-family: Consolas, "Courier New", monospace;
}

.embed-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 43, 0.25);
  background: rgba(10, 12, 16, 0.6);
  margin: 10px 0 12px;
}

.embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.zone-tool-full {
  padding: 0;
  overflow: hidden;
}

.zone-tool-full .stat-title {
  padding: 16px 16px 0;
}

.zone-tool-full .embed-frame {
  margin: 12px 0 0;
  border-radius: 0 0 12px 12px;
  border-left: none;
  border-right: none;
}

.zone-tool-embed {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  padding: 12px;
  min-height: 520px;
  height: calc(100vh - 260px);
}

.zone-tool-map {
  background: rgba(12, 15, 24, 0.8);
  border: 1px solid rgba(255, 138, 43, 0.15);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.zone-tool-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.zone-tool-label {
  font-weight: 700;
  color: var(--text);
}

.zone-tool-hint {
  font-size: 12px;
  color: var(--muted);
}

#zoneCanvas {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  border-radius: 10px;
  border: 1px solid #263148;
  background: #0c0f18;
  display: block;
}

.zone-tool-coords {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

.zone-tool-controls {
  background: rgba(12, 15, 24, 0.7);
  border: 1px solid rgba(255, 138, 43, 0.12);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.zone-tool-zoom label,
.zone-tool-controls label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.zone-tool-zoom-actions {
  margin-top: 6px;
}

.zone-tool-pan {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.zone-tool-pan-row {
  display: flex;
  gap: 6px;
}

.zone-tool-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.zone-tool-controls textarea {
  flex: 1 1 auto;
  min-height: 120px;
  resize: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.zone-tool-note {
  font-size: 11px;
  color: var(--muted);
}

.leader-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.leader-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(16, 12, 10, 0.55);
  border: 1px solid rgba(255, 138, 43, 0.12);
}

.leader-row strong {
  font-weight: 700;
}

.zone-tabs {
  display: flex;
  gap: 10px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.28);
  background: rgba(17, 14, 12, 0.75);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 138, 43, 0.35), rgba(255, 94, 0, 0.35));
  border-color: rgba(255, 138, 43, 0.6);
}

.zone-tab-panel {
  display: none;
}

.zone-tab-panel.is-active {
  display: block;
}

@media (max-width: 1100px) {
  .zones-master {
    grid-template-columns: 1fr;
  }
  .zones-list {
    max-height: none;
  }
  .zones-detail-head {
    flex-direction: column;
    align-items: stretch;
  }
  .zone-tool-embed {
    grid-template-columns: 1fr;
    height: auto;
  }
  .zone-tool-controls textarea {
    min-height: 140px;
  }
}

@media (max-width: 900px) {
  .zone-tabs {
    width: 100%;
  }
  .tab-btn {
    flex: 1 1 100%;
  }
}

.zone-tool-frame {
  height: calc(100vh - 240px);
}

.zone-tool-frame iframe {
  height: 100%;
}

.zone-more {
  margin-top: 16px;
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 12px;
  padding: 8px 12px 12px;
  background: rgba(14, 12, 10, 0.65);
}

.zone-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
}

.zone-more summary::-webkit-details-marker {
  display: none;
}

.zone-more summary::after {
  content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¾";
  float: right;
  color: var(--muted);
}

.zone-more[open] summary::after {
  content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â´";
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 10px;
  align-items: center;
}

.bar-label {
  font-size: 0.85em;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 138, 43, 0.15);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 138, 43, 0.7), rgba(255, 185, 97, 0.9));
}

.bar-value {
  font-weight: 700;
  font-size: 0.85em;
}

.rpt-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(12, 10, 8, 0.6);
}

.rpt-list li {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.12);
  font-size: 0.82em;
  color: var(--muted);
}

.rpt-list li:last-child {
  border-bottom: none;
}

.rpt-tools-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.rpt-tools-panel {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14, 9, 6, 0.6);
}

.rpt-tools-actions textarea {
  min-height: 120px;
}

.rpt-tools-title {
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 2px 0 8px 0;
}

@media (max-width: 900px) {
  .rpt-tools-grid {
    grid-template-columns: 1fr;
  }
}

.link-button {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.user {
  color: var(--muted);
  margin-right: 12px;
}

.wrap {
  max-width: 1480px;
  margin: 30px auto 36px;
  padding: 0 24px;
}

body.has-helper-workspace .wrap {
  max-width: 1720px;
}

.card {
  background: linear-gradient(180deg, var(--surface-c), var(--surface-a));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.settings-card {
  background: linear-gradient(180deg, rgba(48, 28, 16, 0.84), rgba(22, 13, 8, 0.95));
  border: 1px solid rgba(255, 160, 86, 0.34);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.5);
}

.menu-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 138, 43, 0.14), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(255, 138, 43, 0.2);
  margin-bottom: 18px;
}

.menu-hero h1 {
  margin: 0 0 6px 0;
  font-size: 2em;
}

.menu-hero p {
  margin: 0;
}

.menu-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.menu-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 138, 43, 0.14);
  border: 1px solid rgba(255, 138, 43, 0.35);
  font-size: 0.8em;
  color: var(--text);
}

.page-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.page-hero h1 {
  margin: 0 0 6px 0;
  font-size: 2em;
}

.page-hero .muted {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 138, 43, 0.08), rgba(0, 0, 0, 0.2));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  max-width: 980px;
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 0 0 8px 0;
  font-size: 2.2em;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05em;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9em;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.metric {
  border: 1px solid #4a2a16;
  background: rgba(255, 138, 43, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

.metric-value {
  font-weight: 700;
}

.metric-label {
  color: var(--muted);
  font-size: 0.85em;
}

.hero-card {
  border: 1px solid var(--border);
  background: #20120a;
  border-radius: 16px;
  padding: 18px;
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-list {
  margin: 0 0 16px 0;
  padding-left: 18px;
  color: var(--text);
}

.hero-list li {
  margin: 6px 0;
}

.hero-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #4a2a16;
  background: rgba(255, 138, 43, 0.08);
  color: var(--text);
  font-size: 0.85em;
}

.landing-page {
  display: grid;
  gap: 18px;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(780px 460px at 10% -18%, rgba(255, 138, 43, 0.22), transparent),
    radial-gradient(520px 300px at 102% 12%, rgba(255, 94, 0, 0.15), transparent),
    linear-gradient(150deg, rgba(15, 11, 8, 0.94), rgba(20, 13, 10, 0.95));
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
  max-width: 1320px;
  margin: 0 auto;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -170px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 138, 43, 0.16), rgba(255, 138, 43, 0) 72%);
  pointer-events: none;
}

.landing-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.landing-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.landing-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72em;
  color: rgba(255, 198, 140, 0.95);
  font-weight: 700;
  margin-bottom: 10px;
}

.landing-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.landing-sub {
  color: var(--muted);
  font-size: 0.98em;
  margin: 0 0 4px 0;
  max-width: 62ch;
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.landing-note {
  color: #ffeed8;
  font-size: 0.86em;
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255, 188, 119, 0.56);
  border-radius: 999px;
  background: rgba(255, 136, 29, 0.2);
  padding: 8px 12px;
}

.landing-support-card {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 143, 20, 0.78);
  border-radius: 14px;
  background:
    radial-gradient(340px 150px at 6% -20%, rgba(255, 196, 120, 0.44), transparent),
    linear-gradient(160deg, rgba(255, 134, 14, 0.34), rgba(255, 98, 0, 0.30));
  box-shadow: inset 0 1px 0 rgba(255, 224, 186, 0.22), 0 10px 26px rgba(255, 121, 0, 0.24);
  padding: 10px 12px;
}

.landing-subgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.landing-support-copy {
  min-width: 0;
}

.landing-support-title {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff3df;
  margin-bottom: 2px;
}

.landing-support-sub {
  margin: 0;
  color: #ffe6cb;
  font-size: 0.84rem;
  line-height: 1.35;
}

.landing-support-card .button {
  flex: 0 0 auto;
  border-color: rgba(255, 196, 130, 0.95);
  background: linear-gradient(180deg, rgba(255, 161, 56, 0.96), rgba(255, 123, 18, 0.96));
  color: #2f1300;
  font-weight: 700;
}

.landing-support-card .button:hover {
  border-color: rgba(255, 214, 166, 0.98);
  background: linear-gradient(180deg, rgba(255, 180, 87, 0.98), rgba(255, 140, 34, 0.98));
}

.landing-pages-panel {
  margin-top: 4px;
  border: 1px solid rgba(255, 160, 64, 0.58);
  border-radius: 14px;
  background:
    radial-gradient(340px 160px at 10% -24%, rgba(255, 184, 112, 0.3), transparent),
    linear-gradient(160deg, rgba(54, 29, 12, 0.86), rgba(34, 18, 8, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 221, 179, 0.16), 0 10px 24px rgba(255, 117, 18, 0.16);
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.landing-primary-nav {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 174, 96, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(440px 160px at 10% -34%, rgba(255, 189, 126, 0.2), transparent),
    linear-gradient(180deg, rgba(47, 24, 10, 0.78), rgba(30, 15, 7, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 217, 172, 0.12), 0 10px 22px rgba(0, 0, 0, 0.2);
  padding: 8px;
}

.landing-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 186, 122, 0.36);
  background: rgba(255, 146, 49, 0.1);
  color: #ffead4;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 140ms ease;
}

.landing-primary-link:hover {
  border-color: rgba(255, 224, 187, 0.94);
  background: rgba(255, 170, 82, 0.22);
  box-shadow: 0 10px 20px rgba(255, 129, 29, 0.16);
  transform: translateY(-1px);
}

.landing-pages-head {
  min-width: 0;
}

.landing-page-v2 {
  gap: 12px;
  --muted: #ffd6ae;
}

.landing-page-v2 h1,
.landing-page-v2 h2 {
  color: #fff1dd;
}

.landing-page-v2 .chip {
  border-color: rgba(255, 193, 124, 0.62);
  background: rgba(255, 148, 43, 0.24);
  color: #fff0de;
}

body:has(.landing-page-v2) {
  background:
    radial-gradient(900px 500px at 12% -12%, rgba(255, 167, 76, 0.3), transparent 60%),
    radial-gradient(720px 440px at 90% -6%, rgba(255, 122, 26, 0.24), transparent 58%),
    radial-gradient(980px 560px at 45% 120%, rgba(255, 149, 52, 0.2), transparent 62%),
    linear-gradient(180deg, #1f1208 0%, #140a04 100%);
}

.topbar.topbar-public {
  border-bottom-color: rgba(255, 168, 84, 0.45);
  background:
    radial-gradient(520px 180px at 8% -40%, rgba(255, 170, 84, 0.26), transparent),
    linear-gradient(180deg, rgba(38, 20, 9, 0.96), rgba(24, 12, 6, 0.94));
  box-shadow: 0 10px 24px rgba(255, 120, 22, 0.16);
}

.topbar.topbar-public .brand-text {
  color: #ffe9d2;
}

.landing-auth-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 14px;
  border: 1px solid rgba(255, 162, 72, 0.5);
  border-radius: 22px;
  background:
    radial-gradient(620px 290px at 8% -14%, rgba(255, 178, 102, 0.28), transparent),
    linear-gradient(160deg, rgba(44, 24, 10, 0.94), rgba(27, 14, 7, 0.95));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.44), 0 10px 34px rgba(255, 124, 22, 0.18);
  padding: 18px;
}

.landing-auth-shell-single {
  grid-template-columns: 1fr;
}

.landing-auth-main {
  display: grid;
  gap: 9px;
}

.landing-hero-promise {
  margin: 0 0 6px 0;
  color: #ffe4c3;
  font-size: 0.94rem;
  line-height: 1.45;
  max-width: 68ch;
}

.landing-bot-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 2px;
}

.landing-page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 2px;
}

.landing-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 185, 121, 0.5);
  background: linear-gradient(180deg, rgba(72, 38, 16, 0.78), rgba(41, 22, 9, 0.84));
  color: #ffecd6;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 140ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.landing-page-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 216, 170, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24), 0 8px 20px rgba(255, 128, 24, 0.16);
}

.landing-bots-panel {
  border: 1px solid rgba(255, 166, 80, 0.44);
  border-radius: 15px;
  background:
    radial-gradient(500px 220px at 10% -28%, rgba(255, 177, 98, 0.18), transparent),
    linear-gradient(170deg, rgba(49, 26, 11, 0.84), rgba(28, 15, 7, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 221, 179, 0.12), 0 12px 26px rgba(0, 0, 0, 0.24);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.landing-bot-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 94px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 102, 0.46);
  background: linear-gradient(180deg, rgba(62, 33, 14, 0.82), rgba(33, 18, 9, 0.88));
  padding: 10px 9px;
  color: #fff0de;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: transform 140ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.landing-bot-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 210, 156, 0.84);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24), 0 8px 20px rgba(255, 128, 24, 0.18);
}

.landing-bot-tile-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 205, 154, 0.62);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
}

.public-page-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.public-page-card {
  border: 1px solid rgba(255, 170, 88, 0.36);
  border-radius: 20px;
  background:
    radial-gradient(780px 260px at 0% -26%, rgba(255, 193, 130, 0.16), transparent),
    radial-gradient(820px 340px at 110% 120%, rgba(255, 120, 45, 0.11), transparent),
    linear-gradient(168deg, rgba(54, 30, 14, 0.9), rgba(28, 16, 8, 0.94));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  padding: 22px 20px;
}

.public-page-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd8ad;
  font-weight: 800;
  margin-bottom: 6px;
}

.public-page-head {
  margin-bottom: 4px;
}

.public-page-card .section-head h1 {
  margin: 0;
  color: #fff0dc;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

.public-page-layout {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr);
  gap: 14px;
  align-items: start;
}

.public-page-main {
  min-width: 0;
}

.public-page-aside {
  min-width: 0;
}

.public-page-aside-card {
  border: 1px solid rgba(255, 188, 127, 0.34);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(162deg, rgba(88, 51, 27, 0.78), rgba(42, 24, 12, 0.9));
}

.public-page-aside-card h2 {
  margin: 0;
  font-size: 1.02rem;
}

.public-page-topic-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.public-page-copy {
  display: grid;
  gap: 8px;
}

.public-page-paragraph-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(255, 184, 118, 0.26);
  border-radius: 12px;
  padding: 10px 10px;
  background: rgba(20, 13, 10, 0.55);
}

.public-page-paragraph-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 131, 0.6);
  background: rgba(255, 138, 43, 0.18);
  color: #ffe8cc;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}

.public-page-top-actions {
  margin: 0 0 8px;
  display: flex;
  justify-content: flex-start;
}

.public-page-copy p {
  margin: 0;
  color: #ffd9b5;
  line-height: 1.46;
}

.public-page-links {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.public-page-link-tile {
  min-height: 62px;
  border-radius: 12px;
  border: 1px solid rgba(255, 188, 127, 0.44);
  background: linear-gradient(160deg, rgba(114, 67, 33, 0.84), rgba(53, 30, 14, 0.92));
  color: #fff0dc;
  text-decoration: none;
  padding: 10px;
  display: grid;
  gap: 3px;
  align-content: center;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  transition: transform 140ms ease, border-color 160ms ease;
}

.public-page-link-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 216, 164, 0.66);
}

.public-page-link-tile span {
  font-weight: 700;
}

.public-page-link-tile small {
  color: rgba(255, 220, 182, 0.86);
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .public-page-layout {
    grid-template-columns: 1fr;
  }

  .public-page-links {
    grid-template-columns: 1fr;
  }
}

.public-stats-grid {
  margin-top: 8px;
}

.public-stats-table-wrap {
  margin-top: 14px;
}

.public-status-kpis {
  margin-top: 8px;
}

.public-status-board {
  margin-top: 14px;
}

.status-v3-wrap {
  max-width: 1240px;
}

.status-v3-card {
  border: 1px solid rgba(117, 196, 255, 0.46);
  background:
    radial-gradient(700px 260px at 8% -28%, rgba(75, 189, 255, 0.24), transparent),
    radial-gradient(520px 260px at 95% 8%, rgba(255, 169, 86, 0.18), transparent),
    linear-gradient(166deg, rgba(26, 41, 71, 0.9), rgba(14, 24, 45, 0.92));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  gap: 12px;
}

.status-v3-top-actions {
  margin-bottom: 2px;
}

.status-v3-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 12px;
  border: 1px solid rgba(151, 212, 255, 0.4);
  border-radius: 16px;
  background:
    radial-gradient(520px 220px at 5% -35%, rgba(130, 218, 255, 0.24), transparent),
    linear-gradient(162deg, rgba(30, 54, 95, 0.84), rgba(17, 33, 62, 0.9));
  padding: 14px;
}

.status-v3-hero-main {
  display: grid;
  gap: 8px;
}

.status-v3-eyebrow {
  margin: 0;
  color: #caeaff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.76rem;
  font-weight: 800;
}

.status-v3-hero-main h1 {
  margin: 0;
  color: #f3f9ff;
  font-size: clamp(1.56rem, 2.8vw, 2.2rem);
}

.status-v3-sub {
  margin: 0;
  color: #d7ebff;
  max-width: 72ch;
}

.status-v3-hero-side {
  display: grid;
}

.status-v3-uptime-card {
  border: 1px solid rgba(159, 223, 255, 0.46);
  border-radius: 12px;
  background: linear-gradient(168deg, rgba(21, 44, 80, 0.8), rgba(13, 27, 52, 0.88));
  padding: 11px;
  display: grid;
  gap: 6px;
  align-content: center;
}

.status-v3-uptime-label {
  color: #bfe0ff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-v3-uptime-value {
  color: #f4f9ff;
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 900;
}

.status-v3-uptime-bar {
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(146, 212, 255, 0.44);
  background: rgba(18, 33, 59, 0.8);
  overflow: hidden;
}

.status-v3-uptime-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(51, 224, 131, 0.95), rgba(74, 190, 255, 0.95));
}

.status-v3-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.status-v3-kpi {
  border: 1px solid rgba(146, 209, 255, 0.38);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(28, 51, 89, 0.78), rgba(17, 31, 57, 0.88));
  padding: 9px 10px;
  min-width: 0;
}

.status-v3-kpi .mini-label {
  display: block;
  color: #bedfff;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-v3-kpi .mini-value {
  display: block;
  color: #f2f8ff;
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-v3-kpi.tone-blue {
  border-color: rgba(150, 211, 255, 0.5);
  background: linear-gradient(180deg, rgba(35, 70, 120, 0.8), rgba(20, 39, 71, 0.88));
}

.status-v3-kpi.tone-indigo {
  border-color: rgba(172, 182, 255, 0.46);
  background: linear-gradient(180deg, rgba(56, 57, 124, 0.78), rgba(30, 31, 72, 0.9));
}

.status-v3-kpi.tone-teal {
  border-color: rgba(137, 247, 213, 0.46);
  background: linear-gradient(180deg, rgba(20, 94, 85, 0.78), rgba(12, 49, 46, 0.9));
}

.status-v3-kpi.tone-green {
  border-color: rgba(134, 242, 171, 0.48);
  background: linear-gradient(180deg, rgba(26, 110, 64, 0.78), rgba(14, 57, 36, 0.9));
}

.status-v3-kpi.tone-amber {
  border-color: rgba(255, 201, 132, 0.5);
  background: linear-gradient(180deg, rgba(113, 71, 26, 0.8), rgba(58, 37, 15, 0.9));
}

.status-v3-kpi.tone-red {
  border-color: rgba(255, 170, 170, 0.5);
  background: linear-gradient(180deg, rgba(110, 37, 48, 0.8), rgba(59, 21, 28, 0.9));
}

.status-v3-board {
  margin-top: 10px;
  border-color: rgba(138, 205, 255, 0.48);
  background:
    radial-gradient(440px 200px at 5% -30%, rgba(79, 188, 255, 0.18), transparent),
    linear-gradient(165deg, rgba(25, 45, 80, 0.88), rgba(13, 28, 55, 0.92));
  gap: 10px;
}

.status-v3-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.status-v3-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-v3-legend-pill {
  border-radius: 999px;
  border: 1px solid rgba(162, 214, 255, 0.42);
  background: rgba(67, 136, 214, 0.2);
  color: #e7f3ff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 9px;
}

.status-v3-legend-pill.good {
  border-color: rgba(121, 232, 157, 0.52);
  background: rgba(42, 156, 84, 0.26);
}

.status-v3-legend-pill.warn {
  border-color: rgba(255, 198, 124, 0.55);
  background: rgba(176, 113, 29, 0.26);
}

.status-v3-legend-pill.bad {
  border-color: rgba(255, 147, 147, 0.55);
  background: rgba(146, 42, 42, 0.26);
}

.status-v3-board .system-status-tiles {
  gap: 9px;
}

.status-v3-service {
  border-radius: 12px;
  padding: 9px;
  gap: 6px;
  border-color: rgba(156, 212, 255, 0.46);
  background: linear-gradient(180deg, rgba(39, 73, 122, 0.62), rgba(24, 43, 77, 0.76));
}

.status-v3-service .system-status-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border-color: rgba(201, 230, 255, 0.58);
}

.status-v3-service-meta {
  display: grid;
  gap: 4px;
}

.status-v3-service .system-status-name {
  color: #eef7ff;
  font-size: 0.76rem;
}

.status-v3-service .system-status-state {
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid rgba(171, 218, 255, 0.48);
  background: rgba(70, 136, 209, 0.24);
  color: #edf6ff;
}

.status-v3-service.good {
  border-color: rgba(119, 236, 158, 0.58);
  background: linear-gradient(180deg, rgba(32, 112, 71, 0.62), rgba(18, 64, 44, 0.8));
}

.status-v3-service.good .system-status-state {
  border-color: rgba(137, 242, 174, 0.66);
  background: rgba(62, 171, 101, 0.34);
  color: #e8fff1;
}

.status-v3-service.warn {
  border-color: rgba(255, 199, 127, 0.6);
  background: linear-gradient(180deg, rgba(121, 80, 32, 0.64), rgba(72, 47, 18, 0.8));
}

.status-v3-service.warn .system-status-state {
  border-color: rgba(255, 210, 152, 0.68);
  background: rgba(186, 120, 30, 0.34);
  color: #fff0dd;
}

.status-v3-service.bad {
  border-color: rgba(255, 151, 151, 0.62);
  background: linear-gradient(180deg, rgba(119, 38, 49, 0.66), rgba(68, 22, 30, 0.82));
}

.status-v3-service.bad .system-status-state {
  border-color: rgba(255, 173, 173, 0.7);
  background: rgba(175, 52, 52, 0.34);
  color: #ffe7e7;
}

@media (max-width: 1080px) {
  .status-v3-hero {
    grid-template-columns: 1fr;
  }

  .status-v3-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .status-v3-card {
    padding: 12px;
    gap: 10px;
  }

  .status-v3-hero {
    padding: 11px;
  }

  .status-v3-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-v3-board-head {
    align-items: flex-start;
  }
}

.public-live-overview {
  margin-top: 8px;
}

.bot-blank-page {
  max-width: 1180px;
  margin: 0 auto;
}

.bot-page-top-actions {
  margin: 2px 0 10px;
}

.bot-blank-card {
  display: grid;
  gap: 14px;
  padding: 24px 20px;
}

.bot-hero-card {
  border: 1px solid rgba(255, 176, 102, 0.42);
  background:
    radial-gradient(580px 220px at 8% -24%, rgba(255, 185, 122, 0.22), transparent),
    linear-gradient(165deg, rgba(55, 30, 13, 0.88), rgba(30, 16, 8, 0.9));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.bot-hero-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.bot-hero-copy {
  display: grid;
  gap: 8px;
}

.bot-hero-eyebrow {
  margin: 0;
  color: #ffd5ad;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bot-blank-logo {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 206, 156, 0.65);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.bot-blank-card h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  color: #fff0dc;
  text-align: left;
}

.bot-blank-summary {
  margin: 0;
  max-width: 88ch;
  color: #ffdcbc;
  line-height: 1.5;
  font-size: 0.96rem;
  text-align: left;
}

.bot-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bot-quick-links .button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.87rem;
}

.bot-kf-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bot-kf-highlight {
  border: 1px solid rgba(222, 104, 104, 0.42);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(88, 28, 28, 0.52), rgba(50, 16, 16, 0.62));
  padding: 10px 10px;
}

.bot-kf-highlight-title {
  color: #ffd8d5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bot-kf-highlight-sub {
  margin-top: 4px;
  color: #ffccc6;
  font-size: 0.86rem;
  line-height: 1.35;
}

.bot-metric-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bot-metric-tile {
  border: 1px solid rgba(255, 170, 88, 0.34);
  border-radius: 12px;
  background: rgba(56, 30, 14, 0.56);
  padding: 10px 10px;
}

.bot-metric-value {
  color: #ffe7cd;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.1;
}

.bot-metric-label {
  margin-top: 4px;
  color: #ffcfa4;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bot-section-nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bot-section-nav a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 102, 0.45);
  background: rgba(255, 140, 40, 0.12);
  color: #ffe4c5;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 10px;
}

.bot-section-nav a:hover {
  border-color: rgba(255, 214, 166, 0.9);
  background: rgba(255, 164, 74, 0.2);
}

.bot-feature-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bot-feature-card {
  padding: 18px 16px;
}

.bot-feature-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
}

.bot-feature-index {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 185, 122, 0.5);
  background: rgba(255, 149, 52, 0.2);
  color: #ffe9cd;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.bot-feature-card h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #ffe9ce;
}

.bot-feature-count {
  margin-top: 4px;
  color: #f8c89b;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bot-feature-sub {
  margin: 0 0 8px 0;
  color: #ffcd98;
  font-size: 0.82rem;
  line-height: 1.4;
}

.bot-feature-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.bot-feature-card li {
  position: relative;
  padding-left: 18px;
  color: #ffd9b5;
  font-size: 0.9rem;
  line-height: 1.38;
}

.bot-feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 179, 112, 0.95);
}

.bot-blank-page-killfeed .bot-blank-card {
  border-color: rgba(220, 88, 88, 0.46);
  background:
    radial-gradient(520px 190px at 10% -28%, rgba(226, 89, 89, 0.22), transparent),
    linear-gradient(170deg, rgba(62, 20, 20, 0.88), rgba(33, 11, 11, 0.9));
}

.bot-blank-page-killfeed .bot-metric-tile {
  border-color: rgba(222, 104, 104, 0.42);
  background: rgba(80, 26, 26, 0.5);
}

.bot-blank-page-killfeed .bot-feature-card {
  border-color: rgba(216, 92, 92, 0.4);
  background: linear-gradient(180deg, rgba(66, 21, 21, 0.84), rgba(36, 11, 11, 0.9));
}

.bot-blank-page-killfeed .bot-feature-sub {
  color: #ffbeb7;
}

.bot-blank-page-killfeed .bot-section-nav a {
  border-color: rgba(222, 104, 104, 0.5);
  background: rgba(194, 64, 64, 0.18);
  color: #ffd8d5;
}

.bot-blank-page-killfeed .bot-section-nav a:hover {
  border-color: rgba(255, 180, 174, 0.95);
  background: rgba(217, 84, 84, 0.28);
}

.bot-blank-page-killfeed .bot-feature-index {
  border-color: rgba(222, 104, 104, 0.58);
  background: rgba(210, 78, 78, 0.22);
}

.bot-blank-page-helper .bot-blank-card {
  border-color: rgba(108, 154, 255, 0.46);
  background:
    radial-gradient(520px 190px at 10% -28%, rgba(108, 154, 255, 0.2), transparent),
    linear-gradient(170deg, rgba(20, 34, 70, 0.9), rgba(11, 20, 42, 0.92));
}

.bot-blank-page-helper .bot-metric-tile,
.bot-blank-page-helper .bot-feature-card,
.bot-blank-page-helper .bot-kf-highlight {
  border-color: rgba(108, 154, 255, 0.42);
  background: linear-gradient(180deg, rgba(25, 42, 88, 0.58), rgba(14, 24, 49, 0.7));
}

.bot-blank-page-helper .bot-feature-sub,
.bot-blank-page-helper .bot-kf-highlight-sub {
  color: #c8dcff;
}

.bot-blank-page-helper .bot-section-nav a {
  border-color: rgba(108, 154, 255, 0.5);
  background: rgba(61, 111, 230, 0.18);
  color: #d9e8ff;
}

.bot-blank-page-helper .bot-section-nav a:hover {
  border-color: rgba(188, 213, 255, 0.95);
  background: rgba(81, 134, 255, 0.28);
}

.bot-blank-page-helper .bot-feature-index {
  border-color: rgba(108, 154, 255, 0.58);
  background: rgba(77, 128, 245, 0.24);
}

.bot-blank-page-ark .bot-blank-card {
  border-color: rgba(93, 196, 161, 0.46);
  background:
    radial-gradient(520px 190px at 10% -28%, rgba(93, 196, 161, 0.2), transparent),
    linear-gradient(170deg, rgba(16, 49, 42, 0.9), rgba(9, 28, 24, 0.92));
}

.bot-blank-page-ark .bot-metric-tile,
.bot-blank-page-ark .bot-feature-card,
.bot-blank-page-ark .bot-kf-highlight {
  border-color: rgba(93, 196, 161, 0.42);
  background: linear-gradient(180deg, rgba(20, 68, 57, 0.58), rgba(11, 39, 33, 0.7));
}

.bot-blank-page-ark .bot-feature-sub,
.bot-blank-page-ark .bot-kf-highlight-sub {
  color: #c7eee2;
}

.bot-blank-page-ark .bot-section-nav a {
  border-color: rgba(93, 196, 161, 0.5);
  background: rgba(53, 158, 123, 0.18);
  color: #d8f7ed;
}

.bot-blank-page-ark .bot-section-nav a:hover {
  border-color: rgba(185, 241, 223, 0.95);
  background: rgba(71, 182, 145, 0.28);
}

.bot-blank-page-ark .bot-feature-index {
  border-color: rgba(93, 196, 161, 0.58);
  background: rgba(65, 171, 136, 0.24);
}

.bot-blank-page-utility .bot-blank-card {
  border-color: rgba(255, 195, 92, 0.46);
  background:
    radial-gradient(520px 190px at 10% -28%, rgba(255, 195, 92, 0.2), transparent),
    linear-gradient(170deg, rgba(68, 46, 13, 0.9), rgba(40, 26, 8, 0.92));
}

.bot-blank-page-utility .bot-metric-tile,
.bot-blank-page-utility .bot-feature-card,
.bot-blank-page-utility .bot-kf-highlight {
  border-color: rgba(255, 195, 92, 0.42);
  background: linear-gradient(180deg, rgba(95, 66, 18, 0.58), rgba(57, 39, 12, 0.7));
}

.bot-blank-page-utility .bot-feature-sub,
.bot-blank-page-utility .bot-kf-highlight-sub {
  color: #ffe5b5;
}

.bot-blank-page-utility .bot-section-nav a {
  border-color: rgba(255, 195, 92, 0.5);
  background: rgba(214, 146, 29, 0.18);
  color: #ffedc8;
}

.bot-blank-page-utility .bot-section-nav a:hover {
  border-color: rgba(255, 230, 173, 0.95);
  background: rgba(229, 163, 43, 0.28);
}

.bot-blank-page-utility .bot-feature-index {
  border-color: rgba(255, 195, 92, 0.58);
  background: rgba(226, 157, 36, 0.24);
}

.landing-auth-side {
  display: grid;
  gap: 10px;
}

.landing-auth-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 8px;
}

.auth-step {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 104, 0.45);
  background: rgba(255, 137, 28, 0.2);
  color: #ffe9d1;
  font-size: 0.82em;
  letter-spacing: 0.01em;
}

.landing-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-auth-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 167, 86, 0.55);
  background: linear-gradient(180deg, rgba(52, 28, 12, 0.9), rgba(31, 16, 8, 0.92));
  padding: 11px;
  transition: transform 180ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 8px 22px rgba(255, 118, 16, 0.12);
}

.landing-auth-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 198, 132, 0.86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 14px 34px rgba(255, 136, 34, 0.22);
}

.landing-auth-card.auth-killfeed {
  border-color: rgba(234, 98, 98, 0.88);
  background: linear-gradient(180deg, rgba(86, 26, 26, 0.9), rgba(46, 14, 14, 0.92));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), 0 8px 24px rgba(200, 56, 56, 0.2);
}

.landing-auth-card.auth-helper {
  border-color: rgba(108, 154, 255, 0.88);
  background: linear-gradient(180deg, rgba(25, 41, 88, 0.9), rgba(13, 22, 50, 0.92));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), 0 8px 24px rgba(70, 120, 230, 0.24);
}

.landing-auth-card.auth-tools {
  grid-column: 1 / -1;
  border-color: rgba(255, 170, 88, 0.82);
  background: linear-gradient(180deg, rgba(88, 47, 14, 0.9), rgba(47, 26, 8, 0.92));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), 0 8px 24px rgba(255, 132, 33, 0.22);
}

.landing-auth-card.auth-killfeed:hover {
  border-color: rgba(255, 166, 166, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 14px 34px rgba(207, 70, 70, 0.34);
}

.landing-auth-card.auth-helper:hover {
  border-color: rgba(177, 203, 255, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 14px 34px rgba(76, 133, 255, 0.34);
}

.landing-auth-card.auth-tools:hover {
  border-color: rgba(255, 215, 165, 0.94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 14px 34px rgba(255, 141, 45, 0.34);
}

.landing-auth-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-auth-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92em;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(255, 173, 78, 0.94), rgba(255, 132, 26, 0.94));
  border: 1px solid rgba(255, 209, 156, 0.9);
  color: #2d1406;
}

.landing-auth-card.auth-killfeed .landing-auth-cta {
  background: linear-gradient(180deg, rgba(232, 90, 90, 0.98), rgba(190, 51, 51, 0.98));
  border-color: rgba(255, 177, 177, 0.92);
  color: #fff3f3;
}

.landing-auth-card.auth-helper .landing-auth-cta {
  background: linear-gradient(180deg, rgba(108, 157, 255, 0.98), rgba(58, 110, 222, 0.98));
  border-color: rgba(184, 211, 255, 0.94);
  color: #eef5ff;
}

.landing-auth-card.auth-tools .landing-auth-cta {
  background: linear-gradient(180deg, rgba(255, 173, 78, 0.98), rgba(237, 130, 24, 0.98));
  border-color: rgba(255, 218, 170, 0.95);
  color: #311707;
}

.landing-auth-card.auth-killfeed .chip {
  border-color: rgba(255, 170, 170, 0.7);
  background: rgba(214, 77, 77, 0.28);
  color: #ffeaea;
}

.landing-auth-card.auth-helper .chip {
  border-color: rgba(170, 198, 255, 0.72);
  background: rgba(69, 123, 238, 0.32);
  color: #e9f2ff;
}

.landing-auth-card.auth-tools .chip {
  border-color: rgba(255, 198, 133, 0.74);
  background: rgba(239, 139, 39, 0.3);
  color: #fff0df;
}

.landing-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-kpis {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-kpi {
  border: 1px solid rgba(255, 138, 43, 0.22);
  background: rgba(16, 12, 9, 0.75);
  border-radius: 12px;
  padding: 10px 12px;
}

.landing-kpi-value {
  font-size: 1.35em;
  font-weight: 800;
  color: #ffb97a;
}

.landing-kpi-label {
  font-size: 0.82em;
  color: var(--muted);
  margin-top: 4px;
}

.landing-panels {
  display: grid;
  gap: 12px;
}

.landing-status-board {
  border: 1px solid rgba(255, 166, 79, 0.48);
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(255, 171, 90, 0.2), transparent),
    linear-gradient(165deg, rgba(46, 25, 11, 0.9), rgba(29, 16, 8, 0.92));
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 8px;
  animation: landingFadeUp 360ms ease both;
}

.landing-status-title {
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.landing-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 170, 86, 0.28);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(48, 26, 11, 0.58);
}

.landing-status-row span {
  color: var(--muted);
  font-size: 0.86em;
}

.landing-status-row strong {
  color: #ffd9ad;
}

.system-status-board {
  gap: 6px;
}

.system-status-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.system-status-tile {
  border-radius: 10px;
  border: 1px solid rgba(255, 190, 130, 0.4);
  background: rgba(255, 168, 88, 0.12);
  padding: 7px 8px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
}

.system-status-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 210, 160, 0.5);
}

.system-status-name {
  color: #ffe3c2;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
}

.system-status-state {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.system-status-tile.good {
  border-color: rgba(106, 230, 135, 0.6);
  background: rgba(45, 150, 68, 0.26);
}

.system-status-tile.good .system-status-state {
  color: #d4ffd8;
}

.system-status-tile.warn {
  border-color: rgba(255, 197, 120, 0.65);
  background: rgba(181, 118, 28, 0.26);
}

.system-status-tile.warn .system-status-state {
  color: #ffe7c4;
}

.system-status-tile.bad {
  border-color: rgba(255, 132, 132, 0.62);
  background: rgba(156, 45, 45, 0.26);
}

.system-status-tile.bad .system-status-state {
  color: #ffd3d3;
}

.landing-status-row-incident {
  border-color: rgba(255, 198, 132, 0.45);
}

.landing-incident-detail {
  border: 1px solid rgba(255, 176, 102, 0.28);
  border-radius: 10px;
  background: rgba(46, 25, 11, 0.5);
  color: #ffe1bf;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 8px 9px;
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table.landing-leaderboard-table .row {
  grid-template-columns: 72px minmax(220px, 1.6fr) minmax(72px, 0.7fr) minmax(72px, 0.7fr) minmax(72px, 0.7fr);
  align-items: center;
}

.table.landing-leaderboard-table .row > span {
  white-space: nowrap;
}

.table.landing-leaderboard-table .row > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table.landing-leaderboard-table .row > span:nth-child(1),
.table.landing-leaderboard-table .row > span:nth-child(n + 3) {
  text-align: center;
}

.landing-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 12px;
}

.landing-board-card,
.landing-stats-card {
  padding: 12px;
  border: 1px solid rgba(255, 166, 78, 0.42);
  background: linear-gradient(180deg, rgba(44, 24, 11, 0.92), rgba(24, 13, 7, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.33), 0 8px 26px rgba(255, 126, 24, 0.14);
}

.landing-board-card .section-head,
.landing-stats-card .section-head {
  margin-bottom: 8px;
}

.landing-board-scroll {
  max-height: 306px;
  overflow: auto;
  padding-right: 4px;
}

.landing-board-scroll .table {
  margin-top: 0;
}

.landing-stats-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.landing-mini-stat {
  border: 1px solid rgba(255, 170, 88, 0.34);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(54, 29, 12, 0.56);
  min-width: 0;
}

.landing-mini-stat .mini-label {
  display: block;
  font-size: 0.76em;
  color: var(--muted);
  margin-bottom: 4px;
}

.landing-mini-stat .mini-value {
  display: block;
  font-size: 1.02em;
  font-weight: 800;
  color: #ffe2c2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page-v2 .table .row {
  border-color: rgba(255, 170, 86, 0.36);
  background: rgba(54, 30, 13, 0.56);
}

.landing-page-v2 .table .row.header {
  color: #ffe8cc;
  border-color: rgba(255, 190, 118, 0.56);
  background: linear-gradient(180deg, rgba(255, 164, 66, 0.38), rgba(140, 74, 24, 0.34));
}

.home-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-status-pill {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(16, 12, 9, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.home-status-pill span {
  color: var(--muted);
  font-size: 0.9em;
}

.home-status-pill.ok strong {
  color: #7ee787;
}

.home-status-pill.warn strong {
  color: #ffbf86;
}

.home-status-pill.bad strong {
  color: #ff9da0;
}

.home-compact-list {
  margin-top: 6px;
  max-height: 140px;
  overflow: auto;
}

.home-compact-list li {
  padding: 4px 0;
}

.landing-card {
  border: 1px solid rgba(255, 138, 43, 0.18);
  background: rgba(18, 12, 10, 0.8);
  border-radius: 16px;
  padding: 16px;
}

.landing-card.primary {
  background: linear-gradient(140deg, rgba(255, 138, 43, 0.2), rgba(255, 94, 0, 0.1));
  border-color: rgba(255, 138, 43, 0.4);
}

.landing-card.wide {
  padding: 14px 16px;
}

.landing-card-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.landing-card-sub {
  color: var(--muted);
  font-size: 0.9em;
}

.landing-card-metric {
  margin-top: 10px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
}

.landing-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.92em;
}

.landing-list li {
  margin: 6px 0;
}

.landing-feature {
  min-height: 140px;
}

.landing-modules .landing-feature {
  min-height: 120px;
}

.landing-flow .stat-card {
  min-height: 110px;
}

.ignore-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ignore-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ignore-row .button {
  white-space: nowrap;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracker-card {
  margin: 16px 0;
}

.tracker-search {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #141a25;
  color: var(--text);
}

.tracker-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tracker-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #141a25;
  color: var(--text);
}

.multi-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker-search {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #141a25;
  color: var(--text);
}

.picker-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.picker-select {
  flex: 1;
  min-height: 120px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f141d;
  color: var(--text);
}

.tracker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  max-height: 280px;
  overflow: auto;
  padding-right: 6px;
}

.tracker-link {
  text-decoration: none;
}

.track-preview {
  width: 100%;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(17, 25, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(8, 12, 20, 0.45);
  backdrop-filter: blur(10px);
}

.track-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.tracker-recent {
  background: rgba(46, 204, 113, 0.16);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #e9fff4;
}

.tracker-stale {
  background: rgba(231, 76, 60, 0.18);
  border: 1px solid rgba(231, 76, 60, 0.55);
  color: #ffecec;
}

.track-image {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f0f14;
}

.track-image img {
  display: block;
  width: 100%;
  height: auto;
}

.track-meta {
  margin-top: 12px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-card {
  border: 1px solid rgba(255, 162, 90, 0.3);
  border-radius: 16px;
  padding: 18px 18px 20px;
  background: linear-gradient(160deg, rgba(43, 25, 14, 0.93), rgba(17, 11, 7, 0.97));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 170, 101, 0.12);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 170, 101, 0.48);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
}

.stat-title {
  color: var(--muted);
  font-size: 0.9em;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-title strong {
  color: var(--text);
  font-weight: 700;
}

.stat-chip {
  font-size: 0.72em;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  border: 1px solid rgba(255, 138, 43, 0.28);
  background: rgba(255, 138, 43, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
}

.status-pill {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.status-pill.good {
  border-color: rgba(46, 204, 113, 0.4);
  background: rgba(46, 204, 113, 0.15);
  color: #c7f6d7;
}

.status-pill.warn {
  border-color: rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.15);
  color: #ffe7a6;
}

.status-pill.bad {
  border-color: rgba(244, 67, 54, 0.45);
  background: rgba(244, 67, 54, 0.15);
  color: #ffc1c1;
}

.details-block summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.88em;
  margin-bottom: 6px;
}

.stat-list {
  list-style: none;
  margin: 8px 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.9em;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 43, 0.08);
  background: rgba(24, 14, 8, 0.7);
}

.stat-list li:nth-child(odd) {
  background: rgba(30, 18, 11, 0.85);
}

.compact-config-list li {
  display: block;
  padding: 4px 0;
}

.compact-config-list li.configured-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.configured-main {
  font-size: 0.92em;
  line-height: 1.25;
}

.configured-meta {
  font-size: 0.82em;
  color: var(--muted);
}

.config-inline-form {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.config-inline-form label {
  margin: 0;
  font-size: 0.85em;
  color: var(--muted);
}

.config-inline-form select {
  width: auto;
  min-width: 110px;
  max-width: 150px;
}

.configured-controls {
  margin-top: 0;
}

.configured-simple-list {
  margin: 2px 0 6px 0;
  gap: 0;
}

.configured-simple-list li {
  padding: 1px 0;
  border-bottom: 1px solid rgba(255, 138, 43, 0.12);
}

.configured-simple-list li:last-child {
  border-bottom: none;
}

.configured-inline-form-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0 !important;
  padding-bottom: 0 !important;
}

.configured-row-text {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.86em;
  line-height: 1.2;
}

.configured-inline-form-row select {
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  padding: 2px 6px !important;
}

.configured-inline-form-row .mini-btn {
  padding: 2px 7px !important;
  font-size: 0.76em !important;
  line-height: 1.15 !important;
}

.configured-simple-list .config-inline-form {
  margin-top: 4px;
  gap: 6px;
  flex-wrap: nowrap;
}

.configured-row-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88em;
}

.configured-row-line span:last-child {
  color: var(--muted);
}

.compact-inline {
  margin-top: 3px;
}

.configured-simple-list .config-inline-form label {
  margin: 0;
  font-size: 0.8em;
}

.configured-simple-list .config-inline-form select {
  min-width: 92px;
  max-width: 120px;
  padding: 4px 6px;
}

.configured-simple-list .config-inline-form .button {
  padding: 4px 8px;
  font-size: 0.78em;
  line-height: 1.2;
}

.configured-simple-list .config-inline-form .mini-btn {
  padding: 3px 8px;
}

.configured-inline-item {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.configured-col {
  min-width: 0;
  font-size: 0.86em;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.configured-interval-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  flex-shrink: 0;
}

.configured-interval-form select {
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  padding: 4px 6px !important;
}

.configured-interval-form .mini-btn {
  padding: 3px 7px !important;
  font-size: 0.76em !important;
  line-height: 1.15 !important;
}

.config-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.config-group {
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 14px;
  padding: 9px;
  background: linear-gradient(180deg, rgba(33, 19, 11, 0.7), rgba(17, 10, 6, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 185, 122, 0.09);
}

.config-group .config-group {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.config-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px;
  margin-bottom: 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.12);
}

.config-page .config-toggle-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 74px;
  padding: 6px 10px;
  font-size: 0.8rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.config-page .config-group.is-collapsed > .config-group-body {
  display: none;
}

.config-group-head h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
  grid-column: 1;
}

.config-group-head .section-sub {
  font-size: 0.84rem;
  margin: 0;
  grid-column: 1;
}

.config-group .grid-3 {
  gap: 8px;
}

.config-group .stat-card {
  background: linear-gradient(160deg, rgba(35, 20, 11, 0.95), rgba(15, 10, 6, 0.95));
}

.config-top-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.config-top-main,
.config-top-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.config-top-side {
  position: static;
}

.config-page .stat-card {
  padding: 10px 10px 11px;
  border: 1px solid rgba(255, 138, 43, 0.16);
  box-shadow: 0 4px 12px rgba(5, 3, 2, 0.18);
}

.config-page .section-head {
  margin-bottom: 7px;
  padding-bottom: 5px;
}

.config-core-card .grid-2 {
  gap: 8px;
  grid-template-columns: 1fr;
}

.config-page .form-row {
  margin: 3px 0;
}

.config-page .form-row label {
  margin-bottom: 4px;
  font-size: 0.84em;
}

.config-page .stat-sub {
  margin-top: 2px;
  line-height: 1.22;
  font-size: 0.84em;
}

.config-page .button-row {
  margin-top: 6px;
}

.config-live-actions-card .button-row {
  justify-content: flex-start;
}

.config-live-actions-card .button-row .button {
  min-width: 152px;
}

.config-service-note {
  margin-bottom: 6px;
}

.config-profile-card {
  padding: 12px;
}

.config-profile-title {
  margin-bottom: 8px;
}

.config-profile-note {
  margin-top: 10px;
}

.config-primary-readonly-grid {
  margin-top: 4px;
}

.config-log-settings-card {
  padding: 12px 12px 13px;
}

.config-dashboard-access-card {
  padding: 12px 12px 13px;
}

.config-quick-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.config-quick-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.3);
  background: rgba(255, 138, 43, 0.12);
  color: #ffe6cf;
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.config-quick-nav-item:hover {
  background: rgba(255, 138, 43, 0.2);
  border-color: rgba(255, 171, 88, 0.5);
  color: #fff4e8;
}

.dashboard-access-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-access-toolbar {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.dashboard-access-toolbar label {
  font-size: 0.84em;
  color: #f5e3d1;
}

.dashboard-access-toolbar input[type="search"] {
  width: 100%;
  min-height: 34px;
}

.dashboard-access-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-access-row {
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 10px;
  background: rgba(20, 12, 8, 0.6);
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dashboard-access-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dashboard-access-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-access-toggle-btn {
  min-width: 82px;
}

.dashboard-access-page-label {
  margin: 0;
  font-size: 0.86em;
  font-weight: 700;
  color: #ffe8d4;
}

.dashboard-access-row-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dashboard-access-row.is-collapsed .dashboard-access-row-body {
  display: none;
}

.dashboard-access-count {
  font-size: 0.75em;
  color: #ffd4b2;
  border: 1px solid rgba(255, 138, 43, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.dashboard-access-current {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 20px;
  max-height: 44px;
  overflow: auto;
}

.dashboard-access-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.25);
  background: rgba(255, 138, 43, 0.12);
  font-size: 0.75em;
  line-height: 1.2;
  color: #ffe9d7;
}

.dashboard-access-empty {
  font-size: 0.78em;
  color: #d8bda6;
}

.dashboard-access-checklist {
  max-height: 120px;
  overflow: auto;
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 8px;
  background: rgba(12, 7, 4, 0.45);
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 8px;
}

.dashboard-access-role-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8em;
  color: #f6e4d3;
  padding: 2px 4px;
  border-radius: 6px;
}

.dashboard-access-role-item:hover {
  background: rgba(255, 138, 43, 0.09);
}

.dashboard-access-role-item input[type="checkbox"] {
  margin: 0;
}

.dashboard-access-readonly {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-access-readonly-row {
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 10px;
  background: rgba(20, 12, 8, 0.55);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-access-readonly-page {
  font-size: 0.86em;
  font-weight: 700;
  color: #ffe8d4;
}

.dashboard-access-readonly-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.discord-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.discord-group {
  border: 1px solid rgba(255, 138, 43, 0.14);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(29, 17, 10, 0.62), rgba(16, 10, 6, 0.58));
}

.discord-group-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.12);
}

.discord-page .discord-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 74px;
  width: auto;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.discord-page .discord-group.is-collapsed > .discord-group-body {
  display: none;
}

.discord-group-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.discord-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}

.discord-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.discord-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-grid .discord-card {
  height: auto;
  align-self: start;
}

.discord-page .discord-card {
  padding: 14px 14px 15px;
}

.discord-page .section-head {
  margin-bottom: 8px;
  padding-bottom: 6px;
}

.discord-page .form-row {
  margin: 8px 0;
}

.discord-page .form-row label {
  margin-bottom: 4px;
}

.discord-page .table {
  margin-top: 6px;
  gap: 6px;
}

.discord-page .table .row {
  gap: 8px;
  align-items: start;
}

.discord-page .table .row > span,
.discord-page .table .row > .cell {
  min-width: 0;
}

.discord-page .table .row input,
.discord-page .table .row select {
  min-width: 0;
}

.discord-page .discord-card form {
  padding-bottom: 0;
}

.discord-page .discord-table-scroll {
  margin-top: 6px;
}

.discord-page .discord-table-scroll .table {
  min-width: 660px;
}

.discord-page .button-row {
  margin-top: 6px;
  justify-content: flex-start;
}

.discord-page .settings-actions {
  margin-top: 0;
}

.config-log-settings-head {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.config-log-settings-head h3 {
  margin: 0;
}

.config-log-settings-actions {
  margin-top: 8px;
}

.config-health-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 8px;
}

.config-health-grid .stat-card,
.config-runtime-grid .stat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.config-runtime-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  margin-top: 6px;
  gap: 8px;
}

.config-loglist-grid {
  grid-template-columns: minmax(0, 1fr);
}

.config-loglist-grid #rpt-tools .rpt-list {
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.form-readonly {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(20, 12, 7, 0.6);
  color: #f1e5d9;
  font-size: 0.86em;
  min-height: 34px;
  display: block;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.log-settings-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 4px;
}

.log-settings-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 138, 43, 0.08);
}

.log-settings-compact-row:last-child {
  border-bottom: 0;
}

.log-settings-compact-label {
  flex: 1 1 auto;
  display: block;
  font-size: 0.92em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-settings-compact-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.log-settings-compact-toggle .toggle {
  position: relative;
  width: 34px;
  height: 16px;
  display: inline-block;
}

.log-settings-compact-toggle .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.log-settings-compact-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 138, 43, 0.35);
  transition: 0.2s;
  border-radius: 999px;
}

.log-settings-compact-toggle .toggle-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  top: 1px;
  background: #f5e3d1;
  transition: 0.2s;
  border-radius: 999px;
}

.log-settings-compact-toggle .toggle input:checked + .toggle-slider {
  background: rgba(88, 231, 134, 0.25);
  border-color: rgba(88, 231, 134, 0.5);
}

.log-settings-compact-toggle .toggle input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

@media (max-width: 1080px) {
  .config-top-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  }

  .config-top-side {
    position: static;
  }

  .config-quick-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .config-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord-grid-two {
    grid-template-columns: 1fr;
  }

  .discord-page .discord-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .config-top-layout,
  .config-health-grid,
  .config-runtime-grid {
    grid-template-columns: 1fr;
  }

  .config-page .stat-card {
    padding: 10px 10px 11px;
  }

  .config-page .section-head {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .config-page .button-row {
    justify-content: stretch;
  }

  .config-page .button-row .button,
  .config-live-actions-card .button-row .button {
    width: 100%;
    min-width: 0;
  }

  .config-page .config-toggle-btn {
    grid-column: auto;
    grid-row: auto;
    align-self: flex-start;
  }

  .config-group-head {
    grid-template-columns: 1fr;
  }

  .config-quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .config-log-settings-card .log-settings-compact {
    max-height: 210px;
  }

  .config-log-settings-card .log-settings-compact-row {
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
  }

  .config-log-settings-card .log-settings-compact-label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }

  .dashboard-access-grid,
  .dashboard-access-readonly {
    grid-template-columns: 1fr;
  }

  .dashboard-access-toolbar {
    grid-template-columns: 1fr;
  }

  .dashboard-access-toolbar-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-access-checklist {
    grid-template-columns: 1fr;
  }

  .discord-page {
    gap: 10px;
  }

  .discord-page .discord-group {
    padding: 9px;
  }

  .discord-page .discord-card {
    padding: 12px 12px 13px;
  }

  .discord-page .discord-table-scroll .table {
    min-width: 560px;
  }

  .discord-page .button-row {
    justify-content: stretch;
  }

  .discord-page .button-row .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .configured-simple-list .config-inline-form {
    flex-wrap: wrap;
  }

  .configured-inline-form-row {
    flex-wrap: wrap;
    align-items: start;
  }

  .config-top-layout,
  .config-health-grid,
  .config-runtime-grid {
    grid-template-columns: 1fr;
  }

  .config-quick-nav {
    grid-template-columns: 1fr;
  }

  .config-core-card .grid-2 {
    grid-template-columns: 1fr;
  }

  .config-group {
    padding: 10px;
  }

  .config-log-settings-card {
    padding: 12px;
  }

  .config-page .config-group {
    padding: 8px;
  }

  .config-page .form-row {
    margin: 4px 0;
  }

  .config-page .form-readonly {
    font-size: 0.84em;
    min-height: 32px;
  }

  .config-page .stat-sub {
    font-size: 0.82em;
  }

  .dashboard-access-row,
  .dashboard-access-readonly-row {
    padding: 7px;
  }

  .dashboard-access-checklist {
    max-height: 136px;
  }

  .dashboard-access-count {
    font-size: 0.72em;
    padding: 2px 6px;
  }

  .discord-page {
    gap: 8px;
  }

  .discord-page .discord-group {
    padding: 8px;
    border-radius: 12px;
  }

  .discord-page .discord-group-head {
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .discord-page .discord-group-head h3 {
    font-size: 0.98rem;
  }

  .discord-page .discord-card {
    padding: 11px 11px 12px;
  }
}

.plain-list {
  list-style: none;
  margin: 8px 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plain-list li {
  padding: 2px 0;
  font-size: 0.92em;
  color: #f5e3d1;
}

.scroll-card {
  max-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.scroll-card .scroll-body {
  overflow-y: auto;
  padding-right: 6px;
}

.stat-list .stat-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #f5e3d1;
}

.stat-list .stat-value {
  flex: 0 0 auto;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.92em;
  color: #ffd3a8;
  background: rgba(255, 138, 43, 0.12);
  border: 1px solid rgba(255, 138, 43, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.stat-list li strong {
  color: var(--muted);
  font-weight: 600;
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  justify-content: center;
}

.button-row .button {
  padding: 14px 20px;
  font-size: 1rem;
  border-radius: 14px;
}

.dashboard-buttons .button {
  padding: 22px 34px;
  font-size: 1.2rem;
  border-radius: 18px;
  min-width: 200px;
  text-align: center;
}

.stat-value {
  font-size: 1.6em;
  font-weight: 700;
}

.stat-sub {
  color: var(--muted);
  font-size: 0.85em;
  margin-top: 6px;
}

.alert-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.alert-list li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.card form {
  padding-bottom: 96px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.menu-card {
  display: block;
  padding: 20px 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 138, 43, 0.24);
  background: linear-gradient(160deg, rgba(255, 138, 43, 0.12), rgba(14, 9, 6, 0.95));
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 120px;
}

.menu-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 138, 43, 0.6), transparent);
}

.helper-bot-page {
  overflow: hidden;
}

.helper-hero {
  border: 1px solid rgba(255, 138, 43, 0.28);
  border-radius: 18px;
  padding: 16px;
  margin: 8px 0 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  background:
    radial-gradient(500px 260px at 8% 0%, rgba(255, 138, 43, 0.2), transparent),
    linear-gradient(145deg, rgba(20, 13, 9, 0.96), rgba(11, 8, 6, 0.94));
}

.helper-kicker {
  margin: 0 0 6px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 193, 125, 0.9);
  font-weight: 700;
}

.helper-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

.helper-pill-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.helper-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 138, 43, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 138, 43, 0.08);
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
}

.helper-pill.good {
  border-color: rgba(97, 208, 143, 0.46);
  background: rgba(97, 208, 143, 0.14);
}

.helper-pill.bad {
  border-color: rgba(255, 141, 141, 0.5);
  background: rgba(255, 141, 141, 0.12);
}

.helper-hero-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.helper-hero-side .button {
  text-align: center;
}

.helper-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.helper-sections-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.helper-group {
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 16px;
  padding: 12px;
  margin: 0;
  background: linear-gradient(180deg, rgba(16, 11, 8, 0.85), rgba(10, 8, 6, 0.84));
}

.helper-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.helper-menu-card {
  display: block;
  position: relative;
  border-radius: 14px;
  padding: 14px;
  min-height: 108px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 43, 0.28);
  background: linear-gradient(158deg, rgba(255, 138, 43, 0.12), rgba(14, 10, 7, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 200ms ease;
}

.helper-menu-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 138, 43, 0.9), transparent);
}

.helper-menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 167, 92, 0.7);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.helper-menu-card .menu-title {
  margin-bottom: 7px;
  font-size: 1rem;
}

.helper-menu-card .menu-sub {
  font-size: 0.84rem;
  line-height: 1.3;
}

.helper-section-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.helper-section-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: rgba(255, 214, 167, 0.9);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.helper-overview-note {
  margin: 10px 0 12px;
  border: 1px solid rgba(255, 138, 43, 0.26);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 138, 43, 0.08);
  color: rgba(245, 220, 189, 0.95);
}

.helper-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.helper-stat-card {
  border: 1px solid rgba(255, 138, 43, 0.25);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(255, 138, 43, 0.1), rgba(14, 10, 7, 0.96));
}

.helper-stat-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.helper-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 138, 43, 0.16);
  font-size: 0.88rem;
}

.helper-stat-row:last-child {
  border-bottom: 0;
}

.helper-stat-row span {
  color: rgba(233, 209, 181, 0.88);
}

.helper-stat-row strong {
  color: #fff2e2;
}

.helper-modules {
  margin-top: 12px;
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 138, 43, 0.05);
}

.helper-modules h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.helper-module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.helper-module-chip {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.79rem;
  border: 1px solid rgba(255, 138, 43, 0.24);
  background: rgba(255, 138, 43, 0.08);
}

.helper-module-chip.ok {
  border-color: rgba(97, 208, 143, 0.46);
  background: rgba(97, 208, 143, 0.14);
}

.helper-module-chip.off {
  border-color: rgba(255, 141, 141, 0.42);
  background: rgba(255, 141, 141, 0.12);
}

.helper-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.helper-overview-card {
  border: 1px solid rgba(255, 138, 43, 0.26);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(158deg, rgba(255, 138, 43, 0.1), rgba(15, 10, 8, 0.95));
}

.helper-overview-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.helper-overview-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
}

.helper-overview-head .helper-kicker {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.helper-overview-count {
  border: 1px solid rgba(255, 185, 116, 0.35);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.74rem;
  color: rgba(255, 220, 180, 0.95);
  background: rgba(255, 138, 43, 0.1);
}

.helper-overview-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.helper-overview-tool {
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.78rem;
  background: rgba(255, 138, 43, 0.08);
  color: rgba(241, 222, 199, 0.94);
}

.helper-overview-card.tone-community {
  border-color: rgba(255, 206, 119, 0.42);
  background: linear-gradient(158deg, rgba(255, 196, 89, 0.09), rgba(15, 10, 8, 0.95));
}

.helper-overview-card.tone-ops {
  border-color: rgba(255, 140, 92, 0.42);
  background: linear-gradient(158deg, rgba(255, 119, 74, 0.09), rgba(15, 10, 8, 0.95));
}

.helper-overview-card.tone-admin {
  border-color: rgba(255, 188, 127, 0.42);
  background: linear-gradient(158deg, rgba(255, 156, 59, 0.09), rgba(15, 10, 8, 0.95));
}

.helper-workspace {
  border: 1px solid rgba(255, 138, 43, 0.26);
  background:
    radial-gradient(640px 260px at 8% -20%, rgba(255, 138, 43, 0.15), transparent),
    linear-gradient(180deg, rgba(17, 11, 8, 0.95), rgba(11, 8, 6, 0.96));
}

.helper-workspace > h1 {
  display: none;
}

.helper-workspace > p.muted {
  display: none;
}

.helper-workspace > .page-hero {
  display: none;
}

.helper-page-hero {
  margin: 8px 0 12px;
}

.helper-page-intro {
  margin: 8px 0 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(560px 200px at 0% -30%, rgba(255, 138, 43, 0.14), transparent),
    linear-gradient(180deg, rgba(24, 15, 10, 0.92), rgba(13, 9, 7, 0.92));
}

.helper-page-eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 197, 130, 0.9);
  font-weight: 700;
}

.helper-page-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
}

.helper-page-subtitle {
  margin: 4px 0 0;
  color: rgba(236, 213, 186, 0.9);
  font-size: 0.9rem;
}

.helper-metrics-strip {
  margin: 10px 0 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.helper-metric-card {
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 12px;
  padding: 9px 10px;
  background: linear-gradient(165deg, rgba(255, 138, 43, 0.09), rgba(15, 10, 8, 0.94));
}

.helper-metric-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(221, 194, 165, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.helper-metric-value {
  margin-top: 2px;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff2e2;
}

.helper-workspace .section {
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: linear-gradient(180deg, rgba(20, 13, 10, 0.9), rgba(13, 9, 7, 0.9));
  border-radius: 14px;
  padding: 14px;
}

.helper-workspace .section + .section {
  margin-top: 12px;
}

.helper-workspace .section-head h2,
.helper-workspace .section-head h3 {
  font-size: 1.03rem;
}

.helper-workspace .section-sub {
  color: rgba(234, 209, 182, 0.88);
}

.helper-workspace .stat-card {
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(16, 12, 9, 0.78);
}

.helper-workspace .note {
  border: 1px solid rgba(255, 138, 43, 0.24);
  background: rgba(255, 138, 43, 0.07);
  border-radius: 10px;
  padding: 9px 11px;
}

.helper-workspace .table .row.header {
  background: rgba(255, 138, 43, 0.14);
}

.helper-workspace .table .row {
  border-bottom-color: rgba(255, 138, 43, 0.14);
}

.helper-workspace .inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.helper-workspace .actions,
.helper-workspace .actions-inline,
.helper-workspace .button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.helper-workspace .button {
  min-height: 36px;
}

.helper-workspace form {
  padding-bottom: 0;
}


.tickets-settings-shell {
  position: relative;
  overflow: hidden;
}

.tickets-settings-shell::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -190px;
  top: -260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(126, 186, 255, 0.25) 0%, rgba(126, 186, 255, 0) 70%);
  pointer-events: none;
}

.tickets-settings-shell > * {
  position: relative;
  z-index: 1;
}

.tickets-settings-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 14px;
}

.tickets-kpi {
  border: 1px solid rgba(124, 181, 255, 0.34);
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(165deg, rgba(34, 64, 98, 0.62), rgba(17, 36, 56, 0.88));
  box-shadow: 0 8px 20px rgba(5, 14, 24, 0.26);
}

.tickets-kpi-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(206, 228, 252, 0.9);
  font-weight: 700;
}

.tickets-kpi-value {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  font-weight: 800;
  color: #f3f8ff;
}

.tickets-kpi-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(188, 217, 250, 0.88);
  word-break: break-word;
}

.tickets-kpi.is-ok {
  border-color: rgba(93, 212, 158, 0.55);
  background: linear-gradient(165deg, rgba(23, 72, 56, 0.68), rgba(15, 46, 37, 0.9));
}

.tickets-kpi.is-warn {
  border-color: rgba(255, 199, 117, 0.58);
  background: linear-gradient(165deg, rgba(90, 61, 27, 0.7), rgba(56, 36, 17, 0.9));
}

.tickets-kpi.is-off {
  border-color: rgba(255, 141, 141, 0.52);
  background: linear-gradient(165deg, rgba(88, 37, 37, 0.7), rgba(50, 23, 23, 0.9));
}

.tickets-settings-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(123, 181, 255, 0.34);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(31, 56, 84, 0.62), rgba(17, 35, 55, 0.82));
}

.tickets-settings-note {
  margin: 0;
  color: #d5e8ff;
  font-size: 0.88rem;
  flex: 1 1 280px;
}

.tickets-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tickets-settings-group {
  border: 1px solid rgba(123, 181, 255, 0.28);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(28, 51, 78, 0.62), rgba(16, 34, 54, 0.84));
}

.tickets-settings-group h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: #ebf5ff;
}

.tickets-settings-group .grid-2 {
  gap: 10px;
}

.tickets-settings-group .form-row {
  margin: 0;
}

.tickets-settings-group .form-row.span-2 {
  grid-column: 1 / -1;
}

.tickets-buttons-group {
  margin-top: 14px;
}

.tickets-button-table {
  margin-top: 8px;
}

.tickets-button-table .row {
  grid-template-columns: minmax(140px, 1.1fr) minmax(90px, 0.7fr) minmax(120px, 0.9fr) minmax(110px, 0.8fr);
}

@media (max-width: 1200px) {
  .tickets-settings-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tickets-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tickets-settings-status {
    grid-template-columns: 1fr;
  }

  .tickets-settings-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .tickets-settings-meta .button {
    width: 100%;
  }

  .tickets-button-table .row {
    grid-template-columns: 1fr;
  }
}

.helper-savebar {
  position: sticky;
  bottom: 14px;
  z-index: 28;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 43, 0.3);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(29, 18, 11, 0.96), rgba(15, 10, 7, 0.96));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(5px);
}

.helper-save-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  margin-right: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 190, 126, 0.3);
  color: #ffe5cb;
  background: rgba(255, 138, 43, 0.13);
}

.helper-save-state.state-dirty {
  border-color: rgba(255, 177, 98, 0.7);
  background: rgba(255, 138, 43, 0.24);
  color: #fff4e8;
}

.helper-save-state.state-saving {
  border-color: rgba(103, 192, 255, 0.62);
  background: rgba(58, 149, 214, 0.22);
  color: #e8f6ff;
}

.helper-flow-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 12px;
  background: rgba(15, 11, 8, 0.76);
}

.helper-flow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.24);
  background: rgba(255, 138, 43, 0.08);
  color: #f7e5d3;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 130ms ease, background 130ms ease;
}

.helper-flow-chip:hover {
  border-color: rgba(255, 176, 105, 0.62);
  background: rgba(255, 138, 43, 0.16);
}

.helper-flow-chip.is-active {
  border-color: rgba(255, 185, 120, 0.75);
  background: rgba(255, 138, 43, 0.22);
}

.helper-flow-top {
  margin-left: auto;
}

.helper-steps-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
  padding: 8px;
  border: 1px solid rgba(130, 186, 255, 0.28);
  border-radius: 12px;
  background: rgba(24, 43, 66, 0.58);
}

.helper-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 183, 255, 0.28);
  background: rgba(88, 142, 216, 0.12);
  color: #dcecff;
  font-size: 0.78rem;
  font-weight: 700;
}

.helper-step-pill.is-active {
  border-color: rgba(165, 210, 255, 0.78);
  background: rgba(97, 164, 255, 0.28);
  color: #ffffff;
}

.helper-step-pill.is-done {
  border-color: rgba(121, 221, 176, 0.62);
  background: rgba(52, 165, 116, 0.2);
  color: #d6ffea;
}

.helper-section-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(130, 186, 255, 0.35);
  color: #dcecff;
  background: rgba(83, 139, 216, 0.14);
}

.helper-section-status.status-ok {
  border-color: rgba(109, 205, 161, 0.62);
  color: #d8ffe9;
  background: rgba(40, 146, 102, 0.22);
}

.helper-section-status.status-warn {
  border-color: rgba(255, 202, 124, 0.62);
  color: #fff1d4;
  background: rgba(186, 121, 52, 0.2);
}

.helper-section-status.status-bad {
  border-color: rgba(230, 142, 142, 0.66);
  color: #ffdede;
  background: rgba(165, 74, 74, 0.24);
}

.helper-table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 8px;
  align-items: center;
}

.helper-table-search,
.helper-table-sort {
  min-height: 34px;
  border-radius: 10px;
}

.helper-table-search {
  flex: 1 1 220px;
}

.table .row.header {
  position: sticky;
  top: 0;
  z-index: 2;
}

.table.is-compact .row {
  padding: 4px 6px;
  gap: 6px;
}

.table.is-compact .row.header {
  font-size: 0.8rem;
}

.helper-validation-box {
  margin-bottom: 10px;
}

.helper-history-panel {
  margin-top: 4px;
}

.helper-history-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.helper-history-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(130px, 0.9fr) minmax(120px, 0.8fr) minmax(0, 1.8fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(128, 186, 255, 0.32);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(25, 48, 73, 0.56);
}

.helper-history-item .when {
  color: #c8e0ff;
  font-size: 0.82rem;
}

.helper-history-item .action {
  color: #f0f7ff;
}

.helper-history-item .meta {
  color: #d6e9ff;
  font-size: 0.82rem;
}

.helper-history-item .details {
  color: #c4ddff;
  font-size: 0.82rem;
}

.helper-toast-host {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 2200;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100vw - 24px));
}

.helper-toast {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 170ms ease, transform 170ms ease;
  border-radius: 10px;
  border: 1px solid rgba(128, 186, 255, 0.35);
  background: rgba(25, 49, 75, 0.95);
  color: #eaf5ff;
  padding: 9px 11px;
  font-size: 0.85rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.helper-toast.success {
  border-color: rgba(112, 204, 154, 0.58);
  background: rgba(21, 65, 44, 0.95);
}

.helper-toast.warn,
.helper-toast.error {
  border-color: rgba(232, 155, 129, 0.62);
  background: rgba(79, 43, 31, 0.95);
}

.helper-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.helper-section-toggle {
  margin-left: auto;
  min-width: 76px;
}

.helper-section-content {
  margin-top: 10px;
}

.helper-workspace .section.is-collapsed .helper-section-content {
  display: none;
}

.helper-collapse-row {
  margin: 8px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.helper-hub-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.helper-section-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.helper-hub-hero {
  margin: 8px 0 12px;
  padding: 14px;
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(640px 220px at 8% -35%, rgba(255, 138, 43, 0.14), transparent),
    linear-gradient(180deg, rgba(24, 15, 10, 0.92), rgba(13, 9, 7, 0.92));
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 12px;
}

.helper-hub-hero-main .helper-page-eyebrow {
  margin-bottom: 8px;
}

.helper-hub-hero-main .helper-page-title {
  margin-bottom: 2px;
}

.helper-hub-hero-side {
  display: grid;
  gap: 9px;
}

.helper-hub-status {
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 12px;
  padding: 10px 11px;
  background: linear-gradient(165deg, rgba(255, 138, 43, 0.08), rgba(15, 10, 8, 0.94));
}

.helper-hub-status.subtle {
  background: linear-gradient(180deg, rgba(18, 13, 10, 0.88), rgba(13, 10, 8, 0.9));
}

.helper-hub-status-label {
  display: block;
  color: rgba(224, 198, 168, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.helper-hub-status-value {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.helper-hub-status-sub {
  margin: 6px 0 0;
  color: rgba(228, 202, 172, 0.9);
  font-size: 0.82rem;
  line-height: 1.25;
}

.helper-hub-status-bar {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 138, 43, 0.18);
  overflow: hidden;
}

.helper-hub-status-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(120, 214, 169, 0.92), rgba(98, 168, 255, 0.92));
}

.helper-hub-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 10px;
}

.helper-hub-left,
.helper-hub-right {
  display: grid;
  gap: 10px;
  align-content: start;
}

.helper-hub-kpi {
  border: 1px solid rgba(255, 138, 43, 0.23);
  border-radius: 12px;
  padding: 10px 11px;
  background: linear-gradient(165deg, rgba(255, 138, 43, 0.08), rgba(15, 10, 8, 0.94));
}

.helper-hub-kpi-label {
  display: block;
  color: rgba(224, 198, 168, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.helper-hub-kpi-value {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  font-weight: 700;
}

.helper-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.helper-hub-card {
  border: 1px solid rgba(255, 138, 43, 0.21);
  border-radius: 13px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(20, 13, 10, 0.9), rgba(13, 9, 7, 0.9));
}

.helper-hub-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.helper-page-group {
  padding: 12px 12px 10px;
}

.helper-group-sub {
  margin: 2px 0 8px;
}

.helper-page-list {
  display: grid;
  gap: 7px;
}

.helper-page-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(19, 13, 10, 0.74);
  text-decoration: none;
  color: var(--text);
  transition: border-color 150ms ease, transform 120ms ease, background 160ms ease;
}

.helper-page-item:hover {
  border-color: rgba(255, 173, 102, 0.62);
  background: rgba(28, 17, 11, 0.82);
  transform: translateY(-1px);
}

.helper-page-item.state-ok {
  border-color: rgba(101, 212, 146, 0.36);
}

.helper-page-item.state-warn {
  border-color: rgba(255, 179, 90, 0.42);
}

.helper-page-item.state-off {
  border-color: rgba(255, 121, 121, 0.36);
}

.helper-page-main {
  min-width: 0;
}

.helper-page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.helper-page-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.helper-page-state {
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 138, 43, 0.24);
  background: rgba(255, 138, 43, 0.1);
  color: rgba(255, 223, 188, 0.95);
}

.helper-page-state.state-ok {
  border-color: rgba(121, 221, 176, 0.52);
  background: rgba(91, 200, 150, 0.18);
  color: #e8fff2;
}

.helper-page-state.state-warn {
  border-color: rgba(255, 194, 117, 0.54);
  background: rgba(255, 167, 77, 0.18);
  color: #fff2dd;
}

.helper-page-state.state-off {
  border-color: rgba(255, 147, 147, 0.52);
  background: rgba(232, 101, 101, 0.16);
  color: #ffe7e7;
}

.helper-page-summary {
  margin-top: 2px;
  color: rgba(227, 201, 169, 0.9);
  font-size: 0.8rem;
  line-height: 1.25;
}

.helper-page-side {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.helper-page-metric {
  font-size: 0.76rem;
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 138, 43, 0.09);
}

.helper-page-open {
  font-size: 0.74rem;
  color: rgba(255, 195, 133, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.helper-alert-card {
  margin-top: 10px;
}

.helper-alert-list li {
  border: 1px solid rgba(255, 167, 84, 0.22);
  border-radius: 9px;
  padding: 7px 9px;
  background: rgba(36, 20, 11, 0.62);
}

.helper-hub-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.helper-hub-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}

.helper-hub-list li strong {
  font-size: 0.9rem;
}

.helper-workspace .field > span {
  font-weight: 600;
}

.helper-workspace .auto-row,
.helper-workspace .trigger-row,
.helper-workspace .role-row,
.helper-workspace .counter-row,
.helper-workspace .delay-row,
.helper-workspace .ticket-button-row {
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 12px;
  padding: 10px;
  background: rgba(19, 13, 10, 0.82);
  margin-bottom: 9px;
}

.helper-menu-card.tone-core {
  border-color: rgba(255, 170, 95, 0.42);
}

.helper-menu-card.tone-community {
  border-color: rgba(255, 206, 119, 0.45);
  background: linear-gradient(158deg, rgba(255, 196, 89, 0.12), rgba(14, 10, 7, 0.96));
}

.helper-menu-card.tone-ops {
  border-color: rgba(255, 140, 92, 0.45);
  background: linear-gradient(158deg, rgba(255, 119, 74, 0.1), rgba(14, 10, 7, 0.96));
}

.helper-menu-card.tone-admin {
  border-color: rgba(255, 188, 127, 0.45);
  background: linear-gradient(158deg, rgba(255, 156, 59, 0.1), rgba(14, 10, 7, 0.96));
}

@media (max-width: 1080px) {
  .helper-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .helper-hub-hero {
    grid-template-columns: 1fr;
    padding: 11px;
    gap: 9px;
  }

  .helper-hero {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
  }

  .helper-hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .helper-layout-grid {
    gap: 10px;
  }

  .helper-sections-grid {
    grid-template-columns: 1fr;
  }

  .helper-overview-grid {
    grid-template-columns: 1fr;
  }

  .helper-stats-grid {
    grid-template-columns: 1fr;
  }

  .helper-group {
    padding: 10px;
  }

  .helper-menu-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .helper-menu-card {
    min-height: 96px;
    padding: 12px;
  }

  .helper-workspace .section {
    padding: 11px;
  }

  .helper-workspace .button,
  .helper-workspace input,
  .helper-workspace select,
  .helper-workspace textarea {
    min-height: 42px;
  }

  .helper-steps-strip {
    grid-template-columns: 1fr;
  }

  .helper-step-pill {
    justify-content: flex-start;
  }

  .helper-section-status {
    margin-left: 0;
  }

  .helper-table-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .helper-history-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .helper-workspace .table {
    overflow-x: auto;
  }

  .helper-metrics-strip {
    display: none;
  }

  .helper-hub-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .helper-section-kpis {
    grid-template-columns: 1fr;
  }

  .helper-hub-grid {
    grid-template-columns: 1fr;
  }

  .helper-hub-main-grid {
    grid-template-columns: 1fr;
  }

  .helper-page-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .helper-page-side {
    justify-items: start;
    grid-template-columns: auto auto;
    grid-auto-flow: column;
    gap: 6px;
  }

  .helper-savebar {
    position: sticky;
    bottom: 10px;
    z-index: 30;
    backdrop-filter: blur(4px);
  }

  .helper-save-state {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }

  .helper-flow-jump {
    padding: 8px;
    gap: 6px;
  }

  .helper-flow-chip {
    font-size: 0.78rem;
  }

  .helper-flow-top {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .helper-workspace {
    padding: 32px;
  }

  .helper-page-intro {
    padding: 16px 18px;
  }

  .helper-workspace .section {
    padding: 16px 18px;
  }
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.dashboard-layout.single-pane {
  grid-template-columns: 1fr;
}

.panel-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.6fr);
  gap: 22px;
  margin-top: 18px;
}

.settings-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.landing-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.landing-login-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 43, 0.34);
  background:
    radial-gradient(280px 170px at 14% 0%, rgba(255, 138, 43, 0.16), transparent),
    linear-gradient(180deg, rgba(18, 12, 10, 0.93), rgba(14, 10, 8, 0.94));
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: landingFadeUp 320ms ease both;
}

.landing-login-box:nth-child(2) {
  animation-delay: 80ms;
}

.landing-login-box::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 138, 43, 0.9), rgba(255, 138, 43, 0.15));
  pointer-events: none;
}

.landing-login-box:hover {
  border-color: rgba(255, 138, 43, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.landing-login-title {
  font-size: 1.02em;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.landing-login-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}

.landing-login-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 138, 43, 0.45);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.landing-login-sub {
  color: var(--muted);
  font-size: 0.88em;
  margin: 0;
}

.landing-login-box .button {
  width: 100%;
  text-align: center;
  font-size: 0.98em;
  font-weight: 700;
}

.ops-hero {
  margin-bottom: 12px;
}

.ops-page .ops-hero {
  border: 1px solid rgba(255, 138, 43, 0.24);
  background:
    radial-gradient(560px 240px at 8% -24%, rgba(255, 138, 43, 0.12), transparent),
    linear-gradient(180deg, rgba(29, 18, 11, 0.88), rgba(13, 9, 6, 0.92));
}

.ops-guide {
  margin-bottom: 12px;
}

.ops-page .ops-guide {
  border: 1px solid rgba(255, 138, 43, 0.18);
  background: linear-gradient(180deg, rgba(23, 15, 10, 0.78), rgba(12, 9, 7, 0.84));
}

.ops-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.ops-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.18);
  background: rgba(22, 14, 10, 0.72);
}

.ops-step-num {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78em;
  font-weight: 700;
  color: #1b120a;
  background: rgba(255, 175, 92, 0.95);
  margin-top: 1px;
}

.ops-hero .stat-sub {
  margin-top: 4px;
}

.ops-hero-actions {
  justify-content: flex-start;
  margin-top: 10px;
}

.ops-page .ops-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.ops-page .ops-status-item {
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(14, 10, 8, 0.6);
}

.ops-page .ops-status-item span {
  color: var(--muted);
  font-size: 0.8rem;
}

.ops-page .ops-status-item strong {
  font-size: 0.94rem;
  line-height: 1.2;
}

.ops-page .ops-status-item small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.ops-page .ops-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ops-page .ops-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.ops-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.ops-page .ops-card {
  min-height: 0;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: linear-gradient(170deg, rgba(28, 18, 11, 0.88), rgba(13, 9, 6, 0.9));
}

.ops-page .ops-card-wide {
  padding-bottom: 14px;
}

.ops-page .ops-card .grid-2 {
  gap: 10px;
  margin-top: 6px;
}

.ops-page .ops-card .form-row {
  margin: 8px 0;
}

.ops-page .ops-card .button-row {
  margin-top: 10px;
}

.ops-card .button-row {
  justify-content: flex-start;
}

@media (max-width: 1200px) {
  .ops-page .ops-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ops-page .ops-status-grid {
    grid-template-columns: 1fr;
  }

  .ops-page .ops-settings-grid {
    grid-template-columns: 1fr;
  }

  .ops-page .ops-hero-actions .button {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.settings-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 16px;
  margin: 18px 0 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(16, 10, 6, 0.85);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.settings-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-search-label {
  font-size: 0.85em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.settings-search input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.25);
  background: rgba(14, 12, 10, 0.9);
  color: var(--text);
}

.settings-search-hint {
  font-size: 0.85em;
  color: var(--muted);
}

.settings-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-quick-title {
  font-size: 0.85em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.settings-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-link {
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.25);
  background: rgba(255, 138, 43, 0.1);
  color: var(--text);
  padding: 6px 12px;
  font-size: 0.85em;
  cursor: pointer;
}

.chip-link:hover {
  border-color: rgba(255, 138, 43, 0.5);
}

.settings-status {
  align-self: start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 43, 0.25);
  background: rgba(18, 12, 10, 0.9);
  font-weight: 600;
  font-size: 0.9em;
  color: #b7efb7;
}

.settings-status[data-state="dirty"] {
  color: #ffd49a;
  border-color: rgba(255, 189, 122, 0.5);
}

.settings-status[data-state="saving"] {
  color: #b4d4ff;
  border-color: rgba(122, 176, 255, 0.5);
}

.settings-nav {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: linear-gradient(180deg, rgba(30, 18, 10, 0.95), rgba(16, 10, 6, 0.95));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.settings-nav-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.settings-nav-group {
  margin: 12px 6px 6px;
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}

.settings-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(255, 138, 43, 0.08);
  font-size: 0.95em;
  margin-bottom: 8px;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
}

.settings-nav a .nav-title {
  font-weight: 600;
  display: block;
}

.settings-nav a .nav-desc {
  color: var(--muted);
  font-size: 0.82em;
  display: block;
}

.settings-actions {
  background: rgba(15, 12, 10, 0.96);
}

.settings-nav a:hover {
  border-color: rgba(255, 138, 43, 0.45);
  background: rgba(255, 138, 43, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.settings-nav a.active {
  border-color: rgba(255, 138, 43, 0.75);
  background: linear-gradient(135deg, rgba(255, 138, 43, 0.35), rgba(255, 138, 43, 0.12));
  color: #fff;
}

.settings-content {
  min-width: 0;
}

.menu-title {
  font-weight: 700;
  font-size: 1.08em;
  margin-bottom: 8px;
}

.menu-sub {
  color: var(--muted);
  font-size: 0.9em;
  line-height: 1.3;
}

.tile {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: #20120a;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.tile:hover {
  border-color: var(--accent);
}

.button {
  display: inline-block;
  padding: 11px 18px;
  background: var(--accent);
  color: #1a0f08;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.button.secondary {
  background: rgba(255, 138, 43, 0.08);
  color: var(--text);
  border: 1px solid #4a2a16;
}

.button.killfeed {
  background: #c12b2b;
  color: #fff;
  border: 1px solid #6a1b1b;
}

.button.killfeed:hover {
  box-shadow: 0 12px 24px rgba(193, 43, 43, 0.35);
}

.button.mainbot {
  background: #2b5bd6;
  color: #fff;
  border: 1px solid #1c3b8a;
}

.button.mainbot:hover {
  box-shadow: 0 12px 24px rgba(43, 91, 214, 0.35);
}

.button.success {
  background: #1f6f3a;
  border: 1px solid #2a8a4a;
  color: #e6ffe6;
}

.button.success:hover {
  background: #248046;
}

.button.warning {
  background: #b05b1a;
  border: 1px solid #d17626;
  color: #fff5e6;
}

.button.warning:hover {
  background: #c3651f;
}

.section-buttons .button.killfeed {
  background: #c12b2b !important;
  color: #fff !important;
  border: 1px solid #6a1b1b !important;
}

.section-buttons .button.killfeed:hover {
  box-shadow: 0 12px 24px rgba(193, 43, 43, 0.35);
}

.section-buttons .button.mainbot {
  background: #2b5bd6 !important;
  color: #fff !important;
  border: 1px solid #1c3b8a !important;
}

.section-buttons .button.mainbot:hover {
  box-shadow: 0 12px 24px rgba(43, 91, 214, 0.35);
}

.section-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
}

.dashboard-page-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 18px;
  max-width: 460px;
}

.dashboard-page-picker-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #d7c2ad;
}

.dashboard-page-picker-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #111723;
  color: var(--text);
  font-weight: 600;
}

.dashboard-page-flow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-page-flow.is-hidden {
  display: none;
}

.dashboard-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.dashboard-page-links.is-hidden {
  display: none;
}

.dashboard-page-link-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 23, 35, 0.9);
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1;
}

.dashboard-page-link-chip:hover {
  border-color: rgba(255, 138, 43, 0.55);
  background: rgba(34, 43, 61, 0.94);
}

.dashboard-page-link-chip.is-active {
  border-color: rgba(255, 138, 43, 0.72);
  background: rgba(255, 138, 43, 0.18);
}

.dashboard-page-nav-btn {
  min-width: 92px;
  min-height: 34px;
  padding: 6px 10px;
}

.dashboard-page-nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.dashboard-page-position {
  font-size: 0.8rem;
  color: #e3c9ad;
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 138, 43, 0.09);
}

.guild-page .guild-top-shell {
  margin: 8px 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(420px 220px at 12% 0%, rgba(255, 138, 43, 0.16), transparent),
    linear-gradient(160deg, rgba(31, 18, 10, 0.95), rgba(13, 9, 6, 0.95));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guild-page .guild-page-title {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.2px;
}

.guild-page .guild-title-sub {
  margin: 6px 0 0;
}

.guild-page .guild-top-shell > .muted {
  margin: 6px 0 0;
}

.guild-page .guild-page-heading {
  margin: 0;
  font-size: 1rem;
  color: #f8d3b2;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.guild-page .guild-top-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.guild-page .guild-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.3);
  background: rgba(255, 138, 43, 0.12);
  color: #f7dbc3;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.guild-page .guild-meta-chip.is-rev {
  border-color: rgba(120, 194, 255, 0.5);
  background: rgba(76, 155, 223, 0.24);
  color: #d9efff;
}

.guild-page .guild-top-actions {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  z-index: 1;
  gap: 8px;
}

.guild-page .guild-top-actions .button {
  min-height: 38px;
  border-color: rgba(255, 138, 43, 0.24);
}

.guild-page .guild-picker-title {
  margin: 0 0 4px;
}

.guild-page .guild-top-picker {
  margin: 0;
  max-width: none;
}

.guild-page .guild-top-picker .dashboard-page-picker-label {
  display: none;
}

.guild-page .guild-top-picker .dashboard-page-picker-select {
  min-height: 40px;
  border-color: rgba(255, 138, 43, 0.24);
  background: rgba(14, 19, 29, 0.88);
}

.guild-page .dashboard-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.guild-page .dashboard-layout.single-pane {
  grid-template-columns: 1fr;
}

.guild-page .panel-stack {
  gap: 14px;
}

.guild-page .section {
  padding: 16px 18px;
  margin: 0;
  border-radius: 14px;
}

.guild-page .section + .section {
  margin-top: 14px;
}

.guild-page .overview-hero-section {
  border-color: rgba(255, 138, 43, 0.2);
  background:
    radial-gradient(540px 260px at 8% -18%, rgba(255, 138, 43, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(29, 18, 11, 0.92), rgba(15, 10, 7, 0.94));
}

.guild-page .overview-deep-section {
  border-color: rgba(255, 138, 43, 0.16);
  background: linear-gradient(180deg, rgba(26, 16, 10, 0.9), rgba(13, 9, 7, 0.92));
}

.guild-page .section-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.guild-page .overview-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.guild-page .overview-summary-grid .stat-card {
  min-height: 92px;
}

.guild-page .overview-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.guild-page .overview-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.guild-page .overview-kpi-card {
  min-height: 108px;
  padding: 13px 13px 14px;
}

.guild-page .overview-kpi-card .stat-title {
  justify-content: space-between;
}

.guild-page .overview-kpi-card .stat-value {
  font-size: 1.45rem;
  line-height: 1.12;
}

.guild-page .overview-alerts-wrap {
  margin-top: 0;
}

.guild-page .overview-alerts-card {
  min-height: 100%;
}

.guild-page .overview-alerts-card .alert-list {
  max-height: 280px;
  overflow: auto;
  padding-right: 6px;
}

.guild-page .overview-live-actions-card {
  margin-top: 12px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: linear-gradient(170deg, rgba(31, 19, 11, 0.88), rgba(14, 9, 7, 0.9));
}

.guild-page .overview-live-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin-bottom: 8px;
}

.guild-page .overview-live-actions-card .button-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.guild-page .overview-live-actions-card .button-row + .button-row {
  grid-template-columns: 1fr;
}

.guild-page .overview-row {
  gap: 12px;
}

.guild-page .overview-row-primary {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.guild-page .overview-row-secondary {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.guild-page .overview-row-tertiary {
  grid-template-columns: 1fr;
}

.guild-page .overview-timeline-card .stat-list {
  max-height: 280px;
  overflow: auto;
  padding-right: 6px;
}

.guild-page .overview-factions-card .faction-list {
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.guild-page .overview-errors-card .stat-list {
  max-height: 230px;
  overflow: auto;
  padding-right: 6px;
}

.guild-page #nitrado-actions {
  position: sticky;
  top: 92px;
}

.guild-page #nitrado-actions .button-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.section-group-title {
  font-weight: 700;
  margin: 14px 0 8px;
  color: #e0cbb7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.82em;
}

.list {
  list-style: none;
  padding: 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.list li a {
  color: var(--text);
  text-decoration: none;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.leaderboard-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #121722;
}

.leaderboard-row {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  background: #121722;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.leaderboard-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leaderboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.guild-icon.small {
  width: 50px;
  height: 50px;
  font-size: 1em;
}

.leaderboard-title {
  font-weight: 600;
}

.leaderboard-sub {
  color: var(--muted);
  font-size: 0.9em;
}

.leaderboard-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.leaderboard-card .leaderboard-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leaderboard-card li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-card li span:last-child {
  flex: 0 0 auto;
}

.leaderboard-row ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard-row ol li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
  font-size: 0.92em;
}

.leaderboard-row ol li {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 138, 43, 0.08);
  background: rgba(18, 10, 6, 0.65);
}

.leaderboard-row ol li:nth-child(odd) {
  background: rgba(28, 16, 10, 0.85);
}

.leaderboard-row h3 {
  margin: 0 0 8px 0;
  font-size: 0.95em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.leaderboard-row ol li span:first-child {
  color: #fff;
  font-weight: 600;
}

.leaderboard-row ol li span:last-child {
  color: var(--accent);
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}

.leaderboard-row ol li span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-row ol li span:last-child {
  flex: 0 0 auto;
  padding-left: 8px;
}

.leaderboard-card.combined {
  margin-bottom: 16px;
  border-color: #2c3a55;
  background: #111826;
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .topbar .brand {
    order: 1;
  }
  .topbar nav {
    order: 2;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  .topbar nav .link,
  .topbar nav .user,
  .topbar nav .link-button {
    margin: 0;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .topbar .guild-badge {
    order: 3;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .ops-grid {
    grid-template-columns: 1fr;
  }
  .settings-toolbar {
    grid-template-columns: 1fr;
  }
  .settings-nav {
    position: static;
  }
  .leaderboard-row {
    grid-template-columns: 1fr;
  }
  .leaderboard-cols {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .landing-side-grid {
    grid-template-columns: 1fr;
  }
  .landing-copy h1 {
    font-size: 2em;
  }
  .landing-login-grid {
    grid-template-columns: 1fr;
  }
  .landing-auth-shell {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .landing-auth-grid {
    grid-template-columns: 1fr;
  }
  .landing-primary-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }
  .landing-subgrid {
    grid-template-columns: 1fr;
  }
  .landing-page-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-bot-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bot-blank-card {
    padding: 24px 14px;
  }
  .bot-hero-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .bot-hero-copy {
    justify-items: center;
  }
  .bot-blank-card h1,
  .bot-blank-summary {
    text-align: center;
  }
  .bot-quick-links {
    justify-content: center;
  }
  .bot-blank-logo {
    width: 90px;
    height: 90px;
  }
  .bot-kf-highlight-grid {
    grid-template-columns: 1fr;
  }
  .bot-feature-grid {
    grid-template-columns: 1fr;
  }
  .bot-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-auth-side {
    grid-template-columns: 1fr;
  }
  .landing-data-grid {
    grid-template-columns: 1fr;
  }
  .landing-login-head {
    gap: 10px;
  }
  .landing-login-logo {
    width: 64px;
    height: 64px;
  }
  .landing-note {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .landing-support-card {
    flex-direction: column;
    align-items: stretch;
  }
  .landing-support-card .button {
    width: 100%;
    justify-content: center;
  }
  .landing-pages-panel,
  .landing-bots-panel {
    padding: 10px;
  }
  .landing-kpis {
    grid-template-columns: 1fr;
  }
  .landing-board-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .landing-leaderboard-table {
    min-width: 540px;
  }
  .home-status-strip {
    grid-template-columns: 1fr;
  }
  .menu-hero,
  .page-hero {
    flex-direction: column;
  }

  .actions {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    margin: 12px 0 16px;
    box-shadow: none;
  }

  .card form {
    padding-bottom: 0;
  }

  .shop-page .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .shop-page .form-grid .actions-inline,
  .shop-page .button-row,
  .shop-page .actions-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .shop-page .table-scroll .table {
    min-width: 560px;
  }

  .shop-page #types-item-select,
  .shop-page #kit-item-select {
    min-height: 170px;
  }

  .guild-page .form-readonly {
    word-break: break-word;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding: 0 12px;
  }
  .landing-hero {
    padding: 18px;
    border-radius: 18px;
  }
  .landing-auth-shell {
    padding: 12px;
    border-radius: 16px;
  }
  .landing-copy h1 {
    font-size: 1.55em;
  }
  .landing-login-box {
    padding: 14px;
  }
  .landing-auth-card {
    padding: 10px;
  }
  .landing-auth-card-head {
    align-items: flex-start;
  }
  .landing-primary-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-page-links {
    grid-template-columns: 1fr;
  }
  .landing-data-grid {
    gap: 10px;
  }
  .landing-stats-compact {
    grid-template-columns: 1fr;
  }
  .landing-status-board {
    padding: 10px;
  }
  .card {
    padding: 16px;
  }
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .actions {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .actions .button {
    flex: 1 1 auto;
    text-align: center;
  }
  .card form {
    padding-bottom: 0;
  }
  .table .row {
    grid-template-columns: 1fr;
  }
  .table .row.header {
    display: none;
  }
  .mobile-label {
    display: block;
  }
  .table .row input,
  .table .row select {
    width: 100%;
  }
  textarea {
    min-height: 110px;
  }

  .dashboard-page-picker {
    max-width: none;
    margin: 10px 0 16px;
  }

  .dashboard-page-flow {
    flex-wrap: wrap;
  }

  .dashboard-page-nav-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .dashboard-page-position {
    width: 100%;
    text-align: center;
  }

  .guild-page .guild-top-shell {
    padding: 14px;
    gap: 9px;
  }

  .guild-page .guild-top-actions {
    flex-wrap: wrap;
  }

  .guild-page .guild-top-actions .button {
    flex: 1 1 auto;
    min-width: 0;
  }

  .guild-page .guild-top-meta {
    gap: 6px;
  }

  .guild-page .guild-meta-chip {
    font-size: 0.78rem;
    min-height: 26px;
    padding: 3px 9px;
  }

  .guild-page .overview-summary-grid {
    grid-template-columns: 1fr;
  }

  .guild-page .overview-main-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guild-page .overview-kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guild-page .overview-live-metrics {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .guild-page .overview-live-actions-card .button-row {
    grid-template-columns: 1fr;
  }

  .guild-page .overview-row-primary,
  .guild-page .overview-row-secondary,
  .guild-page .overview-row-tertiary {
    grid-template-columns: 1fr;
  }

  .guild-page #nitrado-actions {
    position: static;
    top: auto;
  }

  .guild-page #nitrado-actions .button-row {
    grid-template-columns: 1fr;
  }

  .dashboard-page-picker-select {
    font-size: 0.96rem;
  }

  .button,
  input[type="text"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px;
  }

  .button {
    min-height: 42px;
  }

  .shop-page .table-scroll .table {
    min-width: 520px;
  }

  .shop-page .shop-help-steps {
    margin-left: 16px;
    gap: 8px;
  }
}

.leaderboard-card h3 {
  margin: 0 0 6px 0;
  font-size: 0.95em;
  color: var(--muted);
}

.leaderboard-card ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard-card li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0;
  font-size: 0.92em;
}

.guild-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.guild-card {
  background: #1c1008;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.guild-link {
  display: flex;
  gap: 14px;
  padding: 16px;
  color: var(--text);
}

.guild-link-clickable {
  text-decoration: none;
}

.guild-link-clickable:hover {
  background: rgba(255, 138, 43, 0.06);
}

.guild-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: #2a160b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  overflow: hidden;
}

.guild-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guild-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 138, 43, 0.08);
  border: 1px solid #4a2a16;
}

.guild-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.guild-badge-name {
  font-weight: 600;
}

.guild-badge-sub {
  color: var(--muted);
  font-size: 0.8em;
}

.guild-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.guild-sub {
  color: var(--muted);
  font-size: 0.85em;
  margin-bottom: 8px;
}

.guild-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guild-hub-section {
  margin-top: 18px;
}

.guild-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.guild-actions .button {
  padding: 6px 10px;
  font-size: 12px;
}

.guilds-page {
  padding: 18px;
}

.guilds-page .guilds-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.guilds-page .guilds-hero-copy {
  border: 1px solid rgba(255, 138, 43, 0.24);
  border-radius: 14px;
  padding: 16px 16px 14px;
  background:
    radial-gradient(460px 220px at 8% -18%, rgba(255, 138, 43, 0.14), transparent 62%),
    linear-gradient(165deg, rgba(34, 20, 11, 0.94), rgba(14, 10, 7, 0.95));
}

.guilds-page .guilds-hero-copy h1 {
  margin: 0 0 8px;
}

.guilds-page .guilds-hero-copy .muted {
  margin: 0;
}

.guilds-page .guilds-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guilds-page .guilds-kpi-card {
  padding: 12px 12px 14px;
  min-height: 98px;
}

.guilds-page .guilds-kpi-card .stat-title {
  margin-bottom: 6px;
}

.guilds-page .guilds-kpi-card .stat-value {
  font-size: 1.35rem;
}

.guilds-page .guild-hub-panel {
  margin-top: 14px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(27, 17, 11, 0.88), rgba(13, 9, 7, 0.9));
}

.guilds-page .guild-hub-panel .section-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.guilds-page .guild-hub-panel .section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guilds-page .section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.42);
  background: rgba(255, 138, 43, 0.14);
  color: #ffe1c7;
  font-size: 0.8rem;
  font-weight: 700;
}

.guilds-page .guild-filter-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  margin: 4px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(20, 13, 9, 0.7);
}

.guilds-page .guild-filter-bar label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.guilds-page .guild-filter-bar input {
  min-height: 38px;
}

.guilds-page .guild-filter-bar .stat-sub {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.guilds-page .guild-list-rich {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.guilds-page .guild-list-rich .guild-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: linear-gradient(165deg, rgba(29, 18, 11, 0.85), rgba(14, 10, 7, 0.9));
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.guilds-page .guild-list-rich .guild-link {
  padding: 14px;
  gap: 12px;
  min-height: 112px;
  align-items: center;
}

.guilds-page .guild-list-rich .guild-link-clickable:hover {
  background: rgba(255, 138, 43, 0.08);
}

.guilds-page .guild-list-rich .guild-card:hover {
  border-color: rgba(255, 138, 43, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.guilds-page .guild-list-rich .guild-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
}

.guilds-page .guild-list-rich .guild-title {
  margin-bottom: 3px;
  line-height: 1.2;
}

.guilds-page .guild-list-rich .guild-sub {
  margin-bottom: 7px;
  line-height: 1.35;
}

.guilds-page .guild-open-indicator {
  margin-left: auto;
  align-self: center;
  border: 1px solid rgba(255, 138, 43, 0.35);
  background: rgba(255, 138, 43, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd9b5;
  white-space: nowrap;
}

.guilds-page .guild-filter-empty {
  margin: 8px 2px 0;
}

.guilds-page .guilds-lb-collapsible {
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(24, 16, 10, 0.86), rgba(13, 9, 7, 0.9));
  padding: 10px 12px 12px;
}

.guilds-page .guilds-lb-collapsible > summary {
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.guilds-page .guilds-lb-collapsible > summary .tag {
  margin-left: auto;
}

.guilds-page .leaderboard-row {
  grid-template-columns: 220px 1fr;
  gap: 12px;
}

@media (max-width: 1120px) {
  .guilds-page .guilds-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guilds-page {
    padding: 12px;
  }

  .guilds-page .guilds-kpi-grid {
    grid-template-columns: 1fr;
  }

  .guilds-page .guild-list-rich {
    grid-template-columns: 1fr;
  }

  .guilds-page .guild-filter-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .guilds-page .guild-open-indicator {
    display: none;
  }

  .guilds-page .leaderboard-row {
    grid-template-columns: 1fr;
  }
}

/* Guild hub v2 redesign */
.guilds-page-v2 {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 151, 66, 0.44);
  border-radius: 18px;
  background:
    radial-gradient(780px 360px at -5% -15%, rgba(255, 139, 58, 0.3), transparent 62%),
    radial-gradient(650px 340px at 105% -8%, rgba(255, 195, 108, 0.24), transparent 58%),
    radial-gradient(560px 280px at 52% 106%, rgba(255, 116, 50, 0.2), transparent 62%),
    linear-gradient(165deg, rgba(29, 17, 10, 0.97), rgba(18, 12, 9, 0.98));
}

.guilds-page-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guilds-page-v2::after {
  content: "";
  position: absolute;
  right: -92px;
  top: -92px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 163, 78, 0.25), rgba(255, 163, 78, 0) 72%);
}

.guilds-page-v2 .guilds-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.guilds-page-v2 .guilds-v2-hero-head {
  border: 1px solid rgba(255, 170, 95, 0.46);
  border-radius: 14px;
  padding: 16px 18px;
  background:
    radial-gradient(470px 230px at 4% 0%, rgba(255, 148, 69, 0.28), transparent 62%),
    radial-gradient(320px 190px at 94% 4%, rgba(255, 196, 120, 0.22), transparent 66%),
    linear-gradient(165deg, rgba(41, 24, 14, 0.94), rgba(24, 15, 10, 0.94));
  box-shadow: 0 16px 34px rgba(18, 8, 3, 0.42);
}

.guilds-page-v2 .guilds-v2-eyebrow {
  margin: 0 0 6px;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #ffd7af;
  font-weight: 700;
}

.guilds-page-v2 .guilds-v2-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: #fff5ea;
}

.guilds-page-v2 .guilds-v2-sub {
  margin: 8px 0 0;
  color: #e8cdb3;
}

.guilds-page-v2 .guilds-v2-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guilds-page-v2 .tag {
  border: 1px solid rgba(255, 175, 102, 0.48);
  background: rgba(63, 36, 18, 0.66);
  color: #ffe8d2;
}

.guilds-page-v2 .guilds-v2-stats {
  margin: 0;
}

.guilds-page-v2 .guilds-kpi-card {
  border: 1px solid rgba(255, 167, 88, 0.34);
  background: linear-gradient(170deg, rgba(45, 27, 16, 0.94), rgba(25, 15, 10, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.guilds-page-v2 .guilds-kpi-card:nth-child(1) {
  border-color: rgba(255, 170, 90, 0.5);
}

.guilds-page-v2 .guilds-kpi-card:nth-child(2) {
  border-color: rgba(255, 126, 72, 0.5);
}

.guilds-page-v2 .guilds-kpi-card:nth-child(3) {
  border-color: rgba(255, 202, 110, 0.52);
}

.guilds-page-v2 .guilds-kpi-card:nth-child(4) {
  border-color: rgba(255, 147, 62, 0.48);
}

.guilds-page-v2 .guilds-kpi-card .stat-value {
  font-size: 1.45rem;
  line-height: 1.12;
  color: #fff4e6;
}

.guilds-page-v2 .guild-hub-panel {
  border: 1px solid rgba(255, 161, 82, 0.34);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(420px 180px at 100% -12%, rgba(255, 138, 74, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(35, 22, 14, 0.91), rgba(19, 13, 10, 0.93));
}

.guilds-page-v2 .section-head {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 169, 93, 0.3);
}

.guilds-page-v2 .section-head .section-sub {
  grid-column: 1 / -1;
  color: #e2c4a6;
}

.guilds-page-v2 .section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 103, 0.64);
  background: linear-gradient(135deg, rgba(255, 131, 56, 0.34), rgba(255, 190, 92, 0.28));
  color: #fff3e4;
  font-size: 0.8rem;
  font-weight: 700;
}

.guilds-page-v2 .guild-list-rich {
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
}

.guilds-page-v2 .guild-card-v2 {
  border: 1px solid rgba(255, 165, 86, 0.38);
  border-radius: 13px;
  background:
    radial-gradient(380px 180px at 112% -15%, rgba(255, 140, 79, 0.21), transparent 62%),
    linear-gradient(170deg, rgba(33, 22, 14, 0.88), rgba(17, 12, 10, 0.91));
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.guilds-page-v2 .guild-card-v2:nth-child(3n + 2) {
  border-color: rgba(255, 137, 77, 0.42);
}

.guilds-page-v2 .guild-card-v2:nth-child(3n) {
  border-color: rgba(255, 198, 108, 0.4);
}

.guilds-page-v2 .guild-card-v2:hover {
  border-color: rgba(255, 189, 114, 0.78);
  box-shadow: 0 16px 34px rgba(20, 8, 3, 0.44);
  transform: translateY(-2px);
}

.guilds-page-v2 .guild-card-v2 .guild-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 116px;
}

.guilds-page-v2 .guild-card-v2 .guild-icon {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  border: 1px solid rgba(255, 178, 103, 0.5);
  background: linear-gradient(145deg, rgba(122, 69, 34, 0.56), rgba(78, 44, 23, 0.56));
}

.guilds-page-v2 .guild-card-v2 .guild-title {
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: #fff3e5;
  overflow-wrap: anywhere;
}

.guilds-page-v2 .guild-card-v2 .guild-sub {
  margin-bottom: 8px;
  color: #e4c5a7;
  overflow-wrap: anywhere;
}

.guilds-page-v2 .guild-card-v2 .guild-meta {
  min-width: 0;
}

.guilds-page-v2 .guild-group-card {
  padding: 8px 10px 10px;
}

.guilds-page-v2 .guild-group-head {
  display: block;
}

.guilds-page-v2 .guild-group-head .guild-link {
  min-height: 92px;
}

.guilds-page-v2 .guild-profile-details {
  margin-top: 8px;
  border: 1px solid rgba(255, 168, 92, 0.3);
  border-radius: 10px;
  background: rgba(33, 21, 13, 0.62);
  padding: 6px 7px;
}

.guilds-page-v2 .guild-profile-details > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffe7d0;
  font-weight: 700;
  font-size: 0.86rem;
}

.guilds-page-v2 .guild-profile-details > summary .tag {
  margin-left: auto;
}

.guilds-page-v2 .guild-profile-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.guilds-page-v2 .guild-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 170, 96, 0.24);
  border-radius: 8px;
  padding: 7px 9px;
  color: #f7dfc6;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(47, 28, 16, 0.6), rgba(30, 19, 13, 0.66));
}

.guilds-page-v2 .guild-profile-row:hover {
  border-color: rgba(255, 198, 125, 0.54);
  background: linear-gradient(160deg, rgba(57, 34, 19, 0.74), rgba(36, 23, 15, 0.76));
}

.guilds-page-v2 .guild-profile-name {
  font-weight: 700;
  color: #fff0df;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guilds-page-v2 .guild-profile-meta {
  font-size: 0.8rem;
  color: #dfc1a3;
  min-width: 0;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guilds-page-v2 .guild-profile-open {
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 187, 112, 0.52);
  border-radius: 999px;
  padding: 3px 8px;
  color: #fff2e2;
}

.guilds-page-v2 .guild-open-indicator {
  margin-left: auto;
  border: 1px solid rgba(255, 184, 107, 0.62);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 138, 63, 0.34), rgba(255, 201, 102, 0.28));
  color: #fff1df;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 4px 10px;
  white-space: nowrap;
}

.guilds-page-v2 .guilds-lb-collapsible {
  border: 1px solid rgba(255, 165, 86, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(360px 180px at 106% -20%, rgba(255, 140, 79, 0.2), transparent 64%),
    linear-gradient(180deg, rgba(34, 22, 14, 0.9), rgba(18, 13, 10, 0.94));
  padding: 10px 12px 12px;
}

.guilds-page-v2 .guilds-lb-collapsible > summary {
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #fff3e6;
}

.guilds-page-v2 .guilds-lb-collapsible > summary .tag {
  margin-left: auto;
}

@media (max-width: 1100px) {
  .guilds-page-v2 .guilds-v2-hero {
    grid-template-columns: 1fr;
  }

  .guilds-page-v2 .guild-profile-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .guilds-page-v2 .guild-profile-meta {
    display: none;
  }
}

@media (max-width: 940px) {
  .guilds-page-v2 .guild-card-v2 .guild-link {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .guilds-page-v2 .guild-open-indicator {
    display: none;
  }
}

@media (max-width: 760px) {
  .guilds-page-v2 {
    padding: 12px;
  }

  .guilds-page-v2 .guilds-kpi-grid {
    grid-template-columns: 1fr;
  }

  .guilds-page-v2 .guild-list-rich {
    grid-template-columns: 1fr;
  }

  .guilds-page-v2 .guild-group-head {
    display: block;
  }

  .guilds-page-v2 .guild-card-v2 .guild-link {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    min-height: 96px;
  }

  .guilds-page-v2 .guild-open-indicator {
    display: none;
  }
}

.tag {
  background: #22293a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75em;
}

.muted {
  color: var(--muted);
  font-size: 0.92em;
}

textarea {
  width: 100%;
  min-height: 140px;
  margin-top: 12px;
  background: #0f131c;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 13px;
}

.textarea-big {
  min-height: 480px;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="datetime-local"],
input[type="time"],
select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  background: rgba(12, 16, 24, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 138, 43, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 138, 43, 0.15);
}

.form-row {
  margin: 12px 0;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9em;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  border-radius: 12px;
}

.settings-table {
  gap: 4px;
}

.settings-table .row {
  gap: 6px;
  padding: 2px 0;
}

.settings-table .cell {
  padding: 0;
}

.settings-table .row.header {
  font-size: 0.82em;
}

.settings-table .button {
  padding: 6px 10px;
  font-size: 0.85em;
}

.table .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 160, 84, 0.2);
  border-radius: 10px;
  background: rgba(23, 14, 9, 0.78);
}

/* My Stats shop cart uses 5 columns; override generic 4-col table rows. */
#my-shop-cart-form .table .row {
  grid-template-columns: minmax(0, 1.7fr) minmax(68px, 0.7fr) minmax(90px, 0.8fr) minmax(96px, 0.9fr) auto;
  align-items: center;
}

#my-shop-basket-list .row input[type="number"] {
  width: 100%;
  max-width: 86px;
}

.table .row.header {
  color: #f1d5b9;
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-color: rgba(255, 168, 95, 0.38);
  background: linear-gradient(180deg, rgba(73, 40, 19, 0.55), rgba(40, 24, 14, 0.56));
}

.fireplace-feed-table .row {
  grid-template-columns: 1fr 1.5fr 1fr auto;
}

.stored-name-form {
  width: 100%;
}

.stored-name-input {
  min-width: 0 !important;
  width: 100%;
}

.stored-pos-actions {
  justify-content: flex-start;
  gap: 6px;
  flex-direction: row;
  align-items: center;
}

.stored-pos-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.stored-pos-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.stored-pos-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
  margin-bottom: 6px;
}

.stored-pos-bottomline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.stored-rename-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.stored-pos-meta {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

.position-link {
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  text-decoration: none;
  font-size: 0.92rem;
}

.position-link:hover {
  background: rgba(74, 222, 128, 0.2);
}

@media (max-width: 1280px) {
  .stored-pos-topline,
  .stored-pos-bottomline,
  .stored-rename-row {
    grid-template-columns: 1fr;
  }
  .stored-pos-actions {
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

/* Override generic table spacing for compact log settings */
.table.settings-table {
  gap: 4px;
  margin-top: 6px;
}

.table.settings-table .row {
  grid-template-columns: 2fr 0.7fr 1fr;
  gap: 6px;
  padding: 2px 0;
}

.table.settings-table .cell {
  padding: 0;
}

.table.settings-table .row.header {
  font-size: 0.82em;
}

.table.settings-table .button {
  padding: 6px 10px;
  font-size: 0.85em;
}

.reaction-table .row {
  grid-template-columns: 2fr 1fr 0.6fr 1fr 1.3fr;
}

.role-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.role-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ticket-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.ticket-button-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.ticket-panel-table .row {
  grid-template-columns: 1.5fr 1.5fr 0.7fr 1.3fr;
}

.giveaways-table .row {
  grid-template-columns: 1.6fr 1.2fr 1.2fr 0.7fr 0.7fr 1.6fr;
}

.auto-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.auto-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.2fr 1.6fr auto;
  gap: 10px;
  align-items: end;
}

.trigger-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.trigger-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1.2fr 1.2fr 1fr 0.8fr 0.8fr auto;
  gap: 10px;
  align-items: end;
}

.counter-rows,
.delay-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.counter-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.delay-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 2fr auto;
  gap: 10px;
  align-items: end;
}

.ticket-manage-table .row {
  grid-template-columns: 1.2fr 2fr 1.4fr;
}

.transcript-table .row {
  grid-template-columns: 2fr 0.7fr 1.2fr 0.8fr;
}

.modlog-table .row {
  grid-template-columns: 1.2fr 0.8fr 1fr 2fr;
}

.faction-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
  background: rgba(16, 18, 24, 0.6);
}

.faction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.faction-card-rich {
  margin-top: 0;
  border-color: rgba(255, 138, 43, 0.25);
  background: linear-gradient(180deg, rgba(31, 19, 11, 0.85), rgba(13, 9, 7, 0.94));
  padding: 10px;
  border-radius: 10px;
}

.faction-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
}

.faction-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.faction-actions,
.faction-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.faction-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.faction-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.faction-form-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.faction-form-inline input[type="file"] {
  grid-column: 1 / -1;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(12, 16, 24, 0.85);
}

.faction-card-rich h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.faction-card-rich .muted {
  font-size: 0.84em;
}

.member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  max-height: 76px;
  overflow: auto;
}

.faction-compact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faction-compact-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(15, 18, 25, 0.8);
}

.faction-compact-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(200px, 2fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
}

.faction-compact-item summary::-webkit-details-marker {
  display: none;
}

.faction-compact-main {
  font-weight: 700;
}

.faction-compact-meta {
  color: var(--muted);
  font-size: 0.9em;
}

.faction-compact-body {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
}

.faction-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.factions-page .faction-block {
  border: 1px solid rgba(255, 138, 43, 0.16);
  background: rgba(20, 14, 10, 0.72);
  box-shadow: none;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
}

.factions-page .faction-block h2 {
  margin: 0 0 8px;
  font-size: 1.02em;
}

.factions-page .faction-block .form-row,
.factions-page .faction-block .field {
  margin: 0;
}

.factions-page .faction-block .actions-inline {
  margin-top: 6px;
}

.faction-panel {
  margin-top: 6px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 10px;
  padding: 6px;
  background: rgba(16, 18, 24, 0.6);
  max-width: 680px;
}

.faction-panel h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.faction-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.faction-panel-title {
  margin: 8px 0 6px;
  font-size: 0.82em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.faction-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.faction-form-inline {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.faction-form-compact {
  grid-template-columns: minmax(140px, 1fr) auto;
}

.faction-form-image {
  grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) auto;
}

.faction-form-image input[type="file"] {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  background: rgba(12, 16, 24, 0.85);
}

.faction-form-delete {
  grid-template-columns: auto;
  justify-content: end;
}

.faction-member-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 0.9fr) auto;
  gap: 6px;
  align-items: center;
}

.faction-panel .inline-form {
  display: grid;
  grid-template-columns: minmax(220px, 320px) auto;
  gap: 4px;
  align-items: center;
  justify-content: start;
}

.faction-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.faction-line {
  margin: 0;
  padding: 0;
}

.faction-panel .inline-form select,
.faction-panel .inline-form input[type="text"],
.faction-panel .inline-form input[type="number"] {
  min-width: 0;
}

.faction-panel .faction-member-form {
  grid-template-columns: minmax(160px, 240px) minmax(90px, 120px) auto;
}

.faction-panel .faction-form-image {
  grid-template-columns: minmax(180px, 240px) minmax(180px, 240px) auto;
}

.faction-panel .inline-form .button {
  justify-self: start;
}

.faction-panel .faction-members h4 {
  margin: 4px 0 2px;
  font-size: 0.92em;
}

.faction-panel .member-list {
  margin-top: 2px;
  max-height: 52px;
}

.faction-panel .faction-member-actions {
  margin-top: 4px;
  gap: 4px;
}

@media (max-width: 860px) {
  .faction-grid {
    grid-template-columns: 1fr;
  }
  .faction-action-grid {
    grid-template-columns: 1fr;
  }
  .faction-form-inline {
    grid-template-columns: 1fr;
  }
  .faction-compact-item summary {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .faction-top-grid {
    grid-template-columns: 1fr;
  }
  .faction-form-inline,
  .faction-form-image,
  .faction-member-form {
    grid-template-columns: 1fr;
  }
}

.leaderboard-table .row {
  grid-template-columns: 1fr 1fr 1fr;
}

.backup-table .row {
  grid-template-columns: 2fr 0.7fr 1.2fr 0.8fr;
}

.restart-table .row {
  grid-template-columns: 1.2fr 1fr 0.6fr;
}

.role-income-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.role-income-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.code-block {
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-size: 0.9em;
}

.actions-inline {
  margin-top: 12px;
}

.button.danger {
  background: #4a1c1c;
  border-color: #7b2a2a;
  color: #ffb3b3;
}

.button.danger:hover {
  background: #5b2222;
}

.good {
  color: #7ee787;
  font-weight: 600;
}

.bad {
  color: #ff9da0;
  font-weight: 600;
}

.events-table .row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.events-table .span-2 {
  grid-column: span 2;
}

@media (max-width: 820px) {
  .discord-page .discord-table-scroll {
    overflow: visible;
    padding-bottom: 0;
  }

  .discord-page .discord-table-scroll .table {
    min-width: 0;
  }

  .discord-page .table .row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 138, 43, 0.14);
    border-radius: 10px;
    background: rgba(22, 13, 8, 0.6);
  }

  .discord-page .table .row.header {
    display: none;
  }

  .discord-page .events-table .span-2 {
    grid-column: span 1;
  }

  .discord-page .mobile-label {
    display: block;
  }
}

.shop-table .row {
  grid-template-columns: minmax(120px, 1.3fr) minmax(120px, 1.3fr) minmax(90px, 1fr) minmax(90px, 1fr) minmax(75px, 0.8fr) minmax(75px, 0.8fr) minmax(75px, 0.7fr);
  align-items: center;
}

.shop-page .panel-stack {
  gap: 14px;
  max-width: 1460px;
  margin: 0 auto;
}

.shop-page .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 10px;
  align-items: start;
}

.shop-page form {
  padding-bottom: 0;
}

.shop-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.shop-page .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.shop-page .field > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.shop-page .field input,
.shop-page .field select,
.shop-page .field textarea {
  width: 100%;
  min-width: 0;
}

.shop-page .form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.shop-page .form-grid .actions-inline,
.shop-page .button-row,
.shop-page .actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-page .form-grid .actions-inline {
  grid-column: 1 / -1;
}

.shop-page .shop-page-note {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.shop-page .shop-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: linear-gradient(140deg, rgba(31, 18, 10, 0.9), rgba(17, 11, 8, 0.9));
}

.shop-page .shop-hero-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.shop-page .shop-hero-title {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.18;
}

.shop-page .shop-hero-sub {
  margin: 0;
  max-width: 78ch;
  font-size: 0.9rem;
}

.shop-page .shop-hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shop-page .shop-health {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.shop-page .shop-health.ok {
  color: #d7ffe4;
  border-color: rgba(126, 231, 135, 0.45);
  background: rgba(53, 128, 62, 0.2);
}

.shop-page .shop-health.warn {
  color: #ffe9cf;
  border-color: rgba(255, 179, 89, 0.5);
  background: rgba(120, 70, 20, 0.3);
}

.shop-page .shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.14);
  background: rgba(21, 13, 8, 0.72);
}

.shop-page .shop-topbar .links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-page > .muted {
  margin: 0 0 8px;
}

.shop-page .shop-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 10px;
}

.shop-page .shop-summary-card {
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(21, 13, 8, 0.7);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.shop-page .shop-summary-card span {
  color: var(--muted);
  font-size: 0.83em;
}

.shop-page .shop-summary-card strong {
  font-size: 1.05em;
}

.shop-page .shop-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.shop-page .shop-step {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.84em;
  color: #f7e8d7;
  background: rgba(255, 138, 43, 0.08);
}

.shop-page .shop-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
  padding: 8px;
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 12px;
  background: rgba(18, 12, 8, 0.56);
}

.shop-page .shop-view-tabs .button.is-active {
  background: rgba(255, 138, 43, 0.32);
  border-color: rgba(255, 170, 98, 0.72);
  color: #fff3e5;
}

.shop-page .shop-pane.is-hidden {
  display: none !important;
}

.shop-page.shop-view-setup .shop-setup-grid > form.shop-pane-setup {
  grid-column: 1 / -1;
}

.shop-page.shop-view-single .shop-main-grid > form.shop-pane-single {
  grid-column: 1 / -1;
}

.shop-page.shop-view-kits .shop-main-grid > form.shop-pane-kits {
  grid-column: 1 / -1;
}

.shop-page.shop-view-bulk .shop-main-grid > form.shop-pane-bulk {
  grid-column: 1 / -1;
}

.shop-top-grid {
  display: block;
}

.shop-main-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.shop-page .shop-setup-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.shop-page .shop-setup-grid > form {
  grid-column: span 6;
  min-width: 0;
}

.shop-main-grid > form {
  grid-column: span 6;
  min-width: 0;
}

.shop-main-grid > form.shop-add-form {
  grid-column: span 7;
}

.shop-main-grid > form.shop-kit-form {
  grid-column: span 5;
}

.shop-main-grid > form.shop-categories-form {
  grid-column: 1 / -1;
}

.shop-page .section {
  margin: 10px 0;
}

.shop-page .shop-card {
  margin: 0;
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(31, 18, 10, 0.9), rgba(14, 9, 6, 0.88));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.shop-page .shop-card .section-sub {
  font-size: 0.84rem;
}

.shop-page .shop-card:hover {
  border-color: rgba(255, 168, 92, 0.28);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.shop-page .shop-kit-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-page .shop-kit-core {
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(16, 10, 7, 0.48);
}

.shop-page .shop-kit-core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.shop-page .shop-kit-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.shop-page .shop-kit-picker,
.shop-page .shop-kit-preview {
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 12px;
  padding: 10px;
  background: rgba(16, 10, 7, 0.52);
}

.shop-page .shop-kit-picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 8px;
}

.shop-page .shop-kit-add-action {
  margin: 0;
}

.shop-page .shop-kit-add-action .button {
  min-width: 170px;
}

.shop-page .shop-kit-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.shop-page #kit-items-summary {
  color: var(--text);
  font-size: 0.88rem;
}

.shop-page #kit-items-list .row {
  grid-template-columns: minmax(120px, 1.25fr) minmax(120px, 1.25fr) minmax(70px, 0.6fr) minmax(90px, 0.8fr);
}

.shop-page .shop-kit-qty-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.shop-page .shop-kit-qty-controls .button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  line-height: 1;
}

.shop-page .shop-kit-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 0.92rem;
}

.shop-page #kit-items-list .row > span:last-child {
  display: flex;
  justify-content: flex-end;
}

.shop-page .shop-kit-submit {
  margin-top: 10px;
}

.shop-page .shop-table .row {
  gap: 6px;
}

.shop-page .shop-table .row input,
.shop-page .shop-table .row select {
  padding: 8px 10px;
}

.shop-page .shop-item-mode {
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: #ffe9d0;
  background: rgba(255, 138, 43, 0.12);
}

.shop-page .field-span-2 {
  grid-column: span 2;
}

.shop-page .section-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.shop-page #types-item-select,
.shop-page #kit-item-select {
  min-height: 186px;
}

.shop-page .shop-picker-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.shop-page .shop-picker-count {
  color: var(--muted);
  font-size: 0.82em;
}

.shop-page .shop-picker-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82em;
  line-height: 1.35;
}

.shop-page .shop-card-category-config {
  padding: 14px;
}

.shop-page .shop-category-config-grid {
  align-items: start;
}

.shop-page .shop-category-config-grid .field textarea {
  min-height: 148px;
}

.shop-page .shop-advanced-json {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(16, 10, 7, 0.55);
}

.shop-page .shop-advanced-json > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.84rem;
}

.shop-page .shop-advanced-json textarea {
  margin-top: 8px;
  min-height: 128px;
}

.shop-page .shop-remap-general {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.84rem;
}

.shop-page .shop-remap-general input {
  margin-top: 2px;
}

.shop-page .shop-category-filter,
.shop-page .shop-category-controls {
  max-width: none;
}

.shop-page .shop-category-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 10px;
  padding: 10px;
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 12px;
  background: rgba(16, 10, 7, 0.52);
}

.shop-page .shop-category-status {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82em;
}

.shop-page .shop-category-section {
  margin-top: 8px;
}

.shop-page .shop-category-section .shop-table {
  max-height: min(60vh, 720px);
  overflow: auto;
  padding-right: 4px;
}

.shop-page .shop-category-section .shop-table .row.header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(18, 12, 8, 0.95);
  border-bottom: 1px solid rgba(255, 138, 43, 0.2);
}

.shop-page .shop-category-section .shop-table .row[data-shop-row] {
  border-radius: 8px;
  padding: 2px 0;
}

.shop-page .shop-category-section .shop-table .row[data-shop-row]:nth-child(odd) {
  background: rgba(255, 138, 43, 0.04);
}

.shop-page .shop-category-section .shop-table .row[data-shop-row]:hover {
  background: rgba(255, 138, 43, 0.12);
}

.shop-page .shop-category-section .shop-table .row[data-shop-row]:focus-within {
  outline: 1px solid rgba(255, 138, 43, 0.45);
  outline-offset: 1px;
}

.shop-page .shop-footer-actions {
  position: sticky;
  bottom: 10px;
  z-index: 6;
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  background: rgba(15, 10, 7, 0.92);
  backdrop-filter: blur(3px);
}

.economy-page .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 12px;
  align-items: start;
}

.economy-page .panel-stack {
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto;
}

.economy-page form#economy-settings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.economy-page .eco-page-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.economy-page form#economy-settings > .eco-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 43, 0.14);
  background: rgba(21, 13, 8, 0.68);
}

.economy-page .eco-card .eco-topbar {
  margin-bottom: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.economy-page .eco-topbar .links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.economy-page .eco-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.economy-page .eco-group {
  border: 1px solid rgba(255, 138, 43, 0.14);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(27, 17, 11, 0.62), rgba(13, 9, 6, 0.58));
}

.economy-page .eco-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.12);
}

.economy-page .eco-group-head-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.economy-page .eco-group-head h3 {
  margin: 0;
  font-size: 1rem;
}

.economy-page .eco-toggle-btn {
  display: none;
  min-width: 78px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.economy-page .eco-group.is-collapsed .eco-group-body {
  display: none;
}

.economy-page .eco-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  grid-auto-flow: row dense;
}

.economy-page .eco-card {
  grid-column: span 4;
  border: 1px solid rgba(255, 138, 43, 0.18);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(31, 18, 10, 0.94), rgba(14, 9, 6, 0.92));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.economy-page .eco-card:hover {
  border-color: rgba(255, 165, 86, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.32);
}

.economy-page .eco-card-wide {
  grid-column: span 6;
}

.economy-page .eco-card-wages {
  grid-column: span 12;
}

.economy-page .eco-grid-system .eco-card {
  grid-column: span 6;
}

.economy-page .eco-card-core {
  border-color: rgba(255, 138, 43, 0.24);
}

.economy-page .eco-card-game {
  border-color: rgba(255, 179, 89, 0.2);
}

.economy-page .eco-card-system {
  border-color: rgba(255, 200, 124, 0.22);
}

.economy-page .eco-card-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 1px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.13);
}

.economy-page .eco-card h2 {
  margin: 0;
  font-size: 1.02rem;
}

.economy-page .eco-card .section-sub {
  font-size: 0.81rem;
  line-height: 1.35;
}

.economy-page .eco-card .form-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.economy-page .field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.economy-page .field span {
  margin: 0;
  font-size: 0.86em;
  line-height: 1.25;
}

.economy-page .field input,
.economy-page .field select,
.economy-page .field textarea {
  width: 100%;
}

.economy-page .actions-inline {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

.economy-page .actions-inline .button {
  min-width: 150px;
}

.economy-page .role-income-rows {
  gap: 8px;
  margin-top: 2px;
}

.economy-page .role-income-row {
  grid-template-columns: minmax(0, 1fr) 130px auto;
  align-items: end;
  gap: 8px;
}

.economy-page .role-income-row .field {
  grid-template-columns: 1fr;
}

.economy-page .eco-advanced {
  margin-top: 4px;
  border-radius: 14px;
  padding: 10px 12px 12px;
  border-color: rgba(255, 138, 43, 0.16);
  background: linear-gradient(180deg, rgba(28, 16, 10, 0.74), rgba(14, 9, 6, 0.76));
}

.economy-page .eco-advanced > summary {
  cursor: pointer;
  font-size: 0.92rem;
}

.economy-page .eco-advanced-grid {
  margin-top: 10px;
}

@media (max-width: 1200px) {
  .economy-page .eco-card,
  .economy-page .eco-card-wide {
    grid-column: span 6;
  }

  .economy-page .eco-card-wages {
    grid-column: span 12;
  }

  .economy-page .eco-grid-system .eco-card {
    grid-column: span 12;
  }
}

@media (max-width: 980px) {
  .economy-page form#economy-settings > .eco-topbar {
    padding: 8px 9px;
  }

  .economy-page .eco-card,
  .economy-page .eco-card-wide,
  .economy-page .eco-card-wages {
    grid-column: span 12;
  }

  .economy-page .field {
    grid-template-columns: minmax(0, 1fr) 160px;
  }
}

@media (max-width: 760px) {
  .economy-page .eco-toggle-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .economy-page .eco-grid {
    grid-template-columns: 1fr;
  }

  .economy-page .field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .economy-page .role-income-row {
    grid-template-columns: 1fr;
  }

  .economy-page .actions-inline {
    justify-content: stretch;
  }

  .economy-page .actions-inline .button {
    width: 100%;
    min-width: 0;
  }
}

.category-slots-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.slot-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.slot-label {
  font-size: 0.78em;
  color: var(--muted);
}

.slot-field input {
  width: 100%;
  min-width: 0;
}

.shop-help {
  margin: 0;
}

.shop-help-collapsible {
  margin-bottom: 2px;
}

.shop-help-collapsible > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
}

.shop-help-collapsible > summary::-webkit-details-marker {
  display: none;
}

.shop-help-collapsible[open] > summary {
  margin-bottom: 8px;
}

.shop-help-collapsible .section-head {
  margin-top: 0;
}

.shop-help-steps {
  margin: 6px 0 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.shop-help-steps li strong {
  color: var(--text);
}

.shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.shop-category-filter {
  margin: 8px 0 12px;
  max-width: 360px;
}

.shop-category-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 43, 0.35);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 138, 43, 0.1);
  font-size: 0.9em;
}

.shop-category-nav a:hover {
  background: rgba(255, 138, 43, 0.2);
}

.shop-category-section {
  scroll-margin-top: 110px;
  border-color: rgba(255, 138, 43, 0.16);
  background: linear-gradient(180deg, rgba(27, 17, 11, 0.75), rgba(13, 9, 6, 0.78));
}

.cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-label {
  display: none;
  font-size: 0.8em;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.table-scroll .table {
  min-width: 640px;
}

.shop-page .shop-table.table {
  min-width: 0;
}

@media (max-width: 1100px) {
  .shop-page .shop-setup-grid > form {
    grid-column: span 12;
  }

  .shop-main-grid > form {
    grid-column: span 12;
  }

  .shop-main-grid > form.shop-add-form,
  .shop-main-grid > form.shop-kit-form {
    grid-column: span 12;
  }

  .shop-page .shop-category-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-page .shop-kit-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-page .shop-kit-builder {
    grid-template-columns: 1fr;
  }

  .category-slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .shop-page .shop-hero {
    padding: 10px 11px;
  }

  .shop-page .shop-hero-title {
    font-size: 1.1rem;
  }

  .shop-page .shop-hero-sub {
    font-size: 0.86rem;
  }

  .shop-page .shop-health {
    font-size: 0.74rem;
    padding: 5px 9px;
  }

  .shop-page .shop-summary-grid {
    grid-template-columns: 1fr;
  }

  .shop-page .shop-workflow {
    gap: 6px;
  }

  .shop-page .shop-step {
    width: 100%;
    justify-content: center;
  }

  .shop-page .shop-category-controls {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .shop-page .shop-category-config-grid {
    grid-template-columns: 1fr;
  }

  .shop-page .shop-view-tabs {
    padding: 7px;
  }

  .shop-page .shop-view-tabs .button {
    flex: 1 1 calc(50% - 6px);
    min-width: 130px;
  }

  .shop-page .field-span-2 {
    grid-column: span 1;
  }

  .shop-page .shop-kit-core-grid {
    grid-template-columns: 1fr;
  }

  .shop-page .shop-kit-picker-row {
    grid-template-columns: 1fr;
  }

  .shop-page .shop-kit-add-action .button {
    min-width: 0;
    width: 100%;
  }

  .shop-page .shop-kit-preview-head {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-page .shop-category-section .shop-table {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .shop-page .shop-footer-actions {
    position: static;
    bottom: auto;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .shop-page .shop-topbar {
    padding: 8px 9px;
  }

  .shop-page .shop-topbar .links .button {
    width: auto;
  }

  .category-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  position: fixed;
  bottom: 16px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 40px));
  z-index: 1000;
  padding: 10px;
  background: rgba(21, 25, 35, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.alert {
  background: linear-gradient(180deg, rgba(70, 31, 31, 0.92), rgba(42, 21, 21, 0.9));
  border: 1px solid rgba(196, 101, 101, 0.56);
  padding: 12px 14px;
  border-radius: 10px;
  color: #ffd0d0;
}

.alert.success {
  background: linear-gradient(180deg, rgba(30, 55, 34, 0.94), rgba(21, 42, 25, 0.92));
  border: 1px solid rgba(86, 171, 104, 0.58);
  color: #ceffd6;
}

.note {
  color: #ebd2b8;
  margin-top: 12px;
  border: 1px solid rgba(255, 166, 92, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(44, 25, 14, 0.56);
}

.section {
  border: 1px solid rgba(255, 162, 90, 0.26);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 22px 0;
  background: linear-gradient(180deg, rgba(39, 23, 14, 0.93), rgba(18, 11, 7, 0.97));
  position: relative;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 176, 110, 0.16);
  pointer-events: none;
}

.card > .section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(33, 20, 13, 0.95), rgba(15, 10, 7, 0.98));
}

body.compact .wrap {
  max-width: 100%;
}

body.compact .section {
  padding: 10px;
  margin: 10px 0;
}

body.compact .grid,
body.compact .grid-2,
body.compact .grid-3,
body.compact .grid-4 {
  gap: 8px;
}

body.compact .form-row label {
  font-size: 0.9em;
}

.is-hidden {
  display: none;
}

.section h2 {
  margin: 0;
  font-size: 1.25em;
  letter-spacing: 0.4px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 171, 102, 0.26);
}

.section-sub {
  margin: 0;
  color: #e7cdb2;
  font-size: 0.9em;
  line-height: 1.5;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.stats-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats-page form {
  padding-bottom: 0;
}

.stats-block {
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(31, 18, 10, 0.75), rgba(16, 10, 6, 0.7));
}

.stats-block-head {
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.stats-kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stats-kpi-card {
  min-height: 108px;
  padding: 14px 14px 16px;
}

.stats-kpi-card .stat-title {
  justify-content: space-between;
  margin-bottom: 6px;
}

.stats-kpi-card .stat-value {
  font-size: 1.6rem;
  line-height: 1.15;
}

.stats-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.stats-board-grid {
  grid-template-columns: minmax(0, 1fr);
}

.stats-leaderboard-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-board-select {
  max-width: 420px;
  margin-top: 0;
}

.stats-leaderboard-panels {
  display: grid;
  margin-top: 2px;
}

.stats-leaderboard-panel {
  display: none;
}

.stats-leaderboard-panel.is-active {
  display: block;
}

.stats-leaderboard-panel .stat-list {
  margin: 6px 0 0;
}

.stats-leaderboard-panel .stat-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 138, 43, 0.14);
}

.stats-leaderboard-panel .stat-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stats-leader-card .stat-list {
  margin-bottom: 0;
}

.stats-activity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stats-activity-card {
  padding: 14px 14px 16px;
}

.stats-activity-card .stat-list {
  margin: 6px 0 0;
}

.stats-tools-wrap {
  margin-top: 0;
}

.stats-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.stats-tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-tool-card .field {
  margin-top: 0;
}

.stats-tool-actions {
  margin-top: auto;
  padding-top: 4px;
}

.stats-danger-note {
  margin: 0;
}

@media (max-width: 1240px) {
  .stats-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .stats-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-activity-grid {
    grid-template-columns: 1fr;
  }

  .stats-block {
    padding: 12px;
  }
}

@media (max-width: 560px) {
  .stats-kpi-grid {
    grid-template-columns: 1fr;
  }

  .stats-kpi-card .stat-value {
    font-size: 1.45rem;
  }
}

.account-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.my-stats-shop-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 12px;
  align-items: start;
}

.my-stats-three-col {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.9fr);
}

.my-stats-shop-row > .card {
  min-width: 0;
  padding: 16px;
}

.my-stats-shop-left {
  margin-right: auto;
}

.my-stats-shop-row .section-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.my-stats-shop-row .section-head h2 {
  font-size: 1.05rem;
}

.my-stats-shop-row .section-sub {
  font-size: 0.84rem;
  line-height: 1.35;
}

/* Page-scoped compact layout for My Stats */
.my-stats-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 140px;
}

.my-stats-page .card {
  padding: 14px 16px;
  border-radius: 14px;
}

/* Global rule `.card form { padding-bottom: 96px; }` creates large empty gaps.
   Disable that behavior for My Stats forms. */
.my-stats-page .card form {
  padding-bottom: 0;
}

.my-stats-page .section {
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 14px;
}

.my-stats-page .section-head {
  margin-bottom: 8px;
  padding-bottom: 6px;
  gap: 4px;
}

.my-stats-page .section-head h2 {
  font-size: 1rem;
}

.my-stats-page .section-sub {
  font-size: 0.82rem;
  line-height: 1.3;
}

.my-stats-page .my-stats-hero {
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 138, 43, 0.12), rgba(11, 17, 31, 0.95) 50%, rgba(12, 20, 36, 0.98));
  border: 1px solid rgba(255, 138, 43, 0.18);
}

.my-stats-page .my-stats-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.my-stats-page .my-stats-hero-copy h2 {
  margin: 4px 0 6px;
  font-size: 1.5rem;
}

.my-stats-page .my-stats-hero-kicker {
  color: #ffbf7e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
}

.my-stats-page .my-stats-hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.my-stats-page .my-stats-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.my-stats-page .hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.82rem;
}

.my-stats-page .hero-chip strong {
  color: #fff;
}

.my-stats-page .my-stats-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.my-stats-page .hero-stat-card {
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.my-stats-page .hero-stat-label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.my-stats-page .hero-stat-card strong {
  font-size: 1.2rem;
  line-height: 1.05;
}

.my-stats-page .my-stats-hero-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.my-stats-page .my-stats-hero-tools .my-stats-quick-actions {
  min-height: 100%;
}

.my-stats-page .my-stats-section-nav {
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 138, 43, 0.06);
}

.my-stats-page .my-stats-nav-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.my-stats-page .my-stats-nav-row select {
  min-height: 40px;
}

.my-stats-page .my-stats-nav-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.my-stats-page .my-stats-nav-actions .button {
  width: 100%;
}

.my-stats-page .my-stats-totals-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.my-stats-page .my-stats-totals-group {
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 138, 43, 0.08), rgba(20, 12, 8, 0.55));
  padding: 10px;
  min-width: 0;
}

.my-stats-page .my-stats-totals-group-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 196, 145, 0.92);
}

.my-stats-page .my-stats-totals-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.my-stats-page .my-stats-totals-grid .stat-card {
  min-width: 0;
}

.my-stats-page .my-stats-totals-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.my-stats-page .my-stats-totals-grid-compact .stat-card {
  padding: 8px 9px 9px;
  border-radius: 10px;
}

.my-stats-page .my-stats-totals-grid-compact .stat-title {
  font-size: 0.72rem;
  line-height: 1.18;
  margin-bottom: 3px;
}

.my-stats-page .my-stats-totals-grid-compact .stat-value {
  font-size: 1rem;
  line-height: 1.1;
}

.my-stats-page .my-stats-totals-grid-compact .stat-sub {
  font-size: 0.72rem;
  line-height: 1.2;
}
.my-stats-page .my-stats-totals-layout-v2 {
  gap: 10px;
}

.my-stats-page .my-stats-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.my-stats-page .my-stats-kpi-strip .kpi {
  border-color: rgba(255, 138, 43, 0.3);
  background: linear-gradient(180deg, rgba(255, 138, 43, 0.14), rgba(255, 138, 43, 0.03));
}

.my-stats-page .my-stats-totals-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.my-stats-page .my-stats-panel {
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 12px;
  background: rgba(255, 138, 43, 0.04);
  overflow: hidden;
}

.my-stats-page .my-stats-panel > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 205, 163, 0.95);
  border-bottom: 1px solid rgba(255, 138, 43, 0.14);
}

.my-stats-page .my-stats-panel > summary::-webkit-details-marker {
  display: none;
}

.my-stats-page .my-stats-panel > summary small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.my-stats-page .my-stats-panel > .stats-grid {
  padding: 8px;
}


.my-stats-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.9fr);
  gap: 12px;
  align-items: start;
}

.my-stats-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-stats-density-control {
  border: 1px solid rgba(255, 138, 43, 0.25);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 138, 43, 0.06);
}

.my-stats-density-control .density-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.my-stats-density-control .density-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.my-stats-density-control .button.active {
  border-color: rgba(255, 138, 43, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 138, 43, 0.35) inset;
  background: rgba(255, 138, 43, 0.18);
}

.my-stats-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.my-stats-page .my-stats-insight-card {
  min-width: 0;
}

.my-stats-page .my-stats-insight-card .mobile-collapse-body {
  display: grid;
  gap: 8px;
}

.my-stats-page #my-stats-profile-quality-section .quality-check-list,
.my-stats-page #my-stats-weekly-goals-section .weekly-goal-list,
.my-stats-page #my-stats-map-insights-section .hotspot-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 3px;
}

.my-stats-page #my-stats-map-insights-section .map-insight-preview {
  display: block;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.my-stats-page #my-stats-map-insights-section .map-insight-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

.my-stats-page #my-stats-map-insights-section .map-insight-preview:hover {
  border-color: rgba(110, 186, 255, 0.7);
}

.profile-quality-score {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.profile-quality-score.good {
  color: #61d08f;
}

.profile-quality-score.warn {
  color: #f0bf4c;
}

.profile-quality-score.bad {
  color: #ff8d8d;
}

.quality-check-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.quality-check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.my-stats-page .my-stats-achievement-overview {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.my-stats-page .my-stats-achievement-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.my-stats-page .my-stats-achievement-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4dcc88, #70e0a2);
  width: 0;
}

.my-stats-page .my-stats-achievement-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.my-stats-page .my-stats-achievement-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.my-stats-page .my-stats-achievement-filters .button {
  width: 100%;
}

.my-stats-page .my-stats-achievement-filters .button.is-active {
  border-color: rgba(255, 138, 43, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 138, 43, 0.35) inset;
  background: rgba(255, 138, 43, 0.18);
}

.my-stats-page .my-stats-achievement-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.my-stats-page .my-stats-achievement-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.my-stats-page .my-stats-achievement-name {
  font-size: 0.82rem;
  line-height: 1.22;
}

/* Extra compact pass for Achievements block */
.my-stats-page #my-stats-achievements-section .section-head {
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.my-stats-page #my-stats-achievements-section .section-head h2 {
  font-size: 0.95rem;
}

.my-stats-page #my-stats-achievements-section .section-sub {
  font-size: 0.74rem;
}

.my-stats-page #my-stats-achievements-section .mobile-collapse-body {
  gap: 6px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-overview {
  margin-bottom: 8px;
  gap: 6px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-track {
  height: 8px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-meta {
  font-size: 0.74rem;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-filters {
  gap: 5px;
  margin-bottom: 8px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-filters .button {
  min-height: 34px;
  font-size: 0.74rem;
  padding: 6px 8px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  max-height: 340px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  padding: 6px 8px;
  border-radius: 9px;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-name {
  width: 100%;
  min-width: 0;
  font-size: 0.76rem;
  line-height: 1.32;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.my-stats-page #my-stats-achievements-section .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  flex: 0 1 auto;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  align-self: flex-start;
  font-size: 0.66rem;
  line-height: 1.15;
  padding: 3px 6px;
}

.weekly-net-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.weekly-goal-list {
  display: grid;
  gap: 8px;
}

.weekly-goal-row {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
}

.weekly-goal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.weekly-goal-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.weekly-goal-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffa24d, #ff8a2b);
  width: 0;
}

.weekly-goal-fill.done {
  background: linear-gradient(90deg, #4dcc88, #70e0a2);
}

.weekly-goal-fill.close {
  background: linear-gradient(90deg, #f0bf4c, #ffa24d);
}

.weekly-goal-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.map-insight-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.map-track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.hotspot-list {
  display: grid;
  gap: 6px;
}

.hotspot-row {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr) minmax(170px, auto);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
}

.hotspot-row.hotspot-high {
  border-color: rgba(255, 104, 104, 0.55);
  background: rgba(255, 104, 104, 0.08);
}

.hotspot-row.hotspot-medium {
  border-color: rgba(255, 170, 87, 0.55);
  background: rgba(255, 170, 87, 0.08);
}

.my-stats-page.density-cozy .card {
  padding: 16px 18px;
}

.my-stats-page.density-cozy .stat-card {
  padding: 14px 14px 16px;
}

.my-stats-page.density-default .card {
  padding: 14px 16px;
}

.my-stats-page.density-compact .card {
  padding: 10px 12px;
}

.my-stats-page.density-compact .stat-card {
  padding: 8px 10px 10px;
}

.my-stats-page.density-compact .section-head {
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.my-stats-page.density-compact .table .row {
  padding-top: 6px;
  padding-bottom: 6px;
}

.my-stats-page .stats-grid,
.my-stats-page .grid-3 {
  gap: 10px;
}

.my-stats-page .stat-card {
  padding: 10px 10px 11px;
  border-radius: 11px;
}

.my-stats-page .stat-title {
  font-size: 0.76rem;
  line-height: 1.18;
  margin-bottom: 2px;
}

.my-stats-page .stat-value {
  font-size: 1.06rem;
  line-height: 1.08;
}

.my-stats-page .stat-sub {
  font-size: 0.74rem;
  line-height: 1.2;
}

.my-stats-page .recent-sessions-table .row {
  grid-template-columns: minmax(0, 1.5fr) minmax(90px, 0.8fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(100px, 0.8fr);
  align-items: center;
}

.my-stats-page .sessions-scroll-wrap {
  max-height: 390px;
  overflow-y: auto;
  overflow-x: auto;
  padding-right: 4px;
}

.my-stats-page .sessions-scroll-wrap .recent-sessions-table .row.header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--card);
  border-bottom: 1px solid rgba(255, 138, 43, 0.2);
}

.my-stats-page .recent-player {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.my-stats-page .recent-time {
  display: grid;
  gap: 2px;
}

.my-stats-page .recent-time strong {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
}

.my-stats-page .recent-time small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.my-stats-page .recent-played {
  font-weight: 700;
}

.my-stats-page .economy-timeline-table .row {
  grid-template-columns: minmax(150px, 1.2fr) minmax(160px, 1.2fr) minmax(90px, 0.6fr) minmax(260px, 1.8fr);
  align-items: start;
}

.my-stats-page .economy-scroll-wrap {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: auto;
  padding-right: 4px;
}

.my-stats-page .my-stats-econ-bounty-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.my-stats-page .my-stats-economy-panel {
  width: 100%;
  align-self: stretch;
}

.my-stats-page .my-stats-bounties-panel .table.table-scroll {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: auto;
  padding-right: 4px;
}

.my-stats-page .economy-timeline-list {
  display: grid;
  gap: 8px;
}

.my-stats-page .econ-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.my-stats-page .econ-card.credit {
  border-left-color: rgba(97, 208, 143, 0.9);
}

.my-stats-page .econ-card.debit {
  border-left-color: rgba(255, 141, 141, 0.9);
}

.my-stats-page .econ-card.neutral {
  border-left-color: rgba(175, 183, 197, 0.8);
}

.my-stats-page .econ-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 3px;
}

.my-stats-page .econ-card-action {
  font-weight: 700;
  margin-bottom: 1px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.2;
}

.my-stats-page .econ-card .econ-time strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.my-stats-page .econ-card .econ-time small {
  font-size: 0.72rem;
  color: var(--muted);
}

.my-stats-page .econ-card .econ-amount {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.my-stats-page .econ-card-actions {
  margin-top: 2px;
  display: flex;
  justify-content: flex-end;
}

.my-stats-page .econ-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
}

.my-stats-page .econ-line-main {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-stats-page .econ-inline-time {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
}

.my-stats-page .econ-inline-time small {
  color: var(--muted);
  margin-left: 6px;
  font-size: 0.72rem;
}

.my-stats-page .econ-inline-amount {
  font-size: 0.9rem;
  font-weight: 800;
}

.my-stats-page .econ-inline-action {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.96);
}

.my-stats-page .econ-inline-summary {
  font-size: 0.76rem;
  color: var(--muted);
}

.my-stats-page .econ-inline-sep {
  color: rgba(255, 255, 255, 0.42);
  margin: 0 6px;
}

.my-stats-page .economy-scroll-wrap .economy-timeline-table .row.header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--card);
  border-bottom: 1px solid rgba(255, 138, 43, 0.2);
}

.my-stats-page .economy-timeline-table .econ-time {
  display: grid;
  gap: 2px;
}

.my-stats-page .economy-timeline-table .econ-time strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.my-stats-page .economy-timeline-table .econ-time small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.my-stats-page .economy-timeline-table .econ-action {
  font-weight: 700;
}

.my-stats-page .economy-timeline-table .econ-amount {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.my-stats-page .economy-timeline-table .econ-amount.credit {
  color: #61d08f;
}

.my-stats-page .economy-timeline-table .econ-amount.debit {
  color: #ff8d8d;
}

.my-stats-page .economy-timeline-table .econ-detail {
  color: var(--muted);
  line-height: 1.3;
}

.my-stats-page .travel-survival-scroll-wrap {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.my-stats-page .my-stats-shop-row {
  gap: 10px;
}

.my-stats-page .my-stats-shop-row > .card {
  padding: 12px;
}

.my-stats-mobile-bar {
  display: none;
}

.mobile-shop-sticky {
  display: none;
}

.my-stats-page .mobile-toggle-btn {
  display: none !important;
}

.my-stats-page .mobile-collapse-body[hidden] {
  display: none !important;
}

#my-shop-cart-form > .form-grid:first-of-type {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

#my-shop-cart-form > .form-grid:nth-of-type(2) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(90px, 0.5fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
}

#my-shop-cart-form .field > span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
}

#my-shop-cart-form .actions-inline {
  margin: 0;
}

#my-shop-cart-form .table {
  margin-top: 6px;
  gap: 6px;
}

#my-shop-cart-form .table .row.header {
  font-size: 0.84rem;
}

.stored-pos-list {
  gap: 8px;
  margin-top: 6px;
}

.stored-pos-card {
  padding: 8px;
}

.stored-pos-footer {
  margin-bottom: 6px;
}

/* Stored Positions: force compact, non-stretched layout on My Stats */
.my-stats-page .stored-pos-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.my-stats-page .stored-pos-table-head {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0 2px;
}

.my-stats-page .stored-pos-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.my-stats-page .stored-pos-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-stats-page .stored-pos-location {
  min-width: 0;
}

.my-stats-page .stored-pos-meta {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-stats-page .stored-pos-actions {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-width: 0;
}

.my-stats-page .stored-pos-actions-row {
  justify-content: flex-start;
}

.my-stats-page .stored-pos-actions .button {
  white-space: nowrap;
}

.my-stats-page .stored-name-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
}

.my-stats-page .stored-name-input.compact {
  width: 120px;
  min-width: 120px;
  max-width: 140px;
  height: 34px;
  font-size: 0.86rem;
}

/* Compact mode: keep My Stats same structure as wide view */
body.compact .my-stats-page .stored-pos-table-head {
  display: grid;
}

body.compact .my-stats-page .stored-pos-card {
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

body.compact .my-stats-page .stored-pos-actions {
  width: auto;
  gap: 6px;
}

@media (max-width: 860px) {
  .my-stats-page .stored-pos-table-head {
    display: none;
  }
  .my-stats-page .stored-pos-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .my-stats-page .stored-name-form {
    width: 100%;
  }
  .my-stats-page .stored-name-input.compact {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

.fireplace-feed-table .row {
  gap: 6px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.subtle {
  color: var(--muted);
  font-size: 0.85em;
}

.mini-form {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

@media (max-width: 760px) {
  .my-stats-page {
    padding-bottom: 210px;
  }
  .my-stats-shop-row {
    grid-template-columns: 1fr;
  }

  .my-stats-three-col {
    grid-template-columns: 1fr;
  }

  .my-stats-command-grid {
    grid-template-columns: 1fr;
  }

  .my-stats-insights-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 86vw);
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .my-stats-insights-grid > .my-stats-insight-card {
    scroll-snap-align: start;
  }

  .my-stats-page .my-stats-hero-layout,
  .my-stats-page .my-stats-hero-tools {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-stats-page .my-stats-hero-tools .my-stats-quick-actions {
    justify-content: flex-start;
  }

  .my-stats-page .my-stats-hero {
    padding: 12px;
  }

  .my-stats-page .my-stats-hero-copy h2 {
    font-size: 1.22rem;
  }

  .my-stats-page .my-stats-hero-copy p {
    max-width: none;
    font-size: 0.86rem;
  }

  .my-stats-page .my-stats-hero-chips {
    gap: 6px;
    margin-top: 10px;
  }

  .my-stats-page .hero-chip {
    padding: 7px 9px;
    font-size: 0.76rem;
  }

  .my-stats-page .hero-stat-card {
    padding: 10px;
  }

  .my-stats-page .hero-stat-card strong {
    font-size: 1.02rem;
  }

  .my-stats-page .my-stats-hero-tools {
    margin-top: 10px;
    gap: 8px;
  }

  .my-stats-page .my-stats-section-nav {
    padding: 8px;
  }

  .my-stats-page .my-stats-nav-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .my-stats-page .my-stats-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .my-stats-page .my-stats-quick-actions .button {
    width: 100%;
  }

  .my-stats-page .my-stats-density-control {
    padding: 8px;
  }

  .my-stats-page .my-stats-density-control .density-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .my-stats-page .account-grid,
  .my-stats-page .my-stats-totals-grid,
  .my-stats-page .stats-grid {
    grid-template-columns: 1fr;
  }

  .my-stats-page .stat-card {
    padding: 10px;
  }

  .my-stats-page .my-stats-totals-group {
    padding: 8px;
  }

  .my-stats-page .my-stats-totals-group-title {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .my-stats-page .section-head {
    margin-bottom: 6px;
    padding-bottom: 5px;
  }

  .my-stats-page .section-head h2 {
    font-size: 0.98rem;
  }

  .my-stats-page .section-sub {
    font-size: 0.78rem;
  }

  .my-stats-page .mobile-toggle-btn {
    min-width: 72px;
    padding-inline: 10px;
  }

  .my-stats-page .recent-time small,
  .my-stats-page .econ-inline-time small {
    display: block;
    margin-left: 0;
  }

  .my-stats-page .my-stats-mobile-bar {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-totals-layout {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-totals-grid {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-totals-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-stats-density-control .density-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hotspot-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .my-stats-shop-left {
    margin-right: 0;
  }

  #my-shop-cart-form > .form-grid:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  .my-stats-mobile-bar {
    position: static;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 6px;
    margin-bottom: 6px;
  }

  .my-stats-mobile-bar .mobile-pill {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 138, 43, 0.28);
    border-radius: 10px;
    padding: 8px 8px;
    font-size: 0.84rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-shop-sticky {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(255, 138, 43, 0.26);
    backdrop-filter: blur(4px);
  }

.mobile-shop-total {
  font-weight: 700;
  font-size: 0.94rem;
}

.shop-confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  z-index: 3000;
  padding: 16px;
}

.shop-confirm-modal[hidden] {
  display: none !important;
}

.shop-confirm-dialog {
  width: min(460px, 100%);
  background: #131313;
  border: 1px solid rgba(255, 138, 43, 0.35);
  border-radius: 12px;
  padding: 14px;
}

.shop-confirm-dialog h3 {
  margin: 0 0 8px;
}

  /* Avoid duplicate checkout buttons on mobile; use sticky checkout only. */
  .my-stats-page #my-shop-checkout {
    display: none;
  }

  .my-stats-page .sessions-scroll-wrap {
    max-height: 52vh;
  }

  .my-stats-page .economy-scroll-wrap {
    max-height: 46vh;
  }

  .my-stats-page .my-stats-econ-bounty-row {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-economy-panel {
    width: 100%;
    align-self: auto;
  }

  .my-stats-page .my-stats-bounties-panel .table.table-scroll {
    max-height: 42vh;
  }

  .my-stats-page .econ-card {
    padding: 8px;
  }

  .my-stats-page .econ-line {
    align-items: center;
    gap: 6px;
  }

  .my-stats-page .econ-inline-time {
    font-size: 0.74rem;
  }

  .my-stats-page .econ-inline-time small {
    font-size: 0.68rem;
    margin-left: 4px;
  }

  .my-stats-page .econ-inline-action,
  .my-stats-page .econ-inline-summary {
    font-size: 0.72rem;
  }

  .my-stats-page .econ-inline-sep {
    margin: 0 4px;
  }

  .my-stats-page .travel-survival-scroll-wrap {
    max-height: 52vh;
  }

  .my-stats-page .button,
  .my-stats-page select,
  .my-stats-page input {
    min-height: 44px;
    font-size: 0.96rem;
  }

  .my-stats-page .stored-pos-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .my-stats-page .stored-pos-actions .button,
  .my-stats-page .stored-name-form .button {
    width: 100%;
  }

  .my-stats-page .stored-name-form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .my-stats-page .table.table-scroll .row.header {
    display: none;
  }

  .my-stats-page #my-shop-basket-list .row,
  .my-stats-page .fireplace-feed-table .row,
  .my-stats-page .economy-timeline-table .row,
  .my-stats-page .recent-sessions-table .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
  }

  .my-stats-page #my-shop-basket-list .row > span,
  .my-stats-page .fireplace-feed-table .row > span,
  .my-stats-page .economy-timeline-table .row > span,
  .my-stats-page .recent-sessions-table .row > span {
    display: block;
  }

  .my-stats-page #my-shop-basket-list .row > span:nth-child(1)::before {
    content: "Item";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page #my-shop-basket-list .row > span:nth-child(2)::before {
    content: "Qty";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page #my-shop-basket-list .row > span:nth-child(3)::before {
    content: "Price";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page #my-shop-basket-list .row > span:nth-child(4)::before {
    content: "Subtotal";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page #my-shop-basket-list .row > span:nth-child(5)::before {
    content: "Action";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }

  .my-stats-page .fireplace-feed-table .row > span:nth-child(1)::before {
    content: "Player";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .fireplace-feed-table .row > span:nth-child(2)::before {
    content: "Position";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .fireplace-feed-table .row > span:nth-child(3)::before {
    content: "Time";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .fireplace-feed-table .row > span:nth-child(4)::before {
    content: "Action";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }

  .my-stats-page .economy-timeline-table .row > span:nth-child(1)::before {
    content: "Time";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .economy-timeline-table .row > span:nth-child(2)::before {
    content: "Action";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .economy-timeline-table .row > span:nth-child(3)::before {
    content: "Amount";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .economy-timeline-table .row > span:nth-child(4)::before {
    content: "Details";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }

  .my-stats-page .recent-sessions-table .row > span:nth-child(1)::before {
    content: "Account";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .recent-sessions-table .row > span:nth-child(2)::before {
    content: "Status";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .recent-sessions-table .row > span:nth-child(3)::before {
    content: "Last Connect";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .recent-sessions-table .row > span:nth-child(4)::before {
    content: "Disconnect";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .my-stats-page .recent-sessions-table .row > span:nth-child(5)::before {
    content: "Session Length";
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
  }

  .my-stats-page .mobile-toggle-btn {
    display: inline-flex !important;
    width: auto;
    min-width: 84px;
    justify-content: center;
  }

  .my-stats-page .mobile-collapsible .mobile-collapse-body {
    display: none;
  }

  .my-stats-page .mobile-collapsible.is-open .mobile-collapse-body {
    display: grid;
  }
}

@media (max-width: 520px) {
  .my-stats-page {
    gap: 8px;
    padding-bottom: 190px;
  }

  .my-stats-page .card {
    padding: 12px;
    border-radius: 12px;
  }

  .my-stats-page .my-stats-hero-layout,
  .my-stats-page .my-stats-hero-tools,
  .my-stats-page .my-stats-hero-stats,
  .my-stats-page .my-stats-quick-actions,
  .my-stats-page .my-stats-totals-grid,
  .my-stats-page .stats-grid,
  .my-stats-page .account-grid {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-insights-grid {
    grid-auto-columns: minmax(250px, 92vw);
  }

  .my-stats-page .my-stats-hero-copy h2 {
    font-size: 1.1rem;
  }

  .my-stats-page .my-stats-hero-copy p,
  .my-stats-page .section-sub {
    font-size: 0.75rem;
  }

  .my-stats-page .hero-chip,
  .my-stats-page .hero-stat-card,
  .my-stats-page .stat-card {
    border-radius: 12px;
  }

  .my-stats-page .my-stats-hero-chips {
    gap: 5px;
  }

  .my-stats-page .my-stats-achievement-list {
    grid-template-columns: 1fr;
    max-height: 280px;
  }

  .my-stats-page .hero-chip {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .my-stats-page .my-stats-quick-actions .button,
  .my-stats-page .density-buttons .button,
  .my-stats-page .mobile-shop-sticky .button {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .my-stats-page .my-stats-achievement-filters {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-achievement-list {
    grid-template-columns: 1fr;
    max-height: 300px;
    grid-auto-flow: row;
    align-items: start;
  }

  .my-stats-page .my-stats-achievement-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
  }

  .my-stats-page .my-stats-mobile-bar .mobile-pill {
    font-size: 0.8rem;
    padding: 7px 8px;
  }

  .my-stats-page .mobile-shop-sticky {
    padding: 8px;
  }

  .my-stats-page .my-stats-totals-group {
    padding: 7px;
  }

  .my-stats-page .my-stats-totals-grid-compact {
    grid-template-columns: 1fr;
  }

  .my-stats-page .recent-sessions-table .row,
  .my-stats-page .fireplace-feed-table .row,
  .my-stats-page .economy-timeline-table .row,
  .my-stats-page #my-shop-basket-list .row {
    padding: 9px;
  }
}

@media (max-width: 560px) {
  .my-stats-page .my-stats-totals-grid {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-totals-group {
    padding: 8px;
  }
}

/* Factions page hard-compact overrides */
.factions-page .faction-block {
  padding: 8px 10px !important;
}

.factions-page .faction-panel {
  padding: 6px 8px !important;
  margin-top: 4px !important;
}

.factions-page .faction-panel .stat-card {
  padding: 8px !important;
  margin: 0 !important;
}

.factions-page .faction-panel .inline-form {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
}

.factions-page .faction-panel input[type="text"],
.factions-page .faction-panel input[type="number"],
.factions-page .faction-panel input[type="file"],
.factions-page .faction-panel select {
  max-width: 220px !important;
}

.factions-page .faction-member-actions {
  display: flex;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: 4px !important;
}

/* Factions isolated layout */
.factions-page .fp-block {
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 8px;
  padding: 8px;
  background: rgba(18, 14, 11, 0.6);
  margin-top: 6px;
}

.factions-page .fp-title {
  font-size: 0.82em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.factions-page .fp-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.factions-page .fp-line {
  margin: 0;
}

.factions-page .fp-form {
  display: grid;
  align-items: center;
  gap: 6px;
}

.factions-page .fp-form-2 {
  grid-template-columns: minmax(180px, 260px) auto;
}

.factions-page .fp-form-3 {
  grid-template-columns: minmax(170px, 240px) minmax(170px, 240px) auto;
}

.factions-page .fp-form-delete {
  grid-template-columns: auto;
}

.factions-page .fp-form-members {
  grid-template-columns: minmax(160px, 220px) minmax(110px, 140px) auto;
}

.factions-page .fp-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 52px;
  overflow: auto;
}

@media (max-width: 860px) {
  .factions-page .fp-form-2,
  .factions-page .fp-form-3,
  .factions-page .fp-form-members {
    grid-template-columns: 1fr;
  }
}

/* Factions final compact rules (moved from inline template styles) */
.factions-page,
.factions-page * {
  line-height: 1.15 !important;
}

.factions-page .faction-top-grid {
  display: grid !important;
  grid-template-columns: 430px 1fr !important;
  gap: 6px !important;
  align-items: start !important;
}

.factions-page .faction-block {
  padding: 6px !important;
}

.factions-page .form-grid,
.factions-page .fp-lines {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin: 0 !important;
}

.factions-page .field,
.factions-page .fp-line {
  margin: 0 !important;
  padding: 0 !important;
}

.factions-page .field > span {
  margin-bottom: 2px !important;
  font-size: 12px !important;
}

.factions-page h2,
.factions-page h3,
.factions-page h4,
.factions-page p,
.factions-page .muted {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

.factions-page .faction-panel {
  width: 560px !important;
  max-width: 560px !important;
  padding: 4px 6px !important;
  margin-top: 4px !important;
}

.factions-page .faction-panel h3,
.factions-page .faction-panel h4 {
  margin: 2px 0 !important;
  font-size: 14px !important;
}

.factions-page .faction-summary-row {
  margin: 2px 0 !important;
  gap: 3px !important;
}

.factions-page .chip {
  padding: 2px 6px !important;
  font-size: 11px !important;
}

.factions-page .fp-form {
  width: fit-content !important;
  justify-content: start !important;
  margin: 0 !important;
  gap: 4px !important;
  padding: 0 !important;
}

.factions-page .fp-form input[type="text"],
.factions-page .fp-form input[type="number"],
.factions-page .fp-form select {
  width: 160px !important;
  max-width: 160px !important;
  padding: 6px 8px !important;
}

.factions-page .fp-form input[type="file"] {
  width: 170px !important;
  max-width: 170px !important;
}

.factions-page .fp-block {
  padding: 4px !important;
  margin-top: 3px !important;
}

.factions-page .fp-title {
  margin: 0 0 3px !important;
  font-size: 11px !important;
}

@media (max-width: 980px) {
  .factions-page .faction-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .factions-page .faction-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .factions-page .fp-form {
    width: 100% !important;
  }

  .factions-page .fp-form input[type="text"],
  .factions-page .fp-form input[type="number"],
  .factions-page .fp-form select,
  .factions-page .fp-form input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* XP / Achievements page */
.xp-page .xp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xp-page .xp-section {
  border: 1px solid rgba(255, 138, 43, 0.16);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(29, 17, 10, 0.62), rgba(16, 10, 6, 0.58));
}

.xp-page .xp-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 138, 43, 0.12);
}

.xp-page .xp-section-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.xp-page .xp-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 74px;
  width: auto;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.xp-page .xp-section.is-collapsed > .xp-section-body {
  display: none;
}

.xp-page .xp-form input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  background: rgba(12, 16, 24, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
}

.xp-page .xp-form input[type="number"]:focus {
  outline: none;
  border-color: rgba(255, 138, 43, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 138, 43, 0.15);
}

.xp-page .xp-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 12px;
  align-items: start;
}

.xp-page .xp-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.xp-page .xp-core-grid .form-row {
  margin: 4px 0;
}

.xp-page .xp-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 10px;
  color: var(--text);
}

.xp-page .xp-save-card .button-row .button {
  width: 100%;
}

.xp-page .xp-ach-header,
.xp-page .xp-ach-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 80px 96px;
  gap: 8px;
  align-items: center;
}

.xp-page .xp-ach-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.xp-page .xp-ach-count {
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
}

.xp-page .xp-ach-hint {
  font-size: 12px;
  color: var(--muted);
}

.xp-page .xp-ach-header {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 8px;
  background: rgba(255, 138, 43, 0.06);
  position: sticky;
  top: 0;
  z-index: 1;
  backdrop-filter: blur(2px);
  grid-template-columns: minmax(250px, 1fr) 80px 96px minmax(250px, 1fr) 80px 96px;
}

.xp-page .xp-ach-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.xp-page .xp-ach-scroll {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}

.xp-page .xp-ach-row {
  padding: 8px 10px;
  border: 1px solid rgba(255, 138, 43, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(35, 17, 8, 0.55), rgba(16, 8, 4, 0.45));
  transition: border-color 120ms ease, background 120ms ease;
}

.xp-page .xp-ach-row:hover {
  border-color: rgba(255, 138, 43, 0.45);
  background: linear-gradient(180deg, rgba(40, 20, 10, 0.6), rgba(20, 10, 5, 0.5));
}

.xp-page .xp-ach-name {
  color: var(--text);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xp-page .xp-ach-title {
  color: var(--text);
}

.xp-page .xp-ach-desc {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.xp-page .xp-ach-enable {
  display: flex;
  justify-content: center;
  align-items: center;
}

.xp-page .xp-ach-xp-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.xp-page .xp-field-label {
  display: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.xp-page .xp-ach-enable input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.xp-page .xp-ach-xp {
  width: 100%;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 10px;
    padding: 12px;
  }

  .topbar .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .topbar .guild-badge {
    order: 2;
    flex: 1 1 100%;
    min-width: 0;
    border-radius: 14px;
  }

  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .topbar .user {
    display: none;
  }

  .topbar nav .link,
  .topbar nav .link-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .actions {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 6px;
  }

  .actions .button {
    flex: 1 1 0;
    min-width: 0;
  }

  .card form {
    padding-bottom: 0;
  }
}

@media (max-width: 980px) {
  .xp-page .xp-top-grid {
    grid-template-columns: 1fr;
  }

  .xp-page .xp-core-grid {
    grid-template-columns: 1fr;
  }

  .xp-page .xp-ach-list {
    grid-template-columns: 1fr;
  }

  .xp-page .xp-ach-header,
  .xp-page .xp-ach-row {
    grid-template-columns: 1fr 80px 100px;
  }

  .xp-page .xp-ach-header span:nth-child(n+4) {
    display: none;
  }

  .xp-page .xp-ach-toolbar {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .xp-page .xp-top-grid {
    gap: 10px;
  }

  .xp-page .xp-section {
    padding: 8px;
  }

  .xp-page .xp-core-card,
  .xp-page .xp-save-card,
  .xp-page .xp-achievements-card {
    padding: 12px;
  }

  .xp-page .xp-ach-scroll {
    max-height: 360px;
  }

  .xp-page .xp-ach-header {
    display: none;
  }

  .xp-page .xp-ach-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .xp-page .xp-ach-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding: 10px;
  }

  .xp-page .xp-ach-name {
    gap: 4px;
  }

  .xp-page .xp-field-label {
    display: inline-flex;
  }

  .xp-page .xp-ach-enable,
  .xp-page .xp-ach-xp-wrap {
    justify-content: space-between;
    gap: 12px;
  }

  .xp-page .xp-ach-xp {
    max-width: 132px;
    min-width: 96px;
    text-align: right;
  }
}

/* Global mobile polish for dashboard pages */
@media (max-width: 820px) {
  .wrap {
    padding: 0 10px 16px;
    margin: 14px auto 20px;
  }

  .card {
    border-radius: 12px;
    padding: 14px;
    overflow: hidden;
  }

  .topbar {
    padding: 10px 12px;
    gap: 8px;
  }

  .topbar nav {
    gap: 8px;
    padding-bottom: 4px;
  }

  .topbar nav .link,
  .topbar nav .link-button {
    border: 1px solid rgba(255, 138, 43, 0.22);
    border-radius: 10px;
    padding: 6px 10px;
    line-height: 1.2;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .guild-badge-name,
  .guild-badge-sub,
  .user {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .button-row {
    gap: 8px;
  }

  .button-row .button {
    flex: 1 1 auto;
    min-width: 0;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .table-scroll .table {
    min-width: 520px;
  }

  .dashboard-layout,
  .settings-layout,
  .panel-grid,
  .panel-stack,
  .ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .form-row {
    margin-bottom: 10px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 8px 16px;
    margin: 10px auto 16px;
  }

  .card {
    padding: 12px;
  }

  h1 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  h2 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .topbar .brand {
    font-size: 0.95rem;
  }

  .topbar .brand .brand-logo {
    width: 24px;
    height: 24px;
  }

  .topbar.topbar-public .brand {
    font-size: 1.08rem;
  }

  .topbar.topbar-public .brand .brand-logo {
    width: 32px;
    height: 32px;
  }

  .topbar {
    position: static;
  }

  .topbar .guild-badge {
    padding: 6px 8px;
  }

  .topbar .guild-badge-sub {
    display: none;
  }

  .topbar nav .link,
  .topbar nav .link-button {
    font-size: 0.88rem;
    padding: 6px 9px;
  }

  .button {
    width: 100%;
  }

  .button-row .button {
    width: 100%;
    flex: 1 1 100%;
  }

  .table-scroll .table {
    min-width: 420px;
  }
}

/* Brighter theme pass for better readability */
body {
  background:
    radial-gradient(900px 480px at 12% -12%, rgba(255, 170, 88, 0.26), transparent 62%),
    radial-gradient(820px 520px at 88% -8%, rgba(255, 210, 145, 0.18), transparent 60%),
    linear-gradient(180deg, #2b190f 0%, #1e130d 56%, #140d09 100%);
}

.topbar {
  background: rgba(46, 29, 18, 0.96);
  border-bottom-color: rgba(255, 172, 96, 0.42);
}

.card {
  background: linear-gradient(180deg, rgba(88, 58, 38, 0.95), rgba(56, 36, 24, 0.96));
  border-color: rgba(255, 177, 102, 0.5);
}

.settings-card {
  background: linear-gradient(180deg, rgba(99, 65, 41, 0.94), rgba(60, 39, 25, 0.96));
  border-color: rgba(255, 179, 102, 0.56);
}

.section {
  background: linear-gradient(180deg, rgba(106, 67, 41, 0.9), rgba(64, 40, 25, 0.94));
  border-color: rgba(255, 181, 104, 0.5);
}

.section::before {
  border-color: rgba(255, 205, 152, 0.26);
}

.stat-card {
  background: linear-gradient(160deg, rgba(114, 72, 44, 0.9), rgba(63, 40, 24, 0.95));
  border-color: rgba(255, 184, 108, 0.52);
}

.table .row {
  background: rgba(88, 54, 34, 0.65);
  border-color: rgba(255, 180, 108, 0.38);
}

.table .row.header {
  background: linear-gradient(180deg, rgba(144, 89, 50, 0.72), rgba(103, 63, 36, 0.74));
  border-color: rgba(255, 195, 130, 0.62);
  color: #fff4e8;
}

.muted,
.section-sub,
.note {
  color: #f5ddc4;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="datetime-local"],
input[type="time"],
select,
textarea {
  background: rgba(255, 244, 228, 0.1);
  border-color: rgba(255, 186, 112, 0.52);
  color: #fff6ef;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 226, 195, 0.9);
}

/* Helper bot pages only: blue theme */
body.has-helper-workspace {
  background:
    radial-gradient(920px 520px at 10% -14%, rgba(88, 163, 255, 0.26), transparent 62%),
    radial-gradient(860px 520px at 92% -10%, rgba(132, 195, 255, 0.2), transparent 62%),
    linear-gradient(180deg, #0d1c2d 0%, #0b1624 56%, #08111c 100%);
}

body.has-helper-workspace .topbar {
  background: rgba(13, 29, 46, 0.96);
  border-bottom-color: rgba(111, 174, 255, 0.42);
}

body.has-helper-workspace .topbar nav .link,
body.has-helper-workspace .topbar nav .link-button {
  border-color: rgba(118, 178, 255, 0.36);
  background: linear-gradient(180deg, rgba(27, 54, 83, 0.9), rgba(16, 33, 52, 0.92));
  color: #eaf4ff;
}

body.has-helper-workspace .topbar nav .link:hover,
body.has-helper-workspace .topbar nav .link-button:hover {
  border-color: rgba(152, 200, 255, 0.66);
  background: linear-gradient(180deg, rgba(36, 71, 108, 0.94), rgba(20, 43, 67, 0.94));
}

body.has-helper-workspace .card {
  background: linear-gradient(180deg, rgba(24, 45, 69, 0.95), rgba(12, 26, 42, 0.96));
  border-color: rgba(114, 174, 255, 0.5);
}

body.has-helper-workspace .settings-card {
  background: linear-gradient(180deg, rgba(28, 55, 84, 0.95), rgba(14, 31, 50, 0.96));
  border-color: rgba(124, 181, 255, 0.56);
}

body.has-helper-workspace .section {
  background: linear-gradient(180deg, rgba(30, 58, 88, 0.92), rgba(15, 33, 53, 0.95));
  border-color: rgba(125, 181, 255, 0.5);
}

body.has-helper-workspace .section::before {
  border-color: rgba(181, 216, 255, 0.24);
}

body.has-helper-workspace .stat-card {
  background: linear-gradient(160deg, rgba(34, 65, 97, 0.9), rgba(16, 35, 55, 0.95));
  border-color: rgba(126, 183, 255, 0.52);
}

body.has-helper-workspace .table .row {
  background: rgba(29, 54, 81, 0.66);
  border-color: rgba(126, 183, 255, 0.38);
}

body.has-helper-workspace .table .row.header {
  background: linear-gradient(180deg, rgba(47, 90, 136, 0.72), rgba(31, 63, 97, 0.74));
  border-color: rgba(162, 207, 255, 0.62);
  color: #f2f8ff;
}

body.has-helper-workspace .muted,
body.has-helper-workspace .section-sub,
body.has-helper-workspace .note {
  color: #d8eaff;
}

body.has-helper-workspace .note {
  border-color: rgba(130, 186, 255, 0.34);
  background: rgba(38, 69, 102, 0.52);
}

body.has-helper-workspace .alert {
  background: linear-gradient(180deg, rgba(66, 39, 35, 0.92), rgba(42, 26, 23, 0.9));
  border-color: rgba(223, 149, 140, 0.6);
  color: #ffd9d3;
}

body.has-helper-workspace .alert.success {
  background: linear-gradient(180deg, rgba(25, 66, 46, 0.94), rgba(18, 45, 33, 0.92));
  border-color: rgba(112, 204, 154, 0.58);
  color: #d5ffe7;
}

/* Tools hub + Events builder */
.tools-hub-page {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-hub-page::before,
.tools-hub-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(6px);
}

.tools-hub-page::before {
  width: 520px;
  height: 520px;
  top: -300px;
  right: -170px;
  background: radial-gradient(circle at center, rgba(108, 208, 255, 0.28), rgba(108, 208, 255, 0));
}

.tools-hub-page::after {
  width: 460px;
  height: 460px;
  bottom: -260px;
  left: -150px;
  background: radial-gradient(circle at center, rgba(255, 126, 89, 0.26), rgba(255, 126, 89, 0));
}

.tools-hub-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 201, 146, 0.38);
  background:
    radial-gradient(650px 360px at 8% -16%, rgba(100, 190, 255, 0.27), rgba(100, 190, 255, 0)),
    radial-gradient(520px 260px at 112% 16%, rgba(255, 114, 72, 0.22), rgba(255, 114, 72, 0)),
    linear-gradient(155deg, rgba(35, 22, 14, 0.94), rgba(19, 13, 9, 0.95));
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
}

.tools-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.tools-hub-kicker {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd8b5;
  font-weight: 800;
}

.tools-hub-hero h1 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  background: linear-gradient(92deg, #ffe8cf 0%, #ffd09f 32%, #a4e4ff 74%, #b3ffcf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tools-hub-hero .section-sub {
  margin: 10px 0 0;
  max-width: 760px;
}

.tools-hub-stat-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tools-hub-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 153, 0.28);
  background: rgba(17, 11, 7, 0.5);
}

.tools-hub-stat strong {
  font-size: 1rem;
  color: #fff0dd;
  line-height: 1.1;
}

.tools-hub-stat span {
  font-size: 0.74rem;
  color: #eec9a4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tools-hub-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 201, 146, 0.28);
  background: rgba(15, 10, 7, 0.58);
  backdrop-filter: blur(3px);
}

.tools-hub-meta-title {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #ffddb8;
}

.tools-hub-meta-copy {
  margin: 0;
  color: #f4dac1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.tools-hub-hero-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

.tools-hub-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.tools-hub-card {
  --tool-a: #ff9a4f;
  --tool-b: #ff4d6d;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 310px;
  border-radius: 20px;
  border: 1px solid rgba(255, 201, 146, 0.34);
  background:
    linear-gradient(176deg, rgba(39, 25, 16, 0.95), rgba(20, 13, 9, 0.96));
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.tools-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tool-a), var(--tool-b));
}

.tools-hub-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--tool-a) 42%, transparent), transparent 72%);
  pointer-events: none;
}

.tools-hub-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tool-a) 52%, #f5be8b 48%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.tools-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tools-hub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--tool-a) 60%, #ffffff 40%);
  background: linear-gradient(145deg, color-mix(in srgb, var(--tool-a) 24%, transparent), color-mix(in srgb, var(--tool-b) 24%, transparent));
  color: #fff5e9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tools-hub-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tool-a) 52%, #ffffff 48%);
  background: color-mix(in srgb, var(--tool-a) 18%, transparent);
  color: #fff1e0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.tools-hub-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.tools-hub-card-path {
  margin: -2px 0 0;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--tool-a) 72%, #f3d2b1 28%);
  opacity: 0.95;
}

.tools-hub-card .section-sub {
  margin: 2px 0 0;
  color: #f3decb;
}

.tools-hub-points {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tools-hub-point {
  position: relative;
  padding: 9px 10px 9px 30px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--tool-a) 32%, #8a6240 68%);
  background: color-mix(in srgb, var(--tool-a) 8%, rgba(15, 10, 7, 0.7));
  color: #ffecda;
  font-size: 0.86rem;
}

.tools-hub-point::before {
  content: "+";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--tool-a) 72%, #fff1de 28%);
  font-size: 0.92rem;
  font-weight: 700;
}

.tools-hub-actions {
  margin-top: auto;
  padding-top: 2px;
}

.tools-hub-card-coming {
  --tool-a: #ffd369;
  --tool-b: #ff8c42;
  border-style: dashed;
  background: linear-gradient(176deg, rgba(44, 29, 17, 0.94), rgba(22, 14, 9, 0.95));
}

.tools-hub-empty {
  position: relative;
  z-index: 1;
  padding: 12px 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .tools-hub-page::before,
  .tools-hub-page::after {
    animation: toolsGlowFloat 12s ease-in-out infinite alternate;
  }

  .tools-hub-page::after {
    animation-duration: 15s;
  }
}

@keyframes toolsGlowFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, 10px, 0) scale(1.04); }
}


@media (max-width: 1020px) {
  .tools-hub-hero {
    grid-template-columns: 1fr;
  }

  .tools-hub-hero-meta {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .tools-hub-stat-strip {
    grid-template-columns: 1fr;
  }

  .tools-hub-grid {
    grid-template-columns: 1fr;
  }
}


.tools-hub-toolbar {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 201, 146, 0.3);
  background: linear-gradient(165deg, rgba(35, 22, 14, 0.9), rgba(17, 11, 8, 0.94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.tools-hub-search-wrap input {
  width: 100%;
  min-height: 42px;
}

.tools-hub-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-filter-btn {
  border: 1px solid rgba(255, 198, 130, 0.36);
  background: rgba(24, 15, 10, 0.75);
  color: #ffe6cf;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.tools-filter-btn:hover {
  border-color: rgba(255, 198, 130, 0.6);
}

.tools-filter-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 157, 79, 0.28), rgba(84, 196, 255, 0.22));
  border-color: rgba(255, 205, 153, 0.8);
  color: #fff6ea;
}

.tools-hub-card-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tools-hub-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid rgba(255, 196, 130, 0.58);
  background: rgba(255, 138, 43, 0.2);
  color: #ffe8d1;
}

.tools-hub-state-top {
  border-color: rgba(255, 220, 120, 0.8);
  background: rgba(255, 215, 112, 0.22);
  color: #fff4cf;
}

.tools-hub-state-new {
  border-color: rgba(125, 255, 198, 0.7);
  background: rgba(69, 237, 165, 0.2);
  color: #d9ffef;
}

.tools-hub-state-stable,
.tools-hub-state-live {
  border-color: rgba(124, 203, 255, 0.7);
  background: rgba(84, 184, 255, 0.2);
  color: #dff4ff;
}

.tools-hub-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.tools-hub-mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 197, 134, 0.34);
  background: rgba(255, 158, 84, 0.1);
  color: #ffdcb9;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.tools-hub-card.is-hidden {
  display: none;
}

.tools-hub-empty.is-hidden {
  display: none;
}

.tools-hub-bottom-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tools-hub-bottom-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 197, 134, 0.26);
  background: linear-gradient(160deg, rgba(34, 21, 14, 0.78), rgba(16, 11, 8, 0.9));
}

.tools-hub-bottom-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.tools-hub-bottom-card .section-sub {
  margin: 0;
}

.tools-hub-bottom-card .button {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .tools-hub-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .tools-hub-toolbar {
    padding: 10px;
  }
}

.events-builder-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events-builder-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 176, 102, 0.36);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 138, 43, 0.14), rgba(40, 25, 16, 0.9));
}

.events-builder-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 220, 182, 0.92);
  margin-bottom: 4px;
}

.events-builder-hero h1 {
  margin: 0;
}

.events-builder-hero .section-sub {
  margin: 6px 0 0;
  max-width: 760px;
}

.events-builder-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.events-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: start;
}

.events-builder-form {
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.events-builder-panel {
  border: 1px solid rgba(255, 176, 102, 0.34);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(170deg, rgba(107, 66, 40, 0.78), rgba(50, 32, 20, 0.92));
}

.events-builder-panel h2 {
  margin: 0;
  font-size: 1.02rem;
}

.events-builder-panel .section-sub {
  margin: 3px 0 10px;
}

.events-builder-fields {
  display: grid;
  gap: 10px;
}

.events-builder-fields-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.events-builder-fields .form-row {
  margin: 0;
}

.events-builder-preview {
  border: 1px solid rgba(255, 176, 102, 0.36);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(92, 57, 35, 0.84), rgba(43, 27, 17, 0.94));
  padding: 12px;
  position: sticky;
  top: 88px;
}

.events-builder-preview h2 {
  margin: 0;
  font-size: 1.02rem;
}

.events-builder-preview .section-sub {
  margin: 4px 0 10px;
}

.events-builder-preview textarea {
  min-height: 360px;
  margin-top: 0;
}

.events-builder-errors {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 115, 115, 0.44);
  background: rgba(83, 31, 31, 0.46);
}

.events-builder-errors h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.events-builder-errors ul {
  margin: 0;
  padding-left: 18px;
}

.events-builder-placeholder {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 176, 102, 0.4);
  background: rgba(22, 14, 10, 0.55);
}

.events-builder-placeholder p {
  margin: 0 0 8px;
}

.events-builder-placeholder p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .events-builder-fields-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .tools-hub-hero,
  .events-builder-hero {
    flex-direction: column;
  }

  .tools-hub-hero-actions,
  .events-builder-hero-actions {
    width: 100%;
  }

  .events-builder-layout {
    grid-template-columns: 1fr;
  }

  .events-builder-preview {
    position: static;
  }

  .events-builder-fields-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tools-hub-grid {
    grid-template-columns: 1fr;
  }

  .events-builder-fields-4 {
    grid-template-columns: 1fr;
  }

  .events-builder-preview textarea {
    min-height: 260px;
  }
}

.types-eval-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.types-eval-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 176, 102, 0.36);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 138, 43, 0.14), rgba(40, 25, 16, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 206, 156, 0.18), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.types-eval-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 220, 182, 0.92);
  margin-bottom: 4px;
}

.types-eval-hero h1 {
  margin: 0;
}

.types-eval-hero .section-sub {
  margin: 6px 0 0;
  max-width: 760px;
}

.types-eval-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.types-eval-form {
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.types-eval-input-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.types-eval-panel {
  border: 1px solid rgba(255, 176, 102, 0.34);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(170deg, rgba(107, 66, 40, 0.78), rgba(50, 32, 20, 0.92));
}

.types-eval-panel h2 {
  margin: 0;
  font-size: 1.02rem;
}

.types-eval-panel .section-sub {
  margin: 3px 0 10px;
}

.types-eval-textarea {
  min-height: 220px;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 12.5px;
}

.types-eval-errors {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 115, 115, 0.44);
  background: rgba(83, 31, 31, 0.46);
}

.types-eval-errors h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.types-eval-errors ul {
  margin: 0;
  padding-left: 18px;
}

.types-eval-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.types-eval-tier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.types-eval-tier-chip {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 178, 106, 0.36);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(23, 15, 10, 0.56);
  color: rgba(255, 236, 214, 0.96);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.types-eval-tier-chip:hover {
  border-color: rgba(255, 201, 143, 0.62);
  background: rgba(58, 32, 17, 0.62);
}

.types-eval-tier-chip[data-tier="Mythic"] {
  border-color: rgba(255, 121, 198, 0.5);
  background: rgba(141, 56, 108, 0.38);
}

.types-eval-tier-chip[data-tier="Very Rare"] {
  border-color: rgba(188, 140, 255, 0.5);
  background: rgba(91, 63, 142, 0.34);
}

.types-eval-tier-chip[data-tier="Rare"] {
  border-color: rgba(98, 178, 255, 0.5);
  background: rgba(43, 84, 132, 0.35);
}

.types-eval-tier-chip[data-tier="Uncommon"] {
  border-color: rgba(105, 220, 168, 0.46);
  background: rgba(34, 97, 72, 0.33);
}

.types-eval-tier-chip[data-tier="Common"] {
  border-color: rgba(245, 198, 88, 0.5);
  background: rgba(109, 84, 35, 0.34);
}

.types-eval-tier-chip[data-tier="Very Common"] {
  border-color: rgba(255, 159, 120, 0.48);
  background: rgba(124, 66, 44, 0.34);
}

.types-eval-tier-chip[data-tier="Disabled"] {
  border-color: rgba(166, 172, 185, 0.46);
  background: rgba(68, 73, 84, 0.36);
}

.types-eval-tier-chip.is-active {
  border-color: rgba(255, 216, 174, 0.76);
  background: rgba(255, 138, 43, 0.24);
  color: #fff5ea;
  box-shadow: 0 0 0 1px rgba(255, 213, 168, 0.42), 0 8px 16px rgba(0, 0, 0, 0.24);
}

.types-eval-tier-chip:focus-visible {
  outline: 2px solid rgba(255, 208, 156, 0.9);
  outline-offset: 2px;
}

.types-eval-tier-chip strong {
  color: #fff4e7;
}

.types-eval-filter-status {
  margin: -2px 0 0;
  font-size: 0.84rem;
  color: rgba(255, 226, 195, 0.94);
}

.types-eval-thresholds {
  border: 1px solid rgba(255, 178, 106, 0.34);
  border-radius: 12px;
  background: rgba(23, 15, 10, 0.56);
  padding: 10px;
}

.types-eval-threshold-title {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 219, 180, 0.9);
  margin-bottom: 8px;
}

.types-eval-threshold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.types-eval-threshold-item {
  border: 1px solid rgba(255, 178, 106, 0.24);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(19, 12, 8, 0.5);
  color: rgba(255, 236, 214, 0.96);
  font-size: 0.82rem;
}

.types-eval-table-wrap {
  border: 1px solid rgba(255, 178, 106, 0.3);
  border-radius: 12px;
  background: rgba(20, 13, 9, 0.66);
  max-height: min(72vh, 860px);
  overflow: auto;
}

.types-eval-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1500px;
}

.types-eval-table th,
.types-eval-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 178, 106, 0.2);
  text-align: left;
  font-size: 0.83rem;
}

.types-eval-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(94, 56, 32, 0.98);
  color: #fff1e3;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.types-eval-table tbody tr:hover td {
  background: rgba(255, 138, 43, 0.1);
}

.types-eval-table tbody tr[data-tier="Mythic"] td {
  background: rgba(122, 45, 95, 0.22);
}

.types-eval-table tbody tr[data-tier="Very Rare"] td {
  background: rgba(84, 58, 129, 0.2);
}

.types-eval-table tbody tr[data-tier="Rare"] td {
  background: rgba(36, 74, 118, 0.2);
}

.types-eval-table tbody tr[data-tier="Uncommon"] td {
  background: rgba(29, 90, 67, 0.2);
}

.types-eval-table tbody tr[data-tier="Common"] td {
  background: rgba(105, 83, 33, 0.2);
}

.types-eval-table tbody tr[data-tier="Very Common"] td {
  background: rgba(112, 63, 45, 0.2);
}

.types-eval-table tbody tr[data-tier="Disabled"] td {
  background: rgba(67, 71, 80, 0.2);
}

.types-eval-adjust-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.types-eval-edit-table input.types-eval-input {
  width: 100%;
  min-width: 72px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 178, 106, 0.26);
  background: rgba(15, 10, 6, 0.62);
  color: #fff2e5;
  font-size: 0.82rem;
}

.types-eval-edit-table input.types-eval-input:focus {
  outline: 2px solid rgba(255, 208, 156, 0.72);
  outline-offset: 1px;
}

.types-eval-actions {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .types-eval-hero {
    flex-direction: column;
  }

  .types-eval-hero-actions {
    width: 100%;
  }

  .types-eval-input-grid {
    grid-template-columns: 1fr;
  }

  .types-eval-table-wrap {
    max-height: min(62vh, 680px);
  }
}

body.has-helper-workspace input[type="text"],
body.has-helper-workspace input[type="number"],
body.has-helper-workspace input[type="password"],
body.has-helper-workspace input[type="email"],
body.has-helper-workspace input[type="url"],
body.has-helper-workspace input[type="search"],
body.has-helper-workspace input[type="datetime-local"],
body.has-helper-workspace input[type="time"],
body.has-helper-workspace select,
body.has-helper-workspace textarea {
  background: rgba(227, 240, 255, 0.1);
  border-color: rgba(130, 186, 255, 0.52);
  color: #f3f8ff;
}

body.has-helper-workspace input::placeholder,
body.has-helper-workspace textarea::placeholder {
  color: rgba(210, 230, 255, 0.88);
}

body.has-helper-workspace .button {
  background: #5c97ff;
  color: #08101a;
}

body.has-helper-workspace .button.secondary {
  background: rgba(101, 157, 255, 0.18);
  border-color: rgba(142, 192, 255, 0.5);
  color: #eaf4ff;
}

body.has-helper-workspace .helper-hero {
  border-color: rgba(130, 189, 255, 0.38);
  background:
    radial-gradient(520px 260px at 10% -10%, rgba(124, 188, 255, 0.22), transparent 62%),
    linear-gradient(145deg, rgba(27, 53, 80, 0.96), rgba(14, 31, 49, 0.95));
}

body.has-helper-workspace .helper-kicker {
  color: rgba(190, 223, 255, 0.92);
}

body.has-helper-workspace .helper-hub-hero {
  border-color: rgba(133, 192, 255, 0.38);
  background:
    radial-gradient(620px 240px at 8% -30%, rgba(120, 186, 255, 0.2), transparent),
    linear-gradient(180deg, rgba(24, 47, 72, 0.94), rgba(14, 31, 49, 0.95));
}

body.has-helper-workspace .helper-hub-status {
  border-color: rgba(131, 191, 255, 0.34);
  background: linear-gradient(180deg, rgba(27, 52, 79, 0.92), rgba(15, 31, 49, 0.94));
}

body.has-helper-workspace .helper-hub-status.subtle {
  background: linear-gradient(180deg, rgba(23, 44, 68, 0.92), rgba(14, 30, 47, 0.94));
}

body.has-helper-workspace .helper-hub-status-label,
body.has-helper-workspace .helper-hub-status-sub {
  color: rgba(212, 233, 255, 0.9);
}

body.has-helper-workspace .helper-hub-status-bar {
  background: rgba(108, 167, 240, 0.2);
}

body.has-helper-workspace .helper-group,
body.has-helper-workspace .helper-hub-kpi,
body.has-helper-workspace .helper-hub-card {
  border-color: rgba(129, 188, 255, 0.34);
  background: linear-gradient(180deg, rgba(26, 49, 75, 0.92), rgba(14, 30, 47, 0.93));
}

body.has-helper-workspace .helper-hub-kpi-label,
body.has-helper-workspace .helper-page-summary,
body.has-helper-workspace .helper-page-open {
  color: rgba(212, 233, 255, 0.9);
}

body.has-helper-workspace .helper-page-item {
  border-color: rgba(128, 188, 255, 0.32);
  background: rgba(23, 45, 70, 0.74);
}

body.has-helper-workspace .helper-page-item:hover {
  border-color: rgba(160, 209, 255, 0.62);
  background: rgba(28, 57, 89, 0.84);
}

body.has-helper-workspace .helper-page-state {
  border-color: rgba(141, 197, 255, 0.38);
  background: rgba(108, 167, 240, 0.18);
  color: #eaf4ff;
}

body.has-helper-workspace .helper-page-metric {
  border-color: rgba(141, 197, 255, 0.34);
  background: rgba(108, 167, 240, 0.14);
}

body.has-helper-workspace .helper-menu-card {
  border-color: rgba(131, 191, 255, 0.38);
  background: linear-gradient(160deg, rgba(106, 172, 247, 0.14), rgba(18, 35, 55, 0.96));
}

body.has-helper-workspace .helper-menu-card::before {
  background: linear-gradient(90deg, rgba(164, 211, 255, 0.9), transparent);
}

body.has-helper-workspace .helper-menu-card:hover {
  border-color: rgba(168, 214, 255, 0.72);
}

body.has-helper-workspace .helper-alert-list li {
  border-color: rgba(146, 198, 255, 0.32);
  background: rgba(24, 43, 67, 0.62);
}

/* Bot Admin workspace refresh */
.bot-admin-page .section {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(19, 27, 40, 0.95), rgba(13, 20, 32, 0.96));
}

.bot-admin-page .section-head h2 {
  letter-spacing: 0.02em;
}

.bot-admin-page .section-sub {
  color: #a9b9d4;
}

.bot-admin-page .stat-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(25, 35, 53, 0.9), rgba(17, 25, 39, 0.92));
}

.bot-admin-hero-actions {
  margin-top: 12px;
}

.bot-admin-hero-actions .button {
  min-width: 118px;
}

.bot-admin-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  position: sticky;
  top: 10px;
  z-index: 3;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 30, 0.84);
  backdrop-filter: blur(8px);
}

.bot-admin-topnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.bot-admin-topnav a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 61, 0.75);
  background: linear-gradient(135deg, rgba(255, 153, 61, 0.22), rgba(255, 119, 34, 0.12));
}

.bot-admin-page .table-scroll {
  max-width: 100%;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bot-admin-table-scroll {
  max-height: 360px;
}

.bot-admin-log-scroll {
  max-height: 300px;
}

.bot-admin-support-scroll {
  max-height: 340px;
}

.bot-admin-support-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.25fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: start;
}

.bot-admin-support-grid .stat-card {
  min-height: 100%;
}

.bot-admin-support-quickpick {
  margin-bottom: 8px;
}

.bot-admin-guild-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.bot-admin-guild-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #e8edf8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.bot-admin-guild-chip.is-on {
  border-color: rgba(91, 214, 120, 0.62);
  background: rgba(34, 142, 63, 0.24);
}

.bot-admin-guild-chip.is-off {
  border-color: rgba(255, 108, 108, 0.5);
  background: rgba(162, 39, 39, 0.2);
}

.bot-admin-guild-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 61, 0.74);
  background: rgba(255, 153, 61, 0.18);
}

@media (max-width: 1100px) {
  .bot-admin-support-grid {
    grid-template-columns: 1fr;
  }

  .bot-admin-topnav {
    position: static;
  }
}

body.has-helper-workspace .helper-workspace .auto-row,
body.has-helper-workspace .helper-workspace .trigger-row,
body.has-helper-workspace .helper-workspace .role-row,
body.has-helper-workspace .helper-workspace .counter-row,
body.has-helper-workspace .helper-workspace .delay-row,
body.has-helper-workspace .helper-workspace .ticket-button-row {
  border-color: rgba(131, 191, 255, 0.32);
  background: rgba(20, 39, 60, 0.82);
}

body.has-helper-workspace .helper-module-chip {
  border-color: rgba(132, 191, 255, 0.34);
  background: rgba(101, 162, 236, 0.18);
}

/* /guilds?bot=main only */
body.main-bot-guilds {
  background:
    radial-gradient(920px 520px at 10% -14%, rgba(88, 163, 255, 0.24), transparent 62%),
    radial-gradient(860px 520px at 92% -10%, rgba(132, 195, 255, 0.18), transparent 62%),
    linear-gradient(180deg, #0f1f33 0%, #0b1727 56%, #09131f 100%);
}

body.main-bot-guilds .topbar {
  background: rgba(14, 31, 50, 0.96);
  border-bottom-color: rgba(114, 176, 255, 0.44);
}

body.main-bot-guilds .topbar nav .link,
body.main-bot-guilds .topbar nav .link-button {
  border-color: rgba(122, 182, 255, 0.38);
  background: linear-gradient(180deg, rgba(29, 58, 88, 0.9), rgba(17, 36, 56, 0.92));
  color: #e9f4ff;
}

body.main-bot-guilds .guilds-page.main-bot-theme {
  background: linear-gradient(180deg, rgba(25, 48, 74, 0.95), rgba(12, 27, 45, 0.96));
  border-color: rgba(117, 176, 255, 0.52);
}

body.main-bot-guilds .guilds-page.main-bot-theme .section,
body.main-bot-guilds .guilds-page.main-bot-theme .guild-hub-panel {
  background: linear-gradient(180deg, rgba(30, 58, 88, 0.92), rgba(15, 33, 53, 0.95));
  border-color: rgba(124, 182, 255, 0.5);
}

body.main-bot-guilds .guilds-page.main-bot-theme .stat-card {
  background: linear-gradient(160deg, rgba(34, 66, 99, 0.9), rgba(16, 35, 55, 0.95));
  border-color: rgba(126, 183, 255, 0.52);
}

body.main-bot-guilds .guilds-page.main-bot-theme .guild-card,
body.main-bot-guilds .guilds-page.main-bot-theme .guild-link {
  background: rgba(28, 54, 81, 0.68);
  border-color: rgba(126, 183, 255, 0.4);
}

body.main-bot-guilds .guilds-page.main-bot-theme .tag {
  background: rgba(93, 151, 225, 0.2);
  border-color: rgba(146, 197, 255, 0.42);
  color: #eaf4ff;
}

body.main-bot-guilds .guilds-page.main-bot-theme .muted,
body.main-bot-guilds .guilds-page.main-bot-theme .section-sub {
  color: #d8eaff;
}

/* Homepage v3 */
body:has(.landing-page-v3) {
  background:
    radial-gradient(1200px 520px at 8% -12%, rgba(255, 173, 96, 0.26), transparent 58%),
    radial-gradient(980px 460px at 92% -14%, rgba(230, 84, 84, 0.24), transparent 60%),
    radial-gradient(980px 560px at 48% 116%, rgba(86, 129, 230, 0.2), transparent 62%),
    linear-gradient(180deg, #110905 0%, #0d0806 46%, #0b090f 100%);
}

.landing-page-v3 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2px 0 4px;
  font-family: Manrope, "Segoe UI", sans-serif;
}

.landing-v3-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 171, 90, 0.44);
  border-radius: 24px;
  background:
    radial-gradient(700px 260px at 10% -22%, rgba(255, 186, 123, 0.22), transparent),
    linear-gradient(165deg, rgba(45, 25, 12, 0.9), rgba(23, 14, 10, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 214, 170, 0.12);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.landing-v3-shell::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -18%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 86, 86, 0.24), transparent 70%);
  pointer-events: none;
}

.landing-v3-shell::after {
  content: "";
  position: absolute;
  inset: auto -16% -48% auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 130, 246, 0.2), transparent 72%);
  pointer-events: none;
}

.landing-v3-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.landing-v3-eyebrow {
  margin: 0;
  color: #ffdcb8;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.landing-v3-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.landing-v3-nav-link {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255, 185, 120, 0.54);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(58, 31, 12, 0.88), rgba(34, 18, 8, 0.9));
  color: #fff4e5;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.84rem;
  transition: transform 140ms ease, border-color 170ms ease, box-shadow 170ms ease, filter 170ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 227, 190, 0.2), 0 8px 16px rgba(0, 0, 0, 0.22);
}

.landing-v3-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.17), transparent 42%);
  pointer-events: none;
}

.landing-v3-nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 232, 202, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 236, 210, 0.24), 0 12px 26px rgba(0, 0, 0, 0.24);
  filter: saturate(1.08);
}

.landing-v3-nav-link:nth-child(1) {
  border-color: rgba(235, 111, 111, 0.76);
  background: linear-gradient(180deg, rgba(112, 36, 36, 0.9), rgba(68, 20, 20, 0.92));
}

.landing-v3-nav-link:nth-child(2) {
  border-color: rgba(103, 160, 255, 0.78);
  background: linear-gradient(180deg, rgba(36, 58, 110, 0.9), rgba(19, 33, 72, 0.92));
}

.landing-v3-nav-link:nth-child(3) {
  border-color: rgba(97, 203, 146, 0.76);
  background: linear-gradient(180deg, rgba(30, 86, 62, 0.9), rgba(17, 53, 39, 0.92));
}

.landing-v3-nav-link:nth-child(4) {
  border-color: rgba(255, 192, 112, 0.78);
  background: linear-gradient(180deg, rgba(104, 67, 28, 0.9), rgba(65, 40, 15, 0.92));
}

.landing-v3-nav-link:nth-child(5) {
  border-color: rgba(255, 157, 95, 0.78);
  background: linear-gradient(180deg, rgba(115, 56, 22, 0.9), rgba(72, 34, 13, 0.92));
}

.landing-v3-nav-link:nth-child(6) {
  border-color: rgba(98, 201, 226, 0.78);
  background: linear-gradient(180deg, rgba(29, 80, 96, 0.9), rgba(16, 49, 60, 0.92));
}

.landing-v3-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.landing-v3-intro h1 {
  margin: 0;
  color: #fff0dd;
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.landing-v3-sub {
  margin: 8px 0 0;
  color: #ffd9b1;
  font-size: 0.96rem;
  line-height: 1.52;
  max-width: 72ch;
}

.landing-v3-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.landing-v3-metric {
  border: 1px solid rgba(255, 182, 114, 0.36);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(61, 33, 15, 0.7), rgba(35, 19, 10, 0.8));
  padding: 10px 10px;
  display: grid;
  gap: 4px;
}

.landing-v3-metric span {
  color: #ffcd97;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.landing-v3-metric strong {
  color: #ffe9cc;
  font-size: 1.12rem;
  line-height: 1.05;
}

.landing-v3-auth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-v3-auth-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 178, 107, 0.42);
  background: linear-gradient(180deg, rgba(52, 28, 13, 0.88), rgba(30, 17, 9, 0.92));
  padding: 11px;
  text-decoration: none;
  display: grid;
  gap: 9px;
  color: #ffe8cd;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  transition: transform 150ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.landing-v3-auth-card:hover {
  transform: translateY(-2px);
}

.landing-v3-auth-card.is-killfeed {
  border-color: rgba(233, 99, 99, 0.86);
  background: linear-gradient(180deg, rgba(82, 28, 28, 0.9), rgba(42, 14, 14, 0.93));
}

.landing-v3-auth-card.is-helper {
  border-color: rgba(111, 157, 255, 0.86);
  background: linear-gradient(180deg, rgba(25, 42, 92, 0.9), rgba(14, 23, 52, 0.93));
}

.landing-v3-auth-card.is-tools {
  border-color: rgba(132, 255, 158, 0.88);
  background: linear-gradient(180deg, rgba(34, 144, 71, 0.94), rgba(16, 94, 43, 0.96));
}

.landing-v3-auth-card.is-killfeed:hover {
  border-color: rgba(255, 177, 177, 0.96);
  box-shadow: 0 16px 36px rgba(208, 66, 66, 0.3);
}

.landing-v3-auth-card.is-helper:hover {
  border-color: rgba(184, 210, 255, 0.96);
  box-shadow: 0 16px 36px rgba(80, 133, 255, 0.3);
}

.landing-v3-auth-card.is-tools:hover {
  border-color: rgba(203, 255, 214, 0.96);
  box-shadow: 0 16px 36px rgba(57, 186, 101, 0.34);
}

.landing-v3-auth-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.landing-v3-auth-logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255, 212, 167, 0.6);
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.26);
}

.landing-v3-auth-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff1de;
}

.landing-v3-auth-sub {
  margin: 3px 0 0;
  color: #ffd8b1;
  font-size: 0.84rem;
  line-height: 1.35;
}

.landing-v3-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.landing-v3-chip-row .chip {
  border-color: rgba(255, 197, 140, 0.58);
  background: rgba(255, 150, 51, 0.2);
  color: #ffebd4;
  font-size: 0.71rem;
}

.landing-v3-auth-card.is-killfeed .chip {
  border-color: rgba(255, 175, 175, 0.62);
  background: rgba(216, 80, 80, 0.24);
}

.landing-v3-auth-card.is-helper .chip {
  border-color: rgba(177, 203, 255, 0.62);
  background: rgba(68, 122, 236, 0.28);
}

.landing-v3-auth-card.is-tools .chip {
  border-color: rgba(200, 255, 212, 0.7);
  background: rgba(66, 196, 106, 0.3);
  color: #eefff3;
}

.landing-v3-auth-cta {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 214, 166, 0.88);
  background: linear-gradient(180deg, rgba(255, 177, 83, 0.97), rgba(237, 132, 31, 0.97));
  color: #321708;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.86rem;
}

.landing-v3-auth-card.is-killfeed .landing-v3-auth-cta {
  background: linear-gradient(180deg, rgba(234, 92, 92, 0.98), rgba(194, 56, 56, 0.98));
  border-color: rgba(255, 178, 178, 0.92);
  color: #fff3f3;
}

.landing-v3-auth-card.is-helper .landing-v3-auth-cta {
  background: linear-gradient(180deg, rgba(111, 159, 255, 0.98), rgba(61, 112, 224, 0.98));
  border-color: rgba(184, 211, 255, 0.92);
  color: #f1f7ff;
}

.landing-v3-auth-card.is-tools .landing-v3-auth-cta {
  background: linear-gradient(180deg, rgba(127, 255, 150, 0.98), rgba(48, 197, 87, 0.98));
  border-color: rgba(209, 255, 219, 0.95);
  color: #093318;
}

.landing-v3-seo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-v3-seo-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 178, 114, 0.44);
  background: linear-gradient(168deg, rgba(57, 31, 13, 0.88), rgba(30, 17, 8, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 220, 186, 0.1), 0 10px 24px rgba(0, 0, 0, 0.22);
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 146px;
  position: relative;
  overflow: hidden;
}

.landing-v3-seo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 207, 154, 0.82), rgba(255, 155, 61, 0.22));
}

.landing-v3-seo-card h2 {
  margin: 0;
  font-size: 1rem;
  color: #fff0dc;
}

.landing-v3-seo-card p {
  margin: 0;
  color: #ffd8ae;
  font-size: 0.84rem;
  line-height: 1.42;
}

.landing-v3-seo-card .button {
  width: fit-content;
  margin-top: auto;
}

.landing-v3-seo-card.tone-killfeed {
  border-color: rgba(236, 111, 111, 0.75);
  background: linear-gradient(168deg, rgba(78, 28, 28, 0.9), rgba(39, 14, 14, 0.93));
}

.landing-v3-seo-card.tone-tools {
  border-color: rgba(255, 188, 96, 0.75);
  background: linear-gradient(168deg, rgba(88, 49, 18, 0.9), rgba(45, 24, 9, 0.93));
}

.landing-v3-seo-card.tone-discord {
  border-color: rgba(121, 167, 255, 0.76);
  background: linear-gradient(168deg, rgba(30, 45, 90, 0.9), rgba(16, 24, 51, 0.93));
}

.landing-v3-seo-card.tone-guides {
  border-color: rgba(120, 235, 152, 0.76);
  background: linear-gradient(168deg, rgba(26, 86, 51, 0.9), rgba(12, 48, 29, 0.93));
}

.landing-v3-support {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 164, 72, 0.58);
  border-radius: 16px;
  background:
    radial-gradient(440px 180px at 6% -24%, rgba(255, 190, 127, 0.24), transparent),
    linear-gradient(160deg, rgba(73, 39, 14, 0.76), rgba(39, 20, 8, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 222, 184, 0.14), 0 12px 30px rgba(0, 0, 0, 0.24);
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-v3-support-copy {
  min-width: 0;
}

.landing-v3-support-title {
  color: #fff0db;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.landing-v3-support-sub {
  margin: 2px 0 0;
  color: #ffd9b0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.landing-v3-legal-note {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(119, 152, 209, 0.44);
  border-radius: 14px;
  background: linear-gradient(162deg, rgba(18, 30, 56, 0.78), rgba(11, 19, 38, 0.85));
  box-shadow: inset 0 1px 0 rgba(186, 214, 255, 0.09);
  padding: 10px 12px;
}

.landing-v3-legal-note p {
  margin: 0;
  color: #b9c8e5;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 760px) {
  .landing-v3-legal-note p {
    font-size: 0.74rem;
  }
}

@media (max-width: 1080px) {
  .landing-v3-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .landing-v3-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-v3-auth-grid {
    grid-template-columns: 1fr;
  }
  .landing-v3-seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-page-v3 {
    padding-top: 0;
  }
  .landing-v3-shell {
    border-radius: 16px;
    padding: 10px;
    gap: 10px;
  }
  .landing-v3-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .landing-v3-nav-link {
    min-height: 36px;
    font-size: 0.78rem;
  }
  .landing-v3-intro h1 {
    font-size: 1.52rem;
  }
  .landing-v3-sub {
    font-size: 0.9rem;
  }
  .landing-v3-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .landing-v3-metric {
    padding: 8px 8px;
  }
  .landing-v3-metric strong {
    font-size: 1rem;
  }
  .landing-v3-auth-card {
    padding: 9px;
  }
  .landing-v3-auth-logo {
    width: 48px;
    height: 48px;
  }
  .landing-v3-support {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .landing-v3-support .button {
    width: 100%;
    justify-content: center;
  }
}

/* Public bots page (v2) */
.bots-v2-wrap {
  max-width: 1180px;
}

.bots-v2-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 171, 94, 0.46);
  background:
    radial-gradient(760px 260px at 8% -28%, rgba(255, 198, 138, 0.18), transparent),
    radial-gradient(820px 320px at 110% 120%, rgba(255, 130, 54, 0.13), transparent),
    linear-gradient(168deg, rgba(56, 31, 14, 0.9), rgba(29, 16, 8, 0.92));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 224, 189, 0.12);
  padding: 22px;
}

.bots-v2-top-actions {
  display: flex;
  justify-content: flex-start;
}

.bots-v2-hero {
  border: 1px solid rgba(255, 183, 118, 0.38);
  border-radius: 16px;
  background:
    radial-gradient(620px 220px at 10% -35%, rgba(255, 199, 140, 0.2), transparent),
    linear-gradient(170deg, rgba(68, 37, 17, 0.74), rgba(34, 18, 9, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 222, 184, 0.12), 0 12px 24px rgba(0, 0, 0, 0.22);
  padding: 16px 16px 15px;
}

.bots-v2-eyebrow {
  margin: 0 0 4px;
  color: #ffd8ae;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
}

.bots-v2-hero h1 {
  margin: 0;
  font-size: clamp(1.56rem, 2.9vw, 2.2rem);
  color: #fff2e1;
}

.bots-v2-sub {
  margin: 8px 0 0;
  color: #ffd9b5;
  max-width: 72ch;
}

.bots-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bots-v2-tile {
  border: 1px solid rgba(255, 179, 112, 0.38);
  border-radius: 16px;
  background:
    radial-gradient(420px 140px at 15% -30%, rgba(255, 194, 132, 0.14), transparent),
    linear-gradient(170deg, rgba(61, 34, 16, 0.78), rgba(31, 17, 9, 0.88));
  padding: 14px;
  display: grid;
  gap: 12px;
  min-height: 260px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.bots-v2-tile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.bots-v2-tile-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  border: 1px solid rgba(255, 219, 183, 0.62);
  object-fit: cover;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.bots-v2-tile h2 {
  margin: 0;
  color: #fff1dd;
  font-size: 1.06rem;
}

.bots-v2-tile-head p {
  margin: 3px 0 0;
  color: #fcd7b2;
  font-size: 0.9rem;
  line-height: 1.35;
}

.bots-v2-tile ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: #f4ddc4;
  font-size: 0.88rem;
}

.bots-v2-actions {
  margin-top: auto;
}

.bots-v2-actions .button {
  width: 100%;
  justify-content: center;
}

.bots-v2-tile.is-killfeed {
  border-color: rgba(255, 132, 132, 0.54);
  background:
    radial-gradient(420px 160px at 12% -35%, rgba(255, 143, 143, 0.2), transparent),
    linear-gradient(168deg, rgba(79, 29, 29, 0.78), rgba(33, 14, 14, 0.9));
}

.bots-v2-tile.is-killfeed .bots-v2-tile-logo {
  border-color: rgba(255, 184, 184, 0.8);
}

.bots-v2-tile.is-helper {
  border-color: rgba(146, 178, 255, 0.5);
  background:
    radial-gradient(420px 160px at 12% -35%, rgba(150, 190, 255, 0.2), transparent),
    linear-gradient(168deg, rgba(27, 42, 81, 0.78), rgba(14, 23, 44, 0.9));
}

.bots-v2-tile.is-helper .bots-v2-tile-logo {
  border-color: rgba(183, 211, 255, 0.82);
}

.bots-v2-tile.is-ark {
  border-color: rgba(184, 152, 255, 0.5);
  background:
    radial-gradient(420px 160px at 12% -35%, rgba(195, 162, 255, 0.2), transparent),
    linear-gradient(168deg, rgba(52, 31, 82, 0.78), rgba(23, 16, 41, 0.9));
}

.bots-v2-tile.is-ark .bots-v2-tile-logo {
  border-color: rgba(212, 191, 255, 0.82);
}

.bots-v2-tile.is-utility {
  border-color: rgba(255, 196, 122, 0.54);
  background:
    radial-gradient(420px 160px at 12% -35%, rgba(255, 206, 140, 0.22), transparent),
    linear-gradient(168deg, rgba(84, 56, 25, 0.8), rgba(39, 25, 10, 0.9));
}

.bots-v2-tile.is-utility .bots-v2-tile-logo {
  border-color: rgba(255, 224, 184, 0.82);
}

@media (max-width: 980px) {
  .bots-v2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .bots-v2-card {
    padding: 12px;
    gap: 12px;
  }
  .bots-v2-hero {
    padding: 12px;
  }
  .bots-v2-sub {
    font-size: 0.9rem;
  }
  .bots-v2-tile {
    min-height: 0;
    padding: 12px;
  }
  .bots-v2-tile-logo {
    width: 52px;
    height: 52px;
  }
}

/* Public policies page */
.policy-v1-wrap {
  max-width: 1140px;
}

.policy-v1-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 174, 100, 0.44);
  background:
    radial-gradient(720px 260px at 8% -30%, rgba(255, 197, 138, 0.16), transparent),
    linear-gradient(168deg, rgba(56, 31, 14, 0.9), rgba(29, 16, 8, 0.92));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  padding: 20px;
}

.policy-v1-hero {
  border: 1px solid rgba(255, 186, 124, 0.38);
  border-radius: 16px;
  background:
    radial-gradient(620px 220px at 9% -36%, rgba(255, 205, 149, 0.2), transparent),
    linear-gradient(168deg, rgba(73, 39, 18, 0.74), rgba(35, 19, 10, 0.84));
  padding: 14px;
}

.policy-v1-eyebrow {
  margin: 0 0 4px;
  color: #ffd8ae;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
}

.policy-v1-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  color: #fff2e1;
}

.policy-v1-sub {
  margin: 6px 0 0;
  color: #ffd9b5;
}

.policy-v1-private-note {
  margin-top: 10px;
  border: 1px solid rgba(255, 197, 134, 0.45);
  border-radius: 10px;
  background: rgba(255, 162, 67, 0.14);
  color: #ffe7cc;
  padding: 8px 10px;
  font-size: 0.87rem;
}

.policy-v1-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.policy-v1-tile {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 183, 118, 0.34);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(63, 35, 16, 0.74), rgba(30, 17, 9, 0.88));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.policy-v1-banner {
  position: relative;
  min-height: 94px;
  border-radius: 12px;
  border: 1px solid rgba(255, 206, 165, 0.4);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 235, 208, 0.14);
  background:
    radial-gradient(220px 90px at 12% -20%, rgba(255, 221, 183, 0.28), transparent),
    linear-gradient(160deg, rgba(95, 60, 28, 0.76), rgba(50, 28, 14, 0.84));
}

.policy-v1-banner::before {
  content: "";
  position: absolute;
  inset: auto -30px -36px auto;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(255, 218, 181, 0.12);
  filter: blur(0.5px);
}

.policy-v1-banner-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(255, 222, 185, 0.64);
  background: rgba(0, 0, 0, 0.24);
  object-fit: cover;
  padding: 2px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.policy-v1-banner-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 223, 186, 0.68);
  background: rgba(18, 9, 4, 0.42);
  color: #ffe9d1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 1;
}

.policy-v1-banner.is-privacy {
  background:
    radial-gradient(220px 90px at 10% -20%, rgba(143, 212, 255, 0.28), transparent),
    linear-gradient(160deg, rgba(31, 79, 112, 0.74), rgba(16, 45, 71, 0.86));
  border-color: rgba(154, 217, 255, 0.5);
}

.policy-v1-banner.is-terms {
  background:
    radial-gradient(220px 90px at 10% -20%, rgba(186, 177, 255, 0.27), transparent),
    linear-gradient(160deg, rgba(63, 44, 114, 0.76), rgba(33, 25, 76, 0.88));
  border-color: rgba(197, 185, 255, 0.5);
}

.policy-v1-banner.is-cookies {
  background:
    radial-gradient(220px 90px at 10% -20%, rgba(255, 216, 164, 0.3), transparent),
    linear-gradient(160deg, rgba(115, 73, 28, 0.76), rgba(66, 41, 17, 0.9));
  border-color: rgba(255, 214, 154, 0.52);
}

.policy-v1-banner.is-subscription {
  background:
    radial-gradient(220px 90px at 10% -20%, rgba(140, 255, 209, 0.28), transparent),
    linear-gradient(160deg, rgba(22, 96, 74, 0.76), rgba(14, 54, 43, 0.9));
  border-color: rgba(145, 237, 201, 0.48);
}

.policy-v1-banner.is-refund {
  background:
    radial-gradient(220px 90px at 10% -20%, rgba(255, 190, 141, 0.3), transparent),
    linear-gradient(160deg, rgba(128, 62, 27, 0.76), rgba(72, 36, 17, 0.9));
  border-color: rgba(255, 194, 140, 0.5);
}

.policy-v1-banner.is-acceptable-use {
  background:
    radial-gradient(220px 90px at 10% -20%, rgba(255, 151, 151, 0.28), transparent),
    linear-gradient(160deg, rgba(122, 37, 37, 0.76), rgba(71, 21, 21, 0.9));
  border-color: rgba(255, 167, 167, 0.5);
}

.policy-v1-title {
  color: #fff1df;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.25;
}

.policy-v1-text {
  margin: 0;
  color: #f6d9bb;
  font-size: 0.86rem;
  line-height: 1.42;
}

.policy-v1-download {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.policy-v1-download.is-disabled {
  border-color: rgba(255, 193, 124, 0.32);
  background: linear-gradient(180deg, rgba(93, 55, 26, 0.66), rgba(50, 30, 16, 0.78));
  color: rgba(255, 229, 198, 0.72);
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: auto;
}

.policy-v1-download.is-disabled:hover {
  transform: none;
  border-color: rgba(255, 193, 124, 0.32);
  box-shadow: none;
}

@media (max-width: 1080px) {
  .policy-v1-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .policy-v1-card {
    padding: 12px;
    gap: 10px;
  }
  .policy-v1-hero {
    padding: 12px;
  }
  .policy-v1-grid {
    grid-template-columns: 1fr;
  }
}

/* Public statistics page */
.stats-v2-wrap {
  max-width: 1220px;
}

.stats-v2-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(138, 206, 255, 0.5);
  background:
    radial-gradient(680px 260px at 8% -24%, rgba(68, 190, 255, 0.28), transparent),
    radial-gradient(520px 260px at 95% 8%, rgba(255, 166, 62, 0.22), transparent),
    radial-gradient(520px 260px at 35% 108%, rgba(255, 91, 127, 0.16), transparent),
    linear-gradient(168deg, rgba(22, 38, 72, 0.9), rgba(12, 22, 46, 0.94));
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.42);
  padding: 20px;
}

.stats-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 12px;
  border: 1px solid rgba(162, 220, 255, 0.46);
  border-radius: 16px;
  background:
    radial-gradient(580px 240px at 10% -30%, rgba(106, 204, 255, 0.3), transparent),
    radial-gradient(460px 220px at 92% 14%, rgba(255, 147, 68, 0.2), transparent),
    linear-gradient(162deg, rgba(24, 49, 91, 0.88), rgba(14, 31, 62, 0.92));
  padding: 14px;
}

.stats-v2-hero-copy {
  display: grid;
  gap: 9px;
}

.stats-v2-eyebrow {
  margin: 0;
  color: #bedfff;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
}

.stats-v2-hero h1 {
  margin: 0;
  color: #f1f7ff;
  font-size: clamp(1.62rem, 2.95vw, 2.3rem);
}

.stats-v2-sub {
  margin: 0;
  color: #d7eaff;
  max-width: 74ch;
  line-height: 1.46;
}

.stats-v2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stats-v2-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(167, 206, 255, 0.66);
  background: rgba(70, 163, 255, 0.28);
  color: #ecf5ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.stats-v2-badge:nth-child(2) {
  border-color: rgba(255, 196, 124, 0.7);
  background: rgba(255, 146, 52, 0.3);
}

.stats-v2-badge:nth-child(3) {
  border-color: rgba(138, 255, 206, 0.66);
  background: rgba(42, 189, 139, 0.3);
}

.stats-v2-hero-aside {
  display: grid;
  gap: 8px;
}

.stats-v2-hero-mini {
  border: 1px solid rgba(174, 219, 255, 0.48);
  border-radius: 11px;
  background: linear-gradient(165deg, rgba(22, 41, 73, 0.78), rgba(13, 25, 48, 0.84));
  padding: 9px 10px;
  display: grid;
  gap: 3px;
}

.stats-v2-hero-mini:nth-child(2) {
  border-color: rgba(255, 191, 129, 0.5);
  background: linear-gradient(165deg, rgba(78, 45, 23, 0.74), rgba(46, 27, 16, 0.82));
}

.stats-v2-hero-mini:nth-child(3) {
  border-color: rgba(143, 255, 217, 0.44);
  background: linear-gradient(165deg, rgba(17, 68, 58, 0.74), rgba(12, 41, 38, 0.82));
}

.stats-v2-hero-mini span {
  color: #bddfff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stats-v2-hero-mini strong {
  color: #f0f7ff;
  font-size: 1.06rem;
  line-height: 1.1;
}

.stats-v2-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.stats-v2-kpi {
  border: 1px solid rgba(164, 213, 255, 0.44);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(32, 61, 109, 0.8), rgba(18, 34, 64, 0.88));
  padding: 10px 11px;
  display: grid;
  gap: 4px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.stats-v2-kpi:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  border-color: rgba(208, 234, 255, 0.64);
}

.stats-v2-kpi:nth-child(2) {
  border-color: rgba(255, 186, 121, 0.44);
  background: linear-gradient(180deg, rgba(108, 58, 24, 0.78), rgba(58, 31, 14, 0.86));
}

.stats-v2-kpi:nth-child(3) {
  border-color: rgba(141, 255, 216, 0.42);
  background: linear-gradient(180deg, rgba(22, 88, 72, 0.78), rgba(13, 49, 42, 0.86));
}

.stats-v2-kpi:nth-child(4) {
  border-color: rgba(255, 158, 179, 0.42);
  background: linear-gradient(180deg, rgba(109, 30, 60, 0.78), rgba(63, 19, 37, 0.88));
}

.stats-v2-kpi span {
  color: #bddfff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stats-v2-kpi strong {
  color: #f0f7ff;
  font-size: 1.1rem;
  line-height: 1.08;
  word-break: break-word;
}

.stats-v2-overview {
  border: 1px solid rgba(163, 216, 255, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(520px 220px at 6% -30%, rgba(79, 177, 255, 0.18), transparent),
    linear-gradient(170deg, rgba(26, 48, 84, 0.8), rgba(15, 29, 55, 0.9));
  padding: 12px;
}

.stats-v2-overview-head h2 {
  margin: 0;
  color: #eff7ff;
  font-size: 1rem;
}

.stats-v2-overview-head p {
  margin: 5px 0 0;
  color: #cfe6ff;
  font-size: 0.84rem;
}

.stats-v2-overview-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.stats-v2-overview-tile {
  border: 1px solid rgba(164, 212, 255, 0.4);
  border-radius: 11px;
  background: linear-gradient(170deg, rgba(27, 47, 80, 0.78), rgba(17, 31, 55, 0.86));
  padding: 9px 10px;
  display: grid;
  gap: 3px;
}

.stats-v2-overview-tile:nth-child(2n) {
  border-color: rgba(255, 188, 127, 0.4);
  background: linear-gradient(170deg, rgba(88, 51, 27, 0.78), rgba(45, 27, 16, 0.86));
}

.stats-v2-overview-tile.is-wide {
  grid-column: span 2;
}

.stats-v2-overview-tile span {
  color: #b7dcff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stats-v2-overview-tile strong {
  color: #f1f8ff;
  font-size: 0.96rem;
  line-height: 1.25;
}

.stats-v2-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: 11px;
}

.stats-v2-board-card,
.stats-v2-side-card {
  border: 1px solid rgba(165, 214, 255, 0.42);
  background:
    radial-gradient(540px 220px at 4% -28%, rgba(84, 182, 255, 0.16), transparent),
    linear-gradient(180deg, rgba(25, 47, 83, 0.88), rgba(14, 29, 56, 0.92));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  padding: 12px;
}

.stats-v2-side-card {
  border-color: rgba(255, 186, 121, 0.38);
  background:
    radial-gradient(480px 210px at 92% -18%, rgba(255, 153, 69, 0.16), transparent),
    linear-gradient(180deg, rgba(44, 36, 64, 0.88), rgba(23, 20, 38, 0.92));
}

.stats-v2-table-scroll {
  margin-top: 4px;
  max-height: 430px;
  overflow: auto;
  border: 1px solid rgba(164, 212, 255, 0.42);
  border-radius: 12px;
  background: rgba(15, 27, 49, 0.74);
}

.stats-v2-leader-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.stats-v2-leader-table th,
.stats-v2-leader-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(147, 196, 255, 0.24);
  text-align: left;
  font-size: 0.85rem;
  color: #e8f4ff;
}

.stats-v2-leader-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(58, 105, 166, 0.98), rgba(41, 76, 123, 0.98));
  color: #f2f8ff;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stats-v2-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(176, 219, 255, 0.62);
  background: linear-gradient(180deg, rgba(90, 164, 255, 0.3), rgba(57, 117, 189, 0.28));
  color: #edf6ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.stats-v2-player-cell {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-v2-leader-table tr.is-top-1 td {
  background: rgba(255, 187, 84, 0.28);
}

.stats-v2-leader-table tr.is-top-2 td {
  background: rgba(168, 224, 255, 0.2);
}

.stats-v2-leader-table tr.is-top-3 td {
  background: rgba(255, 142, 182, 0.2);
}

.stats-v2-leader-table tbody tr:hover td {
  background: rgba(95, 157, 235, 0.18);
}

.stats-v2-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.stats-v2-stat-tile {
  border: 1px solid rgba(164, 212, 255, 0.44);
  border-radius: 11px;
  background: linear-gradient(170deg, rgba(24, 46, 80, 0.78), rgba(15, 30, 54, 0.86));
  padding: 9px 10px;
  min-width: 0;
}

.stats-v2-stat-tile:nth-child(2n) {
  border-color: rgba(255, 189, 126, 0.44);
  background: linear-gradient(170deg, rgba(90, 50, 24, 0.78), rgba(45, 27, 16, 0.86));
}

.stats-v2-stat-tile .mini-label {
  display: block;
  color: #b7dcff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stats-v2-stat-tile .mini-value {
  display: block;
  margin-top: 4px;
  color: #eff7ff;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stats-v2-top-player {
  margin-top: 10px;
  border: 1px solid rgba(255, 190, 127, 0.42);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(102, 56, 26, 0.82), rgba(52, 30, 17, 0.9));
  padding: 10px;
}

.stats-v2-top-player-title {
  color: #c7e3ff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.stats-v2-top-player-name {
  margin-top: 5px;
  color: #f4f9ff;
  font-size: 1.02rem;
  font-weight: 800;
}

.stats-v2-top-player-meta {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stats-v2-top-player-meta span {
  border: 1px solid rgba(255, 203, 146, 0.46);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 151, 66, 0.2);
  color: #eaf4ff;
  font-size: 0.74rem;
  font-weight: 700;
}

.stats-v2-survival-block {
  margin-top: 10px;
  border: 1px solid rgba(145, 255, 212, 0.42);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(16, 78, 66, 0.84), rgba(9, 43, 38, 0.9));
  padding: 10px;
}

.stats-v2-survival-title {
  color: #d3e8ff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.stats-v2-survival-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.stats-v2-survival-tile {
  border: 1px solid rgba(144, 255, 216, 0.42);
  border-radius: 10px;
  background: linear-gradient(170deg, rgba(17, 70, 58, 0.82), rgba(10, 43, 37, 0.9));
  padding: 8px 9px;
  display: grid;
  gap: 3px;
}

.stats-v2-survival-tile:nth-child(2n) {
  border-color: rgba(157, 214, 255, 0.42);
  background: linear-gradient(170deg, rgba(22, 53, 85, 0.82), rgba(12, 30, 51, 0.9));
}

.stats-v2-survival-tile span {
  color: #bbddff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stats-v2-survival-tile strong {
  color: #f0f8ff;
  font-size: 0.95rem;
  font-weight: 800;
}

.stats-v2-survival-note {
  margin-top: 8px;
  color: #cbe4ff;
  font-size: 0.77rem;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .stats-v2-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-v2-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-v2-overview-tile.is-wide {
    grid-column: span 3;
  }

  .stats-v2-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .stats-v2-card {
    padding: 12px;
    gap: 10px;
  }

  .stats-v2-hero {
    grid-template-columns: 1fr;
    padding: 11px;
  }

  .stats-v2-kpi-grid,
  .stats-v2-overview-grid,
  .stats-v2-stat-grid,
  .stats-v2-survival-grid {
    grid-template-columns: 1fr;
  }

  .stats-v2-overview-tile.is-wide {
    grid-column: span 1;
  }

  .stats-v2-player-cell {
    max-width: 180px;
  }
}

/* Public about page */
.about-v2-wrap {
  max-width: 1140px;
}

.about-v2-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 177, 104, 0.44);
  background:
    radial-gradient(780px 300px at 8% -32%, rgba(255, 197, 138, 0.16), transparent),
    linear-gradient(168deg, rgba(55, 30, 14, 0.9), rgba(29, 16, 8, 0.92));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  padding: 20px;
}

.about-v2-hero {
  border: 1px solid rgba(255, 186, 124, 0.38);
  border-radius: 16px;
  background:
    radial-gradient(620px 230px at 9% -34%, rgba(255, 205, 149, 0.2), transparent),
    linear-gradient(168deg, rgba(72, 38, 17, 0.74), rgba(35, 19, 10, 0.84));
  padding: 16px;
}

.about-v2-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 14px;
  align-items: stretch;
}

.about-v2-hero-copy {
  display: grid;
  gap: 10px;
}

.about-v2-eyebrow {
  margin: 0 0 4px;
  color: #ffd8ae;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
}

.about-v2-hero h1 {
  margin: 0;
  color: #fff2e1;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}

.about-v2-sub {
  margin: 0;
  color: #ffd9b5;
  max-width: 76ch;
}

.about-v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-v2-hero-kpis {
  display: grid;
  gap: 8px;
}

.about-v2-kpi {
  border: 1px solid rgba(255, 198, 140, 0.45);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(68, 38, 18, 0.74), rgba(35, 19, 10, 0.84));
  padding: 10px;
}

.about-v2-kpi-title {
  color: #fff1df;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-v2-kpi-sub {
  margin-top: 4px;
  color: #ffd8b2;
  font-size: 0.84rem;
  line-height: 1.35;
}

.about-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-v2-panel {
  border: 1px solid rgba(255, 183, 118, 0.34);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(63, 35, 16, 0.74), rgba(30, 17, 9, 0.88));
  padding: 14px;
}

.about-v2-panel h2 {
  margin: 0 0 8px;
  color: #fff1df;
  font-size: 1rem;
}

.about-v2-panel ul {
  margin: 0;
  padding-left: 17px;
  display: grid;
  gap: 5px;
  color: #f4ddc4;
  font-size: 0.9rem;
}

.about-v2-flow {
  border: 1px solid rgba(255, 187, 126, 0.34);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(61, 34, 16, 0.74), rgba(30, 17, 9, 0.88));
  padding: 12px;
}

.about-v2-flow-head h2 {
  margin: 0;
  color: #fff1df;
  font-size: 1rem;
}

.about-v2-flow-head p {
  margin: 5px 0 0;
  color: #f6d9bb;
  font-size: 0.84rem;
}

.about-v2-flow-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-v2-flow-step {
  border: 1px solid rgba(255, 188, 128, 0.34);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(71, 40, 19, 0.72), rgba(35, 19, 10, 0.88));
  padding: 11px;
}

.about-v2-flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 206, 153, 0.55);
  background: rgba(255, 158, 66, 0.24);
  color: #ffe7cc;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-v2-flow-step h3 {
  margin: 9px 0 6px;
  color: #fff0dc;
  font-size: 0.95rem;
}

.about-v2-flow-step p {
  margin: 0;
  color: #f6d9bb;
  font-size: 0.84rem;
  line-height: 1.35;
}

.about-v2-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-v2-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 183, 118, 0.34);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(63, 35, 16, 0.74), rgba(30, 17, 9, 0.88));
  padding: 11px;
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-v2-product:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 212, 161, 0.76);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.about-v2-product img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 220, 182, 0.66);
  background: rgba(0, 0, 0, 0.22);
}

.about-v2-product h3 {
  margin: 0;
  color: #fff0dc;
  font-size: 0.97rem;
}

.about-v2-product p {
  margin: 3px 0 0;
  color: #f6d9bb;
  font-size: 0.82rem;
  line-height: 1.35;
}

.about-v2-product.is-killfeed {
  border-color: rgba(255, 135, 135, 0.48);
  background: linear-gradient(170deg, rgba(79, 30, 30, 0.76), rgba(34, 14, 14, 0.9));
}

.about-v2-product.is-helper {
  border-color: rgba(146, 178, 255, 0.46);
  background: linear-gradient(170deg, rgba(27, 43, 82, 0.76), rgba(14, 24, 46, 0.9));
}

.about-v2-product.is-tools {
  border-color: rgba(255, 196, 122, 0.52);
  background: linear-gradient(170deg, rgba(84, 56, 25, 0.8), rgba(39, 25, 10, 0.9));
}

.about-v2-showcase {
  border: 1px solid rgba(255, 186, 124, 0.34);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(59, 33, 15, 0.74), rgba(30, 17, 9, 0.88));
  padding: 13px;
}

.about-v2-showcase-head h2 {
  margin: 0;
  color: #fff1df;
  font-size: 1rem;
}

.about-v2-showcase-head p {
  margin: 5px 0 0;
  color: #f6d9bb;
  font-size: 0.84rem;
}

.about-v2-showcase-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-v2-person-tile {
  border: 1px solid rgba(255, 188, 128, 0.32);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(68, 38, 18, 0.84), rgba(33, 19, 10, 0.92));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  min-height: 248px;
}

.about-v2-person-tile.is-one {
  background:
    radial-gradient(320px 220px at 10% -18%, rgba(255, 215, 170, 0.42), transparent),
    linear-gradient(160deg, rgba(255, 153, 43, 0.92), rgba(227, 112, 12, 0.96));
}

.about-v2-person-tile.is-two {
  background:
    radial-gradient(320px 220px at 10% -18%, rgba(180, 219, 255, 0.44), transparent),
    linear-gradient(160deg, rgba(66, 156, 255, 0.92), rgba(25, 95, 226, 0.96));
}

.about-v2-person-tile.is-three {
  background:
    radial-gradient(320px 220px at 10% -18%, rgba(255, 176, 176, 0.44), transparent),
    linear-gradient(160deg, rgba(255, 82, 82, 0.92), rgba(216, 28, 36, 0.96));
}

.about-v2-person-body {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 16px 12px;
}

.about-v2-person-avatar {
  width: 132px;
  height: 132px;
  border-radius: 22px;
  border: 1px solid rgba(255, 218, 178, 0.66);
  background: rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.about-v2-person-avatar.is-contain {
  object-fit: contain;
  padding: 8px;
  background: rgba(0, 0, 0, 0.38);
}

.about-v2-person-name {
  margin: 0;
  color: #fff0dc;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-v2-person-role {
  margin: 0;
  color: rgba(255, 244, 230, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.about-v2-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 164, 72, 0.54);
  border-radius: 14px;
  background:
    radial-gradient(420px 170px at 8% -24%, rgba(255, 190, 127, 0.2), transparent),
    linear-gradient(160deg, rgba(73, 39, 14, 0.72), rgba(39, 20, 8, 0.82));
  padding: 13px;
}

.about-v2-support-title {
  color: #fff0db;
  font-size: 0.95rem;
  font-weight: 800;
}

.about-v2-support-sub {
  margin: 3px 0 0;
  color: #ffd9b0;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .about-v2-hero-shell {
    grid-template-columns: 1fr;
  }
  .about-v2-grid {
    grid-template-columns: 1fr;
  }
  .about-v2-flow-grid {
    grid-template-columns: 1fr;
  }
  .about-v2-products {
    grid-template-columns: 1fr;
  }
  .about-v2-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-v2-card {
    padding: 12px;
    gap: 10px;
  }
  .about-v2-hero {
    padding: 12px;
  }
  .about-v2-support {
    flex-direction: column;
    align-items: stretch;
  }
  .about-v2-support .button {
    width: 100%;
    justify-content: center;
  }
}

.mapgroup-page {
  display: grid;
  gap: 1rem;
}

.mapgroup-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid rgba(255, 186, 124, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(540px 220px at 0% -28%, rgba(255, 170, 72, 0.22), transparent),
    linear-gradient(165deg, rgba(58, 29, 15, 0.78), rgba(30, 16, 10, 0.9));
  padding: 1rem;
}

.mapgroup-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #ffc27e;
  font-weight: 700;
}

.mapgroup-hero h1 {
  margin: 0.25rem 0 0;
  color: #ffe9cd;
}

.mapgroup-hero-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.mapgroup-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mapgroup-panel {
  border: 1px solid rgba(255, 176, 112, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(360px 170px at 12% -24%, rgba(255, 183, 99, 0.14), transparent),
    linear-gradient(165deg, rgba(44, 24, 12, 0.82), rgba(24, 14, 8, 0.92));
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.mapgroup-panel h2 {
  margin: 0;
  color: #ffe8c9;
}

.mapgroup-textarea {
  min-height: 260px;
  width: 100%;
  border: 1px solid rgba(255, 170, 96, 0.28);
  border-radius: 10px;
  background: rgba(14, 9, 6, 0.9);
  color: #ffe9d0;
  padding: 0.7rem;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.84rem;
  resize: vertical;
}

.mapgroup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mapgroup-status {
  min-height: 1.2rem;
  color: #8fefb4;
  font-size: 0.83rem;
  font-weight: 600;
}

.mapgroup-status.is-error {
  color: #ff8e8e;
}

@media (max-width: 1100px) {
  .mapgroup-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .mapgroup-hero {
    padding: 0.85rem;
  }

  .mapgroup-hero-actions {
    width: 100%;
  }

  .mapgroup-hero-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.gameplay-tool-page {
  display: grid;
  gap: 1rem;
}

.gameplay-tool-hero {
  border: 1px solid rgba(125, 204, 255, 0.35);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  background:
    radial-gradient(520px 220px at 0% -30%, rgba(55, 182, 255, 0.25), transparent),
    linear-gradient(165deg, rgba(16, 35, 66, 0.82), rgba(10, 20, 40, 0.9));
}

.gameplay-tool-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #9cd9ff;
  font-weight: 700;
  font-size: 0.78rem;
}

.gameplay-tool-hero h1 {
  margin: 0.25rem 0 0;
  color: #e6f4ff;
}

.gameplay-tool-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.gameplay-tool-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gameplay-tool-panel {
  border: 1px solid rgba(134, 197, 255, 0.25);
  border-radius: 14px;
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
  background:
    radial-gradient(360px 180px at 10% -28%, rgba(66, 178, 255, 0.14), transparent),
    linear-gradient(165deg, rgba(13, 28, 50, 0.86), rgba(8, 16, 32, 0.92));
}

.gameplay-tool-panel h2 {
  margin: 0;
  color: #dbeeff;
}

.gameplay-tool-section {
  margin: 0.25rem 0 0;
  color: #bedeff;
  font-size: 0.92rem;
}

.gameplay-tool-textarea {
  width: 100%;
  min-height: 280px;
  border: 1px solid rgba(132, 192, 255, 0.3);
  border-radius: 10px;
  background: rgba(6, 12, 24, 0.92);
  color: #e1f1ff;
  padding: 0.7rem;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.84rem;
  resize: vertical;
}

.gameplay-tool-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gameplay-tool-status {
  min-height: 1.2rem;
  color: #8ef4c6;
  font-size: 0.83rem;
  font-weight: 600;
}

.gameplay-tool-status.is-error {
  color: #ff9191;
}

.gameplay-tool-meta {
  color: #a5c8e8;
  font-size: 0.82rem;
}

.gameplay-tool-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.gameplay-toggle-grid {
  display: grid;
  gap: 0.5rem;
}

.gameplay-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(126, 188, 255, 0.24);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  background: rgba(11, 24, 45, 0.7);
  color: #dcecff;
  font-size: 0.84rem;
}

.gameplay-toggle-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #39b8ff;
}

@media (max-width: 1100px) {
  .gameplay-tool-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gameplay-tool-hero {
    padding: 0.85rem;
  }

  .gameplay-tool-actions {
    width: 100%;
  }

  .gameplay-tool-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .gameplay-tool-presets {
    grid-template-columns: 1fr;
  }
}

.gameplay-tab-buttons {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 11px;
  background: rgba(17, 38, 68, 0.75);
  border: 1px solid rgba(120, 190, 255, 0.28);
}

.gameplay-tab-btn {
  border: 1px solid rgba(122, 188, 255, 0.2);
  background: rgba(10, 21, 41, 0.85);
  color: #cde7ff;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.gameplay-tab-btn.is-active {
  border-color: rgba(110, 214, 255, 0.6);
  background: linear-gradient(165deg, rgba(35, 135, 228, 0.92), rgba(20, 97, 194, 0.96));
  color: #f2f8ff;
}

.gameplay-tab-pane.is-hidden {
  display: none;
}

.gameplay-advanced-grid {
  display: grid;
  gap: 0.55rem;
}

.gameplay-advanced-row {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(132, 197, 255, 0.24);
  border-radius: 10px;
  padding: 0.55rem;
  background: rgba(10, 23, 44, 0.72);
}

.gameplay-advanced-label {
  color: #d7ebff;
  font-size: 0.84rem;
  font-weight: 700;
}

.gameplay-advanced-row input[type="number"] {
  border: 1px solid rgba(132, 197, 255, 0.3);
  border-radius: 8px;
  background: rgba(7, 14, 29, 0.92);
  color: #e3f2ff;
  padding: 0.45rem 0.5rem;
}

.gameplay-advanced-hint {
  color: #a8cdec;
  font-size: 0.76rem;
}

.gameplay-inline-fields {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 0.5rem;
}

.gameplay-inline-fields input {
  border: 1px solid rgba(132, 197, 255, 0.3);
  border-radius: 8px;
  background: rgba(7, 14, 29, 0.92);
  color: #e3f2ff;
  padding: 0.45rem 0.5rem;
}

@media (max-width: 760px) {
  .gameplay-inline-fields {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Dashboard Overhaul (2026-03-30)
   Applies to all helper pages in one shared theme pass.
   ========================================================= */
body.has-helper-workspace {
  --helper-bg-1: #f4fbff;
  --helper-bg-2: #fff7ef;
  --helper-ink: #153046;
  --helper-sub: #5d7386;
  --helper-accent: #0ea5a4;
  --helper-accent-2: #ff7a18;
  --helper-border: #d7e8f5;
  --helper-surface: #ffffff;
  --helper-surface-soft: #f7fbff;
  --helper-ok: #0f9d58;
  --helper-warn: #d97706;
  --helper-off: #6b7280;
  background:
    radial-gradient(1200px 500px at -10% -20%, rgba(14, 165, 164, 0.16), transparent),
    radial-gradient(1000px 450px at 110% -18%, rgba(255, 122, 24, 0.16), transparent),
    linear-gradient(180deg, var(--helper-bg-1), var(--helper-bg-2));
}

body.has-helper-workspace .wrap {
  max-width: 1500px;
  padding-top: 1rem;
}

body.has-helper-workspace .helper-workspace {
  border: 1px solid var(--helper-border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 18px 45px rgba(19, 53, 80, 0.12);
}

body.has-helper-workspace .helper-page-intro {
  border: 1px solid #d8ebff;
  border-radius: 16px;
  background:
    radial-gradient(700px 180px at 8% -50%, rgba(14, 165, 164, 0.2), transparent),
    radial-gradient(620px 160px at 95% -60%, rgba(255, 122, 24, 0.18), transparent),
    linear-gradient(140deg, #f3fbff, #fff8f2);
  padding: 1rem 1.1rem;
}

body.has-helper-workspace .helper-page-eyebrow {
  color: #0b7f8a;
  letter-spacing: 0.08em;
  font-weight: 800;
}

body.has-helper-workspace .helper-page-title {
  color: var(--helper-ink);
  letter-spacing: -0.015em;
}

body.has-helper-workspace .helper-page-subtitle {
  color: #4c6478;
}

body.has-helper-workspace .helper-hub-hero {
  border: 1px solid #dbeafb;
  border-radius: 16px;
  background:
    radial-gradient(680px 230px at -4% -35%, rgba(14, 165, 164, 0.18), transparent),
    radial-gradient(680px 220px at 104% -38%, rgba(255, 122, 24, 0.17), transparent),
    linear-gradient(155deg, #f8fcff, #fff9f2);
  padding: 1rem;
}

body.has-helper-workspace .helper-hub-status,
body.has-helper-workspace .helper-hub-kpi,
body.has-helper-workspace .helper-hub-card,
body.has-helper-workspace .helper-group,
body.has-helper-workspace .helper-metric-card,
body.has-helper-workspace .tickets-kpi,
body.has-helper-workspace .tickets-settings-group {
  background: var(--helper-surface);
  border: 1px solid #dceaf6;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(22, 57, 86, 0.08);
}

body.has-helper-workspace .helper-hub-status {
  background: linear-gradient(180deg, #ffffff, #f9fcff);
}

body.has-helper-workspace .helper-hub-status.subtle {
  background: linear-gradient(180deg, #fffefb, #fff7ee);
}

body.has-helper-workspace .helper-hub-status-label,
body.has-helper-workspace .helper-hub-kpi-label,
body.has-helper-workspace .helper-metric-label,
body.has-helper-workspace .helper-page-summary,
body.has-helper-workspace .helper-page-open,
body.has-helper-workspace .section-sub,
body.has-helper-workspace .note,
body.has-helper-workspace .muted {
  color: var(--helper-sub);
}

body.has-helper-workspace .helper-hub-status-value,
body.has-helper-workspace .helper-hub-kpi-value,
body.has-helper-workspace .helper-metric-value,
body.has-helper-workspace .helper-page-name,
body.has-helper-workspace .section-head h2,
body.has-helper-workspace .section-head h3 {
  color: var(--helper-ink);
}

body.has-helper-workspace .helper-hub-status-bar {
  background: #e7f1f9;
  border: 1px solid #d3e6f6;
}

body.has-helper-workspace .helper-hub-status-bar > span {
  background: linear-gradient(90deg, #0ea5a4, #16a3cf 50%, #ff7a18);
}

body.has-helper-workspace .helper-hub-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.95rem 0 0.3rem;
}

body.has-helper-workspace .helper-hub-quick .button {
  min-height: 38px;
}

body.has-helper-workspace .helper-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
}

body.has-helper-workspace .helper-section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #cde0ef;
  background: #f8fcff;
  color: #3f5d73;
  text-decoration: none;
  padding: 0.38rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

body.has-helper-workspace .helper-section-chip:hover {
  border-color: #90c6e8;
  color: #153046;
  transform: translateY(-1px);
}

body.has-helper-workspace .helper-section-chip.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0ea5a4, #1f8ecf 60%, #ff7a18);
  box-shadow: 0 8px 20px rgba(34, 113, 163, 0.25);
}

body.has-helper-workspace .helper-metrics-strip,
body.has-helper-workspace .helper-hub-kpis {
  gap: 0.7rem;
}

body.has-helper-workspace .helper-metric-card,
body.has-helper-workspace .helper-hub-kpi {
  padding: 0.8rem 0.9rem;
}

body.has-helper-workspace .helper-workspace .section,
body.has-helper-workspace .tickets-settings-group {
  border: 1px solid #dce9f5;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fafdff);
  box-shadow: 0 8px 22px rgba(21, 52, 79, 0.07);
}

body.has-helper-workspace .tickets-settings-grid {
  gap: 0.75rem;
}

body.has-helper-workspace .tickets-kpi {
  padding: 0.65rem 0.75rem;
}

body.has-helper-workspace .tickets-kpi.is-ok {
  border-color: #bfe7ce;
  background: linear-gradient(180deg, #f4fff8, #ffffff);
}

body.has-helper-workspace .tickets-kpi.is-warn {
  border-color: #fde1b8;
  background: linear-gradient(180deg, #fffaf3, #ffffff);
}

body.has-helper-workspace .tickets-kpi.is-off {
  border-color: #d8e4ef;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

body.has-helper-workspace .helper-page-item {
  border: 1px solid #d7e6f2;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 7px 16px rgba(21, 60, 92, 0.08);
}

body.has-helper-workspace .helper-page-item:hover {
  border-color: #97c7e6;
  box-shadow: 0 12px 25px rgba(19, 67, 106, 0.14);
  transform: translateY(-1px);
}

body.has-helper-workspace .helper-page-state {
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.03em;
}

body.has-helper-workspace .helper-page-state.state-ok {
  background: #ebfbf0;
  border-color: #bde7cb;
  color: var(--helper-ok);
}

body.has-helper-workspace .helper-page-state.state-warn {
  background: #fff7ea;
  border-color: #f8ddb3;
  color: var(--helper-warn);
}

body.has-helper-workspace .helper-page-state.state-off {
  background: #f2f5f8;
  border-color: #d9e1e8;
  color: var(--helper-off);
}

body.has-helper-workspace .table .row.header {
  background: linear-gradient(180deg, #f1f8ff, #f8fbff);
  border-bottom: 1px solid #dbe8f5;
  color: #35566f;
}

body.has-helper-workspace .table .row {
  border-bottom: 1px solid #e8f1f8;
}

body.has-helper-workspace input[type="text"],
body.has-helper-workspace input[type="number"],
body.has-helper-workspace input[type="email"],
body.has-helper-workspace input[type="url"],
body.has-helper-workspace input[type="search"],
body.has-helper-workspace select,
body.has-helper-workspace textarea {
  border: 1px solid #cfe1ef;
  background: #fff;
  color: #1b3448;
  border-radius: 10px;
}

body.has-helper-workspace .dashboard-page-link-chip {
  border-color: rgba(131, 191, 255, 0.45);
  background: rgba(23, 45, 70, 0.74);
  color: #eaf4ff;
}

body.has-helper-workspace .dashboard-page-link-chip:hover {
  border-color: rgba(168, 214, 255, 0.72);
  background: rgba(28, 57, 89, 0.84);
}

body.has-helper-workspace .dashboard-page-link-chip.is-active {
  border-color: rgba(164, 211, 255, 0.86);
  background: rgba(107, 173, 246, 0.28);
  color: #ffffff;
}

body.has-helper-workspace input:focus,
body.has-helper-workspace select:focus,
body.has-helper-workspace textarea:focus {
  outline: none;
  border-color: #6db7df;
  box-shadow: 0 0 0 3px rgba(82, 168, 220, 0.22);
}

body.has-helper-workspace .button {
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5a4, #1f8ecf 55%, #ff7a18);
  color: #fff;
  font-weight: 700;
}

body.has-helper-workspace .button:hover {
  filter: saturate(1.05) brightness(1.02);
}

body.has-helper-workspace .button.secondary {
  background: #ffffff;
  border-color: #cfe0ee;
  color: #28445a;
}

body.has-helper-workspace .button.danger {
  background: linear-gradient(135deg, #d13b3b, #b91c1c);
  color: #fff;
}

body.has-helper-workspace .alert {
  border-radius: 12px;
  border: 1px solid #f7d2c6;
  background: #fff8f5;
  color: #7b3d2b;
}

body.has-helper-workspace .alert.success {
  border-color: #bde6ce;
  background: #f2fcf6;
  color: #145734;
}

@media (max-width: 900px) {
  body.has-helper-workspace .helper-hub-quick {
    gap: 0.45rem;
  }

  body.has-helper-workspace .helper-hub-quick .button,
  body.has-helper-workspace .helper-section-chip {
    width: 100%;
    justify-content: center;
  }

  body.has-helper-workspace .helper-section-nav {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Readability + Unified Tickets Workspace (2026-03-30)
   ========================================================= */
body.has-helper-workspace .helper-workspace {
  color: #193449;
}

body.has-helper-workspace .helper-workspace h1,
body.has-helper-workspace .helper-workspace h2,
body.has-helper-workspace .helper-workspace h3,
body.has-helper-workspace .helper-workspace h4,
body.has-helper-workspace .helper-workspace label,
body.has-helper-workspace .helper-workspace .cell,
body.has-helper-workspace .helper-workspace .menu-title,
body.has-helper-workspace .helper-workspace .menu-sub,
body.has-helper-workspace .helper-workspace .helper-hub-list li span,
body.has-helper-workspace .helper-workspace .helper-hub-list li strong {
  color: #173449;
}

body.has-helper-workspace .helper-workspace p,
body.has-helper-workspace .helper-workspace .section-sub,
body.has-helper-workspace .helper-workspace .note,
body.has-helper-workspace .helper-workspace .muted,
body.has-helper-workspace .helper-workspace .stat-sub,
body.has-helper-workspace .helper-workspace .helper-page-summary,
body.has-helper-workspace .helper-workspace .helper-page-open,
body.has-helper-workspace .helper-workspace .helper-hub-status-sub {
  color: #49657b;
}

body.has-helper-workspace .helper-workspace .table .row,
body.has-helper-workspace .helper-workspace .table .row span,
body.has-helper-workspace .helper-workspace .table .row .cell {
  color: #1f3d52;
}

body.has-helper-workspace .helper-workspace .table .row.header,
body.has-helper-workspace .helper-workspace .table .row.header span {
  color: #2f566f;
}

body.has-helper-workspace .helper-workspace .button {
  color: #ffffff;
}

body.has-helper-workspace .helper-workspace .button.secondary {
  color: #244259;
}

body.has-helper-workspace .tickets-inline-stat {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #cfe0ee;
  background: #f7fbff;
  color: #28465d;
  font-size: 0.78rem;
  font-weight: 700;
}

body.has-helper-workspace .tickets-live-manage {
  margin-top: 0.9rem;
}

body.has-helper-workspace .tickets-manage-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.has-helper-workspace .tickets-manage-card {
  border: 1px solid #d8e6f2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  padding: 0.75rem;
}

body.has-helper-workspace .tickets-manage-card h4 {
  margin: 0 0 0.5rem;
  color: #193a50;
  font-size: 0.94rem;
}

body.has-helper-workspace .tickets-manage-empty {
  margin: 0.2rem 0;
  color: #607a8f;
}

body.has-helper-workspace .ticket-manage-table .row,
body.has-helper-workspace .transcript-table .row {
  grid-template-columns: 1.2fr 1.1fr 1.2fr;
  gap: 0.4rem;
  align-items: center;
}

body.has-helper-workspace .transcript-table .row {
  grid-template-columns: 1.5fr 0.8fr 1fr 0.9fr;
}

body.has-helper-workspace .ticket-manage-table .row .cell:last-child .button,
body.has-helper-workspace .transcript-table .row .cell:last-child .button {
  margin-right: 0.35rem;
}

body.has-helper-workspace .tickets-manage-card.transcripts {
  margin-top: 0.4rem;
}

@media (max-width: 980px) {
  body.has-helper-workspace .tickets-manage-columns {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .ticket-manage-table .row,
  body.has-helper-workspace .transcript-table .row {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .ticket-manage-table .row .cell,
  body.has-helper-workspace .transcript-table .row .cell {
    display: block;
  }
}

/* =========================================================
   Helper Blue Theme Revert (2026-03-30)
   Keeps unified tickets layout but restores blue visual style.
   ========================================================= */
body.has-helper-workspace {
  --helper-bg-1: #0d1c2d;
  --helper-bg-2: #08111c;
  --helper-ink: #eff6ff;
  --helper-sub: #c8dcf1;
  --helper-border: rgba(118, 178, 255, 0.46);
  --helper-surface: rgba(26, 50, 77, 0.94);
  --helper-surface-soft: rgba(18, 36, 56, 0.94);
  --helper-ok: #79e0a7;
  --helper-warn: #ffd48a;
  --helper-off: #a9bfd6;
  background:
    radial-gradient(920px 520px at 10% -14%, rgba(88, 163, 255, 0.26), transparent 62%),
    radial-gradient(860px 520px at 92% -10%, rgba(132, 195, 255, 0.2), transparent 62%),
    linear-gradient(180deg, #0d1c2d 0%, #0b1624 56%, #08111c 100%);
}

body.has-helper-workspace .helper-workspace {
  color: #eaf4ff;
  border-color: var(--helper-border);
  background: linear-gradient(180deg, rgba(24, 45, 69, 0.95), rgba(12, 26, 42, 0.96));
  box-shadow: 0 18px 45px rgba(6, 14, 24, 0.5);
}

body.has-helper-workspace .helper-page-intro,
body.has-helper-workspace .helper-hub-hero {
  border-color: rgba(142, 197, 255, 0.52);
  background:
    radial-gradient(700px 180px at 8% -50%, rgba(82, 161, 255, 0.2), transparent),
    radial-gradient(620px 160px at 95% -60%, rgba(140, 205, 255, 0.14), transparent),
    linear-gradient(140deg, rgba(33, 63, 95, 0.9), rgba(18, 38, 61, 0.92));
}

body.has-helper-workspace .helper-hub-status,
body.has-helper-workspace .helper-hub-kpi,
body.has-helper-workspace .helper-hub-card,
body.has-helper-workspace .helper-group,
body.has-helper-workspace .helper-metric-card,
body.has-helper-workspace .tickets-kpi,
body.has-helper-workspace .tickets-settings-group,
body.has-helper-workspace .tickets-manage-card,
body.has-helper-workspace .helper-workspace .section {
  background: linear-gradient(180deg, rgba(30, 58, 88, 0.92), rgba(15, 33, 53, 0.95));
  border-color: rgba(125, 181, 255, 0.5);
  box-shadow: 0 8px 22px rgba(7, 17, 30, 0.38);
}

body.has-helper-workspace .helper-page-title,
body.has-helper-workspace .helper-workspace h1,
body.has-helper-workspace .helper-workspace h2,
body.has-helper-workspace .helper-workspace h3,
body.has-helper-workspace .helper-workspace h4,
body.has-helper-workspace .helper-workspace label,
body.has-helper-workspace .helper-workspace .cell,
body.has-helper-workspace .helper-workspace .menu-title,
body.has-helper-workspace .helper-workspace .menu-sub,
body.has-helper-workspace .helper-workspace .helper-hub-list li span,
body.has-helper-workspace .helper-workspace .helper-hub-list li strong,
body.has-helper-workspace .helper-hub-status-value,
body.has-helper-workspace .helper-hub-kpi-value,
body.has-helper-workspace .helper-metric-value,
body.has-helper-workspace .helper-page-name {
  color: #eff6ff;
}

body.has-helper-workspace .helper-workspace p,
body.has-helper-workspace .helper-workspace .section-sub,
body.has-helper-workspace .helper-workspace .note,
body.has-helper-workspace .helper-workspace .muted,
body.has-helper-workspace .helper-workspace .stat-sub,
body.has-helper-workspace .helper-workspace .helper-page-summary,
body.has-helper-workspace .helper-workspace .helper-page-open,
body.has-helper-workspace .helper-workspace .helper-hub-status-sub,
body.has-helper-workspace .helper-page-eyebrow,
body.has-helper-workspace .helper-page-subtitle,
body.has-helper-workspace .helper-hub-status-label,
body.has-helper-workspace .helper-hub-kpi-label,
body.has-helper-workspace .helper-metric-label {
  color: #cfe2f6;
}

body.has-helper-workspace .helper-section-chip {
  border-color: rgba(126, 183, 255, 0.48);
  background: rgba(29, 54, 81, 0.72);
  color: #e6f2ff;
}

body.has-helper-workspace .helper-section-chip:hover {
  border-color: rgba(172, 213, 255, 0.74);
  color: #ffffff;
}

body.has-helper-workspace .helper-section-chip.is-active {
  background: linear-gradient(135deg, #2a7ed1, #2f9ee2 60%, #2cb7c2);
  color: #ffffff;
}

body.has-helper-workspace .table .row {
  background: rgba(29, 54, 81, 0.66);
  border-bottom-color: rgba(126, 183, 255, 0.38);
}

body.has-helper-workspace .table .row,
body.has-helper-workspace .table .row span,
body.has-helper-workspace .table .row .cell {
  color: #eaf4ff;
}

body.has-helper-workspace .table .row.header,
body.has-helper-workspace .table .row.header span {
  background: linear-gradient(180deg, rgba(47, 90, 136, 0.72), rgba(31, 63, 97, 0.74));
  color: #f2f8ff;
  border-bottom-color: rgba(162, 207, 255, 0.62);
}

body.has-helper-workspace input[type="text"],
body.has-helper-workspace input[type="number"],
body.has-helper-workspace input[type="email"],
body.has-helper-workspace input[type="url"],
body.has-helper-workspace input[type="search"],
body.has-helper-workspace select,
body.has-helper-workspace textarea {
  background: rgba(14, 29, 47, 0.88);
  border-color: rgba(125, 182, 255, 0.52);
  color: #f2f8ff;
}

body.has-helper-workspace input::placeholder,
body.has-helper-workspace textarea::placeholder {
  color: rgba(203, 226, 249, 0.84);
}

body.has-helper-workspace .button.secondary {
  background: rgba(17, 37, 59, 0.9);
  border-color: rgba(118, 178, 255, 0.46);
  color: #eaf4ff;
}

body.has-helper-workspace .tickets-inline-stat {
  border-color: rgba(118, 178, 255, 0.46);
  background: rgba(25, 50, 77, 0.78);
  color: #dbeeff;
}

/* =========================================================
   Helper Blue Hard Override (2026-03-30)
   Final pass to remove remaining white surfaces.
   ========================================================= */
body.has-helper-workspace .helper-page-item,
body.has-helper-workspace .helper-hub-status,
body.has-helper-workspace .helper-hub-status.subtle,
body.has-helper-workspace .helper-hub-kpi,
body.has-helper-workspace .helper-hub-card,
body.has-helper-workspace .helper-group,
body.has-helper-workspace .helper-metric-card,
body.has-helper-workspace .tickets-kpi,
body.has-helper-workspace .tickets-settings-group,
body.has-helper-workspace .tickets-manage-card,
body.has-helper-workspace .tickets-settings-meta,
body.has-helper-workspace .helper-savebar,
body.has-helper-workspace .helper-flow-jump,
body.has-helper-workspace .helper-workspace .section,
body.has-helper-workspace .helper-workspace .note,
body.has-helper-workspace .helper-workspace .stat-card,
body.has-helper-workspace .helper-workspace .card {
  background: linear-gradient(180deg, rgba(31, 60, 91, 0.93), rgba(15, 33, 53, 0.96)) !important;
  border-color: rgba(130, 188, 255, 0.52) !important;
  color: #eaf4ff !important;
}

body.has-helper-workspace .helper-page-item:hover {
  background: linear-gradient(180deg, rgba(42, 75, 109, 0.96), rgba(21, 42, 65, 0.98)) !important;
  border-color: rgba(171, 214, 255, 0.74) !important;
}

body.has-helper-workspace .tickets-kpi.is-ok {
  background: linear-gradient(180deg, rgba(27, 78, 61, 0.92), rgba(16, 49, 38, 0.95)) !important;
  border-color: rgba(113, 215, 166, 0.62) !important;
}

body.has-helper-workspace .tickets-kpi.is-warn {
  background: linear-gradient(180deg, rgba(92, 67, 33, 0.93), rgba(58, 40, 19, 0.96)) !important;
  border-color: rgba(255, 204, 128, 0.64) !important;
}

body.has-helper-workspace .tickets-kpi.is-off {
  background: linear-gradient(180deg, rgba(57, 73, 91, 0.93), rgba(34, 47, 63, 0.96)) !important;
  border-color: rgba(176, 194, 214, 0.55) !important;
}

body.has-helper-workspace .helper-workspace,
body.has-helper-workspace .helper-workspace h1,
body.has-helper-workspace .helper-workspace h2,
body.has-helper-workspace .helper-workspace h3,
body.has-helper-workspace .helper-workspace h4,
body.has-helper-workspace .helper-workspace label,
body.has-helper-workspace .helper-workspace .cell,
body.has-helper-workspace .helper-workspace .menu-title,
body.has-helper-workspace .helper-workspace .menu-sub,
body.has-helper-workspace .helper-workspace p,
body.has-helper-workspace .helper-workspace .section-sub,
body.has-helper-workspace .helper-workspace .muted,
body.has-helper-workspace .helper-workspace .stat-sub,
body.has-helper-workspace .helper-workspace .helper-page-summary,
body.has-helper-workspace .helper-workspace .helper-page-open,
body.has-helper-workspace .helper-workspace .helper-hub-status-label,
body.has-helper-workspace .helper-workspace .helper-hub-kpi-label,
body.has-helper-workspace .helper-workspace .helper-metric-label,
body.has-helper-workspace .helper-workspace .helper-hub-status-value,
body.has-helper-workspace .helper-workspace .helper-hub-kpi-value,
body.has-helper-workspace .helper-workspace .helper-metric-value,
body.has-helper-workspace .helper-workspace .helper-page-name {
  color: #eaf4ff !important;
}

body.has-helper-workspace .table .row.header,
body.has-helper-workspace .table .row.header span {
  background: linear-gradient(180deg, rgba(54, 96, 142, 0.82), rgba(33, 68, 104, 0.84)) !important;
  color: #f4f9ff !important;
}

body.has-helper-workspace .table .row,
body.has-helper-workspace .table .row span,
body.has-helper-workspace .table .row .cell {
  color: #ecf6ff !important;
}

/* =========================================================
   Helper Hub Layout Polish (2026-03-30)
   ========================================================= */
body.has-helper-workspace .helper-bot-page .helper-hub-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
}

body.has-helper-workspace .helper-bot-page .helper-hub-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(132, 189, 255, 0.5);
  background: rgba(20, 43, 67, 0.82);
  color: #dff0ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.has-helper-workspace .helper-bot-page .helper-hub-hero {
  margin-bottom: 0.85rem;
}

body.has-helper-workspace .helper-bot-page .helper-hub-kpis {
  margin-bottom: 0.85rem;
}

body.has-helper-workspace .helper-bot-page .helper-hub-priority {
  border: 1px solid rgba(126, 183, 255, 0.5);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.9rem;
  background: linear-gradient(180deg, rgba(28, 52, 80, 0.88), rgba(15, 32, 50, 0.94));
}

body.has-helper-workspace .helper-bot-page .helper-hub-priority-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

body.has-helper-workspace .helper-bot-page .helper-hub-priority-head h3 {
  margin: 0;
}

body.has-helper-workspace .helper-bot-page .helper-hub-priority-count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 131, 0.56);
  background: rgba(88, 62, 25, 0.52);
  color: #ffe3b8;
  font-size: 0.74rem;
  font-weight: 800;
}

body.has-helper-workspace .helper-bot-page .helper-hub-priority-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

body.has-helper-workspace .helper-bot-page .helper-hub-priority-list li {
  color: #e4f2ff;
}

body.has-helper-workspace .helper-bot-page .helper-page-group {
  border-left: 4px solid rgba(126, 183, 255, 0.56) !important;
}

body.has-helper-workspace .helper-bot-page .helper-page-group.tone-core {
  border-left-color: rgba(116, 221, 176, 0.76) !important;
}

body.has-helper-workspace .helper-bot-page .helper-page-group.tone-ops {
  border-left-color: rgba(255, 202, 123, 0.78) !important;
}

body.has-helper-workspace .helper-bot-page .helper-page-group.tone-admin {
  border-left-color: rgba(138, 186, 255, 0.78) !important;
}

body.has-helper-workspace .helper-bot-page .helper-page-item {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(122, 181, 255, 0.34);
  background: linear-gradient(180deg, rgba(30, 58, 88, 0.78), rgba(18, 36, 57, 0.9));
}

body.has-helper-workspace .helper-bot-page .helper-page-item:hover {
  border-color: rgba(174, 215, 255, 0.7) !important;
  transform: translateY(-2px);
}

body.has-helper-workspace .helper-bot-page .helper-hub-left,
body.has-helper-workspace .helper-bot-page .helper-hub-right {
  gap: 0.75rem;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-bot-page .helper-hub-priority-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   Helper Landing Page Overhaul (2026-03-30)
   ========================================================= */
body.has-helper-workspace .helper-bot-page.helper-landing-page {
  display: grid;
  gap: 0.95rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-hero {
  margin-bottom: 0;
  border: 1px solid rgba(136, 196, 255, 0.58) !important;
  background:
    radial-gradient(540px 220px at 5% -40%, rgba(118, 189, 255, 0.28), transparent),
    radial-gradient(440px 200px at 98% -55%, rgba(132, 218, 255, 0.2), transparent),
    linear-gradient(145deg, rgba(33, 63, 95, 0.94), rgba(17, 35, 55, 0.96)) !important;
  box-shadow: 0 14px 34px rgba(7, 17, 32, 0.46);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-card {
  display: grid;
  gap: 0.32rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(134, 192, 255, 0.56);
  background: linear-gradient(180deg, rgba(31, 60, 91, 0.94), rgba(16, 34, 54, 0.96));
  color: #eff8ff;
  box-shadow: 0 8px 20px rgba(8, 18, 34, 0.4);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-card .title {
  color: #f5fbff;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-card .sub {
  color: #cfe4f8;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 222, 255, 0.78);
  background: linear-gradient(180deg, rgba(42, 77, 112, 0.96), rgba(20, 43, 66, 0.98));
  box-shadow: 0 12px 26px rgba(7, 18, 34, 0.48);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-kpis {
  margin-bottom: 0;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-alerts {
  border: 1px solid rgba(255, 202, 127, 0.62);
  border-radius: 14px;
  padding: 0.8rem 0.92rem;
  background: linear-gradient(180deg, rgba(84, 58, 25, 0.72), rgba(45, 32, 17, 0.8));
  box-shadow: 0 8px 20px rgba(34, 19, 8, 0.42);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-alerts h3 {
  margin: 0 0 0.46rem;
  color: #ffeac8 !important;
  font-size: 0.92rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-alerts ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.27rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-alerts li {
  color: #fff2de !important;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-sections {
  gap: 0.72rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

@media (max-width: 1120px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start,
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-bottom {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Welcome Section Refresh (2026-03-30)
   ========================================================= */
body.has-helper-workspace .helper-welcome-section {
  border-color: rgba(139, 199, 255, 0.58) !important;
  background:
    radial-gradient(560px 220px at 8% -55%, rgba(109, 184, 255, 0.2), transparent),
    linear-gradient(180deg, rgba(33, 61, 92, 0.94), rgba(16, 34, 53, 0.97)) !important;
}

body.has-helper-workspace .helper-welcome-head {
  margin-bottom: 0.55rem;
}

body.has-helper-workspace .helper-welcome-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

body.has-helper-workspace .helper-welcome-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 183, 255, 0.52);
  background: rgba(22, 45, 69, 0.8);
  color: #e7f4ff;
  font-size: 0.76rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-welcome-chip.ok {
  border-color: rgba(117, 219, 172, 0.62);
  background: rgba(20, 74, 55, 0.54);
}

body.has-helper-workspace .helper-welcome-chip.warn {
  border-color: rgba(255, 203, 126, 0.62);
  background: rgba(86, 60, 22, 0.58);
}

body.has-helper-workspace .helper-welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  gap: 0.8rem;
}

body.has-helper-workspace .helper-welcome-main,
body.has-helper-workspace .helper-welcome-side {
  min-width: 0;
}

body.has-helper-workspace .helper-welcome-grid {
  gap: 0.68rem;
}

body.has-helper-workspace .helper-welcome-textarea {
  min-height: 112px;
}

body.has-helper-workspace .helper-welcome-side {
  display: grid;
  gap: 0.65rem;
}

body.has-helper-workspace .helper-welcome-help-card {
  border: 1px solid rgba(129, 188, 255, 0.5);
  border-radius: 13px;
  padding: 0.72rem 0.8rem;
  background: linear-gradient(180deg, rgba(30, 57, 86, 0.92), rgba(17, 35, 56, 0.95));
  box-shadow: 0 8px 20px rgba(8, 18, 33, 0.4);
}

body.has-helper-workspace .helper-welcome-help-card h3 {
  margin: 0 0 0.45rem;
  color: #f2f9ff !important;
  font-size: 0.9rem;
}

body.has-helper-workspace .helper-welcome-help-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

body.has-helper-workspace .helper-welcome-help-card li {
  color: #d7ebff !important;
  font-size: 0.8rem;
}

body.has-helper-workspace .helper-welcome-help-card code {
  border: 1px solid rgba(144, 200, 255, 0.45);
  border-radius: 6px;
  padding: 0.02rem 0.36rem;
  background: rgba(12, 28, 45, 0.82);
  color: #e9f5ff;
  font-family: Consolas, "Courier New", monospace;
}

@media (max-width: 1050px) {
  body.has-helper-workspace .helper-welcome-layout {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Helper Tickets Setup Polish (2026-03-31)
   ========================================================= */
.tickets-flow-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.tickets-flow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 183, 255, 0.44);
  background: rgba(18, 37, 57, 0.72);
  color: #dcedff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.tickets-flow-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(176, 218, 255, 0.76);
  background: rgba(30, 58, 89, 0.84);
}

.tickets-group-sub {
  margin: 0 0 0.55rem;
  color: #bdd7ef;
  font-size: 0.82rem;
}

.tickets-settings-group:target {
  border-color: rgba(174, 216, 255, 0.92);
  box-shadow: 0 0 0 2px rgba(124, 185, 255, 0.22), 0 8px 22px rgba(7, 17, 30, 0.38);
}

@media (max-width: 900px) {
  .tickets-flow-chip {
    flex: 1 1 calc(50% - 0.35rem);
  }
}

@media (max-width: 620px) {
  .tickets-flow-chip {
    flex: 1 1 100%;
  }
}

body.has-helper-workspace .tickets-flow-chip {
  border-color: rgba(124, 184, 255, 0.5) !important;
  background: rgba(20, 40, 62, 0.82) !important;
  color: #e7f3ff !important;
}

body.has-helper-workspace .tickets-flow-chip:hover {
  border-color: rgba(175, 217, 255, 0.8) !important;
  background: rgba(31, 63, 96, 0.9) !important;
}

body.has-helper-workspace .tickets-group-sub {
  color: #c5ddf3 !important;
}


/* =========================================================
   Helper Tickets Setup Rebuild (2026-03-31)
   ========================================================= */
body.has-helper-workspace .tickets-settings-shell::before {
  display: none !important;
}

body.has-helper-workspace .tickets-setup-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.8rem;
  align-items: start;
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(132, 190, 255, 0.54);
  border-radius: 14px;
  background:
    radial-gradient(560px 180px at -4% -50%, rgba(109, 181, 255, 0.2), transparent),
    radial-gradient(500px 160px at 104% -58%, rgba(88, 210, 190, 0.13), transparent),
    linear-gradient(150deg, rgba(34, 66, 100, 0.92), rgba(16, 35, 55, 0.95));
}

body.has-helper-workspace .tickets-setup-health {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

body.has-helper-workspace .tickets-health-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 198, 255, 0.52);
  background: rgba(18, 39, 60, 0.72);
  color: #dff0ff;
  font-size: 0.75rem;
  font-weight: 700;
}

body.has-helper-workspace .tickets-health-chip.is-ok {
  border-color: rgba(114, 217, 167, 0.66);
  background: rgba(24, 82, 63, 0.68);
  color: #d6ffe8;
}

body.has-helper-workspace .tickets-health-chip.is-warn {
  border-color: rgba(255, 209, 133, 0.66);
  background: rgba(92, 68, 33, 0.72);
  color: #ffeccd;
}

body.has-helper-workspace .tickets-health-chip.is-off {
  border-color: rgba(175, 195, 217, 0.6);
  background: rgba(45, 62, 79, 0.74);
  color: #dce8f5;
}

body.has-helper-workspace .tickets-settings-shell .tickets-settings-grid {
  gap: 0.95rem;
}

body.has-helper-workspace .tickets-settings-shell .tickets-settings-group {
  border-radius: 14px;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(32, 61, 92, 0.94), rgba(15, 33, 53, 0.96));
  border: 1px solid rgba(130, 187, 255, 0.52);
}

body.has-helper-workspace .tickets-settings-shell .tickets-settings-group h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

body.has-helper-workspace .tickets-settings-shell .tickets-group-sub {
  margin: 0 0 0.62rem;
  color: #c7def3 !important;
}

body.has-helper-workspace .tickets-settings-shell .tickets-button-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.7rem;
}

body.has-helper-workspace .tickets-settings-shell .tickets-button-guide > div {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(145, 198, 255, 0.28);
  background: rgba(18, 39, 60, 0.64);
}

body.has-helper-workspace .tickets-settings-shell .tickets-button-guide strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #eff7ff;
  font-size: 0.82rem;
}

body.has-helper-workspace .tickets-settings-shell .tickets-button-guide span {
  display: block;
  color: #c7def3;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.has-helper-workspace .tickets-settings-shell .tickets-button-actions {
  gap: 0.6rem;
}

body.has-helper-workspace .tickets-settings-shell .tickets-button-table .row {
  gap: 0.5rem;
}

body.has-helper-workspace .tickets-simple-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 0.9rem;
}

body.has-helper-workspace .tickets-simple-stat {
  border: 1px solid rgba(145, 198, 255, 0.32);
  border-radius: 12px;
  background: rgba(18, 39, 60, 0.62);
  color: #e7f4ff;
  padding: 0.7rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
}

body.has-helper-workspace .tickets-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

body.has-helper-workspace .tickets-step-card {
  border: 1px solid rgba(145, 198, 255, 0.32);
  border-radius: 14px;
  background: rgba(15, 35, 54, 0.76);
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

body.has-helper-workspace .tickets-step-card h4 {
  margin: 0;
  color: #eff7ff;
  font-size: 0.95rem;
}

body.has-helper-workspace .tickets-step-card-compact {
  align-content: start;
}

body.has-helper-workspace .tickets-publish-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

body.has-helper-workspace .tickets-publish-actions .button {
  width: 100%;
}

@media (max-width: 980px) {
  body.has-helper-workspace .tickets-simple-actions,
  body.has-helper-workspace .tickets-step-grid {
    grid-template-columns: 1fr;
  }
}

body.has-helper-workspace .tickets-settings-shell {
  background:
    radial-gradient(1100px 500px at 12% -10%, rgba(76, 145, 212, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(8, 20, 34, 0.86), rgba(12, 24, 41, 0.94));
}

body.has-helper-workspace .tickets-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 0.95rem;
  align-items: start;
}

body.has-helper-workspace .tickets-steps-stack {
  display: grid;
  gap: 0.95rem;
}

body.has-helper-workspace .tickets-settings-shell .tickets-settings-group {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

body.has-helper-workspace .tickets-publish-card {
  border-color: rgba(133, 208, 255, 0.62) !important;
  background: linear-gradient(180deg, rgba(21, 55, 84, 0.98), rgba(12, 30, 46, 0.98));
}

body.has-helper-workspace .tickets-publish-actions {
  grid-template-columns: 1fr;
}

body.has-helper-workspace .tickets-publish-actions .button {
  width: 100%;
}

body.has-helper-workspace .tickets-side-summary {
  position: sticky;
  top: 0.85rem;
}

body.has-helper-workspace .tickets-summary-grid {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

body.has-helper-workspace .tickets-side-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

body.has-helper-workspace .tickets-side-links .tickets-quick-link {
  justify-content: flex-start;
}

body.has-helper-workspace .tickets-button-guide {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.has-helper-workspace .tickets-button-table .ticket-button-row {
  grid-template-columns: minmax(0, 1.3fr) minmax(120px, 0.7fr) minmax(0, 1fr) minmax(120px, 0.75fr) auto;
}

body.has-helper-workspace .tickets-button-actions {
  align-items: center;
}

@media (max-width: 1180px) {
  body.has-helper-workspace .tickets-main-layout {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .tickets-side-summary {
    position: static;
  }
}


@media (max-width: 1050px) {
  body.has-helper-workspace .tickets-setup-hero {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .tickets-setup-health {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .tickets-settings-shell .tickets-settings-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Dashboard Actions: force in-flow (fix floating/vanishing buttons)
   ========================================================= */
body.has-helper-workspace .helper-workspace .actions,
body.has-helper-workspace .helper-workspace .actions-inline,
body.has-helper-workspace .helper-workspace .button-row {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  margin-top: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: auto !important;
}

/* =========================================================
   Tickets Setup: Control Center polish
   ========================================================= */
body.has-helper-workspace .tickets-control-grid,
body.has-helper-workspace .tickets-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

body.has-helper-workspace .tickets-status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.6rem;
}

body.has-helper-workspace #tickets-control-center .actions {
  margin-top: 0.7rem !important;
}

body.has-helper-workspace #tickets-control-center .button.success {
  background: linear-gradient(180deg, #38d27e, #24b465) !important;
  border-color: rgba(103, 232, 164, 0.6) !important;
  color: #072212 !important;
  font-weight: 800;
}

body.has-helper-workspace #tickets-control-center .button.danger {
  font-weight: 700;
}

@media (max-width: 980px) {
  body.has-helper-workspace .tickets-control-grid {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .tickets-status-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Tickets Setup: smoother layout pass
   ========================================================= */
body.has-helper-workspace .tickets-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 0.12rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 194, 255, 0.52);
  background: rgba(21, 47, 74, 0.8);
  color: #e5f2ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .02em;
}

body.has-helper-workspace .tickets-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 1fr);
  gap: 1rem;
  align-items: start;
}

body.has-helper-workspace .tickets-main-primary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.has-helper-workspace .tickets-main-side {
  position: static;
}

body.has-helper-workspace #tickets-control-center {
  border-color: rgba(120, 197, 150, 0.58) !important;
  background: linear-gradient(180deg, rgba(23, 62, 49, 0.92), rgba(14, 44, 35, 0.95)) !important;
}

body.has-helper-workspace #tickets-buttons .tickets-button-table {
  margin-top: 0.5rem;
}

body.has-helper-workspace #tickets-buttons .ticket-button-row {
  align-items: center;
}

@media (max-width: 1180px) {
  body.has-helper-workspace .tickets-main-layout {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .tickets-main-side {
    position: static;
  }
}


/* =========================================================
   Tickets Setup: navigation + cleaner control center cards
   ========================================================= */
body.has-helper-workspace .tickets-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}

body.has-helper-workspace .tickets-quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 195, 255, 0.56);
  background: rgba(19, 43, 68, 0.76);
  color: #e5f2ff;
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
}

body.has-helper-workspace .tickets-quick-link:hover {
  border-color: rgba(188, 225, 255, 0.8);
  background: rgba(30, 62, 96, 0.86);
}

body.has-helper-workspace .tickets-control-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

body.has-helper-workspace .tickets-control-card {
  border: 1px solid rgba(140, 196, 255, 0.44);
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(16, 44, 69, 0.84), rgba(9, 31, 50, 0.9));
}

body.has-helper-workspace .tickets-control-card h4 {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: #e8f4ff;
}

body.has-helper-workspace .tickets-publish-card {
  display: grid;
  gap: 0.7rem;
}

body.has-helper-workspace .tickets-publish-head {
  display: grid;
  gap: 0.2rem;
}

body.has-helper-workspace .tickets-publish-head p {
  margin: 0;
  color: #c7def3;
  font-size: 0.83rem;
  line-height: 1.4;
}

body.has-helper-workspace .tickets-actions-tight {
  margin-top: 0.55rem !important;
}

body.has-helper-workspace .tickets-publish-status {
  display: grid;
  gap: 0.45rem;
}

body.has-helper-workspace .tickets-publish-actions {
  display: grid;
  gap: 0.45rem;
}

body.has-helper-workspace .tickets-inline-link {
  color: #d7ecff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

body.has-helper-workspace .tickets-inline-link:hover {
  text-decoration: underline;
}


body.has-helper-workspace .tickets-card-sub {
  margin: 0 0 0.55rem;
  color: #c7def3;
  font-size: 0.8rem;
  line-height: 1.35;
}

body.has-helper-workspace .tickets-action-group {
  display: grid;
  gap: 0.35rem;
}

body.has-helper-workspace .tickets-action-label {
  color: #dbeeff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.has-helper-workspace .tickets-publish-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

body.has-helper-workspace .tickets-publish-actions .button,
body.has-helper-workspace .tickets-action-group .actions .button {
  min-width: 0;
}

body.has-helper-workspace .tickets-inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.1rem;
}

body.has-helper-workspace .tickets-status-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border: 1px solid rgba(136, 193, 255, 0.4);
  border-radius: 10px;
  background: rgba(11, 34, 54, 0.75);
  padding: 0.5rem 0.6rem;
}

body.has-helper-workspace .tickets-status-pill span {
  font-size: 0.7rem;
  color: #b8d5ef;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.has-helper-workspace .tickets-status-pill code {
  color: #f3f9ff;
  font-size: 0.78rem;
  word-break: break-all;
}

@media (max-width: 1100px) {
  body.has-helper-workspace .tickets-control-columns {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Tickets Setup: unified button system (fix mixed old colors)
   ========================================================= */
body.has-helper-workspace .tickets-settings-shell .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  align-items: center;
}

body.has-helper-workspace .tickets-settings-shell .button,
body.has-helper-workspace .tickets-settings-shell .actions .button,
body.has-helper-workspace .tickets-settings-shell .helper-check-btn {
  min-height: 36px;
  padding: 0.42rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: transform 0.14s ease, filter 0.14s ease, border-color 0.14s ease;
}

body.has-helper-workspace .tickets-settings-shell .button:hover,
body.has-helper-workspace .tickets-settings-shell .helper-check-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

body.has-helper-workspace .tickets-settings-shell .button:not(.secondary):not(.danger):not(.success),
body.has-helper-workspace .tickets-settings-shell .button.primary {
  background: linear-gradient(135deg, #1aa6ff, #2c7dff) !important;
  border-color: rgba(151, 203, 255, 0.72) !important;
  color: #f4fbff !important;
}

body.has-helper-workspace .tickets-settings-shell .button.secondary,
body.has-helper-workspace .tickets-settings-shell .helper-check-btn {
  background: linear-gradient(180deg, rgba(34, 63, 92, 0.94), rgba(20, 41, 64, 0.96)) !important;
  border-color: rgba(139, 192, 255, 0.56) !important;
  color: #e9f5ff !important;
}

body.has-helper-workspace .tickets-settings-shell .button.success {
  background: linear-gradient(180deg, #3fd88d, #26b96f) !important;
  border-color: rgba(137, 239, 190, 0.66) !important;
  color: #052214 !important;
}

body.has-helper-workspace .tickets-settings-shell .button.danger {
  background: linear-gradient(180deg, #ef5a64, #d9303e) !important;
  border-color: rgba(255, 166, 172, 0.68) !important;
  color: #fff6f7 !important;
}

body.has-helper-workspace .tickets-settings-shell .helper-savebar .helper-save-state {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.12rem 0.56rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid rgba(130, 188, 255, 0.52);
  background: rgba(26, 51, 77, 0.86);
  color: #dfefff;
}

body.has-helper-workspace .tickets-settings-shell .helper-savebar .helper-save-state.state-ready {
  border-color: rgba(120, 228, 175, 0.62);
  background: rgba(21, 77, 57, 0.7);
  color: #dbffeb;
}

body.has-helper-workspace .tickets-settings-shell .helper-savebar .helper-save-state.state-dirty {
  border-color: rgba(255, 211, 141, 0.66);
  background: rgba(88, 62, 28, 0.72);
  color: #ffeccd;
}

body.has-helper-workspace .tickets-settings-shell .helper-savebar .helper-save-state.state-saving {
  border-color: rgba(166, 203, 255, 0.66);
  background: rgba(31, 58, 90, 0.78);
  color: #e8f4ff;
}

/* =========================================================
   Tickets Setup: linear flow overhaul
   ========================================================= */
body.has-helper-workspace .tickets-steps-stack {
  display: grid;
  gap: 0.95rem;
  margin: 0 0 0.95rem;
}

body.has-helper-workspace .tickets-flow-note {
  margin: 0 0 0.85rem;
  padding: 0.52rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(142, 198, 255, 0.5);
  background: rgba(19, 42, 66, 0.72);
  color: #d7ebff;
  font-size: 0.8rem;
  font-weight: 600;
}

body.has-helper-workspace .tickets-settings-shell .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

body.has-helper-workspace .tickets-settings-shell #tickets-control-center,
body.has-helper-workspace .tickets-settings-shell #tickets-core,
body.has-helper-workspace .tickets-settings-shell #tickets-panel-defaults,
body.has-helper-workspace .tickets-settings-shell #tickets-buttons,
body.has-helper-workspace .tickets-settings-shell #tickets-access {
  scroll-margin-top: 94px;
}

body.has-helper-workspace .tickets-settings-shell #tickets-buttons .actions {
  justify-content: space-between;
}

body.has-helper-workspace .tickets-settings-shell #tickets-buttons .tickets-group-sub {
  margin: 0;
}

@media (max-width: 980px) {
  body.has-helper-workspace .tickets-settings-shell .grid-2 {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .tickets-settings-shell #tickets-buttons .actions {
    justify-content: flex-start;
  }
}

/* =========================================================
   Helper Landing: dashboard flow refresh
   ========================================================= */
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-main-grid.helper-landing-sections {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 0.8rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-right {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-left {
  display: grid;
  gap: 0.75rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-page-group .section-head {
  margin-bottom: 0.35rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-shortcuts {
  padding: 0.78rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-card {
  padding: 0.65rem 0.7rem;
  border-radius: 11px;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-card .title {
  font-size: 0.82rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-card .sub {
  font-size: 0.72rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-snapshot {
  padding: 0.78rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.5rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpi {
  border: 1px solid rgba(137, 194, 255, 0.44);
  border-radius: 10px;
  padding: 0.45rem 0.52rem;
  background: rgba(16, 37, 57, 0.74);
  display: grid;
  gap: 0.1rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpi span {
  font-size: 0.7rem;
  color: #bedaf2;
  font-weight: 700;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpi strong {
  font-size: 0.92rem;
  color: #f0f8ff;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-quick-actions {
  margin-top: 0.6rem;
}

@media (max-width: 1180px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-main-grid.helper-landing-sections {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-grid,
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpis {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Landing Visual Refresh (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-bot-page.helper-landing-page {
  --helper-hub-bg-1: rgba(17, 35, 55, 0.95);
  --helper-hub-bg-2: rgba(26, 53, 84, 0.92);
  --helper-hub-card-1: rgba(20, 41, 63, 0.96);
  --helper-hub-card-2: rgba(13, 28, 45, 0.97);
  --helper-hub-line: rgba(144, 200, 255, 0.55);
  --helper-hub-line-strong: rgba(183, 225, 255, 0.78);
  --helper-hub-text: #eff8ff;
  --helper-hub-muted: #c8def3;
  --helper-hub-shadow: 0 14px 36px rgba(7, 18, 33, 0.46);
  gap: 0.95rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-topline {
  gap: 0.45rem;
  margin: 0;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-chip {
  border-color: var(--helper-hub-line);
  background: linear-gradient(180deg, rgba(27, 54, 83, 0.86), rgba(16, 34, 53, 0.9));
  color: var(--helper-hub-text);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-chip:first-child {
  border-color: rgba(122, 227, 178, 0.66);
  background: linear-gradient(180deg, rgba(23, 73, 56, 0.8), rgba(14, 49, 38, 0.84));
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-hero {
  border: 1px solid var(--helper-hub-line) !important;
  background:
    radial-gradient(520px 220px at 4% -45%, rgba(120, 190, 255, 0.26), transparent),
    radial-gradient(520px 220px at 103% -60%, rgba(118, 227, 206, 0.14), transparent),
    linear-gradient(150deg, var(--helper-hub-bg-2), var(--helper-hub-bg-1)) !important;
  box-shadow: var(--helper-hub-shadow);
  margin: 0;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.95fr);
  gap: 0.85rem;
  align-items: start;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-main,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-side {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-panel,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-snapshot,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-shortcuts,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority {
  border: 1px solid var(--helper-hub-line);
  background: linear-gradient(180deg, var(--helper-hub-card-1), var(--helper-hub-card-2));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(7, 18, 33, 0.36);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-panel,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-snapshot,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-shortcuts,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority {
  padding: 0.86rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-panel-head {
  margin-bottom: 0.62rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-panel-head h3,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-snapshot h3,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-shortcuts h3,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority h3 {
  margin: 0 0 0.2rem;
  color: #f2f9ff !important;
  font-size: 0.98rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-panel .section-sub,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority .section-sub {
  margin: 0;
  color: var(--helper-hub-muted) !important;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start .helper-landing-card,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-card {
  border: 1px solid rgba(149, 206, 255, 0.56);
  background: linear-gradient(180deg, rgba(33, 63, 94, 0.94), rgba(18, 37, 57, 0.96));
  color: var(--helper-hub-text);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(8, 18, 34, 0.34);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start .helper-landing-card:hover,
body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-card:hover {
  border-color: var(--helper-hub-line-strong);
  background: linear-gradient(180deg, rgba(46, 82, 119, 0.96), rgba(23, 47, 70, 0.97));
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 18, 33, 0.45);
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-kpis {
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-kpi {
  border-color: rgba(147, 203, 255, 0.52);
  background: linear-gradient(180deg, rgba(29, 56, 84, 0.88), rgba(18, 36, 56, 0.93));
  border-radius: 11px;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-kpi-label {
  color: #bfdaef;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-kpi-value {
  color: #f2f9ff;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority {
  border-color: rgba(255, 201, 122, 0.6);
  background: linear-gradient(180deg, rgba(79, 56, 26, 0.7), rgba(43, 30, 16, 0.8));
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority-count {
  border-color: rgba(255, 219, 160, 0.7);
  background: rgba(95, 65, 28, 0.62);
  color: #ffe9c7;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-priority-list li {
  color: #fff0dc;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.45rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpi {
  border-color: rgba(141, 198, 255, 0.5);
  background: linear-gradient(180deg, rgba(29, 57, 85, 0.88), rgba(16, 36, 57, 0.92));
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpi span {
  color: #c4ddf1;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpi strong {
  color: #f2f9ff;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-quick-actions .button.secondary {
  border-color: rgba(152, 207, 255, 0.64) !important;
  background: linear-gradient(180deg, rgba(35, 64, 94, 0.94), rgba(20, 41, 62, 0.96)) !important;
  color: #ecf6ff !important;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-quick-actions .button.secondary:hover {
  border-color: rgba(190, 227, 255, 0.82) !important;
  background: linear-gradient(180deg, rgba(48, 82, 118, 0.96), rgba(25, 51, 75, 0.97)) !important;
}

@media (max-width: 1180px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-shell {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-start,
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-kpis,
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-shortcut-grid,
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-mini-kpis {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Landing Hero Compact Pass (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-bot-page.helper-landing-page > .actions {
  margin: 0 0 0.45rem !important;
  gap: 0.42rem !important;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page > .actions .button {
  min-height: 32px;
  padding: 0.24rem 0.58rem;
  border-radius: 9px;
  font-size: 0.74rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .section-group-title {
  margin: 0.05rem 0 0.28rem;
  color: #bdd7ee;
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .dashboard-page-picker {
  margin: 0 0 0.62rem;
  max-width: 420px;
  gap: 0.3rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .dashboard-page-picker-label {
  color: #cbe2f5;
  text-transform: none;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .dashboard-page-picker-select {
  min-height: 36px;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  border-color: rgba(145, 201, 255, 0.58);
  background: linear-gradient(180deg, rgba(29, 58, 89, 0.94), rgba(15, 34, 55, 0.97));
  color: #edf7ff;
  font-size: 0.78rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.95fr);
  gap: 0.62rem;
  padding: 0.86rem 0.96rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-hero-main {
  display: grid;
  gap: 0.32rem;
  align-content: start;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-page-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-page-title {
  margin: 0;
  font-size: clamp(1.18rem, 1.75vw, 1.55rem);
  line-height: 1.15;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-page-subtitle {
  margin: 0;
  color: #c7def2;
  max-width: 62ch;
  font-size: 0.82rem;
  line-height: 1.42;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-topline-inline {
  margin-top: 0.2rem;
  gap: 0.36rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-topline-inline .helper-hub-chip {
  min-height: 24px;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-hero-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
  align-content: start;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-status {
  padding: 0.56rem 0.62rem;
  border-radius: 11px;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-status-label {
  font-size: 0.67rem;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-status-value {
  font-size: 1rem;
  line-height: 1.1;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-status-sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-status-bar {
  margin-top: 0.24rem;
}

@media (max-width: 1050px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-landing-hero {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-hero-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-bot-page.helper-landing-page .helper-hub-hero-side {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Helper Welcome Layout Refresh (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-welcome-layout.helper-welcome-layout-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 0.86rem;
  align-items: start;
}

body.has-helper-workspace .helper-welcome-layout.helper-welcome-layout-v2 .helper-welcome-main,
body.has-helper-workspace .helper-welcome-layout.helper-welcome-layout-v2 .helper-welcome-side {
  display: grid;
  gap: 0.76rem;
  min-width: 0;
}

body.has-helper-workspace .helper-welcome-card {
  border: 1px solid rgba(138, 197, 255, 0.52);
  border-radius: 14px;
  padding: 0.82rem 0.88rem;
  background: linear-gradient(180deg, rgba(31, 60, 90, 0.92), rgba(15, 33, 53, 0.96));
  box-shadow: 0 10px 24px rgba(8, 18, 33, 0.34);
}

body.has-helper-workspace .helper-welcome-card h3 {
  margin: 0 0 0.32rem;
  color: #f2f9ff !important;
  font-size: 0.96rem;
}

body.has-helper-workspace .helper-welcome-card .section-sub {
  margin: 0 0 0.62rem;
  color: #c8dff3 !important;
  font-size: 0.8rem;
}

body.has-helper-workspace .helper-welcome-message-grid,
body.has-helper-workspace .helper-welcome-routing-grid {
  display: grid;
  gap: 0.62rem;
}

body.has-helper-workspace .helper-welcome-message-grid .form-row,
body.has-helper-workspace .helper-welcome-routing-grid .form-row {
  margin: 0;
}

body.has-helper-workspace .helper-welcome-layout.helper-welcome-layout-v2 .helper-welcome-textarea {
  min-height: 108px;
}

body.has-helper-workspace .helper-welcome-token-grid {
  display: grid;
  gap: 0.45rem;
}

body.has-helper-workspace .helper-welcome-token {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.52rem;
  align-items: center;
  border: 1px solid rgba(136, 194, 255, 0.42);
  border-radius: 10px;
  padding: 0.46rem 0.56rem;
  background: rgba(16, 37, 57, 0.75);
}

body.has-helper-workspace .helper-welcome-token code {
  border: 1px solid rgba(143, 200, 255, 0.52);
  border-radius: 8px;
  padding: 0.06rem 0.38rem;
  background: rgba(11, 28, 45, 0.84);
  color: #eaf5ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.78rem;
}

body.has-helper-workspace .helper-welcome-token span {
  color: #d4e8fa;
  font-size: 0.79rem;
}

body.has-helper-workspace .helper-welcome-health-card {
  border-color: rgba(255, 208, 140, 0.58);
  background: linear-gradient(180deg, rgba(78, 56, 27, 0.68), rgba(40, 30, 18, 0.8));
}

body.has-helper-workspace .helper-welcome-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

body.has-helper-workspace .helper-welcome-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.48rem;
  align-items: center;
  border: 1px solid rgba(163, 198, 230, 0.46);
  border-radius: 10px;
  padding: 0.4rem 0.52rem;
  background: rgba(25, 43, 61, 0.66);
  color: #e4f2ff;
  font-size: 0.79rem;
}

body.has-helper-workspace .helper-welcome-check-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.04rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(151, 206, 255, 0.55);
  background: rgba(20, 46, 71, 0.82);
  color: #e7f4ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.has-helper-workspace .helper-welcome-checklist li.is-ok {
  border-color: rgba(123, 225, 176, 0.62);
  background: rgba(20, 74, 56, 0.54);
}

body.has-helper-workspace .helper-welcome-checklist li.is-ok .helper-welcome-check-state {
  border-color: rgba(124, 226, 177, 0.72);
  background: rgba(18, 90, 65, 0.76);
  color: #dcffec;
}

body.has-helper-workspace .helper-welcome-checklist li.is-warn {
  border-color: rgba(255, 201, 123, 0.62);
  background: rgba(84, 60, 25, 0.58);
}

body.has-helper-workspace .helper-welcome-checklist li.is-warn .helper-welcome-check-state {
  border-color: rgba(255, 210, 141, 0.72);
  background: rgba(96, 70, 28, 0.78);
  color: #ffedcf;
}

@media (max-width: 1120px) {
  body.has-helper-workspace .helper-welcome-layout.helper-welcome-layout-v2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Main Settings Save Row (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-section-save-row {
  display: flex;
  justify-content: flex-end;
  margin: 0.1rem 0 0.7rem;
}

body.has-helper-workspace .helper-section-save-row .button {
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-section-save-row {
    justify-content: stretch;
  }

  body.has-helper-workspace .helper-section-save-row .button {
    width: 100%;
  }
}

/* =========================================================
   Ticket Management Page Refresh (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.1rem 0 0.75rem;
}

body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-head h4 {
  margin: 0;
}

body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 30px;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(144, 202, 255, 0.62);
  background: rgba(21, 45, 70, 0.84);
  color: #e7f4ff;
  font-size: 0.74rem;
  font-weight: 800;
}

body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-card {
  border-color: rgba(140, 198, 255, 0.56);
  background: linear-gradient(180deg, rgba(30, 60, 90, 0.94), rgba(15, 34, 54, 0.96));
  box-shadow: 0 10px 24px rgba(8, 18, 33, 0.34);
}

body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-card.transcripts {
  margin-top: 0.1rem;
}

body.has-helper-workspace .helper-ticket-manage-page .ticket-manage-table .row,
body.has-helper-workspace .helper-ticket-manage-page .transcript-table .row {
  border-color: rgba(136, 195, 255, 0.34);
  background: rgba(17, 37, 57, 0.66);
}

body.has-helper-workspace .helper-ticket-manage-page .table .row.header {
  background: rgba(30, 58, 87, 0.86);
}

body.has-helper-workspace .helper-ticket-manage-page .ticket-manage-table .inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body.has-helper-workspace .helper-ticket-manage-page .ticket-manage-table .inline-form .button,
body.has-helper-workspace .helper-ticket-manage-page .transcript-table .button {
  min-height: 30px;
  padding: 0.24rem 0.56rem;
  font-size: 0.74rem;
}

body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-empty {
  margin: 0.15rem 0 0.3rem;
  color: #c8def3;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-ticket-manage-page .tickets-manage-toolbar .button {
    width: 100%;
  }
}

/* =========================================================
   Helper Moderation Page Refresh (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-moderation-page .moderation-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.08rem 0 0.75rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.95fr);
  gap: 0.86rem;
  align-items: start;
}

body.has-helper-workspace .helper-moderation-page .moderation-shell.moderation-shell--single {
  grid-template-columns: minmax(0, 1fr);
}

body.has-helper-workspace .helper-moderation-page .moderation-main,
body.has-helper-workspace .helper-moderation-page .moderation-side {
  display: grid;
  gap: 0.82rem;
  min-width: 0;
}

body.has-helper-workspace .helper-moderation-page .moderation-card {
  border: 1px solid rgba(140, 198, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(30, 60, 90, 0.94), rgba(15, 34, 54, 0.96));
  box-shadow: 0 10px 24px rgba(8, 18, 33, 0.34);
}

body.has-helper-workspace .helper-moderation-page .moderation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.64rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-span-2 {
  grid-column: span 2;
}

body.has-helper-workspace .helper-moderation-page .moderation-button-row {
  margin-top: 0.5rem;
  gap: 0.42rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-button-row .button {
  min-height: 32px;
  padding: 0.28rem 0.62rem;
  font-size: 0.75rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-subhead {
  margin-top: 0.6rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-chip-list {
  margin-top: 0.42rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-warning-list {
  margin-top: 0.25rem;
  max-height: 340px;
}

body.has-helper-workspace .helper-moderation-page .moderation-warning-list li {
  display: grid;
  gap: 0.14rem;
  padding: 0.5rem 0.62rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-warning-list li strong {
  color: #eaf5ff;
  font-size: 0.76rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-warning-list li span {
  color: #c8def3;
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  body.has-helper-workspace .helper-moderation-page .moderation-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-moderation-page .moderation-form-grid {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-moderation-page .moderation-span-2 {
    grid-column: auto;
  }

  body.has-helper-workspace .helper-moderation-page .moderation-toolbar .button {
    width: 100%;
  }
}


/* Moderation layout pass (2026-03-31 late) */
body.has-helper-workspace .helper-utility-page .helper-utility-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

body.has-helper-workspace .helper-utility-page .helper-utility-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.has-helper-workspace .helper-utility-page .helper-utility-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 165, 90, 0.22);
  background: rgba(40, 24, 14, 0.72);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-utility-page .helper-utility-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.has-helper-workspace .helper-utility-page .helper-utility-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 165, 90, 0.18);
  background: linear-gradient(180deg, rgba(31, 18, 11, 0.94), rgba(21, 12, 8, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.has-helper-workspace .helper-utility-page .helper-utility-card-wide {
  grid-column: 1 / -1;
}

body.has-helper-workspace .helper-utility-page .helper-utility-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

body.has-helper-workspace .helper-utility-page .helper-utility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.has-helper-workspace .helper-utility-page .helper-utility-table {
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-utility-page .helper-utility-head,
  body.has-helper-workspace .helper-utility-page .helper-utility-summary {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  body.has-helper-workspace .helper-utility-page .helper-utility-layout,
  body.has-helper-workspace .helper-utility-page .helper-utility-grid {
    grid-template-columns: 1fr;
  }
}

body.has-helper-workspace .helper-xp-page .helper-xp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

body.has-helper-workspace .helper-xp-page .helper-xp-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.has-helper-workspace .helper-xp-page .helper-xp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 165, 90, 0.22);
  background: rgba(40, 24, 14, 0.72);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-xp-page .helper-xp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

body.has-helper-workspace .helper-xp-page .helper-xp-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 165, 90, 0.18);
  background: linear-gradient(180deg, rgba(31, 18, 11, 0.94), rgba(21, 12, 8, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.has-helper-workspace .helper-xp-page .helper-xp-card-wide {
  grid-column: 1 / -1;
}

body.has-helper-workspace .helper-xp-page .helper-xp-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

body.has-helper-workspace .helper-xp-page .helper-xp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.has-helper-workspace .helper-xp-page .helper-xp-table {
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-xp-page .helper-xp-head,
  body.has-helper-workspace .helper-xp-page .helper-xp-summary {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  body.has-helper-workspace .helper-xp-page .helper-xp-layout,
  body.has-helper-workspace .helper-xp-page .helper-xp-grid {
    grid-template-columns: 1fr;
  }
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 165, 90, 0.22);
  background: rgba(40, 24, 14, 0.72);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 165, 90, 0.18);
  background: linear-gradient(180deg, rgba(31, 18, 11, 0.94), rgba(21, 12, 8, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-card-wide {
  align-self: stretch;
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

body.has-helper-workspace .helper-birthdays-page .helper-birthdays-table {
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-birthdays-page .helper-birthdays-head,
  body.has-helper-workspace .helper-birthdays-page .helper-birthdays-summary {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  body.has-helper-workspace .helper-birthdays-page .helper-birthdays-layout {
    grid-template-columns: 1fr;
  }
}

body.has-helper-workspace .helper-fun-page .helper-fun-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

body.has-helper-workspace .helper-fun-page .helper-fun-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.has-helper-workspace .helper-fun-page .helper-fun-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 165, 90, 0.22);
  background: rgba(40, 24, 14, 0.72);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-fun-page .helper-fun-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.has-helper-workspace .helper-fun-page .helper-fun-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 165, 90, 0.18);
  background: linear-gradient(180deg, rgba(31, 18, 11, 0.94), rgba(21, 12, 8, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.has-helper-workspace .helper-fun-page .helper-fun-card-wide {
  grid-column: 1 / -1;
}

body.has-helper-workspace .helper-fun-page .helper-fun-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

body.has-helper-workspace .helper-fun-page .helper-fun-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.has-helper-workspace .helper-fun-page .helper-fun-note {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 165, 90, 0.14);
  background: rgba(29, 18, 11, 0.7);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-fun-page .helper-fun-head,
  body.has-helper-workspace .helper-fun-page .helper-fun-summary {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  body.has-helper-workspace .helper-fun-page .helper-fun-layout,
  body.has-helper-workspace .helper-fun-page .helper-fun-grid {
    grid-template-columns: 1fr;
  }
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 165, 90, 0.22);
  background: rgba(40, 24, 14, 0.72);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 16px;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 165, 90, 0.18);
  background: linear-gradient(180deg, rgba(31, 18, 11, 0.94), rgba(21, 12, 8, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-grid--channels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-filter {
  margin: 0;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-audit {
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-audit li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 165, 90, 0.14);
  background: rgba(29, 18, 11, 0.7);
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-audit li strong {
  color: #fff2e5;
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-audit li span {
  color: var(--muted);
}

body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-audit li em {
  color: #ffca8e;
  font-style: normal;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-head,
  body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-summary {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-layout,
  body.has-helper-workspace .helper-admin-tools-page .helper-admin-tools-grid {
    grid-template-columns: 1fr;
  }
}

body.has-helper-workspace .helper-moderation-page .moderation-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0.95rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-jump-nav .chip {
  text-decoration: none;
  border: 1px solid rgba(126, 189, 255, 0.55);
  background: linear-gradient(180deg, rgba(26, 59, 93, 0.95), rgba(17, 39, 61, 0.96));
  color: #deefff;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-moderation-page .moderation-jump-nav .chip:hover {
  border-color: rgba(166, 216, 255, 0.85);
  background: linear-gradient(180deg, rgba(38, 76, 113, 0.95), rgba(21, 48, 74, 0.96));
}

body.has-helper-workspace .helper-moderation-page .moderation-main {
  display: grid;
  gap: 0.9rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-grid {
  display: grid;
  gap: 0.86rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.has-helper-workspace .helper-moderation-page .moderation-head {
  margin-bottom: 0.45rem;
}

body.has-helper-workspace .helper-moderation-page .moderation-inline-filter {
  margin: 0.25rem 0 0.6rem;
  max-width: 360px;
}

@media (max-width: 1040px) {
  body.has-helper-workspace .helper-moderation-page .moderation-grid--2 {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Helper Reaction Panels Page Refresh (2026-03-31)
   ========================================================= */
body.has-helper-workspace .helper-reaction-page .reaction-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.2rem 0 0.95rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 0.86rem;
  align-items: start;
}

body.has-helper-workspace .helper-reaction-page .reaction-card {
  border: 1px solid rgba(139, 198, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(30, 60, 90, 0.94), rgba(15, 34, 54, 0.96));
  box-shadow: 0 10px 24px rgba(8, 18, 33, 0.34);
}

body.has-helper-workspace .helper-reaction-page .reaction-builder-form {
  display: grid;
  gap: 0.75rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-builder-span-2 {
  grid-column: span 2;
}

body.has-helper-workspace .helper-reaction-page .reaction-role-section {
  margin-top: 0.15rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-role-controls {
  display: flex;
  align-items: center;
  gap: 0.46rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-submit-row {
  margin-top: 0.1rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-list {
  display: grid;
  gap: 0.62rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item {
  border: 1px solid rgba(125, 184, 241, 0.42);
  border-radius: 12px;
  background: rgba(16, 35, 56, 0.72);
  padding: 0.62rem;
  display: grid;
  gap: 0.56rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item-active {
  border-color: rgba(96, 199, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(96, 199, 255, 0.5), 0 8px 18px rgba(8, 22, 38, 0.32);
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item-head h4 {
  margin: 0;
  color: #eaf5ff;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-meta {
  display: grid;
  gap: 0.2rem;
  color: #cfe2f5;
  font-size: 0.82rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-empty {
  border: 1px dashed rgba(130, 186, 239, 0.5);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(15, 34, 53, 0.62);
}

body.has-helper-workspace .helper-reaction-page .chip-ok {
  border-color: rgba(84, 186, 132, 0.72);
  color: #d7ffe9;
  background: linear-gradient(180deg, rgba(36, 94, 61, 0.95), rgba(24, 62, 42, 0.96));
}

@media (max-width: 1040px) {
  body.has-helper-workspace .helper-reaction-page .reaction-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-reaction-page .reaction-builder-grid {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-reaction-page .reaction-builder-span-2 {
    grid-column: auto;
  }

  body.has-helper-workspace .helper-reaction-page .reaction-role-controls {
    width: 100%;
    justify-content: space-between;
  }
}


/* =========================================================
   Helper Reaction Triggers Page Refresh (2026-04-01)
   ========================================================= */
body.has-helper-workspace .helper-trigger-page .trigger-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0.85rem;
}

body.has-helper-workspace .helper-trigger-page .trigger-builder-form {
  display: grid;
  gap: 0.8rem;
}

body.has-helper-workspace .helper-trigger-page .trigger-builder-card {
  border: 1px solid rgba(136, 196, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 58, 89, 0.94), rgba(15, 34, 54, 0.96));
  box-shadow: 0 10px 24px rgba(8, 18, 33, 0.34);
}

body.has-helper-workspace .helper-trigger-page .trigger-toolbar {
  align-items: flex-start;
  gap: 0.72rem;
}

body.has-helper-workspace .helper-trigger-page .trigger-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.has-helper-workspace .helper-trigger-page .trigger-rows {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.35rem;
}

body.has-helper-workspace .helper-trigger-page .trigger-row {
  border: 1px solid rgba(126, 187, 247, 0.42);
  border-radius: 12px;
  background: rgba(16, 35, 56, 0.74);
  padding: 0.68rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
  align-items: end;
}

body.has-helper-workspace .helper-trigger-page .trigger-span-3 {
  grid-column: span 3;
}

body.has-helper-workspace .helper-trigger-page .trigger-row-actions {
  grid-column: span 3;
  display: flex;
  justify-content: flex-end;
}

body.has-helper-workspace .helper-trigger-page .trigger-submit-row {
  margin-top: 0.12rem;
}

@media (max-width: 960px) {
  body.has-helper-workspace .helper-trigger-page .trigger-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.has-helper-workspace .helper-trigger-page .trigger-span-3,
  body.has-helper-workspace .helper-trigger-page .trigger-row-actions {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  body.has-helper-workspace .helper-trigger-page .trigger-row {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-trigger-page .trigger-span-3,
  body.has-helper-workspace .helper-trigger-page .trigger-row-actions {
    grid-column: span 1;
  }

  body.has-helper-workspace .helper-trigger-page .trigger-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body.has-helper-workspace .helper-trigger-page .trigger-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  body.has-helper-workspace .helper-trigger-page .trigger-row-actions .button {
    width: 100%;
  }
}

/* =========================================================
   Helper Stats & Delays Page Refresh (2026-04-01)
   ========================================================= */
body.has-helper-workspace .helper-stats-page .stats-mode-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 0.1rem 0 0.75rem;
}

body.has-helper-workspace .helper-stats-page .stats-mode-nav .button {
  min-height: 34px;
  padding: 0.34rem 0.66rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

body.has-helper-workspace .helper-stats-page .stats-mode-nav .button.is-active {
  background: linear-gradient(135deg, #24abff, #2f80ff) !important;
  border-color: rgba(154, 207, 255, 0.78) !important;
  color: #f4fbff !important;
}

body.has-helper-workspace .helper-stats-page .stats-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.08rem 0 0.92rem;
}

body.has-helper-workspace .helper-stats-page .stats-delays-form {
  display: grid;
  gap: 0.9rem;
}

body.has-helper-workspace .helper-stats-page .stats-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.92rem;
  align-items: start;
}

body.has-helper-workspace .helper-stats-page .stats-card {
  border: 1px solid rgba(132, 193, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 56, 87, 0.94), rgba(14, 32, 51, 0.96));
  box-shadow: 0 10px 22px rgba(8, 18, 32, 0.3);
}

body.has-helper-workspace .helper-stats-page .stats-toolbar {
  align-items: flex-start;
  gap: 0.72rem;
}

body.has-helper-workspace .helper-stats-page .stats-toolbar .section-sub {
  margin: 0.28rem 0 0;
}

body.has-helper-workspace .helper-stats-page .counter-rows,
body.has-helper-workspace .helper-stats-page .delay-rows {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.38rem;
}

body.has-helper-workspace .helper-stats-page .counter-row {
  border: 1px solid rgba(127, 188, 247, 0.42);
  border-radius: 12px;
  background: rgba(16, 36, 57, 0.75);
  padding: 0.66rem;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr auto;
  gap: 0.56rem;
  align-items: end;
  margin-bottom: 0;
}

body.has-helper-workspace .helper-stats-page .delay-row {
  border: 1px solid rgba(127, 188, 247, 0.42);
  border-radius: 12px;
  background: rgba(16, 36, 57, 0.75);
  padding: 0.66rem;
  display: grid;
  grid-template-columns: 1.15fr 0.78fr 1.45fr auto;
  gap: 0.56rem;
  align-items: end;
  margin-bottom: 0;
}

body.has-helper-workspace .helper-stats-page .stats-submit-row {
  margin-top: 0.05rem;
}

@media (max-width: 1060px) {
  body.has-helper-workspace .helper-stats-page .stats-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-stats-page .stats-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body.has-helper-workspace .helper-stats-page .counter-row,
  body.has-helper-workspace .helper-stats-page .delay-row {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-stats-page .counter-row .button,
  body.has-helper-workspace .helper-stats-page .delay-row .button {
    width: 100%;
  }
}

/* =========================================================
   Helper Auto Commands Page Refresh (2026-04-01)
   ========================================================= */
body.has-helper-workspace .helper-auto-page .auto-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.08rem 0 0.9rem;
}

body.has-helper-workspace .helper-auto-page .auto-command-form {
  display: grid;
  gap: 0.9rem;
}

body.has-helper-workspace .helper-auto-page .auto-builder-card {
  border: 1px solid rgba(132, 193, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 56, 87, 0.94), rgba(14, 32, 51, 0.96));
  box-shadow: 0 10px 22px rgba(8, 18, 32, 0.3);
}

body.has-helper-workspace .helper-auto-page .auto-toolbar {
  align-items: flex-start;
  gap: 0.72rem;
}

body.has-helper-workspace .helper-auto-page .auto-toolbar .section-sub {
  margin: 0.28rem 0 0;
}

body.has-helper-workspace .helper-auto-page .auto-rows {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.35rem;
}

body.has-helper-workspace .helper-auto-page .auto-row {
  border: 1px solid rgba(127, 188, 247, 0.42);
  border-radius: 12px;
  background: rgba(16, 36, 57, 0.75);
  padding: 0.66rem;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.45fr auto;
  gap: 0.56rem;
  align-items: end;
  margin-bottom: 0;
}

body.has-helper-workspace .helper-auto-page .auto-submit-row {
  margin-top: 0.15rem;
}

@media (max-width: 980px) {
  body.has-helper-workspace .helper-auto-page .auto-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.has-helper-workspace .helper-auto-page .auto-text-field {
    grid-column: span 2;
  }

  body.has-helper-workspace .helper-auto-page .auto-remove {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  body.has-helper-workspace .helper-auto-page .auto-row {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-auto-page .auto-text-field,
  body.has-helper-workspace .helper-auto-page .auto-remove {
    grid-column: span 1;
  }

  body.has-helper-workspace .helper-auto-page .auto-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body.has-helper-workspace .helper-auto-page .auto-remove {
    width: 100%;
  }
}

/* =========================================================
   Helper Giveaways Page Refresh (2026-04-01)
   ========================================================= */
body.has-helper-workspace .helper-giveaways-page .giveaway-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.08rem 0 0.9rem;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.9rem;
  align-items: start;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-card {
  border: 1px solid rgba(132, 193, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 56, 87, 0.94), rgba(14, 32, 51, 0.96));
  box-shadow: 0 10px 22px rgba(8, 18, 32, 0.3);
}

body.has-helper-workspace .helper-giveaways-page .giveaway-toolbar {
  align-items: flex-start;
  gap: 0.72rem;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-toolbar .section-sub {
  margin: 0.28rem 0 0;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-form {
  display: grid;
  gap: 0.7rem;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-submit-row {
  margin-top: 0.1rem;
}

body.has-helper-workspace .helper-giveaways-page .giveaway-action-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

@media (max-width: 1120px) {
  body.has-helper-workspace .helper-giveaways-page .giveaway-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-giveaways-page .giveaway-grid {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-giveaways-page .giveaway-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body.has-helper-workspace .helper-giveaways-page .giveaway-action-form {
    width: 100%;
  }

  body.has-helper-workspace .helper-giveaways-page .giveaway-action-form .button {
    flex: 1 1 100%;
  }
}

/* =========================================================
   Helper Reaction Panels Page Refresh (2026-04-01)
   ========================================================= */
body.has-helper-workspace .helper-reaction-page .reaction-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.08rem 0 0.9rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.9rem;
  align-items: start;
}

body.has-helper-workspace .helper-reaction-page .reaction-card {
  border: 1px solid rgba(132, 193, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 56, 87, 0.94), rgba(14, 32, 51, 0.96));
  box-shadow: 0 10px 22px rgba(8, 18, 32, 0.3);
}

body.has-helper-workspace .helper-reaction-page .reaction-toolbar {
  align-items: flex-start;
  gap: 0.72rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-toolbar .section-sub {
  margin: 0.28rem 0 0;
}

body.has-helper-workspace .helper-reaction-page .reaction-builder-form {
  display: grid;
  gap: 0.8rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-builder-span-2 {
  grid-column: 1 / -1;
}

body.has-helper-workspace .helper-reaction-page .reaction-role-section {
  border: 1px solid rgba(132, 193, 255, 0.34);
  border-radius: 12px;
  background: rgba(16, 36, 57, 0.5);
}

body.has-helper-workspace .helper-reaction-page .reaction-role-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.7rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-role-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.has-helper-workspace .helper-reaction-page .role-rows {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.45rem;
}

body.has-helper-workspace .helper-reaction-page .role-row {
  border: 1px solid rgba(127, 188, 247, 0.42);
  border-radius: 12px;
  background: rgba(16, 36, 57, 0.75);
  padding: 0.66rem;
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr auto;
  gap: 0.56rem;
  align-items: end;
  margin-bottom: 0;
}

body.has-helper-workspace .helper-reaction-page .reaction-submit-row {
  margin-top: 0.05rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-list {
  display: grid;
  gap: 0.75rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item {
  border: 1px solid rgba(127, 188, 247, 0.36);
  border-radius: 12px;
  background: rgba(16, 36, 57, 0.72);
  padding: 0.7rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item-active {
  border-color: rgba(144, 204, 255, 0.74);
  box-shadow: 0 0 0 1px rgba(144, 204, 255, 0.18);
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-item-head h4 {
  margin: 0;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  color: #cfe2f5;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.has-helper-workspace .helper-reaction-page .reaction-empty {
  border: 1px dashed rgba(130, 186, 239, 0.5);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(15, 34, 53, 0.62);
}

@media (max-width: 1080px) {
  body.has-helper-workspace .helper-reaction-page .reaction-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-helper-workspace .helper-reaction-page .reaction-builder-grid {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-reaction-page .reaction-builder-span-2 {
    grid-column: auto;
  }

  body.has-helper-workspace .helper-reaction-page .reaction-role-head,
  body.has-helper-workspace .helper-reaction-page .reaction-panel-item-head {
    flex-direction: column;
    align-items: stretch;
  }

  body.has-helper-workspace .helper-reaction-page .reaction-role-controls {
    width: 100%;
    justify-content: space-between;
  }

  body.has-helper-workspace .helper-reaction-page .role-row {
    grid-template-columns: 1fr;
  }

  body.has-helper-workspace .helper-reaction-page .reaction-panel-actions .button {
    width: 100%;
  }
}





@media (max-width: 900px) {
  .my-stats-page .my-stats-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-stats-page .my-stats-totals-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .my-stats-page .my-stats-kpi-strip {
    grid-template-columns: 1fr;
  }
}

.my-stats-page .my-stats-totals-layout-v3 {
  gap: 10px;
}

.my-stats-page .my-stats-kpi-strip.v3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.my-stats-page .my-stats-kpi-strip.v3 .kpi {
  border-color: rgba(255, 138, 43, 0.28);
  background: linear-gradient(180deg, rgba(255, 138, 43, 0.12), rgba(255, 138, 43, 0.02));
}

.my-stats-page .my-stats-compact-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.my-stats-page .my-stats-compact-group {
  border: 1px solid rgba(255, 138, 43, 0.2);
  border-radius: 12px;
  background: rgba(255, 138, 43, 0.04);
  padding: 8px 10px;
}

.my-stats-page .my-stats-compact-group h3 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 205, 163, 0.95);
}

.my-stats-page .my-stats-compact-list {
  display: grid;
  gap: 3px;
}

.my-stats-page .my-stats-compact-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding: 2px 0;
}

.my-stats-page .my-stats-compact-list > div:last-child {
  border-bottom: 0;
}

.my-stats-page .my-stats-compact-list span {
  font-size: 0.75rem;
  color: var(--muted);
}

.my-stats-page .my-stats-compact-list strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: right;
}

@media (max-width: 900px) {
  .my-stats-page .my-stats-kpi-strip.v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-stats-page .my-stats-compact-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .my-stats-page .my-stats-kpi-strip.v3 {
    grid-template-columns: 1fr;
  }
}

/* My Stats layout refresh (desktop + mobile) */
.my-stats-page {
  max-width: 1240px;
  margin: 0 auto;
  gap: 12px;
}

.my-stats-page .my-stats-shell-head {
  margin: 0;
}

.my-stats-page .my-stats-shell-head .card {
  border-radius: 14px;
}

.my-stats-page .my-stats-hero {
  padding: 14px;
}

.my-stats-page .my-stats-hero-layout {
  gap: 12px;
}

.my-stats-page .my-stats-hero-tools {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 10px;
}

.my-stats-page .my-stats-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.my-stats-page .my-stats-quick-actions .button {
  width: 100%;
}

.my-stats-page .my-stats-section-nav {
  background: rgba(255, 138, 43, 0.08);
  border-color: rgba(255, 138, 43, 0.28);
}

.my-stats-page .my-stats-insights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.my-stats-page .my-stats-insight-card {
  min-width: 0;
}

.my-stats-page .my-stats-achievement-list {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  max-height: 320px;
}

.my-stats-page .my-stats-achievement-item {
  min-height: 0;
}

@media (max-width: 1024px) {
  .my-stats-page .my-stats-hero-tools {
    grid-template-columns: 1fr;
  }

  .my-stats-page .my-stats-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .my-stats-page {
    gap: 8px;
    padding-bottom: 140px;
  }

  .my-stats-page .my-stats-shell-head .card {
    padding: 10px 12px;
  }

  .my-stats-page .my-stats-hero {
    padding: 10px;
  }

  .my-stats-page .my-stats-hero-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .my-stats-page .my-stats-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .my-stats-page .my-stats-hero-tools {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .my-stats-page .my-stats-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .my-stats-page .my-stats-insights-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .my-stats-page .my-stats-insights-grid > .my-stats-insight-card {
    scroll-snap-align: none;
  }

  .my-stats-page .my-stats-achievement-list {
    grid-template-columns: 1fr;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .my-stats-page .my-stats-hero-copy h2 {
    font-size: 1.08rem;
  }

  .my-stats-page .hero-chip {
    padding: 6px 8px;
    font-size: 0.73rem;
  }

  .my-stats-page .hero-stat-card {
    padding: 9px;
  }

  .my-stats-page .hero-stat-card strong {
    font-size: 0.98rem;
  }

  .my-stats-page .my-stats-achievement-list {
    grid-template-columns: 1fr;
  }
}

/* Force Profile Quality / Weekly Goals / Map Insights as 3 stable blocks (no horizontal scroll) */
.my-stats-page .my-stats-insights-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  gap: 10px;
}

.my-stats-page .my-stats-insights-grid > .my-stats-insight-card {
  min-width: 0;
  width: 100%;
  scroll-snap-align: none !important;
}

/* Keep one-row layout as long as possible */
@media (max-width: 980px) {
  .my-stats-page .my-stats-insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
  }
}

/* Stack only on true mobile */
@media (max-width: 760px) {
  .my-stats-page .my-stats-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* My Stats cohesive UI pass: vibrant + flowing + mobile friendly */
.my-stats-page {
  --ms-accent: #ff8a2b;
  --ms-accent-soft: rgba(255, 138, 43, 0.14);
  --ms-accent-strong: rgba(255, 138, 43, 0.28);
  --ms-info: #67b7ff;
  --ms-good: #42d89a;
  --ms-warn: #ffb65f;
  --ms-bad: #ff6b7a;
}

.my-stats-page .card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .my-stats-page .card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 138, 43, 0.24);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  }
}

.my-stats-page .section-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  padding-left: 10px;
}

.my-stats-page .section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 138, 43, 0.95), rgba(255, 138, 43, 0.35));
}

.my-stats-page .section-head h2 {
  letter-spacing: 0.01em;
}

.my-stats-page .my-stats-hero {
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(255, 166, 92, 0.22) 0%, rgba(255, 166, 92, 0) 50%),
    linear-gradient(140deg, rgba(255, 138, 43, 0.14), rgba(11, 17, 31, 0.95) 48%, rgba(10, 22, 40, 0.98));
  border-color: var(--ms-accent-strong);
}

.my-stats-page .hero-chip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.14);
}

.my-stats-page .hero-chip strong {
  color: #ffd0a4;
}

.my-stats-page .hero-stat-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.my-stats-page .my-stats-quick-actions .button,
.my-stats-page .my-stats-nav-actions .button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  font-weight: 700;
}

.my-stats-page .my-stats-quick-actions .button:hover,
.my-stats-page .my-stats-nav-actions .button:hover {
  border-color: var(--ms-accent-strong);
  box-shadow: 0 0 0 2px rgba(255, 138, 43, 0.1) inset;
}

.my-stats-page .my-stats-density-control .button.active,
.my-stats-page .my-stats-density-control .button[data-density-mode].active {
  border-color: var(--ms-accent-strong);
  background: linear-gradient(180deg, rgba(255, 138, 43, 0.24), rgba(255, 138, 43, 0.07));
  color: #ffd7b5;
}

.my-stats-page .my-stats-section-nav {
  border-color: var(--ms-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 43, 0.12);
}

.my-stats-page .weekly-net-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(103, 183, 255, 0.14), rgba(103, 183, 255, 0.04));
}

.my-stats-page .quality-check-list,
.my-stats-page .weekly-goal-list,
.my-stats-page .hotspot-list {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.my-stats-page .profile-quality-score.good {
  color: var(--ms-good);
}

.my-stats-page .profile-quality-score.warn {
  color: var(--ms-warn);
}

.my-stats-page .profile-quality-score.bad {
  color: var(--ms-bad);
}

.my-stats-page .mobile-pill {
  border: 1px solid rgba(255, 138, 43, 0.24);
  background: linear-gradient(180deg, rgba(255, 138, 43, 0.12), rgba(255, 138, 43, 0.03));
}

@media (max-width: 760px) {
  .my-stats-page .my-stats-mobile-bar {
    position: sticky;
    top: 8px;
    z-index: 32;
  }

  .my-stats-page .my-stats-section-nav {
    position: sticky;
    top: 54px;
    z-index: 31;
    backdrop-filter: blur(8px);
  }

  .my-stats-page .card {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }

  .my-stats-page .section-head {
    padding-left: 8px;
  }

  .my-stats-page .section-head::before {
    top: 2px;
    bottom: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .my-stats-page .card,
  .my-stats-page .button {
    transition: none !important;
  }
}


/* Hard mobile override for Achievements section (match ID specificity) */
@media (max-width: 760px) {
  .my-stats-page #my-stats-achievements-section .my-stats-achievement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    align-items: start !important;
    max-height: 300px;
  }

  .my-stats-page #my-stats-achievements-section .my-stats-achievement-item {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .my-stats-page #my-stats-achievements-section .my-stats-achievement-name {
    width: 100% !important;
    min-width: 0 !important;
    line-height: 1.34 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .my-stats-page #my-stats-achievements-section .status-pill {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}
/* Safety wrap guard for mobile achievement filters */
@media (max-width: 760px) {
  .my-stats-page #my-stats-achievements-section .my-stats-achievement-item,
  .my-stats-page #my-stats-achievements-section .my-stats-achievement-item * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .my-stats-page #my-stats-achievements-section .my-stats-achievement-name {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.34;
  }
}
.my-stats-page #my-stats-achievements-section .my-stats-achievement-item.is-hidden {
  display: none !important;
}

/* Achievements canonical layout (single source of truth) */
.my-stats-page #my-stats-achievements-section .my-stats-achievement-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 8px !important;
  max-height: 320px !important;
  overflow-y: auto !important;
  align-items: start !important;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  min-width: 0 !important;
  min-height: 74px !important;
  padding: 8px 10px !important;
  overflow: hidden !important;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-name {
  width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.34 !important;
}

.my-stats-page #my-stats-achievements-section .status-pill {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
}

.my-stats-page #my-stats-achievements-section .my-stats-achievement-item.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .my-stats-page #my-stats-achievements-section .my-stats-achievement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-height: 300px !important;
  }
}