/* Shared public access pages; signed-in workspaces keep their own appearance. */
.auth-page { background: #f2f5f8; color: #233040; }
.app-shell.auth-page:not(.document-body) { padding-left: 0; }
.auth-page .auth-header,
.app-shell.auth-page:not(.document-body) .auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 28px;
  border-bottom: 1px solid #dce3eb;
}
.auth-brand { display: inline-flex; text-decoration: none; }
.auth-brand .preqora-brand { color: #19344f; }
.auth-website { flex-shrink: 0; color: #526579; font-size: .85rem; text-decoration: none; }
.auth-website span { margin-left: 5px; }
.auth-website:hover { color: #19344f; text-decoration: underline; text-underline-offset: 4px; }
.auth-page .auth-main { max-width: 624px; padding: 44px 24px 40px; }
.auth-page .auth-main-login { max-width: 528px; }
.auth-page .auth-card { margin: 0; padding: 32px; border: 1px solid #dce3eb; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px #19344f06; }
.auth-card .section-kicker { margin: 0 0 12px; color: #416886; font-size: .7rem; line-height: 1.5; letter-spacing: .1em; }
.auth-card :is(h1, h2) { margin: 0 0 16px; color: #19344f; font-size: clamp(1.55rem, 3vw, 1.9rem); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; overflow-wrap: break-word; hyphens: none; }
.auth-card p { font-size: .94rem; line-height: 1.65; }
.auth-card > p { margin: 0 0 20px; }
.auth-card > :last-child { margin-bottom: 0; }
.auth-card .muted, .auth-card .helptext { color: #606d7d; }
.auth-card .muted { font-size: .85rem; }
.auth-card form { margin: 24px 0 20px; }
.auth-card form p { margin: 0 0 20px; }
.auth-card label { margin-bottom: 8px; color: #233040; font-size: .9rem; font-weight: 600; }
.auth-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #cbd7e3; border-radius: 9px; background: #fff; color: #233040; font-size: 1rem; }
.auth-card .helptext { display: block; margin-top: 8px; font-size: .8rem; line-height: 1.6; }
.auth-card ul { padding-left: 20px; font-size: .82rem; line-height: 1.6; }
.auth-card .errorlist { margin: 0 0 12px; padding: 10px 12px 10px 30px; border: 1px solid #e5b0b0; border-radius: 8px; background: #fff3f3; color: #8f2424; }
.auth-card form p:has(input[type="checkbox"]) { position: relative; padding-left: 30px; }
.auth-card form p:has(input[type="checkbox"]) input { position: absolute; top: 3px; left: 0; width: 18px; height: 18px; margin: 0; accent-color: #19344f; }
.auth-card form p:has(input[type="checkbox"]) label { display: inline; font-weight: 400; }
.auth-card .button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 48px; padding: 12px 18px; border-radius: 9px; background: #19344f; color: #fff; font-size: .94rem; line-height: 1.5; text-align: center; text-decoration: none; white-space: normal; }
.auth-card .button:hover { background: #244867; }
.auth-card form > .button, .auth-card .login-submit { width: 100%; margin-top: 4px; }
.auth-card .button-secondary { width: 100%; border: 1px solid #cbd7e3; background: #fff; color: #19344f; }
.auth-card .button-secondary:hover { background: #f2f5f8; }
.auth-card .auth-facts { margin: 22px 0; border: 1px solid #dce3eb; border-radius: 10px; background: #f7f9fb; }
.auth-facts > div { padding: 13px 16px; }
.auth-facts > div + div { border-top: 1px solid #dce3eb; }
.auth-facts dt { margin-bottom: 3px; color: #606d7d; font-size: .78rem; }
.auth-facts dd { margin: 0; color: #233040; font-size: .94rem; font-weight: 600; overflow-wrap: anywhere; }
.auth-office { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 576px; margin: 26px auto -18px; padding: 0 24px; color: #606d7d; font-size: .85rem; overflow-wrap: anywhere; }
.auth-office .office-logo { max-width: 96px; max-height: 44px; margin: 0; object-fit: contain; }
.auth-page .product-copyright { margin-top: 25px; text-align: center; font-size: .7rem; }
.auth-page a:focus-visible, .auth-card :is(input, button):focus-visible { outline: 3px solid #7ca7d0; outline-offset: 3px; }
@media (max-width: 600px) {
  .auth-page .auth-header,
  .app-shell.auth-page:not(.document-body) .auth-header { padding: 22px 20px; gap: 12px; }
  .auth-brand .preqora-brand-wordmark { font-size: 26px; }
  .auth-brand .preqora-brand-mark { width: 23px; height: 27px; flex-basis: 23px; }
  .auth-website { font-size: .78rem; }
  .auth-page .auth-main { padding: 24px 16px 30px; }
  .auth-page .auth-card { padding: 24px 20px; border-radius: 14px; }
  .auth-card :is(h1, h2) { font-size: 1.55rem; }
  .auth-card .auth-facts > div { padding: 12px; }
  .auth-office { margin: 20px auto 0; }
}
