:root {
  --mp-bg: #F8FAFC;
  --mp-ink: #0F172A;
  --mp-card: #ffffff;
  --mp-primary: #0F172A;
  --mp-blue: #2563EB;
  --mp-muted: #64748B;
  --mp-soft: #eef4fc;
  --mp-line: #E2E8F0;
  --mp-gold: #F59E0B;
  --mp-gold-deep: #F59E0B;
  --mp-success: #16A34A;
  --mp-danger: #DC2626;
  --mp-primary-gradient: #2563EB;
  --mp-gold-gradient: #F59E0B;
  --mp-hero-gradient: linear-gradient(135deg, #0F172A, #1E3A8A);
  --mp-card-shadow: 0 4px 20px -6px rgba(14, 29, 53, 0.12);
  --mp-elevated-shadow: 0 22px 48px -24px rgba(14, 29, 53, 0.34);
  --mp-gold-shadow: none;
}

html.member-dark {
  color-scheme: dark;
  --mp-bg: #111927;
  --mp-ink: #f4f7fc;
  --mp-card: #192436;
  --mp-primary: #67a2f8;
  --mp-blue: #72a9fb;
  --mp-muted: #aab6c8;
  --mp-soft: #21324c;
  --mp-line: rgba(255, 255, 255, 0.12);
  --mp-card-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.5);
}

.member-page {
  min-height: 100dvh;
  overflow: hidden;
  background: var(--mp-bg);
  color: var(--mp-ink);
}

.member-page input {
  color: inherit;
}

.member-page button:focus-visible,
.member-page a:focus-visible,
.member-page input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

.wp-member-app {
  display: flex;
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  justify-content: center;
  overflow: hidden;
  background: var(--mp-bg);
}

.wp-member-inner {
  display: flex;
  width: min(100%, 1280px);
  min-height: 100%;
  flex-direction: column;
}

.wp-member-header {
  position: sticky;
  z-index: 40;
  top: 0;
  flex: 0 0 57px;
  border-bottom: 1px solid var(--mp-line);
  background: rgba(247, 249, 252, 0.94);
  backdrop-filter: blur(14px);
}

.member-dark .wp-member-header,
.member-dark .wp-bottom-nav {
  background: rgba(17, 25, 39, 0.94);
}

.wp-member-header-row {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.wp-member-header-left,
.wp-member-header-actions,
.wp-header-brand-copy {
  display: flex;
  align-items: center;
}

.wp-member-header-left {
  min-width: 0;
  gap: 12px;
}

.wp-member-logo {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--mp-gold-gradient);
  color: #0F172A;
  font-family: Outfit, Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--mp-gold-shadow);
}

.wp-header-brand-copy {
  min-width: 0;
  gap: 14px;
}

.wp-greeting {
  overflow: hidden;
  max-width: 260px;
  color: var(--mp-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-page-title {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wp-member-header-actions {
  gap: 4px;
}

.wp-header-icon-button,
.wp-signout-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mp-ink);
  font-size: 18px;
  transition: background 150ms ease, transform 150ms ease;
}

[data-notice-button] > span:first-child {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

[data-notice-button] > span:first-child::before,
[data-notice-button] > span:first-child::after {
  content: none;
}

.wp-header-icon-button:hover,
.wp-signout-button:hover {
  background: var(--mp-soft);
}

.wp-header-icon-button:active,
.wp-signout-button:active {
  transform: scale(0.95);
}

.wp-notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--mp-bg);
  border-radius: 50%;
  background: var(--mp-danger);
}

.wp-signout-button {
  height: 34px;
  border-radius: 12px;
}

.wp-member-content {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 24px 0;
}

.wp-sidebar {
  display: flex;
  min-height: 0;
  overflow-y: auto;
  flex-direction: column;
  padding-bottom: 24px;
}

.wp-sidebar-nav {
  display: grid;
  gap: 2px;
}

.wp-nav-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  color: var(--mp-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 0 14px;
  transition: background 150ms ease, color 150ms ease;
}

.wp-nav-link:hover {
  background: var(--mp-soft);
  color: var(--mp-ink);
}

.wp-nav-link-active,
.wp-nav-link[aria-current="page"] {
  background: var(--mp-soft);
  color: var(--mp-ink);
}

.wp-nav-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--mp-blue);
  font-size: 17px;
  font-weight: 800;
}

.wp-sidebar-account {
  display: grid;
  gap: 2px;
  margin-top: auto;
  border-top: 1px solid var(--mp-line);
  color: var(--mp-muted);
  font-size: 11px;
  padding: 16px 12px 0;
}

.wp-sidebar-account strong,
.wp-sidebar-account span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-sidebar-account strong {
  color: var(--mp-ink);
  font-size: 12px;
}

.wp-member-main {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 0 48px;
  scrollbar-color: var(--mp-line) transparent;
  scrollbar-width: thin;
}

.wp-bottom-nav {
  display: none;
}

.wp-view,
.wp-dashboard {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 24px;
}

.wp-dashboard > * {
  min-width: 0;
}

.wp-card {
  border: 1px solid var(--mp-line);
  border-radius: 22px;
  background: var(--mp-card);
  box-shadow: var(--mp-card-shadow);
}

.wp-view-heading {
  display: grid;
  gap: 5px;
}

