/* Brand refresh for the public pages and the customer workspace. */
:is(.estate-home,.customer-brand){
  --navy:#01194e;--royal:#0244a0;--gold:#d5a84c;--gold-text:#805515;
  --gold-light:#ffe398;--paper:#f2f6fc;--ink:#142b4b;--muted:#4e617a;--line:#d9e3ef;
  --green:#002a76;--lime:#ffe398;
  --brand-gradient:radial-gradient(ellipse at 75% 0%,#0144b6 0%,transparent 63%),linear-gradient(145deg,#01194e 5%,#00287a 60%,#001f59 100%);
  --gold-gradient:linear-gradient(120deg,#fff0ba,#efc46c);--soft-shadow:0 12px 28px #132e5b10;
}
:is(.estate-home,.customer-brand) .public-site-header{
  max-width:none;background:var(--brand-gradient);color:#fff7e0;border-bottom:2px solid var(--gold);
  padding:12px max(5%,calc((100% - 1290px)/2));min-height:96px;
}
:is(.estate-home,.customer-brand) .public-site-header .brand-emblem{width:107px;height:auto;display:block}
:is(.estate-home,.customer-brand) .public-site-header nav a{color:#edf3ff;font-size:13px}
:is(.estate-home,.customer-brand) .public-site-header nav a[aria-current]{color:var(--gold-light);border-color:var(--gold)}
:is(.estate-home,.customer-brand) .public-site-header .account-links{font-size:13px}
:is(.estate-home,.customer-brand) .public-site-header .button,
.estate-home .button-gold,.customer-brand .button.light{
  background:var(--gold-gradient);color:#102a4b;border:1px solid #e5bb63;border-radius:8px;font-weight:700;
}
:is(.estate-home,.customer-brand) .public-site-header .button:hover,.estate-home .button-gold:hover,.customer-brand .button.light:hover{background:#fff0b8}
.estate-home{background:linear-gradient(180deg,#edf4ff,#fffdf6 53%,#f2f6fc)}
.estate-home .hero-heading>.eyebrow,.estate-home .section-tag p{color:var(--gold-text);font-size:11px;font-weight:700}
.estate-home .hero-heading h1{font-size:clamp(54px,8vw,112px);color:var(--navy)}
.estate-home h1 em,.estate-home h2 em{color:var(--gold-text)}
.estate-home .hero-side p,.estate-home .philosophy-bottom p{color:var(--muted);font-size:15px}
.estate-home .hero-side{max-width:310px}
.estate-home .text-link{font-size:13px;font-weight:700;color:var(--navy)}
.estate-home .hero-side .text-link{background:var(--gold-gradient);padding:11px 16px;border:1px solid #d7af59;border-radius:8px}
.estate-home .hero-side .text-link span{color:#704812}
.estate-home .villa-stage{border:1px solid #bc974b;border-radius:24px;box-shadow:0 20px 44px #0b28562b}
.estate-home .villa-shade{background:linear-gradient(0deg,#061a38de,transparent 63%)}
.estate-home .villa-caption p em{color:var(--gold-light)}
.estate-home .rewards,.estate-home .invitation{background:var(--brand-gradient);color:#fffaec;border-block:1px solid #ad833c}
.estate-home .rewards h2 em,.estate-home .invitation h2 em,.estate-home .rewards .eyebrow{color:var(--gold-light)}
.estate-home .reward-grid{gap:16px;border:0}
.estate-home .reward-card{border:1px solid #d0ae6666;border-radius:16px;padding:22px;background:#ffffff0e}
.estate-home .card-top,.estate-home .card-top>span,.estate-home .card-label,.estate-home .card-art{color:var(--gold-light)}
.estate-home .card-label{font-size:9px}
.estate-home :is(.reward-card p,.rewards-heading>p,.rewards-bottom>p,.invite-copy,.invite-login){color:#dce8fa;font-size:13px}
.estate-home .rewards-bottom .text-link{color:var(--gold-light)}
.estate-home .site-footer .brand img{width:116px;height:auto}
.estate-home .footer-top :is(p,nav),.estate-home .footer-bottom{color:var(--muted)}

.customer-brand{background:var(--paper)}
.customer-brand .auth-story,.customer-brand .sidebar,.customer-brand .hero-panel{background:var(--brand-gradient);color:#fff8e6}
.customer-brand .auth-story{border-right:1px solid var(--gold)}
.customer-brand .auth-story :is(em,.eyebrow,.orbit span,.orbit small),.customer-brand .hero-panel :is(em,.eyebrow){color:var(--gold-light)}
.customer-brand .orbit,.customer-brand .orbit::after{border-color:#e3c4759c}
.customer-brand .auth-main{background:radial-gradient(ellipse at top right,#e3efff,transparent 60%),#fbfcff}
.customer-brand .auth-card{max-width:540px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:20px;padding:clamp(20px,4vw,44px);box-shadow:var(--soft-shadow);margin-block:28px}
.customer-brand .auth-card .eyebrow,.customer-brand .page-heading .eyebrow{color:var(--gold-text)}
.customer-brand .sidebar{border-right:1px solid #c59a4b}
.customer-brand:not(.admin-theme) .sidebar .portal-brand{
  flex:none;min-height:0;margin:0 0 22px;padding:4px 0 12px;
}
.customer-brand .sidebar .portal-brand img{width:126px;height:auto;aspect-ratio:260 / 160;max-width:100%}
.customer-brand .sidebar .nav-label{flex:none;margin-bottom:16px}
.customer-brand .sidebar nav{flex:none}
.customer-brand .sidebar :is(.nav-label,.sidebar-note span){color:var(--gold-light)}
.customer-brand .sidebar nav :is(a,summary),.customer-brand .sidebar :is(.sidebar-note p,.logout){color:#e7efff}
.customer-brand .sidebar nav a:hover{background:#ffffff18;color:#fff}
.customer-brand .sidebar nav a.active{background:var(--gold-gradient);color:#102a4b;font-weight:800}
.customer-brand .sidebar nav .epin-submenu{border-color:#edd28761}
.customer-brand .sidebar-note{background:#ffffff13;border:1px solid #e2bf674d;color:#fffaec}
.customer-brand .topbar{background:#fff;border-bottom:1px solid #e5c888}
.customer-brand .customer-account{margin-left:auto;min-width:0;max-width:60%}
.customer-brand .customer-account-trigger{
  display:flex;align-items:center;gap:12px;padding:7px 10px 7px 8px;
  border:1px solid #dbe5f3;border-radius:12px;background:#fff;color:var(--navy);
  box-shadow:0 3px 12px #01194e0d;
}
.customer-brand .customer-account-trigger:hover,.customer-brand .customer-account[open] .customer-account-trigger{border-color:#d2ac57;background:#fffcf4}
.customer-brand .customer-header-avatar{
  display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;
  background:var(--brand-gradient);color:var(--gold-light);font-weight:800;font-size:16px;
}
.customer-brand .customer-header-details{display:grid;gap:3px;min-width:0;line-height:1.2}
.customer-brand .customer-header-details strong{font-size:16px;font-weight:800;color:#01194e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-brand .customer-account-id{justify-self:start;padding:3px 7px;border-radius:5px;background:#eaf1fc;color:#123b78;font-weight:800;font-size:12px;overflow-wrap:anywhere}
.customer-brand .customer-account .account-chevron{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#f0f4fa;color:#174481;flex:none;margin:0}
.customer-brand .customer-account[open] .account-chevron{transform:rotate(180deg)}
.customer-brand .customer-account .account-menu{border-color:#e4ca8d}
.customer-brand .customer-account .account-menu :is(a,button):hover,.customer-brand .customer-account .account-menu a[aria-current]{background:#fff4d9}
.customer-brand .page-heading h1{color:var(--navy)}
.customer-brand :is(.date-pill,.badge){background:#fff4d9;color:#734d19;border-color:#ead29b}
.customer-brand :is(.panel,.stat,.ud-card){border:1px solid var(--line);border-radius:15px;box-shadow:var(--soft-shadow)}
.customer-brand .ud-card{
  background:linear-gradient(135deg,var(--card-start,#164b91),var(--card-end,#091e42));
  color:#fff;border:1px solid #142b4b22;
}
.customer-brand .ud-wallet{--card-start:#135cac;--card-end:#123368}
.customer-brand .ud-pending{--card-start:#90590c;--card-end:#653608}
.customer-brand .ud-paid{--card-start:#18733b;--card-end:#114a30}
.customer-brand .ud-purple{--card-start:#84349a;--card-end:#522068}
.customer-brand .ud-blue{--card-start:#126c8b;--card-end:#103d63}
.customer-brand .ud-green{--card-start:#146d68;--card-end:#123f4b}
.customer-brand .ud-amber{--card-start:#954d22;--card-end:#66321e}
.customer-brand .ud-bonus{--card-start:#8b5b13;--card-end:#50310e}
.customer-brand .ud-team{--card-start:#4f55a6;--card-end:#2c2e72}
.customer-brand .ud-direct{--card-start:#9c3b68;--card-end:#652247}
.customer-brand .ud-today{--card-start:#566e24;--card-end:#354818}
.customer-brand .ud-pins{--card-start:#435e81;--card-end:#253853}
.customer-brand .ud-card :is(strong,.ud-card-top,small){color:#fff}
.customer-brand .ud-card-icon{background:#ffffff20;color:#fff;border:1px solid #ffffff40}
.customer-brand .ud-heading-line{background:linear-gradient(90deg,var(--gold),transparent)}
.customer-brand .hero-panel{border:1px solid #bc974b}
.customer-brand .hero-panel p{color:#e0ebfd}
.customer-brand :is(.auth-shell,.app-shell,.content,.payment-dialog) .button:not(.light):not(.secondary){background:linear-gradient(120deg,#12396e,#205aa0);color:#fff}
.customer-brand .button.secondary{background:#e8f1fc;color:#12396e}
.customer-brand th{background:#edf3fb;color:#374c69;font-weight:700}
.customer-brand :is(input,select):focus{border-color:#a3762d;box-shadow:0 0 0 3px #d5a84c33}
.customer-brand #referral-name-status.referral-found{background:#fff4da;border-left-color:#bc913d;color:var(--navy)}
.customer-brand :is(a,button,summary):focus-visible{outline:3px solid #bc8a31;outline-offset:3px}
@media(max-width:700px){
  :is(.estate-home,.customer-brand) .public-site-header{gap:10px;padding:12px 5%;min-height:0}
  :is(.estate-home,.customer-brand) .public-site-header .brand-emblem{width:86px}
  :is(.estate-home,.customer-brand) .public-site-header :is(.button,nav a,.account-links){font-size:11px}
  .estate-home .reward-card{padding:20px}
  .estate-home .hero-side{display:block}
  .estate-home .hero-side p{margin-bottom:14px}
  .customer-brand .auth-card{margin-block:16px}
}
