/* E30a (SLDS phase 2, Sign-in lane): the branded sign-in skin over SLDS, for the sign-in page and the
   entrance pages around it (templates/account/login_branded.html, entrance_branded.html). Branded
   frames only: the neutral twin may not link a sheet whose name says "orona" (A17, test_home.py).
   Every selector starts .o-signin (0-2-0), so it beats the SLDS normalise (.slds-scope h1/p/a/img,
   0-1-1) that would otherwise take the title size, the tagline margins, the link underline and the
   logo and photo sizes of css/app.css (.sign-in*, which stays until E32). Colours only through the
   --orona-* variables; white is the only hex. Per the approved mock (output/designer/2026-10-21/
   sign-in, owner picks 21 Oct): the title stays navy (E30-Q2 A), the left panel white with the green
   logo; the one green is the filled button (the darker green, white text, F379). */

/* The normalise, re-asserted. */
.o-signin .sign-in__title { font-size: 28px; line-height: 1.2; margin: 0; color: var(--orona-navy); font-weight: 700; }
.o-signin .sign-in__product { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--orona-navy); }
.o-signin .sign-in__tagline { margin: 8px 0 32px; color: var(--orona-navy); font-size: 15px; line-height: 1.5; }
.o-signin .sign-in__form { max-width: 360px; width: 100%; }
.o-signin .sign-in__logo { height: 64px; width: auto; max-width: none; }
.o-signin .sign-in__photo img { height: 100%; }

/* E1's fields at the form's width, 40 px tall on a desktop. */
.o-signin .o-field__control { max-width: none; }
.o-signin .slds-input { min-height: 40px; font-size: 15px; }
.o-signin .o-notice { max-width: 360px; }
.o-signin .o-error-summary:focus { outline: 2px solid var(--orona-navy); outline-offset: 2px; }

/* The one submit, full width; the text links underlined at rest. */
.o-signin .o-signin__submit { width: 100%; justify-content: center; min-height: 44px; font-size: 15px; font-weight: 700; }
.o-signin .sign-in__link { display: inline-block; margin-top: 20px; font-size: 14px; color: var(--orona-navy); text-decoration: underline; text-underline-offset: 2px; }
.o-signin .o-signin__links-row { display: block; margin: 0; }

/* Phone (the css/app.css stack: photo band on top). Every target at least 44 px. */
@media (max-width: 720px) {
  .o-signin .sign-in__logo { height: 32px; }
  .o-signin .sign-in__title { font-size: 22px; }
  .o-signin .sign-in__form,
  .o-signin .o-notice { max-width: none; }
  .o-signin .slds-input { min-height: 44px; }
  .o-signin .sign-in__link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* E30b: the step pages. "Cancel" and "Sign out" are SLDS's base button drawn as a link: navy,
   underlined at rest, 44 px tall on a phone; the hint under the set-up button in the body text. */
.o-signin .o-signin__leave { color: var(--orona-navy); text-decoration: underline; text-underline-offset: 2px; padding: 0; font-size: 14px; font-weight: 600; }
.o-signin .o-signin__leave:hover { color: var(--orona-navy); }
.o-signin .sign-in-steps__messages,
.o-signin .sign-in-steps__list,
.o-signin .sign-in-steps__key-label,
.o-signin .o-field__hint { color: var(--orona-navy); }
.o-signin .sign-in-steps__body .o-signin__submit { max-width: 360px; }
@media (max-width: 720px) {
  .o-signin .o-signin__leave { min-height: 44px; display: inline-flex; align-items: center; }
  .o-signin .sign-in-steps__body .o-signin__submit { max-width: none; }
}

/* One look v0.6.0 (Q352 / Q363, orona-slds-taps.css): on a finger, at every width, "Forgotten your password?" and the
   leave link are 44 px tall, as a phone draws them (orona-sign-in.css:37, :50); a mouse keeps the 22 px link. */
@media screen and (pointer: coarse) {
  .o-signin :is(.sign-in__link, .o-signin__leave) { display: inline-flex; align-items: center; min-height: 44px; }
}
