.tls-aff-portal.is-auth {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 74px);
  padding: 54px max(24px, calc((100% - 1120px) / 2)) 72px;
  isolation: isolate;
}

.tls-aff-portal,
.tls-aff-portal *,
.tls-aff-public-guide,
.tls-aff-public-guide *,
.tls-aff-identity,
.tls-aff-identity * {
  box-sizing: border-box;
}

.tls-aff-portal {
  max-width: 1120px;
  overflow-wrap: anywhere;
}

.tls-aff-portal > *,
.tls-aff-dashboard > *,
.tls-aff-guide__grid > *,
.tls-aff-links article > * {
  min-width: 0;
}

.tls-aff-portal .button,
.tls-aff-portal button,
.tls-aff-public-guide .button {
  min-height: 44px;
  touch-action: manipulation;
}

.tls-aff-portal.is-auth::before,
.tls-aff-portal.is-auth::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
}

.tls-aff-portal.is-auth::before {
  background: var(--tls-aff-login-bg) center 42% / cover no-repeat;
}

.tls-aff-portal.is-auth::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(245, 241, 232, 0.96) 0%, rgba(245, 241, 232, 0.88) 58%, rgba(245, 241, 232, 0.7) 100%);
}

.tls-aff-portal.is-auth .tls-aff-portal__header,
.tls-aff-auth-single {
  width: min(560px, 100%);
  margin-inline: auto;
}

.tls-aff-portal.is-auth .tls-aff-portal__header {
  text-align: center;
}

.tls-aff-wordmark {
  display: inline-block;
  color: #0b2e1f !important;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.tls-aff-wordmark span,
.tls-aff-wordmark strong {
  font: inherit;
}

.tls-aff-wordmark strong {
  color: #c17c4a;
}

.tls-aff-auth-card {
  overflow: hidden;
  padding: 28px;
  border: 1px solid #ccd5d0;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 16px 48px rgba(11, 46, 31, 0.08);
}

.tls-aff-auth-card h2 {
  text-align: center;
}

.tls-aff-auth-card.is-login {
  border-top: 5px solid #0b2e1f;
}

.tls-aff-auth-card.is-register {
  border-top: 5px solid #c17c4a;
}

.tls-aff-card-kicker {
  margin: 0;
  color: #a14d2a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tls-aff-auth-card h2 {
  margin: 7px 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.tls-aff-auth-card > p:not(.tls-aff-card-kicker) {
  margin: 0 0 22px;
  color: #59675f;
  line-height: 1.55;
}

.tls-aff-auth-card input:not([type="checkbox"]) {
  min-height: 46px;
  outline: 0;
}

.tls-aff-auth-card input:focus {
  border-color: #176c4a;
  box-shadow: 0 0 0 3px rgba(23, 108, 74, 0.14);
}

.tls-aff-auth-card .button.primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #0b2e1f;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tls-aff-auth-card.is-register .button.primary {
  background: #c17c4a;
}

.tls-aff-auth-card .button.primary:hover,
.tls-aff-auth-card .button.primary:focus-visible {
  background: #176c4a;
}

.tls-aff-google {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  text-align: center;
}

.tls-aff-google > span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #66736b;
  font-size: 13px;
  font-weight: 700;
}

.tls-aff-google > span::before,
.tls-aff-google > span::after {
  flex: 1;
  height: 1px;
  content: "";
  background: #ccd5d0;
}

.tls-aff-google-button {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.tls-aff-login-links {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  text-align: center;
}

.tls-aff-login-links .button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid #0b2e1f;
  border-radius: 4px;
  color: #0b2e1f;
  font-weight: 800;
}

.tls-aff-switch {
  margin: 20px 0 0 !important;
  text-align: center;
}

.tls-aff-dashboard__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.tls-aff-dashboard__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.tls-aff-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #cbd7d0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 46, 31, 0.06);
}

.tls-aff-tabs a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border-right: 1px solid #dbe3de;
  color: #47564e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.tls-aff-tabs a:last-child {
  border-right: 0;
}

.tls-aff-tabs a:hover,
.tls-aff-tabs a:focus-visible {
  background: #edf8f2;
  color: #0b2e1f;
}

.tls-aff-tabs a.is-active {
  background: #0b2e1f;
  color: #fff;
}

.tls-aff-tab-panel,
.tls-aff-tab-panel > * {
  min-width: 0;
}

