/* POM v1.1.4.16: the existing unified login and registration, with a static
   Navy Signature identity. No external font, imagery, animation or blur. */
@media screen {
  body.pom-signature .pom-auth-screen {
    display: flex;
    align-items: safe center;
    justify-content: center;
    padding: 28px 22px;
    overflow: auto;
    background: #eef2f8;
    color: #1b2d49;
  }
  body.pom-signature .auth-shell {
    width: min(1010px, 100%);
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
    margin: auto;
  }
  body.pom-signature .auth-shell.register { width: min(1120px, 100%); }
  body.pom-signature .pom-auth-frame {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #d8e3ee;
    border-radius: 18px;
    box-shadow: 0 18px 48px #152e5014;
    overflow: hidden;
  }
  body.pom-signature .auth-shell.register .pom-auth-frame { grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); }
  body.pom-signature .pom-auth-story {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 38px;
    padding: 42px 38px;
    overflow: hidden;
    background: linear-gradient(130deg, #102744, #173d69 70%, #234c7e);
    color: #fff;
  }
  body.pom-signature .pom-auth-story::before,
  body.pom-signature .pom-auth-story::after {
    content: '';
    position: absolute;
    right: -155px;
    bottom: -30px;
    width: 420px;
    height: 420px;
    border: 1px solid #98bde52a;
    border-radius: 52px;
    transform: rotate(-28deg);
    pointer-events: none;
  }
  body.pom-signature .pom-auth-story::after { right: -110px; bottom: -90px; border-color: #98bde51c; }
  body.pom-signature .pom-auth-story > * { position: relative; z-index: 1; }
  body.pom-signature .pom-auth-brand { font-size: 36px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; }
  body.pom-signature .pom-auth-brand span { display: block; margin-top: 9px; color: #c3d7ee; font-size: 12px; letter-spacing: .015em; font-weight: 400; }
  body.pom-signature .pom-auth-eyebrow { margin: 0 0 15px; font-size: 13px; color: #c3d7ee; font-weight: 500; }
  body.pom-signature .pom-auth-story-copy h2 { margin: 0; color: #fff; font-size: 31px; line-height: 1.45; letter-spacing: -.045em; font-weight: 700; word-break: keep-all; }
  body.pom-signature .pom-auth-story-copy > p:last-child { margin: 18px 0 0; color: #d2e1f1; font-size: 14px; line-height: 1.8; }
  body.pom-signature .pom-auth-features { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid #a9c5e52e; }
  body.pom-signature .pom-auth-features > span { display: flex; align-items: center; gap: 11px; color: #e2edf9; font-size: 13px; }
  body.pom-signature .pom-auth-features .pom-metric-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px; color: #c7ddff; background: #6088bc29; }
  body.pom-signature .auth-card,
  body.pom-signature .auth-card.register { min-width: 0; max-width: 100%; border: 0; border-radius: 0; box-shadow: none; padding: 35px 36px 31px; background: #fff; color: #1b2d49; }
  body.pom-signature .auth-ci { width: min(180px, 65%); height: auto; margin-bottom: 26px; }
  body.pom-signature .auth-kicker { font-size: 12px; color: #2b5dd2; margin: 0 0 7px; font-weight: 650; }
  body.pom-signature .auth-card h1 { margin: 0 0 7px; font-size: 25px; letter-spacing: -.035em; font-weight: 750; color: #192f4d; }
  body.pom-signature .auth-subtitle { font-size: 13px; color: #596b83; margin: 0; }
  body.pom-signature .auth-card .field { min-width: 0; }
  body.pom-signature .auth-card .field label { display: block; color: #435873; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
  body.pom-signature .auth-card input { min-width: 0; width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #c5d3e4; border-radius: 7px; background: #fff; color: #1b2d49; }
  body.pom-signature .auth-card input:focus-visible { border-color: #668ed9; outline: 3px solid #bdd2f9; outline-offset: 1px; }
  body.pom-signature .auth-card .password-wrap input { padding-right: 66px; }
  body.pom-signature .auth-card .password-toggle { top: 7px; right: 7px; height: 29px; background: #edf2f8; border-radius: 5px; color: #45607e; }
  body.pom-signature .auth-message { margin: 9px 0; min-height: 22px; font-size: 12px; color: #a73441; overflow-wrap: anywhere; }
  body.pom-signature .auth-card .btn { border: 1px solid #ccd8e7; border-radius: 7px; padding: 10px 13px; background: #fff; color: #2e4668; font-weight: 650; font-size: 13px; box-shadow: none; }
  body.pom-signature .auth-card .btn:hover { background: #f2f6fc; border-color: #91aed9; }
  body.pom-signature .auth-card .btn-primary { color: #fff; background: #2b5dd2; border-color: #2b5dd2; box-shadow: 0 2px 5px #1a47a51a; }
  body.pom-signature .auth-card .btn-primary:hover { background: #214eb5; border-color: #214eb5; }
  body.pom-signature .auth-card .pom-install-btn { color: #315c9c; background: #f5f8fd; }
  body.pom-signature .auth-manual-grid { gap: 8px; margin-top: 15px; padding-top: 16px; border-top: 1px solid #e2e8f1; }
  body.pom-signature .auth-card .auth-manual-link { font-size: 12px; padding: 9px 6px; white-space: normal; text-align: center; }
  body.pom-signature .auth-security { margin-top: 13px; padding: 10px 12px; border-color: #e0e7f0; background: #f7f9fc; border-radius: 7px; }
  body.pom-signature .auth-security summary { color: #4e627e; font-weight: 600; font-size: 12px; }
  body.pom-signature .auth-security div { color: #596b83; font-size: 12px; line-height: 1.65; }
  body.pom-signature .auth-footer { margin-top: 15px; color: #566b83; font-size: 11px; line-height: 1.6; text-align: center; }
  body.pom-signature .auth-register-grid { gap: 13px 14px; }
  body.pom-signature .auth-card.register > .muted { font-size: 13px; color: #596b83; }
  @media (max-width: 820px) {
    body.pom-signature .pom-auth-screen { padding: 20px 16px; align-items: flex-start; }
    body.pom-signature .auth-shell,
    body.pom-signature .auth-shell.register { width: min(620px, 100%); }
    body.pom-signature .pom-auth-frame,
    body.pom-signature .auth-shell.register .pom-auth-frame { grid-template-columns: minmax(0, 1fr); }
    body.pom-signature .pom-auth-story { padding: 25px 29px; gap: 21px; }
    body.pom-signature .pom-auth-brand { font-size: 29px; }
    body.pom-signature .pom-auth-brand span { margin-top: 5px; font-size: 11px; }
    body.pom-signature .pom-auth-eyebrow { margin-bottom: 8px; font-size: 12px; }
    body.pom-signature .pom-auth-story-copy h2 { font-size: 24px; }
    body.pom-signature .pom-auth-story-copy > p:last-child { margin-top: 10px; font-size: 12px; }
    body.pom-signature .pom-auth-features { display: flex; flex-wrap: wrap; gap: 10px 15px; padding-top: 15px; }
    body.pom-signature .pom-auth-features > span { gap: 6px; font-size: 12px; }
    body.pom-signature .pom-auth-features .pom-metric-icon { width: 24px; height: 24px; flex-basis: 24px; }
    body.pom-signature .auth-card,
    body.pom-signature .auth-card.register { padding: 28px 29px; }
  }
  @media (max-width: 480px) {
    body.pom-signature .pom-auth-screen { padding: 14px 11px; }
    body.pom-signature .pom-auth-story { padding: 23px; }
    body.pom-signature .auth-card,
    body.pom-signature .auth-card.register { padding: 25px 23px; }
    body.pom-signature .auth-register-grid { grid-template-columns: minmax(0, 1fr); }
    body.pom-signature .auth-card input { font-size: 16px; }
    body.pom-signature .auth-footer { font-size: 11px; }
  }
}
