/* Additions to the admin design (lib/styles/admin.css, an unchanged copy of Source/Admin/Lib/Styles/admin.css) for what
   only this site has. Pages use the admin design's class names; put a rule here only when it has none. */

/* Log out is a form post here (a link in the legacy admin) */
.account form { display: flex; margin: 0; }
.account button.linklike { height: auto; box-shadow: none; font-size: 13px; }
.login-card button[type="submit"] { width: 100%; height: 40px; }
.login-card p { text-align: center; }

/* Without script (forms.js marks html.js) the top bar menus open on hover and keyboard focus */
html:not(.js) .mainnav li.has-menu:is(:hover, :focus-within) > .menu { display: block; }

.alert-warn { display: block; background: var(--warn-bg); border: 1px solid #fedf89; color: var(--warn); padding: 10px 14px; border-radius: var(--radius-sm); margin: 0 0 16px; }
.alert-error ul, .alert-warn ul { margin: 6px 0 0; padding-left: 18px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Serial numbers */
.title-pill { align-self: flex-end; margin-bottom: 4px; }
/* A redirect to this section: its top clears the sticky top bar */
#offline { scroll-margin-top: calc(var(--topbar) + 16px); }
.danger-zone.neutral { border-color: var(--line); background: var(--bg-soft); }
.gridview tr.dim td { color: var(--muted); }
.gridview form { margin: 0; }
/* Machine profiles and trial keys in full: similar machines share long prefixes */
.hash { overflow-wrap: anywhere; }
.activation-code { font-family: var(--mono); font-size: 16px; font-weight: 600; letter-spacing: .03em; user-select: all; }
