/* ==========================================================================
   Port shim — loaded AFTER site.css, which is kept byte-identical to the
   .NET site. Nothing here changes the design; it re-creates one .NET layout
   behaviour that depended on a WebForms artefact.

   The .NET master wrapped header + nav + content + footer in a single
   <form runat="server">, and site.css styles the `form` SELECTOR as the white
   page card:

       form { background:#fff; margin:20px auto; padding:20px;
              border:1px solid #d7d7d7; box-shadow:none; border-radius:0; }

   FastAPI has no page-wide postback form, so that card disappeared and the grey
   page background showed through. Worse, every discrete form we do have (login
   dropdown, logout, change/forgot password) was picking up the card styling.

   So: neutralise `form`, and move the card onto an explicit .page-shell wrapper.
   ========================================================================== */

/* 1) Forms are ordinary controls again, not the page shell. */
form {
    background: none;
    margin: 0;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* 2) The page card, with the exact values site.css computed for `form`
      (the later override in site.css wins: square corners, no shadow, crisp edge). */
.page-shell {
    background: #fff;
    margin: 20px auto;
    max-width: 100%;
    padding: 20px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    box-shadow: none;
}
