:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;
  color: #151515;
  background: #f5f5f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --border: rgba(0, 0, 0, 0.08);
  --muted: #6e6e73;
  --surface: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --accent: #151515;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% -10%, #fff7cf 0, transparent 28%), #f5f5f7;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.page-shell {
  min-height: 100vh;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
}
.page-shell--compact {
  max-width: 860px;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.brand--ecosystem {
  gap: 12px;
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.12);
}
.brand-product {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.025em;
}
.client-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}
.secure-pill,
.chip,
.count-badge {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}
main {
  flex: 1;
}
.footer {
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.surface {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(28px);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.auth-wrap {
  min-height: calc(100vh - 145px);
  display: grid;
  place-items: center;
  padding: 36px 0;
}
.auth-card,
.consent-card {
  width: min(100%, 490px);
  padding: 38px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.14em;
  color: #8b7a23;
  margin-bottom: 12px;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1.02;
}
.auth-card h1,
.consent-card h1 {
  font-size: 35px;
}
h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}
h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}
p {
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.auth-subtitle {
  margin: 12px 0 26px;
}
.stack {
  display: grid;
  gap: 16px;
}
.stack--small {
  gap: 13px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}
input,
select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  color: #151515;
  padding: 13px 14px;
  outline: none;
}
input:focus,
select:focus {
  border-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}
input:disabled {
  background: #f2f2f4;
  color: #8a8a8e;
}
.button {
  min-height: 43px;
  border: 0;
  border-radius: 13px;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.button--primary {
  background: #151515;
  color: white;
}
.button--secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: #151515;
}
.button--ghost {
  background: transparent;
  border: 1px solid var(--border);
}
.auth-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.auth-links a {
  color: #151515;
  font-weight: 650;
  text-decoration: none;
}
.message:empty {
  display: none;
}
.message {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
}
.message--error {
  background: #fff0ef;
  color: #a1261d;
}
.message--success {
  background: #effbf2;
  color: #246e36;
}
.message--info {
  background: #eef5ff;
  color: #285c99;
}
.dashboard {
  padding: 54px 0 20px;
}
.hero-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.hero-row h1 {
  margin-bottom: 8px;
}
.hero-row p {
  margin: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
}
.panel {
  padding: 26px;
}
.panel--wide {
  grid-row: span 2;
}
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading p {
  margin: 6px 0 0;
  font-size: 13px;
}
.product-list {
  display: grid;
  gap: 12px;
}
.product-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
}
.product-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}
.product-copy p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 8px;
}
.product-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #32a852;
  border-radius: 999px;
}
.meta-row {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #8a8a8e;
  text-transform: capitalize;
}
.empty-state {
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 18px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}
.empty-state strong {
  color: #151515;
}
.empty-state p {
  margin-bottom: 0;
}
.security-items {
  display: grid;
  gap: 18px;
}
.security-items > div {
  display: grid;
  gap: 4px;
}
.security-items span {
  font-size: 12px;
  color: var(--muted);
}
.consent-card {
  text-align: center;
}
.consent-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.connector {
  width: 58px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}
.scope-box {
  text-align: left;
  background: #f7f7f8;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin: 24px 0;
}
.scope-box ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fine-print {
  font-size: 11px;
  color: #8a8a8e;
  margin: 18px 0 0;
}
.loading-card,
.error-state {
  padding: 36px;
  text-align: center;
}
.error-state h1 {
  font-size: 32px;
}
.not-found {
  min-height: 75vh;
  display: grid;
  place-content: center;
  text-align: center;
}
@media (max-width: 820px) {
  .page-shell {
    padding: 0 18px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .panel--wide {
    grid-row: auto;
  }
  .hero-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-card,
  .consent-card {
    padding: 28px 22px;
  }
}
@media (max-width: 560px) {
  .secure-pill {
    display: none;
  }
  .product-card {
    grid-template-columns: 44px 1fr;
  }
  .product-card > .button,
  .product-card > .chip {
    grid-column: 1 / -1;
  }
  .consent-actions {
    grid-template-columns: 1fr;
  }
}
.field-hint {
  margin-top: -9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.recovery-box {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 17px;
  padding: 18px;
}
.recovery-box strong {
  display: block;
  margin-bottom: 6px;
}
.recovery-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card--disabled {
  opacity: 0.58;
}
.chip--muted {
  background: rgba(0, 0, 0, 0.035);
}

/* Official FORY brand assets supplied by ForyDigital. */
.forydigital-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.forydigital-logo__mark-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.forydigital-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
}
.forydigital-lockup__image {
  width: 104px;
  height: 34px;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.auth-brand {
  margin-bottom: 18px;
}
.auth-brand .forydigital-logo__mark-image {
  width: 58px;
  height: 58px;
}
.fory-product-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.08));
}
.fory-product-mark--consent {
  width: 58px;
  height: 58px;
}
.consent-forydigital {
  width: 86px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.consent-forydigital .forydigital-logo__mark-image {
  width: 58px;
  height: 58px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Fory Account v1.1: owner email + TOTP MFA */
.security-account-block {
  gap: 18px;
}
.section-rule {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2px 0;
}
.mfa-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.mfa-status > div {
  display: grid;
  gap: 5px;
}
.mfa-status strong {
  font-size: 14px;
}
.mfa-status span:not(.chip) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.mfa-status--enabled strong {
  color: #1f6f36;
}
.mfa-enroll {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}
.mfa-qr {
  width: 150px;
  height: 150px;
  border-radius: 13px;
  background: #fff;
  padding: 7px;
  border: 1px solid var(--border);
}
.mfa-enroll-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.mfa-enroll-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.mfa-enroll-copy code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  background: #f7f7f8;
  border-radius: 10px;
  padding: 9px;
  font-size: 11px;
  user-select: all;
}
.mfa-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.recovery-box--subuser {
  margin-top: 16px;
}
@media (max-width: 560px) {
  .mfa-enroll {
    grid-template-columns: 1fr;
  }
  .mfa-qr {
    margin: 0 auto;
  }
  .mfa-actions {
    grid-template-columns: 1fr;
  }
}

/* Fory Account v1.2: public signup + commercial plans */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.standalone-label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 650;
}
.free-plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: linear-gradient(
    135deg,
    rgba(255, 248, 213, 0.78),
    rgba(255, 255, 255, 0.8)
  );
  border-radius: 18px;
  padding: 16px;
}
.free-plan-summary > div {
  display: grid;
  gap: 4px;
}
.free-plan-summary strong {
  font-size: 15px;
}
.free-plan-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.plan-kicker {
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
  color: #8b7a23;
  text-transform: uppercase;
}
.signup-product-grid {
  display: grid;
  gap: 9px;
}
.signup-product {
  position: relative;
  grid-template-columns: 45px 1fr 24px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.signup-product--selected {
  border-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
  background: #fff;
}
.signup-product > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.signup-product__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.signup-product > span:nth-of-type(2) {
  display: grid;
  gap: 3px;
}
.signup-product small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
}
.signup-product__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: transparent;
}
.signup-product--selected .signup-product__check {
  background: #151515;
  color: #fff;
  border-color: #151515;
}
.onboarding-card {
  width: min(100%, 590px);
}
.plan-summary-panel {
  margin-bottom: 20px;
}
.account-plan-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.account-plan-metrics > div {
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.64);
  display: grid;
  gap: 5px;
}
.account-plan-metrics span {
  color: var(--muted);
  font-size: 10px;
}
.account-plan-metrics strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.plan-inline-request {
  margin-top: 14px;
  border-radius: 13px;
  padding: 10px 12px;
  background: #eef5ff;
  color: #285c99;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.plans-page {
  padding: 52px 0 20px;
}
.plans-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.plans-hero h1 {
  max-width: 780px;
}
.plans-hero p {
  margin-bottom: 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.045);
  display: grid;
  gap: 18px;
}
.plan-card--featured {
  background:
    radial-gradient(
      circle at 80% -20%,
      rgba(255, 222, 76, 0.35),
      transparent 42%
    ),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(139, 122, 35, 0.28);
}
.plan-card--current {
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.05);
}
.plan-card__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.plan-card__top h2 {
  margin-top: 5px;
  font-size: 27px;
}
.plan-card__top p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.plan-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.plan-card__features span {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.6);
}
.plan-product-select,
.plan-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.plan-product-choice {
  position: relative;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  font-size: 10px;
}
.plan-product-choice input {
  width: auto;
  position: absolute;
  top: 7px;
  right: 7px;
}
.plan-product-choice span {
  width: 34px;
  height: 34px;
}
.plan-product-choice strong {
  font-size: 10px;
}
.mini-product {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 8px;
  font-size: 10px;
  font-weight: 700;
}
.mini-product img {
  width: 30px;
  height: 30px;
}
.plan-card__action {
  display: flex;
}
.plan-card__action .button {
  width: 100%;
}
.plan-request-banner {
  margin-bottom: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.plan-request-banner > div {
  display: grid;
  gap: 4px;
}
.plan-request-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.plans-note {
  margin-top: 16px;
  padding: 18px;
}
.plans-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 820px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .account-plan-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .plans-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .plan-card__features {
    grid-template-columns: 1fr;
  }
  .plan-product-select,
  .plan-products {
    grid-template-columns: 1fr;
  }
  .account-plan-metrics {
    grid-template-columns: 1fr;
  }
  .signup-product {
    grid-template-columns: 40px 1fr 22px;
  }
}