.tls-aff-overview {
  display: grid;
  gap: 26px;
}

.tls-aff-overview__next {
  padding: 20px 22px;
  border-left: 5px solid #176c4a;
  border-radius: 6px;
  background: #edf8f2;
}

.tls-aff-overview__next h3 {
  margin: 0 0 7px;
}

.tls-aff-overview__next p {
  margin: 0;
  color: #47564e;
  line-height: 1.55;
}

.tls-aff-program-intro {
  width: min(700px, 100%);
  margin: 0 auto 24px;
  padding: 20px 22px;
  border: 1px solid rgba(11, 46, 31, 0.18);
  border-left: 5px solid #176c4a;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 32px rgba(11, 46, 31, 0.07);
}

.tls-aff-program-intro h2 {
  margin: 6px 0 8px;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.2;
}

.tls-aff-program-intro p {
  margin: 0;
  color: #47564e;
  line-height: 1.55;
}

.tls-aff-program-intro .tls-aff-program-intro__note {
  margin-top: 10px;
  color: #765138;
  font-size: 14px;
  font-weight: 700;
}

.tls-aff-profile {
  padding: 26px;
  border: 1px solid #cbd7d0;
  border-top: 5px solid #176c4a;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 46, 31, 0.07);
}

.tls-aff-profile__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.tls-aff-profile__heading h3 {
  margin: 5px 0 0;
  color: #0b2e1f;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.tls-aff-profile-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf1ef;
  color: #47564e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tls-aff-profile-status.is-verified {
  background: #e4f4ea;
  color: #176c4a;
}

.tls-aff-profile-status.is-pending {
  background: #fff3d6;
  color: #765519;
}

.tls-aff-profile-status.is-rejected {
  background: #fff0eb;
  color: #8c3f25;
}

.tls-aff-profile__intro {
  max-width: 850px;
  margin: 14px 0 22px;
  color: #47564e;
  line-height: 1.6;
}

.tls-aff-profile-form {
  display: grid;
  gap: 18px;
}

.tls-aff-profile-form__grid,
.tls-aff-bank-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tls-aff-bank-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
  border: 1px solid #dbe3de;
  border-radius: 6px;
  background: #f7faf8;
}

.tls-aff-bank-fields[hidden],
.tls-aff-profile-form [hidden] {
  display: none !important;
}

.tls-aff-profile-form label:not(.tls-aff-consent) {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  color: #17251f;
  font-weight: 800;
}

.tls-aff-profile-form input:not([type="checkbox"]),
.tls-aff-profile-form select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid #9baaa2;
  border-radius: 4px;
  background: #fff;
  color: #17251f;
  font: inherit;
}

.tls-aff-profile-form input[readonly] {
  background: #edf1ef;
  color: #47564e;
}

.tls-aff-profile-form small {
  color: #66736b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.tls-aff-profile-form .tls-aff-consent {
  margin: 0;
}

.tls-aff-profile__privacy {
  padding: 14px 16px;
  border-left: 4px solid #176c4a;
  background: #edf8f2;
  color: #355346;
  font-size: 14px;
  line-height: 1.5;
}

.tls-aff-profile-form > .button {
  justify-self: start;
}

.tls-aff-profile-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid #dbe3de;
  border-radius: 6px;
  background: #dbe3de;
}

.tls-aff-profile-summary > div {
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
}

.tls-aff-profile-summary dt {
  color: #66736b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tls-aff-profile-summary dd {
  margin: 5px 0 0;
  color: #17251f;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.tls-aff-support {
  padding: 26px;
  border: 1px solid #cbd7d0;
  border-top: 5px solid #c17c4a;
  border-radius: 7px;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgba(11, 46, 31, 0.07);
}

.tls-aff-support h3 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.tls-aff-support > p {
  color: #47564e;
  line-height: 1.6;
}

.tls-aff-ticket-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.tls-aff-ticket-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.tls-aff-ticket-form input,
.tls-aff-ticket-form textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #9baaa2;
  border-radius: 4px;
  background: #fff;
  color: #17251f;
  font: inherit;
}

.tls-aff-ticket-form > .button {
  justify-self: start;
}

.tls-aff-ticket-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.tls-aff-ticket-list h4 {
  margin: 0;
  font-size: 19px;
}

.tls-aff-ticket-list article {
  padding: 16px;
  border: 1px solid #dbe3de;
  border-radius: 6px;
  background: #fff;
}

