/* Street Legend Login V7 — front-end only. Scoped to auth page, never dashboard. */
body.sani-auth-page.sl-login-v7 {
  --sl-auth-black: #151515;
  --sl-auth-muted: #737373;
  --sl-auth-line: #e3e3e3;
  display:block !important;
  padding:0 !important;
  margin:0;
  min-height:100dvh;
  background:#fff !important;
  color:var(--sl-auth-black) !important;
  font-family:'DM Sans',system-ui,sans-serif !important;
}
.sl-login-v7 .auth-layout {
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(420px, .93fr);
  width:100%; max-width:none;
  min-height:100dvh; height:100dvh;
  margin:0; border:0; border-radius:0;
  box-shadow:none !important;
  overflow:hidden;
  background:#fff;
  animation:none !important;
}
.sl-login-v7 .auth-story {
  position:relative;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:66px clamp(18px,3.5vw,56px) 24px;
  background:#fcf5ec !important;
  color:#151515;
  overflow:hidden;
  isolation:auto;
}
.sl-login-v7 .auth-story__brand {
  position:absolute; top:clamp(24px,3vw,42px); left:clamp(24px,4vw,64px);
  display:flex; align-items:baseline; flex-wrap:wrap; gap:7px;
  width:max-content; max-width:calc(100% - 48px);
  font-family:'DM Sans',system-ui,sans-serif;
  font-size:22px; font-weight:800; letter-spacing:-.055em;
  color:#171717 !important; line-height:1;
  z-index:2;
}
.sl-login-v7 .auth-story__brand::before {content:none !important; display:none !important;}
.sl-login-v7 .auth-story__brand small {
  font-family:'DM Sans',system-ui,sans-serif;
  font-weight:700; font-size:8px; letter-spacing:.31em;
  color:#474747; margin:0;
}
.sl-login-v7 .auth-story__art {
  display:block;
  width:min(100%, 610px);
  height:100%; max-height:calc(100dvh - 110px);
  object-fit:contain;
  object-position:center;
  mix-blend-mode:normal;
  pointer-events:none;
  user-select:none;
  animation:sl-login-art .9s cubic-bezier(.22,.8,.3,1) both;
}
.sl-login-v7 .auth-panel {
  display:flex !important;
  justify-content:center;
  align-items:center;
  padding:clamp(24px,4vw,72px);
  min-width:0;
  border:0;
  border-radius:0 !important;
  background:#fff !important;
  color:#141414;
  overflow:auto;
  overscroll-behavior:contain;
}
.sl-login-v7 .auth-panel__inner {width:min(100%,414px); margin:auto; animation:none !important;}
.sl-login-v7 .auth-mobile-brand {display:none;}
.sl-login-v7 .auth-tabs {
  display:flex; width:max-content;
  padding:4px; gap:3px;
  margin:0 0 clamp(24px,4vh,42px);
  border:1px solid #e9e9e9;
  border-radius:100px;
  background:#f6f6f6;
}
.sl-login-v7 .auth-tabs a {
  display:flex; justify-content:center; align-items:center;
  min-height:37px; min-width:101px;
  padding:8px 17px;
  border-radius:99px;
  color:#747474;
  font-size:12px; font-weight:700;
  transition:color .2s, background .2s, box-shadow .2s;
}
.sl-login-v7 .auth-tabs a[aria-selected='true'] {
  background:#151515;
  color:#fff !important;
  box-shadow:none !important;
}
.sl-login-v7 .auth-eyebrow {
  color:#777 !important;
  font-size:10px; font-weight:800; letter-spacing:.17em;
  margin:0 0 11px;
}
.sl-login-v7 .auth-panel h2 {
  font-family:'DM Sans',system-ui,sans-serif;
  font-size:clamp(30px,3vw,42px);
  font-weight:800; line-height:1.12;
  letter-spacing:-.055em;
  color:#141414;
  margin:0 0 12px;
}
.sl-login-v7 .auth-subline {font-size:13px; line-height:1.6; color:#777; margin:0 0 24px;}
.sl-login-v7 .auth-form {gap:8px;}
.sl-login-v7 .auth-form>label:not(.auth-check) {margin-top:9px; font-size:11px; color:#333; font-weight:700;}
.sl-login-v7 .sani-auth-field {
  width:100%; min-height:49px;
  padding:12px 15px;
  border:1px solid #d9d9d9;
  border-radius:11px;
  background:#fff;
  color:#191919; font-size:13px;
  box-shadow:none;
  transition:border-color .2s,box-shadow .2s;
}
.sl-login-v7 .sani-auth-field:focus {
  border-color:#191919 !important;
  box-shadow:0 0 0 3px rgba(0,0,0,.065) !important;
  outline:none;
}
.sl-login-v7 .sani-auth-field::placeholder {color:#a1a1a1;}
.sl-login-v7 .auth-check {color:#575757; font-size:12px;}
.sl-login-v7 .auth-check input {accent-color:#1a1a1a;}
.sl-login-v7 .auth-submit,
.sl-login-v7 .auth-submit:not(:disabled) {
  width:100%; min-height:51px;
  margin-top:17px; border:0;
  border-radius:11px;
  background:#141414 !important;
  color:#fff !important;
  font-size:13px; font-weight:700;
  box-shadow:none !important;
  transition:background .2s,transform .2s,box-shadow .2s;
}
.sl-login-v7 .auth-submit:hover:not(:disabled) {
  background:#303030 !important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.12) !important;
}
.sl-login-v7 .auth-submit span {font-size:21px;}
.sl-login-v7 .auth-google-divider {color:#9c9c9c; margin:18px 0 12px; font-size:12px;}
.sl-login-v7 .auth-google-divider::before,
.sl-login-v7 .auth-google-divider::after {background:#e5e5e5;}
.sl-login-v7 .sani-google-form {display:flex; justify-content:center; margin:0;}
.sl-login-v7 .sani-google-form .auth-google,
.sl-login-v7 .auth-google:not(:disabled) {
  display:flex; flex:0 0 54px;
  width:54px !important; min-width:54px;
  height:54px; min-height:54px !important;
  padding:0 !important;
  border:1px solid #dedede !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#111 !important;
  align-items:center; justify-content:center;
  box-shadow:none;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.sl-login-v7 .auth-google:not(:disabled):hover {
  background:#fff !important;
  border-color:#aaa !important;
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.sl-login-v7 .auth-google svg {width:23px; height:23px; flex:none;}
.sl-login-v7 .sl-login-sr-only {
  position:absolute; height:1px; width:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.sl-login-v7 .sani-auth-forgot {margin:15px 0 0; text-align:center; font-size:12px;}
.sl-login-v7 .sani-auth-forgot a,
.sl-login-v7 .auth-switch a,
.sl-login-v7 .auth-privacy a {color:#161616 !important; text-decoration:underline; text-underline-offset:3px;}
.sl-login-v7 .auth-switch {color:#777; margin:18px 0 0; font-size:12px;}
.sl-login-v7 .auth-privacy {color:#888; margin:24px 0 0; font-size:10px;}
.sl-login-v7 .auth-form .errorlist,
.sl-login-v7 .auth-errors {color:#9b1d30;}
.sl-login-v7 .sani-auth-flash {position:fixed; z-index:70; top:12px; left:50%; transform:translateX(-50%); max-width:calc(100% - 24px);}
.sl-login-v7 :is(a,button,input):focus-visible {outline:2px solid #111 !important; outline-offset:3px;}
.sl-login-v7 .auth-panel {scrollbar-color:#a6a6a6 #fff;}
@keyframes sl-login-art {from{opacity:0; transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:900px) and (min-width:701px) {
  .sl-login-v7 .auth-layout {grid-template-columns:minmax(0,.95fr) minmax(365px,1.05fr);}
  .sl-login-v7 .auth-panel {padding:24px 30px;}
  .sl-login-v7 .auth-story {padding:65px 14px 18px;}
  .sl-login-v7 .auth-panel h2 {font-size:32px;}
}
@media (max-width:700px) {
  html {overflow-y:auto !important;}
  body.sani-auth-page.sl-login-v7 {height:auto !important; min-height:100dvh; overflow-x:hidden !important;}
  .sl-login-v7 .auth-layout {
    display:flex !important;
    flex-direction:column;
    width:100%; height:auto !important; min-height:100dvh;
    max-height:none !important;
    overflow:visible !important;
  }
  .sl-login-v7 .auth-story {
    width:100%; flex:0 0 auto;
    height:clamp(155px,24dvh,230px) !important;
    min-height:155px !important; max-height:none !important;
    padding:10px 16px 0;
    overflow:hidden;
    background:#fcf5ec !important;
  }
  .sl-login-v7 .auth-story__brand {display:none;}
  .sl-login-v7 .auth-story__art {
    width:auto; max-width:100%; height:105%;
    max-height:none; object-position:center 40%;
  }
  .sl-login-v7 .auth-panel {
    position:relative; z-index:1;
    width:100%; flex:1 0 auto;
    display:block !important;
    padding:23px clamp(22px,6vw,40px) 32px;
    margin:0 !important;
    border-radius:0 !important;
    overflow:visible !important;
  }
  .sl-login-v7 .auth-mobile-brand {
    display:flex; align-items:baseline; gap:7px;
    margin:0 0 18px;
    font:800 20px 'DM Sans',system-ui,sans-serif;
    letter-spacing:-.05em;
    color:#171717 !important;
  }
  .sl-login-v7 .auth-mobile-brand small {font-size:8px; font-weight:700; letter-spacing:.22em;}
  .sl-login-v7 .auth-panel__inner {width:min(100%,420px); max-width:none; margin:0 auto;}
  .sl-login-v7 .auth-tabs {margin-bottom:20px;}
  .sl-login-v7 .auth-panel h2 {font-size:clamp(29px,7vw,36px);}
  .sl-login-v7 .auth-subline {margin-bottom:16px;}
  .sl-login-v7 .auth-form {gap:5px;}
  .sl-login-v7 .auth-form>label:not(.auth-check) {margin-top:8px;}
  .sl-login-v7 .auth-submit {margin-top:12px;}
  .sl-login-v7 .auth-privacy {margin-top:19px;}
}
@media (max-width:360px) {
  .sl-login-v7 .auth-story {height:152px !important;min-height:152px !important;}
  .sl-login-v7 .auth-panel {padding:20px 20px 30px;}
  .sl-login-v7 .auth-panel h2 {font-size:29px;}
  .sl-login-v7 .auth-tabs a {min-width:92px;}
}
@media (prefers-reduced-motion:reduce) {
  .sl-login-v7 *, .sl-login-v7 *::before, .sl-login-v7 *::after {animation:none!important; transition:none!important;}
}
/* Override old SANI mobile hero height and gold recovery-link skin. */
body.sani-auth-page.sl-login-v7 .sani-auth-forgot a {
  display:inline;
  min-height:0;
  padding:0;
  border:0 !important;
  border-radius:0;
  background:none !important;
  background-size:0 0 !important;
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:3px;
  transform:none !important;
}
@media (max-width:700px) {
  body.sani-auth-page.sl-login-v7 .auth-story {
    height:clamp(155px,24dvh,230px) !important;
    min-height:155px !important;
    max-height:230px !important;
  }
  body.sani-auth-page.sl-login-v7 .auth-panel {
    margin-top:0 !important;
    overflow:visible !important;
    border-radius:0 !important;
  }
}
