:root {
  --ink: #101018;
  --muted: #282a35;
  --teal: #0f766e;
  --teal-dark: #0a5c57;
  --card: #ffffff;
  --line: #dadada;
  --shadow: 0 22px 55px rgba(20, 28, 36, 0.2);
  --soft-shadow: 0 2px 8px rgba(20, 24, 32, 0.25);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -4%, rgba(209, 255, 38, 0.7), transparent 28%),
    linear-gradient(172deg, #c8fb1d 0%, #7be963 30%, #35d08f 62%, #18bdb0 100%);
}

a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.page-shell {
  width: min(1150px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.98fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.page-shell.single-card {
  display: flex;
  justify-content: center;
}

.page-shell.single-card .auth-card {
  margin: 0;
}

.intro {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  color: #050509;
  background: linear-gradient(180deg, #dbfb20 0%, #c3ef25 100%);
  box-shadow: 0 10px 25px rgba(117, 182, 24, 0.18);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  line-height: 1;
}

.brand-title {
  font-size: clamp(1.18rem, 2.1vw, 1.45rem);
}

.brand-ai {
  margin-left: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.headline h1 {
  margin: 0;
  font-size: clamp(2.55rem, 4.2vw, 3rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.headline h1 span {
  display: block;
}

.headline h1 span:last-child {
  color: #197476;
}

.headline p {
  max-width: 590px;
  margin: 30px 0 30px;
  color: #24313a;
  font-size: 1.25rem;
  line-height: 1.5;
}

.benefits {
  width: min(100%, 555px);
  padding: 22px 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 13px;
  background: rgba(240, 255, 248, 0.76);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(6px);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  color: #172027;
  font-size: 1rem;
  font-weight: 500;
}

.benefit + .benefit {
  margin-top: 2px;
}

.minus-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
}

.minus-icon::after {
  content: "";
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: #d6fff3;
}

.assurances {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  color: rgba(21, 43, 52, 0.72);
  font-size: 0.88rem;
}

.assurances span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assurances svg {
  width: 18px;
  height: 18px;
  fill: rgba(13, 89, 91, 0.74);
}

.auth-card {
  width: min(100%, 556px);
  margin-left: auto;
  padding: 42px 39px 39px;
  border: 1px solid rgba(16, 18, 24, 0.08);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.auth-card.onboarding-card {
  width: min(100%, 820px);
  margin: 0 auto;
}

.result-card {
  display: grid;
  gap: 18px;
}

.failed-score {
  background: linear-gradient(135deg, #32151a, #aa343f);
}

.auth-heading {
  margin-bottom: 34px;
  text-align: center;
}

.auth-heading h2 {
  margin: 0 0 8px;
  color: #111116;
  font-size: 1.88rem;
  line-height: 1.1;
}

.auth-heading p {
  margin: 0;
  color: #242633;
  font-size: 1rem;
}

.field {
  display: block;
  margin-bottom: 22px;
}

.field span {
  display: block;
  margin-bottom: 9px;
  font-size: 0.88rem;
  font-weight: 500;
}

.field input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #20242e;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field select {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #20242e;
  background: #fff;
  font: inherit;
  outline: 0;
}

.field input::placeholder {
  color: #8c8f98;
}

.field input:focus {
  border-color: rgba(15, 118, 110, 0.65);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 20px;
  font-size: 0.88rem;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #272a35;
  white-space: nowrap;
}

.remember input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--teal);
}

.submit-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #1c1c1c;
  box-shadow: 0 4px 8px rgba(18, 18, 18, 0.16);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #111;
  box-shadow: 0 6px 14px rgba(18, 18, 18, 0.2);
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button.is-loading {
  opacity: 0.66;
  cursor: wait;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-size: 0.88rem;
  text-align: center;
}

.form-message.success {
  color: #0e7a3e;
  font-weight: 800;
}

.signup-copy {
  margin: 4px 0 0;
  color: #222631;
  font-size: 0.88rem;
  text-align: center;
}

.reset-confirm-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-shell {
  width: min(100% - 64px, 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
}

.dashboard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}

.compact-brand {
  margin: 0;
}

.dashboard-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 5px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(18, 24, 32, 0.08);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  color: #22313a;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: #0b4f4a;
  background: rgba(15, 118, 110, 0.1);
  text-decoration: none;
}

.menu-link.is-active {
  color: #fff;
  background: #1c1c1c;
  box-shadow: 0 4px 10px rgba(18, 18, 18, 0.14);
}

.logout-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 10px;
  color: #111116;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.dashboard-hero,
.dashboard-panel,
.work-panel,
.mini-panel,
.stat-card {
  border: 1px solid rgba(16, 18, 24, 0.08);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

#overview,
#tasks,
#earnings,
#activity,
#payments {
  scroll-margin-top: 24px;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 38px 42px;
  border-radius: 16px;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  background: #1c1c1c;
  box-shadow: 0 4px 8px rgba(18, 18, 18, 0.16);
  white-space: nowrap;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: #fff;
  background: #111;
  text-decoration: none;
}

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

.stat-card {
  min-height: 138px;
  padding: 22px;
  border-radius: 14px;
}

.stat-card span,
.stat-card small {
  display: block;
  color: #52606b;
  font-size: 0.86rem;
}

.stat-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.work-panel,
.mini-panel {
  border-radius: 16px;
  padding: 28px;
}

.side-stack {
  display: grid;
  gap: 22px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2,
.mini-panel h2,
.payment-panel h2 {
  margin: 0;
  font-size: 1.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #084f4a;
  background: rgba(15, 118, 110, 0.13);
  font-size: 0.78rem;
  font-weight: 800;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  background: #fff;
}

.task-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.task-card p {
  margin: 0;
  color: #5a6570;
  font-size: 0.9rem;
}

.task-meta {
  text-align: right;
}

.task-meta strong,
.task-meta span {
  display: block;
}

.task-meta strong {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.task-meta span {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.earnings-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.earning-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e9ec;
}

.earning-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.activity-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #29333d;
}

.dashboard-panel {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 42px;
  border-radius: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-copy {
  max-width: 410px;
  color: #24313a;
  font-size: 1.05rem;
  line-height: 1.55;
}

.payment-form {
  min-width: 0;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 36px, 620px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 0;
  }

  .brand {
    margin-bottom: 24px;
  }

  .headline p {
    margin: 22px 0 24px;
  }

  .auth-card {
    width: 100%;
    margin: 0;
  }

  .dashboard-panel {
    grid-template-columns: 1fr;
  }

  .dashboard-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .dashboard-hero,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  body {
    background:
      radial-gradient(circle at 18% -4%, rgba(209, 255, 38, 0.74), transparent 30%),
      linear-gradient(172deg, #c7fb1e 0%, #65dc74 35%, #22bea6 100%);
  }

  .page-shell {
    width: min(100% - 28px, 460px);
    padding: 24px 0;
  }

  .brand {
    flex-wrap: wrap;
    gap: 9px;
  }

  .brand-mark {
    min-height: 42px;
  }

  .headline h1 {
    font-size: clamp(2.25rem, 11vw, 2.7rem);
  }

  .headline p {
    font-size: 1.04rem;
  }

  .benefits {
    padding: 18px;
  }

  .assurances {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
  }

  .auth-card {
    padding: 32px 24px 30px;
    border-radius: 15px;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-shell {
    width: min(100% - 28px, 460px);
    padding: 24px 0;
  }

  .dashboard-nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .dashboard-menu {
    order: initial;
    width: 100%;
  }

  .dashboard-panel {
    padding: 28px 22px;
  }

  .dashboard-hero,
  .work-panel,
  .mini-panel {
    padding: 24px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .task-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .task-meta {
    text-align: left;
  }
}

/* Mobile app dashboard */
.mobile-app-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(360px, 430px);
  gap: 18px;
  justify-content: center;
  padding: 18px 0;
}

.app-drawer,
.phone-stage {
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  background: #f8faf7;
  box-shadow: 0 20px 60px rgba(18, 24, 32, 0.18);
}

.app-drawer {
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
}

.profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 34px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #ecffd4;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.profile-card:hover {
  box-shadow: 0 12px 28px rgba(18, 24, 32, 0.08);
}

.profile-card:focus-visible {
  outline: 3px solid rgba(139, 211, 41, 0.42);
  outline-offset: 2px;
}

.profile-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8bd329;
  font-size: 1.4rem;
  font-weight: 800;
  overflow: hidden;
}

.profile-avatar img,
.account-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card h1 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.profile-card p {
  margin: 0;
  color: #2e3a33;
  font-size: 0.75rem;
}

.verified-badge {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #4a911e;
  font-size: 0.9rem;
}

.balance-strip {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  margin: 12px 0;
  padding: 14px;
  border-radius: 12px;
  background: #f2ffe3;
}

.balance-strip > div + div {
  border-left: 1px solid rgba(21, 57, 31, 0.14);
  padding-left: 14px;
}

.balance-strip span,
.balance-strip small,
.drawer-item small,
.phone-brand small,
.screen-heading p,
.welcome-card p,
.payout-card span,
.payout-card small,
.overview-card small,
.balance-box span,
.balance-box small,
.mini-stats span,
.progress-card small,
.app-row small,
.wallet-grid span {
  display: block;
  color: #59645d;
  font-size: 0.75rem;
}

.balance-strip strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 1rem;
}

.drawer-shortcuts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 16px;
  font-size: 0.78rem;
}

.text-button {
  border: 0;
  color: #1f4f1b;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.menu-group {
  padding: 8px 0;
  border-top: 1px solid #e8ece7;
}

.menu-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 4px 8px;
  color: #647067;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-title::after {
  flex: 1;
  height: 1px;
  background: #edf0ed;
  content: "";
}

.drawer-item {
  display: grid;
  width: 100%;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  color: #151a16;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.drawer-item:hover,
.drawer-item.is-active {
  background: #ecffe1;
}

.drawer-item.is-danger {
  position: relative;
  min-height: 64px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(231, 63, 83, 0.18);
  color: #b51f32;
  background: linear-gradient(135deg, #fff4f5, #ffe8eb);
  box-shadow: 0 12px 26px rgba(181, 31, 50, 0.08);
}

.drawer-item.is-danger:hover,
.drawer-item.is-danger:focus-visible {
  color: #8f1021;
  background: linear-gradient(135deg, #ffe9ed, #ffd7dd);
  box-shadow: 0 16px 32px rgba(181, 31, 50, 0.16);
  transform: translateY(-1px);
}

.drawer-item.is-danger .drawer-icon {
  color: #fff;
  background: linear-gradient(135deg, #e2364b, #9f1025);
  box-shadow: 0 10px 20px rgba(181, 31, 50, 0.22);
  font-size: 0.62rem;
  letter-spacing: 0;
}

.drawer-item.is-danger strong {
  color: #9f1025;
  font-size: 0.96rem;
  font-weight: 950;
  text-transform: uppercase;
}

.drawer-item.is-danger small {
  color: #7f323b;
  font-weight: 800;
}

.drawer-item.is-danger b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b51f32;
  font-size: 1rem;
}

.drawer-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #17833a;
  background: #e8ffdc;
  font-weight: 900;
}

.drawer-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.86rem;
}

.drawer-item em {
  min-width: 30px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #4d871e;
  background: #e5ffd7;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.drawer-item b {
  color: #89918b;
  font-size: 1.1rem;
}

.toggle-pill {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #c8ccc8;
}

.toggle-pill::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.phone-stage {
  min-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f1f2f1;
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.phone-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #16330c;
  background: #91ca1c;
  font-weight: 900;
}

.phone-brand strong {
  display: block;
  line-height: 1.05;
}

.icon-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #1c211d;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
}

.menu-button {
  gap: 4px;
  align-content: center;
  justify-items: center;
}

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

.alert-dot::after {
  content: "5";
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  padding: 0 4px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  background: #e63f4c;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.phone-content {
  flex: 1;
  overflow: auto;
  padding: 0 20px 94px;
}

.welcome-card,
.payout-card,
.overview-card,
.progress-card,
.screen-panel {
  margin-bottom: 16px;
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 24, 32, 0.08);
}