.tls-aff-ticket-list article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tls-aff-ticket-list article > div:first-child span {
  flex: 0 0 auto;
  color: #176c4a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tls-aff-ticket-list p {
  margin: 10px 0;
  color: #47564e;
  line-height: 1.55;
}

.tls-aff-ticket-reply {
  margin: 14px 0;
  padding: 13px 15px;
  border-left: 4px solid #176c4a;
  background: #edf8f2;
}

.tls-aff-guide {
  padding: 26px;
  border: 1px solid #cbd7d0;
  border-top: 5px solid #0b2e1f;
  border-radius: 7px;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgba(11, 46, 31, 0.07);
}

.tls-aff-guide__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.tls-aff-guide__heading h3 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.tls-aff-guide__heading > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf8f2;
  color: #176c4a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tls-aff-guide__lead {
  max-width: 850px;
  margin: 14px 0 22px;
  color: #47564e;
  font-size: 16px;
  line-height: 1.6;
}

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

.tls-aff-guide__grid article {
  padding: 19px;
  border: 1px solid #dbe3de;
  border-radius: 6px;
  background: #fff;
}

.tls-aff-guide__grid h4 {
  margin: 0 0 10px;
  color: #0b2e1f;
  font-size: 18px;
}

.tls-aff-guide__grid ul {
  margin: 0;
  padding-left: 19px;
  color: #47564e;
  line-height: 1.55;
}

.tls-aff-guide__grid li + li {
  margin-top: 7px;
}

.tls-aff-guide__boundary,
.tls-aff-guide__development {
  margin: 16px 0 0;
  padding: 15px 17px;
  line-height: 1.55;
}

.tls-aff-guide__boundary {
  border-left: 5px solid #a14d2a;
  background: #fff3ed;
  color: #65321e;
}

.tls-aff-guide__development {
  border: 1px dashed #b9c8c0;
  background: #f4f8f5;
  color: #47564e;
  font-size: 14px;
}

.tls-aff-links article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.tls-aff-links article label {
  display: grid;
  min-width: 0;
  gap: 7px;
  font-weight: 800;
}

.tls-aff-links article input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #9baaa2;
  border-radius: 4px;
  background: #fff;
  color: #17251f;
  font: inherit;
  text-overflow: ellipsis;
}

.tls-aff-links article .button {
  min-height: 44px;
}

.tls-aff-public-guide {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 76px;
  color: #17251f;
  overflow-wrap: anywhere;
}

.tls-aff-public-guide h1,
.tls-aff-public-guide h2,
.tls-aff-public-guide h3,
.tls-aff-public-guide p {
  margin-top: 0;
}

.tls-aff-public-guide h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.tls-aff-public-guide h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.12;
}

.tls-aff-public-guide h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.3;
}

.tls-aff-public-guide p,
.tls-aff-public-guide li,
.tls-aff-public-guide dd {
  line-height: 1.62;
}

.tls-aff-public-guide__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: 44px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid #cbd7d0;
}

.tls-aff-public-guide__intro {
  max-width: 750px;
  margin-bottom: 0;
  color: #47564e;
  font-size: clamp(17px, 2vw, 20px);
}

.tls-aff-public-guide__hero aside {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-left: 5px solid #176c4a;
  border-radius: 6px;
  background: #edf8f2;
}

.tls-aff-public-guide__hero aside strong {
  color: #0b2e1f;
  font-size: 17px;
}

.tls-aff-public-guide__hero aside span {
  color: #47564e;
  line-height: 1.55;
}

.tls-aff-public-guide__nav {
  position: sticky;
  z-index: 20;
  top: 74px;
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
  padding: 13px 0;
  overflow-x: auto;
  border-bottom: 1px solid #dbe3de;
  background: rgba(245, 241, 232, 0.96);
  scrollbar-width: thin;
}

body.admin-bar .tls-aff-public-guide__nav {
  top: 106px;
}

.tls-aff-public-guide__nav a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #cbd7d0;
  border-radius: 999px;
  background: #fff;
  color: #176c4a;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tls-aff-public-guide__section {
  padding: 52px 0;
  scroll-margin-top: 150px;
}

.tls-aff-public-guide__section.is-tinted,
.tls-aff-public-guide__section.is-compact {
  padding: 36px;
  border: 1px solid #dbe3de;
  border-radius: 8px;
  background: #fffdf8;
}

.tls-aff-public-guide__section.is-compact {
  margin-top: 52px;
  border-left: 5px solid #c17c4a;
}

