:root {
  color-scheme: light;
  --pc-border: #dfe5ef;
  --pc-muted: #687386;
  --pc-ink: #142033;
  --pc-surface: #f5f7fb;
  --pc-accent: #0d6efd;
  --pc-shadow: 0 18px 45px rgba(20, 32, 51, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 28rem),
    linear-gradient(180deg, #fff 0, var(--pc-surface) 18rem);
  color: var(--pc-ink);
}

.pc-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 62px;
  border-bottom: 1px solid var(--pc-border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.pc-brand {
  color: var(--pc-ink);
}

.pc-brand-mark {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(13, 110, 253, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, #eaf1ff, #fff);
  color: #0a58ca;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(13, 110, 253, 0.12);
}

.pc-layout {
  display: block;
}

.pc-sidebar,
.pc-sidebar[hidden] {
  display: none !important;
}

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

.pc-page {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.25rem;
}

.pc-section {
  padding: 1.25rem 0;
}

.pc-card {
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pc-muted {
  color: var(--pc-muted);
}

.pc-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.05rem;
  padding: 0.58rem 0.7rem;
  border-radius: 8px;
  color: #334057;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.pc-nav-link:hover,
.pc-nav-link:focus {
  background: #f0f5ff;
  color: #0a58ca;
  transform: translateX(2px);
}

.pc-nav-link.active {
  background: linear-gradient(135deg, #0d6efd, #245bd8);
  color: #fff;
}

.pc-nav-section {
  margin: 1.2rem 0 0.45rem;
  padding: 0 0.7rem;
  color: var(--pc-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pc-icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #0a58ca;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  flex: 0 0 auto;
}

.pc-nav-link.active .pc-icon {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.pc-nav-copy {
  display: grid;
  min-width: 0;
}

.pc-nav-label {
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.pc-nav-description {
  color: var(--pc-muted);
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-nav-link.active .pc-nav-description {
  color: rgba(255, 255, 255, 0.78);
}

.pc-mobile-menu {
  --bs-offcanvas-width: min(88vw, 340px);
}

.pc-mobile-menu .offcanvas-header {
  border-bottom: 1px solid var(--pc-border);
}

.pc-mobile-menu .offcanvas-body {
  padding-top: 0.5rem;
}

.pc-menu-subtitle {
  color: var(--pc-muted);
  font-size: 0.82rem;
}

.pc-menu-button {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
}

.pc-menu-button span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: #263247;
}

.pc-menu-button span + span {
  margin-top: 3px;
}

.pc-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
}

.pc-sign-in-button {
  min-width: 4.75rem;
  border-radius: 6px;
  font-weight: 700;
}

.pc-member-button {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-image: url('/xp/assets/images/icon/pop_bump_blue50.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.pc-member-button:hover,
.pc-member-button:focus {
  color: #0d6efd;
  filter: brightness(1.08);
}

.pc-member-button::after {
  display: none;
}

.pc-member-menu,
.pc-account-menu {
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  box-shadow: var(--pc-shadow);
}

.pc-drawer-account {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #f8fbff;
  color: #263247;
  font-size: 0.9rem;
}

.pc-user-dot,
.pc-status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #23a36d;
  box-shadow: 0 0 0 3px rgba(35, 163, 109, 0.12);
}

.pc-footer {
  color: var(--pc-muted);
  font-size: 0.875rem;
}

.pc-menu-pin {
  display: none !important;
}

.pc-brand-name {
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .pc-page {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  .pc-topbar {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
  }

  .pc-brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .pc-brand-name {
    display: none;
  }

  .pc-top-actions {
    gap: 0.3rem;
    margin-left: 0.4rem;
  }

  .pc-member-button,
  .pc-menu-button {
    width: 2.1rem;
    height: 2.1rem;
  }
}
