/* Sign in (signin.html). Reuses the form pieces from start.css. */
.si { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100vh; }

/* Left: photo with the role's welcome */
.si-hero {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem); color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(15,26,51,.55), rgba(15,26,51,.85)), var(--si-img, none) center / cover no-repeat, var(--ink);
}
body[data-role="staff"] .si-hero { background: linear-gradient(160deg, rgba(15,26,51,.92), rgba(39,88,150,.88)), var(--si-img, none) center / cover no-repeat, var(--ink); }
.si-hero__logo { align-self: flex-start; padding: .55rem .8rem; border-radius: var(--radius-sm); background: #fff; }
.si-hero__logo img { height: 34px; width: auto; }
.si-hero__copy { max-width: 30rem; }
.si-hero__copy .eyebrow { color: #ffb3b6; }
.si-hero__copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.si-hero__copy p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.si-hero__points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; }
.si-hero__points li { display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.si-hero__points li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(255,255,255,.18); font-size: .75rem; font-weight: 700; }
.si-hero__quote { margin: 0; font-family: var(--display); font-size: 1.05rem; color: rgba(255,255,255,.75); }

/* Right: the form */
.si-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem) 6rem; background: var(--surface); }
.si-panel > * { width: min(100%, 440px); }
.si-step { gap: 1.1rem; }
.si-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--bg); }
.si-roles a { padding: .5rem .5rem; border-radius: 999px; text-align: center; font-size: .86rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.si-roles a.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15,26,51,.12); }
.si-remember { font-weight: 400; font-size: .92rem; }
.si-remember input { accent-color: var(--brand); }
.si-pass { position: relative; }
.si-pass .input { padding-right: 4.5rem; }
.si-pass__toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); padding: .35rem .6rem; border: 0; border-radius: 8px; background: var(--bg); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.si-device { display: flex; gap: .8rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; }
.si-device small { display: block; color: var(--muted); }
.si-done { justify-items: center; text-align: center; }
.si-done .wz-lead { margin: 0; }
.si .wz-actions { position: static; margin-bottom: 0; }

@media (max-width: 860px) {
  .si { grid-template-columns: 1fr; min-height: 0; }
  .si-hero { gap: 1rem; padding-bottom: 1.75rem; }
  .si-hero__points, .si-hero__quote { display: none; }
  .si-hero__copy p { margin-bottom: 0; }
  .si-panel { justify-content: flex-start; }
}
@media (max-width: 420px) { .si-roles a { font-size: .78rem; padding-inline: .25rem; } }