.welcome-card {
  padding: 26px 20px;
  background: linear-gradient(135deg, #d9ef9e, #a6cb5a);
}

.welcome-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.payout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background: #f7fbf1;
}

.payout-card strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 1.1rem;
}

.dark-action,
.app-row button,
.copy-box button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #1c1c1c;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.app-row button:disabled {
  opacity: 0.48;
  cursor: default;
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.overview-card,
.progress-card,
.screen-panel {
  padding: 18px;
}

.screen-panel {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding-top: 72px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.overview-card header,
.screen-heading,
.quota-line,
.earning-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.overview-card h3,
.progress-card h3,
.screen-heading h2 {
  margin: 0;
}

.balance-box {
  margin: 16px 0;
  padding: 18px;
  border-radius: 14px;
  background: #eef6e4;
}

.balance-box strong {
  display: block;
  margin: 4px 0;
  font-size: 2rem;
}

.mini-stats,
.wallet-grid,
.badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-stats > div,
.wallet-grid > div,
.badge-grid span {
  padding: 14px;
  border-radius: 12px;
  background: #f7f8f7;
}

.progress-track {
  height: 8px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e8e2;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #72b929;
}

.screen-heading {
  margin-bottom: 14px;
}

.tab-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  pointer-events: none;
  z-index: 3;
}

.tab-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #e2e8e1;
  border-radius: 9px;
  color: #154f28;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(18, 24, 32, 0.08);
}

.tab-controls button:last-child {
  width: 38px;
  padding: 0;
  color: #9f2531;
  background: #fff4f5;
}

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

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8ece7;
  border-radius: 12px;
  background: #fff;
}

.app-row strong,
.app-row span {
  display: block;
}

.row-action {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.positive {
  color: #168642;
  font-weight: 800;
}

.negative {
  color: #bd2631;
  font-weight: 800;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px;
  border-radius: 12px;
  background: #eef2ed;
}

.segmented button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.segmented button.is-active {
  color: #fff;
  background: #1c1c1c;
}

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

.app-form label span {
  display: block;
  margin-bottom: 7px;
  color: #303831;
  font-size: 0.8rem;
  font-weight: 800;
}

.app-form input,
.app-form select,
.copy-box input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #dce2dc;
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.copy-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.referral-hero {
  margin-bottom: 14px;
  padding: 22px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0b2018, #1c7d37);
}

.referral-hero span,
.referral-hero small,
.referral-hero strong {
  display: block;
}

.referral-hero span,
.referral-hero small {
  color: rgba(255, 255, 255, 0.78);
}

.referral-hero strong {
  margin: 8px 0;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.referral-copy {
  margin-bottom: 10px;
}

.referral-stats {
  margin-top: 16px;
}

.referral-stats strong {
  display: block;
  margin: 6px 0;
  font-size: 1.5rem;
}

.support-box {
  padding: 16px;
  border-radius: 12px;
  background: #f4f8ef;
}

.support-box p {
  color: #4d574f;
  line-height: 1.5;
}

.kyc-upload-form {
  margin-bottom: 18px;
}

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

.kyc-upload-box {
  min-height: 150px;
  border: 2px dashed #cfd9ce;
  background: #fbfdf8;
}

.kyc-upload-box input {
  padding: 14px;
  border-style: dashed;
  background: #fff;
}

.kyc-upload-box small {
  display: block;
  color: #166d35;
  font-weight: 800;
}

.withdraw-balance {
  position: relative;
  margin-bottom: 18px;
  padding: 24px;
  border-bottom: 1px solid #edf0ed;
}

.withdraw-balance strong,
.withdraw-balance span {
  display: block;
}

.withdraw-balance strong {
  font-size: 2.6rem;
}

.withdraw-balance span {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 800;
}

.withdraw-balance b {
  display: block;
  margin-top: 18px;
  color: #2d8f8a;
  font-size: 4rem;
  font-weight: 400;
}

.requirement-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.requirement-strip span {
  padding: 10px;
  border-radius: 10px;
  color: #9b2c36;
  background: #fff0f1;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.requirement-strip span.is-done {
  color: #166d35;
  background: #e8f8df;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.withdraw-fee-summary {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #f5dada;
  border-radius: 14px;
  background: #fff3f3;
}

.withdraw-fee-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.withdraw-fee-summary div:nth-child(2),
.withdraw-fee-summary div:nth-child(3),
.withdraw-fee-summary em {
  color: #9d2936;
}

.withdraw-fee-summary div:nth-child(3) {
  padding-top: 10px;
  border-top: 1px solid #efd6d8;
  font-weight: 900;
}

.withdraw-fee-summary span,
.withdraw-fee-summary small,
.withdraw-fee-summary em {
  display: block;
}

.withdraw-fee-summary small {
  color: #4e5651;
}

.withdraw-fee-summary em {
  font-style: normal;
  font-weight: 900;
}

.withdraw-fee-summary:not(.is-warning) {
  border-color: #d7edcd;
  background: #f4fbef;
}

.withdraw-fee-summary:not(.is-warning) div:nth-child(2),
.withdraw-fee-summary:not(.is-warning) div:nth-child(3),
.withdraw-fee-summary:not(.is-warning) em {
  color: #166d35;
}

.amount-buttons button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #242a25;
  background: #f1f2f1;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.amount-buttons button:last-child {
  color: #fff;
  background: #1c1c1c;
}

.payment-choice {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-weight: 800;
}

.payment-choice label {
  position: relative;
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 12px;
  border: 2px solid #e1e5e0;
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
}

.payment-choice input {
  position: absolute;
  opacity: 0;
}

.payment-choice label:has(input:checked) {
  border-color: #b7ef28;
  background: #fbfff0;
}

.payment-choice strong,
.payment-choice small,
.payment-choice em {
  display: block;
}

.payment-choice strong {
  font-size: 1rem;
}

.payment-choice em {
  margin: 4px 0;
  color: #1c7d37;
  font-size: 0.68rem;
  font-style: normal;
  text-transform: uppercase;
}

.recommended-method strong {
  font-weight: 900;
}

.withdraw-method-fields {
  display: grid;
  gap: 12px;
}

.withdraw-method-fields [data-method-fields] {
  display: grid;
  gap: 12px;
}

.withdraw-method-fields [data-method-fields][hidden] {
  display: none;
}

.withdraw-requirements-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(9, 37, 13, 0.72);
}

.withdraw-requirements-modal.is-open {
  display: grid;
}

.withdraw-modal-panel {
  width: min(100%, 520px);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.withdraw-modal-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.withdraw-modal-panel h3 {
  margin: 0;
  font-size: 1.55rem;
}

.withdraw-modal-panel header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 900;
}

.withdraw-status-box {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #edf0ed;
  border-radius: 14px;
  background: #f7f8f7;
  font-weight: 800;
}

.withdraw-modal-panel > p {
  color: #2f3a34;
  font-size: 1.05rem;
  line-height: 1.5;
}

.withdraw-progress-list {
  display: grid;
  gap: 20px;
  margin: 26px 0;
}

.withdraw-progress-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}

.withdraw-progress-list b {
  color: #c62837;
  font-size: 1.45rem;
  font-weight: 500;
}

.withdraw-progress-list article.is-done b {
  color: #117966;
}

.withdraw-progress-list strong,
.withdraw-progress-list span {
  display: block;
}

.withdraw-progress-list strong {
  font-size: 1.08rem;
}

.withdraw-progress-list span {
  margin-top: 6px;
  color: #4f5b55;
  line-height: 1.45;
}

.withdraw-complete-count {
  display: block;
  margin: 12px 0 20px;
  text-align: center;
}

.withdraw-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.withdraw-modal-actions button {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.withdraw-modal-actions button:first-child {
  background: #eee;
}

.withdraw-modal-actions button:last-child {
  color: #fff;
  background: #1c1c1c;
}

.schedule-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #f4f8ef;
}

.schedule-box span,
.form-hint {
  color: #59645d;
  font-size: 0.82rem;
}

.requirements-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.requirement-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #f1d4d8;
  border-radius: 12px;
  background: #fff7f8;
}

.requirement-row.is-done {
  border-color: #d7edcd;
  background: #f3fbef;
}

.requirement-row b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c8404c;
}

.requirement-row.is-done b {
  background: #43a33a;
}

.requirement-row strong,
.requirement-row small {
  display: block;
}

.requirement-row button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #101712;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.requirement-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.score-card {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0b2018, #1f7b42);
  text-align: center;
}

.score-card strong {
  font-size: 3rem;
}

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

.screening-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef8e8;
  color: #0b6d2e;
  font-weight: 800;
}

.screening-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid #e2e8e1;
  border-radius: 12px;
  background: #fff;
}

.screening-form legend {
  padding: 0 4px;
  font-weight: 800;
}

.screening-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.screening-form label span {
  display: grid;
  gap: 4px;
  line-height: 1.4;
}

.screening-form label b {
  color: #0b6d2e;
}

.tasks-page-head {
  grid-column: 1 / -1;
}

.tasks-page-head h1 {
  margin: 0 0 6px;
  font-size: 1.9rem;
}

.tasks-page-head p,
.recommendation-strip span,
.related-task-card p,
.detail-copy {
  color: #59645d;
  line-height: 1.5;
}

.recommendation-strip,
.more-tasks-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid #e5ece2;
  border-radius: 12px;
  background: #f7fbf3;
}

.recommendation-strip strong,
.recommendation-strip span {
  display: block;
}

.recommendation-strip button,
.more-tasks-banner button,
.details-link,
.bookmark-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #e2e8e1;
  border-radius: 9px;
  color: #154f28;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.task-filter-tabs {
  grid-column: 1 / -1;
}

.related-task-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.related-task-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid #e5e9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 24, 32, 0.04);
}

.related-task-card header,
.task-rewards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #56a938;
  font-size: 1.4rem;
  font-weight: 900;
}

.related-task-card em {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #26803a;
  background: #eef8e9;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.related-task-card h2 {
  margin: 0;
  font-size: 1.45rem;
}

.task-card-meta {
  display: flex;
  gap: 14px;
  color: #59645d;
  font-size: 0.85rem;
}

.task-rewards {
  padding: 14px 0;
  border-top: 1px solid #edf0ed;
  border-bottom: 1px solid #edf0ed;
}

.task-rewards span {
  padding: 10px 14px;
  border-radius: 10px;
  color: #214227;
  background: #f7f8f7;
  font-weight: 900;
}

.task-bullets {
  display: grid;
  gap: 8px;
}

.task-bullets span::before {
  content: "✓";
  margin-right: 8px;
  color: #27843b;
  font-size: 0.92rem;
  font-weight: 900;
}

.start-task-button {
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #07501f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.related-task-card.is-locked .start-task-button {
  background: #44275b;
}

.details-link {
  border: 0;
  background: transparent;
}

.clean-tasks-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.task-filter-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #e2e8e1;
  border-radius: 8px;
  color: #17221b;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.task-filter-button::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  transform: translateY(1px);
}

.task-tabs-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 26px;
  border-bottom: 1px solid #e8ece8;
}

.task-tabs-row button {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #4e5a53;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.task-tabs-row button.is-active {
  color: #1c7d37;
  border-bottom-color: #1c7d37;
}

.task-filter-panel {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid #e5ece2;
  border-radius: 12px;
  background: #f8fbf7;
}

.task-filter-panel.is-open {
  display: grid;
}

.task-filter-panel label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.task-filter-panel span {
  color: #516059;
  font-size: 0.78rem;
  font-weight: 900;
}

.task-filter-panel select,
.task-filter-panel button {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe7df;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.task-filter-panel button {
  cursor: pointer;
}

.task-filter-panel button[data-apply-task-filters] {
  border-color: #07501f;
  color: #fff;
  background: #07501f;
}

.task-result-count {
  grid-column: 1 / -1;
  margin: 0;
  color: #69746d;
  font-weight: 800;
}

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

.clean-task-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 218px;
  padding: 24px 24px 50px;
  border: 1px solid #e6ebe5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 24, 32, 0.035);
}

.clean-task-card em {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  color: #1f8f37;
  background: #effbea;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.clean-task-card h2 {
  margin: 0;
  color: #121712;
  font-size: 1.25rem;
  line-height: 1.2;
}

.clean-task-card p {
  margin: 0;
  color: #4d5952;
  line-height: 1.42;
}

