/* The DL2 sign-in card (templates/registration/login.html): one look on munipro.com and munipro.ai.
   Colours, type and the focus ring come from features-v3/tokens.css; the page is light-pinned like the
   marketing pages. One filled control (Sign in, action blue); the two help links stack on a phone, so no
   separator is left dangling. */
:root { color-scheme: light; }

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../docs/fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../docs/fonts/source-serif-4-latin.woff2) format("woff2"); }

.si {
  --si-surface: var(--mp-warm-bg-alt);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--mp-sky);
  color: var(--mp-text);
  font-family: var(--mp-font-body);
  font-size: var(--mp-text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.si *, .si *::before, .si *::after { box-sizing: border-box; }
.si .f-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.si-hdr { background: var(--si-surface); border-bottom: 1px solid var(--mp-rule); }
.si-hdr__in {
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}
.si-home { display: inline-flex; align-items: center; min-height: 44px; border-radius: 4px; }
.si-home .dl-lockup { display: block; }

.si-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 16px 48px;
}
.si-card {
  width: 100%;
  max-width: 400px;
  padding: 32px;
  background: var(--si-surface);
  border: 1px solid var(--mp-rule);
  border-radius: 12px;
}
.si-title {
  margin: 0 0 24px;
  font-family: var(--mp-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mp-ink);
}
.si-title::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--mp-accent-500);
}

.si-form { display: grid; gap: 16px; }
.si-field { display: grid; gap: 6px; }
.si-field label { font-size: var(--mp-text-sm); font-weight: 600; color: var(--mp-ink); }
.si-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--mp-text);
  background: var(--si-surface);
  border: 1px solid var(--mp-control-border);
  border-radius: 8px;
}
.si-field input:focus-visible { border-color: var(--mp-action); }

.si-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 20px;
  font: inherit;
  font-weight: 600;
  color: var(--mp-action-text);
  background: var(--mp-action);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.si-btn:hover { background: var(--mp-action-hover); }

.si-alert {
  padding: 12px 14px;
  font-size: var(--mp-text-sm);
  color: var(--mp-error);
  background: var(--si-surface);
  border: 1px solid var(--mp-error);
  border-left-width: 4px;
  border-radius: 8px;
}

.si-links {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 24px;
}
.si-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--mp-text-sm);
  color: var(--mp-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.si-links a:hover { color: var(--mp-action-hover); }
.si-note {
  margin: 8px 0 0;
  font-size: var(--mp-text-sm);
  color: var(--mp-muted);
  text-align: center;
}

.si-foot { padding: 24px 16px; text-align: center; font-size: var(--mp-text-xs); color: var(--mp-muted); }
.si-foot p { margin: 0; }
.si-foot a { color: inherit; }
.si-foot a:hover { color: var(--mp-action-hover); }

.si a:focus-visible,
.si-btn:focus-visible,
.si-field input:focus-visible { outline: 2px solid var(--mp-focus-ring); outline-offset: 2px; }

@media (max-width: 480px) {
  .si-hdr__in { height: 64px; padding: 0 16px; }
  .si-main { padding-top: 32px; }
  .si-card { padding: 24px 20px; }
  .si-links { flex-direction: column; align-items: center; }
}
