/* v235 - all pages: the row under the top bar lines up with the top bar (same width); the name and date sit at its right end.
   Locations: the Target / Working / Licensed / Pending / Inactive switches and Operator sit in that row (js/hdr-v235.js),
   small, with the word over each switch. Less space under the "? Locations" heading. */
.whoami-bar > .wrap.whoami-inner { max-width: 1340px; }   /* the same width as the top bar: lined up with its left and right ends */
.whoami-inner { justify-content: flex-start; }
.work-state { order: 1; }
.hdr-filters { order: 2; }
.whoami-links { order: 3; margin-right: 0; }
.whoami-name { order: 90; margin-left: auto; }
.whoami-date { order: 91; }

/* the switches in the row */
.hdr-filters { display: flex; align-items: flex-end; gap: 4px 12px; margin: 0 6px; flex-wrap: nowrap; }
.hdr-filters .gl-chk { display: inline-flex; flex-direction: column-reverse; align-items: center; gap: 3px; margin: 0; padding: 0;
    font-size: .68rem; font-weight: 700; line-height: 1; color: #4a5a72; cursor: pointer; white-space: nowrap; }
.whoami-bar .hdr-filters .gl-chk input[type=checkbox] { -webkit-appearance: none; appearance: none; position: relative; box-sizing: border-box; width: 30px; height: 17px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0;
    border-radius: 999px; background: #c9d3e0; cursor: pointer; transition: background .15s; flex: 0 0 auto; }
.whoami-bar .hdr-filters .gl-chk input[type=checkbox]::before { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.whoami-bar .hdr-filters .gl-chk input[type=checkbox]:checked { background: #1e9e4a; }
.whoami-bar .hdr-filters .gl-chk input[type=checkbox]:checked::before { transform: translateX(13px); }
.whoami-bar .hdr-filters .gl-chk input[type=checkbox]:focus-visible { outline: 2px solid #1957b8; outline-offset: 2px; }
.hdr-filters .gl-op-pick { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; margin: 0; align-self: flex-end;
    font-size: .68rem; font-weight: 700; line-height: 1; color: #4a5a72; }
.whoami-bar .hdr-filters .gl-op-pick select { box-sizing: border-box; line-height: 1; height: 24px; min-height: 0; max-width: 170px; padding: 0 22px 0 6px; font-size: .78rem; border-radius: 6px; }
[data-theme=dark] .hdr-filters .gl-chk, [data-theme=dark] .hdr-filters .gl-op-pick { color: #a9b8cf; }
[data-theme=dark] .whoami-bar .hdr-filters .gl-chk input[type=checkbox] { background: #3a4a63; }
[data-theme=dark] .whoami-bar .hdr-filters .gl-chk input[type=checkbox]:checked { background: #1e9e4a; }
/* what's left in the card under it: the count and + Add location */
.gl-staff.gl-staff-moved { padding-top: 8px; padding-bottom: 8px; }

/* Locations: less space under "? Locations" - the Reset / Previous / Next row comes up beside the heading */
.page-head:has(+ .gaming-list-wrap) { margin-bottom: 0; }
@media (min-width: 900px) {
    .page-head:has(+ .gaming-list-wrap) + .gaming-list-wrap > .gl-bar:not(:has(.alert)) { margin-top: -46px; margin-bottom: 8px; }
}