.clean-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.clean-task-meta span,
.clean-task-meta strong,
.clean-task-meta b {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0 12px;
  background: #f8faf7;
  color: #17221b;
  font-size: 0.84rem;
  font-weight: 900;
}

.clean-task-meta strong,
.clean-task-meta b {
  color: #087232;
  background: #f0fbec;
}

.task-check-button {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: grid;
  min-width: 24px;
  height: 28px;
  place-items: center;
  border: 0;
  color: #07501f;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
}

.clean-task-action {
  position: absolute;
  left: 18px;
  bottom: 14px;
  border: 0;
  color: #07501f;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.clean-task-card.is-locked {
  background: #fcfcfb;
}

.clean-task-card.is-locked .task-check-button,
.clean-task-card.is-locked .clean-task-action {
  color: #744598;
}

.empty-task-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  min-height: 160px;
  place-items: center;
  border: 1px dashed #dbe5dc;
  border-radius: 12px;
  background: #fff;
}

.package-overlay-page {
  grid-column: 1 / -1;
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 18px;
  background: rgba(7, 10, 15, 0.86);
}

.package-modal-card {
  position: relative;
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 18px;
  color: #f7f8fb;
  background: #1f242d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #303743;
  cursor: pointer;
}

.package-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.package-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #2a303a;
}

.package-option.is-popular {
  border-color: #d4a828;
}

.package-option h3,
.package-option p {
  margin: 0 0 7px;
}

.package-option span {
  color: #29b764;
}

.package-option button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #d19aff;
  background: #3d2856;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
}

.task-detail-hero,
.payment-summary-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.task-detail-hero div,
.payment-summary-card {
  padding: 16px;
  border-radius: 12px;
  background: #f4f8ef;
}

.task-detail-hero span,
.payment-summary-card span {
  display: block;
  color: #59645d;
  font-size: 0.78rem;
}

.task-detail-hero strong,
.payment-summary-card b {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.payment-summary-card {
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.task-detail-page {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  align-items: start;
}

.task-detail-main {
  display: grid;
  gap: 18px;
}

.back-button {
  width: max-content;
}

.task-detail-header,
.prompt-card,
.rating-work-card,
.rating-guide {
  border: 1px solid #edf0ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 24, 32, 0.04);
}

.task-detail-header {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.task-detail-header em {
  display: block;
  color: #1c7d37;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.task-detail-header h1 {
  margin: 6px 0;
  font-size: 1.25rem;
}

.task-detail-header p {
  margin: 0;
  color: #59645d;
  font-size: 0.86rem;
}

.task-earnings-box {
  min-width: 112px;
  padding: 14px;
  border: 1px solid #cfe8c8;
  border-radius: 10px;
  text-align: center;
}

.task-earnings-box span,
.task-earnings-box strong {
  display: block;
}

.task-earnings-box span {
  color: #1c7d37;
  font-size: 0.8rem;
}

.task-earnings-box strong {
  margin-top: 4px;
  font-size: 1.25rem;
}

.prompt-card {
  padding: 20px 24px;
}

.prompt-card strong,
.prompt-card p {
  margin: 0;
}

.prompt-card strong {
  display: block;
  margin-bottom: 8px;
}

.rating-work-card {
  padding: 20px;
}

.rating-work-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.rating-work-card header p {
  margin: 0;
}

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

.response-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
  background: #fff;
}

.response-panel:has(.response-choice input:checked) {
  border-color: #8bd329;
  box-shadow: 0 0 0 3px rgba(139, 211, 41, 0.16);
}

.response-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: #145c2a;
  font-weight: 900;
  cursor: pointer;
}

.response-choice input {
  width: 18px;
  height: 18px;
  accent-color: #0c8a2e;
}

.response-panel h3,
.response-panel p {
  margin: 0;
}

.response-panel p {
  color: #283229;
  line-height: 1.65;
}

.star-rating {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.star-rating label {
  cursor: pointer;
}

.star-rating input {
  position: absolute;
  opacity: 0;
}

.star-rating span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid #dfe5de;
  border-radius: 10px;
  color: #7b8580;
  background: #f8faf8;
  font-weight: 900;
}

.star-rating input:checked + span {
  color: #fff;
  border-color: #0c8a2e;
  background: #0c8a2e;
}

.chosen-rating-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #e0eadf;
  border-radius: 12px;
  background: #f8fcf5;
}

.chosen-rating-panel legend {
  padding: 0 6px;
  color: #17221b;
  font-weight: 900;
}

.rating-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding-top: 16px;
}

.rating-footer strong {
  text-align: center;
}

.rating-guide {
  display: grid;
  gap: 14px;
  padding: 20px;
  position: sticky;
  top: 86px;
}

.rating-guide h3,
.rating-guide h4,
.rating-guide p {
  margin: 0;
}

.rating-guide div {
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0ed;
}

.rating-guide p,
.rating-guide span {
  display: block;
  color: #59645d;
  font-size: 0.82rem;
  line-height: 1.5;
}

.completion-panel {
  grid-column: 1 / -1;
  max-width: 680px;
  margin: 40px auto;
  text-align: center;
}

.completion-panel h1 {
  margin: 0;
  font-size: 2.2rem;
}

@media (max-width: 760px) {
  .recommendation-strip,
  .more-tasks-banner,
  .package-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-task-grid {
    grid-template-columns: 1fr;
  }

  .related-task-card {
    padding: 20px;
  }

  .task-rewards {
    align-items: stretch;
    flex-direction: column;
  }

  .package-overlay-page {
    padding: 12px;
  }

  .task-detail-hero,
  .payment-summary-card,
  .task-detail-page,
  .response-grid,
  .task-detail-header {
    grid-template-columns: 1fr;
  }

  .rating-guide {
    position: static;
  }

  .rating-footer {
    grid-template-columns: 1fr;
  }
}

/* Policy and support pages */
.policy-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 211, 41, 0.2), transparent 34%),
    linear-gradient(135deg, #f7faf5, #eef5ef);
}

.policy-page {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto;
  padding: 36px 0 60px;
}

.policy-page > a {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0b7135;
  background: #e7ffdc;
  font-weight: 900;
  text-decoration: none;
}

.policy-page h1,
.policy-page h2,
.policy-page p {
  padding: 0 24px;
}

.policy-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 7vw, 3.5rem);
}

.policy-page h2 {
  margin: 26px 0 8px;
}

.policy-page p {
  color: #4f5d55;
  line-height: 1.7;
}

/* Admin dashboard */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(136, 229, 63, 0.18), transparent 32%),
    linear-gradient(135deg, #f7faf5, #eef5ef);
}

.admin-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid rgba(54, 128, 63, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(24, 54, 31, 0.12);
}

.admin-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0d7637;
  background: #e7ffdc;
  font-weight: 900;
}

.admin-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.admin-hero p {
  max-width: 620px;
  color: #56615a;
}

.admin-token-form {
  display: grid;
  gap: 10px;
}

.admin-token-form label {
  display: grid;
  gap: 6px;
  color: #26342b;
  font-weight: 800;
}

.admin-token-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dce6da;
  border-radius: 12px;
  font: inherit;
}

.admin-token-form button,
.admin-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #104f2c, #23a746);
  box-shadow: 0 12px 26px rgba(20, 106, 50, 0.18);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.admin-stats article,
