/* P3 Tools sign-in screen: the 3D P3 Tools logo on a dark stage, the sign-in card beside it.
   Master copy: Vibes/brand/signin/p3-signin.css (copy it byte-identical into each app, LF endings).
   The stage is always dark and the card always light, whatever the app's theme, so every app's
   sign-in looks the same. Markup is in brand/signin/README.md. */
.p3si {
  position: fixed; inset: 0; z-index: 1000; overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 32px; box-sizing: border-box;
  background: radial-gradient(1100px 620px at 30% 45%, #26262b 0%, #0f0f11 70%) #0f0f11;
  color: #f2f0f0; font-family: "Barlow", "Segoe UI", system-ui, sans-serif;
}
.p3si[hidden] { display: none; }
.p3si *, .p3si *::before, .p3si *::after { box-sizing: border-box; }
.p3si__stage { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.p3si__logo { display: block; width: min(520px, 80%); height: auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .55)); }
.p3si__tag { margin: 0; color: #a7a4a7; font-size: 16px; text-align: center; }
.p3si__card {
  justify-self: start; width: 100%; max-width: 400px;
  background: #fff; color: #1f2328; border-radius: 14px; padding: 34px 32px;
  box-shadow: 0 24px 60px rgb(0 0 0 / .45); text-align: left; font-size: 15px; line-height: 1.5;
}
.p3si__card h1 { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: #1f2328; }
.p3si__card p { margin: 0 0 18px; color: #5b6168; }
.p3si__btn {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 0; border-radius: 8px;
  background: #cc0000; color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: none;
}
.p3si__btn:hover { background: #a30000; }
.p3si__btn:focus-visible { outline: 3px solid #f2b8b5; outline-offset: 2px; }
.p3si__btn[disabled] { opacity: .6; cursor: default; }
.p3si__link { display: inline-block; margin-top: 14px; color: #cc0000; font-size: 14px; font-weight: 500; text-decoration: none; }
.p3si__link:hover { text-decoration: underline; }
.p3si__note { margin: 18px 0 0 !important; padding-top: 14px; border-top: 1px solid #e3e5e8; font-size: 13px; color: #6a7078 !important; }
.p3si__card .p3si__msg { margin: 14px 0 0; font-size: 14px; color: #b42318; }
.p3si__card .p3si__msg:empty { display: none; }
@media (max-width: 860px) {
  .p3si { grid-template-columns: 1fr; align-content: start; padding: 28px 16px 40px; gap: 20px; }
  .p3si__logo { width: min(280px, 64%); }
  .p3si__tag { font-size: 14px; }
  .p3si__card { justify-self: center; padding: 28px 22px; }
}