.wp-view-title {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.wp-view-subtitle {
  max-width: 760px;
  color: var(--mp-muted);
  font-size: 15px;
  line-height: 1.55;
}

.wp-section-title,
.wp-card-title {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wp-card-subtitle {
  margin-top: 3px;
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.5;
}

.wp-action-button,
.wp-secondary-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 16px;
  background: var(--mp-primary-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  box-shadow: var(--mp-card-shadow);
}

.wp-secondary-button {
  border: 1px solid var(--mp-line);
  background: var(--mp-card);
  color: var(--mp-ink);
}

.wp-action-button:disabled,
.wp-secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Member notification sheet */
.wp-notifications-layer {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.wp-notifications-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.8);
}

.wp-notifications-sheet {
  position: relative;
  z-index: 1;
  width: min(448px, 100%);
  max-height: min(70vh, 501px);
  border-radius: 30px 30px 0 0;
  background: var(--mp-bg);
  color: var(--mp-ink);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.28);
  animation: mp-sheet-in 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mp-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.wp-sheet-handle {
  width: 40px;
  height: 4px;
  margin: 10px auto 4px;
  border-radius: 999px;
  background: var(--mp-line);
}

.wp-sheet-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mp-ink);
  font-size: 20px;
}

.wp-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 54px 14px 24px;
}

.wp-sheet-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-sheet-title h2 {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.wp-sheet-title span {
  border-radius: 999px;
  background: var(--mp-soft);
  color: var(--mp-blue);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
}

.wp-sheet-read-button {
  border: 0;
  border-radius: 12px;
  background: var(--mp-soft);
  color: var(--mp-blue);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 10px;
}

.wp-sheet-read-button:disabled {
  color: var(--mp-muted);
  cursor: default;
  opacity: 0.75;
}

.wp-notification-list {
  display: grid;
  max-height: min(60vh, 432px);
  gap: 8px;
  overflow-y: auto;
  padding: 0 12px 24px;
}

.wp-notification-item {
  border: 1px solid var(--mp-line);
  border-radius: 18px;
  background: var(--mp-card);
  padding: 14px;
}

.wp-notification-item strong {
  color: var(--mp-ink);
  font-size: 13px;
}

.wp-notification-item p {
  margin-top: 5px;
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.45;
}

.wp-notification-empty {
  min-height: 108px;
  align-content: center;
  text-align: center;
}

/* The Wallet reuses its existing payment-specific styles while this sheet
   supplies the same member shell dimensions as the other core routes. */
.member-page.growth-page .wp-wallet-view {
  gap: 20px;
}

.member-page.growth-page .wp-wallet-form .wp-action-button {
  width: 100%;
  min-height: 40px;
}

.member-page.growth-page .wp-wallet-form .wp-action-button-secondary {
  border: 1px solid var(--mp-border);
  background: var(--mp-soft);
  box-shadow: none;
  color: var(--mp-ink);
}

.member-page.growth-page .wp-wallet-form .wp-action-button-secondary:hover:not(:disabled) {
  background: var(--mp-soft-strong);
  box-shadow: none;
}

/* Dashboard */
.wp-balance-card {
  position: relative;
  display: grid;
  min-height: 223px;
  overflow: hidden;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: var(--mp-hero-gradient);
  color: #fff;
  box-shadow: var(--mp-elevated-shadow);
  padding: 28px 32px;
}

.wp-balance-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.wp-balance-glow-one {
  top: -120px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(242, 195, 77, 0.2);
}

.wp-balance-glow-two {
  bottom: -110px;
  left: 25%;
  width: 280px;
  height: 220px;
  background: rgba(37, 99, 235, 0.3);
}

.wp-balance-head,
.wp-balance-label-row,
.wp-balance-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.wp-balance-head {
  justify-content: space-between;
}

.wp-balance-label-row {
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.wp-member-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mp-gold);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  text-transform: uppercase;
}

.wp-balance-amount {
  margin-top: 8px;
  color: var(--mp-gold);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.wp-vault-balance {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.wp-balance-spark {
  color: var(--mp-gold);
  font-size: 48px;
  opacity: 0.8;
}

.wp-balance-actions {
  gap: 10px;
  margin-top: 24px;
}

.wp-balance-button {
  display: inline-flex;
  min-width: 116px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
}

.wp-balance-button-muted {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.wp-balance-button-gold {
  background: var(--mp-gold);
  color: #0F172A;
  box-shadow: var(--mp-gold-shadow);
}

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

.wp-quick-card {
  display: flex;
  min-height: 133px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mp-line);
  border-radius: 26px;
  background: var(--mp-card);
  box-shadow: var(--mp-card-shadow);
  padding: 16px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.wp-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mp-elevated-shadow);
}

.wp-quick-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: var(--mp-soft);
  color: var(--mp-blue);
  font-size: 18px;
}

