/* STAS ERP SuperAdmin Auth Shell v226
   Professional clean rebuild: one theme contract, no accumulated patch stack. */

body.auth-page.auth-foundation{
  --sa-sidebar-w:208px;
  --auth-topbar-h:58px;
  --auth-footer-h:42px;
  --auth-fg:#f8fbff;
  --auth-fg-strong:#ffffff;
  --auth-fg-muted:rgba(238,246,255,.90);
  --auth-surface:rgba(8,17,34,.18);
  --auth-surface-strong:rgba(8,17,34,.26);
  --auth-surface-soft:rgba(8,17,34,.12);
  --auth-border:rgba(255,255,255,.20);
  --auth-shadow:0 20px 50px rgba(2,6,23,.22);
  --auth-text-shadow:0 2px 10px rgba(0,0,0,.76),0 1px 2px rgba(0,0,0,.62);
  --auth-field-bg:rgba(248,250,252,.96);
  --auth-field-fg:#0f172a;
  --auth-primary-bg:linear-gradient(180deg,#bd9f89,#8b6f5d);
  --auth-primary-fg:#ffffff;
  --auth-secondary-bg:rgba(248,250,252,.96);
  --auth-secondary-fg:#0f172a;
  margin:0;
  min-height:100vh;
  overflow:hidden;
  background:#07162b;
  color:var(--auth-fg);
}

body.auth-page.auth-foundation[data-weather-readable="bright"]{
  --auth-fg:#071426;
  --auth-fg-strong:#020617;
  --auth-fg-muted:rgba(15,23,42,.82);
  --auth-fg:#f8fbff;
  --auth-fg-strong:#ffffff;
  --auth-fg-muted:rgba(238,246,255,.92);
  --auth-surface:rgba(8,17,34,.18);
  --auth-surface-strong:rgba(8,17,34,.28);
  --auth-surface-soft:rgba(8,17,34,.12);
  --auth-border:rgba(15,23,42,.16);
  --auth-shadow:0 20px 48px rgba(15,23,42,.14);
  --auth-text-shadow:0 1px 0 rgba(255,255,255,.84),0 0 14px rgba(255,255,255,.36);
}

body.auth-page.auth-foundation[data-weather-readable="mixed"]{
  --auth-fg:#f8fbff;
  --auth-fg-strong:#ffffff;
  --auth-fg-muted:rgba(238,246,255,.91);
  --auth-surface:rgba(8,17,34,.18);
  --auth-surface-strong:rgba(8,17,34,.28);
  --auth-surface-soft:rgba(8,17,34,.12);
  --auth-border:rgba(255,255,255,.22);
  --auth-shadow:0 24px 56px rgba(2,6,23,.30);
  --auth-text-shadow:0 2px 12px rgba(0,0,0,.86),0 1px 2px rgba(0,0,0,.70);
}

body.auth-page.auth-foundation[data-weather-readable="dark"]{
  --auth-fg:#f8fbff;
  --auth-fg-strong:#ffffff;
  --auth-fg-muted:rgba(238,246,255,.90);
  --auth-surface:rgba(2,10,25,.20);
  --auth-surface-strong:rgba(2,10,25,.34);
  --auth-surface-soft:rgba(2,10,25,.14);
  --auth-border:rgba(255,255,255,.18);
  --auth-shadow:0 24px 58px rgba(0,0,0,.36);
  --auth-text-shadow:0 2px 12px rgba(0,0,0,.92),0 1px 2px rgba(0,0,0,.78);
}

body.auth-page.auth-foundation,
body.auth-page.auth-foundation *{
  font-family:var(--auth-font-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

body.auth-page.auth-foundation .sa-shell{
  height:100vh;
  display:flex;
  overflow:hidden;
  background:transparent;
}

body.auth-page.auth-foundation .sa-main{
  width:calc(100% - var(--sa-sidebar-w));
  height:100vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:transparent;
}

body.auth-page.auth-foundation.sa-sidebar-collapsed{
  --sa-sidebar-w:0px;
}

body.auth-page.auth-foundation .sa-sidebar{
  width:var(--sa-sidebar-w);
  min-width:var(--sa-sidebar-w);
  height:100vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:linear-gradient(180deg,var(--auth-surface-strong),var(--auth-surface));
  border-right:1px solid var(--auth-border);
  box-shadow:var(--auth-shadow);
  backdrop-filter:blur(8px) saturate(112%);
  -webkit-backdrop-filter:blur(8px) saturate(112%);
  transition:width .22s ease,min-width .22s ease,transform .22s ease;
}

body.auth-page.auth-foundation .sa-sidebar .brand{
  flex:0 0 auto;
  padding:14px 16px;
  background:linear-gradient(180deg,var(--auth-surface-strong),var(--auth-surface-soft));
  border-bottom:1px solid var(--auth-border);
}

body.auth-page.auth-foundation .sa-sidebar .brand-link{
  display:flex;
  align-items:center;
  gap:.65rem;
  color:var(--auth-fg-strong);
  text-decoration:none;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .sa-sidebar .brand span.logo{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%,#22c55e,#0ea5e9 48%,#6366f1);
  color:#020617;
  font-weight:800;
  box-shadow:0 10px 22px rgba(14,165,233,.24);
}

body.auth-page.auth-foundation .sa-sidebar .brand-copy .fw-semibold,
body.auth-page.auth-foundation .sa-sidebar .brand-copy .small,
body.auth-page.auth-foundation .sa-sidebar .text-secondary,
body.auth-page.auth-foundation .sa-sidebar .nav-group-label,
body.auth-page.auth-foundation .sa-sidebar .nav-label{
  color:var(--auth-fg)!important;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .sa-sidebar-nav{
  flex:1 1 auto;
  min-height:0;
  overflow-y:hidden;
  overflow-x:hidden;
  padding:14px .65rem 16px!important;
  display:flex;
  flex-direction:column;
  gap:2px;
  scrollbar-width:none;
}

body.auth-page.auth-foundation .sa-sidebar:hover .sa-sidebar-nav,
body.auth-page.auth-foundation .sa-sidebar:focus-within .sa-sidebar-nav{
  overflow-y:auto;
  scrollbar-width:thin;
}

body.auth-page.auth-foundation .sa-sidebar-nav::-webkit-scrollbar{width:0;height:0;}
body.auth-page.auth-foundation .sa-sidebar:hover .sa-sidebar-nav::-webkit-scrollbar,
body.auth-page.auth-foundation .sa-sidebar:focus-within .sa-sidebar-nav::-webkit-scrollbar{width:7px;}
body.auth-page.auth-foundation .sa-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24);border-radius:999px;}
body.auth-page.auth-foundation[data-weather-readable="bright"] .sa-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(15,23,42,.22);}

body.auth-page.auth-foundation .sa-sidebar a.nav-link{
  min-height:40px;
  display:flex;
  align-items:center;
  padding:.56rem .72rem!important;
  border-radius:14px;
  color:var(--auth-fg-muted)!important;
  border:1px solid transparent;
  font-size:.84rem;
  font-weight:650;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .sa-sidebar a.nav-link:hover,
body.auth-page.auth-foundation .sa-sidebar a.nav-link.active,
body.auth-page.auth-foundation .sa-sidebar a.nav-link[aria-current="page"]{
  color:var(--auth-fg-strong)!important;
  background:var(--auth-surface-soft);
  border-color:var(--auth-border);
}

body.auth-page.auth-foundation .nav-group-label{
  margin-top:1rem!important;
  margin-bottom:.45rem!important;
  padding-inline:.45rem!important;
  font-size:.70rem!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
}

body.auth-page.auth-foundation .sa-sidebar-version-inline{margin-top:auto!important;padding-top:12px!important;}
body.auth-page.auth-foundation .sa-version-pill{
  display:grid;
  gap:2px;
  border-radius:14px;
  padding:10px 11px;
  background:var(--auth-surface-soft);
  border:1px solid var(--auth-border);
  color:var(--auth-fg);
}
body.auth-page.auth-foundation .sa-version-main{font-size:.73rem;font-weight:900;line-height:1.2;color:var(--auth-fg-strong);}
body.auth-page.auth-foundation .sa-version-sub{font-size:.66rem;line-height:1.2;color:var(--auth-fg-muted);}

body.auth-page.auth-foundation.sa-sidebar-collapsed .sa-sidebar{
  width:0;
  min-width:0;
  border-right:0;
  overflow:hidden;
  box-shadow:none;
}

body.auth-page.auth-foundation.sa-sidebar-collapsed .sa-sidebar .brand,
body.auth-page.auth-foundation.sa-sidebar-collapsed .sa-sidebar nav{
  opacity:0;
  pointer-events:none;
}

body.auth-page.auth-foundation .sa-topbar{
  flex:0 0 var(--auth-topbar-h);
  height:var(--auth-topbar-h);
  min-height:var(--auth-topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 18px;
  overflow:hidden;
  background:linear-gradient(180deg,var(--auth-surface-strong),var(--auth-surface));
  border-bottom:1px solid var(--auth-border);
  color:var(--auth-fg);
  box-shadow:var(--auth-shadow);
  backdrop-filter:blur(8px) saturate(112%);
  -webkit-backdrop-filter:blur(8px) saturate(112%);
}

body.auth-page.auth-foundation .sa-topbar-left,
body.auth-page.auth-foundation .sa-topbar-right{min-width:0;}
body.auth-page.auth-foundation .sa-topbar-right{margin-left:auto;}
body.auth-page.auth-foundation .sa-topbar-left,
body.auth-page.auth-foundation .sa-topbar-right{display:flex;align-items:center;}

body.auth-page.auth-foundation .sa-topbar-title{
  color:var(--auth-fg-strong)!important;
  font-size:clamp(.9rem,1vw,1.04rem);
  font-weight:850;
  letter-spacing:-.015em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .sa-shell-toggle,
body.auth-page.auth-foundation .sa-live-trigger,
body.auth-page.auth-foundation .live-weather-badge{
  display:inline-flex;
  align-items:center;
  backdrop-filter:blur(14px) saturate(128%);
  -webkit-backdrop-filter:blur(14px) saturate(128%);
}

body.auth-page.auth-foundation .sa-shell-toggle{
  border:1px solid var(--auth-border)!important;
  background:var(--auth-surface-soft)!important;
  color:var(--auth-fg-strong)!important;
  text-shadow:var(--auth-text-shadow)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}

body.auth-page.auth-foundation .sa-live-trigger{
  border:1px solid rgba(255,255,255,.28)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(226,232,240,.64))!important;
  color:#0f172a!important;
  text-shadow:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 10px 24px rgba(2,6,23,.16);
}

body.auth-page.auth-foundation .live-weather-badge{
  border:1px solid rgba(255,255,255,.22)!important;
  background:linear-gradient(180deg,rgba(15,23,42,.34),rgba(15,23,42,.18))!important;
  color:#f8fbff!important;
  text-shadow:0 1px 2px rgba(2,6,23,.62)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 12px 28px rgba(2,6,23,.18);
}

body.auth-page.auth-foundation .sa-shell-toggle{
  width:40px;
  height:40px;
  justify-content:center;
  border-radius:13px;
}

body.auth-page.auth-foundation .sa-live-trigger{
  gap:.42rem;
  min-height:30px;
  padding:.34rem .75rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:850;
  line-height:1;
  cursor:pointer;
}

body.auth-page.auth-foundation .sa-live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.20);
  animation:saLivePulse 1.9s ease-in-out infinite;
  flex:0 0 auto;
}

body.auth-page.auth-foundation .sa-live-trigger.is-offline .sa-live-dot{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.20);animation:none;}
body.auth-page.auth-foundation .sa-live-trigger.is-offline{background:linear-gradient(180deg,rgba(254,226,226,.94),rgba(252,165,165,.76))!important;color:#7f1d1d!important;border-color:rgba(248,113,113,.38)!important;}
@keyframes saLivePulse{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(.85);opacity:.74;}}

body.auth-page.auth-foundation .live-weather-badge{
  gap:.45rem;
  max-width:min(360px,30vw);
  min-height:40px;
  padding:.42rem .9rem;
  border-radius:999px;
  overflow:hidden;
  white-space:nowrap;
  font-size:.76rem;
  font-weight:780;
  line-height:1.14;
  cursor:pointer;
}
body.auth-page.auth-foundation .live-weather-badge::before{content:"☁";font-size:.95rem;line-height:1;flex:0 0 auto;}
body.auth-page.auth-foundation[data-live-weather="sun"] .live-weather-badge::before{content:"☀";}
body.auth-page.auth-foundation[data-live-weather="clear-night"] .live-weather-badge::before{content:"☾";}
body.auth-page.auth-foundation[data-live-weather="rain"] .live-weather-badge::before{content:"☔";}
body.auth-page.auth-foundation[data-live-weather="storm"] .live-weather-badge::before{content:"⚡";}
body.auth-page.auth-foundation .live-weather-badge .lw-badge-copy{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;}
body.auth-page.auth-foundation .live-weather-badge .lw-badge-place,
body.auth-page.auth-foundation .live-weather-badge .lw-badge-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.auth-page.auth-foundation .live-weather-badge .lw-badge-meta{font-size:.68rem;font-weight:700;opacity:.90;}

body.auth-page.auth-foundation .sa-content{
  flex:1 1 auto;
  min-height:0;
  height:calc(100vh - var(--auth-topbar-h) - var(--auth-footer-h));
  padding:0;
  overflow:hidden;
  background:transparent;
}

body.auth-page.auth-foundation .auth-foundation-shell{
  position:relative;
  height:100%;
  min-height:0;
  overflow:hidden;
  isolation:isolate;
  background:transparent;
}

body.auth-page.auth-foundation .auth-foundation-grid{
  position:relative;
  z-index:2;
  height:100%;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(390px,1fr) minmax(360px,430px);
  align-items:center;
  gap:clamp(1.5rem,4vw,4rem);
  padding:clamp(1rem,2vw,1.6rem) clamp(1.25rem,4vw,3rem);
}

body.auth-page.auth-foundation .auth-foundation-hero{
  width:100%;
  max-width:660px;
  min-width:0;
}

body.auth-page.auth-foundation .auth-live-quote-card,
body.auth-page.auth-foundation .auth-hero-panel,
body.auth-page.auth-foundation .auth-foundation-card{
  background:linear-gradient(180deg,var(--auth-surface-strong),var(--auth-surface));
  border:1px solid var(--auth-border);
  color:var(--auth-fg);
  box-shadow:var(--auth-shadow);
  backdrop-filter:blur(18px) saturate(126%);
  -webkit-backdrop-filter:blur(18px) saturate(126%);
}

body.auth-page.auth-foundation .auth-live-quote-card{
  width:min(500px,100%);
  margin:0 0 clamp(1rem,2.4vw,1.7rem);
  padding:1rem 1.2rem;
  border-radius:26px;
}

body.auth-page.auth-foundation .auth-live-quote-text{
  margin:0;
  color:var(--auth-fg);
  font-size:clamp(1rem,1.2vw,1.16rem);
  line-height:1.58;
  font-weight:500;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .auth-live-quote-author{
  margin:.64rem 0 0;
  color:var(--auth-fg-strong);
  font-size:1rem;
  font-weight:700;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .auth-hero-panel{
  width:min(600px,100%);
  padding:1.18rem 1.25rem 1.15rem;
  border-radius:28px;
}

body.auth-page.auth-foundation .auth-foundation-kicker{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  margin-bottom:.9rem;
  padding:.42rem .78rem;
  border-radius:999px;
  background:var(--auth-surface-soft);
  border:1px solid var(--auth-border);
  color:var(--auth-fg-strong);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  text-shadow:var(--auth-text-shadow);
}

body.auth-page.auth-foundation .auth-foundation-title{
  max-width:11ch;
  margin:0 0 .58rem;
  color:var(--auth-fg-strong)!important;
  font-size:clamp(2.1rem,3.35vw,3.45rem);
  line-height:1.02;
  font-weight:760;
  letter-spacing:-.04em;
  text-wrap:balance;
  text-shadow:var(--auth-text-shadow)!important;
}

body.auth-page.auth-foundation .auth-foundation-copy{
  max-width:58ch;
  margin:0;
  color:var(--auth-fg-muted)!important;
  font-size:clamp(1rem,1.28vw,1.13rem);
  line-height:1.64;
  text-shadow:var(--auth-text-shadow)!important;
}

body.auth-page.auth-foundation .auth-foundation-card{
  width:100%;
  max-width:430px;
  justify-self:end;
  border-radius:32px;
  padding:0;
}

body.auth-page.auth-foundation .auth-foundation-card-cap{display:none;}

body.auth-page.auth-foundation .auth-foundation-card-panel{
  padding:clamp(2rem,3.2vw,2.7rem) clamp(1.35rem,2.7vw,2rem) clamp(1.35rem,2.2vw,1.8rem);
  border-radius:inherit;
  background:transparent;
}

body.auth-page.auth-foundation .auth-foundation-form-title{
  margin:0 0 .45rem;
  color:var(--auth-fg-strong)!important;
  font-size:clamp(1.85rem,2.5vw,2.55rem);
  line-height:1.02;
  font-weight:760;
  letter-spacing:-.028em;
  text-shadow:var(--auth-text-shadow)!important;
}

body.auth-page.auth-foundation .auth-foundation-form-copy{
  margin:0 0 1.55rem;
  color:var(--auth-fg-muted)!important;
  font-size:var(--auth-text-md,1rem);
  line-height:1.55;
  text-shadow:var(--auth-text-shadow)!important;
}

body.auth-page.auth-foundation .auth-field-stack{
  display:grid;
  gap:1rem;
}

body.auth-page.auth-foundation .auth-foundation-form .form-label{
  margin-bottom:.42rem;
  color:var(--auth-fg-strong)!important;
  font-size:var(--auth-text-sm,.875rem);
  font-weight:850;
  text-shadow:var(--auth-text-shadow)!important;
}

body.auth-page.auth-foundation .auth-foundation-form .form-control,
body.auth-page.auth-foundation .auth-foundation-form .form-select{
  min-height:52px;
  width:100%;
  padding:.86rem 1rem;
  border-radius:17px;
  border:1px solid rgba(15,23,42,.16)!important;
  background:var(--auth-field-bg)!important;
  color:var(--auth-field-fg)!important;
  font-size:var(--auth-text-md,1rem);
  line-height:1.25;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 12px 26px rgba(2,6,23,.10)!important;
  text-shadow:none!important;
}

body.auth-page.auth-foundation .auth-foundation-form .form-control::placeholder{color:#64748b!important;}
body.auth-page.auth-foundation .auth-foundation-form .form-control:focus,
body.auth-page.auth-foundation .auth-foundation-form .form-select:focus{
  border-color:rgba(37,99,235,.50)!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.16),inset 0 1px 0 rgba(255,255,255,.78)!important;
}

body.auth-page.auth-foundation .auth-password-wrap{position:relative;}
body.auth-page.auth-foundation .auth-password-wrap .form-control{padding-right:3.35rem;}
body.auth-page.auth-foundation .auth-toggle{
  position:absolute;
  right:10px;
  top:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  transform:translateY(-50%);
  border-radius:999px;
  border:1px solid rgba(148,163,184,.28);
  background:#fff;
  color:#2563eb;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}
body.auth-page.auth-foundation .auth-toggle svg{width:18px;height:18px;display:block;}
body.auth-page.auth-foundation .auth-toggle .icon-hide{display:none;}
body.auth-page.auth-foundation .auth-toggle.is-active .icon-show{display:none;}
body.auth-page.auth-foundation .auth-toggle.is-active .icon-hide{display:block;}
body.auth-page.auth-foundation .auth-toggle:focus-visible,
body.auth-page.auth-foundation .auth-btn-primary:focus-visible,
body.auth-page.auth-foundation .auth-btn-secondary:focus-visible,
body.auth-page.auth-foundation .sa-shell-toggle:focus-visible,
body.auth-page.auth-foundation .sa-live-trigger:focus-visible,
body.auth-page.auth-foundation .live-weather-badge:focus-visible{
  outline:3px solid rgba(37,99,235,.32);
  outline-offset:2px;
}

body.auth-page.auth-foundation .auth-action-row{
  display:grid;
  grid-template-columns:max-content max-content;
  justify-content:flex-start;
  align-items:center;
  gap:.8rem;
  padding-top:.2rem;
}

body.auth-page.auth-foundation .auth-btn-primary,
body.auth-page.auth-foundation .auth-btn-secondary{
  min-height:48px;
  padding:0 1.15rem;
  border-radius:17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  font-size:var(--auth-text-md,1rem);
  font-weight:850;
}

body.auth-page.auth-foundation .auth-btn-primary{
  border:1px solid rgba(255,255,255,.22)!important;
  background:var(--auth-primary-bg)!important;
  color:var(--auth-primary-fg)!important;
  text-shadow:0 1px 2px rgba(2,6,23,.45)!important;
  box-shadow:0 14px 28px rgba(141,111,91,.24);
}

body.auth-page.auth-foundation .auth-btn-secondary{
  border:1px solid rgba(15,23,42,.14)!important;
  background:var(--auth-secondary-bg)!important;
  color:var(--auth-secondary-fg)!important;
  text-shadow:none!important;
  box-shadow:0 12px 26px rgba(15,23,42,.08);
}

body.auth-page.auth-foundation .alert{
  border-radius:16px;
  text-shadow:none!important;
}

body.auth-page.auth-foundation .portal-footer,
body.auth-page.auth-foundation .sa-auth-footer{
  flex:0 0 var(--auth-footer-h);
  min-height:var(--auth-footer-h);
  height:var(--auth-footer-h);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 1rem;
  background:linear-gradient(180deg,var(--auth-surface-strong),var(--auth-surface));
  border-top:1px solid var(--auth-border)!important;
  color:var(--auth-fg-strong)!important;
  font-size:.82rem;
  text-align:center;
  text-shadow:var(--auth-text-shadow);
  box-shadow:var(--auth-shadow);
  backdrop-filter:blur(8px) saturate(112%);
  -webkit-backdrop-filter:blur(8px) saturate(112%);
}

body.auth-page.auth-foundation .portal-footer > span,
body.auth-page.auth-foundation .sa-auth-footer > span{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-weight:800;
}

body.auth-page.auth-foundation .live-weather-picker{
  position:fixed!important;
  inset:0!important;
  z-index:99999!important;
  display:grid!important;
  place-items:center!important;
  padding:22px!important;
  background:transparent!important;
}
body.auth-page.auth-foundation .live-weather-picker[hidden]{display:none!important;}
body.auth-page.auth-foundation .live-weather-picker__backdrop{position:absolute!important;inset:0!important;background:rgba(2,6,23,.68)!important;backdrop-filter:blur(8px)!important;}
body.auth-page.auth-foundation .live-weather-picker__dialog{
  position:relative!important;
  z-index:1!important;
  width:min(620px,calc(100vw - 32px))!important;
  max-height:min(82vh,720px)!important;
  overflow:auto!important;
  border-radius:24px!important;
  padding:24px 22px 20px!important;
  background:linear-gradient(180deg,#edf5ff 0%,#dbe8f5 100%)!important;
  border:1px solid rgba(148,163,184,.30)!important;
  box-shadow:0 34px 80px rgba(2,6,23,.45)!important;
  color:#0f172a!important;
  text-shadow:none!important;
}
body.auth-page.auth-foundation .live-weather-picker__dialog *{text-shadow:none!important;}
body.auth-page.auth-foundation .live-weather-picker__close{position:absolute!important;top:10px!important;right:14px!important;border:0!important;background:transparent!important;color:#334155!important;font-size:32px!important;line-height:1!important;}
body.auth-page.auth-foundation .live-weather-picker__eyebrow{margin:0 0 6px!important;color:#2563eb!important;font-size:.72rem!important;font-weight:900!important;letter-spacing:.04em!important;text-transform:uppercase!important;}
body.auth-page.auth-foundation .live-weather-picker__title{margin:0 0 6px!important;color:#0f172a!important;font-size:1.45rem!important;font-weight:900!important;}
body.auth-page.auth-foundation .live-weather-picker__copy,
body.auth-page.auth-foundation .live-weather-picker__status,
body.auth-page.auth-foundation .live-weather-picker__label{color:#334155!important;}
body.auth-page.auth-foundation .live-weather-picker__actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:12px 0!important;}
body.auth-page.auth-foundation .live-weather-picker__search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;margin-top:6px!important;}
body.auth-page.auth-foundation .live-weather-picker__results{display:grid!important;gap:10px!important;margin-top:14px!important;max-height:min(36vh,310px)!important;overflow:auto!important;}
body.auth-page.auth-foundation .live-weather-picker__result{width:100%!important;display:grid!important;gap:4px!important;text-align:left!important;border-radius:16px!important;padding:12px 14px!important;border:1px solid rgba(37,99,235,.16)!important;background:rgba(255,255,255,.92)!important;color:#0f172a!important;}

@media (max-width:1199.98px){
  body.auth-page.auth-foundation{overflow:auto;}
  body.auth-page.auth-foundation .sa-shell,
  body.auth-page.auth-foundation .sa-main{height:auto;min-height:100vh;overflow:visible;}
  body.auth-page.auth-foundation .sa-content{height:auto;min-height:calc(100svh - var(--auth-topbar-h) - var(--auth-footer-h));overflow:visible;}
  body.auth-page.auth-foundation .auth-foundation-shell{height:auto;min-height:calc(100svh - var(--auth-topbar-h) - var(--auth-footer-h));overflow:hidden;}
  body.auth-page.auth-foundation .auth-foundation-grid{height:auto;min-height:calc(100svh - var(--auth-topbar-h) - var(--auth-footer-h));grid-template-columns:1fr;align-items:center;overflow:visible;}
  body.auth-page.auth-foundation .auth-foundation-hero{max-width:760px;margin:0 auto;}
  body.auth-page.auth-foundation .auth-foundation-card{justify-self:center;max-width:560px;margin:0 auto;}
}

@media (max-width:991.98px){
  body.auth-page.auth-foundation{--sa-sidebar-w:0px;}
  body.auth-page.auth-foundation .sa-sidebar{
    position:fixed;
    left:0;
    top:0;
    z-index:1040;
    width:280px;
    min-width:280px;
    transform:translateX(-100%);
  }
  body.auth-page.auth-foundation.sa-sidebar-open .sa-sidebar{transform:translateX(0);}
  body.auth-page.auth-foundation .sa-main{width:100%;}
  body.auth-page.auth-foundation .sa-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.58);z-index:1035;display:none;}
  body.auth-page.auth-foundation.sa-sidebar-open .sa-backdrop{display:block;}
  body.auth-page.auth-foundation .live-weather-badge{max-width:min(340px,46vw);}
}

@media (max-width:767.98px){
  body.auth-page.auth-foundation .sa-topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:10px 12px;overflow:visible;}
  body.auth-page.auth-foundation .sa-topbar-title{max-width:170px;}
  body.auth-page.auth-foundation .live-weather-badge{max-width:min(280px,68vw);}
  body.auth-page.auth-foundation .auth-foundation-grid{padding:1rem;gap:1.2rem;}
  body.auth-page.auth-foundation .auth-foundation-title{font-size:clamp(2.2rem,10vw,3.35rem);}
  body.auth-page.auth-foundation .auth-foundation-copy{font-size:.98rem;line-height:1.55;}
  body.auth-page.auth-foundation .auth-live-quote-card{width:100%;}
  body.auth-page.auth-foundation .auth-foundation-card{width:100%;max-width:100%;}
  body.auth-page.auth-foundation .auth-action-row{grid-template-columns:1fr;justify-content:stretch;}
  body.auth-page.auth-foundation .auth-btn-primary,
  body.auth-page.auth-foundation .auth-btn-secondary{width:100%;}
}

@media (max-width:575.98px){
  body.auth-page.auth-foundation .sa-topbar-title{display:none;}
  body.auth-page.auth-foundation .live-weather-badge{max-width:58vw;}
  body.auth-page.auth-foundation .live-weather-badge .lw-badge-meta{display:none;}
  body.auth-page.auth-foundation .auth-foundation-kicker{font-size:.68rem;letter-spacing:.08em;}
  body.auth-page.auth-foundation .auth-foundation-title{font-size:clamp(2rem,9.5vw,2.8rem);}
  body.auth-page.auth-foundation .auth-foundation-card-panel{padding-inline:1rem;}
  body.auth-page.auth-foundation .live-weather-picker{align-items:flex-start!important;padding:12px!important;}
  body.auth-page.auth-foundation .live-weather-picker__dialog{width:100%!important;max-height:calc(100vh - 24px)!important;padding:20px 16px 16px!important;}
  body.auth-page.auth-foundation .live-weather-picker__search{grid-template-columns:1fr!important;}
}

@media (max-width:389.98px){
  body.auth-page.auth-foundation .live-weather-badge{display:none;}
}

@media (prefers-reduced-motion:reduce){
  body.auth-page.auth-foundation *,
  body.auth-page.auth-foundation *::before,
  body.auth-page.auth-foundation *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }
}


body.auth-page.auth-foundation .live-weather-badge .lw-badge-precision,
body.auth-page.auth-foundation .live-weather-picker__precision-note{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:3px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(251,191,36,.18);
  border:1px solid rgba(251,191,36,.34);
  color:#fef3c7!important;
  font-size:.63rem;
  font-weight:900;
  letter-spacing:.01em;
  text-shadow:0 1px 2px rgba(2,6,23,.70)!important;
}
body.auth-page.auth-foundation[data-exact-location="1"] .live-weather-badge .lw-badge-precision{display:none!important;}


/* v226 immersive restoration: preserve v225 hardening while returning the old full-weather visual feel. */
body.auth-page.auth-foundation .sa-sidebar,
body.auth-page.auth-foundation .sa-sidebar .brand,
body.auth-page.auth-foundation .sa-topbar,
body.auth-page.auth-foundation .portal-footer,
body.auth-page.auth-foundation .sa-auth-footer{
  background:linear-gradient(180deg,rgba(3,14,31,.24),rgba(3,14,31,.12))!important;
  border-color:rgba(255,255,255,.13)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 28px rgba(2,6,23,.10)!important;
  backdrop-filter:blur(1.5px) saturate(108%)!important;
  -webkit-backdrop-filter:blur(1.5px) saturate(108%)!important;
}

body.auth-page.auth-foundation .auth-foundation-shell{
  background:transparent!important;
}

body.auth-page.auth-foundation .auth-live-quote-card,
body.auth-page.auth-foundation .auth-hero-panel,
body.auth-page.auth-foundation .auth-foundation-card-panel{
  background:linear-gradient(180deg,rgba(3,14,31,.22),rgba(3,14,31,.12))!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:0 18px 40px rgba(2,6,23,.14),inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(1px) saturate(108%)!important;
  -webkit-backdrop-filter:blur(1px) saturate(108%)!important;
}

body.auth-page.auth-foundation .auth-foundation-title,
body.auth-page.auth-foundation .auth-foundation-copy,
body.auth-page.auth-foundation .auth-foundation-form-title,
body.auth-page.auth-foundation .auth-foundation-form-copy,
body.auth-page.auth-foundation .auth-live-quote-text,
body.auth-page.auth-foundation .auth-live-quote-author,
body.auth-page.auth-foundation .form-label,
body.auth-page.auth-foundation .sa-topbar-title,
body.auth-page.auth-foundation .sa-sidebar a.nav-link,
body.auth-page.auth-foundation .sa-sidebar .nav-group-label,
body.auth-page.auth-foundation .sa-sidebar .brand-copy *{
  color:#f8fbff!important;
  text-shadow:0 2px 6px rgba(0,0,0,.62),0 1px 1px rgba(0,0,0,.48)!important;
}

body.auth-page.auth-foundation .auth-foundation-title{font-weight:900!important;}
body.auth-page.auth-foundation .auth-foundation-copy{font-weight:500!important;line-height:1.55!important;}
body.auth-page.auth-foundation .sa-content{display:flex!important;align-items:stretch!important;justify-content:center!important;background:transparent!important;padding:18px 22px!important;}
body.auth-page.auth-foundation .auth-foundation-grid{align-items:center!important;justify-items:stretch!important;padding:1.6rem 2.2rem!important;}
body.auth-page.auth-foundation .portal-footer{height:42px!important;min-height:42px!important;padding:0!important;align-items:center!important;justify-content:center!important;}
body.auth-page.auth-foundation .portal-footer > span{margin:0 auto!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;}

body.auth-page.auth-foundation .live-weather-badge{
  background:linear-gradient(180deg,rgba(15,23,42,.30),rgba(15,23,42,.14))!important;
  color:#f8fbff!important;
  border-color:rgba(255,255,255,.18)!important;
}

body.auth-page.auth-foundation .sa-live-trigger{
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(226,232,240,.66))!important;
  color:#0f172a!important;
}


/* v233 auth panel video visibility: transparent panels, no heavy backdrop blur. */
body.auth-page.auth-foundation .auth-live-quote-card,
body.auth-page.auth-foundation .auth-hero-panel,
body.auth-page.auth-foundation .auth-foundation-card,
body.auth-page.auth-foundation .auth-foundation-card-panel{
  background:linear-gradient(180deg,rgba(3,14,31,.20),rgba(3,14,31,.075))!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.auth-page.auth-foundation .sa-sidebar,
body.auth-page.auth-foundation .sa-sidebar .brand,
body.auth-page.auth-foundation .sa-topbar,
body.auth-page.auth-foundation .portal-footer,
body.auth-page.auth-foundation .sa-auth-footer{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* v233 deep audit: auth sidebar parity with portal sidebar. */
body.auth-page.auth-foundation .sa-sidebar,
body.auth-page.auth-foundation .sa-main,
body.auth-page.auth-foundation .sa-shell{
  overflow:hidden!important;
}
body.auth-page.auth-foundation .sa-sidebar{height:100dvh!important;max-height:100dvh!important;}
body.auth-page.auth-foundation .sa-sidebar-nav{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
body.auth-page.auth-foundation .sa-sidebar-nav::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}
body.auth-page.auth-foundation .sa-sidebar a.nav-link.is-active,
body.auth-page.auth-foundation .sa-sidebar a.nav-link.active,
body.auth-page.auth-foundation .sa-sidebar a.nav-link[aria-current="page"]{
  color:#fff!important;
  background:linear-gradient(90deg,rgba(245,158,11,.34),rgba(255,255,255,.12))!important;
  border-color:rgba(245,158,11,.58)!important;
  box-shadow:0 12px 28px rgba(2,6,23,.20),inset 3px 0 0 #f59e0b!important;
  transform:translateX(2px)!important;
}
body.auth-page.auth-foundation .sa-sidebar a.nav-link.is-active::after,
body.auth-page.auth-foundation .sa-sidebar a.nav-link.active::after,
body.auth-page.auth-foundation .sa-sidebar a.nav-link[aria-current="page"]::after{
  content:"";position:absolute;right:9px;width:7px;height:7px;border-radius:999px;background:#fbbf24;box-shadow:0 0 0 4px rgba(251,191,36,.16);
}