.admin-row,
.admin-panel {
  border: 1px solid rgba(54, 128, 63, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(24, 54, 31, 0.08);
}

.admin-stats article {
  padding: 18px;
}

.admin-stats span {
  color: #667269;
  font-weight: 800;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 12px 14px;
  border: 1px solid #dbeed6;
  border-radius: 16px;
  color: #23442c;
  background: linear-gradient(135deg, #f7fff2, #ffffff);
  box-shadow: 0 12px 26px rgba(24, 54, 31, 0.06);
}

.admin-guide strong {
  white-space: nowrap;
}

.admin-guide span {
  color: #5c6a60;
  font-size: 0.88rem;
}

.admin-tabs button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dce8d8;
  border-radius: 999px;
  color: #1e3426;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #104f2c, #23a746);
}

.admin-panel {
  min-height: 360px;
  padding: 18px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.admin-row h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 6px;
  font-size: 1rem;
}

.admin-row p,
.admin-row small {
  display: block;
  margin: 0;
  color: #59645d;
}

.admin-risk {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.admin-risk span,
.admin-risk.clean {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  color: #9a6700;
  background: #fff1bd;
  font-size: 0.68rem;
  font-weight: 900;
}

.admin-risk.clean {
  color: #0b7135;
  background: #e3ffd9;
}

.admin-detail {
  margin-top: 10px;
}

.admin-detail summary {
  cursor: pointer;
  color: #0d7637;
  font-weight: 900;
}

.admin-detail pre {
  overflow: auto;
  margin: 8px 0 0;
  padding: 12px;
  border-radius: 12px;
  color: #203329;
  background: #f3f8f1;
  font-size: 0.78rem;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions button:last-child {
  background: linear-gradient(135deg, #d9364c, #991226);
}

.admin-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.admin-badge.good {
  color: #0b7135;
  background: #dcffd3;
}

.admin-badge.wait {
  color: #9a6700;
  background: #fff1bd;
}

.admin-badge.bad {
  color: #a51629;
  background: #ffe1e5;
}

.admin-empty {
  margin: 0;
  padding: 24px;
  border-radius: 14px;
  color: #536057;
  background: #f8fbf6;
  text-align: center;
}

.admin-empty.error {
  color: #a51629;
  background: #ffe8ec;
}

@media (max-width: 760px) {
  .admin-hero,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions button {
    flex: 1;
  }
}

.toast-message {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #0e5f34;
  background: #e6fbdf;
  font-size: 0.88rem;
  font-weight: 800;
}

.toast-message.error {
  color: #a71f2b;
  background: #ffe8eb;
}

.bottom-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 10px 14px 14px;
  border-top: 1px solid #e0e4df;
  background: rgba(255, 255, 255, 0.92);
}

.bottom-tab {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  color: #646c66;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.bottom-tab span {
  font-size: 1rem;
}

.bottom-tab.is-active {
  color: #1c7d37;
  background: #eefbdd;
}

.drawer-backdrop {
  display: none;
}

.dark-app .phone-stage,
.dark-app .app-drawer {
  color: #edf2ee;
  background: #171b18;
}

.dark-app .screen-panel,
.dark-app .overview-card,
.dark-app .progress-card,
.dark-app .payout-card,
.dark-app .app-row,
.dark-app .bottom-tabs {
  color: #edf2ee;
  background: #202621;
}

@media (max-width: 820px) {
  .requirement-row {
    grid-template-columns: 38px 1fr;
  }

  .requirement-row button {
    grid-column: 2;
    width: 100%;
  }

  .requirement-action-row {
    grid-template-columns: 1fr;
  }

  .kyc-upload-grid {
    grid-template-columns: 1fr;
  }

  .requirement-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .withdraw-modal-panel {
    padding: 24px;
  }

  .withdraw-modal-actions {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-app-shell {
    width: min(100% - 18px, 430px);
    display: block;
  }

  .app-drawer {
    position: fixed;
    z-index: 20;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: min(320px, calc(100vw - 42px));
    max-height: none;
    transform: translateX(-110%);
    transition: transform 180ms ease;
  }

  .app-drawer.is-open {
    transform: translateX(0);
  }

  .drawer-backdrop {
    position: fixed;
    z-index: 19;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.36);
  }

  .drawer-backdrop.is-visible {
    display: block;
  }
}

@media (max-width: 430px) {
  .phone-topbar {
    gap: 7px;
    padding-inline: 10px;
  }

  .top-status-pill {
    grid-template-columns: 30px 1fr;
    padding-inline: 8px;
  }

  .top-status-pill b {
    display: none;
  }

  .top-pill-icon {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
  }

  .top-level-pill {
    max-width: 154px;
  }

  .top-balance-pill {
    flex-basis: 118px;
  }

  .top-status-pill small {
    font-size: 0.68rem;
  }

  .top-status-pill strong {
    font-size: 0.78rem;
  }

  .account-button {
    width: 40px;
    height: 40px;
  }

  .top-profile-caret {
    display: none;
  }

  .profile-stat-grid,
  .profile-meta-row,
  .compact-level-row,
  .profile-achievement-row {
    grid-template-columns: 1fr;
  }

  .profile-hero-card,
  .profile-card-panel {
    padding: 16px;
  }

  .profile-main-copy textarea {
    font-size: 0.92rem;
  }

  .profile-contact-card span {
    font-size: 0.9rem;
  }

  .level-roadmap,
  .achievement-badge-grid,
  .milestone-timeline {
    grid-template-columns: 1fr;
  }

  .assessment-stat-grid {
    grid-template-columns: 1fr;
  }

  .training-stat-grid {
    grid-template-columns: 1fr;
  }

  .training-tabs {
    overflow-x: auto;
  }

  .mobile-app-shell {
    width: 100%;
    padding: 0;
  }

  .phone-stage {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .phone-content {
    padding-inline: 14px;
  }

  .mini-stats,
  .wallet-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop dashboard layout inspired by the provided reference */
.mobile-app-shell {
  width: 100%;
  max-width: none;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 0;
  align-items: start;
  justify-content: center;
  padding: 0;
  background: #fff;
}

.app-drawer {
  position: sticky;
  top: 0;
  max-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #111713;
}

.side-brand:hover {
  text-decoration: none;
}

.side-brand strong {
  display: block;
  color: #111713;
  font-size: 1.18rem;
  line-height: 1.05;
}

.side-brand small {
  display: block;
  color: #59645d;
  margin-top: 3px;
}

.profile-card {
  grid-template-columns: 56px 1fr;
  background: #fff;
  border: 1px solid #edf0ed;
  box-shadow: 0 10px 24px rgba(18, 24, 32, 0.05);
}

.verified-badge {
  display: none;
}

.balance-strip {
  display: block;
  margin: 12px 0 18px;
  padding: 18px;
  color: #fff;
  background: radial-gradient(circle at 78% 48%, rgba(72, 154, 56, 0.34), transparent 36%), #071c16;
}

.balance-strip > div + div {
  margin-top: 16px;
  padding: 16px 0 0;
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.balance-strip span,
.balance-strip small {
  color: rgba(255, 255, 255, 0.72);
}

.balance-strip strong {
  color: #fff;
  font-size: 1.25rem;
}

.drawer-shortcuts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 4px 0;
  color: #1f2b23;
  font-weight: 800;
}

.streak-fire {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  filter: grayscale(1);
  opacity: 0.36;
}

.streak-fire::before {
  content: "";
  width: 15px;
  height: 20px;
  border-radius: 75% 75% 70% 70%;
  background: linear-gradient(160deg, #777, #aaa);
  clip-path: polygon(50% 0%, 72% 30%, 100% 52%, 83% 100%, 50% 88%, 17% 100%, 0 52%, 28% 30%);
  transform: rotate(12deg);
}

.streak-fire.is-lit {
  filter: none;
  opacity: 1;
}

.streak-fire.is-lit::before {
  background: radial-gradient(circle at 52% 67%, #fff48c 0 18%, #ffbc32 28%, #ff6b18 62%, #de2d18 100%);
  box-shadow: 0 0 12px rgba(255, 117, 24, 0.85), 0 0 22px rgba(255, 183, 46, 0.42);
}

.menu-group {
  border-top: 0;
}

.drawer-item {
  min-height: 44px;
  grid-template-columns: 30px 1fr auto;
  border-radius: 9px;
}

.drawer-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.76rem;
}

.drawer-item.is-active {
  color: #1c7d37;
  background: #eef8eb;
}

.drawer-item em {
  color: #33902f;
}

.phone-stage {
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fafbfa;
  width: 100%;
  min-width: 0;
}

.phone-topbar {
  height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid #edf0ed;
  background: #fff;
}

.desktop-spacer {
  flex: 1;
}

.account-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #101712;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  overflow: hidden;
}

.top-status-pill {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px 14px;
  border: 1px solid #dfe8df;
  border-radius: 16px;
  color: #1e2d22;
  background: #f7fbf4;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.top-status-pill strong,
.top-status-pill small {
  display: block;
}

.top-status-pill small {
  color: #69746d;
}

.top-pill-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #1c7d37;
  background: #e8f8df;
  font-weight: 900;
}

.top-status-pill b,
.top-profile-caret {
  color: #1c7d37;
  font-weight: 900;
}

.top-bell-button {
  border: 1px solid #e0eadf;
  border-radius: 14px;
  color: #132019;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 24, 32, 0.05);
}

.bell-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 21px;
}

.bell-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 5px 5px;
}

.bell-icon::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 18px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.top-bell-button::before {
  content: "";
  position: absolute;
  bottom: 9px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.top-bell-button:hover,
.top-bell-button.is-active {
  border-color: #b9e68b;
  color: #1c7d37;
  background: #f3fde8;
}

.top-profile-caret {
  width: 28px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.phone-content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.desktop-welcome {
  grid-column: 1 / -1;
}

.desktop-welcome h1 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.desktop-welcome p {
  margin: 0;
  color: #68746d;
}

.goal-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto auto 104px;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 28px 30px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #61bb3c, #289636);
  overflow: hidden;
}

.goal-banner h2,
.goal-banner p {
  margin: 0;
}

.goal-banner p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.goal-track {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.goal-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #083d18;
}

.target-art {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  border: 12px solid rgba(255, 255, 255, 0.9);
  font-size: 3rem;
  font-weight: 900;
}

.metric-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric-card,
.dashboard-card,
.refer-banner {
  border: 1px solid #edf0ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 24, 32, 0.04);
}

.metric-card {
  min-height: 132px;
  padding: 22px;
}

.metric-card span,
.metric-card small,
.dashboard-card small {
  color: #69746d;
  font-size: 0.78rem;
}

.metric-card span {
  display: block;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.dashboard-card {
  padding: 24px;
}

.dashboard-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.performance-card,
.recent-card,
.progress-summary-card {
  grid-column: span 6;
}

.earnings-chart-card,
.categories-card,
.achievements-card {
  grid-column: span 6;
}

.performance-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px solid #edf0ed;
}

.performance-stats div {
  text-align: center;
}

.performance-stats strong,
.performance-stats span {
  display: block;
}

.performance-stats span {
  color: #69746d;
  font-size: 0.76rem;
}

.soft-action,
.tiny-select,
.link-action {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.soft-action {
  width: 100%;
  color: #1d2a20;
  background: #f5f6f5;
}

.tiny-select,
.link-action {
  padding: 0 12px;
  color: #1c7d37;
  background: transparent;
}

.earnings-chart-card header,
.recent-card header,
.categories-card header,
.achievements-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.large-money {
  display: block;
  margin-bottom: 4px;
  font-size: 2rem;
}

.fake-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 18px;
  height: 142px;
  margin: 22px 0;
  padding: 0 12px;
  border-bottom: 1px solid #dfe8df;
  background: linear-gradient(180deg, transparent, rgba(87, 174, 58, 0.08));
}

.fake-chart i {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #56b53d, #9edb83);
}

.compact-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0ed;
}

.compact-task:last-child {
  border-bottom: 0;
}

.compact-task span {
  font-weight: 800;
  text-align: right;
}

.compact-task span small {
  display: block;
}

.category-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 42px 58px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
}

.category-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ece6;
}

.category-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #53aa34;
}

.progress-summary-card .mini-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.achievement-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.achievement-row b {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #55a63b;
}

.achievement-row strong,
.achievement-row small {
  display: block;
}

.muted-achievement {
  opacity: 0.45;
}

.refer-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  background: #eef8eb;
}

.refer-banner h2,
.refer-banner p {
  margin: 0;
}

.refer-banner p {
  margin-top: 6px;
  color: #59645d;
}

.live-withdrawals-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.live-withdrawals-card.compact-live {
  grid-column: 1 / -1;
}

.live-withdrawals-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.live-withdrawals-card header h2,
.live-withdrawals-card header p {
  margin: 0;
}

.live-withdrawals-card header p {
  margin-top: 4px;
  color: #69746d;
  font-size: 0.86rem;
}

.live-withdrawal-window {
  position: relative;
  height: 216px;
  overflow: hidden;
  border: 1px solid #edf0ed;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbf3, #fff);
}

.live-withdrawal-window::before,
.live-withdrawal-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 34px;
  pointer-events: none;
}

.live-withdrawal-window::before {
  top: 0;
  background: linear-gradient(180deg, #f7fbf3, rgba(247, 251, 243, 0));
}

.live-withdrawal-window::after {
  bottom: 0;
  background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0));
}

.live-withdrawal-track {
  display: grid;
  gap: 8px;
  padding: 12px;
  animation: liveWithdrawalsScroll 30s linear infinite;
}

.live-withdrawal-window:hover .live-withdrawal-track {
  animation-play-state: paused;
}

.live-withdrawal-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(104px, auto);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #edf0ed;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.live-withdrawal-row span {
  color: #153225;
  font-weight: 900;
}

.live-withdrawal-row strong {
  color: #168642;
}

.live-withdrawal-row small {
  color: #68746d;
  text-align: right;
}

.earnings-wallet-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(320px, 1.65fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.wallet-hero-card,
.wallet-stat-card,
.earnings-overview-card,
.earnings-breakdown-card,
.recent-transactions-card,
.wallet-side-card,
.wallet-rewards-banner {
  border: 1px solid #e8ece8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 31, 20, 0.04);
}

.wallet-hero-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 26%, rgba(169, 226, 75, 0.42), transparent 28%),
    linear-gradient(135deg, #1e7f2d 0%, #267e2d 47%, #0d4f26 100%);
}

.wallet-hero-card::after {
  position: absolute;
  right: 30px;
  top: 86px;
  width: 122px;
  height: 86px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -18px 34px rgba(3, 46, 15, 0.14);
  content: "";
}

.wallet-hero-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.wallet-hero-card span,
.wallet-hero-card small {
  display: block;
  color: rgba(255, 255, 255, 0.88);
}

.wallet-hero-card strong {
  display: block;
  position: relative;
  z-index: 1;
  margin: 34px 0 8px;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1;
}

.wallet-hero-card > small {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 800;
}

.wallet-hero-card > b {
  position: absolute;
  right: 72px;
  top: 118px;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 999px;
  color: #0d7b4a;
  background: #d9f46b;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(4, 46, 13, 0.22);
}

.wallet-eye {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
}

.wallet-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
  margin-top: 42px;
}

.wallet-hero-actions button {
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  color: #19612d;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.wallet-hero-actions button:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.wallet-stat-grid {
  display: grid;
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wallet-stat-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  min-height: 132px;
  padding: 24px;
}

.wallet-stat-card i {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: #1d7d37;
  background: #e7f7dd;
  font-style: normal;
  font-weight: 900;
}

.wallet-stat-card.calendar i {
  color: #6a38b7;
  background: #f0e6ff;
}

.wallet-stat-card.clock i {
  color: #b87900;
  background: #fff2cb;
}

.wallet-stat-card.wallet i {
  color: #2268ad;
  background: #e4f1ff;
}

.wallet-stat-card span,
.wallet-stat-card small,
.wallet-stat-card em {
  display: block;
  color: #69746d;
  font-size: 0.78rem;
}

.wallet-stat-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.55rem;
}

.wallet-stat-card em {
  color: #15803d;
  font-style: normal;
  font-weight: 900;
}

.earnings-overview-card,
.recent-transactions-card {
  grid-column: span 2;
  padding: 26px;
}

.earnings-breakdown-card,
.wallet-side-card {
  padding: 26px;
}

.earnings-overview-card header,
.earnings-breakdown-card header,
.recent-transactions-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.earnings-overview-card h3,
.earnings-breakdown-card h3,
.recent-transactions-card h3,
.wallet-side-card h3 {
  margin: 0;
}

.earnings-overview-card header strong {
  display: block;
  margin-top: 28px;
  font-size: 2.05rem;
}

.earnings-overview-card header span,
.earnings-overview-card header small {
  display: block;
  color: #69746d;
}

.earnings-overview-card header small {
  margin-top: 12px;
  color: #16803d;
  font-weight: 900;
}

.wallet-chart svg {
  width: 100%;
  min-height: 220px;
}