/* Fory Account v1.2.1: direct plan choice during signup */
.auth-card:has(.register-flow) {
  width: min(100%, 700px);
}
.signup-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.signup-plan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.signup-plan--selected {
  border-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
  background: #fff;
}
.signup-plan > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.signup-plan > span:first-of-type {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.signup-plan strong {
  font-size: 13px;
}
.signup-plan small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
}
.signup-plan .chip {
  flex: 0 0 auto;
}
@media (max-width: 620px) {
  .auth-card:has(.register-flow) {
    width: min(100%, 490px);
  }
  .signup-plan-grid {
    grid-template-columns: 1fr;
  }
}
.plan-signup-banner {
  margin-bottom: 16px;
  padding: 16px 18px;
  background: linear-gradient(
    135deg,
    rgba(239, 251, 242, 0.9),
    rgba(255, 255, 255, 0.9)
  );
}
.plan-signup-banner > div {
  display: grid;
  gap: 4px;
}
.plan-signup-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Fory Account v1.3: pricing cycles + ForyAI credit topups */
.billing-cycle-picker {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  width: fit-content;
}
.billing-cycle-option {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}
.billing-cycle-option span {
  font-size: 9px;
  margin-left: 4px;
  color: #7a691c;
}
.billing-cycle-option--active {
  background: #151515;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.billing-cycle-option--active span {
  color: #ffe16d;
}
.plans-billing-cycle {
  margin: 0 0 16px;
}
.plan-price {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--border);
}
.plan-price strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}
.plan-price span {
  color: var(--muted);
  font-size: 11px;
}
.plan-price small {
  color: #7a691c;
  font-size: 10px;
  font-weight: 700;
}
.signup-plan-price {
  max-width: 180px;
  text-align: right;
  white-space: normal;
  line-height: 1.25;
}
.ai-topup-panel {
  margin-bottom: 20px;
}
.credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.credit-pack-card {
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 12px;
}
.credit-pack-card > div:first-child {
  display: grid;
  gap: 3px;
}
.credit-pack-card > div:first-child strong {
  font-size: 16px;
}
.credit-pack-card > div:first-child span,
.credit-pack-price span {
  color: var(--muted);
  font-size: 10px;
}
.credit-pack-price {
  display: grid;
  gap: 2px;
}
.credit-pack-price strong {
  font-size: 14px;
}
.credit-pack-card .button {
  width: 100%;
}
@media (max-width: 820px) {
  .credit-pack-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .billing-cycle-picker {
    width: 100%;
  }
  .billing-cycle-option {
    flex: 1;
  }
  .signup-plan-price {
    max-width: 130px;
    font-size: 9px;
  }
}

/* Fory Account v1.4: Mercado Pago + Paddle billing */
.plan-request-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.plan-inline-request--action {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.plan-inline-request--action .button {
  margin-left: auto;
}
.button--small {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 10px;
}
.billing-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.billing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(8px);
}
.billing-modal__panel {
  position: relative;
  width: min(100%, 680px);
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}
.billing-modal__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.billing-modal__heading h2 {
  margin: 5px 0 6px;
  font-size: 28px;
}
.billing-modal__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 520px;
}
.billing-modal__close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.billing-provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.billing-provider-card {
  position: relative;
  text-align: left;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 7px;
  cursor: pointer;
  font: inherit;
}
.billing-provider-card strong {
  font-size: 18px;
}
.billing-provider-card > span:not(.billing-provider-card__badge) {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.billing-provider-card small {
  font-size: 10px;
  font-weight: 700;
  color: #5a5a5a;
}
.billing-provider-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 9px;
  font-weight: 800;
}
.billing-modal__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.billing-return-page {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 48px 0;
}
.billing-return-card {
  width: min(100%, 650px);
  padding: 32px;
  text-align: center;
  display: grid;
  gap: 14px;
}
.billing-return-card h1 {
  margin: 0;
  font-size: 32px;
}
.billing-return-card > p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 520px;
}
.billing-return-card--success {
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(83, 214, 125, 0.17),
      transparent 42%
    ),
    #fff;
}
.billing-return-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.billing-return-meta > div {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.billing-return-meta span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.billing-return-meta strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.billing-return-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.billing-return-card > small {
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 620px) {
  .billing-provider-grid,
  .billing-return-meta,
  .billing-return-actions {
    grid-template-columns: 1fr;
  }
  .billing-modal {
    padding: 14px;
  }
  .billing-modal__panel {
    padding: 18px;
  }
  .billing-modal__heading h2 {
    font-size: 23px;
  }
  .plan-inline-request--action .button {
    margin-left: 0;
    width: 100%;
  }
}

/* v1.4.1 — controlled Product Access selection */
.plan-product-choice {
  overflow: hidden;
  min-height: 78px;
}
.plan-product-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-product-choice__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.plan-product-choice__check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 10px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.8);
}
.plan-product-choice--selected {
  border-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.035);
  background: #fff;
}
.plan-product-choice--selected .plan-product-choice__check {
  color: #fff;
  background: #151515;
  border-color: #151515;
}
.plan-product-choice--disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: rgba(247, 247, 247, 0.72);
}
.plan-product-limit {
  margin-top: 7px;
  text-align: right;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}
.signup-product--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   Fory Account v1.5.0 — ForyDigital visual system refresh
   Interaction language adapted from React Bits patterns: Spotlight Card,
   Animated Content, Magnet, Stepper and application navigation.
   -------------------------------------------------------------------------- */