.tls-aff-public-guide__section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.tls-aff-public-guide__section-heading > p:last-child {
  margin-bottom: 0;
  color: #47564e;
  font-size: 17px;
}

.tls-aff-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tls-aff-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 19px;
  border: 1px solid #d6dfda;
  border-radius: 7px;
  background: #fff;
}

.tls-aff-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0b2e1f;
  color: #fff;
  font-weight: 900;
}

.tls-aff-steps p,
.tls-aff-public-guide__facts p,
.tls-aff-public-guide__payment p,
.tls-aff-public-guide__cta p {
  margin-bottom: 0;
  color: #47564e;
}

.tls-aff-public-guide__two-column,
.tls-aff-do-dont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tls-aff-public-guide__card,
.tls-aff-do-dont article {
  min-width: 0;
  padding: 26px;
  border: 1px solid #d6dfda;
  border-radius: 7px;
  background: #fff;
}

.tls-aff-public-guide__card ul,
.tls-aff-do-dont ul {
  margin: 0;
  padding-left: 20px;
}

.tls-aff-public-guide__card li + li,
.tls-aff-do-dont li + li {
  margin-top: 8px;
}

.tls-aff-public-guide__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d6dfda;
  border-radius: 7px;
  background: #d6dfda;
}

.tls-aff-public-guide__facts article {
  min-width: 0;
  padding: 22px;
  background: #fff;
}

.tls-aff-status-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tls-aff-status-guide > article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6dfda;
  border-radius: 7px;
  background: #fff;
}

.tls-aff-status-guide > article > strong {
  display: block;
  padding: 16px 18px;
  background: #0b2e1f;
  color: #fff;
  font-size: 18px;
}

.tls-aff-status-guide dl {
  margin: 0;
}

.tls-aff-status-guide dl > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid #e5ebe7;
}

.tls-aff-status-guide dl > div:last-child {
  border-bottom: 0;
}

.tls-aff-status-guide dt {
  color: #0b2e1f;
  font-weight: 900;
}

.tls-aff-status-guide dd {
  margin: 0;
  color: #47564e;
}

.tls-aff-public-guide__notice,
.tls-aff-public-guide__plain-language {
  margin: 18px 0 0;
  padding: 17px 19px;
  border-left: 5px solid #c17c4a;
  background: #fff3ed;
}

.tls-aff-public-guide__notice {
  display: grid;
  gap: 6px;
}

.tls-aff-public-guide__notice span,
.tls-aff-public-guide__plain-language {
  color: #65321e;
  line-height: 1.58;
}

.tls-aff-public-guide__payment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tls-aff-public-guide__payment > div {
  min-width: 0;
  padding: 21px;
  border: 1px solid #d6dfda;
  border-radius: 7px;
  background: #fff;
}

.tls-aff-public-guide__payment strong {
  display: block;
  margin-bottom: 7px;
  color: #0b2e1f;
  font-size: 17px;
}

.tls-aff-do-dont article:first-child {
  border-top: 5px solid #176c4a;
}

.tls-aff-do-dont article:last-child {
  border-top: 5px solid #a14d2a;
}

.tls-aff-public-guide__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  padding: 32px;
  border-radius: 8px;
  background: #0b2e1f;
  color: #fff;
}

.tls-aff-public-guide__cta h2 {
  margin: 5px 0 8px;
}

.tls-aff-public-guide__cta p {
  color: #dfe9e4;
}

.tls-aff-public-guide__cta > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.tls-aff-public-guide__cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.tls-aff-public-guide__cta .button.primary {
  border-color: #c17c4a;
  background: #c17c4a;
}

.tls-aff-table-wrap {
  width: 100%;
  max-width: 100%;
  border: 1px solid #dce2df;
  border-radius: 6px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.tls-aff-history table {
  table-layout: auto;
}

.tls-aff-history th {
  background: #f4f8f5;
  color: #294239;
  font-size: 13px;
  text-transform: uppercase;
}

.tls-aff-history th:first-child,
.tls-aff-history td:first-child {
  padding-left: 16px;
}

.tls-aff-history th:last-child,
.tls-aff-history td:last-child {
  padding-right: 16px;
}

.tls-aff-history td:nth-child(2) {
  min-width: 180px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tls-aff-expiry-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 14px;
  width: min(460px, calc(100% - 32px));
  padding: 16px;
  border-left: 5px solid #c17c4a;
  border-radius: 6px;
  background: #fffdf8;
  color: #17251f;
  box-shadow: 0 18px 48px rgba(11, 46, 31, 0.22);
}

.tls-aff-expiry-notice div,
.tls-aff-expiry-notice span {
  display: grid;
  gap: 5px;
}

.tls-aff-expiry-notice span {
  color: #59675f;
  font-size: 14px;
  line-height: 1.45;
}

.tls-aff-expiry-notice button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17251f;
  font-size: 25px;
  cursor: pointer;
}

