@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap");

:root {
  --ink: #0b1442;
  --muted: #747c9a;
  --blue: #3882ff;
  --cyan: #06d6ef;
  --purple: #7a3cff;
  --line: #e3e7f4;
  --paper: #fff;
  --bg: #f4f6fb;
  --gradient: linear-gradient(110deg, #00cbe8 0%, #298bff 45%, #8338ff 100%);
  font-family:
    Manrope,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #3882ff;
  outline-offset: 4px;
}
button svg,
a svg {
  flex-shrink: 0;
}
svg.icon {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.28;
  font-weight: 800;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
small {
  font-size: 11px;
}
p {
  line-height: 1.75;
}
button {
  border: 0;
}
img {
  max-width: 100%;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.app-shell {
  max-width: 1600px;
  margin: auto;
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 254px;
  padding: 37px 23px 24px;
  display: flex;
  flex-direction: column;
  background: #fff9;
  border-right: 1px solid var(--line);
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 8px 53px;
}
.brand > span {
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 750;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--blue);
  text-align: center;
  margin-top: 1px;
}
.sidebar-caption {
  font-size: 9px;
  color: #959bb4;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin: 0 15px 18px;
}
#desktop-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 13px;
  color: #717993;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-link:hover {
  background: #eef2ff;
  color: var(--blue);
}
.nav-link.active {
  background: #eaf0ff;
  color: #3875f4;
}
.nav-link.active:after {
  content: "";
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 10px 0;
}
.private-mark {
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #35c5a0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #35c5a010;
}
.sidebar-bottom > a {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.copyright {
  font-size: 9px;
  color: #9a9fb4;
  display: block;
  margin-top: 15px;
}
.workspace {
  margin-left: 254px;
  width: calc(100% - 254px);
  padding: 0 48px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 97px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.topbar-title {
  color: #8a90a7;
  font-size: 11px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edff;
  color: #576cff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 12px;
}
.icon-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: transparent;
  color: #7c84a2;
}
.icon-button:hover {
  background: #e9edfc;
}
.profile .icon {
  width: 17px;
}
.mobile-brand {
  display: none;
}
#content {
  padding: 35px 0 32px;
  flex: 1;
  outline: none;
  max-width: 1100px;
  width: 100%;
  margin: auto;
}
.page-footer {
  padding: 20px 0 25px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #989eb3;
  display: flex;
  justify-content: space-between;
}
.page-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 800;
  color: #8b92ac;
  margin-bottom: 9px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 27px;
  gap: 15px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 20px;
  border: 1px solid #e0e5f5;
  font-size: 10px;
  color: #707b9d;
  background: #ffffffa3;
  white-space: nowrap;
}
.pill .icon {
  width: 13px;
  height: 13px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(115deg, #edf4ff, #f1eeff 80%);
  border: 1px solid #e3e7fa;
  padding: 40px;
  min-height: 330px;
  display: flex;
  align-items: center;
}
.hero:after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #fff9;
  border-radius: 50%;
  right: -70px;
  top: -130px;
  box-shadow:
    0 0 0 40px #fff3,
    0 0 0 80px #fff2,
    0 0 0 120px #fff1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 61%;
  max-width: 450px;
}
.hero .eyebrow {
  color: #5785e6;
  font-size: 9px;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin: 17px 0 15px;
}
.gradient-text {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 12px;
  color: #6a7599;
  max-width: 325px;
}
.hero .button {
  margin-top: 25px;
}
.hero-art {
  position: absolute;
  right: 50px;
  top: 37px;
  width: 210px;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-art > img {
  width: 145px;
  filter: drop-shadow(0 18px 22px #6a67db22);
  position: relative;
  z-index: 2;
  transform: rotate(-8deg);
}
.orbit {
  position: absolute;
  inset: 15px -5px;
  border: 1px solid #cddcfc;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.orbit:before,
.orbit:after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5fa7ff;
  position: absolute;
  top: 12px;
  left: 35px;
  box-shadow: 0 0 0 7px #fff8;
}
.orbit:after {
  background: #9b70f8;
  top: auto;
  left: auto;
  bottom: 12px;
  right: 35px;
}
.hero-float {
  position: absolute;
  bottom: 4px;
  right: 0;
  background: #ffffffd9;
  border: 1px solid #fff;
  padding: 9px 13px;
  box-shadow: 0 7px 25px #333b9c0c;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 750;
  z-index: 3;
}
.hero-float .icon {
  color: #39b794;
  width: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 11px;
  min-height: 44px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.button:hover {
  background: #f5f7ff;
  box-shadow: 0 4px 12px #14235909;
}
.button:active {
  transform: scale(0.98);
}
.button.primary {
  background: var(--gradient);
  border: 0;
  color: white;
  box-shadow: 0 5px 14px #6570eb22;
}
.button.primary:hover {
  box-shadow: 0 7px 20px #6570eb40;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button.block {
  display: flex;
  width: 100%;
}
.button.quiet {
  background: #edf0fa;
  border: 0;
  box-shadow: none;
}
.button.danger {
  color: #aa5476;
}
.button.text {
  border: 0;
  background: none;
  padding: 9px 0;
  min-height: 30px;
  color: #6b7496;
  box-shadow: none;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0 32px;
  padding: 0 9px;
}
.feature {
  display: flex;
  gap: 11px;
  align-items: center;
}
.feature-icon {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #eaf0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6381ed;
}
.feature strong {
  font-size: 11px;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}
.feature p {
  font-size: 10px;
  color: var(--muted);
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}
.section-label h2 {
  font-size: 16px;
}
.section-label span {
  color: var(--muted);
  font-size: 10px;
}
.section-label a {
  font-size: 10px;
  color: #5d7ce6;
  display: flex;
  gap: 5px;
  align-items: center;
}
.section-label .icon {
  width: 13px;
  height: 13px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px 21px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.popular {
  border-color: #a389ff;
  background: linear-gradient(165deg, #fff 55%, #f6f2ff);
  box-shadow: 0 4px 14px #6934ff08;
}
.popular-tag {
  position: absolute;
  right: 14px;
  top: -10px;
  color: white;
  background: linear-gradient(100deg, #448aff, #8c46f8);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.plan-icon {
  color: #4b83fa;
  margin-bottom: 13px;
}
.plan-card h3 {
  font-size: 14px;
}
.plan-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 14px 0 4px;
}
.plan-price span {
  font-size: 15px;
  letter-spacing: 0;
}
.plan-note {
  font-size: 10px;
  color: #8c92aa;
  min-height: 18px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #6c7698;
  font-size: 10px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.plan-features .icon {
  color: #6a8ded;
  width: 12px;
  height: 12px;
}
.plan-card .button {
  min-height: 37px;
  font-size: 10px;
  padding: 10px 12px;
}
.soft-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 17px;
  border-radius: 12px;
  background: #eaf1ff;
  color: #64769c;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 20px;
}
.soft-note .icon {
  color: #518dff;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.welcome-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  padding: 19px 0 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #8991aa;
  gap: 15px;
}
.welcome-bottom a {
  font-weight: 700;
  color: #5d7ce6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.welcome-bottom .icon {
  width: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}
.subscription-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #eff5ff, #f3efff);
  border-color: #e2e7fb;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.card-top h3 {
  font-size: 15px;
}
.card-top small {
  color: #8c94b0;
  display: block;
  margin-top: 4px;
  font-size: 10px;
}
.round-icon {
  width: 41px;
  height: 41px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edff;
  color: #5880f8;
  flex-shrink: 0;
}
.round-icon.purple {
  color: #8957ff;
  background: #f0eaff;
}
.badge {
  display: inline-flex;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 750;
  padding: 5px 8px;
  background: #dbf8eb;
  color: #36a883;
  white-space: nowrap;
}
.badge.expired {
  color: #8c92a4;
  background: #edf0f6;
}
.card-top .badge {
  margin-left: auto;
}
.subscription-card h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
}
.subscription-card .expiration {
  font-size: 11px;
  color: #7784a5;
  margin-top: 7px;
}
.progress {
  height: 4px;
  background: #dfe5f6;
  margin: 22px 0 12px;
  border-radius: 5px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: 5px;
}
.sub-card-bottom {
  display: flex;
  justify-content: space-between;
  color: #929bb3;
  font-size: 9px;
  margin-bottom: 23px;
}
.button-row {
  display: flex;
  gap: 10px;
}
.button-row > * {
  flex: 1;
}
.quick-cards {
  display: grid;
  gap: 12px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  width: 100%;
}
.quick-card:hover {
  border-color: #bbcaff;
}
.quick-card h3 {
  font-size: 12px;
}
.quick-card p {
  font-size: 10px;
  color: #8a93ae;
  margin-top: 4px;
}
.quick-card > .icon:last-child {
  margin-left: auto;
  width: 16px;
  color: #a5adc4;
}
.quick-card .round-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.space-top {
  margin-top: 27px;
}
.subscription-list {
  display: grid;
  gap: 12px;
}
.subscription-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: left;
  width: 100%;
}
.subscription-row:hover {
  border-color: #aabaff;
}
.subscription-row h3 {
  font-size: 13px;
  margin-bottom: 5px;
}
.subscription-row p {
  color: #8c95ad;
  font-size: 10px;
}
.subscription-row .badge {
  margin-left: auto;
}
.subscription-row > .icon {
  width: 16px;
  color: #8390b0;
}
.account-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #8390ac;
  margin-top: 12px;
}
.account-meta .icon-button {
  width: 25px;
  height: 25px;
}
.account-meta .icon {
  width: 14px;
}
.narrow {
  max-width: 650px;
  margin: auto;
}
.back-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #8490ad;
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 20px;
}
.back-link .icon {
  width: 16px;
}
.detail-header {
  display: flex;
  gap: 13px;
  align-items: center;
}
.detail-header .badge {
  margin-left: auto;
}
.detail-header h1 {
  font-size: 23px;
}
.detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 20px;
}
.detail-info small {
  display: block;
  color: #8d96ae;
  font-size: 10px;
  margin-bottom: 6px;
}
.detail-info strong {
  font-size: 12px;
}
.device-list {
  margin-top: 15px;
}
.device-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #eef0f7;
}
.device-row:last-child {
  border: 0;
}
.device-row > .icon {
  color: #6a85ed;
}
.device-row h3 {
  font-size: 11px;
}
.device-row p {
  font-size: 10px;
  color: #9aa1b8;
  margin-top: 4px;
}
.empty-state {
  text-align: center;
  padding: 32px 20px;
}
.empty-state > .round-icon {
  margin: 0 auto 15px;
  width: 52px;
  height: 52px;
}
.empty-state h2 {
  font-size: 18px;
}
.empty-state p {
  color: #8b93ac;
  font-size: 12px;
  margin: 10px 0 20px;
}
.empty-state .button {
  max-width: 280px;
  width: 100%;
}
.tiny {
  color: #919bb6;
  font-size: 10px;
}
.checkout-summary {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin-bottom: 20px;
}
.summary-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  margin-bottom: 20px;
}
.summary-title .icon {
  color: #5e83f6;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  padding: 13px 0;
  border-top: 1px solid #eef0f7;
  color: #818aa6;
}
.summary-row strong {
  color: var(--ink);
}
.summary-row.total {
  padding-bottom: 0;
  color: var(--ink);
  font-weight: 750;
}
.summary-row.total strong {
  font-size: 23px;
  font-weight: 800;
}
.summary-row code {
  font-family: inherit;
  font-size: 11px;
  color: #6e789c;
  overflow-wrap: anywhere;
  text-align: right;
}
.checkout-actions {
  display: grid;
  gap: 10px;
}
.checkout-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  align-items: center;
}
.checkout-footer a {
  font-size: 10px;
  color: #7b87a7;
}
.checkout-footer .icon {
  width: 13px;
}
.success-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5f9f1;
  color: #35b18b;
}
.success-mark .icon {
  width: 34px;
  height: 34px;
}
.referral-hero {
  border-radius: 21px;
  padding: 30px;
  background: linear-gradient(120deg, #edf7ff, #f1edff);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.referral-hero h2 {
  font-size: 23px;
  line-height: 1.4;
  max-width: 330px;
}
.referral-hero p {
  font-size: 11px;
  color: #8991b0;
  margin-top: 9px;
}
.gift-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  transform: rotate(-10deg);
  border-radius: 28px;
  background: #fff7;
  color: #8a5bfa;
  box-shadow: 0 10px 30px #8460db12;
}
.gift-art .icon {
  width: 53px;
  height: 53px;
  stroke-width: 1.2;
}
.copy-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #f4f6fc;
  padding: 9px 10px 9px 14px;
  margin-top: 13px;
}
.copy-field span {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.copy-field .icon-button {
  background: #e8edff;
  color: #6688f2;
  flex-shrink: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px 10px;
  text-align: center;
}
.stat > .icon {
  color: #7086fa;
  width: 21px;
}
.stat strong {
  display: block;
  font-size: 23px;
  letter-spacing: -1px;
  margin-top: 10px;
}
.stat small {
  display: block;
  font-size: 10px;
  color: #8b94ad;
  margin-top: 5px;
}
.bonus-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f7;
  font-size: 11px;
  color: #7c87a4;
}
.bonus-row:last-child {
  border: 0;
  padding-bottom: 0;
}
.bonus-row strong {
  color: #9360ee;
}
.reward-card {
  margin-top: 12px;
  padding: 19px;
  border: 1px solid #dbd1fa;
  border-radius: 13px;
  background: #faf7ff;
}
.reward-card h3 {
  font-size: 12px;
  margin-bottom: 13px;
}
.reward-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 11px;
}
.tabs {
  display: flex;
  gap: 10px;
  margin: 23px 0;
}
.tab {
  flex: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 10px;
  font-size: 11px;
  font-weight: 750;
  color: #818aa9;
}
.tab .icon {
  display: block;
  margin: 0 auto 9px;
  color: #6985ea;
}
.tab.active {
  background: #f1edff;
  border-color: #d7c6ff;
  color: #8453e9;
}
.steps {
  margin: 18px 0;
  display: grid;
  gap: 10px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeebff;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #7d62e9;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.step h3 {
  font-size: 12px;
  margin-bottom: 5px;
}
.step p {
  font-size: 11px;
  color: #929ab2;
}
.step a {
  color: #5988f4;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 10px 0;
  padding: 19px;
}
.faq summary {
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  line-height: 1.6;
}
.faq p {
  font-size: 11px;
  color: #8992ad;
  margin-top: 15px;
}
.support-card {
  text-align: center;
  padding: 35px 25px;
}
.support-card .round-icon {
  margin: 0 auto 20px;
  width: 60px;
  height: 60px;
  border-radius: 20px;
}
.support-card p {
  color: #8a93ab;
  font-size: 12px;
  margin: 12px 0 25px;
}
.support-card .button {
  margin: 10px auto;
  max-width: 300px;
}
.login-card {
  padding: 33px 25px;
  text-align: center;
  background: linear-gradient(140deg, #fff, #f7f5ff);
  border: 1px solid #e1dafa;
  border-radius: 19px;
  margin-top: 20px;
}
.login-card h2 {
  margin: 14px 0 10px;
}
.login-card p {
  font-size: 11px;
  color: #8690ad;
  margin: 0 auto 20px;
  max-width: 320px;
}
.login-card .round-icon {
  margin: auto;
}
.widget-host {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card .tiny {
  margin-top: 17px;
  font-size: 9px;
}
.login-card .tiny a {
  color: #7c77c3;
  text-decoration: underline;
}
.maintenance {
  margin-bottom: 20px;
  background: #fff3db;
  color: #a2803c;
  padding: 14px;
  border-radius: 12px;
  font-size: 11px;
}
.loading-state {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #8c94ab;
  font-size: 12px;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #dce4fb;
  border-top-color: #7880f5;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.loading-inline {
  padding: 20px;
  text-align: center;
  color: #8f98b1;
  font-size: 11px;
}
.count {
  font-size: 10px;
  background: #e9edfa;
  border-radius: 6px;
  padding: 3px 6px;
  color: #8590b0;
  margin-left: 8px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + 127px);
  transform: translate(-50%, 15px);
  background: #18234e;
  color: #fff;
  box-shadow: 0 8px 40px #10184230;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100vw - 30px);
  width: max-content;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mobile-nav {
  display: none;
}
.page-enter {
  animation: enter 0.25s ease-out;
}
.error-card {
  text-align: center;
  padding: 45px 20px;
}
.error-card p {
  margin: 15px 0 25px;
  color: var(--muted);
  font-size: 12px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes enter {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .sidebar {
    left: calc((100vw - 1600px) / 2);
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 215px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .workspace {
    margin-left: 215px;
    width: calc(100% - 215px);
    padding: 0 30px;
  }
  .brand {
    gap: 7px;
  }
  .brand > span {
    font-size: 20px;
  }
  .hero {
    padding: 30px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-art {
    right: 15px;
    width: 180px;
  }
  .hero-art > img {
    width: 120px;
  }
  .plan-card {
    padding: 22px 16px 16px;
  }
  .feature-strip {
    gap: 12px;
  }
  .feature {
    gap: 7px;
  }
  .feature p {
    font-size: 9px;
  }
  #toast {
    left: calc(50% + 107px);
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 185px;
    padding: 30px 10px 20px;
  }
  .brand {
    margin: 0 5px 40px;
  }
  .brand img {
    width: 35px;
  }
  .brand > span {
    font-size: 17px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 4px;
  }
  .sidebar-caption {
    font-size: 8px;
    margin-left: 14px;
    letter-spacing: 1px;
  }
  .nav-link {
    padding: 13px;
    font-size: 11px;
    gap: 10px;
  }
  .workspace {
    margin-left: 185px;
    width: calc(100% - 185px);
    padding: 0 24px;
  }
  .hero {
    padding: 28px;
    min-height: 300px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-content {
    width: 70%;
  }
  .hero-art {
    right: -35px;
    opacity: 0.45;
    top: 40px;
  }
  .hero-art > img {
    width: 100px;
  }
  .hero-float {
    display: none;
  }
  .plan-features {
    font-size: 9px;
  }
  .plan-price {
    font-size: 24px;
  }
  .plans-grid {
    gap: 10px;
  }
  .plan-card {
    padding: 22px 13px 14px;
  }
  .feature-strip {
    gap: 9px;
    padding: 0;
  }
  .feature-icon {
    width: 28px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .feature-icon .icon {
    width: 16px;
  }
  .feature strong {
    font-size: 10px;
  }
  .feature p {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .quick-cards {
    grid-template-columns: 1fr 1fr;
  }
  .quick-card:last-child {
    grid-column: 1/-1;
  }
  .page-heading .pill {
    display: none;
  }
  .topbar-title {
    font-size: 10px;
  }
  #toast {
    left: calc(50% + 92px);
  }
}
@media (max-width: 640px) {
  body {
    background: #f6f7fc;
  }
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
    width: 100%;
    padding: 0 21px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .topbar {
    height: 76px;
    padding-top: env(safe-area-inset-top);
    border-bottom-color: #e6e9f4;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.6px;
  }
  .mobile-brand b {
    font-weight: 500;
  }
  .topbar-title {
    display: none;
  }
  .profile {
    gap: 3px;
  }
  .profile > .profile-name {
    display: none;
  }
  .profile .avatar {
    width: 31px;
    height: 31px;
    font-size: 11px;
  }
  .profile > .button {
    padding: 7px 10px;
    min-height: 32px;
    font-size: 9px;
  }
  .profile > .button .icon {
    display: none;
  }
  #content {
    padding-top: 26px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -0.9px;
  }
  .page-heading p {
    font-size: 11px;
    margin-top: 7px;
  }
  .hero {
    padding: 26px 25px 27px;
    border-radius: 21px;
    min-height: 350px;
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
    max-width: none;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero h1 {
    font-size: 31px;
    line-height: 1.23;
    max-width: 260px;
    margin-top: 17px;
  }
  .hero p {
    font-size: 11px;
    max-width: 215px;
  }
  .hero .button {
    margin-top: 23px;
    font-size: 10px;
    padding: 12px 15px;
    min-height: 42px;
  }
  .hero-art {
    width: 45px;
    height: 55px;
    right: 14px;
    top: 20px;
    opacity: 1;
  }
  .hero-art > img {
    width: 40px;
    transform: rotate(8deg);
  }
  .hero-art .orbit {
    display: none;
  }
  .hero:after {
    width: 300px;
    height: 300px;
    top: 50px;
    right: -180px;
  }
  .orbit {
    inset: 20px 10px;
    opacity: 0.5;
  }
  .orbit:before,
  .orbit:after {
    width: 5px;
    height: 5px;
    box-shadow: none;
  }
  .feature-strip {
    margin: 22px 0 29px;
    gap: 8px;
  }
  .feature {
    gap: 7px;
  }
  .feature-icon {
    width: 31px;
    height: 32px;
  }
  .feature strong {
    font-size: 9px;
    margin: 0;
  }
  .feature p {
    display: none;
  }
  .section-label h2 {
    font-size: 15px;
  }
  .section-label > span {
    font-size: 9px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .plan-card {
    padding: 21px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    border-radius: 15px;
  }
  .plan-icon {
    display: none;
  }
  .plan-card h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }
  .plan-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 23px;
    margin: 0;
    text-align: right;
  }
  .plan-price span {
    font-size: 14px;
  }
  .plan-note {
    grid-column: 2;
    grid-row: 2;
    font-size: 9px;
    min-height: 0;
    text-align: right;
  }
  .plan-features {
    grid-column: 1;
    grid-row: 2;
    display: block;
    font-size: 10px;
    margin: 7px 0 0;
  }
  .plan-features li:not(:first-child) {
    display: none;
  }
  .plan-features li .icon {
    display: none;
  }
  .plan-card > .button {
    grid-column: 1/-1;
    margin-top: 16px;
    min-height: 34px;
    font-size: 10px;
  }
  .popular-tag {
    top: -9px;
    font-size: 8px;
    padding: 3px 8px;
    right: 15px;
  }
  .soft-note {
    font-size: 10px;
    padding: 14px;
    margin-top: 17px;
  }
  .welcome-bottom {
    font-size: 10px;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
  }
  .welcome-bottom > span {
    max-width: 180px;
    line-height: 1.8;
  }
  .welcome-bottom > a {
    font-size: 10px;
    white-space: nowrap;
  }
  .page-footer {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffffed;
    border-top: 1px solid #e4e8f4;
    backdrop-filter: blur(16px);
    padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
    z-index: 20;
    justify-content: space-around;
  }
  .mobile-nav .nav-link {
    flex-direction: column;
    gap: 5px;
    padding: 5px 12px;
    font-size: 8px;
    font-weight: 700;
    min-width: 54px;
    border-radius: 9px;
    color: #9aa2b8;
  }
  .mobile-nav .nav-link .icon {
    width: 21px;
    height: 21px;
  }
  .mobile-nav .nav-link.active {
    background: none;
    color: #6580f5;
  }
  .mobile-nav .nav-link.active:after {
    display: none;
  }
  .dashboard-grid {
    gap: 14px;
  }
  .card {
    padding: 21px;
    border-radius: 16px;
  }
  .subscription-card h2 {
    font-size: 23px;
  }
  .card-top {
    margin-bottom: 22px;
  }
  .card-top h3 {
    font-size: 13px;
  }
  .card-top .badge {
    font-size: 8px;
  }
  .card-top .round-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .quick-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quick-card:last-child {
    grid-column: auto;
  }
  .quick-card {
    padding: 17px;
    border-radius: 14px;
  }
  .button {
    min-height: 43px;
    font-size: 11px;
  }
  .button-row {
    gap: 8px;
  }
  .button-row .button {
    padding: 11px 13px;
    font-size: 10px;
  }
  .subscription-row {
    padding: 17px;
    gap: 10px;
  }
  .subscription-row .round-icon {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }
  .subscription-row h3 {
    font-size: 12px;
  }
  .subscription-row .badge {
    font-size: 8px;
  }
  .detail-header h1 {
    font-size: 21px;
  }
  .detail-header {
    gap: 10px;
  }
  .detail-header .round-icon {
    width: 37px;
    height: 37px;
  }
  .detail-info strong {
    font-size: 11px;
  }
  .detail-info {
    gap: 12px;
  }
  .referral-hero {
    padding: 25px;
    margin-bottom: 17px;
    border-radius: 18px;
  }
  .referral-hero h2 {
    font-size: 21px;
  }
  .referral-hero p {
    font-size: 10px;
    max-width: 200px;
  }
  .gift-art {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    flex-shrink: 0;
  }
  .gift-art .icon {
    width: 42px;
    height: 42px;
  }
  .stats {
    gap: 10px;
    margin: 15px 0;
  }
  .stat {
    padding: 16px 7px;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat small {
    font-size: 9px;
  }
  .tabs {
    gap: 8px;
    margin: 20px 0;
  }
  .tab {
    font-size: 10px;
    padding: 14px 7px;
  }
  .checkout-summary {
    padding: 21px;
  }
  .summary-row {
    font-size: 11px;
  }
  .summary-title {
    font-size: 13px;
  }
  .login-card {
    padding: 27px 20px;
  }
  .login-card h2 {
    font-size: 18px;
  }
  #toast {
    left: 50%;
    bottom: calc(88px + env(safe-area-inset-bottom));
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
  }
  .tiny {
    font-size: 9px;
  }
  .loading-state {
    min-height: 60vh;
  }
  .back-link {
    margin-bottom: 19px;
  }
  .section-label.space-top {
    margin-top: 25px;
  }
  .step {
    padding: 17px;
    gap: 11px;
  }
  .step h3 {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Subscription navigation and persistent focus. */
.section-nav {
  display: flex;
  gap: 7px;
  padding: 17px 0 5px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 12;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav .nav-link {
  padding: 11px 13px;
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 11px;
}
.section-nav .nav-link .icon {
  width: 17px;
  height: 17px;
}
.section-nav .nav-link.active {
  border-color: #dce5ff;
  background: #fff;
  box-shadow: 0 3px 12px #507be909;
}
.section-nav .nav-link.active:after {
  display: none;
}
.topbar-title {
  flex: 1;
}
.focus-header:empty {
  display: none;
}
.focus-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid #e0e6f7;
  background: #fff;
  border-radius: 12px;
  min-width: 180px;
}
.focus-chip small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.4px;
  color: #929bb6;
  margin-bottom: 3px;
}
.focus-chip strong {
  font-size: 10px;
}
.focus-days {
  font-size: 9px;
  color: #7a88aa;
  margin-left: auto;
  padding-left: 12px;
}
.status-dot.inactive {
  background: #acb1c2;
  box-shadow: none;
}
.section-hint {
  font-size: 11px;
  color: #8b95b0;
  margin: -5px 0 17px;
  line-height: 1.7;
}
.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.subscription-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  min-width: 0;
  padding: 0 19px 15px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.subscription-item.is-focused {
  border-color: #a9baf8;
  box-shadow: 0 4px 20px #5b78dd09;
}
.subscription-item .subscription-row {
  border: 0;
  padding: 19px 0 11px;
  gap: 10px;
  border-radius: 0;
  background: none;
}
.subscription-row > div:nth-child(2) {
  min-width: 0;
}
.subscription-row h3 {
  overflow-wrap: anywhere;
}
.subscription-item .subscription-row .round-icon {
  width: 35px;
  height: 35px;
  border-radius: 11px;
}
.subscription-item .subscription-row .icon {
  width: 17px;
}
.subscription-item .subscription-row p {
  line-height: 1.6;
}
.validity {
  margin: 23px 0;
}
.validity-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #8a95b0;
}
.validity-label strong {
  font-weight: 700;
  color: #6f7e9f;
}
.validity-label span {
  font-size: 9px;
  text-align: right;
}
.validity .progress {
  height: 6px;
  margin: 10px 0 0;
  background: #e9edf8;
}
.validity.ending .progress > span {
  background: linear-gradient(100deg, #ffbc77, #ed8e8e);
}
.validity.ending .validity-label strong {
  color: #c28c66;
}
.subscription-item .validity {
  margin: 8px 0 16px;
}
.subscription-item-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
}
.subscription-item-actions .button {
  min-height: 32px;
  font-size: 9px;
  padding: 8px 11px;
}
.subscription-item-actions .button .icon {
  width: 13px;
  height: 13px;
}
.focus-button {
  font-size: 10px;
  min-height: 34px;
  padding: 8px 12px;
  color: #8792af;
  background: #f7f8fd;
  border-color: #e7ebf6;
}
.focus-button.selected {
  color: #647ce2;
  background: #edf2ff;
  border-color: #dce5fe;
}
.focus-button .icon {
  width: 14px;
  height: 14px;
}
.payment-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 20px 0;
  padding: 17px 19px;
  background: linear-gradient(105deg, #edf4ff, #f3eeff);
  border: 1px solid #dce5fb;
  border-radius: 14px;
}
.payment-notice .notice-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b83ef;
  border-radius: 11px;
  background: #fff;
  flex-shrink: 0;
}
.payment-notice strong {
  display: block;
  font-size: 12px;
}
.payment-notice small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #8893b0;
  margin-top: 4px;
}
.notice-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  color: #6a7fde;
  margin-left: auto;
}
.notice-link .icon {
  width: 15px;
  height: 15px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: #8b95b1;
  font-size: 10px;
}
.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Provider-owned payment state, presented as a receipt and a clear next step. */
.checkout-page {
  max-width: 940px;
  margin: auto;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 23px;
  align-items: start;
}
.checkout-experience {
  position: relative;
  overflow: hidden;
  padding: 34px 29px 26px;
  border: 1px solid #dfe7fb;
  background: linear-gradient(145deg, #fff 40%, #f2f4ff);
  border-radius: 23px;
  text-align: center;
}
.checkout-orb {
  width: 77px;
  height: 77px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  transform: rotate(-8deg);
  color: #fff;
  background: linear-gradient(140deg, #41d7ef, #597cf6 65%, #9556f9);
  box-shadow: 0 10px 30px #6a87ee2b;
}
.checkout-orb .icon {
  width: 31px;
  height: 31px;
  transform: rotate(8deg);
  stroke-width: 1.5;
}
.checkout-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: #edf1ff;
  color: #7187cf;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 750;
  margin-bottom: 17px;
}
.checkout-status .status-dot {
  width: 5px;
  height: 5px;
  background: #8096f2;
  box-shadow: 0 0 0 3px #8096f211;
}
.checkout-experience h1 {
  font-size: 27px;
  letter-spacing: -0.9px;
  line-height: 1.35;
}
.checkout-description {
  font-size: 11px;
  color: #8a96b2;
  margin-top: 14px;
  line-height: 1.85;
}
.payment-steps {
  padding: 0;
  margin: 26px 0;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 0;
}
.payment-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  font-size: 10px;
  font-weight: 650;
  color: #a1aac1;
}
.payment-steps li > .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
  border-radius: 50%;
  background: #eff2fa;
  padding: 5px;
  position: relative;
  z-index: 1;
}
.payment-steps li:not(:last-child):before {
  content: "";
  position: absolute;
  width: 1px;
  height: 22px;
  left: 11px;
  top: 32px;
  background: #e2e7f5;
}
.payment-steps li.complete {
  color: #648ab0;
}
.payment-steps li.complete > .icon {
  background: #e3f7f1;
  color: #35af92;
}
.payment-steps li.current {
  color: #6a7ce2;
}
.payment-steps li.current > .icon {
  color: #7d87ee;
  background: #edf0ff;
}
.checkout-reassurance {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  color: #9aa4bc;
  font-size: 9px;
  line-height: 1.8;
  margin-top: 18px;
  text-align: left;
}
.checkout-reassurance .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.checkout-experience .checkout-actions .button {
  min-height: 47px;
}
.order-receipt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px 24px;
}
.receipt-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}
.receipt-heading .round-icon {
  width: 35px;
  height: 35px;
  border-radius: 11px;
}
.receipt-heading small {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #9aa3ba;
}
.receipt-heading h2 {
  font-size: 12px;
  margin-top: 5px;
}
.receipt-plan {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 25px 0 23px;
}
.receipt-plan strong {
  font-size: 25px;
  letter-spacing: -0.8px;
}
.receipt-plan span {
  font-size: 10px;
  color: #9aa4bd;
}
.order-receipt .summary-row {
  font-size: 10px;
  align-items: center;
  padding: 15px 0;
}
.order-receipt .summary-row strong {
  font-size: 10px;
  text-align: right;
  font-weight: 650;
}
.order-receipt .summary-row code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.receipt-total {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0;
  margin-top: 5px;
  border-top: 1px dashed #dce3f5;
  font-size: 11px;
  font-weight: 700;
}
.receipt-total strong {
  font-size: 30px;
  letter-spacing: -1px;
}
.receipt-total strong small {
  font-size: 19px;
}
.order-receipt > .button {
  min-height: 36px;
  font-size: 9px;
}
.receipt-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 9px;
  color: #8c98b5;
}
.receipt-links a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.receipt-links .icon {
  width: 13px;
  height: 13px;
}
.payment-wait {
  padding: 15px 10px;
  background: #f0f3ff;
  border: 1px solid #e1e8fb;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  color: #7e8dbc;
}
.payment-wait .spinner {
  width: 16px;
  height: 16px;
}
.checkout-experience.is-success {
  background: linear-gradient(150deg, #fff 35%, #effbf6);
  border-color: #d4eee4;
}
.is-success .checkout-orb {
  background: linear-gradient(135deg, #52d8be, #43b99b);
  box-shadow: 0 10px 30px #43b99b25;
}
.is-success .checkout-status {
  color: #43a38d;
  background: #e4f8f0;
}
.checkout-experience.is-failed {
  background: linear-gradient(150deg, #fff 35%, #fff2f4);
  border-color: #f3dce5;
}
.is-failed .checkout-orb {
  background: linear-gradient(135deg, #f3a7bb, #d781a0);
  box-shadow: 0 10px 30px #d781a025;
}
.is-failed .checkout-status {
  color: #bc8196;
  background: #fbeaf0;
}
.is-failed .checkout-actions,
.is-success .checkout-actions {
  margin-top: 26px;
}
@media (max-width: 1100px) {
  .section-nav {
    gap: 2px;
  }
  .section-nav .nav-link {
    font-size: 10px;
    padding: 10px 9px;
    gap: 7px;
  }
  .topbar-title {
    display: none;
  }
  .topbar {
    justify-content: space-between;
  }
  .checkout-layout {
    gap: 16px;
  }
  .checkout-experience {
    padding: 27px 20px;
  }
  .order-receipt {
    padding: 23px 19px;
  }
  .checkout-experience h1 {
    font-size: 24px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
    width: 100%;
    padding-bottom: calc(85px + env(safe-area-inset-bottom));
  }
  .section-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffffed;
    border-top: 1px solid #dce3f6;
    backdrop-filter: blur(16px);
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    z-index: 20;
    justify-content: space-around;
    box-shadow: 0 -6px 25px #253c8b05;
  }
  .mobile-nav .nav-link {
    flex-direction: column;
    gap: 6px;
    padding: 7px 10px;
    font-size: 9px;
    min-width: 54px;
    border-radius: 11px;
  }
  .mobile-nav .nav-link.active {
    background: #edf2ff;
    color: #5b7fe9;
  }
  .mobile-nav .nav-link.active:after {
    display: none;
  }
  .mobile-nav .nav-link .icon {
    width: 22px;
    height: 22px;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
  }
  .topbar {
    min-height: 85px;
    height: auto;
    padding: 17px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .mobile-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .profile {
    grid-column: 2;
    grid-row: 1;
  }
  .focus-header {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .focus-chip {
    width: 100%;
    padding: 9px 13px;
    min-width: 0;
  }
  .focus-chip > span:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .focus-chip small {
    margin: 0;
  }
  .focus-chip strong {
    font-size: 10px;
  }
  .focus-days {
    font-size: 10px;
  }
  .page-footer {
    display: none;
  }
  #toast {
    left: 50%;
    bottom: calc(100px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 640px) {
  .subscriptions-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .section-hint {
    font-size: 10px;
  }
  .subscription-item {
    padding: 0 17px 14px;
  }
  .subscription-item .subscription-row {
    padding-top: 18px;
  }
  .validity-label {
    font-size: 10px;
  }
  .subscription-card > .focus-button {
    width: 100%;
  }
  .payment-notice {
    padding: 15px;
    gap: 10px;
    align-items: flex-start;
  }
  .payment-notice strong {
    font-size: 11px;
  }
  .payment-notice small {
    font-size: 9px;
  }
  .payment-notice .notice-link {
    font-size: 0;
    align-self: center;
  }
  .payment-notice .notice-link .icon {
    width: 18px;
  }
  .payment-notice .notice-icon {
    width: 31px;
    height: 31px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .checkout-experience {
    padding: 29px 24px 24px;
    border-radius: 20px;
  }
  .checkout-experience h1 {
    font-size: 26px;
  }
  .checkout-description {
    font-size: 11px;
  }
  .checkout-orb {
    width: 70px;
    height: 70px;
    border-radius: 22px;
  }
  .checkout-orb .icon {
    width: 29px;
    height: 29px;
  }
  .order-receipt {
    padding: 23px;
    border-radius: 18px;
  }
  .receipt-plan {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .receipt-plan strong {
    font-size: 23px;
  }
  .receipt-plan span {
    font-size: 9px;
  }
  .payment-steps {
    max-width: 245px;
    margin: 23px auto;
  }
  .checkout-page > .back-link {
    margin-bottom: 18px;
  }
  .detail-header h1 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .topbar .mobile-brand {
    font-size: 14px;
  }
  .topbar .profile > .button {
    font-size: 8px;
    padding: 7px;
  }
  .mobile-nav .nav-link {
    font-size: 8px;
    padding: 7px 8px;
  }
  .checkout-reassurance {
    font-size: 9px;
  }
}

/* Compact account layout: subscriptions and purchase actions come first. */
.topbar {
  height: 56px;
  min-height: 56px;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.topbar-title {
  display: block;
  font-size: 12px;
}
#content {
  padding-top: 24px;
}
.page-heading {
  margin-bottom: 20px;
}
.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
}
.purchase-shortcut {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(110deg, #147de8, #5549eb 75%, #7452ee);
  box-shadow: 0 6px 20px #5154df1a;
  transition: filter 0.2s;
}
.purchase-shortcut:hover {
  filter: brightness(1.06);
}
.purchase-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #ffffff20;
}
.purchase-shortcut > span:nth-child(2) {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 16px;
}
.purchase-shortcut strong {
  font-size: 16px;
}
.purchase-shortcut small {
  font-size: 13px;
  color: #e3e9ff;
}
.purchase-shortcut > .icon {
  width: 21px;
  flex-shrink: 0;
}
.subscriptions-grid {
  align-items: start;
  gap: 18px;
}
.subscription-item {
  padding: 21px;
  border-radius: 18px;
  box-shadow: 0 3px 14px #18295603;
}
.subscription-item.is-focused {
  border-color: #a4b8f5;
  box-shadow: inset 0 3px #a4b8f5;
}
.subscription-item-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.subscription-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.subscription-title strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.subscription-title span {
  font-size: 12px;
  color: var(--muted);
}
.subscription-item-top .focus-button {
  min-width: 36px;
  min-height: 36px;
  padding: 8px;
  border: 0;
}
.subscription-item-top .focus-button.selected {
  background: #edf2ff;
  color: #4a66cc;
}
.subscription-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.subscription-item .validity {
  margin: 18px 0 20px;
}
.subscription-item-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.subscription-item-actions .button {
  min-height: 44px;
  font-size: 12px;
  padding: 10px 8px;
}
.subscription-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.subscription-details .icon {
  width: 15px;
  height: 15px;
}
.bonus-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  margin-top: 20px;
  border: 1px solid #e0dafa;
  border-radius: 14px;
  background: #f3f0ff;
  color: #6550ac;
  font-size: 12px;
  font-weight: 600;
}
.bonus-shortcut span {
  flex: 1;
}
.gift-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px;
}
.gift-layout > div {
  min-width: 0;
}
.gift-layout .section-label {
  margin-top: 0;
}
.invite-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.invite-card .copy-field {
  margin: 18px 0 14px;
}
.stats {
  margin: 18px 0;
}
.stat {
  padding: 16px 8px;
}
.bonus-rules {
  padding: 18px 20px;
}
.bonus-rules summary {
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.bonus-rules[open] summary {
  margin-bottom: 16px;
}
.reward-card {
  background: #fff;
  padding: 20px;
}
.reward-select {
  min-height: 44px;
}
.reward-history {
  padding: 0 22px;
}
.reward-history > p {
  padding: 24px 0;
}
.history-row {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 20px 0;
}
.history-row + .history-row {
  border-top: 1px solid var(--line);
}
.history-days {
  min-width: 52px;
  padding: 10px 4px;
  border-radius: 12px;
  background: #f0edff;
  text-align: center;
  color: #6951c9;
  font-size: 19px;
  font-weight: 700;
}
.history-days small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
}
.history-row > div {
  flex: 1;
  min-width: 0;
}
.history-row strong {
  font-size: 13px;
}
.history-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.7;
}
.history-row > .icon {
  width: 18px;
  margin-top: 4px;
  color: #8694b5;
}
.history-link {
  display: inline-block;
  color: #576ccc;
  font-size: 11px;
  margin-top: 8px;
}
.plan-card {
  padding-top: 28px;
}
.plan-saving {
  margin: 18px 0;
  font-size: 12px;
  color: var(--muted);
}
.trial-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
  background: #eeedff;
  border-radius: 16px;
  font-size: 13px;
}
@media (max-width: 850px) {
  .topbar-title {
    display: none;
  }
  .topbar {
    min-height: calc(56px + env(safe-area-inset-top));
    height: calc(56px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    gap: 8px;
  }
  .mobile-brand {
    font-size: 14px;
  }
  .mobile-brand img {
    width: 25px;
    height: 29px;
  }
  .gift-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 640px) {
  #content {
    padding-top: 20px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading {
    margin-bottom: 16px;
  }
  .purchase-shortcut {
    padding: 16px;
    gap: 12px;
    margin-bottom: 18px;
    border-radius: 16px;
  }
  .purchase-shortcut > span:nth-child(2) {
    flex-direction: column;
    align-items: start;
    gap: 4px;
  }
  .purchase-shortcut strong {
    font-size: 14px;
  }
  .purchase-shortcut small {
    font-size: 11px;
  }
  .purchase-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .subscription-item {
    padding: 18px;
  }
  .subscription-item-actions .button {
    font-size: 11px;
  }
  .subscription-title strong {
    font-size: 15px;
  }
  .subscriptions-grid {
    gap: 14px;
  }
  .trial-offer {
    align-items: stretch;
    flex-direction: column;
  }
  .history-row {
    gap: 12px;
  }
}

/* Purchase benefits, rewards and app selection. */
.nav-link {
  position: relative;
}
.nav-notification {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  right: 6px;
  top: 5px;
  background: #8960f5;
  box-shadow: 0 0 0 2px #fff;
}
.plan-saving {
  min-height: 50px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f3f5fb;
  margin: 16px 0;
}
.plan-saving.has-saving {
  background: #e9f7f0;
  color: #207c5e;
  border: 1px solid #c6ead9;
}
.plan-saving strong {
  font-size: 22px;
  letter-spacing: -0.6px;
}
.plan-saving span {
  font-size: 11px;
  font-weight: 650;
}
.plan-benefits {
  text-align: left;
  margin-bottom: 24px;
}
.plan-benefits > strong {
  font-size: 12px;
}
.plan-benefits ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.plan-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  line-height: 1.5;
}
.plan-benefits .icon {
  width: 17px;
  height: 17px;
  color: #6b7fde;
  flex-shrink: 0;
}
.bonus-shortcut {
  margin: 0 0 20px;
  background: linear-gradient(115deg, #f2eaff, #f5f2ff);
  border-color: #cbb8f4;
  color: #5a3b9c;
}
.bonus-shortcut .bonus-symbol {
  flex: 0;
}
.bonus-shortcut > span:nth-child(2) {
  flex: 1;
}
.bonus-shortcut strong,
.bonus-shortcut small {
  display: block;
}
.bonus-shortcut strong {
  font-size: 14px;
}
.bonus-shortcut small {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.bonus-shortcut > b {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.bonus-shortcut > b .icon {
  width: 15px;
}
.invite-benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid #e0d5fa;
  border-radius: 20px;
  background: linear-gradient(115deg, #f4edff, #ebf4ff);
  margin-bottom: 20px;
}
.invite-benefits h2 {
  font-size: 24px;
  line-height: 1.3;
}
.invite-benefits p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 10px;
  max-width: 400px;
}
.invite-benefits img {
  flex-shrink: 0;
}
.invite-benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.invite-benefit-pills span {
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11px;
  color: #6443a4;
  background: #ffffffc9;
  font-weight: 650;
}
.unclaimed-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  background: #6947d8;
  color: white;
  margin-bottom: 24px;
  text-align: left;
}
.unclaimed-banner > span {
  flex: 1;
}
.unclaimed-banner strong,
.unclaimed-banner small {
  display: block;
}
.unclaimed-banner strong {
  font-size: 16px;
}
.unclaimed-banner small {
  margin-top: 5px;
  color: #eee5ff;
  font-size: 11px;
}
.available-rewards {
  scroll-margin-top: calc(var(--preview-bar-height, 0px) + 20px);
}
.available-rewards .reward-card {
  border: 1px solid #bc9eee;
  background: linear-gradient(135deg, #fcfaff, #f1ebff);
  box-shadow: 0 4px 18px #7953bb0d;
}
.available-rewards .reward-card h3 {
  font-size: 23px;
  color: #6742b1;
}
#connect-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  margin: auto;
  border: 1px solid #e1e5f5;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 90px #15163b40;
}
#connect-dialog::backdrop {
  background: #15153066;
  backdrop-filter: blur(4px);
}
.connect-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.connect-dialog-heading h2 {
  font-size: 22px;
}
#connect-dialog p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 10px;
}
#connect-dialog p.tiny {
  font-size: 11px;
  margin-top: 16px;
}
.app-choices {
  display: grid;
  gap: 12px;
  margin: 22px 0 16px;
}
.app-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e0e4f5;
  border-radius: 15px;
  background: #f7f8ff;
}
.app-choice:hover {
  border-color: #9377f0;
  background: #f0edff;
}
.app-choice > span:nth-child(2) {
  flex: 1;
}
.app-choice strong,
.app-choice small {
  display: block;
}
.app-choice strong {
  font-size: 16px;
}
.app-choice small {
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
}
.client-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 24px;
  font-weight: 800;
  color: white;
}
.client-logo.happ {
  background: #397be7;
}
.client-logo.incy {
  background: #7354df;
}
.payment-countdown {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: left;
  padding: 16px 20px;
  margin-top: 24px;
  border: 1px solid #d4ddfa;
  background: #f0f4ff;
  border-radius: 16px;
}
.payment-countdown > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.countdown-label {
  font-size: 12px;
}
.countdown-value {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.countdown-note {
  width: 100%;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.payment-countdown.ending {
  background: #fff5eb;
  border-color: #f2cfad;
  color: #a55728;
}
@media (max-width: 640px) {
  .bonus-shortcut {
    padding: 15px;
    gap: 10px;
  }
  .bonus-shortcut strong {
    font-size: 13px;
  }
  .bonus-shortcut small {
    font-size: 10px;
  }
  .bonus-shortcut > b {
    font-size: 10px;
  }
  .invite-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 16px;
    padding: 20px;
  }
  .invite-benefits > div {
    display: contents;
  }
  .invite-benefits h2 {
    grid-column: 1;
    grid-row: 1;
    font-size: 21px;
  }
  .invite-benefits img {
    grid-column: 2;
    grid-row: 1;
    width: 88px;
    height: 88px;
    align-self: center;
  }
  .invite-benefits p {
    grid-column: 1 / -1;
    margin-top: 0;
    max-width: none;
  }
  .invite-benefit-pills {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: start;
    margin-top: 0;
  }
  .unclaimed-banner {
    padding: 16px;
    gap: 10px;
  }
  .unclaimed-banner strong {
    font-size: 14px;
  }
  .payment-countdown {
    padding: 14px;
  }
  .countdown-value {
    font-size: 25px;
  }
}
@media (max-width: 640px) {
  .checkout-experience {
    padding: 22px 20px;
  }
  .checkout-orb {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    margin-bottom: 12px;
  }
  .checkout-orb .icon {
    width: 24px;
    height: 24px;
  }
  .checkout-status {
    margin-bottom: 12px;
  }
  .checkout-experience h1 {
    font-size: 23px;
  }
  .checkout-experience .checkout-actions {
    margin-top: 18px;
  }
  .checkout-experience .payment-steps {
    margin-bottom: 12px;
  }
}

/* The purchase action is stronger than the saving label. */
.plan-saving {
  min-height: 35px;
  padding: 7px 9px;
  gap: 7px;
  margin: 12px 0;
  width: fit-content;
  max-width: 100%;
  font-size: 10px;
}
.plan-saving strong {
  font-size: 16px;
}
.plan-saving span {
  font-size: 10px;
}
.plan-card > .button {
  min-height: 52px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 750;
  border-radius: 12px;
}
.plan-benefits {
  grid-column: 1/-1;
}
.reward-picker {
  position: relative;
  margin: 0 0 16px;
  text-align: left;
}
.reward-picker > .tiny {
  display: block;
  margin-bottom: 8px;
}
.reward-picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 13px 15px;
  min-height: 62px;
  border: 1px solid #d4c6f1;
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.reward-picker-trigger:hover,
.reward-picker-trigger[aria-expanded="true"] {
  border-color: #9271df;
  background: #fcfaff;
}
.reward-picker-value {
  flex: 1;
  min-width: 0;
}
.reward-picker strong,
.reward-picker small {
  display: block;
}
.reward-picker strong {
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.reward-picker small {
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}
.reward-picker-trigger > .icon {
  width: 18px;
  height: 18px;
  color: #8863cf;
  transform: rotate(90deg);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.reward-picker-trigger[aria-expanded="true"] > .icon {
  transform: rotate(-90deg);
}
.reward-picker-options {
  position: absolute;
  z-index: 15;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid #d4c6f1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 32px #4b2d8620;
  max-height: 232px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.reward-picker-options[hidden] {
  display: none;
}
.reward-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  min-height: 60px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.reward-picker-option > span {
  flex: 1;
  min-width: 0;
}
.reward-picker-option > .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  visibility: hidden;
  color: #7651c9;
}
.reward-picker-option[aria-selected="true"] {
  background: #f0eaff;
}
.reward-picker-option[aria-selected="true"] > .icon {
  visibility: visible;
}
.reward-picker-option:hover {
  background: #f5f1ff;
}
.reward-picker-option:focus-visible,
.reward-picker-trigger:focus-visible {
  outline: 2px solid #9575e4;
  outline-offset: -2px;
}
@media (max-width: 640px) {
  .plan-card > .button {
    margin-top: 8px;
  }
  .plan-saving {
    flex-wrap: wrap;
  }
}
@media (max-width: 380px) {
  .plan-card .plan-saving {
    grid-column: 1/-1;
    grid-row: 2;
    flex-wrap: nowrap;
  }
  .plan-card .plan-note {
    grid-column: 1/-1;
    grid-row: 3;
    text-align: left;
    margin-bottom: 14px;
  }
}

.subscription-item-actions > .button:only-child,
.checkout-actions .button-row > .button:only-child {
  grid-column: 1 / -1;
  width: 100%;
}
.reward-source {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.reward-source strong {
  color: #7354b7;
  font-size: inherit;
}
.reward-card > .reward-source {
  margin: -6px 0 18px;
}
