  #realm-login-tab {
    display: flex;
    flex-direction: column;
    color: #005C83;
    align-items: center;
    margin-top: -8px;                    /* resting position, whole pixels */
    animation: dropRealmFromTop 1s ease-out both;
  }
  #realm-login-tab .realm-tab {
    box-sizing: border-box;
    width: 314px;
    padding: 9px 17px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #16324F;
    border: 0;
    border-radius: 11px;
    /* The first shadow draws the light rule across the top: 51px is the 40px
       overhang plus an 11px rule, of which 3px shows once the tab rests 8px above
       the window edge. The rule is #669DB5, the brand teal mixed 40% toward
       white, and deliberately not white, which reads as a gap against the light
       page. The second is the dropped-panel shadow this site already uses
       elsewhere. Order matters, and box-shadow does not append, so anything
       overriding this must re-list both. */
    font-family: "Roboto", "Montserrat", Arial, sans-serif;
    font-weight: 400;                    /* the header sets 300, and it inherits */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease,
                background-color .18s ease;
  }
  #realm-login-tab .realm-tab:hover {
    background-color: #0F253C;           /* the fill darkened one step */
    transform: translateY(3px);
    box-shadow:
      inset 0 51px 0 0 #0F253C,
      0 12px 16px -3px rgba(0, 0, 0, .36);
  }
  #realm-login-tab .realm-tab:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
  }
  #realm-login-tab .realm-tab-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    /* The white tab's icon effect inverted: a white icon in a chip of the fill
       lightened one step, #16324F mixed 14% toward white. */
    background: #374F68;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  #realm-login-tab .realm-tab-icon svg {
    flex: none;
    display: block;
    width: 24px;
    height: 24px;
    color: #fff;
  }
  #realm-login-tab .realm-tab-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1;
    gap: 5px;
    white-space: nowrap;
  }
  #realm-login-tab .realm-tab-title {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 20px;
    color: #fff;
  }
  #realm-login-tab .realm-tab-tasks {
    font-size: 15px;
    /* The one light tint, #C7DBE4, so the two lines carry different tones the
       way the white tab's teal title and gray task line did. Full opacity on
       purpose: the task line carries the value proposition and is never
       dimmed. */
    color: #C7DBE4;
  }
  /* Transform rather than margin-top, which is the difference between a smooth
     entrance and a stuttering one.

     Animating margin changes layout, so the browser recalculates and repaints the
     whole header on the main thread for every one of the ~60 frames, competing with
     whatever else that thread is doing. Transform is composited instead: no layout,
     no repaint, and the movement is handed to the compositor thread, which is
     GPU-accelerated on typical hardware. The reviewer prototype labelled the two
     options Current (CPU) and Transform (GPU) for exactly this reason.

     Travel is 90px rather than the old 62px, because 62 leaves the tab's bottom edge
     at y=+4 with its shadow below that, so a sliver of tab shows before the motion
     starts. */
  @keyframes dropRealmFromTop {
    from { transform: translateY(-90px); }
    to   { transform: translateY(0); }
  }
}

/* No prefers-reduced-motion guard existed anywhere in this stylesheet, so the drop
   played for every visitor regardless of their OS setting. A combined query rather
   than one nested inside the 992px block above, so it behaves the same wherever in
   the file it sits. margin-top: -8px still applies, so the tab simply arrives
   already in place. */
@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  #realm-login-tab {
    animation: none;
    transform: none;
  }
}