.tls-aff-reset-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
}

body.tls-aff-identity-active {
  --tls-aff-identity-height: 44px;
  padding-top: calc(74px + var(--tls-aff-identity-height));
}

.tls-aff-identity {
  position: fixed;
  z-index: 90;
  top: 74px;
  left: 0;
  width: 100%;
  height: var(--tls-aff-identity-height);
  border-bottom: 1px solid rgba(11, 46, 31, 0.16);
  background: #edf8f2;
  color: #17251f;
  box-shadow: 0 8px 20px rgba(11, 46, 31, 0.08);
}

.tls-aff-identity__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  scrollbar-width: none;
}

.tls-aff-identity__inner::-webkit-scrollbar {
  display: none;
}

.tls-aff-identity__inner strong {
  color: #0b2e1f;
  font-size: 14px;
}

.tls-aff-identity__code {
  color: #59675f;
  font-weight: 700;
}

body.tls-aff-identity-active .live-ticker {
  top: calc(74px + var(--tls-aff-identity-height));
}

body.flow-page.tls-aff-identity-active {
  padding-top: 0;
}

body.flow-page.tls-aff-identity-active .blur-stage,
body.flow-page.tls-aff-identity-active .side-drawer {
  top: calc(75px + var(--tls-aff-identity-height));
}

body.flow-page.tls-aff-identity-active .side-drawer {
  height: calc(100vh - 75px - var(--tls-aff-identity-height));
}

body.flow-page.tls-aff-identity-active .drawer-close {
  top: calc(93px + var(--tls-aff-identity-height));
}

body.admin-bar.tls-aff-identity-active .tls-aff-identity {
  top: 106px;
}

body.admin-bar.tls-aff-identity-active .live-ticker {
  top: calc(106px + var(--tls-aff-identity-height));
}

body.admin-bar.flow-page.tls-aff-identity-active .blur-stage,
body.admin-bar.flow-page.tls-aff-identity-active .side-drawer {
  top: calc(107px + var(--tls-aff-identity-height));
}

body.admin-bar.flow-page.tls-aff-identity-active .side-drawer {
  height: calc(100vh - 107px - var(--tls-aff-identity-height));
}

body.admin-bar.flow-page.tls-aff-identity-active .drawer-close {
  top: calc(125px + var(--tls-aff-identity-height));
}

