.creator412-business{font-size:18px;line-height:1.55;overflow-wrap:anywhere}
.creator412-business h1{font-size:clamp(26px,3vw,36px);line-height:1.2;margin:0 0 20px}
.creator412-note{border-radius:12px;padding:14px 18px;background:#e7f7f8;color:#075563}
.creator412-intro{max-width:62ch;color:#506d7a}
.creator412-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.creator412-summary>div{min-width:0;border:1px solid #d2e3e9;border-radius:16px;padding:18px}
.creator412-summary dt{font-size:16px;color:#506d7a}.creator412-summary dd{font-size:26px;font-weight:700;margin:8px 0 0}
.creator412-history{display:grid;gap:14px}.creator412-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:18px;border:1px solid #d2e3e9;border-radius:16px}
.creator412-row>div{display:grid;gap:6px;min-width:0}.creator412-row small,.creator412-state{font-size:16px;color:#506d7a}.creator412-row small{display:block}
.creator412-row>div:nth-child(2){text-align:right}.creator412-amount{font-size:22px;color:#007c89}.creator412-state{grid-column:1/-1}
.creator412-business button{font:inherit;min-height:48px;border-radius:12px;padding:10px 18px;margin-top:20px}.creator412-business button:focus-visible{outline:3px solid #007c89;outline-offset:3px}
.creator412-error{padding:18px;border:1px solid #ca6f55;border-radius:12px}.creator412-error button{border:1px solid #007c89;color:#007c89;background:#fff}
@media(max-width:700px){.creator412-business{font-size:18px}.creator412-summary{grid-template-columns:1fr;gap:12px}.creator412-summary>div{padding:16px}.creator412-summary dd{font-size:25px}.creator412-row{grid-template-columns:1fr;padding:16px}.creator412-row>div:nth-child(2){grid-template-columns:1fr auto;align-items:center;text-align:left}.creator412-row small,.creator412-state,.creator412-summary dt{font-size:17px}}

/* Creator data uses the existing bonus cards and member table. */
.account-your-bonuses[data-creator413="true"] .account-bonus-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-your-bonuses[data-creator413="true"] .account-volume-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.account-your-bonuses[data-creator413="true"] .account-volume-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.account-your-bonuses[data-creator413="true"] .account-stat-grid{grid-template-columns:1fr}
[data-creator413="true"] .account-referral-levels thead th:first-child{width:40%}
[data-creator413="true"] .account-referral-level-button{display:block;width:100%;max-width:100%;padding-left:0;padding-right:0;white-space:normal;overflow-wrap:anywhere}}

/* Preserve every member field inside the existing desktop table/mobile card. */
.account-referral-members.creator413-members{width:100%;min-width:0;max-width:100%;table-layout:fixed}
.account-referral-members.creator413-members tbody td{min-width:0;max-width:100%}

[data-referral-scope416="creators"] .account-referral-levels{width:100%;table-layout:fixed}
[data-referral-scope416="creators"] .account-referral-levels th:first-child{width:32%}
@media(max-width:700px){[data-referral-scope416="creators"] .account-referral-levels th:first-child{width:25%}[data-referral-scope416="creators"] .account-referral-levels thead th{font-size:14px;padding:10px 4px}}

/* Preserve full words and readable type for the longer creator captions. */
@media(max-width:1100px){
 [data-creator413="true"] .account-referral-levels-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 [data-creator413="true"] .account-referral-levels{min-width:620px;table-layout:fixed}
 [data-creator413="true"] .account-referral-levels thead th:first-child{width:32%}
 [data-creator413="true"] .account-referral-levels th,[data-creator413="true"] .account-referral-levels td{overflow-wrap:normal;word-break:normal;padding:12px 8px}
 [data-creator413="true"] .account-referral-levels thead th{font-size:14px;white-space:normal}
}

/* Keep creator member cards readable on phones without changing desktop tables. */
@media (max-width: 700px) {
 .account-referral-members.creator413-members tbody td:first-child,
 .account-referral-members.creator413-members tbody td.account-referral-id,
 .account-referral-members.creator413-members .account-referral-id-button,
 .account-referral-members.creator413-members .account-referral-group-volume strong,
 .account-referral-members.creator413-members .account-referral-contact-button {
  font-weight: 500;
 }
}

/* Shared indeterminate loader; existing translated labels remain accessible. */
.account-structure-loading418{display:flex;align-items:center;justify-content:center;min-height:64px;padding:16px;box-sizing:border-box}
.account-structure-spinner418{display:block;flex:0 0 24px;width:24px;height:24px;box-sizing:border-box;border:3px solid #cce7eb;border-top-color:var(--teal-dark,#008c9c);border-radius:50%;animation:account-structure-spin418 .8s linear infinite}
@keyframes account-structure-spin418{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.account-structure-spinner418{animation:none}}
