/* Sign-in and first-run forms, and the account entry in the header. */
/* The added section pills must never push the account entry off the header. */
.links { flex-wrap: wrap; }
.nav-apps { display: inline-flex; gap: .25rem; align-items: center; margin-left: .35rem; }
.nav-app { font-size: .9rem; }
.nav-app[aria-current="page"] { background: rgba(6, 40, 26, .14); border-color: rgba(6, 40, 26, .5); }
.nav-count { display: inline-block; min-width: 1.15rem; margin-left: .25rem; padding: 0 .3rem; border-radius: 2px; background: #06281a; color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.25rem; text-align: center; }
.nav-account { margin-left: .5rem; }
.nav-who { color: var(--on-green); font-weight: 600; margin-left: .6rem; white-space: nowrap; text-decoration: none; }
.nav-who:hover { background: var(--gh-hover); }
.account-nav, .admin-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 18px 0 22px; padding: 0 0 14px; border-bottom: 1px solid var(--rule); }
.account-nav a, .admin-nav a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: 2px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.account-nav a:hover, .admin-nav a:hover { border-color: var(--link); color: var(--link); }
.account-nav a[aria-current="page"], .admin-nav a[aria-current="page"] { background: var(--bg-2); border-color: var(--rule); color: var(--ink); }
.nav-form { display: inline; margin: 0; }
.nav-out { background: none; cursor: pointer; font-size: .9rem; }
.nav-out:hover { background: rgba(255, 255, 255, .08); }
.account {
  max-width: 460px;
  margin: 56px auto 72px;
  padding: 0 4px;
}
.account h1 { margin: 0 0 10px; }
.account .sub { margin: 0 0 26px; color: var(--muted); }
.account .small { margin-top: 22px; font-size: .86rem; }
@media (max-width: 720px) { .table th, .table td { white-space: normal; } }
.account label {
  display: block;
  margin: 18px 0 6px;
  font-size: .9rem;
  font-weight: 600;
}
.account input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
}
.account input:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.account .btn { margin-top: 24px; }
.table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .94rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: none; font-family: var(--font-display); letter-spacing: 0; }
.roles { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.role-set { display: flex; gap: 10px; flex-wrap: wrap; }
.role { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; color: var(--text); font-weight: 400; margin: 0; }
.role input { width: auto; padding: 0; }
.btn-small { padding: .35rem .8rem; font-size: .85rem; }
.note { background: #123024; border: 1px solid #1f5c3d; color: #d8f5e4; padding: 10px 12px; border-radius: 3px; margin: 0 0 4px; }

.pill { display: inline-block; margin-left: .45rem; padding: .05rem .5rem; border: 1px solid var(--rule); border-radius: 2px; font-size: .75rem; color: var(--muted); }

.account .alert {
  background: #3a1616;
  border: 1px solid #6b2626;
  color: #ffd9d9;
  padding: 10px 12px;
  border-radius: 3px;
}
