/* PulseBot v22.1.1 — clean server information and Premium rebuild. */

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-page,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-page {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 22px;
  color: #eef2f7;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-page *,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-page * {
  box-sizing: border-box;
}

/* Shared, reliable avatar rendering. */
body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-avatar,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-avatar {
  width: 68px;
  height: 68px;
  min-width: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 17px;
  background: #0b0f15;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-avatar .safe-avatar,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-avatar .safe-avatar {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-avatar .safe-avatar img,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-avatar .safe-avatar img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  filter: none !important;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-avatar .safe-avatar-fallback,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-avatar .safe-avatar-fallback {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  color: #d8dee8 !important;
  font-size: 1.2rem !important;
  font-weight: 650 !important;
  background: #171c24 !important;
  border-radius: 0 !important;
}

/* Server information. */
body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-header,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 4px 22px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-identity,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-title,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity > div:last-child {
  min-width: 0;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-title > span,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity > div:last-child > span,
body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section > header > span,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-plan > header > span,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer > div:first-child > span,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-section > header > span {
  display: block;
  margin-bottom: 6px;
  color: #8792a2;
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-title h1,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity h1 {
  margin: 0;
  color: #f4f7fb;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-title p,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #98a2b0;
  font-size: .92rem;
  line-height: 1.55;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.065);
  border-bottom: 1px solid rgba(255,255,255,.065);
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary > div {
  min-width: 0;
  padding: 18px 20px;
  border-left: 1px solid rgba(255,255,255,.06);
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary > div:first-child {
  border-left: 0;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary dt,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts dt {
  color: #7f8998;
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary dd {
  margin: 6px 0 0;
  color: #f2f5f9;
  font-size: 1.25rem;
  font-weight: 650;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-plan,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-section {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 16px;
  background: rgba(12,16,22,.72);
  box-shadow: none;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section > header,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-plan > header,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-section > header {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section h2,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-plan h2,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer h2,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-section h2 {
  margin: 0;
  color: #eef2f7;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section > header p,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer p,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-section > header p {
  margin: 6px 0 0;
  color: #8e98a6;
  font-size: .84rem;
  line-height: 1.5;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section > dl {
  margin: 0;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row {
  display: grid;
  grid-template-columns: minmax(130px,.7fr) minmax(0,1.3fr);
  gap: 22px;
  align-items: start;
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,.055);
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row:first-child {
  border-top: 0;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row dt {
  color: #7f8998;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row dd {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row strong {
  overflow-wrap: anywhere;
  color: #edf1f6;
  font-size: .92rem;
  font-weight: 600;
}

body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row small {
  color: #87919e;
  font-size: .78rem;
  line-height: 1.45;
}

/* Premium. */
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: transparent;
  color: #aab3bf;
  font-size: .74rem;
  font-weight: 600;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-status.is-active {
  border-color: rgba(59,130,246,.32);
  color: #bcd4ff;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-status.is-warning {
  border-color: rgba(245,158,11,.3);
  color: #e8c47f;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-plan {
  padding-bottom: 20px;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts > div {
  padding: 18px 22px;
  border-left: 1px solid rgba(255,255,255,.06);
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts > div:first-child {
  border-left: 0;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts dd {
  margin: 7px 0 0;
  color: #eef2f7;
  font-size: .9rem;
  font-weight: 600;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-actions {
  padding: 18px 22px 0;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-note,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-warning {
  margin: 0;
  color: #929ca9;
  font-size: .82rem;
  line-height: 1.5;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-warning {
  margin: 14px 22px 0;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(240px,.7fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-price {
  display: grid;
  gap: 4px;
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,.07);
  border-right: 1px solid rgba(255,255,255,.07);
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-price strong {
  color: #f3f6fa;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.025em;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-price small,
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-purchase > small {
  color: #87919e;
  font-size: .76rem;
  line-height: 1.45;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-purchase {
  display: grid;
  gap: 10px;
  justify-items: start;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-features {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 14px;
  padding: 20px 22px;
  border-top: 1px solid rgba(255,255,255,.055);
  border-left: 1px solid rgba(255,255,255,.055);
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature:nth-child(-n+2) {
  border-top: 0;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature:nth-child(odd) {
  border-left: 0;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature > span {
  color: #6ea8ff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature h3 {
  margin: 0;
  color: #edf1f6;
  font-size: .9rem;
  font-weight: 620;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature p {
  margin: 6px 0 0;
  color: #8d97a5;
  font-size: .8rem;
  line-height: 1.5;
}

/* Neutralize the existing comparison inside the rebuilt Premium view. */
body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-header {
  padding: 18px 22px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  background: transparent !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-list {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item {
  padding: 17px 22px !important;
  border-top: 1px solid rgba(255,255,255,.055) !important;
  border-left: 1px solid rgba(255,255,255,.055) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item:nth-child(-n+2) {
  border-top: 0 !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item:nth-child(odd) {
  border-left: 0 !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-values span {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-values span:last-child b {
  color: #9ec2ff !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison footer {
  padding: 16px 22px !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  background: transparent !important;
}

@media (max-width: 900px) {
  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-header,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-layout,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-features,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-list {
    grid-template-columns: 1fr !important;
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature:nth-child(-n+2),
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item:nth-child(-n+2) {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.055) !important;
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature:first-child,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item:first-child {
    border-top: 0 !important;
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer {
    grid-template-columns: 1fr;
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-price {
    padding: 18px 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.065);
    border-bottom: 1px solid rgba(255,255,255,.065);
  }
}

@media (max-width: 640px) {
  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-page,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-page {
    gap: 18px;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-identity,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity {
    align-items: flex-start;
    gap: 14px;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-avatar,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-title h1,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-identity h1 {
    font-size: 1.45rem;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-actions,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-actions .btn,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-buttons .btn,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-purchase .btn {
    width: 100%;
    justify-content: center;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary > div:nth-child(3),
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts > div:nth-child(3) {
    border-top: 1px solid rgba(255,255,255,.06);
    border-left: 0;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-summary > div:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.06);
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-section > header,
  body#pulsebot-app.dashboard-overview-v2177 .pb2211-info-row,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-plan > header,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-section > header,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-feature,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-limits .pb2181-comparison-item,
  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-offer {
    padding-left: 17px !important;
    padding-right: 17px !important;
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts {
    grid-template-columns: 1fr;
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts > div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  body#pulsebot-app.dashboard-premium-v2178 .pb2211-premium-facts > div:first-child {
    border-top: 0;
  }
}

/* v22.1.10 — explicit legal consent beside Premium checkout */
body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consent {
  width: min(100%, 460px);
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #8f99a6;
  font-size: .73rem;
  line-height: 1.55;
  cursor: pointer;
}

body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consent input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 2px 0 0 !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 4px !important;
  accent-color: #3b82f6 !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consent a {
  color: #cbd5e1;
  text-decoration: underline;
  text-decoration-color: rgba(203,213,225,.35);
  text-underline-offset: 2px;
}

body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consent a:hover {
  color: #f3f6fa;
}

@media (max-width: 760px) {
  body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consent {
    width: 100%;
    font-size: .72rem;
  }
}

/* v22.1.11 — separate legal acknowledgment and immediate-performance request */
body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consents {
  width: min(100%, 500px);
  display: grid;
  gap: 10px;
}

body#pulsebot-app.dashboard-premium-v2178 .pb-legal-consents .pb-legal-consent {
  width: 100%;
}