.wp-quick-card strong {
  margin-top: 9px;
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.wp-quick-card small {
  margin-top: 3px;
  color: var(--mp-muted);
  font-size: 11px;
  text-align: center;
}

.wp-section-heading,
.wp-feed-title,
.wp-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wp-section-heading {
  margin-bottom: 14px;
}

.wp-section-heading h2,
.wp-feed-title h2 {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.wp-section-heading p {
  margin-top: 3px;
  color: var(--mp-muted);
  font-size: 13px;
}

.wp-section-heading > a,
.wp-card-title-row > a {
  color: var(--mp-blue);
  font-size: 12px;
  font-weight: 700;
}

.wp-plan-strip {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(196px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scrollbar-width: thin;
}

.wp-mini-plan {
  position: relative;
  display: flex;
  min-height: 194px;
  flex-direction: column;
  border: 1px solid var(--mp-line);
  border-radius: 22px;
  background: var(--mp-card);
  box-shadow: var(--mp-card-shadow);
  padding: 18px;
}

.wp-tier-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mp-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wp-tier-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mp-blue);
}

.wp-mini-plan h3 {
  margin-top: 10px;
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 19px;
}

.wp-mini-price {
  margin-top: 4px;
  color: var(--mp-blue);
  font-family: Outfit, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.wp-mini-plan p:last-of-type {
  margin: 10px 0 14px;
  color: var(--mp-muted);
  font-size: 11px;
  line-height: 1.5;
}

.wp-mini-plan .wp-action-button {
  width: 100%;
  margin-top: auto;
}

.wp-dashboard-information-grid,
.wp-dashboard-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wp-feed-card,
.wp-standard-card {
  overflow: hidden;
  border: 1px solid var(--mp-line);
  border-radius: 22px;
  background: var(--mp-card);
  box-shadow: var(--mp-card-shadow);
}

.wp-feed-title {
  padding: 17px 20px;
}

.wp-feed-title span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mp-muted);
  font-size: 11px;
  font-weight: 600;
}

.wp-feed-title i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mp-success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.wp-account-update-list,
.wp-wallet-activity-list {
  display: grid;
}

.wp-account-update,
.wp-wallet-activity-row {
  display: grid;
  min-height: 58px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--mp-line);
  padding: 10px 20px;
}

.wp-update-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--mp-soft);
  color: var(--mp-blue);
  font-size: 14px;
  font-weight: 800;
}

.wp-account-update div,
.wp-wallet-activity-row div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.wp-account-update strong,
.wp-wallet-activity-row strong {
  overflow: hidden;
  color: var(--mp-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-account-update small,
.wp-wallet-activity-row small {
  color: var(--mp-muted);
  font-size: 10px;
}

.wp-account-update b,
.wp-wallet-activity-row b {
  color: var(--mp-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.wp-account-update b[data-state="available"],
.wp-wallet-activity-row b {
  color: var(--mp-success);
}

.wp-account-update b[data-state="pending"] {
  color: var(--mp-gold-deep);
}

.wp-feed-footer {
  display: block;
  background: var(--mp-soft);
  color: var(--mp-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 13px 20px;
  text-align: center;
}

.wp-standard-card {
  min-height: 188px;
  padding: 20px;
}

.wp-card-title-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-card-title-row h3,
.wp-card-title-row p {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.wp-small-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: var(--mp-soft);
  color: var(--mp-blue);
}

.wp-progress-number {
  margin-top: 22px;
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.wp-progress-number span {
  color: var(--mp-muted);
  font-size: 14px;
}

.wp-progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  overflow: hidden;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(16, 37, 68, 0.12);
}

.wp-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--mp-primary-gradient);
  transition: width 240ms ease;
}

.wp-progress-caption,
.wp-empty-copy {
  margin-top: 9px;
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.5;
}

.wp-empty-state {
  display: grid;
  min-height: 112px;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: var(--mp-muted);
  font-size: 12px;
  text-align: center;
}

.wp-empty-state span {
  font-size: 24px;
  opacity: 0.55;
}

/* Daily tasks */
.wp-tasks-view {
  gap: 24px;
}

.wp-task-heading {
  display: block;
}

.wp-task-heading .wp-view-title {
  font-size: 30px;
  letter-spacing: normal;
  line-height: 1.2;
}

.wp-task-heading .wp-view-subtitle {
  margin-top: 0;
  font-size: 16px;
}

.wp-task-progress-card {
  display: grid;
  min-height: 94px;
  gap: 12px;
  padding: 24px;
}

.wp-task-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--mp-muted);
  font-size: 14px;
}

.wp-task-progress-copy strong {
  color: var(--mp-ink);
  font-weight: 700;
}

.wp-task-progress-track {
  position: relative;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 37, 68, 0.14);
}

.wp-task-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--mp-primary-gradient);
  transition: width 240ms ease;
}

.wp-task-reward-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-color: color-mix(in srgb, var(--mp-gold) 55%, var(--mp-line));
  background: color-mix(in srgb, var(--mp-gold) 10%, var(--mp-card));
  padding: 18px 20px;
}

.wp-task-reward-notice[hidden] {
  display: none;
}

.wp-task-reward-notice > div {
  display: grid;
  gap: 4px;
}

.wp-task-reward-notice strong {
  color: var(--mp-ink);
  font-size: 14px;
}

.wp-task-reward-notice p {
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.5;
}

.wp-task-upgrade-action {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

.wp-daily-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wp-task-plan-group {
  display: grid;
  gap: 14px;
}

.wp-task-plan-group + .wp-task-plan-group {
  margin-top: 24px;
}

.wp-task-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--wp-border);
  padding: 0 2px 12px;
}

.wp-task-plan-header h3,
.wp-task-plan-header p {
  margin: 0;
}

.wp-task-plan-header p {
  margin-top: 4px;
  color: var(--wp-muted);
  font-size: 0.9rem;
}

