/* EllGab Modern v1.0.43 — guest login narrow desktop panel correction.
   Extends v1.0.42 only; does not alter form markup, login behavior, or mobile. */
@media screen and (min-width: 701px) {
  #upper_section .user:has(#guest_form) {
    min-width: 0;
    overflow: visible !important;
  }
  #upper_section #guest_form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    overflow: visible !important;
  }
  #upper_section #guest_form > .info:first-child {
    grid-column: 1 / -1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }
  #upper_section #guest_form input[name="user"],
  #upper_section #guest_form input[name="passwrd"],
  #upper_section #guest_form select[name="cookielength"] {
    min-width: 0 !important;
    width: 100% !important;
  }
  #upper_section #guest_form select[name="cookielength"] {
    grid-column: 1;
  }
  #upper_section #guest_form input[type="submit"] {
    grid-column: 2;
    justify-self: start !important;
  }
}