@media (max-width: 800px) {
  .tls-aff-portal {
    padding-top: 34px;
  }

  .tls-aff-portal.is-auth {
    min-height: calc(100vh - 67px);
    padding: 30px 16px 52px;
  }

  .tls-aff-auth-card {
    padding: 22px;
  }

  .tls-aff-portal h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .tls-aff-dashboard__top {
    gap: 8px;
  }

  .tls-aff-dashboard__actions {
    justify-content: space-between;
    width: 100%;
  }

  .tls-aff-tabs {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .tls-aff-tabs a {
    flex: 0 0 auto;
    min-width: 118px;
    white-space: nowrap;
  }

  .tls-aff-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #ccd5d0;
    border-radius: 6px;
    overflow: hidden;
  }

  .tls-aff-stats div,
  .tls-aff-stats div:last-child {
    border-right: 1px solid #ccd5d0;
    border-bottom: 1px solid #ccd5d0;
  }

  .tls-aff-stats div:nth-child(2n) {
    border-right: 0;
  }

  .tls-aff-stats div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .tls-aff-portal.is-auth::after {
    background: rgba(245, 241, 232, 0.86);
  }

  .tls-aff-links article {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tls-aff-links article .button {
    width: 100%;
  }

  .tls-aff-link,
  .tls-aff-links article {
    padding: 16px;
    border: 1px solid #d6dfda;
    border-radius: 6px;
    background: #fff;
  }

  .tls-aff-links > div {
    gap: 12px;
    border-top: 0;
  }

  .tls-aff-guide {
    padding: 20px;
  }

  .tls-aff-profile {
    padding: 20px;
  }

  .tls-aff-support {
    padding: 20px;
  }

  .tls-aff-bank-fields {
    grid-template-columns: 1fr;
  }

  .tls-aff-guide__heading {
    display: grid;
  }

  .tls-aff-guide__heading > span {
    justify-self: start;
  }

  .tls-aff-guide__grid {
    grid-template-columns: 1fr;
  }

  .tls-aff-expiry-notice {
    right: 16px;
    bottom: 84px;
    left: 16px;
    width: auto;
  }

  .tls-aff-public-guide {
    padding-top: 38px;
  }

  .tls-aff-public-guide__hero,
  .tls-aff-public-guide__two-column,
  .tls-aff-do-dont,
  .tls-aff-status-guide {
    grid-template-columns: 1fr;
  }

  .tls-aff-steps,
  .tls-aff-public-guide__payment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tls-aff-public-guide__cta {
    align-items: stretch;
    flex-direction: column;
  }

  .tls-aff-public-guide__cta > div:last-child {
    width: 100%;
  }

  .tls-aff-public-guide__cta .button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .tls-aff-portal {
    width: min(100% - 24px, 1120px);
    padding-bottom: 54px;
  }

  .tls-aff-portal.is-auth {
    width: 100%;
  }

  .tls-aff-portal__header {
    margin-bottom: 22px;
  }

  .tls-aff-auth-card,
  .tls-aff-program-intro,
  .tls-aff-claim,
	.tls-aff-profile,
	.tls-aff-support,
  .tls-aff-guide {
    padding: 18px;
  }

  .tls-aff-profile__heading {
    display: grid;
  }

  .tls-aff-profile-status {
    justify-self: start;
  }

  .tls-aff-profile-form__grid {
    grid-template-columns: 1fr;
  }

  .tls-aff-profile-summary {
    grid-template-columns: 1fr;
  }

  .tls-aff-bank-fields {
    padding: 14px;
  }

  .tls-aff-profile-form input:not([type="checkbox"]),
  .tls-aff-profile-form select {
    font-size: 16px;
  }

  .tls-aff-profile-form > .button {
    width: 100%;
  }

  .tls-aff-ticket-form input,
  .tls-aff-ticket-form textarea {
    font-size: 16px;
  }

  .tls-aff-ticket-form > .button {
    width: 100%;
  }

  .tls-aff-ticket-list article > div:first-child {
    display: grid;
  }

  .tls-aff-form input:not([type="checkbox"]),
  .tls-aff-link input,
  .tls-aff-links article input {
    min-width: 0;
    font-size: 16px;
  }

  .tls-aff-guide__boundary,
  .tls-aff-guide__development {
    padding: 13px 14px;
  }

  .tls-aff-history h3 {
    margin-bottom: 12px;
  }

  .tls-aff-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .tls-aff-history table,
  .tls-aff-history tbody,
  .tls-aff-history tr,
  .tls-aff-history td {
    display: block;
    width: 100%;
  }

  .tls-aff-history thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .tls-aff-history tbody {
    display: grid;
    gap: 12px;
  }

  .tls-aff-history tr {
    overflow: hidden;
    border: 1px solid #d6dfda;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(11, 46, 31, 0.05);
  }

  .tls-aff-history td,
  .tls-aff-history td:first-child,
  .tls-aff-history td:last-child,
  .tls-aff-history td:nth-child(2) {
    display: grid;
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    min-width: 0;
    padding: 11px 14px;
    border-bottom: 1px solid #e5ebe7;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tls-aff-history td:last-child {
    border-bottom: 0;
  }

  .tls-aff-history td::before {
    content: attr(data-label);
    color: #59675f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .tls-aff-history__empty td {
    display: block;
    padding: 16px;
    text-align: center;
  }

  .tls-aff-history__empty td::before {
    content: none;
  }

  .tls-aff-public-guide {
    width: calc(100% - 24px);
    padding: 30px 0 54px;
  }

  .tls-aff-public-guide h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .tls-aff-public-guide__hero {
    gap: 24px;
  }

  .tls-aff-public-guide__nav {
    top: 67px;
    margin-inline: -12px;
    padding-inline: 12px;
  }

  body.admin-bar .tls-aff-public-guide__nav {
    top: 113px;
  }

  .tls-aff-public-guide__section {
    padding: 38px 0;
    scroll-margin-top: 140px;
  }

  .tls-aff-public-guide__section.is-tinted,
  .tls-aff-public-guide__section.is-compact,
  .tls-aff-public-guide__card,
  .tls-aff-do-dont article,
  .tls-aff-public-guide__cta {
    padding: 20px;
  }

  .tls-aff-public-guide__section.is-compact,
  .tls-aff-public-guide__cta {
    margin-top: 38px;
  }

  .tls-aff-steps,
  .tls-aff-public-guide__facts,
  .tls-aff-public-guide__payment {
    grid-template-columns: 1fr;
  }

  .tls-aff-status-guide dl > div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .tls-aff-public-guide__cta > div:last-child {
    flex-direction: column;
  }
}

.tls-campaign {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #d6dfda;
  border-radius: 8px;
  background: #fff;
  color: #19392f;
  box-shadow: 0 10px 28px rgba(11, 46, 31, 0.06);
}

.tls-campaign h3,
.tls-campaign p {
  margin: 0;
}

.tls-campaign__heading,
.tls-campaign__actions,
.tls-campaign__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tls-campaign__heading > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf3ef;
  color: #486158;
  font-size: 12px;
  font-weight: 800;
}

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