:root {
  --fory-blue: #165dff;
  --fory-blue-strong: #0b4de8;
  --fory-navy: #0a1d3b;
  --fory-ink: #102342;
  --fory-muted: #6d7d96;
  --fory-line: #dce7f5;
  --fory-soft: #f5f9ff;
  --fory-soft-2: #edf5ff;
  --surface: #ffffff;
  --border: rgba(24, 74, 145, 0.13);
  --muted: #6d7d96;
  --accent: var(--fory-blue);
  --shadow:
    0 22px 70px rgba(21, 69, 137, 0.1), 0 2px 8px rgba(21, 69, 137, 0.04);
  color: var(--fory-ink);
  background: #fff;
}
html {
  background: #fff;
  scroll-behavior: smooth;
}
body {
  color: var(--fory-ink);
  background:
    radial-gradient(
      circle at 88% 2%,
      rgba(77, 153, 255, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 8% 30%,
      rgba(88, 180, 255, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #fff 0%, #f9fbff 52%, #fff 100%);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(20, 92, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 92, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
.page-shell {
  max-width: 1260px;
  padding: 0 30px;
}
.page-shell--compact {
  max-width: 1260px;
}
.topbar {
  position: sticky;
  top: 14px;
  z-index: 80;
  height: 68px;
  margin-top: 14px;
  padding: 0 13px 0 17px;
  border: 1px solid rgba(37, 91, 165, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 14px 42px rgba(38, 88, 153, 0.09);
}
.brand--ecosystem {
  gap: 10px;
}
.forydigital-lockup__image {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
}
.forydigital-logo__mark-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.brand-divider {
  height: 24px;
  background: #d8e3f2;
}
.brand-product {
  font-size: 14px;
  color: var(--fory-navy);
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(244, 248, 255, 0.72);
}
.account-nav a {
  padding: 8px 11px;
  border-radius: 10px;
  color: #53657f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: #d9e7f8;
  background: #f6faff;
  color: #45617f;
  font-weight: 700;
}
.secure-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23b26d;
  box-shadow: 0 0 0 4px rgba(35, 178, 109, 0.1);
}
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 30px 0 34px;
  color: #8290a7;
}
.footer strong {
  color: #52647e;
}
.surface {
  position: relative;
  overflow: hidden;
  border-color: rgba(35, 86, 158, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}
.magnet-button {
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
  will-change: transform;
}

/* Auth / register — two-column application auth block */
.auth-wrap {
  min-height: calc(100vh - 130px);
  padding: 42px 0 48px;
  place-items: center;
}
.auth-experience {
  width: min(100%, 1000px);
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  border: 1px solid rgba(31, 83, 155, 0.13);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(23, 71, 139, 0.13);
  overflow: hidden;
}
.auth-story {
  min-height: 620px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(145deg, #071d48 0%, #0d4bd6 52%, #188bff 100%);
  position: relative;
  isolation: isolate;
}
.auth-story:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 75% 14%,
      rgba(255, 255, 255, 0.25),
      transparent 20%
    ),
    linear-gradient(
      130deg,
      transparent 35%,
      rgba(255, 255, 255, 0.07) 35% 36%,
      transparent 36% 60%,
      rgba(255, 255, 255, 0.055) 60% 61%,
      transparent 61%
    );
}
.auth-story__brand .forydigital-lockup__image {
  filter: brightness(0) invert(1);
  width: 134px;
}
.auth-story__kicker {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  color: #bcd7ff;
}
.auth-story h2 {
  margin: 15px 0 16px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #fff;
}
.auth-story p {
  max-width: 390px;
  color: #dbe9ff;
  font-size: 14px;
}
.auth-story__features {
  display: grid;
  gap: 8px;
}
.auth-story__features span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: #edf5ff;
}
.auth-story__features b {
  font-size: 9px;
  color: #9ec6ff;
  letter-spacing: 0.08em;
}
.auth-card {
  width: 100%;
  max-width: none;
  padding: 44px 46px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  align-self: stretch;
}
.auth-card.spotlight-card:before {
  display: none;
}
.auth-brand {
  display: none;
}
.eyebrow,
.plan-kicker {
  color: var(--fory-blue);
  font-weight: 850;
  letter-spacing: 0.14em;
}
.auth-card h1,
.consent-card h1 {
  font-size: 40px;
  color: var(--fory-navy);
}
.auth-subtitle {
  font-size: 14px;
  color: #71819a;
  margin-bottom: 28px;
}
label {
  color: #263b58;
  font-size: 12px;
}
input,
select {
  border-color: #d9e5f3;
  background: #f9fbfe;
  color: var(--fory-navy);
  border-radius: 14px;
  padding: 13px 14px;
}
input:focus,
select:focus {
  border-color: #4b8cff;
  box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.09);
  background: #fff;
}
.button {
  border-radius: 13px;
  font-size: 12px;
  min-height: 44px;
}
.button--primary {
  background: linear-gradient(180deg, #2875ff, #155ce8);
  color: #fff;
  box-shadow: 0 9px 22px rgba(22, 93, 255, 0.2);
}
.button--secondary,
.button--ghost {
  border: 1px solid #d8e4f3;
  background: #fff;
  color: #183352;
}
.auth-links {
  color: #8593a9;
}
.auth-links a {
  color: var(--fory-blue);
}
.message {
  border: 1px solid transparent;
}
.message--info {
  background: #f0f6ff;
  border-color: #d5e6ff;
  color: #245b9b;
}
.message--success {
  background: #effbf5;
  border-color: #d4f0e1;
}
.message--error {
  background: #fff4f3;
  border-color: #f5d8d4;
}

/* Dashboard application shell */
.dashboard {
  padding: 48px 0 26px;
}
.hero-row {
  align-items: center;
  margin-bottom: 26px;
  padding: 4px 4px 0;
}
.hero-row h1 {
  color: var(--fory-navy);
  font-size: clamp(42px, 5vw, 64px);
}
.hero-row p {
  font-size: 14px;
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 16px;
}
.panel {
  padding: 24px;
  border-radius: 23px;
}
.section-heading h2 {
  color: var(--fory-navy);
}
.section-heading p {
  color: #8090a7;
}
.count-badge,
.chip {
  border-color: #d8e6f5;
  background: #f5f9ff;
  color: #54708f;
}
.product-list {
  gap: 10px;
}
.product-card {
  position: relative;
  border-color: #dce7f3;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-radius: 17px;
  padding: 14px;
}
.product-icon {
  border-radius: 14px;
  background: #f4f8fd;
}
.product-copy p {
  color: #76879f;
}
.meta-row {
  color: #91a0b5;
}
.status-dot {
  background: #22b975;
  box-shadow: 0 0 0 4px rgba(34, 185, 117, 0.08);
}
.security-items > div,
.mfa-status {
  padding: 13px 14px;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fbfdff;
}
.section-rule {
  border: 0;
  border-top: 1px solid #e2ebf5;
  width: 100%;
}

/* Plans: premium SaaS picker, same commercial identity as ForyDigital */
.plans-page {
  padding: 48px 0 38px;
}
.plans-hero h1 {
  color: var(--fory-navy);
  font-size: clamp(42px, 5vw, 62px);
  max-width: 780px;
}
.billing-cycle-picker {
  border-color: #d9e6f4;
  background: #f3f7fc;
  border-radius: 13px;
}
.billing-cycle-option {
  color: #6e8098;
}
.billing-cycle-option--active {
  background: #fff;
  color: var(--fory-blue);
  box-shadow: 0 5px 16px rgba(31, 84, 150, 0.09);
}
.billing-cycle-option--active span {
  color: #24a06a;
}
.plans-grid {
  gap: 14px;
}
.plan-card {
  position: relative;
  border-color: #d9e6f3;
  border-radius: 22px;
  background: #fff;
}
.plan-card--featured {
  border-color: #92baff;
  background: linear-gradient(160deg, #f7fbff, #fff 52%);
  box-shadow: 0 18px 46px rgba(22, 93, 255, 0.11);
}
.plan-price {
  background: #f6f9fd;
  border-color: #dfe9f4;
}
.plan-price strong {
  color: var(--fory-navy);
}
.plan-price small {
  color: #178254;
}
.signup-plan,
.signup-product,
.plan-product-choice,
.credit-pack-card {
  border-color: #dce7f3;
  background: #fbfdff;
}
.signup-plan--selected,
.signup-product--selected,
.plan-product-choice--selected {
  border-color: #5c98ff !important;
  background: #f6faff !important;
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.08) !important;
}
.plan-product-choice--selected .plan-product-choice__check,
.signup-product--selected .signup-product__check {
  background: var(--fory-blue);
  border-color: var(--fory-blue);
  color: #fff;
}

/* Billing modal + consent */
.billing-modal__backdrop {
  background: rgba(6, 24, 55, 0.35);
  backdrop-filter: blur(11px);
}
.billing-modal__panel {
  border: 1px solid rgba(35, 86, 158, 0.15);
  background: #fff;
  box-shadow: 0 34px 100px rgba(14, 49, 99, 0.2);
}
.billing-provider-card {
  border-color: #dce7f3;
  background: #fbfdff;
}
.consent-card {
  padding: 34px;
  border-radius: 26px;
}
.scope-box {
  background: #f6f9fd;
  border-color: #dce7f3;
}

@media (max-width: 900px) {
  .account-nav {
    display: none;
  }
  .page-shell {
    padding: 0 18px;
  }
  .auth-experience {
    grid-template-columns: 1fr;
    max-width: 650px;
  }
  .auth-story {
    min-height: auto;
    padding: 26px 30px;
    gap: 28px;
  }
  .auth-story h2 {
    font-size: 38px;
  }
  .auth-story p {
    display: none;
  }
  .auth-story__features {
    grid-template-columns: repeat(3, 1fr);
  }
  .auth-story__features span {
    font-size: 10px;
  }
  .auth-card {
    padding: 34px 30px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .topbar {
    height: 62px;
    top: 8px;
    margin-top: 8px;
    border-radius: 18px;
    padding: 0 10px 0 12px;
  }
  .forydigital-lockup__image {
    width: 104px;
  }
  .brand-product {
    font-size: 12px;
  }
  .secure-pill {
    font-size: 0;
    padding: 8px;
  }
  .secure-pill .secure-dot {
    margin: 0;
  }
  .brand-divider {
    height: 20px;
  }
  .auth-wrap {
    padding: 24px 0 36px;
  }
  .auth-experience {
    border-radius: 24px;
  }
  .auth-story {
    padding: 23px;
  }
  .auth-story__features {
    display: none;
  }
  .auth-story h2 {
    font-size: 32px;
    margin-bottom: 0;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .auth-card h1 {
    font-size: 34px;
  }
  .hero-row h1 {
    font-size: 44px;
  }
  .dashboard {
    padding-top: 34px;
  }
  .panel {
    padding: 19px;
  }
  .product-card {
    grid-template-columns: 46px 1fr;
  }
  .product-card > .button {
    grid-column: 1/-1;
    width: 100%;
  }
  .footer {
    flex-wrap: wrap;
  }
  .plans-page {
    padding-top: 34px;
  }
  .plans-hero h1 {
    font-size: 42px;
  }
}

/* v1.5.0 — deep polish for onboarding, account metrics and commercial flows */
.onboarding-card {
  width: min(100%, 720px);
  padding: 38px 40px;
  border-radius: 28px;
}
.onboarding-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #125eff, #49a7ff);
  opacity: 0.9;
}
.free-plan-summary,
.plan-signup-banner,
.plan-request-banner,
.plan-inline-request {
  border: 1px solid #dbe8f5;
  border-radius: 17px;
  background: linear-gradient(135deg, #f4f9ff, #fff);
  color: var(--fory-ink);
}
.free-plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
}
.free-plan-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.account-plan-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.account-plan-metrics > div {
  position: relative;
  border-color: #dce8f4;
  background: linear-gradient(180deg, #fff, #f9fbfe);
  padding: 15px;
  border-radius: 16px;
}
.account-plan-metrics > div:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(22, 93, 255, 0.36),
    transparent
  );
  opacity: 0.5;
}
.account-plan-metrics span {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 9px;
  color: #8292a8;
}
.account-plan-metrics strong {
  font-size: 15px;
  color: #18314f;
}
.plan-summary-panel {
  margin-bottom: 16px;
  background: linear-gradient(
    135deg,
    rgba(246, 250, 255, 0.96),
    rgba(255, 255, 255, 0.96)
  );
}
.ai-topup-panel {
  background: linear-gradient(145deg, #f8fbff, #fff);
}
.credit-pack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.credit-pack-card {
  position: relative;
  padding: 15px;
  border-radius: 18px;
}
.credit-pack-card:before {
  content: "✦";
  position: absolute;
  right: 13px;
  top: 11px;
  color: #4d8dff;
  font-size: 12px;
}
.credit-pack-card > div:first-child strong {
  color: var(--fory-navy);
  font-size: 17px;
}
.credit-pack-price strong {
  color: #1a579f;
}
.mfa-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mfa-status > div {
  display: grid;
  gap: 4px;
}
.mfa-status span:not(.chip) {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.mfa-status--enabled {
  border-color: #ccebdc;
  background: #f7fcf9;
}
.security-account-block .button {
  width: fit-content;
}
.field-hint {
  margin-top: -9px;
  color: #8b99ad;
  font-size: 10px;
}
.form-grid-2 {
  gap: 12px;
}
.standalone-label {
  display: block;
  margin-bottom: 8px;
  color: #526780;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.signup-plan-grid {
  gap: 10px;
}
.signup-plan {
  padding: 13px 14px;
}
.signup-plan strong {
  color: #173350;
  font-size: 13px;
}
.signup-plan small {
  color: #8391a6;
}
.signup-product-grid {
  gap: 9px;
}
.signup-product {
  min-height: 68px;
  border-radius: 16px;
}
.signup-product__mark {
  border-radius: 12px;
  background: #f1f6fc;
}
.plan-card__top h2,
.plan-card__heading h2 {
  color: var(--fory-navy);
}
.plan-card__features li:before {
  color: var(--fory-blue);
}
.plan-card__action .button {
  min-height: 45px;
}
.billing-return-card {
  border-radius: 26px;
}
.billing-return-card--success {
  background:
    radial-gradient(
      circle at 50% -15%,
      rgba(39, 197, 114, 0.13),
      transparent 40%
    ),
    #fff;
}
.billing-return-meta > div {
  border-color: #dbe7f4;
  background: #fbfdff;
}
.billing-return-meta strong {
  color: #15324f;
}
.error-state,
.loading-card {
  border-radius: 25px;
}
.error-state h1 {
  color: var(--fory-navy);
}

/* Product access and account navigation details */
.product-heading h3 {
  color: #15324f;
}
.product-card .button {
  min-width: 82px;
}
.product-card--disabled {
  opacity: 0.62;
  filter: saturate(0.75);
}
.plan-product-select,
.plan-products {
  gap: 9px;
}
.plan-product-choice {
  border-radius: 15px;
  padding: 11px;
}
.plan-product-choice strong {
  color: #17334f;
}
.plan-product-limit {
  color: #778aa3;
}

/* OAuth consent */
.consent-card {
  width: min(100%, 590px);
  text-align: left;
}
.consent-logos {
  justify-content: flex-start;
}
.consent-card > h1 {
  font-size: 38px;
}
.scope-box ul {
  color: #6f8199;
}
.consent-actions .button {
  min-height: 45px;
}

@media (max-width: 820px) {
  .account-plan-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .credit-pack-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-card {
    padding: 30px 24px;
  }
}
@media (max-width: 560px) {
  .account-plan-metrics {
    grid-template-columns: 1fr;
  }
  .mfa-status {
    align-items: flex-start;
    flex-direction: column;
  }
  .security-account-block .button {
    width: 100%;
  }
  .consent-actions {
    grid-template-columns: 1fr;
  }
}
.account-context {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.account-context span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  background: #f8fbff;
  color: #627790;
  font-size: 10px;
  font-weight: 700;
}
.account-context__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #23b26d;
  box-shadow: 0 0 0 4px rgba(35, 178, 109, 0.08);
}

/* ========================================================================== */
/* Fory Account v1.6.0 — React Bits visual layer                              */
/* Visual primitives used exclusively for new/updated states:                 */
/* Lattice Loader, Fade Content, Animated List, Spotlight Card and Magnet.    */
/* References: reactbits.dev/micro/lattice-loader, /c/animations,             */
/* /c/components and /r/Magnet-JS-CSS.json.                                   */
/* ========================================================================== */

/* React Bits — Lattice Loader */
.rb-lattice-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  color: var(--fory-blue, #165dff);
  font-size: 13px;
  font-weight: 730;
  letter-spacing: -0.01em;
}
.rb-lattice-loader__grid {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 2px;
  width: 22px;
  height: 22px;
}
.rb-lattice-loader__grid i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.15;
  animation: rb-lattice-orbit 810ms linear infinite;
  animation-delay: calc(var(--rb-cell) * -90ms);
  box-shadow: 0 0 0 rgba(22, 93, 255, 0);
}
.rb-lattice-loader__label {
  color: #60748f;
}
@keyframes rb-lattice-orbit {
  0%,
  26% {
    opacity: 0.15;
    transform: scale(0.78);
  }
  38%,
  54% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(22, 93, 255, 0.22);
  }
  68%,
  100% {
    opacity: 0.15;
    transform: scale(0.78);
  }
}
.loading-card .rb-lattice-loader,
.billing-return-card .rb-lattice-loader,
.auth-card .rb-lattice-loader {
  margin: 0 auto;
}
.billing-return-card {
  position: relative;
  overflow: hidden;
}
.billing-celebration span {
  position: absolute;
  color: #f4bb42;
  font-size: 25px;
  animation: billing-star-float 3s ease-in-out infinite;
}
.billing-celebration span:nth-child(1) {
  left: 10%;
  top: 16%;
}
.billing-celebration span:nth-child(2) {
  right: 11%;
  top: 14%;
  font-size: 33px;
  animation-delay: 0.45s;
}
.billing-celebration span:nth-child(3) {
  right: 17%;
  bottom: 17%;
  font-size: 21px;
  animation-delay: 0.9s;
}
@keyframes billing-star-float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-9px) rotate(9deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .billing-celebration span {
    animation: none;
  }
}