.chart-grid {
  fill: none;
  stroke: #e6ece7;
  stroke-width: 1;
}

.chart-area {
  fill: rgba(58, 152, 60, 0.12);
}

.chart-line {
  fill: none;
  stroke: #388d35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-dot {
  fill: #388d35;
  stroke: #fff;
  stroke-width: 3;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #69746d;
  font-size: 0.78rem;
}

.donut-wrap {
  display: grid;
  place-items: center;
  padding: 12px 0 20px;
}

.donut-chart {
  display: grid;
  width: 178px;
  height: 178px;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, #fff 0 46%, transparent 47%),
    conic-gradient(#39a935 0 50%, #6d3bd2 50% 76%, #3b82f6 76% 91%, #f3a712 91% 100%);
}

.donut-chart strong,
.donut-chart span {
  display: block;
  text-align: center;
}

.donut-chart strong {
  font-size: 1.35rem;
}

.donut-chart span {
  color: #69746d;
  font-size: 0.8rem;
}

.breakdown-list {
  display: grid;
  gap: 13px;
  margin-bottom: 18px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto 54px;
  gap: 10px;
  align-items: center;
  font-size: 0.86rem;
}

.breakdown-row span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.breakdown-row i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.breakdown-row .green {
  background: #39a935;
}

.breakdown-row .purple {
  background: #6d3bd2;
}

.breakdown-row .blue {
  background: #3b82f6;
}

.breakdown-row .orange {
  background: #f3a712;
}

.breakdown-row strong {
  font-size: 0.86rem;
}

.breakdown-row small {
  color: #69746d;
  text-align: right;
}

.transaction-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.transaction-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.transaction-table th,
.transaction-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #edf0ed;
  text-align: left;
  white-space: nowrap;
}

.transaction-table th {
  color: #667066;
  font-size: 0.74rem;
  font-weight: 900;
}

.table-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #4b5563;
  background: #f4f5f4;
  font-size: 0.75rem;
  font-weight: 800;
}

.transaction-table .positive {
  color: #15803d;
  font-weight: 900;
}

.transaction-table .negative {
  color: #dc2626;
  font-weight: 900;
}

.wallet-actions-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.wallet-actions-list button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  color: #152017;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.wallet-actions-list button:hover {
  background: #f6f8f5;
}

.wallet-actions-list span {
  font-weight: 900;
}

.wallet-actions-list small {
  display: block;
  color: #69746d;
}

.wallet-actions-list b {
  grid-row: span 2;
  color: #69746d;
}

.withdrawal-limit-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  background: #f2f8ec;
}

.withdrawal-limit-box h4,
.withdrawal-limit-box p {
  margin: 0 0 8px;
}

.withdrawal-limit-box p,
.withdrawal-limit-box small {
  color: #69746d;
}

.withdrawal-limit-box strong {
  display: block;
  margin-top: 16px;
}

.wallet-rewards-banner {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 94px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: #f5fbef;
}

.reward-art {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 20px;
  color: #7a4f00;
  background: linear-gradient(135deg, #ffd166, #84cc16);
  font-size: 2rem;
  font-weight: 900;
}

.wallet-rewards-banner h3,
.wallet-rewards-banner p {
  margin: 0;
}

.wallet-rewards-banner p {
  color: #69746d;
}

.reward-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.reward-pills span {
  padding: 14px;
  border: 1px solid #edf0ed;
  border-radius: 10px;
  background: #fff;
  font-weight: 900;
}

.reward-pills small {
  display: block;
  margin-top: 4px;
  color: #69746d;
  font-weight: 600;
}

.training-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.training-hero,
.training-stat,
.training-main-card,
.training-side-card,
.training-recommend-card,
.training-resources-card,
.training-help-card,
.training-footer-banner {
  border: 1px solid #e8ece8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 31, 20, 0.04);
}

.training-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.55fr) 150px;
  gap: 24px;
  align-items: center;
  min-height: 188px;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(203, 245, 80, 0.24), transparent 26%),
    linear-gradient(135deg, #0b3d2e, #0e211b);
}

.training-hero h2,
.training-hero p {
  margin: 0;
}

.training-hero h2 {
  color: #a9df45;
  font-size: 1.45rem;
}

.training-hero p {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.training-hero button,
.training-module button,
.training-recommend-card button,
.training-help-card button,
.certificate-row button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.training-hero button {
  margin-top: 18px;
  padding: 0 18px;
  color: #102016;
  background: #fff;
}

.training-progress-card {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.training-progress-card span,
.training-progress-card small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.training-progress-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1.5rem;
}

.training-art {
  display: grid;
  min-height: 118px;
  place-items: center;
  border-radius: 20px;
  color: #16391e;
  background: linear-gradient(135deg, #fff, #d7efa0);
  font-weight: 900;
  transform: rotate(-8deg);
}

.training-stat-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.training-stat {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 106px;
  padding: 20px;
}

.training-stat i,
.training-module i,
.certificate-row i,
.training-resource-row i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #1c7d37;
  background: #e7f7dd;
  font-style: normal;
  font-weight: 900;
}

.training-stat span,
.training-stat small,
.training-module small,
.training-recommend-card p,
.training-recommend-card small,
.training-recommend-card span,
.training-resources-card p,
.training-resource-row small,
.certificate-row small,
.training-help-card p,
.training-footer-banner small {
  display: block;
  color: #69746d;
}

.training-stat strong {
  display: block;
  margin: 6px 0;
  font-size: 1.55rem;
}

.training-main-card,
.training-recommend-card,
.training-resources-card,
.training-help-card {
  padding: 24px;
}

.training-main-card {
  grid-row: span 2;
}

.training-main-card header,
.training-side-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.training-main-card h3,
.training-side-card h3,
.training-recommend-card h3,
.training-resources-card h3,
.training-help-card h3 {
  margin: 0;
}

.training-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf0ed;
}

.training-tabs button {
  min-height: 38px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #637067;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.training-tabs button.is-active {
  color: #1c7d37;
  border-color: #1c7d37;
}

.training-module-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.training-module {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
}

.training-module i.blue,
.certificate-row i.purple {
  color: #2563eb;
  background: #e0efff;
}

.training-module i.purple {
  color: #6d3bd2;
  background: #efe6ff;
}

.training-module i.orange,
.certificate-row i.orange {
  color: #c46b00;
  background: #fff0cf;
}

.training-module i.pink {
  color: #d52f69;
  background: #ffe2ec;
}

.training-status {
  min-width: 82px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1c7d37;
  background: #eef8eb;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.training-module button,
.training-recommend-card button {
  padding: 0 18px;
  color: #fff;
  background: #075c2f;
}

.training-side-card {
  padding: 24px;
}

.certificate-row,
.training-resource-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf0ed;
}

.certificate-row:last-child,
.training-resource-row:last-child {
  border-bottom: 0;
}

.certificate-row button {
  padding: 0 12px;
  color: #1c7d37;
  background: #eef8eb;
}

.why-train-card {
  align-self: start;
}

.training-recommend-card article {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
}

.recommend-art {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #2fac48, #075c2f);
  font-weight: 900;
}

.training-resources-card {
  align-self: start;
}

.training-help-card {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 18px;
  align-items: center;
  background: #eef8eb;
}

.training-help-card span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  color: #075c2f;
  border: 3px solid #2fac48;
  font-weight: 900;
}

.training-help-card button {
  padding: 0 16px;
  color: #102016;
  background: #fff;
}

.training-footer-banner {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: #f5fbef;
}

.training-footer-banner strong {
  display: block;
  margin-bottom: 4px;
}

.assessment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.assessment-title-card,
.assessment-stat,
.assessment-hero,
.assessment-main-card,
.assessment-side-card,
.assessment-recommend-card,
.assessment-achievements-card {
  border: 1px solid #e8ece8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 31, 20, 0.04);
}

.assessment-title-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: center;
  padding: 26px 28px;
}

.assessment-title-card h2,
.assessment-title-card p {
  margin: 0;
}

.assessment-title-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.assessment-title-card p {
  margin-top: 10px;
  color: #69746d;
}

