/* Critical first-paint styling for My Sousa Murray sign-in and sign-up.
   Loaded synchronously from index.html so the account entry never appears unstyled
   while the larger authenticated account stylesheet bundle is loading. */

html[data-bootstrap-surface="account"],
html[data-bootstrap-surface="account"] body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #f3f5f8;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

html[data-bootstrap-surface="account"] *,
html[data-bootstrap-surface="account"] *::before,
html[data-bootstrap-surface="account"] *::after { box-sizing: border-box; }

html[data-bootstrap-surface="account"] #root { min-height: 100vh; }

.account-auth-screen,
.account-landing,
.verification-onboarding {
  min-height: 100vh;
  color: #172033;
  font-family: inherit;
}

.account-landing {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #f3f5f8;
}

.account-landing-header {
  width: min(calc(100% - 40px), 1240px);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.account-landing-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #172033;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.account-landing-brand img {
  display: block;
  width: 136px;
  max-width: 44vw;
  height: auto;
}

.account-landing-brand span {
  padding-left: 11px;
  border-left: 1px solid #d9dee7;
  color: #667085;
  white-space: nowrap;
}

.account-landing-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.account-landing-header nav a {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #4b5567;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.account-landing-header nav a:hover { background: #fff; color: #172033; }

.account-login-layout {
  width: min(calc(100% - 40px), 1080px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(380px, 1.04fr);
  overflow: hidden;
  border: 1px solid #dfe4ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(31, 41, 55, .09);
}

.account-login-story {
  min-height: 500px;
  padding: clamp(38px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #2563eb;
  color: #fff;
}

.account-login-story > span {
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .1em;
}

.account-login-story h1 {
  max-width: 510px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 700;
}

.account-login-story > p {
  max-width: 500px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.65;
}

.account-login-points {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-login-points > div {
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(255,255,255,.08);
}

.account-login-points svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; }
.account-login-points span { color: rgba(255,255,255,.76); font-size: 11px; line-height: 1.55; }
.account-login-points strong { display: block; margin-bottom: 2px; color: #fff; font-size: 12px; }

.account-access-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.account-access-tabs {
  width: 100%;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 999px;
  background: #edf0f5;
}

.account-access-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.account-access-tabs button.active {
  background: #fff;
  color: #172033;
  box-shadow: 0 2px 8px rgba(17,24,39,.09);
}

.account-access-content { padding: 32px 3px 2px; }
.account-main-logo { display: block; width: 148px; max-width: 56%; height: auto; margin: 0 0 28px; }
.account-access-overline { display: block; margin-bottom: 7px; color: #2563eb; font-size: 11px; font-weight: 750; }

.account-access-content h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(25px, 2.7vw, 31px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 700;
}

.account-access-content > p {
  max-width: 410px;
  margin: 10px 0 24px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.account-primary-action {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.account-primary-action:hover { background: #1d4ed8; }
.account-primary-action:focus-visible,
.account-access-tabs button:focus-visible,
.account-landing-header a:focus-visible { outline: 2px solid #005fb8; outline-offset: 3px; }

.account-security-note {
  margin-top: 26px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e1e6ed;
  border-radius: 14px;
  background: #f7f9fc;
  color: #667085;
}

.account-security-note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; color: #2563eb; }
.account-security-note strong { display: block; color: #263246; font-size: 12px; }
.account-security-note p { margin: 3px 0 0; font-size: 11px; line-height: 1.55; }

.account-landing-footer {
  width: min(calc(100% - 40px), 1240px);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7b8494;
  font-size: 11px;
}

.account-landing-footer > div { display: flex; flex-wrap: wrap; gap: 15px; }
.account-landing-footer a { color: #667085; text-decoration: none; }
.account-landing-footer a:hover { color: #172033; }

.account-auth-screen {
  display: grid;
  place-items: center;
  padding: 20px;
  background: #f3f5f8;
}

.account-auth-card {
  width: min(420px, 100%);
  padding: 26px;
  border: 1px solid #dfe4ec;
  border-radius: 20px;
  background: #fff;
  color: #172033;
  box-shadow: 0 16px 44px rgba(31,41,55,.08);
  text-align: center;
  font-size: 13px;
}

.account-loader {
  width: 24px;
  height: 24px;
  margin: 0 auto 12px;
  display: block;
  border: 2px solid #dce3ec;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: sm-account-spin .75s linear infinite;
}

@keyframes sm-account-spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .account-landing-header,
  .account-login-layout,
  .account-landing-footer { width: min(calc(100% - 28px), 1080px); }

  .account-login-layout { grid-template-columns: 1fr; }
  .account-login-story { min-height: auto; padding: 34px 30px; }
  .account-login-story h1 { font-size: clamp(30px, 7vw, 42px); }
  .account-login-points { margin-top: 24px; }
  .account-access-panel { padding: 30px; }
}

@media (max-width: 560px) {
  .account-landing { grid-template-rows: auto 1fr auto; }
  .account-landing-header { min-height: 62px; }
  .account-landing-brand img { width: 120px; }
  .account-landing-brand span { display: none; }
  .account-landing-header nav a:first-child { display: none; }
  .account-landing-header nav a { padding: 0 9px; font-size: 12px; }
  .account-login-layout { margin: 6px auto 18px; border-radius: 20px; }
  .account-login-story { padding: 30px 22px; }
  .account-login-story > p { font-size: 13px; }
  .account-login-points { grid-template-columns: 1fr; }
  .account-access-panel { padding: 26px 22px; }
  .account-main-logo { margin-bottom: 24px; }
  .account-primary-action { width: 100%; }
  .account-landing-footer { padding: 15px 0 20px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .account-loader { animation-duration: 1.5s; }
}