/* React Bits — Fade Content / Animated List */
.rb-fade-content {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  filter: blur(7px);
  transition:
    opacity 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--rb-delay, 0ms),
    transform 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--rb-delay, 0ms),
    filter 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--rb-delay, 0ms);
}
.ui-ready .rb-fade-content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.rb-animated-item {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  filter: blur(5px);
  animation: rb-list-enter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: calc(var(--rb-list-index, 0) * 42ms);
}
@keyframes rb-list-enter {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

/* React Bits — Spotlight Card */
.spotlight-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.spotlight-card:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    260px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(57, 132, 255, 0.13),
    transparent 62%
  );
  transition: opacity 0.24s ease;
}
.spotlight-card:hover:before {
  opacity: 1;
}

/* React Bits — Magnet. The JS derives the motion from the official Magnet source. */
.magnet-button {
  --mag-x: 0px;
  --mag-y: 0px;
  transform: translate3d(var(--mag-x), var(--mag-y), 0) !important;
  transition:
    transform 0.3s ease-out,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease !important;
  will-change: transform;
}
.magnet-button:not([data-magnet-active]) {
  transition:
    transform 0.5s ease-in-out,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease !important;
}
.button:hover {
  transform: translate3d(var(--mag-x), var(--mag-y), 0) !important;
}

/* App hub */
.account-hub-section {
  margin: 0 0 16px;
  padding: 6px 0;
}
.account-hub-section > .section-heading {
  padding: 0 4px;
  margin-bottom: 13px;
}
.ecosystem-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}
.ecosystem-service-card {
  min-height: 154px;
  border: 1px solid #dce7f3;
  border-radius: 21px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #173350;
}
.ecosystem-service-card__kicker {
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.12em;
  color: #5f83aa;
}
.ecosystem-service-card strong {
  font-size: 18px;
  letter-spacing: -0.035em;
}
.ecosystem-service-card > span:not(.ecosystem-service-card__kicker) {
  font-size: 12px;
  line-height: 1.5;
  color: #74869d;
  flex: 1;
}
.ecosystem-service-card > b {
  font-size: 18px;
  font-weight: 500;
  color: var(--fory-blue);
}
.ecosystem-service-card--status {
  cursor: default;
}
.ecosystem-service-card--status > b {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: #7690ad;
}

/* Shared ForyAccount service pages */
.hub-page {
  padding: 48px 0 36px;
  display: grid;
  gap: 16px;
}
.hub-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 4px;
}
.hub-heading h1 {
  font-size: clamp(42px, 5vw, 64px);
  color: var(--fory-navy);
  margin: 4px 0 9px;
}
.hub-heading p {
  margin: 0;
  color: #76879f;
}
.hub-kicker,
.hub-empty__eyebrow {
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.14em;
  color: #5980a9;
}
.hub-empty {
  padding: 42px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.hub-empty h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--fory-navy);
  max-width: 760px;
}
.hub-empty p {
  max-width: 690px;
  color: #74869d;
  margin: 0 0 8px;
}
.hub-empty--compact {
  padding: 24px;
  border: 1px dashed #cfddeb;
  background: #fbfdff;
  border-radius: 18px;
  box-shadow: none;
}
.hub-empty--compact strong {
  color: #173350;
}
.hub-empty--compact p {
  font-size: 12px;
  margin: 4px 0 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e5f3;
  background: #f6f9fd;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c728c;
}
.status-pill--active {
  border-color: #c8ead9;
  background: #f3fbf7;
  color: #198457;
}

/* Fory Partners */
.partner-join-page {
  gap: 13px;
}
.partner-join-hero {
  min-height: 300px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(22, 93, 255, 0.11),
      transparent 32%
    ),
    #fff;
}
.partner-join-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  color: var(--fory-navy);
  margin: 10px 0 15px;
  max-width: 760px;
}
.partner-join-hero p {
  max-width: 680px;
  color: #6f829a;
}
.partner-join-rate {
  justify-self: end;
  width: min(100%, 260px);
  aspect-ratio: 1;
  border-radius: 32px;
  border: 1px solid #d9e8f6;
  background: rgba(248, 251, 255, 0.92);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}
.partner-join-rate span,
.partner-join-rate small {
  color: #7590ad;
  font-size: 11px;
}
.partner-join-rate strong {
  font-size: 78px;
  line-height: 1;
  color: var(--fory-blue);
  letter-spacing: -0.07em;
  margin: 7px 0;
}
.partner-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.partner-feature {
  padding: 22px;
}
.partner-feature > span {
  font-size: 10px;
  font-weight: 800;
  color: #7391b1;
}
.partner-feature strong {
  display: block;
  color: #173350;
  margin: 12px 0 5px;
}
.partner-feature p {
  margin: 0;
  color: #7c8da3;
  font-size: 12px;
}
.partner-terms-card {
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.partner-terms-card .message,
.partner-terms-card .partner-check {
  grid-column: 1/-1;
}
.partner-terms-card .button {
  min-width: 220px;
}
.partner-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dce8f4;
  background: #fbfdff;
  border-radius: 15px;
  padding: 13px;
  font-size: 12px;
  font-weight: 600;
  color: #5d728d;
}
.partner-check input {
  width: auto;
  margin-top: 2px;
}
.partner-wallet-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 12px;
}
.wallet-card,
.partner-stat {
  padding: 22px;
  display: grid;
  gap: 7px;
}
.wallet-card span,
.partner-stat span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7890aa;
  font-weight: 760;
}
.wallet-card strong {
  font-size: 42px;
  color: var(--fory-navy);
  letter-spacing: -0.05em;
}
.partner-stat strong {
  font-size: 25px;
  color: #173350;
}
.wallet-card small,
.partner-stat small {
  font-size: 10px;
  color: #8b9bae;
}
.wallet-card--hero {
  background:
    radial-gradient(circle at 85% 0, rgba(22, 93, 255, 0.14), transparent 38%),
    #fff;
}
.referral-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
}
.referral-card h2 {
  margin: 7px 0 2px;
}
.referral-copy-row {
  display: flex;
  gap: 8px;
}
.referral-copy-row input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.partner-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}
.ledger-list,
.withdrawal-history,
.submission-list,
.checkout-history {
  display: grid;
  gap: 8px;
}
.ledger-row,
.withdrawal-row,
.submission-row,
.checkout-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid #dde8f3;
  background: #fbfdff;
  border-radius: 15px;
  padding: 13px 14px;
}
.ledger-row > div,
.withdrawal-row > div,
.submission-row > div,
.checkout-history-item > div {
  display: grid;
  gap: 3px;
}
.ledger-row span,
.withdrawal-row span,
.submission-row span,
.checkout-history-item span {
  font-size: 10px;
  color: #8495aa;
}
.amount-positive {
  color: #168456;
}
.amount-negative {
  color: #bd4c43;
}
.withdrawal-history {
  margin-top: 15px;
}
.withdrawal-row > span {
  text-transform: uppercase;
  font-weight: 750;
}
.withdrawal-panel form {
  margin-bottom: 6px;
}