.tls-campaign label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #374b43;
  font-size: 13px;
  font-weight: 800;
}

.tls-campaign__wide {
  grid-column: 1 / -1;
}

.tls-campaign input,
.tls-campaign select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #bdcbc3;
  border-radius: 6px;
  background: #fff;
  color: #19392f;
  font: inherit;
  font-weight: 500;
}

.tls-campaign input[readonly] {
  background: #f5f7f5;
}

.tls-campaign__actions {
  justify-content: flex-start;
}

.tls-campaign [data-message] {
  color: #486158;
  font-size: 13px;
  font-weight: 700;
}

.tls-campaign__result label {
  flex: 1 1 auto;
}

.tls-campaign__result .button {
  flex: 0 0 auto;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .tls-campaign__heading,
  .tls-campaign__actions,
  .tls-campaign__result {
    align-items: stretch;
    flex-direction: column;
  }

  .tls-campaign__heading > span {
    align-self: flex-start;
  }

  .tls-campaign__fields {
    grid-template-columns: 1fr;
  }

  .tls-campaign__wide {
    grid-column: auto;
  }

  .tls-campaign__actions .button,
  .tls-campaign__result .button {
    width: 100%;
    margin-top: 0;
  }

  body.tls-aff-identity-active {
    --tls-aff-identity-height: 50px;
    padding-top: calc(67px + var(--tls-aff-identity-height));
  }

  .tls-aff-identity {
    top: 67px;
  }

  .tls-aff-identity__inner {
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1px 5px;
    width: calc(100% - 24px);
    overflow: hidden;
    font-size: 12px;
    text-align: center;
    white-space: normal;
  }

  .tls-aff-identity__inner strong {
    font-size: 13px;
  }

  body.tls-aff-identity-active .live-ticker {
    top: calc(67px + var(--tls-aff-identity-height));
  }

  body.flow-page.tls-aff-identity-active {
    padding-top: 0;
  }

  body.flow-page.tls-aff-identity-active .blur-stage,
  body.flow-page.tls-aff-identity-active .side-drawer {
    top: calc(67px + var(--tls-aff-identity-height));
  }

  body.flow-page.tls-aff-identity-active .side-drawer {
    height: calc(100vh - 67px - var(--tls-aff-identity-height));
  }

  body.flow-page.tls-aff-identity-active .drawer-close {
    top: calc(85px + var(--tls-aff-identity-height));
  }

  body.admin-bar.tls-aff-identity-active .tls-aff-identity {
    top: 113px;
  }

  body.admin-bar.tls-aff-identity-active .live-ticker {
    top: calc(113px + var(--tls-aff-identity-height));
  }

  body.admin-bar.flow-page.tls-aff-identity-active .blur-stage,
  body.admin-bar.flow-page.tls-aff-identity-active .side-drawer {
    top: calc(113px + var(--tls-aff-identity-height));
  }

  body.admin-bar.flow-page.tls-aff-identity-active .side-drawer {
    height: calc(100vh - 113px - var(--tls-aff-identity-height));
  }

  body.admin-bar.flow-page.tls-aff-identity-active .drawer-close {
    top: calc(131px + var(--tls-aff-identity-height));
  }
}
