/* Unified Foundation v0.6.55 — My Account presentation only.
   Scoped to the already-existing .sa-hub markup; no new account logic. */
body.sss-account-page { --sa-life-copper:#bd754a; }
body.sss-account-page .sa-hub{
  --sa-page:#171b1d;--sa-card:#242627;--sa-subtle:#342a25;--sa-field:#15191a;
  --sa-text:#f6e8d7;--sa-muted:#dfc9b5;--sa-heading:#fff0d8;
  --sa-accent:#f2b683;--sa-border:#695344;--sa-action:#b66238;--sa-action-text:#fff;
  max-width:1180px!important;width:calc(100% - 32px)!important;margin:0 auto 65px!important;
  padding:0!important;overflow:hidden;border-radius:0!important;
  border:1px solid #655040!important;background:#171b1d!important;
  box-shadow:0 20px 55px rgba(0,0,0,.14);color:var(--sa-text)!important;
}
body.sss-account-page .sa-hub-heading{
  position:relative;isolation:isolate;min-height:265px;display:flex;flex-direction:column;
  justify-content:center;margin:0!important;padding:clamp(35px,5vw,72px)!important;
  border-bottom:1px solid #8c6247!important;
  background:radial-gradient(ellipse at 80% 36%,rgba(176,91,53,.35),transparent 56%),
             linear-gradient(120deg,#182426 5%,#29201e 77%,#1a1b1b 100%);
}
body.sss-account-page .sa-hub-heading::before{
  content:"";pointer-events:none;position:absolute;inset:0;z-index:-1;
  background:repeating-linear-gradient(0deg,transparent 0,rgba(255,255,255,.015) 1px,transparent 2px,transparent 9px);
}
body.sss-account-page .sa-hub-heading::after{
  content:"S";position:absolute;right:5%;top:50%;transform:translateY(-50%);
  font:normal clamp(110px,17vw,215px)/1 Georgia,serif;color:rgba(236,167,109,.12);
  pointer-events:none;
}
body.sss-account-page .sa-hub-kicker{
  color:#f1ae7a!important;font:800 11px/1.5 Arial,sans-serif!important;
  letter-spacing:.20em!important;margin-bottom:18px!important;
}
body.sss-account-page .sa-hub-heading h2{
  font:500 clamp(43px,6vw,76px)/1.07 Georgia,serif!important;letter-spacing:-.035em!important;
  color:#fff0d8!important;-webkit-text-fill-color:#fff0d8!important;
  margin:0 0 18px!important;position:relative;z-index:1;
}
body.sss-account-page .sa-hub-heading>p{
  font:normal clamp(16px,1.5vw,20px)/1.65 Georgia,serif!important;
  color:#e8d6c4!important;max-width:710px;margin:0!important;position:relative;z-index:1;
}
body.sss-account-page .sa-hub-overview{
  counter-reset:saTile;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;padding:clamp(20px,3.7vw,44px)!important;
  margin:0!important;background:#171b1d;
}
body.sss-account-page .sa-hub .sa-hub-tile{
  counter-increment:saTile;position:relative;isolation:isolate;min-height:182px;
  justify-content:flex-start;gap:12px!important;padding:27px 28px 24px!important;
  border-radius:0!important;border:1px solid #695446!important;
  background:linear-gradient(140deg,#2d2724,#212629 80%)!important;
  box-shadow:0 9px 21px rgba(0,0,0,.08)!important;
  transition:transform .18s,border-color .18s,background .18s!important;
}
body.sss-account-page .sa-hub .sa-hub-tile::before{
  content:counter(saTile,decimal-leading-zero) " / YOUR SPACE";
  color:#eeae7b;font:800 10px/1.5 Arial,sans-serif;
  letter-spacing:.13em;margin-bottom:8px;
}
body.sss-account-page .sa-hub .sa-hub-tile::after{
  content:"↗";position:absolute;right:25px;top:24px;
  color:#e3a574;font:normal 23px/1 Georgia,serif;
}
body.sss-account-page .sa-hub .sa-hub-tile strong{
  font:500 clamp(23px,2.5vw,32px)/1.2 Georgia,serif!important;
  letter-spacing:-.018em;color:#fff0db!important;-webkit-text-fill-color:#fff0db!important;
  padding-right:22px;
}
body.sss-account-page .sa-hub .sa-hub-tile span{
  font:normal 16px/1.5 Georgia,serif!important;color:#e2d0be!important;
  -webkit-text-fill-color:#e2d0be!important;max-width:390px;
}
body.sss-account-page .sa-hub .sa-hub-tile:hover,
body.sss-account-page .sa-hub .sa-hub-tile:focus-visible{
  transform:translateY(-3px)!important;border-color:#d69469!important;
  background:linear-gradient(130deg,#3c2e26,#292a29 85%)!important;
}
body.sss-account-page .sa-hub-panel{
  margin:0 clamp(20px,3.7vw,44px) 38px!important;padding:clamp(22px,3vw,35px)!important;
  border-radius:0!important;border:1px solid #665244!important;
  background:linear-gradient(135deg,#292825,#202527)!important;
}
body.sss-account-page .sa-hub-panel h3{
  font:500 clamp(25px,3vw,36px)/1.25 Georgia,serif!important;
  color:#ffe6c9!important;margin:0 0 15px!important;
}
body.sss-account-page .sa-hub-panel p,
body.sss-account-page .sa-hub-panel li{color:#f0dfce!important}
body.sss-account-page .sa-hub-back{
  margin:26px clamp(20px,3.7vw,44px)!important;
}
body.sss-account-page .sa-hub .sa-hub-btn{border-radius:3px!important}
body.sss-account-page .sa-hub-history li{gap:14px}
/* Day mode uses the same single header mode control as the rest of the site. */
html.sss-mode-day body.sss-account-page .sa-hub,
body.sss-mode-day.sss-account-page .sa-hub{
  --sa-page:#f4eee4;--sa-card:#fffaf2;--sa-subtle:#f0e3d5;--sa-field:#fffdf9;
  --sa-text:#38291e;--sa-muted:#654f3d;--sa-heading:#42291c;
  --sa-accent:#854313;--sa-border:#ba9c82;--sa-action:#975023;--sa-action-text:#fff;
  background:#f5eee3!important;color:#38291e!important;border-color:#b99a81!important;
}
html.sss-mode-day body.sss-account-page .sa-hub-overview,
body.sss-mode-day.sss-account-page .sa-hub-overview{background:#f5eee3!important}
html.sss-mode-day body.sss-account-page .sa-hub .sa-hub-tile,
body.sss-mode-day.sss-account-page .sa-hub .sa-hub-tile{
  border-color:#bea087!important;background:linear-gradient(145deg,#fffaf3,#f0e6da)!important;
}
html.sss-mode-day body.sss-account-page .sa-hub .sa-hub-tile strong,
body.sss-mode-day.sss-account-page .sa-hub .sa-hub-tile strong{
  color:#432c20!important;-webkit-text-fill-color:#432c20!important;
}
html.sss-mode-day body.sss-account-page .sa-hub .sa-hub-tile span,
body.sss-mode-day.sss-account-page .sa-hub .sa-hub-tile span{
  color:#665140!important;-webkit-text-fill-color:#665140!important;
}
html.sss-mode-day body.sss-account-page .sa-hub .sa-hub-tile::before,
body.sss-mode-day.sss-account-page .sa-hub .sa-hub-tile::before,
html.sss-mode-day body.sss-account-page .sa-hub .sa-hub-tile::after,
body.sss-mode-day.sss-account-page .sa-hub .sa-hub-tile::after{color:#96552e}
html.sss-mode-day body.sss-account-page .sa-hub-panel,
body.sss-mode-day.sss-account-page .sa-hub-panel{
  background:#fffaf2!important;border-color:#b99b81!important;
}
html.sss-mode-day body.sss-account-page .sa-hub-panel h3,
body.sss-mode-day.sss-account-page .sa-hub-panel h3{
  color:#42291c!important;-webkit-text-fill-color:#42291c!important;
}
html.sss-mode-day body.sss-account-page .sa-hub-panel p,
html.sss-mode-day body.sss-account-page .sa-hub-panel li,
body.sss-mode-day.sss-account-page .sa-hub-panel p,
body.sss-mode-day.sss-account-page .sa-hub-panel li{color:#443224!important}
@media(max-width:720px){
  body.sss-account-page .sa-hub{width:calc(100% - 16px)!important}
  body.sss-account-page .sa-hub-heading{min-height:225px;padding:34px 23px!important}
  body.sss-account-page .sa-hub-heading::after{right:2%;opacity:.5}
  body.sss-account-page .sa-hub-overview{grid-template-columns:1fr!important;padding:16px!important}
  body.sss-account-page .sa-hub .sa-hub-tile{min-height:140px;padding:22px!important}
  body.sss-account-page .sa-hub-panel{margin:0 16px 25px!important}
}
@media(prefers-reduced-motion:reduce){body.sss-account-page .sa-hub .sa-hub-tile{transition:none!important}}

/* v0.6.107: guest only. The logged-in dashboard is unchanged. */
body.sss-account-page .sa-hub.sa-hub-guest{max-width:1220px!important}
body.sss-account-page .sa-hub-guest .sa-hub-heading{min-height:0!important;padding:clamp(24px,3vw,39px)!important}
body.sss-account-page .sa-hub-guest .sa-hub-heading::after{font-size:110px!important;opacity:.45}
body.sss-account-page .sa-hub-guest .sa-hub-heading h2{font-size:clamp(32px,4vw,51px)!important;margin-bottom:12px!important}
body.sss-account-page .sa-hub-guest .sa-hub-heading>p{max-width:900px;font-size:clamp(15px,1.5vw,18px)!important}
body.sss-account-page .sa-guest-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3vw,42px);padding:clamp(20px,3vw,40px);align-items:start}
body.sss-account-page .sa-guest-primary{min-width:0}
body.sss-account-page .sa-hub-guest .sa-auth-switch{margin-bottom:16px;gap:10px}
body.sss-account-page .sa-hub-guest .sa-auth-switch>a{flex:1;min-width:0}
body.sss-account-page .sa-hub-guest .sa-auth-panel{max-width:none!important;margin:0!important;padding:25px!important;border-radius:11px!important}
body.sss-account-page .sa-hub-guest .sa-hub-panel h3{font-size:clamp(24px,2.7vw,31px)!important}
body.sss-account-page .sa-hub-guest .sa-auth-form .sa-hub-btn{width:100%;min-height:48px}
body.sss-account-page .sa-guest-benefits{padding:clamp(23px,3vw,36px);border:1px solid var(--sa-border);border-radius:11px;background:linear-gradient(145deg,rgba(185,111,62,.17),rgba(39,39,35,.12))}
body.sss-account-page .sa-guest-benefits h3{font:600 clamp(28px,3vw,40px)/1.12 Georgia,serif;color:var(--sa-heading)!important;margin:11px 0 18px}
body.sss-account-page .sa-guest-benefits p{font-size:16px;line-height:1.7}
body.sss-account-page .sa-guest-benefits ul{list-style:none;padding:0;margin:22px 0}
body.sss-account-page .sa-guest-benefits li{padding:14px 0;border-top:1px solid var(--sa-border)}
body.sss-account-page .sa-guest-benefits li strong{display:block;font:700 19px/1.4 Georgia,serif;margin-bottom:5px}
body.sss-account-page .sa-guest-benefits li span{display:block;line-height:1.6;color:var(--sa-muted)}
body.sss-account-page .sa-guest-benefits .sa-guest-privacy{font-size:13px;color:var(--sa-muted)!important}
@media(max-width:850px){body.sss-account-page .sa-guest-layout{grid-template-columns:1fr}body.sss-account-page .sa-guest-benefits{order:2}}