/* ForyMedia */
.media-principles {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 0 0, rgba(22, 93, 255, 0.08), transparent 30%),
    #fff;
}
.media-principles h2 {
  font-size: 28px;
  max-width: 780px;
  margin-top: 6px;
}
.media-principles p {
  color: #74869d;
  font-size: 13px;
}
.media-campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.media-campaign-card {
  padding: 22px;
}
.media-campaign-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6c85a0;
}
.media-campaign-card__top b {
  color: #198457;
}
.media-campaign-card h2 {
  margin: 14px 0 7px;
}
.media-campaign-card p {
  font-size: 12px;
  color: #788aa1;
  min-height: 54px;
}
.media-campaign-card small {
  font-size: 10px;
  color: #8c9aae;
}
.reward-ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 16px 0;
}
.reward-ladder > div {
  border: 1px solid #dce8f4;
  border-radius: 12px;
  background: #f8fbff;
  padding: 9px 7px;
  display: grid;
  gap: 3px;
  text-align: center;
}
.reward-ladder strong {
  font-size: 11px;
  color: #173350;
}
.reward-ladder span {
  font-size: 10px;
  color: var(--fory-blue);
  font-weight: 760;
}
.media-submit-card {
  padding: 26px;
}
.media-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.media-form__wide {
  grid-column: 1/-1;
}
.media-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 51, 80, 0.14);
  border-radius: 13px;
  background: #fff;
  color: #151515;
  padding: 13px 14px;
  resize: vertical;
  outline: none;
  font: inherit;
}
.media-form textarea:focus {
  border-color: #87ace0;
  box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.06);
}
.media-rules {
  border: 1px solid #dce7f3;
  background: #f8fbff;
  border-radius: 15px;
  padding: 13px;
  display: grid;
  gap: 4px;
}
.media-rules strong {
  font-size: 11px;
  color: #173350;
}
.media-rules span {
  font-size: 10px;
  line-height: 1.55;
  color: #74869d;
}
.submission-row a {
  font-size: 10px;
  color: var(--fory-blue);
  text-decoration: none;
}
.submission-row > div:last-child {
  text-align: right;
}

/* ForyCheckout */
.checkout-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.checkout-summary {
  padding: 22px;
  display: grid;
  gap: 7px;
}
.checkout-summary span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7890aa;
}
.checkout-summary strong {
  font-size: 22px;
  color: #173350;
}
.checkout-summary small {
  font-size: 10px;
  color: #8999ad;
}
.checkout-architecture {
  padding: 28px;
  display: grid;
  gap: 15px;
}
.checkout-architecture h2 {
  margin-top: 5px;
}
.checkout-architecture p {
  margin: 0;
  color: #74869d;
  font-size: 12px;
}
.checkout-flow {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.checkout-flow span {
  border: 1px solid #dbe7f3;
  background: #f8fbff;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 740;
  color: #486783;
}
.checkout-flow b {
  color: #95aac0;
}
.checkout-history-item > div:last-child {
  text-align: right;
}
.checkout-status {
  text-transform: uppercase;
  font-weight: 760;
}

@media (max-width: 1050px) {
  .ecosystem-service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-wallet-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media-campaign-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-columns {
    grid-template-columns: 1fr;
  }
  .referral-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .hub-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .partner-join-hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .partner-join-rate {
    justify-self: start;
    aspect-ratio: auto;
    width: 100%;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  .partner-join-rate strong {
    font-size: 46px;
  }
  .partner-join-grid,
  .checkout-summary-grid,
  .media-campaign-grid {
    grid-template-columns: 1fr;
  }
  .partner-terms-card {
    grid-template-columns: 1fr;
  }
  .partner-terms-card .button {
    width: 100%;
  }
  .partner-wallet-grid {
    grid-template-columns: 1fr;
  }
  .media-principles {
    grid-template-columns: 1fr;
  }
  .media-form {
    grid-template-columns: 1fr;
  }
  .media-form__wide {
    grid-column: auto;
  }
  .reward-ladder {
    grid-template-columns: 1fr 1fr;
  }
  .referral-copy-row {
    flex-direction: column;
  }
  .ecosystem-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-lattice-loader__grid i {
    animation: none !important;
    opacity: 0.45;
  }
  .rb-fade-content,
  .rb-animated-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  .magnet-button {
    transform: none !important;
    transition: none !important;
  }
}
.partner-performance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1050px) {
  .partner-performance-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .partner-performance-grid {
    grid-template-columns: 1fr;
  }
}
.partner-agreement-card {
  padding: 21px 23px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.partner-agreement-card .message {
  grid-column: 1/-1;
}
.partner-agreement-card h2 {
  margin: 6px 0 4px;
}
@media (max-width: 760px) {
  .partner-agreement-card {
    grid-template-columns: 1fr;
  }
  .partner-agreement-card .button {
    width: 100%;
  }
}

/* v1.6 React Bits compliance overrides. Interactive motion/hover is exclusively Magnet + Spotlight. */
.empty-state {
  position: relative;
  overflow: hidden;
}

/* v1.7 · Referral input layout. Motion/hover continues to use React Bits primitives only. */
.billing-referral {
  margin: 0 0 14px;
  padding: 14px 15px;
  display: grid;
  gap: 7px;
  background: #fbfdff;
  border-color: #dce7f3;
}
.billing-referral label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 760;
  color: #173350;
}
.billing-referral small {
  color: #74869d;
  font-size: 10px;
  line-height: 1.5;
}
.media-rules ul {
  margin: 5px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}
.media-rules li {
  font-size: 10px;
  line-height: 1.5;
  color: #74869d;
}

/* React Bits Lattice micro-loader, inline variant for actions. */
.rb-button-loader {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 12px;
}
.rb-button-loader i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  animation: rb-button-lattice 0.72s ease-in-out infinite;
}
.rb-button-loader i:nth-child(2) {
  animation-delay: 0.12s;
}
.rb-button-loader i:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes rb-button-lattice {
  0%,
  100% {
    opacity: 0.24;
    transform: translateY(1px) scale(0.86);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
}
.media-flash {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #cce9d9;
  background: #f0fbf5;
  border-radius: 15px;
  color: #176b43;
  font-size: 11px;
  font-weight: 680;
}
.media-rule-alert {
  border: 1px solid #f0dcb0;
  background: #fff9eb;
  border-radius: 15px;
  padding: 13px 14px;
  color: #805b12;
  font-size: 10px;
  line-height: 1.55;
}
.media-info-required {
  margin-top: 10px;
  border: 1px solid #f0dcb0;
  background: #fffaf0;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.media-info-required strong {
  font-size: 10px;
  color: #6d4f15;
}
.media-info-required p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  color: #7c6845;
}
.media-response-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}
.media-response-form label {
  display: grid;
  gap: 6px;
}
.media-response-form textarea {
  min-height: 72px;
}
.media-response-files {
  grid-column: 1/-1;
}
.submission-row--attention {
  align-items: flex-start;
  background: #fffdf8;
}
.media-submission-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #8b99a9;
}
.media-success-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #168456;
  font-weight: 750;
}
@media (max-width: 760px) {
  .media-response-form {
    grid-template-columns: 1fr;
  }
  .media-response-files {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rb-button-loader i {
    animation: none !important;
    opacity: 0.6;
  }
}

.required-mark {
  font-size: 9px;
  color: #b86a22;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.media-form label small {
  display: block;
  margin-top: 6px;
  color: #8796a8;
  font-size: 9px;
  line-height: 1.45;
}

/* Fory Account notifications — React Bits Fade Content / Animated List / Magnet adapted to the existing shell. */
.account-notification-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.account-notification-button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(128, 132, 142, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.68);
  color: #17181b;
  display: inline-grid;
  place-items: center;
  font: inherit;
  cursor: pointer;
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}
.account-notification-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-notification-button:hover {
  background: rgba(128, 132, 142, 0.09);
}
.account-notification-button b {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d64545;
  color: #fff;
  border: 2px solid #f4f5f7;
  font-size: 8px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.account-notifications-popover {
  display: none;
  position: absolute;
  right: 0;
  top: 46px;
  width: min(390px, calc(100vw - 28px));
  max-height: 520px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dce8f6;
  border-radius: 20px;
  box-shadow: 0 22px 70px rgba(30, 69, 120, 0.18);
  padding: 12px;
  z-index: 80;
}
.account-notifications-popover.is-open {
  display: block;
}
.account-notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 5px 10px;
}
.account-notification-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-notification-head strong {
  font-size: 13px;
}
.account-notification-head span {
  font-size: 10px;
  color: var(--muted);
}
.account-notification-readall {
  border: 0;
  background: transparent;
  color: #2865bc;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
}
.account-notification-list {
  display: grid;
  gap: 7px;
}
.account-notification-item {
  width: 100%;
  border: 1px solid #e0e9f4;
  border-radius: 15px;
  background: #fff;
  padding: 11px;
  text-align: left;
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  cursor: pointer;
  font: inherit;
}
.account-notification-item.is-read {
  opacity: 0.68;
}
.account-notification-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 999px;
  background: #4387eb;
}
.account-notification-dot--success {
  background: #21a36b;
}
.account-notification-dot--warning {
  background: #e6a21a;
}
.account-notification-dot--error {
  background: #d74848;
}
.account-notification-copy {
  display: grid;
  gap: 3px;
}
.account-notification-copy strong {
  font-size: 11px;
  color: #142842;
}
.account-notification-copy span {
  font-size: 10px;
  color: #5a6e86;
  line-height: 1.45;
}
.account-notification-copy small {
  font-size: 9px;
  color: #8fa0b3;
}
.account-notification-empty,
.account-notification-loading {
  padding: 24px 14px;
  text-align: center;
  display: grid;
  gap: 5px;
  color: #60748b;
}
.account-notification-empty strong {
  color: #253c57;
  font-size: 12px;
}
.account-notification-empty span,
.account-notification-loading {
  font-size: 10px;
}
@media (max-width: 700px) {
  .account-notifications-popover {
    position: fixed;
    right: 14px;
    left: 14px;
    top: 78px;
    width: auto;
  }
  .account-notification-button {
    width: 34px;
    height: 34px;
  }
}

/* Fory Account v1.7.8 — public browsing.
   New motion/state primitives remain adapted from React Bits (Fade Content, Animated List, Spotlight Card, Magnet). */
.topbar-actions--guest {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-auth-link {
  min-width: auto;
  padding: 9px 13px;
  font-size: 10px;
  white-space: nowrap;
}
.page-shell--compact .topbar-actions {
  display: none;
}

.phone-field {
  display: grid;
  gap: 6px;
}
.phone-field > label {
  display: grid;
  gap: 7px;
}
.phone-field__row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(220px, 1.2fr);
  gap: 8px;
}
.phone-field__row select,
.phone-field__row input {
  min-width: 0;
  width: 100%;
}
.phone-field__row select {
  font-weight: 680;
  color: #25415f;
  background: #f8fbff;
}
.field-hint {
  display: block;
  color: #8797aa;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 520;
}
.link-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--fory-blue);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
  text-decoration: none;
}