.wp-task-plan-header > strong {
  color: var(--wp-primary);
  font-size: 0.85rem;
  white-space: nowrap;
}

.wp-task-plan-videos {
  width: 100%;
}

.wp-daily-task-card {
  display: grid;
  min-height: 130px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 20px;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.wp-daily-task-card:hover {
  box-shadow: var(--mp-elevated-shadow);
  transform: translateY(-2px);
}

.wp-task-youtube-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 26px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--mp-danger);
}

.wp-task-youtube-icon::before {
  position: absolute;
  width: 25px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 7px;
  content: "";
}

.wp-task-youtube-icon span {
  position: relative;
  z-index: 1;
  margin-left: 2px;
  font-size: 10px;
}

.wp-daily-task-copy {
  min-width: 0;
}

.wp-daily-task-title {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.wp-daily-task-copy p:not(.wp-daily-task-title) {
  margin-top: 3px;
  color: var(--mp-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.wp-daily-task-copy strong {
  display: block;
  margin-top: 4px;
  color: var(--mp-success);
  font-size: 13px;
  font-weight: 700;
}

.wp-daily-task-copy strong.wp-task-unavailable {
  color: var(--mp-muted);
}

.wp-daily-task-watch {
  width: auto;
  min-width: 68px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
}

.wp-loading-panel,
.wp-task-limit-card {
  display: grid;
  min-height: 178px;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: var(--mp-muted);
  font-size: 13px;
  padding: 40px;
  text-align: center;
}

.wp-loading-panel[hidden],
.wp-task-limit-card[hidden],
.wp-daily-task-grid[hidden] {
  display: none;
}

.wp-loading-panel .spinner {
  border-color: var(--mp-line);
  border-top-color: var(--mp-blue);
}

.wp-task-limit-check {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: var(--mp-success);
  font-size: 20px;
  font-weight: 700;
}

.wp-task-limit-card h3 {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 20px;
}

.wp-task-disclaimer {
  margin-top: -8px;
  color: var(--mp-muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.wp-task-dialog {
  position: fixed;
  width: min(512px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--mp-line);
  border-radius: 18px;
  background: var(--mp-bg);
  color: var(--mp-ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 24px;
}

.wp-task-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.wp-task-dialog-inner {
  position: relative;
  display: grid;
  gap: 16px;
}

.wp-task-dialog-header {
  display: grid;
  gap: 5px;
  padding-right: 24px;
}

.wp-task-dialog-header h2 {
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.wp-task-dialog-header p {
  color: var(--mp-muted);
  font-size: 13px;
  line-height: 1.45;
}

.wp-task-dialog-close {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--mp-ink);
  font-size: 21px;
  opacity: 0.72;
}

.wp-task-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000;
}

.wp-task-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-task-player-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
  padding: 24px;
  text-align: center;
}

.wp-task-watch-progress {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.wp-task-watch-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.wp-task-watch-progress span {
  color: var(--mp-muted);
  font-size: 12px;
}

.wp-task-watch-progress strong {
  color: var(--mp-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 400;
}

.wp-task-watch-track {
  height: 8px;
}

.wp-task-claim-button {
  width: 100%;
}

/* Profile */
.wp-profile-view {
  gap: 16px;
}

.wp-profile-hero {
  display: grid;
  min-height: 146px;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border-radius: 22px;
  background: var(--mp-hero-gradient);
  color: #fff;
  box-shadow: var(--mp-elevated-shadow);
  padding: 28px 32px;
}

.wp-profile-avatar {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--mp-gold-gradient);
  color: #0F172A;
  font-family: Outfit, Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--mp-gold-shadow);
}

.wp-profile-identity {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wp-profile-name {
  color: #fff;
  font-family: Outfit, Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.wp-profile-email {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-profile-member-since {
  margin-top: 7px;
  color: var(--mp-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wp-profile-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.wp-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.wp-badge-plan {
  background: var(--mp-gold-gradient);
  color: #0F172A;
}

.wp-badge-verified {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.wp-profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wp-profile-summary-card {
  display: grid;
  min-height: 84px;
  align-content: center;
  gap: 7px;
  padding: 14px 16px;
}

.wp-summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mp-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wp-summary-value,
.wp-summary-value-success {
  overflow-wrap: anywhere;
  color: var(--mp-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.wp-summary-value-success {
  color: var(--mp-success);
}

.wp-referral-summary-value {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
}

.wp-referral-link {
  overflow: hidden;
  color: var(--mp-blue);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-copy-referral-button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--mp-soft);
  color: var(--mp-muted);
}

.wp-profile-card {
  padding: 24px;
}

.wp-profile-card > .wp-section-heading {
  margin-bottom: 16px;
}

.wp-encrypted-badge {
  background: var(--mp-soft);
  color: var(--mp-blue);
}

.wp-personal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wp-profile-detail {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: var(--mp-soft);
  padding: 12px 14px;
}

.wp-profile-detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--mp-card);
  color: var(--mp-blue);
  font-weight: 800;
}

.wp-profile-detail-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wp-profile-detail-label {
  color: var(--mp-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wp-profile-detail-value {
  overflow: hidden;
  color: var(--mp-ink);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-quick-actions {
  display: grid;
}

.wp-quick-action {
  display: grid;
  width: 100%;
  min-height: 60px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--mp-line);
  background: transparent;
  color: var(--mp-ink);
  padding: 8px 4px;
  text-align: left;
}

.wp-quick-action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--mp-soft);
  color: var(--mp-blue);
  font-weight: 800;
}

.wp-quick-action-label {
  font-size: 13px;
  font-weight: 700;
}

.wp-profile-preferences {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
}

.wp-profile-theme-button {
  width: 36px;
  min-height: 36px;
  padding: 0;
}

.wp-profile-signout-button {
  border: 0;
  background: transparent;
  color: var(--mp-danger);
  box-shadow: none;
}

.wp-security-heading {
  justify-content: flex-start;
  gap: 10px;
}

.wp-section-heading-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--mp-soft);
  color: var(--mp-blue);
}

.wp-security-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.wp-security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mp-ink);
  font-size: 13px;
}

.wp-security-check {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--mp-success);
}

.wp-security-footer {
  margin-top: 18px;
  border-top: 1px solid var(--mp-line);
  color: var(--mp-muted);
  font-size: 12px;
  padding-top: 15px;
}

.wp-security-help-link {
  color: var(--mp-blue);
  font-weight: 700;
}

.wp-loading-profile {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--mp-muted);
  font-size: 13px;
}

.wp-loading-profile[hidden],
.wp-profile-content[hidden] {
  display: none;
}

.wp-profile-content {
  display: grid;
  gap: 16px;
}

.member-page .toast {
  border-color: var(--mp-line);
  background: var(--mp-card);
  color: var(--mp-ink);
}

@media (max-width: 900px) and (min-width: 768px) {
  .wp-member-content {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
  }

  .wp-daily-task-grid,
  .wp-dashboard-information-grid,
  .wp-dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .wp-member-header {
    flex-basis: 41px;
  }

  .wp-member-header-row {
    height: 40px;
    padding: 0 12px;
  }

  .wp-member-logo {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 50%;
    font-size: 12px;
  }

  .wp-member-header-left {
    gap: 8px;
  }

  .wp-header-brand-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .wp-page-title {
    font-size: 15px;
  }

  .wp-hide-mobile,
  .wp-sidebar {
    display: none !important;
  }

  .wp-greeting {
    max-width: 180px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .wp-header-icon-button,
  .wp-signout-button {
    width: 34px;
    height: 34px;
  }

  .wp-member-content {
    display: block;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .wp-member-main {
    height: calc(100dvh - 98px);
    padding: 16px 16px 24px;
  }

  .wp-bottom-nav {
    display: grid;
    height: 57px;
    flex: 0 0 57px;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--mp-line);
    background: rgba(247, 249, 252, 0.96);
    backdrop-filter: blur(12px);
  }

  .wp-bottom-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: var(--mp-muted);
    font-size: 9px;
    font-weight: 700;
  }

  .wp-bottom-link span {
    font-size: 18px;
    line-height: 1;
  }

  .wp-bottom-link-active,
  .wp-bottom-link[aria-current="page"] {
    color: var(--mp-blue);
  }

  .wp-dashboard,
  .wp-view {
    gap: 18px;
  }

  .wp-balance-card {
    min-height: 218px;
    padding: 24px 20px;
  }

  .wp-balance-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .wp-balance-amount {
    font-size: 42px;
  }

  .wp-balance-spark {
    display: none;
  }

  .wp-balance-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .wp-balance-button {
    min-width: 0;
  }

  .wp-quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wp-quick-card {
    min-height: 120px;
  }

  .wp-section-heading h2,
  .wp-feed-title h2 {
    font-size: 18px;
  }

  .wp-plan-strip {
    margin-right: -16px;
    grid-template-columns: repeat(7, 196px);
    padding-right: 16px;
  }

  .wp-dashboard-information-grid,
  .wp-dashboard-lower-grid,
  .wp-daily-task-grid {
    grid-template-columns: 1fr;
  }

  .wp-account-update,
  .wp-wallet-activity-row {
    padding-inline: 14px;
  }

  .wp-view-title {
    font-size: 24px;
  }

  .wp-view-subtitle {
    font-size: 13px;
  }

  .wp-task-progress-card {
    min-height: 94px;
    padding: 24px;
  }

  .wp-daily-task-card {
    min-height: 130px;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px;
  }

  .wp-task-youtube-icon {
    width: 56px;
    height: 56px;
  }

  .wp-profile-hero {
    min-height: 190px;
    grid-template-columns: 64px 1fr;
    gap: 15px;
    padding: 22px 18px;
  }

  .wp-profile-avatar {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .wp-profile-name {
    font-size: 20px;
  }

  .wp-profile-badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .wp-profile-summary-grid,
  .wp-personal-details-grid {
    grid-template-columns: 1fr;
  }

  .wp-profile-card {
    padding: 18px 16px;
  }

  .toast-region {
    right: 16px;
    bottom: 72px;
  }
}

@media (max-width: 639px) {
  .wp-task-dialog {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .wp-task-dialog-header {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-quick-card,
  .wp-daily-task-card,
  .wp-progress-track > span,
  .wp-task-progress-track > span {
    transition: none;
  }
}

/* Dashboard parity: structure and density follow the member dashboard recording. */
.dashboard-page .wp-dashboard {
  max-width: 1040px;
  margin-inline: auto;
  gap: 26px;
  padding-bottom: 24px;
}

.dashboard-page .wp-balance-card {
  min-height: 220px;
  gap: 0;
  background:
    radial-gradient(circle at 96% 100%, rgba(255, 210, 40, 0.82), transparent 26%),
    radial-gradient(circle at 80% 28%, rgba(30, 180, 203, 0.38), transparent 32%),
    linear-gradient(132deg, #061a3f 0%, #003879 53%, #087aa2 100%);
}

.dashboard-page .wp-balance-label-row {
  gap: 12px;
}

.dashboard-page .wp-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 29, 64, 0.3);
  padding: 6px 10px 6px 7px;
}

.dashboard-page .wp-plan-badge > i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-style: normal;
}

.dashboard-page .wp-plan-badge > span {
  display: grid;
  gap: 1px;
}

.dashboard-page .wp-plan-badge strong,
.dashboard-page .wp-plan-badge small {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dashboard-page .wp-plan-badge small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 7px;
}

.dashboard-page .wp-balance-amount {
  color: #ffd20a;
}

.dashboard-page .wp-balance-conversion,
.dashboard-page .wp-vault-balance {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.dashboard-page .wp-balance-actions {
  margin-top: 18px;
}

.dashboard-page .wp-balance-button-gold {
  background: linear-gradient(120deg, #ffd719, #ffbc00);
}

.dashboard-page .wp-quick-grid {
  gap: 14px;
}

.dashboard-page .wp-quick-card {
  min-height: 142px;
  border-radius: 24px;
}

.dashboard-page .wp-folder-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 33px;
  margin-top: 8px;
  place-items: center;
  border-radius: 4px 5px 6px 6px;
  background: #152038;
  color: #fff;
  box-shadow: 0 8px 15px -8px rgba(14, 29, 53, 0.5);
}

.dashboard-page .wp-folder-icon::before {
  position: absolute;
  top: -7px;
  left: 3px;
  width: 22px;
  height: 10px;
  border-radius: 5px 5px 0 0;
  background: inherit;
  content: "";
}

.dashboard-page .wp-folder-icon i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  font-size: 9px;
  font-style: normal;
}

.dashboard-page .wp-folder-icon i { color: #152038; }
.dashboard-page .wp-folder-rewards { background: #f8c900; }
.dashboard-page .wp-folder-rewards i { color: #ddab00; }
.dashboard-page .wp-folder-tasks { background: #35ca4b; }
.dashboard-page .wp-folder-tasks i { color: #25aa38; }
.dashboard-page .wp-folder-invite { background: #168bd7; }
.dashboard-page .wp-folder-invite i { color: #1172b2; }

.dashboard-page .wp-quick-card strong {
  margin-top: 15px;
  font-size: 15px;
}

.dashboard-page .wp-section-heading {
  align-items: end;
  margin-bottom: 9px;
}

.dashboard-page .wp-section-heading h2 {
  font-size: 20px;
}

.dashboard-page .wp-plan-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  overflow: visible;
  padding: 0;
}

.dashboard-page .wp-mini-plan {
  min-height: 224px;
  border-radius: 22px;
  padding: 18px 16px 15px;
}

.dashboard-page .wp-mini-plan-popular {
  border-color: #f1d847;
  box-shadow: 0 18px 30px -21px rgba(244, 197, 0, 0.9);
}

.dashboard-page .wp-popular-label {
  position: absolute;
  top: 17px;
  right: 14px;
  color: #e0bd00;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-page .wp-tier-row {
  color: #64748B;
}

.dashboard-page .wp-mini-plan h3 {
  margin-top: 7px;
  font-size: 17px;
}

.dashboard-page .wp-mini-price {
  margin-top: 9px;
  color: var(--mp-ink);
  font-size: 21px;
}

.dashboard-page .wp-plan-ghs {
  margin-top: 3px !important;
  color: var(--mp-muted);
  font-size: 10px;
}

.dashboard-page .wp-plan-metrics {
  display: grid;
  gap: 5px;
  margin: 12px 0 13px;
  color: var(--mp-muted);
  font-size: 10px;
}

.dashboard-page .wp-plan-metrics span::first-letter {
  color: #45be55;
}

.dashboard-page .wp-plan-activate,
.dashboard-page .wp-watch-tasks-button {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 999px;
  background: linear-gradient(100deg, #0d1d3e, #1694e3);
  color: #fff;
  font-size: 12px;
}

.dashboard-page .wp-mini-plan-popular .wp-plan-activate {
  background: linear-gradient(100deg, #f9d211, #ff7d00);
  color: #18213a;
}

.dashboard-page .wp-feed-title {
  min-height: 52px;
  border-bottom: 1px solid var(--mp-line);
  padding: 14px 20px;
}

.dashboard-page .wp-feed-title h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.dashboard-page .wp-feed-title h2 i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38cb57;
  box-shadow: 0 0 0 4px rgba(56, 203, 87, 0.1);
}

.dashboard-page .wp-community-feed .wp-feed-title h2 i {
  background: #2198de;
}

.dashboard-page .wp-feed-title > span {
  border: 1px solid var(--mp-line);
  border-radius: 999px;
  background: var(--mp-soft);
  padding: 4px 9px;
}

.dashboard-page .wp-withdrawal-row,
.dashboard-page .wp-recent-row {
  display: grid;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--mp-line);
  padding: 10px 20px;
}

.dashboard-page .wp-withdrawal-row > div,
.dashboard-page .wp-recent-row > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.dashboard-page .wp-withdrawal-row strong,
.dashboard-page .wp-recent-row strong {
  overflow: hidden;
  color: var(--mp-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .wp-withdrawal-row small,
.dashboard-page .wp-recent-row small {
  color: var(--mp-muted);
  font-size: 10px;
}

.dashboard-page .wp-withdrawal-row b,
.dashboard-page .wp-recent-row b {
  color: #31b94d;
  font-size: 12px;
}

.dashboard-page .wp-feed-empty,
.dashboard-page .wp-community-empty {
  display: grid;
  min-height: 118px;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: var(--mp-muted);
  font-size: 12px;
  padding: 22px;
  text-align: center;
}

.dashboard-page .wp-community-empty span {
  font-size: 24px;
}

.dashboard-page .wp-community-empty strong {
  color: var(--mp-ink);
  font-size: 14px;
}

.dashboard-page .wp-community-empty p {
  max-width: 430px;
  line-height: 1.5;
}

.dashboard-page .wp-community-list {
  display: grid;
  gap: 12px;
}

.dashboard-page .wp-community-post {
  display: grid;
  gap: 7px;
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  background: #fff;
  padding: 13px;
}

.dashboard-page .wp-community-post strong {
  color: var(--mp-ink);
  font-size: 13px;
}

.dashboard-page .wp-community-post p {
  margin: 0;
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.55;
}

.dashboard-page .wp-community-post small {
  color: var(--mp-blue);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .wp-active-plan-card {
  min-height: 0;
}

.dashboard-page .wp-active-plan-head,
.dashboard-page .wp-active-task-row,
.dashboard-page .wp-recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-page .wp-active-plan-head > div {
  display: grid;
  gap: 2px;
}

.dashboard-page .wp-active-plan-head span {
  color: var(--mp-muted);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.dashboard-page .wp-active-plan-head h2,
.dashboard-page .wp-recent-heading h2 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 17px;
}

.dashboard-page .wp-active-plan-head a,
.dashboard-page .wp-recent-heading a {
  color: var(--mp-blue);
  font-size: 12px;
  font-weight: 600;
}

.dashboard-page .wp-active-task-row {
  margin-top: 21px;
  color: var(--mp-muted);
  font-size: 12px;
}

.dashboard-page .wp-active-task-row strong {
  color: var(--mp-ink);
}

.dashboard-page .wp-active-plan-card .wp-progress-track {
  height: 7px;
  margin-top: 8px;
}

.dashboard-page .wp-watch-tasks-button {
  min-height: 36px;
  margin-top: 16px;
  gap: 7px;
}

.dashboard-page .wp-recent-heading {
  padding: 18px 20px 10px;
}

.dashboard-page .wp-recent-list {
  padding-bottom: 6px;
}

@media (min-width: 768px) {
  .dashboard-page .wp-withdrawal-feed,
  .dashboard-page .wp-community-feed,
  .dashboard-page .wp-active-plan-card,
  .dashboard-page .wp-recent-activity {
    width: min(100%, 760px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .dashboard-page .wp-member-main {
    padding: 16px 15px 28px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .dashboard-page .wp-member-main::-webkit-scrollbar {
    display: none;
  }

  .dashboard-page .wp-dashboard {
    gap: 24px;
  }

  .dashboard-page .wp-balance-card {
    min-height: 221px;
    border-radius: 20px;
    padding: 28px 24px 24px;
  }

  .dashboard-page .wp-balance-label-row {
    align-items: center;
    flex-direction: row;
    gap: 11px;
  }

  .dashboard-page .wp-balance-amount {
    margin-top: 15px;
    font-size: 39px;
  }

  .dashboard-page .wp-balance-actions {
    display: flex;
    margin-top: 18px;
  }

  .dashboard-page .wp-balance-button {
    min-width: 114px;
  }

  .dashboard-page .wp-quick-grid {
    gap: 13px;
  }

  .dashboard-page .wp-quick-card {
    min-height: 130px;
    padding: 13px;
  }

  .dashboard-page .wp-section-heading h2 {
    font-size: 19px;
  }

  .dashboard-page .wp-section-heading p {
    font-size: 12px;
  }

  .dashboard-page .wp-section-heading > a {
    flex: 0 0 auto;
  }

  .dashboard-page .wp-plan-strip {
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    padding: 0;
  }

  .dashboard-page .wp-mini-plan {
    min-height: 219px;
    padding: 17px 15px 14px;
  }

  .dashboard-page .wp-mini-plan h3 {
    font-size: 16px;
  }

  .dashboard-page .wp-mini-price {
    font-size: 20px;
  }

  .dashboard-page .wp-feed-title,
  .dashboard-page .wp-withdrawal-row,
  .dashboard-page .wp-recent-row {
    padding-inline: 15px;
  }

  .dashboard-page .wp-standard-card {
    padding: 17px 15px;
  }
}
.wp-phone-banner,
.wp-referral-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(22, 101, 52, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 54%, #fff7ed 100%);
  color: #0F172A;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.wp-phone-banner-copy,
.wp-referral-banner div {
  display: grid;
  min-width: 0;
  gap: 4px;
  flex: 1 1 auto;
}

.wp-phone-banner-icon,
.wp-referral-badge-image {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(22, 101, 52, .18);
}

.wp-phone-banner-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dcfce7 0%, #ffffff 100%);
  color: #166534;
  font-size: 27px;
}

.wp-referral-badge-image {
  object-fit: cover;
}

.wp-phone-banner strong,
.wp-referral-banner strong {
  color: #0F172A;
  font-size: 1rem;
}

.wp-phone-banner span,
.wp-referral-banner span {
  color: #526174;
  font-size: .9rem;
  line-height: 1.45;
}

.wp-phone-dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.wp-phone-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 18, 35, .5);
}

.wp-phone-dialog {
  position: relative;
  width: min(100%, 420px);
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 24px 80px rgba(8, 18, 35, .22);
}

.wp-phone-dialog-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-right: 36px;
}

.wp-phone-dialog-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #dcfce7 0%, #eff6ff 100%);
  color: #166534;
  font-size: 28px;
  box-shadow: 0 14px 28px rgba(22, 101, 52, .14);
}

.wp-phone-dialog h2 {
  margin: 0;
  color: #0F172A;
  font-size: 1.28rem;
}

.wp-phone-dialog-hero p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .92rem;
  line-height: 1.45;
}

.wp-phone-form {
  display: grid;
  gap: 14px;
}

.wp-phone-form .wp-field {
  display: grid;
  gap: 7px;
}

.wp-field-hint {
  color: #64748b;
  font-size: .78rem;
  line-height: 1.35;
}

.wp-phone-dialog-status {
  min-height: 1.2em;
  margin: 0;
  color: #526174;
}

.wp-support-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.wp-support-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: #0F172A;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(16, 37, 68, .28);
}

.wp-support-panel {
  width: min(calc(100vw - 32px), 360px);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 18, 35, .2);
}

.wp-support-panel header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border-bottom: 1px solid #e6ecf5;
  background: #f8fafc;
}

.wp-support-head-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #dbeafe 0%, #ecfeff 100%);
  color: #075985;
  font-size: 20px;
  box-shadow: 0 10px 22px rgba(7, 89, 133, .14);
}

.wp-support-panel header div {
  display: grid;
  gap: 2px;
}

.wp-support-panel header small {
  color: #64748b;
  font-size: .76rem;
}

.wp-support-messages {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
  padding: 14px;
  background: #ffffff;
}

.wp-support-message {
  display: grid;
  width: fit-content;
  max-width: 88%;
  gap: 3px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef2f7;
  color: #0F172A;
}

.wp-support-message span {
  color: #64748b;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wp-support-message p {
  margin: 0;
  line-height: 1.42;
}

.wp-support-message-admin {
  justify-self: end;
  background: #0F172A;
  color: #fff;
}

.wp-support-message-admin span {
  color: rgba(255, 255, 255, .72);
}

.wp-support-empty {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.45;
}

.wp-support-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e6ecf5;
}

@media (max-width: 640px) {
  .wp-phone-banner,
  .wp-referral-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .wp-phone-banner-icon,
  .wp-referral-badge-image {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .wp-support-widget {
    right: 12px;
    bottom: 74px;
  }
}

/* Phone verification step-flow polish */
.wp-phone-dialog [hidden] { display: none !important; }
.wp-phone-dialog-backdrop { background: rgba(7, 18, 38, .64); backdrop-filter: blur(6px); }
.wp-phone-dialog { width: min(100%, 448px); padding: 28px; border: 1px solid rgba(148, 163, 184, .32); border-radius: 24px; background: radial-gradient(circle at 0 0, rgba(219, 234, 254, .72), transparent 34%), #fff; box-shadow: 0 30px 90px rgba(8, 18, 35, .3); }
.wp-phone-dialog::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #16a34a, #2563eb, #2563EB); }
.wp-phone-dialog-hero { align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.wp-phone-dialog-icon { width: 56px; height: 56px; flex-basis: 56px; border-radius: 17px; background: linear-gradient(145deg, #dcfce7, #dbeafe); box-shadow: 0 12px 28px rgba(22, 101, 52, .16); }
.wp-phone-dialog h2 { font-size: 1.42rem; letter-spacing: -.02em; }
.wp-phone-dialog-hero p { max-width: 31ch; font-size: .93rem; }
.wp-phone-form { gap: 16px; }
.wp-phone-form .wp-label { color: #24344b; font-weight: 700; }
.wp-phone-form .wp-input { min-height: 48px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 11px 13px; background: #f8fafc; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.wp-phone-form .wp-input:focus { border-color: #2563eb; outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .13); }
.wp-phone-form input[name="code"] { text-align: center; font-size: 1.35rem; font-weight: 800; letter-spacing: .42em; font-variant-numeric: tabular-nums; }
.wp-phone-form .wp-action-button, .wp-phone-form .wp-secondary-button { min-height: 48px; border-radius: 14px; font-weight: 800; }
.wp-phone-dialog-status { min-height: 0; padding: 0 2px; font-size: .88rem; line-height: 1.45; }
.wp-phone-dialog-status:empty { display: none; }
@media (max-width: 520px) { .wp-phone-dialog-layer { align-items: end; padding: 10px; } .wp-phone-dialog { width: 100%; padding: 24px 20px 22px; border-radius: 24px 24px 16px 16px; } .wp-phone-dialog-hero { padding-right: 28px; } }
