/* Only Maintenance 2026-11-23 — customer auth polish.
   Scoped to signed-out pages; does not touch desktop, app navigation or data.
   iOS text fields are at least 16px so focus does not trigger Safari auto-zoom.
   Pinch-to-zoom stays enabled. */
.guest-shell .om-auth-feedback{
  display:flex;align-items:center;gap:10px;min-width:0;
  margin:0 0 20px;padding:12px 14px;
  border:1px solid #bfd8c7;border-radius:12px;
  background:#eaf4ec;color:#1b624b;
  font-size:14px;font-weight:680;line-height:1.45;
}
.guest-shell .om-auth-feedback-error{background:#fff5ed;border-color:#e9bea8;color:#8e3f26}
.guest-shell .om-auth-feedback-symbol{
  display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;
  font-size:15px;font-weight:900;border-radius:50%;background:#d2e8da;color:#165940;
}
.guest-shell .om-auth-feedback-error .om-auth-feedback-symbol{background:#fbe0d0;color:#8e3f26}
.guest-shell .om-auth-feedback.om-auth-feedback-leaving{opacity:0;transition:opacity .25s ease}
@media (prefers-reduced-motion:reduce){.guest-shell .om-auth-feedback.om-auth-feedback-leaving{transition:none}}

@media (max-width:720px){
  /* Restore a genuinely phone-sized auth layout; overrides desktop-first defaults. */
  main.guest-shell{
    display:block;min-width:0;width:100%;max-width:100%;min-height:0;
    padding:18px 16px calc(38px + env(safe-area-inset-bottom));
  }
  main.guest-shell:has(.om-company-signup){padding-top:18px!important}
  .guest-shell .auth-wrap,.guest-shell .auth-wrap.om-company-signup{
    width:min(100%,460px);max-width:100%;margin:0 auto;
    display:flex;flex-direction:column;align-items:stretch!important;
    gap:18px;min-width:0;
  }
  .guest-shell .auth-message{width:100%;max-width:100%;min-width:0;overflow-wrap:break-word}
  .guest-shell .auth-message .om-entry-brand{
    display:inline-flex;align-items:center;gap:10px;margin:0 0 12px;
  }
  .guest-shell .auth-message .om-entry-icon{width:54px;height:54px;border-radius:12px;flex-shrink:0}
  .guest-shell .auth-message .om-entry-name{font-size:16px}
  .guest-shell .auth-message .eyebrow{font-size:10px;letter-spacing:.13em;line-height:1.3;margin-bottom:7px}
  .guest-shell .auth-message h1{font-size:clamp(28px,7.5vw,38px);line-height:1.11;margin:0 0 9px;letter-spacing:-.055em}
  /* The sign-in banner previously had a very tall, oversized four-line treatment. */
  .guest-shell .auth-message .om-signin-slogan{
    font-size:clamp(27px,7.4vw,34px)!important;
    line-height:1.12!important;letter-spacing:-.05em!important;
    text-wrap:pretty;max-width:100%;
  }
  .guest-shell .auth-message .om-signin-line{display:block;white-space:normal!important}
  .guest-shell .auth-message>p:last-child{
    font-size:14px;line-height:1.45;max-width:100%;margin:0;
    color:#64736a;
  }
  .guest-shell .auth-card{
    box-sizing:border-box;width:100%;max-width:100%;min-width:0;
    padding:22px 19px;border-radius:16px;
  }
  .guest-shell .auth-card h2{font-size:30px;line-height:1.13;margin:0 0 10px}
  .guest-shell .auth-card .eyebrow{font-size:10px;letter-spacing:.13em;margin:0 0 9px}
  .guest-shell .form-stack{gap:13px;margin-top:16px}
  .guest-shell .form-stack label{font-size:14px;line-height:1.35;gap:7px}
  .guest-shell :is(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),select,textarea){
    box-sizing:border-box;max-width:100%;min-width:0;
    font-size:16px!important;line-height:1.4;min-height:48px;
    -webkit-text-size-adjust:100%;
  }
  .guest-shell textarea{min-height:92px}
  .guest-shell .auth-card .btn{min-height:48px;white-space:normal}
  .guest-shell .auth-card>.muted{font-size:13px;line-height:1.5}
  .guest-shell .om-auth-feedback{margin-bottom:16px}
}