.public-home {
  padding: 48px 0 34px;
  display: grid;
  gap: 16px;
}
.public-home__hero {
  min-height: 325px;
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: center;
  gap: 34px;
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(22, 93, 255, 0.13),
      transparent 35%
    ),
    linear-gradient(180deg, #fff, #f8fbff);
}
.public-home__hero h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: var(--fory-navy);
  margin: 10px 0 18px;
  max-width: 850px;
}
.public-home__hero p {
  max-width: 700px;
  color: #6f829a;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.public-home__actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.public-home__hero .public-home__actions {
  margin-top: 26px;
}
.public-home__badge {
  justify-self: end;
  width: min(100%, 290px);
  padding: 24px;
  border: 1px solid #dce8f4;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 9px;
  box-shadow: 0 18px 52px rgba(50, 86, 130, 0.09);
}
.public-home__badge span {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #7690ad;
}
.public-home__badge strong {
  font-size: 27px;
  color: #173350;
  letter-spacing: -0.04em;
}
.public-home__badge p {
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
  color: #7e8fa4;
}
.public-home__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}
.public-home__grid .surface {
  padding: 22px;
  display: grid;
  gap: 9px;
  min-height: 174px;
}
.public-home__grid span {
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.11em;
  color: #6f8cab;
}
.public-home__grid strong {
  font-size: 20px;
  color: #173350;
  letter-spacing: -0.035em;
}
.public-home__grid p {
  margin: 0;
  color: #7c8da3;
  font-size: 11px;
  line-height: 1.55;
}
.public-home__grid a {
  align-self: end;
  width: max-content;
  font-size: 10px;
  font-weight: 760;
  color: var(--fory-blue);
  text-decoration: none;
}
.public-access-note,
.public-gated-action {
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.public-access-note h2,
.public-gated-action h2 {
  margin: 6px 0 5px;
  color: #173350;
}
.public-access-note p,
.public-gated-action p {
  margin: 0;
  max-width: 760px;
  font-size: 11px;
  line-height: 1.55;
  color: #788ba2;
}

@media (max-width: 980px) {
  .public-home__grid {
    grid-template-columns: 1fr 1fr;
  }
  .public-home__hero {
    grid-template-columns: 1fr;
  }
  .public-home__badge {
    justify-self: start;
    width: 100%;
  }
  .topbar-actions--guest .button {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 760px) {
  .phone-field__row {
    grid-template-columns: 1fr;
  }
  .public-home {
    padding-top: 26px;
  }
  .public-home__hero {
    padding: 28px;
    min-height: 0;
  }
  .public-home__hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }
  .public-home__grid {
    grid-template-columns: 1fr;
  }
  .public-access-note,
  .public-gated-action {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-actions--guest {
    width: 100%;
    justify-content: center;
  }
  .topbar-auth-link {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* FORY Platform · Lobby */
.account-notification-button b[hidden] {
  display: none !important;
}
.lobby-launcher-panel {
  margin-bottom: 16px;
  padding: 26px;
  background:
    radial-gradient(circle at 90% 0%, rgba(22, 93, 255, 0.1), transparent 31%),
    linear-gradient(180deg, #fff, #f8fbff);
}
.lobby-launcher-heading {
  margin-bottom: 16px;
}
.lobby-product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.lobby-product-list .product-card {
  grid-template-columns: 58px 1fr;
  align-items: start;
  min-height: 194px;
  padding: 18px;
  border-radius: 21px;
}
.lobby-product-list .product-icon {
  width: 58px;
  height: 58px;
}
.lobby-product-list .product-copy {
  min-width: 0;
}
.lobby-product-list .product-card > .button,
.lobby-product-list .product-card > .chip {
  grid-column: 1/-1;
  width: 100%;
  margin-top: auto;
}
.lobby-product-list .product-card > .button {
  background: linear-gradient(180deg, #2875ff, #155ce8);
  border-color: #155ce8;
  color: #fff;
  box-shadow: 0 9px 22px rgba(22, 93, 255, 0.16);
}
.chip--soon {
  border-color: #e7ddff;
  background: #f8f5ff;
  color: #7358b8;
}
@media (max-width: 980px) {
  .lobby-product-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .lobby-product-list {
    grid-template-columns: 1fr;
  }
}
.lobby-hero-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lobby-business-context {
  display: grid;
  gap: 5px;
  min-width: 210px;
}
.lobby-business-context > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #71839a;
}
.lobby-business-context select {
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  background: #fff;
  color: var(--fory-navy);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.lobby-business-context select:disabled {
  opacity: 0.72;
}
.lobby-business-context select:focus-visible {
  outline: 3px solid rgba(22, 93, 255, 0.2);
  outline-offset: 2px;
}
@media (max-width: 820px) {
  .lobby-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .lobby-business-context {
    flex: 1;
    min-width: min(100%, 240px);
  }
}
@media (max-width: 560px) {
  .lobby-hero-actions,
  .lobby-business-context,
  .lobby-hero-actions .button {
    width: 100%;
  }
}

/* v1.7.9 — compact horizontal signup + Cloudflare verification. */
.captcha-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #f8fbff;
}
.captcha-shell > p {
  margin: 0;
  color: #b14a3d;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
.captcha-shell > p[hidden] {
  display: none;
}
.captcha-shell iframe {
  max-width: 100%;
}
@media (min-width: 901px) {
  .auth-experience:has(.register-flow) {
    width: min(96vw, 1320px);
    grid-template-columns: minmax(235px, 0.55fr) minmax(620px, 1.65fr);
  }
  .auth-experience:has(.register-flow) .auth-story {
    min-height: 690px;
    padding: 30px;
  }
  .auth-experience:has(.register-flow) .auth-story h2 {
    font-size: clamp(38px, 3.2vw, 49px);
  }
  .auth-experience:has(.register-flow) .auth-story p {
    font-size: 12px;
  }
  .auth-experience:has(.register-flow) .auth-card {
    padding: 27px 32px;
  }
  .auth-experience:has(.register-flow) .auth-card h1 {
    font-size: 34px;
  }
  .auth-experience:has(.register-flow) .auth-subtitle {
    margin: 8px 0 17px;
    font-size: 12px;
  }
  .register-flow .stack {
    gap: 11px;
  }
  .register-flow input,
  .register-flow select {
    padding: 10px 12px;
  }
  .register-flow .signup-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .register-flow .signup-plan {
    min-height: 70px;
    padding: 9px 10px;
  }
  .register-flow .signup-plan:nth-child(4),
  .register-flow .signup-plan:nth-child(5) {
    grid-column: span 1;
  }
  .register-flow .signup-plan-price {
    max-width: 112px;
    font-size: 8px;
    padding: 6px 7px;
  }
  .register-flow .signup-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .register-flow .signup-product {
    grid-template-columns: 37px 1fr 19px;
    gap: 7px;
    padding: 9px;
    min-width: 0;
  }
  .register-flow .signup-product__mark {
    width: 35px;
    height: 35px;
  }
  .register-flow .signup-product small {
    font-size: 9px;
  }
  .register-flow .free-plan-summary {
    padding: 10px 12px;
  }
  .register-flow .free-plan-summary p {
    font-size: 10px;
  }
  .register-flow .billing-cycle-option {
    padding: 7px 11px;
  }
  .register-flow .captcha-shell {
    min-height: 63px;
    padding: 4px 8px;
  }
}
@media (max-width: 1120px) and (min-width: 901px) {
  .register-flow .signup-plan-grid {
    grid-template-columns: 1fr 1fr;
  }
  .auth-experience:has(.register-flow) {
    grid-template-columns: 235px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .captcha-shell {
    justify-content: flex-start;
    overflow: hidden;
  }
  .register-flow .signup-product-grid {
    grid-template-columns: 1fr;
  }
}

/* FORY Platform v0.3 · Business Setup */
.setup-wrap {
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 48px;
}
.setup-card {
  width: min(100%, 880px);
}
.setup-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 9px;
  margin: 26px 0 28px;
}
.setup-progress > i {
  height: 1px;
  background: #dfe8f3;
  display: block;
}
.setup-progress__step {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b9aab;
  font: inherit;
  cursor: default;
}
.setup-progress__step b {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  border: 1px solid #d8e3ef;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #74869a;
}
.setup-progress__step span {
  font-size: 9px;
  font-weight: 760;
  white-space: nowrap;
}
.setup-progress__step.is-active {
  color: #195fcf;
}
.setup-progress__step.is-active b {
  border-color: #8cb7fb;
  background: #eef5ff;
  color: #165fe3;
  box-shadow: 0 0 0 4px rgba(43, 113, 229, 0.06);
}
.setup-progress__step.is-done {
  color: #4c739e;
}
.setup-progress__step.is-done b {
  border-color: #9fc3f6;
  background: #f4f8ff;
  color: #1a65db;
}
.setup-form {
  gap: 18px;
}
.setup-panel {
  display: grid;
  gap: 18px;
}
.setup-panel[hidden] {
  display: none !important;
}
.setup-panel__head {
  display: grid;
  gap: 5px;
}
.setup-panel__head > span,
.setup-preview__label {
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.12em;
  color: #6c8caf;
}
.setup-panel__head h2 {
  margin: 0;
  color: #173350;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.setup-panel__head p {
  margin: 0;
  color: #7c8da2;
  font-size: 10px;
  line-height: 1.55;
}
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.setup-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.setup-preview {
  border: 1px solid #dce8f4;
  background: linear-gradient(180deg, #fbfdff, #f6faff);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.setup-preview > div:first-child {
  display: grid;
  gap: 3px;
}
.setup-preview strong {
  font-size: 13px;
  color: #173350;
}
.setup-preview p {
  margin: 0;
  color: #8092a8;
  font-size: 9px;
  line-height: 1.45;
}
.setup-preview__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chip--blue {
  border-color: #c9dcfa !important;
  background: #eef5ff !important;
  color: #2166c8 !important;
}
.setup-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.setup-check-grid label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0e8f2;
  border-radius: 13px;
  padding: 10px 11px;
  background: #fff;
  cursor: pointer;
}
.setup-check-grid input {
  width: auto !important;
  margin: 0;
}
.setup-check-grid span {
  font-size: 9px;
  color: #38516d;
  font-weight: 650;
}
.setup-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.setup-review {
  border: 1px solid #dfe8f2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.setup-review__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  border-bottom: 1px solid #edf2f7;
}
.setup-review__row:last-child {
  border-bottom: 0;
}
.setup-review__row span {
  font-size: 9px;
  color: #7e90a5;
}
.setup-review__row strong {
  font-size: 10px;
  color: #213b59;
  text-align: right;
}
.setup-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding-top: 5px;
}
.setup-actions .button[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .setup-progress {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
  .setup-progress > i {
    display: none;
  }
  .setup-progress__step {
    justify-content: center;
    flex-direction: column;
  }
  .setup-progress__step span {
    font-size: 8px;
  }
  .setup-grid,
  .setup-grid--three,
  .setup-product-grid,
  .setup-check-grid {
    grid-template-columns: 1fr;
  }
  .setup-preview {
    align-items: flex-start;
    flex-direction: column;
  }
  .setup-preview__chips {
    justify-content: flex-start;
  }
  .setup-actions {
    grid-template-columns: auto 1fr auto;
  }
  .setup-actions #setup-submit {
    grid-column: 3;
  }
  .setup-card {
    padding-left: 22px;
    padding-right: 22px;
  }
}
.setup-integrations {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff, #fff);
}
.setup-integrations > p {
  margin: 6px 0 14px;
  color: var(--muted);
}
.setup-integrations .setup-check-grid label span {
  display: grid;
  gap: 2px;
}
.setup-integrations .setup-check-grid small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}
.setup-upgrades {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cddcff;
  border-radius: 18px;
  background: #f8fbff;
  display: grid;
  gap: 14px;
}
.setup-upgrades > div:first-child {
  display: grid;
  gap: 4px;
}
.setup-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.setup-upgrade-grid a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: 0.18s ease;
}
.setup-upgrade-grid a:hover {
  border-color: #2a69ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 84, 190, 0.12);
}
.setup-upgrade-grid small {
  color: var(--muted);
  line-height: 1.35;
}
.setup-upgrade-grid span {
  color: #1657d8;
  font-weight: 800;
}
@media (max-width: 760px) {
  .setup-upgrade-grid {
    grid-template-columns: 1fr;
  }
}
.setup-integrations {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff, #fff);
}
.setup-integrations > p {
  margin: 6px 0 14px;
  color: var(--muted);
}
.setup-integrations .setup-check-grid label span {
  display: grid;
  gap: 2px;
}
.setup-integrations .setup-check-grid small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}
.setup-upgrades {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cddcff;
  border-radius: 18px;
  background: #f8fbff;
  display: grid;
  gap: 14px;
}
.setup-upgrades > div:first-child {
  display: grid;
  gap: 4px;
}
.setup-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.setup-upgrade-grid a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: 0.18s ease;
}
.setup-upgrade-grid a:hover {
  border-color: #2a69ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 84, 190, 0.12);
}
.setup-upgrade-grid small {
  color: var(--muted);
  line-height: 1.35;
}
.setup-upgrade-grid span {
  color: #1657d8;
  font-weight: 800;
}
@media (max-width: 760px) {
  .setup-upgrade-grid {
    grid-template-columns: 1fr;
  }
}
/* ForyAccount central portal: scoped to the account view. */
.account-portal { padding-top: 26px; }
.account-portal .hero-row { margin-bottom: 20px; gap: 18px; }
.account-portal .hero-row h1 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.account-portal .hero-row p { margin-top: 9px; color: #526780; }
.account-portal .account-context { gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.account-portal .account-context > span { background: #fff; border: 1px solid #d8e4f3; color: #365779; padding: 6px 10px; border-radius: 999px; }
.account-portal .panel { padding: 22px; margin-bottom: 16px; }
.account-portal .section-heading p, .account-portal .product-copy p, .account-portal .muted { color: #536780; }
.account-portal .lobby-product-list, .account-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-portal .lobby-product-list .product-card { grid-template-columns: 48px minmax(0,1fr); grid-template-rows: auto auto 1fr; gap: 12px; padding: 18px; min-height: 204px; border-radius: 18px; }
.account-portal .product-icon { width: 48px; height: 48px; }
.account-portal .product-copy h3 { margin: 0 0 6px; font-size: 17px; }
.account-portal .product-copy p { margin: 0; font-size: 13px; line-height: 1.55; }
.account-portal .product-status { grid-column: 1/-1; justify-self: start; width: auto !important; margin: 0 !important; font-size: 12px; }
.account-portal .product-card > .button { grid-column: 1/-1; align-self: end; min-height: 42px; font-size: 13px; }
.account-portal .product-card button:disabled { background: #edf2f8; color: #5c6e84; border-color: #dce5ef; box-shadow: none; opacity: 1; }
.account-portal .product-card--disabled { opacity: 1; }
.account-portal .product-status--active { color: #15613f; background: #eaf8f0; border-color: #bde5cd; }
.account-portal .product-status--trial { color: #245bab; background: #edf4ff; border-color: #c7daff; }
.account-portal .product-status--suspended { color: #913b26; background: #fff0e9; border-color: #f0c6b6; }
.account-portal .dashboard-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; }
.account-portal .account-plan-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
.account-portal .account-plan-metrics strong { overflow-wrap: anywhere; }
.account-portal .account-local-error { grid-column: 1/-1; width: 100%; }
.account-quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.account-quick-link { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 5px 8px; text-decoration: none; background: #f5f9ff; border: 1px solid #dce7f4; border-radius: 14px; padding: 14px; color: #183b68; }
.account-quick-link > span { grid-row: 1/3; align-self: center; font-size: 22px; color: #155ce8; }
.account-quick-link strong { font-size: 13px; }
.account-quick-link small { font-size: 11px; color: #536780; }
.account-quick-link:hover { background: #eaf2ff; border-color: #9bbcf8; }
.account-menu { position: relative; z-index: 50; }
.account-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; padding: 6px 10px 6px 6px; border: 1px solid #d5e4f6; border-radius: 999px; background: #fff; color: #183b68; font-size: 12px; font-weight: 700; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: linear-gradient(140deg,#2875ff,#155ce8); }
.account-menu-name { max-width: 130px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.account-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(290px,calc(100vw - 36px)); padding: 14px; display: grid; gap: 6px; background: #fff; border: 1px solid #d7e4f5; border-radius: 18px; box-shadow: 0 14px 40px #183b6826; }
.account-menu-panel > strong, .account-menu-panel > span { overflow-wrap: anywhere; }
.account-menu-panel > span, .account-menu-panel > small { color: #536780; font-size: 12px; }
.account-menu-panel a, .account-menu-panel button { text-decoration: none; display: block; padding: 10px; border: 0; border-radius: 9px; background: #f5f9ff; color: #183b68; font: inherit; text-align: left; cursor: pointer; }
.account-menu-panel button { color: #9d342a; }
.account-menu-panel a:hover, .account-menu-panel button:hover { background: #eaf2ff; }
.account-portal-shell :is(a,button,input,select,summary):focus-visible { outline: 3px solid #155ce8; outline-offset: 3px; }
.account-portal [tabindex="-1"] { scroll-margin-top: 20px; }
.account-portal .account-password-fields { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.account-portal .account-security-summary { display: grid; justify-items: start; gap: 9px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #dce7f4; }
.account-portal .account-security-summary p { color: #536780; font-size: 13px; }
.account-activity-list { padding: 0; margin: 0; list-style: none; }
.account-activity-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.account-activity-list time { display: block; color: #536780; font-size: 12px; margin-top: 5px; }
.account-activity-icon { width: 38px; height: 38px; display: grid; place-items: center; background: #edf4ff; color: #155ce8; border-radius: 12px; }
.account-skeleton { background: linear-gradient(100deg,#e9f0f9 20%,#f8fbff 45%,#e9f0f9 70%); background-size: 250% 100%; border-radius: 14px; animation: account-shimmer 1.7s ease-in-out infinite; }
.account-skeleton--hero { height: 108px; margin-bottom: 20px; width: min(600px,100%); }
.account-skeleton--title { height: 36px; width: 180px; margin-bottom: 18px; }
.account-skeleton--card { min-height: 204px; }
@keyframes account-shimmer { to { background-position: -250% 0; } }
@media (min-width:1600px) { .account-portal .lobby-product-list, .account-skeleton-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width:1100px) { .account-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .account-portal-shell .topbar { flex-wrap: wrap; gap: 12px; padding-block: 14px; height: auto; } .account-portal-shell .account-nav { display: flex; order: 3; width: 100%; justify-content: center; flex-wrap: wrap; } .account-portal .dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width:650px) { .account-portal { padding-top: 18px; } .account-portal .panel { padding: 17px; border-radius: 18px; } .account-portal .lobby-product-list, .account-skeleton-grid { grid-template-columns: 1fr; } .account-portal .hero-row { gap: 14px; } .account-portal .lobby-product-list .product-card { min-height: 188px; padding: 16px; } .account-portal .section-heading { flex-wrap: wrap; gap: 12px; } .account-portal .section-heading > .button { width: 100%; } .account-portal .account-plan-metrics { grid-template-columns: 1fr; } .account-portal .account-context > span { font-size: 11px; } .account-menu-name { display: none; } .account-portal .account-quick-link { padding: 12px 10px; grid-template-columns: 20px minmax(0,1fr); } .account-portal .mfa-status { flex-wrap: wrap; gap: 12px; } .account-portal .mfa-status > .button { width: 100%; } }
@media (prefers-reduced-motion:reduce) { .account-skeleton { animation: none; } .account-portal-shell .magnet-button { transform: none !important; } }
/* Pricing only: compact plan selection and independent Rewards add-on. */
.plans-shell { max-width: 1440px; }
.plans-shell .account-nav a[aria-current="page"] { color: var(--fory-blue); font-weight: 750; }
.plans-page { padding: 28px 0 36px; }
.plans-page .plans-hero { display: grid; gap: 20px; margin-bottom: 24px; }
.plans-page .plans-back { width: fit-content; color: #37577d; font-size: 13px; text-decoration: none; font-weight: 650; }
.plans-page .plans-back:hover { color: #165dff; text-decoration: underline; }
.plans-page .plans-hero h1 { font-size: clamp(30px,3.4vw,46px); max-width: 850px; line-height: 1.12; letter-spacing: -.045em; margin: 10px 0 12px; }
.plans-page .plans-hero p { font-size: 15px; line-height: 1.6; max-width: 760px; }
.plans-page .plans-billing-cycle { display: inline-flex; padding: 5px; gap: 4px; margin-bottom: 24px; border: 1px solid #dce6f2; border-radius: 16px; }
.plans-page .billing-cycle-option { min-height: 40px; min-width: 105px; color: #415875; border-radius: 11px; transition: background .18s, box-shadow .18s; }
.plans-page .billing-cycle-option--active { color: #1250bc; background: #fff; }
.plans-page .plans-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.plans-page .plan-card { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 24px 20px 20px; border: 1px solid #e2eaf4; border-radius: 24px; background: #fff; box-shadow: 0 8px 30px #17315307; transition: box-shadow .2s, border-color .2s, transform .2s; }
.plans-page .plan-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px #17315312; border-color: #b7cdee; }
.plans-page .plan-card--current { background: linear-gradient(165deg,#edf5ff,#fff 42%); border-color: #367beb; box-shadow: 0 0 0 1px #367beb,0 12px 38px #165dff0c; }
.plans-page .plan-card--current .plan-kicker { color: #174fa6; background: #dceaff; padding: 5px 9px; border-radius: 8px; }
.plans-page .plan-card__top { min-height: 120px; }
.plans-page .plan-kicker { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .09em; color: #476487; }
.plans-page .plan-card__top h2 { font-size: 23px; margin: 12px 0 8px; line-height: 1.15; letter-spacing: -.035em; }
.plans-page .plan-card__top p { font-size: 13px; line-height: 1.55; color: #506582; }
.plans-page .plan-price { padding: 0; border: 0; background: transparent; border-radius: 0; min-height: 95px; gap: 7px; align-content: start; }
.plans-page .plan-price strong { font-size: clamp(26px,2.15vw,32px); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.045em; }
.plans-page .plan-price small { font-size: 12px; color: #506582; white-space: nowrap; }
.plans-page .plan-price span { color: #506582; font-size: 12px; line-height: 1.5; }
.plans-page .plan-price .plan-savings { min-height: 18px; font-size: 11px; color: #167145; }
.plans-page .plan-card__features { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0; margin: 0; list-style: none; }
.plans-page .plan-card__features li { display: flex; gap: 9px; font-size: 13px; line-height: 1.4; color: #314967; }
.plans-page .plan-card__features li::before,.plans-page .plans-rewards__features li::before { content: '✓'; color: #1763cf; font-weight: 800; flex-shrink: 0; }
.plans-page .plan-card__products { margin-top: auto; padding-top: 2px; }
.plans-page .plan-product-select,.plans-page .plan-products { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.plans-page .plan-product-choice { min-height: 82px; padding: 13px 2px 8px; border-radius: 12px; background: #f8faff; gap: 7px; transition: background .18s,border-color .18s; }
.plans-page .plan-product-choice strong { font-size: 10px; letter-spacing: -.025em; }
.plans-page .plan-product-choice__mark,.plans-page .plan-product-choice__mark img { width: 28px; height: 28px; }
.plans-page .plan-product-choice .plan-product-choice__check { width: 14px; height: 14px; top: 4px; right: 4px; font-size: 9px; }
.plans-page .plan-product-choice--disabled { opacity: .62; }
.plans-page .plan-product-choice:hover:not(.plan-product-choice--disabled) { border-color: #6397ed; }
.plans-page .plan-product-choice:has(input:focus-visible) { outline: 3px solid #1763cf; outline-offset: 3px; }
.plans-page .plan-product-limit { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #36567f; text-align: left; }
.plans-page .mini-product { flex-direction: column; text-align: center; gap: 6px; background: transparent; border: 0; padding: 8px 0; font-size: 10px; }
.plans-page .mini-product img { width: 28px; height: 28px; }
.plans-page .plan-product-hint { font-size: 12px; line-height: 1.5; color: #506582; margin: 10px 0 0; }
.plans-page .plan-card__action .button { min-height: 46px; font-size: 13px; border-radius: 12px; white-space: normal; text-align: center; }
.plans-page .plan-card__action button:disabled { opacity: 1; background: #edf2f8; color: #516883; border-color: #e0e8f2; cursor: default; }
.plans-page .plan-card--enterprise { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr 1fr; align-items: center; gap: 24px; background: #f7faff; }
.plans-page .plan-card--enterprise .plan-card__top,.plans-page .plan-card--enterprise .plan-price { min-height: 0; }
.plans-page .plans-rewards { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; margin-top: 32px; padding: 32px; border: 1px solid #d5e4ff; border-radius: 24px; background: radial-gradient(ellipse at 0 0,#daeaff80,transparent 65%),linear-gradient(120deg,#f2f7ff,#fff); }
.plans-page .plans-rewards h2 { font-size: 28px; letter-spacing: -.035em; margin: 12px 0 10px; }
.plans-page .plans-rewards p { color: #506582; line-height: 1.6; font-size: 14px; max-width: 580px; }
.plans-page .plans-rewards__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.plans-page .plans-rewards__features li { display: flex; gap: 8px; font-size: 13px; color: #314967; }
.plans-page .plans-rewards__action { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.plans-page .plans-rewards__price { font-size: 25px; color: #173153; letter-spacing: -.025em; }
.plans-page .plans-rewards__status { margin: 0; }
.plans-page .plans-rewards .plan-request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.plans-page .plans-comparison { margin-top: 24px; border-top: 1px solid #dce6f2; border-bottom: 1px solid #dce6f2; }
.plans-page .plans-comparison summary { cursor: pointer; padding: 22px 0; font-size: 17px; color: #173153; font-weight: 750; display: flex; justify-content: space-between; list-style: none; }
.plans-page .plans-comparison summary::-webkit-details-marker { display: none; }
.plans-page .plans-comparison[open] summary span { transform: rotate(45deg); }
.plans-page .plans-comparison__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 24px; padding-bottom: 24px; }
.plans-page .plans-comparison h3 { font-size: 16px; margin: 0 0 16px; }
.plans-page .plans-comparison dl { display: grid; gap: 14px; margin: 0; }
.plans-page .plans-comparison dt { font-size: 11px; color: #506582; margin-bottom: 4px; }
.plans-page .plans-comparison dd { margin: 0; font-size: 13px; color: #314967; }
.plans-page .plans-footnote { margin: 22px 0 0; color: #506582; font-size: 12px; line-height: 1.6; }
.plans-page .billing-summary { background: #f8fbff; border-color: #e1eaf6; box-shadow: none; }
.plans-page :is(button,a,summary):focus-visible { outline: 3px solid #1763cf; outline-offset: 4px; }
.plans-page .plan-skeleton { min-height: 565px; justify-content: flex-start; }
.plans-page .plan-skeleton i { display: block; background: linear-gradient(100deg,#eef3f9 20%,#f8fbff 50%,#eef3f9 80%); background-size: 200% 100%; animation: plans-shimmer 1.5s linear infinite; border-radius: 10px; height: 80px; }
.plans-page .plan-skeleton i:nth-child(3) { height: 150px; }
.plans-page .plans-empty { text-align: center; padding: 60px 20px; }
@keyframes plans-shimmer { to { background-position: -200% 0; } }
@media (max-width:1199px) {
  .plans-page .plans-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plans-page .plan-card--enterprise { grid-template-columns: 1fr 1fr; }
  .plans-page .plan-card--enterprise .plan-card__action { grid-column: 1 / -1; }
  .plans-page .plan-card__top { min-height: 105px; }
}
@media (max-width:639px) {
  .plans-shell { padding: 0 18px; }
  .plans-page { padding-top: 22px; }
  .plans-page .plans-grid { grid-template-columns: 1fr; gap: 18px; }
  .plans-page .plan-card { padding: 24px; gap: 20px; }
  .plans-page .plan-card__top { min-height: 0; }
  .plans-page .plan-price { min-height: 88px; }
  .plans-page .plan-price strong { font-size: 34px; }
  .plans-page .plan-card--enterprise { display: flex; }
  .plans-page .plans-rewards { grid-template-columns: 1fr; gap: 24px; padding: 26px 24px; }
  .plans-page .plans-rewards__features { grid-template-columns: 1fr; }
  .plans-page .plan-product-choice strong,.plans-page .mini-product { font-size: 11px; }
  .plans-page .plans-comparison__grid { grid-template-columns: 1fr; }
  .plans-page .plans-comparison__grid section + section { border-top: 1px solid #dce6f2; padding-top: 22px; }
  .plans-page .plan-request-banner { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion:reduce) {
  .plans-page .plan-card,.plans-page .plan-product-choice,.plans-page .billing-cycle-option { transition: none; }
  .plans-page .plan-card:hover { transform: none; }
  .plans-page .plan-skeleton i { animation: none; }
}
.account-portal-shell { max-width: 1460px; }
.account-portal .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.account-security-details > summary { cursor: pointer; display: list-item; list-style-position: inside; padding: 12px 14px; border: 1px solid #d5e4f6; background: #f5f9ff; border-radius: 12px; color: #183b68; font-size: 13px; font-weight: 700; }
.account-security-details[open] > summary { margin-bottom: 18px; }
.account-portal [tabindex="-1"] { scroll-margin-top: 110px; }
@media (max-width:900px) { .account-portal [tabindex="-1"] { scroll-margin-top: 155px; } }
/* Account public welcome: keep intrinsic card and CTA widths inside mobile. */
.public-home { width: 100%; min-width: 0; }
.public-home__hero > *, .public-home__grid > * { min-width: 0; }
@media (max-width:650px) { .public-home__hero, .public-home__grid { grid-template-columns: minmax(0,1fr); } .public-home__actions { flex-wrap: wrap; } .public-home__actions .button { width: 100%; } .public-home__badge { min-width: 0; width: 100%; } }
.public-home__grid > .ecosystem-service-card { width: 100%; min-width: 0; }