.assessment-title-art {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-radius: 24px;
  color: #075c2f;
  background: radial-gradient(circle, #d8f7c6, #f8fff4);
  font-size: 2.4rem;
  font-weight: 900;
}

.assessment-stat-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.assessment-stat {
  display: grid;
  gap: 8px;
  min-height: 150px;
  justify-items: center;
  align-content: center;
  padding: 20px;
  text-align: center;
}

.assessment-stat i {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  color: #1c7d37;
  background: #e7f7dd;
  font-style: normal;
  font-weight: 900;
}

.assessment-stat.trend i {
  color: #6d3bd2;
  background: #efe6ff;
}

.assessment-stat.doc i {
  color: #2563eb;
  background: #e0efff;
}

.assessment-stat.rank i {
  color: #c46b00;
  background: #fff0cf;
}

.assessment-stat span,
.assessment-stat small,
.assessment-row small,
.assessment-recommend-card p,
.assessment-recommend-card small,
.assessment-recommend-card span,
.assessment-badge-row small {
  display: block;
  color: #69746d;
}

.assessment-stat strong {
  font-size: 1.75rem;
}

.assessment-hero {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 40%, rgba(247, 211, 70, 0.55), transparent 30%),
    linear-gradient(135deg, #08951f, #075c2f);
}

.assessment-hero h3,
.assessment-hero p {
  margin: 0;
}

.assessment-hero h3 {
  font-size: 1.35rem;
}

.assessment-hero p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.assessment-hero button,
.assessment-row button,
.assessment-recommend-card button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.assessment-hero button {
  margin-top: 18px;
  padding: 0 18px;
  color: #fff;
  background: #111;
}

.skill-meter {
  display: grid;
  width: 210px;
  height: 118px;
  justify-self: center;
  place-items: center;
  align-content: center;
  border-radius: 210px 210px 18px 18px;
  background: conic-gradient(from 230deg, #ffd166 0 28%, #b6e34b 28% 78%, rgba(255,255,255,0.18) 78% 100%);
}

.skill-meter strong {
  font-size: 2.1rem;
}

.assessment-main-card,
.assessment-side-card,
.assessment-recommend-card,
.assessment-achievements-card {
  padding: 24px;
}

.assessment-main-card {
  grid-row: span 3;
}

.assessment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.assessment-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
}

.assessment-row i {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #2fac48;
  font-style: normal;
  font-weight: 900;
}

.assessment-row i.blue {
  background: #3b82f6;
}

.assessment-row i.purple {
  background: #7c3aed;
}

.assessment-row i.orange {
  background: #f59e0b;
}

.assessment-row i.pink {
  background: #e83e72;
}

.assessment-row i.teal {
  background: #14a38b;
}

.assessment-row > span {
  color: #153225;
  font-weight: 900;
}

.assessment-row em {
  padding: 6px 10px;
  border-radius: 999px;
  color: #1c7d37;
  background: #eef8eb;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.assessment-row button,
.assessment-recommend-card button {
  padding: 0 16px;
  color: #102016;
  background: #f5f6f5;
}

.assessment-side-card header,
.assessment-achievements-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.assessment-side-card h3,
.assessment-achievements-card h3,
.assessment-recommend-card h3 {
  margin: 0;
}

.strength-row {
  display: grid;
  grid-template-columns: 1fr 120px 42px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.strength-row strong {
  font-size: 0.85rem;
  text-align: right;
}

.assessment-chart svg {
  min-height: 190px;
}

.assessment-recommend-card article {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
}

.assessment-achievements-card {
  align-self: start;
}

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

.assessment-badge-row span {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 16px;
  border-radius: 12px;
  background: #f7f8f7;
  text-align: center;
}

.assessment-badge-row b {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #2fac48, #075c2f);
}

.assessment-footer {
  grid-column: 1 / -1;
}

.achievement-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.contributor-level-card,
.achievement-banner,
.achievement-badges-card,
.achievement-stats-card,
.next-milestone-card,
.milestone-timeline-card {
  border: 1px solid #e8ece8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 31, 20, 0.04);
}

.contributor-level-card {
  grid-column: 1 / -1;
  padding: 26px;
}

.contributor-level-card header,
.achievement-badges-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.contributor-level-card h3,
.achievement-badges-card h3,
.achievement-stats-card h3,
.next-milestone-card h3,
.milestone-timeline-card h3 {
  margin: 0;
}

.contributor-level-card p,
.achievement-badges-card p,
.milestone-timeline-card p,
.achievement-banner small,
.next-milestone-card small,
.milestone-timeline small {
  display: block;
  color: #69746d;
}

.current-contributor-pill {
  padding: 8px 12px;
  border-radius: 999px;
  color: #1c7d37;
  background: #eef8eb;
  font-size: 0.8rem;
}

.level-roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.level-roadmap article {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 220px;
  padding: 18px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
  background: #fbfcfb;
  text-align: center;
}

.level-roadmap article.is-current {
  border-color: #f5d76a;
  background: #fffaf0;
}

.level-roadmap article.is-done:not(.is-current) {
  background: #f4fbef;
}

.level-badge,
.badge-medal {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 -10px 22px rgba(0, 0, 0, 0.14);
}

.level-badge {
  width: 76px;
  height: 76px;
  border-radius: 24px;
}

.badge-medal {
  width: 78px;
  height: 78px;
  border-radius: 50%;
}

.green {
  background: linear-gradient(135deg, #65c33e, #218a37);
}

.blue {
  background: linear-gradient(135deg, #5ac8fa, #1d73d4);
}

.purple {
  background: linear-gradient(135deg, #b385ff, #6c45cc);
}

.orange {
  background: linear-gradient(135deg, #ffbd4a, #f47a1f);
}

.gold {
  background: linear-gradient(135deg, #ffd86b, #d99a05);
}

.teal {
  background: linear-gradient(135deg, #26c6b8, #087b70);
}

.pink {
  background: linear-gradient(135deg, #ff6c9b, #cf245d);
}

.level-roadmap span {
  color: #1c7d37;
  font-weight: 900;
}

.level-roadmap em {
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #166d35;
  background: #e8f8df;
  font-style: normal;
  font-weight: 900;
}

.achievement-banner {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  background: #f5fbef;
}

.trophy-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ffd86b, #d99a05);
  font-weight: 900;
}

.achievement-banner button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #075c2f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.achievement-badges-card,
.achievement-stats-card,
.next-milestone-card,
.milestone-timeline-card {
  padding: 24px;
}

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

.achievement-badge-grid article {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 190px;
  padding: 16px;
  border: 1px solid #edf0ed;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.achievement-badge-grid article.is-locked {
  opacity: 0.62;
  filter: grayscale(0.45);
}

.achievement-badge-grid small,
.achievement-badge-grid em {
  color: #69746d;
  font-size: 0.78rem;
}

.achievement-badge-grid em {
  font-style: normal;
}

.achievement-stats-card {
  align-self: start;
}

.achievement-stats-card article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0ed;
}

.achievement-stats-card article:last-child {
  border-bottom: 0;
}

.achievement-stats-card span {
  color: #69746d;
}

.next-milestone-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.milestone-timeline-card {
  grid-column: 1 / -1;
}

.milestone-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.milestone-timeline span {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.milestone-timeline b {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #8b918d;
  background: #f0f2f0;
}

.milestone-timeline span.is-done b {
  color: #fff;
  background: #43a33a;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 18px;
  min-width: 0;
}

.profile-hero-card,
.profile-stat,
.profile-card-panel {
  border: 1px solid #e8ece8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 31, 20, 0.04);
}

.profile-hero-card {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 28px;
}

.profile-photo-form {
  display: grid;
  grid-template-columns: 170px 1fr minmax(260px, 0.55fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.profile-photo-picker {
  display: grid;
  gap: 10px;
  justify-items: center;
  cursor: pointer;
}

.profile-photo-preview {
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: #8bd329;
  font-size: 3rem;
  font-weight: 900;
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-picker input {
  width: 100%;
  font-size: 0.78rem;
}

.profile-photo-picker small {
  color: #1c7d37;
  font-weight: 900;
}

.profile-main-copy input[aria-label="Display name"] {
  width: 100%;
  min-width: 0;
  margin-bottom: 8px;
  border: 0;
  color: #101712;
  background: transparent;
  font: inherit;
  font-size: 1.65rem;
  font-weight: 900;
}

.profile-main-copy > strong {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1c7d37;
  background: #eef8eb;
}

.profile-main-copy textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 78px;
  resize: vertical;
  border: 1px solid #e2e8e1;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}

.profile-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.profile-meta-row label,
.profile-contact-card {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.profile-meta-row span {
  color: #69746d;
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-meta-row input,
.profile-meta-row select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #e2e8e1;
  border-radius: 9px;
  padding: 0 10px;
  font: inherit;
}

.profile-meta-row select {
  min-height: 120px;
  padding: 8px 10px;
}

.profile-language-field {
  grid-column: 1 / -1;
}

.profile-location-field {
  grid-column: span 2;
}

.profile-location-field select {
  min-height: 150px;
}

.profile-dropdown-control {
  position: relative;
}

.profile-dropdown-control input {
  padding-right: 42px;
}

.profile-dropdown-control button,
.profile-language-toggle {
  cursor: pointer;
}

.profile-dropdown-control button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.profile-dropdown-control button::before,
.profile-language-toggle span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #425046;
  border-bottom: 2px solid #425046;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.profile-dropdown-control button {
  transform: translateY(-50%);
}

.profile-dropdown-control button.is-open::before,
.profile-language-toggle.is-open span::before {
  transform: rotate(225deg);
}

.profile-dropdown-panel[hidden] {
  display: none;
}

.profile-dropdown-panel {
  overflow: hidden;
  border: 1px solid #e2e8e1;
  border-radius: 10px;
  background: #fff;
}

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

.language-choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #e2e8e1;
  border-radius: 999px;
  background: #fff;
  color: #2f3b34;
  font-weight: 800;
}

.language-choice-grid input {
  width: 16px;
  min-height: 16px;
  accent-color: #1f8f37;
}

.language-choice-grid label:has(input:checked) {
  border-color: #a9e852;
  background: #f3fde8;
  color: #075e26;
}

.profile-language-count {
  display: inline-flex;
  margin-top: 8px;
  color: #1c7d37;
  font-weight: 900;
}

.profile-hero-card {
  max-width: 720px;
  margin: 0 auto;
}

.profile-photo-form {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 14px;
}

.profile-photo-picker {
  position: relative;
}

.profile-photo-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-photo-preview {
  position: relative;
  width: 116px;
  height: 116px;
  border: 2px solid #43a33a;
  background: linear-gradient(145deg, #45b535, #249432);
  font-size: 2.8rem;
}

.profile-photo-preview i {
  position: absolute;
  right: 3px;
  bottom: 5px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dbe7db;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 0;
  box-shadow: 0 8px 16px rgba(18, 31, 20, 0.12);
}

.profile-photo-preview i::before {
  content: "";
  width: 14px;
  height: 10px;
  border: 2px solid #526057;
  border-radius: 3px;
}

.profile-photo-picker small {
  font-size: 0.86rem;
}

.profile-main-copy {
  width: 100%;
}

.profile-main-copy input[aria-label="Display name"] {
  margin: 0 auto 8px;
  text-align: center;
  font-size: 1.45rem;
}

.profile-main-copy > strong {
  display: table;
  margin: 0 auto 16px;
}

.profile-main-copy > strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #1f8f37;
  vertical-align: 1px;
}

.profile-about-field {
  position: relative;
  display: grid;
  gap: 7px;
}

.profile-about-field span,
.profile-location-field > span,
.profile-language-field > span,
.profile-meta-row label > span {
  color: #101712;
  font-size: 0.9rem;
  font-weight: 900;
}

.profile-about-field textarea {
  min-height: 112px;
  padding-bottom: 24px;
  border-color: #d9e4d9;
  border-radius: 10px;
}

.profile-about-field textarea:focus,
.profile-meta-row input:focus,
.profile-meta-row select:focus {
  outline: none;
  border-color: #43a33a;
  box-shadow: 0 0 0 3px rgba(67, 163, 58, 0.12);
}

.profile-about-field small[data-bio-count] {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #6d7770;
  font-size: 0.72rem;
}

.profile-meta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-location-field,
.profile-language-field {
  grid-column: 1 / -1;
}

.profile-location-field > small,
.profile-language-field > small {
  color: #7b867f;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-location-field select {
  min-height: 170px;
  border-color: #e1e9df;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.profile-location-field option {
  padding: 10px;
}

.profile-language-field {
  display: grid;
  gap: 10px;
}

.profile-language-field > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.profile-language-field > span small {
  color: #6d7770;
  font-weight: 700;
}

.profile-language-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border: 1px solid #e2e8e1;
  border-radius: 10px;
  padding: 0 12px;
  color: #37433c;
  background: #fff;
  font: inherit;
  font-weight: 900;
}

.profile-language-toggle span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
}

.profile-language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-language-chips button,
.profile-language-chips > em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: #1c7d37;
  background: #e8f6e3;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.profile-language-chips button em {
  color: #66806d;
  font-style: normal;
}

.language-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.language-choice-grid label {
  border: 0;
  border-radius: 8px;
  padding: 4px 0;
  background: transparent;
}

.language-choice-grid label:has(input:checked) {
  border-color: transparent;
  background: transparent;
}

.profile-contact-card {
  width: 100%;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

.profile-contact-card .submit-button {
  width: 100%;
  min-height: 54px;
  border-radius: 10px;
  background: #171717;
  color: #fff;
}

.profile-success-banner {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #249432;
  font-weight: 900;
}

.profile-contact-card {
  padding-left: 0;
  border-left: 0;
  overflow-wrap: anywhere;
}

.profile-contact-card span {
  color: #37433c;
  font-weight: 700;
}

.profile-stat-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-stat {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
}

.profile-stat i {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: #1c7d37;
  background: #e7f7dd;
  font-style: normal;
  font-weight: 900;
}

.profile-stat span,
.profile-stat small {
  display: block;
  color: #69746d;
}

.profile-stat strong {
  display: block;
  margin: 5px 0;
  font-size: 1.3rem;
}

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

.profile-card-panel h3 {
  margin: 0 0 16px;
}

.profile-card-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.compact-level-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.compact-level-row span {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  opacity: 0.55;
}

.compact-level-row span.is-done {
  opacity: 1;
}

.compact-level-row b,
.profile-achievement-row b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
}

.compact-level-row small,
.profile-achievement-row small {
  color: #69746d;
}

.compact-level-row strong {
  font-size: 0.78rem;
}

.profile-achievement-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.profile-achievement-row span {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

@keyframes liveWithdrawalsScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@media (max-width: 980px) {
  .profile-shell,
  .profile-photo-form {
    grid-template-columns: 1fr;
  }

  .profile-hero-card {
    padding: 18px;
  }

  .profile-photo-form {
    gap: 18px;
  }

  .profile-photo-preview {
    width: 112px;
    height: 112px;
    font-size: 2.2rem;
  }

  .profile-main-copy input[aria-label="Display name"] {
    font-size: 1.25rem;
    text-align: left;
  }

  .profile-contact-card {
    padding-left: 0;
    border-left: 0;
  }

  .profile-stat-grid,
  .profile-meta-row,
  .compact-level-row,
  .profile-achievement-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-language-field {
    grid-column: 1 / -1;
  }

  .profile-contact-card .submit-button {
    width: 100%;
  }

  .achievement-shell,
  .achievement-banner {
    grid-template-columns: 1fr;
  }

  .level-roadmap,
  .achievement-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milestone-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assessment-shell,
  .assessment-title-card,
  .assessment-hero {
    grid-template-columns: 1fr;
  }

  .assessment-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assessment-main-card,
  .assessment-side-card,
  .assessment-recommend-card,
  .assessment-achievements-card {
    grid-column: auto;
  }

  .assessment-row {
    grid-template-columns: 52px 1fr;
  }

  .assessment-row > span,
  .assessment-row em,
  .assessment-row button {
    grid-column: 2;
    width: 100%;
  }

  .strength-row {
    grid-template-columns: 1fr 90px 38px;
  }

  .assessment-recommend-card article,
  .assessment-badge-row {
    grid-template-columns: 1fr;
  }

  .training-shell,
  .training-hero {
    grid-template-columns: 1fr;
  }

  .training-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-main-card,
  .training-side-card,
  .training-recommend-card,
  .training-resources-card,
  .training-help-card {
    grid-column: auto;
  }

  .training-module {
    grid-template-columns: 48px 1fr;
  }

  .training-status,
  .training-module button {
    grid-column: 2;
    width: 100%;
  }

  .training-recommend-card article,
  .training-footer-banner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .earnings-wallet-shell {
    grid-template-columns: 1fr;
  }

  .wallet-stat-grid,
  .earnings-overview-card,
  .recent-transactions-card {
    grid-column: auto;
  }

  .wallet-rewards-banner {
    grid-template-columns: 1fr;
  }

  .reward-pills {
    grid-template-columns: 1fr;
  }

  .wallet-hero-card {
    min-height: 260px;
  }

  .mobile-app-shell {
    width: min(100% - 18px, 430px);
    grid-template-columns: 1fr;
    padding: 18px 0;
    background: transparent;
  }

  .app-drawer {
    position: fixed;
    z-index: 20;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: min(320px, calc(100vw - 42px));
    max-height: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(18, 24, 32, 0.22);
    transform: translateX(-110%);
    transition: transform 180ms ease;
  }

  .app-drawer.is-open {
    transform: translateX(0);
  }

  .drawer-backdrop {
    position: fixed;
    z-index: 19;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.36);
  }

  .drawer-backdrop.is-visible {
    display: block;
  }

  .phone-content {
    width: 100%;
    padding-inline: 16px;
  }
}

@media (max-width: 760px) {
  .phone-content,
  .metric-grid,
  .goal-banner {
    display: block;
  }

  .metric-card,
  .dashboard-card,
  .goal-banner,
  .refer-banner {
    margin-bottom: 16px;
  }

  .goal-banner {
    min-height: 0;
  }

  .target-art {
    display: none;
  }

  .achievement-row,
  .progress-summary-card .mini-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .refer-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-withdrawal-row {
    grid-template-columns: 1fr auto;
  }

  .live-withdrawal-row small {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    background: #f1f2f1;
  }

  .mobile-app-shell {
    width: 100%;
    min-height: 100vh;
  }

  .phone-stage {
    min-height: 100vh;
    border-radius: 0;
    background: #f1f2f1;
  }

  .phone-topbar {
    position: sticky;
    z-index: 10;
    top: 0;
    height: 88px;
    gap: 10px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(18, 24, 32, 0.08);
  }

  .desktop-spacer {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .top-level-pill {
    flex: 1 1 auto;
    max-width: 210px;
  }

  .top-balance-pill {
    flex: 0 1 160px;
  }

  .top-status-pill {
    min-width: 0;
    min-height: 58px;
    padding: 8px 10px;
  }

  .top-status-pill strong {
    font-size: 0.92rem;
  }

  .top-status-pill small {
    font-size: 0.78rem;
  }

  .top-bell-button {
    width: 46px;
    height: 58px;
    flex: 0 0 auto;
  }

  .account-button {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
  }

  .top-profile-caret {
    flex: 0 0 22px;
  }

  .phone-content {
    display: block;
    padding: 16px 14px 92px;
  }

  .desktop-welcome {
    margin-bottom: 14px;
  }

  .desktop-welcome h1 {
    font-size: 1.45rem;
  }

  .desktop-welcome p {
    font-size: 0.88rem;
  }

  .goal-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 0;
    padding: 20px;
    border-radius: 16px;
  }

  .goal-banner .dark-action {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .goal-banner > strong {
    grid-column: 1;
  }

  .target-art {
    display: none;
  }

  .metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metric-card {
    min-height: 112px;
    padding: 16px;
    border-radius: 14px;
  }

  .metric-card span {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  .metric-card strong {
    font-size: 1.18rem;
  }

  .dashboard-card,
  .refer-banner {
    padding: 18px;
    border-radius: 16px;
  }

  .performance-card,
  .recent-card,
  .progress-summary-card,
  .earnings-chart-card,
  .categories-card,
  .achievements-card {
    margin-bottom: 14px;
  }

  .performance-stats {
    gap: 8px;
  }

  .fake-chart {
    height: 118px;
    gap: 10px;
  }

  .category-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0ed;
  }

  .category-row:last-child {
    border-bottom: 0;
  }

  .achievement-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-tabs {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 12;
    box-shadow: 0 -8px 24px rgba(18, 24, 32, 0.08);
  }
}

@media (min-width: 641px) {
  .bottom-tabs {
    display: none;
  }
}

@media (min-width: 981px) {
  .icon-button[data-menu-toggle] {
    visibility: hidden;
  }

  .top-status-pill,
  .top-profile-caret {
    display: none;
  }
}

/* VIP upgrade */
.desktop-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.vip-top-button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #221236, #8b43d5);
  box-shadow: 0 12px 28px rgba(92, 46, 143, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
}

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

.start-earning-button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #052e18;
  background: linear-gradient(135deg, #c9ff61, #55c641);
  box-shadow: 0 14px 26px rgba(55, 151, 44, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
}

.vip-page {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 72vh;
}

.vip-modal {
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid #edf0ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(18, 24, 32, 0.18);
}

.vip-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid #edf0ed;
}

.vip-modal > header div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vip-modal h2 {
  margin: 0;
  font-size: 1.7rem;
}

.vip-modal > header button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f5f6f5;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.vip-crown {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #0b5e3c;
  background: #eaffbf;
  font-size: 0.78rem;
  font-weight: 900;
}

.vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 28px;
}

.vip-plan-card {
  position: relative;
  display: grid;
  gap: 7px;
  place-items: center;
  min-height: 196px;
  padding: 20px 14px;
  border: 2px solid #e4e8e2;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.vip-plan-card.is-selected {
  border-color: #b7ef28;
  box-shadow: 0 14px 34px rgba(91, 137, 42, 0.18);
}

.vip-plan-card em {
  position: absolute;
  top: -14px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #1c401e;
  background: #c7f52e;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.vip-plan-card strong,
.vip-plan-card b,
.vip-plan-card small,
.vip-plan-card span {
  display: block;
}

.vip-plan-card strong {
  font-size: 1.15rem;
}

.vip-plan-card b {
  font-size: 1.5rem;
}

.vip-plan-card small {
  color: #0f766e;
}

.vip-plan-card.bronze .vip-crown,
.vip-pay-button.bronze {
  color: #fff;
  background: linear-gradient(135deg, #8c5a28, #d69a52);
}

.vip-plan-card.silver .vip-crown,
.vip-pay-button.silver {
  color: #111;
  background: linear-gradient(135deg, #6f7681, #d6dce5);
}

.vip-plan-card.gold .vip-crown,
.vip-pay-button.gold {
  color: #15120a;
  background: linear-gradient(135deg, #b1780f, #ffd45f);
}

.vip-plan-card.platinum .vip-crown,
.vip-pay-button.platinum {
  color: #fff;
  background: linear-gradient(135deg, #34244e, #d7c7ff);
}

.vip-modal .app-form {
  padding: 0 28px 28px;
}

@media (max-width: 760px) {
  .desktop-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .vip-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .vip-plan-grid {
    grid-template-columns: 1fr;
  }
}

/* Create account onboarding */
.create-account-card {
  background: #191d25;
  color: #fff;
  border-color: #272c36;
}

.create-account-card .auth-heading p,
.create-account-card .signup-copy {
  color: #a873d9;
}

.signup-avatar {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #d7a8ff;
  background: #4b2673;
  font-size: 2rem;
  font-weight: 900;
}

.create-account-card .field span {
  color: #f4f1f6;
  font-weight: 800;
}

.create-account-card .field input,
.create-account-card .field select {
  color: #f8fafc;
  border-color: #252a34;
  background: #242934;
}

.create-account-card .field input::placeholder {
  color: #8d94a1;
}

.create-account-card .referral-field span {
  color: #c084fc;
}

.create-account-card .referral-field input {
  color: #b7f7c9;
  border-color: #19783d;
  background: #153626;
}

.create-account-card .submit-button {
  background: linear-gradient(135deg, #9b54df, #bf18df);
}

.create-account-card a {
  color: #d39cff;
}

@media (max-width: 640px) {
  .phone-topbar {
    display: grid;
    grid-template-columns: 44px minmax(92px, 1fr) 42px minmax(86px, 0.82fr) 42px;
    gap: 8px;
    height: auto;
    min-height: 74px;
    padding: 10px;
  }

  .menu-button,
  .top-bell-button,
  .account-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .top-profile-caret {
    display: none;
  }

  .top-status-pill {
    grid-template-columns: 32px minmax(0, 1fr);
    min-width: 0;
    min-height: 48px;
    padding: 6px 8px;
    border-radius: 14px;
    overflow: hidden;
  }

  .top-status-pill b {
    display: none;
  }

  .top-pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.76rem;
  }

  .top-status-pill strong,
  .top-status-pill small {
    overflow: hidden;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .top-status-pill strong {
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .top-status-pill small {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .top-bell-button {
    border-radius: 13px;
  }

  .bell-icon {
    width: 16px;
    height: 19px;
  }

  .bell-icon::before {
    width: 12px;
    height: 13px;
  }

  .bell-icon::after {
    width: 16px;
    height: 7px;
  }

  .alert-dot::after {
    top: 2px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    font-size: 0.58rem;
  }
}

@media (max-width: 380px) {
  .phone-topbar {
    grid-template-columns: 40px minmax(76px, 1fr) 36px minmax(72px, 0.75fr) 36px;
    gap: 5px;
    padding: 8px;
  }

  .menu-button,
  .top-bell-button,
  .account-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .menu-button span {
    width: 20px;
  }

  .top-status-pill {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 42px;
    padding: 5px 6px;
  }

  .top-pill-icon {
    width: 24px;
    height: 24px;
    font-size: 0.66rem;
  }

  .top-status-pill strong {
    font-size: 0.72rem;
  }

  .top-status-pill small {
    font-size: 0.58rem;
  }
}

@media (max-width: 640px) {
  .earnings-wallet-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .wallet-hero-card,
  .wallet-stat-card,
  .earnings-overview-card,
  .earnings-breakdown-card,
  .recent-transactions-card,
  .wallet-side-card,
  .wallet-rewards-banner {
    width: 100%;
    min-width: 0;
    border-radius: 12px;
  }

  .wallet-hero-card {
    order: 1;
    min-height: 218px;
    padding: 20px;
  }

  .wallet-hero-card::after {
    right: 18px;
    top: 74px;
    width: 94px;
    height: 68px;
  }

  .wallet-hero-card > b {
    right: 52px;
    top: 96px;
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }

  .wallet-hero-card strong {
    margin-top: 24px;
    font-size: 2.35rem;
  }

  .wallet-hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .wallet-hero-actions button {
    min-height: 48px;
  }

  .wallet-stat-grid {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .wallet-stat-card {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    min-height: 104px;
    padding: 14px;
  }

  .wallet-stat-card i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .wallet-stat-card strong {
    font-size: 1.12rem;
  }

  .wallet-stat-card span,
  .wallet-stat-card small,
  .wallet-stat-card em {
    font-size: 0.68rem;
  }

  .earnings-overview-card {
    order: 3;
  }

  .earnings-breakdown-card {
    order: 4;
  }

  .recent-transactions-card {
    order: 5;
  }

  .wallet-side-card {
    order: 6;
  }

  .wallet-rewards-banner {
    order: 7;
  }

  .earnings-overview-card,
  .earnings-breakdown-card,
  .recent-transactions-card,
  .wallet-side-card,
  .wallet-rewards-banner {
    padding: 18px;
  }

  .earnings-overview-card header,
  .earnings-breakdown-card header,
  .recent-transactions-card header {
    align-items: start;
  }

  .earnings-overview-card header strong {
    margin-top: 14px;
    font-size: 1.7rem;
  }

  .wallet-chart svg {
    min-height: 170px;
  }

  .donut-chart {
    width: 148px;
    height: 148px;
  }

  .breakdown-row {
    grid-template-columns: 1fr auto;
  }

  .breakdown-row small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .transaction-table {
    min-width: 0;
    font-size: 0.78rem;
  }

  .transaction-table thead {
    display: none;
  }

  .transaction-table,
  .transaction-table tbody,
  .transaction-table tr,
  .transaction-table td {
    display: block;
    width: 100%;
  }

  .transaction-table tr {
    padding: 12px 0;
    border-bottom: 1px solid #edf0ed;
  }

  .transaction-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border: 0;
    white-space: normal;
  }

  .transaction-table td::before {
    color: #69746d;
    font-weight: 800;
  }

  .transaction-table td:nth-child(1)::before {
    content: "Date";
  }

  .transaction-table td:nth-child(2)::before {
    content: "Description";
  }

  .transaction-table td:nth-child(3)::before {
    content: "Type";
  }

  .transaction-table td:nth-child(4)::before {
    content: "Amount";
  }

  .transaction-table td:nth-child(5)::before {
    content: "Status";
  }

  .wallet-actions-list button {
    min-height: 58px;
  }

  .wallet-rewards-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .reward-art {
    width: 62px;
    height: 62px;
  }

  .reward-pills {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .wallet-stat-grid {
    grid-template-columns: 1fr;
  }

  .wallet-hero-card {
    padding: 18px;
  }
}

@media (max-width: 980px) {
  .profile-main-copy input[aria-label="Display name"] {
    text-align: center;
  }

  .profile-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-location-field,
  .profile-language-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .profile-shell {
    gap: 14px;
    padding-bottom: 110px;
  }

  .profile-hero-card {
    padding: 22px 18px;
    border-radius: 0;
    box-shadow: none;
  }

  .profile-meta-row,
  .language-choice-grid {
    grid-template-columns: 1fr;
  }

  .profile-location-field select {
    min-height: 160px;
  }

  .profile-language-field > span {
    align-items: flex-start;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .profile-stat {
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: start;
    min-height: 168px;
    padding: 18px 16px;
    overflow: hidden;
  }

  .profile-stat i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .profile-stat span,
  .profile-stat small,
  .profile-stat strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .profile-stat span {
    min-height: 42px;
    line-height: 1.2;
  }

  .profile-stat strong {
    font-size: 1.28rem;
    line-height: 1.1;
  }

  .profile-card-panel {
    padding: 18px;
    overflow: hidden;
  }

  .strength-row {
    grid-template-columns: minmax(0, 1fr) minmax(82px, 120px) 42px;
    gap: 10px;
  }

  .strength-row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .clean-tasks-head {
    align-items: center;
  }

  .clean-tasks-head h1 {
    font-size: 1.55rem;
  }

  .clean-tasks-head p,
  .task-result-count {
    display: none;
  }

  .task-filter-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }

  .task-filter-button::before {
    margin: 0;
    color: #17221b;
  }

  .task-tabs-row {
    gap: 18px;
    overflow-x: auto;
  }

  .task-tabs-row button {
    white-space: nowrap;
  }

  .task-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .task-filter-panel button {
    grid-column: auto;
  }

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

  .clean-task-card {
    min-height: 270px;
    padding: 14px 12px 44px;
    gap: 9px;
    border-radius: 10px;
  }

  .clean-task-card em {
    padding: 5px 7px;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .clean-task-card h2 {
    font-size: clamp(0.92rem, 4vw, 1.05rem);
  }

  .clean-task-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .clean-task-meta {
    gap: 7px;
  }

  .clean-task-meta span,
  .clean-task-meta strong,
  .clean-task-meta b {
    min-height: 28px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .clean-task-action {
    left: 12px;
    bottom: 12px;
    font-size: 0.78rem;
  }

  .task-check-button {
    right: 10px;
    bottom: 8px;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .clean-task-grid {
    gap: 8px;
  }

  .clean-task-card {
    padding-inline: 10px;
  }
}

@media (max-width: 380px) {
  .profile-stat-grid {
    gap: 10px;
  }

  .profile-stat {
    min-height: 158px;
    padding: 14px 12px;
  }

  .profile-stat i {
    width: 48px;
    height: 48px;
  }

  .profile-stat span {
    min-height: 36px;
    font-size: 0.9rem;
  }

  .profile-stat small {
    font-size: 0.78rem;
  }
}

.legacy-task-action,
.related-task-card .clean-task-action {
  display: none;
}

/* Premium menu redesign */
.app-drawer {
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 126, 62, 0.3) transparent;
}

.app-drawer::-webkit-scrollbar {
  width: 8px;
}

.app-drawer::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(36, 126, 62, 0.24);
}

.side-brand {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(111, 211, 83, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(196, 255, 98, 0.34), transparent 34%),
    linear-gradient(135deg, #f7fff1, #ffffff);
  box-shadow: 0 16px 36px rgba(25, 83, 39, 0.08);
}

.side-brand::after {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #5dd735;
  box-shadow: 0 0 0 7px rgba(93, 215, 53, 0.12);
}

.side-brand .phone-logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #92f029, #2da43d);
  box-shadow: 0 14px 28px rgba(45, 164, 61, 0.24);
}

.profile-card {
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 255, 237, 0.94)),
    radial-gradient(circle at 90% 10%, rgba(136, 229, 63, 0.24), transparent 34%);
}

.profile-card::after {
  position: absolute;
  inset: auto 16px 0 84px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, #8fe436, #28a34a, #8fe436);
}

.profile-avatar {
  box-shadow: 0 10px 24px rgba(55, 156, 58, 0.26);
}

.balance-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(157, 255, 91, 0.18);
  border-radius: 20px;
  box-shadow: 0 20px 38px rgba(1, 24, 17, 0.22);
}

.balance-strip::after {
  position: absolute;
  right: -38px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(131, 255, 79, 0.28), transparent 68%);
  pointer-events: none;
}

.drawer-shortcuts {
  position: relative;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #e2f0dc;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbfff8, #effce8);
}

.drawer-shortcuts::after {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  color: #166d35;
  background: #ddffd0;
  content: "Active";
  font-size: 0.66rem;
  font-weight: 900;
}

.menu-group {
  position: relative;
  margin-top: 14px;
  padding: 12px 0 4px;
}

.menu-title {
  margin: 0 2px 9px;
  color: #256139;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.menu-title::before {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: #8bd329;
  content: "";
  box-shadow: 0 0 0 5px rgba(139, 211, 41, 0.14);
}

.menu-title::after {
  background: linear-gradient(90deg, rgba(139, 211, 41, 0.36), transparent);
}

.drawer-item {
  position: relative;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.drawer-item::before {
  position: absolute;
  inset: 8px auto 8px 0;
  width: 4px;
  border-radius: 999px;
  content: "";
  background: transparent;
  transform: scaleY(0.35);
  transition: transform 180ms ease, background 180ms ease;
}

.drawer-item:hover,
.drawer-item:focus-visible {
  border-color: #dff0d8;
  background: linear-gradient(135deg, #fbfff8, #effce8);
  box-shadow: 0 12px 26px rgba(26, 78, 34, 0.08);
  transform: translateX(3px);
}

.drawer-item:hover::before,
.drawer-item:focus-visible::before,
.drawer-item.is-active::before {
  background: #41b84b;
  transform: scaleY(1);
}

.drawer-item.is-active {
  border-color: rgba(65, 184, 75, 0.2);
  color: #075b2c;
  background:
    radial-gradient(circle at 92% 28%, rgba(147, 242, 62, 0.22), transparent 30%),
    linear-gradient(135deg, #edffdf, #ffffff);
  box-shadow: 0 14px 28px rgba(42, 132, 54, 0.12);
}

.drawer-icon {
  color: #126b32;
  background: linear-gradient(135deg, #eaffdd, #f8fff4);
  box-shadow: inset 0 0 0 1px rgba(42, 132, 54, 0.08), 0 8px 16px rgba(42, 132, 54, 0.08);
}

.drawer-item:hover .drawer-icon,
.drawer-item.is-active .drawer-icon {
  color: #fff;
  background: linear-gradient(135deg, #64ca3c, #0a7437);
  box-shadow: 0 10px 22px rgba(42, 132, 54, 0.2);
}

.drawer-item strong {
  font-weight: 900;
  letter-spacing: 0;
}

.drawer-item small {
  margin-top: 2px;
}

.drawer-item em {
  min-width: auto;
  border: 1px solid rgba(74, 145, 30, 0.1);
  color: #0d7637;
  background: linear-gradient(135deg, #e6ffd9, #f8fff4);
  box-shadow: 0 8px 16px rgba(42, 132, 54, 0.08);
}

.drawer-item b {
  color: #6aa36d;
  transition: transform 180ms ease, color 180ms ease;
}

.drawer-item:hover b,
.drawer-item.is-active b {
  color: #0d7637;
  transform: translateX(2px);
}

.drawer-item.is-danger {
  border-color: rgba(231, 63, 83, 0.2);
  color: #b51f32;
  background: linear-gradient(135deg, #fff4f5, #ffe4e8);
}

.drawer-item.is-danger::before,
.drawer-item.is-danger:hover::before {
  background: #e2364b;
}

.drawer-item.is-danger:hover,
.drawer-item.is-danger:focus-visible {
  border-color: rgba(231, 63, 83, 0.28);
  background: linear-gradient(135deg, #ffe9ed, #ffd7dd);
  box-shadow: 0 16px 32px rgba(181, 31, 50, 0.16);
}

.drawer-item.is-danger .drawer-icon,
.drawer-item.is-danger:hover .drawer-icon {
  color: #fff;
  background: linear-gradient(135deg, #e2364b, #9f1025);
  box-shadow: 0 10px 20px rgba(181, 31, 50, 0.22);
}

.drawer-item.is-danger strong {
  color: #9f1025;
}

.drawer-item.is-danger b,
.drawer-item.is-danger:hover b {
  color: #b51f32;
}

/* Fancy interaction layer */
button {
  position: relative;
  overflow: hidden;
}

.button-ripple {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: button-ripple 620ms ease-out forwards;
}

button > * {
  position: relative;
  z-index: 1;
}

.submit-button,
.dark-action,
.start-task-button,
.start-earning-button,
.vip-top-button,
.vip-pay-button,
.training-hero button,
.assessment-hero button {
  isolation: isolate;
}

.submit-button::after,
.start-earning-button::after,
.vip-top-button::after,
.start-task-button::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.26) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: button-sheen 4.6s ease-in-out infinite;
}

.metric-card,
.dashboard-card,
.related-task-card,
.training-module,
.assessment-row,
.achievement-card,
.profile-stat-card {
  animation: card-rise 420ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.metric-card:hover,
.dashboard-card:hover,
.related-task-card:hover,
.training-module:hover,
.assessment-row:hover,
.achievement-card:hover,
.profile-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(27, 45, 31, 0.1);
  border-color: #dcebd6;
}

.top-bell-button::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #ef2d56;
  box-shadow: 0 0 0 0 rgba(239, 45, 86, 0.42);
  animation: notification-pulse 1.9s ease-out infinite;
}

.live-withdrawal-track {
  will-change: transform;
}

@keyframes button-ripple {
  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

@keyframes button-sheen {
  0%, 38% {
    transform: translateX(-120%);
  }
  58%, 100% {
    transform: translateX(120%);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notification-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(239, 45, 86, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 45, 86, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .welcome-actions {
    width: 100%;
    justify-content: stretch;
  }

  .welcome-actions button {
    flex: 1 1 130px;
  }

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

  .related-task-card {
    gap: 9px;
    min-height: 270px;
    padding: 13px 11px;
    border-radius: 10px;
  }

  .related-task-card header {
    display: none;
  }

  .related-task-card em {
    padding: 5px 7px;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .related-task-card h2 {
    font-size: clamp(0.92rem, 4vw, 1.05rem);
  }

  .related-task-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .task-card-meta,
  .task-bullets,
  .details-link {
    display: none;
  }

  .task-rewards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    border: 0;
  }

  .task-rewards span {
    padding: 7px;
    font-size: 0.72rem;
  }

  .start-task-button {
    min-height: 38px;
    margin-top: auto;
    font-size: 0.78rem;
  }

  .response-grid {
    grid-template-columns: 1fr;
  }

  .chosen-rating-panel,
  .rating-footer {
    grid-column: 1;
  }

  .rating-footer {
    grid-template-columns: 1fr;
  }

  .rating-footer strong {
    order: -1;
  }
}
