/* The plain frame (PLAN-site-shell §3, C5; re-homed onto layout.html's
   frame blocks in C6). plain.html links this file from frame_head, so it loads
   on plain pages only — error pages, sign-in, request access, and the pages
   invited outsiders see — and never on the voter pages or in the shell.

   The brand header is a direct child of <body>, above <main>, so it needs its
   own width inside body's flex column; <main> keeps layout.html's flash bar and
   the page. Nothing is fixed at the top of a plain page, so the chrome line is
   only a margin: a flash message floats 1rem from the top. */

.plain-frame {
    --chrome-top: 1rem;
}

.plain-top {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

/* The header already clears the top of the page, so <main> adds nothing
   above the page (site.css's `body > main` padding, the voter pages' top,
   does not apply here). */
.plain-frame > main {
    padding-top: 0;
}

.plain-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.plain-brand img {
    height: 1.75rem;
    width: auto;
}

/* The name beside the mark, as the shell's full rail sets it (RULING-site-shell-rebrand-0 Q1). */
.plain-brand-word {
    color: #72226d;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
