/* FrontierPhysics Submission: GitHub's look. primer.css (tools/vendor_primer.py) is GitHub's design system;
   this file adds what github.com builds on top of it (its app header, side panels, sign-in page, footer,
   topics and language dots), with github.com's own measurements and Primer's tokens only, so light and
   dark both follow GitHub. */

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
code { padding: .2em .4em; font-size: 85%; background: var(--bgColor-neutral-muted); border-radius: var(--borderRadius-medium); }
.fp-mark { flex: none; }
.gap-1 { gap: var(--base-size-4) !important; }  /* github.com's gap utilities, which Primer CSS 22 lacks */
.gap-2 { gap: var(--base-size-8) !important; }
.gap-3 { gap: var(--base-size-16) !important; }
/* A default button's 1px resting shadow: github.com's React pages draw it, its server-rendered ones (settings) lose it to
   a token Primer no longer defines. Ours follow the page they are drawn after; dialogs are React everywhere. */
.Dialog, .ListPage, .PageColumns, .NewTask { --button-default-shadow-inset: 0 0 #0000; }

/* --- app header: github.com's global navigation, with the sizes github.com renders it at ------------- */
@font-face { font-family: "Noto Sans Backtick Fix"; src: local("sans-serif"), local("Arial"), local("Helvetica"); font-display: swap;
  unicode-range: U+60; }  /* github.com's own: Primer's font stack names it, so a backtick never comes from Noto Sans */
.AppHeader { color: var(--fgColor-default); background: var(--bgColor-inset);
  box-shadow: inset 0 calc(var(--borderWidth-thin) * -1) var(--borderColor-default); }
/* three regions, padded as github.com pads them: the bar itself has no gap */
.AppHeader-globalBar { display: flex; }
.AppHeader-globalBar-start, .AppHeader-globalBar-center, .AppHeader-globalBar-end { display: flex; gap: var(--base-size-8); padding: var(--base-size-16); }
.AppHeader-globalBar--withLocalNav > * { padding-bottom: var(--base-size-4); }
.AppHeader-globalBar-start { flex: 0 1 auto; padding-right: var(--base-size-8); }
.AppHeader-globalBar-center { flex: 1 1 0%; min-width: 0; padding-inline: 0; }
.AppHeader-globalBar-end { flex: 0 1 auto; align-items: center; padding-left: var(--base-size-8); }
.AppHeader-topActions { display: flex; gap: var(--base-size-8); align-items: center; }
@media (max-width: 1024px) { .AppHeader-globalBar-center { justify-content: flex-end; } }
@media (max-width: 543px) { .AppHeader-globalBar-end { padding-left: 0; } }
.AppHeader-logo { display: grid; flex: none; place-items: center; width: var(--base-size-32); height: var(--base-size-32);
  margin-left: var(--base-size-4); color: var(--fgColor-default); border-radius: 50%; outline-offset: var(--base-size-2); }
.AppHeader-logo:hover { background: var(--button-invisible-bgColor-hover); }
.AppHeader-logo:active { background: var(--button-invisible-bgColor-active); }
.AppHeader-button { position: relative; display: inline-grid; flex: none; place-items: center; width: var(--base-size-32); height: var(--base-size-32);
  padding: 0; color: var(--button-invisible-iconColor-rest); cursor: pointer; background: transparent;
  border: var(--borderWidth-thin) solid var(--control-borderColor-rest); border-radius: var(--borderRadius-medium); }
.AppHeader-button:hover { color: var(--button-invisible-iconColor-hover); text-decoration: none; background: var(--button-invisible-bgColor-hover); }
.AppHeader-button:active { background: var(--button-invisible-bgColor-active); }
.AppHeader-divider { flex: none; width: var(--borderWidth-thin); height: var(--base-size-20); margin-inline: var(--base-size-4);
  background: var(--control-borderColor-rest); }
.HeaderMenu { position: absolute; top: calc(100% + var(--base-size-4)); right: 0; z-index: 100; min-width: 192px; padding: var(--base-size-8) 0;
  color: var(--fgColor-default); background: var(--overlay-bgColor); border-radius: var(--borderRadius-large); box-shadow: var(--shadow-floating-small); }
.HeaderMenu .ActionListItem { margin: 0 var(--base-size-8); }
.HeaderMenu .ActionListItem-label { line-height: 20px; }
.HeaderMenu .ActionList-sectionDivider { margin: 7px 0 var(--base-size-8); }
.HeaderMenu form { margin: 0; }
.HeaderMenu button.ActionListContent { width: 100%; text-align: left; }
.UserMenu { width: 256px; padding-top: 0; }
.UserMenu-header { display: flex; gap: var(--base-size-8); align-items: flex-start; padding: var(--base-size-16) var(--base-size-16) 0; line-height: 1.25; }
.UserMenu-header + .ActionListWrap { margin-top: var(--base-size-8); }
.UserMenu-header .avatar { flex: none; }
.UserMenu .ActionList-sectionDivider { margin-inline: var(--base-size-8); }
/* below 768px the account menu covers the screen, as github.com's does */
@media (max-width: 767.98px) {
  .UserMenu { position: fixed; inset: 0; width: auto; overflow-y: auto; border-radius: 0; }
}
.AppHeader-user { display: block; flex: none; width: var(--base-size-32); height: var(--base-size-32); padding: 0; cursor: pointer;
  background: transparent; border: 0; border-radius: 50%; outline-offset: var(--base-size-2); }
.AppHeader-user .avatar { display: block; }
/* menus github.com draws with Primer React keep their size on touch screens, unlike Primer's CSS ActionList */
@media (pointer: coarse) {
  .HeaderMenu .ActionListContent, .SidePanel .ActionListContent, .SelectButton-overlay .ActionListContent {
    --actionListContent-paddingBlock: var(--control-medium-paddingBlock); }
}

/* breadcrumbs: the separator is a slanted rule, as Primer's Breadcrumbs draw it */
.AppHeader-context { display: flex; flex: 1 1 auto; min-width: 0; height: var(--base-size-32); }
.AppHeader-crumbs { display: flex; min-width: 0; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; }
.AppHeader-crumb { display: inline-block; font-size: var(--text-body-size-medium); list-style: none; }
.AppHeader-crumb::after { display: inline-block; height: .8em; margin: 0 .5em; content: ""; border-right: .1em solid var(--fgColor-muted);
  transform: rotate(15deg) translateY(.0625em); }
.AppHeader-crumb:last-child::after { content: none; }
.AppHeader-context-item { display: inline-flex; align-items: center; height: 100%; min-width: 3ch; padding: var(--base-size-4) var(--base-size-6);
  line-height: var(--base-size-24); color: var(--fgColor-default); border-radius: var(--borderRadius-medium); outline-offset: 0; }
.AppHeader-context-item:hover { text-decoration: none; background: var(--control-transparent-bgColor-hover); }
.AppHeader-context-item:active { text-decoration: none; background: var(--control-transparent-bgColor-active); }
.AppHeader-context-item--last { display: inline-block; overflow: hidden; font-weight: var(--base-text-weight-semibold); text-overflow: ellipsis;
  white-space: nowrap; }
/* when the crumbs don't fit (app.js), the first moves into a "..." menu and the separators turn into Primer React's icon */
.AppHeader-crumbSeparator, .AppHeader-crumb--menu { display: none; }
.AppHeader-context--folded .AppHeader-crumbs { overflow: visible; }
.AppHeader-context--folded .AppHeader-crumb { display: inline-grid; flex: 0 99999 auto; grid-auto-flow: column; align-items: center; }
.AppHeader-context--folded .AppHeader-crumb--menu { white-space: normal; }
.AppHeader-context--folded .AppHeader-crumb--folds { display: none; }
.AppHeader-context--folded .AppHeader-crumb::after { content: none; }
.AppHeader-context--folded .AppHeader-crumbSeparator { display: flex; align-self: center; justify-content: center; color: var(--fgColor-muted);
  user-select: none; }
.AppHeader-crumbMenu { position: relative; display: inline-block; }
.AppHeader-crumbMenu .HeaderMenu { right: auto; left: 0; max-width: 320px; }

/* header search: github.com's "Type / to search" button, here a field that grows when it takes focus. github.com's
   button overhangs its group by 2px, and its icon-only form by 1px. */
.AppHeader-search { position: relative; display: flex; flex: none; align-items: center; height: var(--base-size-32);
  margin: 0 calc(var(--base-size-2) * -1) 0 auto; padding: 0 var(--base-size-12); color: var(--fgColor-muted); cursor: text;
  border: var(--borderWidth-thin) solid var(--control-borderColor-rest); border-radius: var(--borderRadius-medium); }
.AppHeader-search-visual { display: flex; flex: none; margin-right: var(--base-size-8); color: var(--fgColor-muted); pointer-events: none; }
.AppHeader-search-placeholder { min-width: 0; padding-right: var(--base-size-32); overflow: hidden; line-height: var(--text-body-lineHeight-medium);
  text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.AppHeader-search-kbd { display: inline-grid; place-items: center; width: var(--base-size-16); height: var(--base-size-16); padding: 0;
  font: var(--text-caption-size, 12px) / 1 var(--fontStack-monospace); color: inherit; vertical-align: text-bottom; background: transparent;
  border: var(--borderWidth-thin) solid var(--fgColor-muted); border-radius: var(--borderRadius-small); box-shadow: none; }
.AppHeader-search input[type=search] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  padding: 0 var(--base-size-12) 0 calc(var(--base-size-12) + var(--base-size-16) + var(--base-size-8) - var(--borderWidth-thin));
  font-size: var(--text-body-size-medium); color: var(--fgColor-default); background: transparent; border: 0; border-radius: inherit; outline: 0; }
.AppHeader-search input[type=search]::placeholder { color: transparent; opacity: 1; }
.AppHeader-search input[type=search]::-webkit-search-cancel-button { display: none; }
.AppHeader-search:focus-within, .AppHeader-search:has(input:not(:placeholder-shown)) { width: min(28rem, 100%); background: var(--bgColor-default); }
.AppHeader-search:focus-within { border-color: var(--focus-outlineColor); box-shadow: inset 0 0 0 var(--borderWidth-thin) var(--focus-outlineColor); }
.AppHeader-search:focus-within input[type=search]::placeholder { color: var(--fgColor-muted); }
.AppHeader-search:focus-within .AppHeader-search-placeholder, .AppHeader-search:has(input:not(:placeholder-shown)) .AppHeader-search-placeholder { visibility: hidden; }
.AppHeader-searchIcon { display: none; margin: 0 calc(var(--borderWidth-thin) * -1) 0 auto; }
@media (max-width: 1024px) {
  .AppHeader-search { display: none; }
  .AppHeader-searchIcon { display: inline-grid; }
}

/* the local navigation under it: Primer React's UnderlineNav and CounterLabel. Tabs that don't fit wrap onto a hidden
   second line and app.js lists them under "More"; icons go when the bar is narrower than 48rem. */
.AppHeader-localBar { display: flex; align-items: flex-start; min-height: var(--base-size-48); padding: var(--base-size-8) var(--base-size-16) 0;
  box-shadow: inset 0 calc(var(--borderWidth-thin) * -1) 0 var(--borderColor-muted); container-type: inline-size; }
.LocalNav { position: relative; display: flex; flex-grow: 1; flex-wrap: wrap; gap: var(--base-size-8); align-items: center; max-height: var(--base-size-40);
  margin: 0; padding: 0; overflow: hidden; white-space: nowrap; list-style: none; contain: layout; }
.LocalNav-spacer { margin-inline-end: calc(var(--base-size-8) * -1); }
.LocalNav-item { display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.LocalNav-item[aria-hidden] { visibility: hidden; }
.LocalNav-link { position: relative; display: inline-flex; align-items: center; max-width: 100%; height: var(--base-size-32);
  padding: var(--base-size-6) var(--base-size-8); margin-bottom: var(--base-size-8); font-size: var(--text-body-size-medium);
  line-height: var(--text-body-lineHeight-medium); color: var(--fgColor-default); text-align: center; border-radius: var(--borderRadius-medium); }
.LocalNav-link:hover { color: var(--fgColor-default); text-decoration: none; }
@media (hover: hover) { .LocalNav-link:hover { background-color: var(--bgColor-neutral-muted); transition: background-color .12s ease-out; } }
.LocalNav-link:focus-visible { outline: 2px solid transparent; box-shadow: inset 0 0 0 2px var(--fgColor-accent); }
.LocalNav-link::after { position: absolute; inset: auto 0 0; height: 2px; margin-bottom: calc(var(--base-size-8) * -1); content: "";
  pointer-events: none; background-color: transparent; }
.LocalNav-link[aria-current]::after { background-color: var(--underlineNav-borderColor-active); }
.LocalNav-link[aria-current] .LocalNav-text { font-weight: var(--base-text-weight-semibold); }
.LocalNav-icon { display: inline-flex; align-items: center; margin-inline-end: var(--base-size-8); color: var(--fgColor-muted); }
@container (width < 48rem) { .LocalNav-icon { display: none; } }
.LocalNav-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.LocalNav-text::before { display: block; height: 0; font-weight: var(--base-text-weight-semibold); white-space: nowrap; visibility: hidden;
  content: attr(data-content); }
.LocalNav-counter { display: flex; align-items: center; margin-inline-start: var(--base-size-8); }
.LocalNav-more { display: flex; align-items: center; }
.LocalNav-more[hidden] { display: none; }
.LocalNav-moreDivider { display: inline-block; width: 0; height: var(--base-size-24); margin-inline: var(--base-size-4);
  border-left: var(--borderWidth-thin) solid var(--borderColor-muted); }
.LocalNav-moreButton { position: relative; gap: var(--base-size-8); font-weight: var(--base-text-weight-normal); }
.LocalNav-moreButton.is-current { font-weight: var(--base-text-weight-semibold); }
.LocalNav-moreButton.is-current::after { position: absolute; inset: auto 0 0; height: 2px; content: ""; pointer-events: none;
  margin-bottom: calc((var(--base-size-8) + var(--borderWidth-thin)) * -1); background-color: var(--underlineNav-borderColor-active); }
.LocalNav-more [aria-current] { position: relative; }
.LocalNav-more [aria-current] .ActionListItem-label { font-weight: var(--base-text-weight-semibold); }
.LocalNav-more [aria-current]::after { position: absolute; inset: var(--base-size-2) auto var(--base-size-2) 0; width: var(--base-size-2); content: "";
  background: var(--underlineNav-borderColor-active); }
.CounterLabel { display: inline-block; padding: var(--base-size-2) var(--base-size-6); font-size: var(--text-body-size-small);
  font-weight: var(--base-text-weight-semibold); line-height: 1; color: var(--fgColor-default); background-color: var(--bgColor-neutral-muted);
  border: var(--borderWidth-thin) solid var(--counter-borderColor, transparent); border-radius: 20px; }
.CounterLabel:empty { display: none; }

/* the global navigation is a Primer Overlay docked to the left edge, as on github.com */
.SidePanel { --overlay-width: 320px; }
.SidePanel .Overlay-header { padding: var(--base-size-16); }
.SidePanel .AppHeader-logo { margin-left: 0; }
.SidePanel .Overlay-body { padding: var(--base-size-24) var(--base-size-16) var(--base-size-16); }
.SidePanel .ActionListItem-label { line-height: 20px; }

/* --- footer --------------------------------------------------------------------------------------- */
.footer-octicon { color: var(--fgColor-muted); }
.footer-octicon .fp-mark { vertical-align: text-bottom; }
.footer-octicon:hover { color: var(--fgColor-disabled); }

/* --- sign-in page: github.com/login --------------------------------------------------------------- */
.auth-header { height: var(--base-size-32); }
.auth-page { width: 100%; padding: 0 var(--base-size-16); margin: 0 auto var(--base-size-40); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; }
@media (min-width: 544px) { .auth-page { width: 24rem; } }
.auth-page p { text-wrap: pretty; }
.auth-head { padding-top: 14px; margin-bottom: var(--base-size-24); text-align: center; }
.auth-head a { display: inline-flex; color: var(--fgColor-default); vertical-align: top; }
.auth-head .fp-mark { display: block; }
.auth-title { margin-top: 14px; font-size: var(--text-title-size-medium, 20px); font-weight: var(--base-text-weight-semibold); line-height: 30px; }
.auth-divider { display: flex; gap: var(--base-size-8); align-items: center; margin: var(--base-size-24) 0 var(--base-size-16);
  font-size: var(--text-body-size-small); color: var(--fgColor-muted); }
.auth-divider::before, .auth-divider::after { flex: 1; height: var(--borderWidth-thin); content: ""; background: var(--borderColor-default); }
.auth-steps { font-size: var(--text-body-size-small); color: var(--fgColor-muted); }
.auth-steps li { display: flex; gap: var(--base-size-12); margin-bottom: var(--base-size-12); }
.auth-steps .octicon { flex: none; margin-top: 2px; }
.auth-steps strong { color: var(--fgColor-default); }
.auth-footer { width: 100%; margin-top: auto; background-color: var(--bgColor-muted); }
.auth-footer-links { display: flex; flex-direction: column; gap: var(--base-size-8); justify-content: center; padding: var(--base-size-16) 0;
  margin: 0; font-size: var(--text-body-size-small); text-align: center; list-style: none; }
@media (min-width: 768px) { .auth-footer-links { flex-direction: row; gap: var(--base-size-32); margin: 0 auto; } }
.auth-footer-links a { color: var(--fgColor-muted); text-decoration: none; }
.auth-footer-links a:hover { color: var(--fgColor-muted-hover); }

/* --- topics and language dots, as on github.com ---------------------------------------------------- */
.topic-tag { display: inline-block; padding: 0 10px; margin: 0 .125em .333em 0; font-size: 12px; font-weight: var(--base-text-weight-medium, 500);
  line-height: 22px; color: var(--fgColor-accent); white-space: nowrap; background-color: var(--bgColor-accent-muted);
  border: var(--borderWidth-thin) solid var(--topicTag-borderColor, transparent); border-radius: 2em; }
.topic-tag-link:hover, .topic-tag-link:active { color: var(--fgColor-onEmphasis); text-decoration: none; background-color: var(--bgColor-accent-emphasis); }
.repo-language-color { position: relative; top: 1px; display: inline-block; width: 12px; height: 12px;
  border: var(--borderWidth-thin) solid var(--borderColor-translucent); border-radius: 50%; }

/* --- All tasks: a repository's pull request list on github.com. A 256px sticky sidebar of views (gone below 768px,
   where the title's menu takes its place), a content column of at most 1280px, a search field and a list box ------ */
.ListPage { display: flex; align-items: flex-start; }
.ListPage-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; flex: none; align-self: flex-start; width: 256px;
  min-width: 256px; height: 100vh; height: 100dvh; padding: var(--base-size-8); background-color: var(--bgColor-default);
  border-right: var(--borderWidth-thin) solid var(--borderColor-default); }
.ListPage-sidebar .ActionListContent { white-space: nowrap; }
.ListPage-sidebar .ActionListItem-label { line-height: 20px; }
.ListPage-sidebar .ActionListItem--navActive .ActionListItem-label { color: var(--control-fgColor-rest); }
.ListPage-sidebar .ActionListWrap--inset { padding: var(--base-size-8) 0; }
.ListPage-sidebar .ActionListItem { margin: 0 var(--base-size-8); }
.ListPage-sidebarDivider { flex: none; height: 0; margin: var(--base-size-8) 0; border: 0; border-top: var(--borderWidth-thin) solid var(--borderColor-muted); }
@media (max-width: 767.98px) { .ListPage-sidebar { display: none; } }
.ListPage-main { flex: 1 1 auto; min-width: 0; max-width: 1280px; padding: var(--base-size-16); margin-inline: auto; }
@media (min-width: 1012px) { .ListPage-main { padding: var(--base-size-24); } }
.ListPage-head { display: flex; gap: var(--base-size-8); align-items: center; margin-bottom: var(--base-size-16); }
.ListPage-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--text-title-size-medium, 20px); font-weight: var(--base-text-weight-semibold);
  line-height: 1.5; }
.ListPage-views { display: none; flex: 1 1 auto; min-width: 0; }
.ListPage-views > summary { max-width: 100%; gap: var(--base-size-8); margin-left: calc(var(--base-size-12) * -1); }
.ListPage-viewsLabel { font-size: var(--text-title-size-medium, 20px); font-weight: var(--base-text-weight-semibold); line-height: 1.5; }
.ListPage-viewsMenu { right: auto; left: 0; }
@media (max-width: 767.98px) {
  .ListPage-title { display: none; }
  .ListPage-views { display: block; }
}
/* the search field and its button, joined */
.ListSearch { display: flex; margin: 0 0 var(--base-size-16); }
.ListSearch-field { position: relative; display: flex; flex: 1 1 auto; align-items: center; min-width: 0; height: var(--base-size-32);
  padding: 0 1px 0 var(--base-size-12); margin-right: calc(var(--borderWidth-thin) * -1); background-color: var(--bgColor-default);
  border: var(--borderWidth-thin) solid var(--control-borderColor-rest); border-radius: var(--borderRadius-medium) 0 0 var(--borderRadius-medium); }
.ListSearch-field:has(input:focus-visible) { z-index: 1; outline: 2px solid var(--borderColor-accent-emphasis); outline-offset: -2px; }
/* the query is drawn by a copy under a transparent field, so its qualifiers' values can be marked */
.ListSearch-input { position: relative; display: flex; flex: 1 1 auto; align-items: center; align-self: stretch; min-width: 0; overflow: hidden; }
.ListSearch-styled { position: absolute; display: block; padding: 0; font-size: var(--text-body-size-medium); white-space: pre; pointer-events: none;
  user-select: none; }
.ListSearch-value { color: var(--fgColor-accent); background: var(--bgColor-accent-muted); border-radius: var(--borderRadius-small); }
.ListSearch-input input { position: relative; display: flex; min-width: 100%; height: 30px; padding: 0; font: inherit; color: transparent;
  caret-color: var(--fgColor-default); background: none; border: 0; outline: 0; }
.ListSearch-input input::placeholder { color: var(--fgColor-muted); }
.ListSearch-clear { display: grid; flex: none; place-items: center; width: 28px; height: 28px; color: var(--fgColor-muted); border-radius: var(--borderRadius-medium); }
.ListSearch-clear:hover { color: var(--fgColor-default); background: var(--control-transparent-bgColor-hover); }
.ListSearch-button { display: grid; flex: none; place-items: center; width: var(--base-size-32); height: var(--base-size-32); padding: 0;
  color: var(--button-default-fgColor-rest); cursor: pointer; background-color: var(--button-default-bgColor-rest);
  border: var(--borderWidth-thin) solid var(--button-default-borderColor-rest); border-radius: 0 var(--borderRadius-medium) var(--borderRadius-medium) 0; }
.ListSearch-button:hover { background-color: var(--button-default-bgColor-hover); }
.ListSearch-button .octicon { color: var(--fgColor-muted); }
/* the list: a 48px header of open, merged and closed tabs and filter menus, then rows of a status icon, a 16px title and a
   12px description, with counts on the right (Primer React's ListView) */
.ListBox { border: var(--borderWidth-thin) solid var(--borderColor-muted); border-radius: var(--borderRadius-medium); }
.ListBox-header { display: flex; align-items: center; height: 48px; padding: var(--base-size-8); background-color: var(--bgColor-muted);
  border-bottom: var(--borderWidth-thin) solid var(--borderColor-muted); border-radius: var(--borderRadius-medium) var(--borderRadius-medium) 0 0; }
@media (max-width: 544px) { .ListBox-header { flex-wrap: wrap; height: auto; min-height: 48px; } }
.ListBox-states { display: flex; flex: none; align-items: center; }
.ListBox-state { display: flex; align-items: center; padding: 0 var(--base-size-8); font-size: var(--text-body-size-medium); font-weight: var(--base-text-weight-normal);
  line-height: 30px; color: var(--fgColor-muted); white-space: nowrap; border-radius: var(--borderRadius-medium); transition: background .12s ease-out; }
.ListBox-state:hover { text-decoration: none; background: var(--control-transparent-bgColor-hover); }
.ListBox-state[aria-current] { font-weight: var(--base-text-weight-semibold); color: var(--fgColor-default); }
.ListBox-state .CounterLabel { min-width: 32px; padding: 0 var(--base-size-6); margin-left: var(--base-size-8); line-height: 18px; text-align: center; }
/* github.com's list has two tabs; the three here take 300px at its sizes, more than a phone narrower than 360px has: there
   they close up, and scroll rather than widen the page should they still not fit */
@media (max-width: 359.98px) {
  .ListBox-states { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .ListBox-state { flex: none; padding: 0 var(--base-size-4); }
  .ListBox-state .CounterLabel { margin-left: var(--base-size-4); }
}
/* the filter menus and the density switch keep together, at the end of the header or on a line of their own */
.ListBox-actions { display: flex; flex: 0 1 auto; gap: var(--base-size-4); align-items: center; min-width: 0; margin-left: auto; }
.ListBox-filters { display: flex; flex: 1 1 auto; gap: var(--base-size-4); align-items: center; justify-content: flex-end; min-width: 0; margin-bottom: -1px; }
/* up to 544px the filters' bar is one button wide, so every filter is in its "..." menu */
@media (max-width: 544px) { .ListBox-filters { flex: 0 0 var(--control-medium-size); } }
.ListBox-filter { gap: var(--base-size-8); font-weight: var(--base-text-weight-normal); }
.ListBox-filter .Button-label { color: var(--fgColor-muted); }
details[open] > .ListBox-filter .Button-label { color: var(--fgColor-default); }
.ListBox-filters .HeaderMenu { width: max-content; max-width: 320px; }
/* with every filter in it, GitHub's "..." keeps the gap after its empty list of filters and meets the density switch */
.ListBox-filters:not(:has(> [data-filter]:not([hidden]))) > [data-filter-more] { margin-right: calc(var(--base-size-4) * -1); }
.ListBox-items { margin: 0; padding: 0; list-style: none; }
.ListBox-empty .blankslate { padding: var(--base-size-32); }
/* GitHub's grid keeps its column of selection checkboxes, empty for those who can't triage, as here */
.ListItem { display: grid; grid-template-columns: min-content min-content minmax(30%, 1fr) minmax(0, max-content) min-content;
  grid-template-rows: repeat(3, auto); grid-template-areas: "selection status primary actions" "selection status metadata actions"
  "selection status main-content actions"; gap: var(--base-size-4); min-height: 2rem; font-size: var(--text-body-size-medium); color: var(--fgColor-default); }
.ListItem:hover { background-color: var(--bgColor-muted); }
.ListItem:not(:last-child) { border-bottom: var(--borderWidth-thin) solid var(--borderColor-muted); }
.ListItem:last-child { border-radius: 0 0 var(--borderRadius-medium) var(--borderRadius-medium); }
@media (min-width: 544px) {
  .ListItem { grid-template-rows: repeat(2, auto); grid-template-areas: "selection status primary metadata actions" "selection status main-content metadata actions"; }
}
.ListItem-status { display: flex; grid-area: status; align-items: flex-start; padding: 0 var(--base-size-4) 0 var(--base-size-12); }
.ListItem-status .octicon { margin-top: var(--base-size-12); }
.ListItem-primary { grid-area: primary; padding-top: var(--base-size-8); font-size: var(--text-body-size-large); line-height: 1.5; }
.ListItem-title { display: inline; margin: 0; font-size: var(--text-body-size-large); font-weight: var(--base-text-weight-medium); line-height: 1.5;
  overflow-wrap: anywhere; }
.ListItem-titleLink { color: var(--fgColor-default); }
.ListItem-titleLink:hover { color: var(--fgColor-accent); text-decoration: underline; }
.ListItem-labels { position: relative; top: 1px; padding-left: var(--base-size-4); vertical-align: top; }
.ListItem-labels > * { margin: 0 var(--base-size-4) 0 0; vertical-align: top; }
.ListItem-labels .topic-tag { line-height: 18px; }
.ListItem-main { display: flex; grid-area: main-content; padding: 0 var(--base-size-8) 10px 0; overflow: hidden; }
.ListItem-description { display: block; width: 100%; margin-bottom: -10px; font-size: var(--text-body-size-small); line-height: 18px; color: var(--fgColor-muted); }
@media (min-width: 544px) { .ListItem-description { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 0; } }
.ListItem-description > * + *::before { margin-inline: var(--base-size-4); content: "\00B7"; }
.ListItem-description .Link--muted:hover { color: var(--fgColor-accent); }
/* A task's stage as github.com draws a pull request's task list progress: a ring filled to the stage, a check once merged.
   In a description line the "·" before it sits 4px from the ring, as GitHub's own does. */
.TaskProgress { display: inline-flex; gap: var(--base-size-4); align-items: center; color: var(--fgColor-muted); white-space: nowrap; vertical-align: middle; }
.TaskProgress-ring { display: inline-flex; flex-shrink: 0; }
.TaskProgress-ring circle { transform-origin: 50px 50px; }
.TaskProgress-shade { opacity: .25; }
.TaskProgress > .TaskProgress-done { display: inline-block; overflow: visible; vertical-align: text-bottom; transform: rotate(-90deg); }
.ListItem-description > .TaskProgress::before { margin-inline: var(--base-size-4) 0; }
/* A maintainer opens a task's stage menu from its progress, drawn as a muted link with a menu's triangle. The menu takes
   its place under the progress, positioned against the page rather than the row, so the row's clipped description
   cannot cut it off (app.js keeps it in the window). */
.TaskStage { display: inline-flex; gap: var(--base-size-4); align-items: center; }
.ListItem-description > .TaskStage::before { margin-inline: var(--base-size-4) 0; }
.TaskStage-button { display: flex; align-items: center; color: var(--fgColor-muted); cursor: pointer; border-radius: var(--borderRadius-small); }
.TaskStage-button:hover, .TaskStage-button:hover .TaskProgress, details[open] > .TaskStage-button .TaskProgress { color: var(--fgColor-accent); }
.TaskStage-menu { inset: auto; width: max-content; max-width: 320px; margin-top: var(--base-size-4); font-size: var(--text-body-size-medium);
  line-height: 1.5; white-space: normal; }
.TaskStage-note { padding: var(--base-size-8) var(--base-size-16) 0; margin: var(--base-size-8) 0 0; font-size: var(--text-body-size-small);
  line-height: 18px; color: var(--fgColor-muted); border-top: var(--borderWidth-thin) solid var(--borderColor-muted); }
/* an author filters the list, underlined with dots as github.com draws links next to text by default */
.ListItem-filterLink { color: inherit; text-decoration: underline dotted; text-decoration-skip-ink: none; text-underline-offset: var(--base-size-2); }
.ListItem-filterLink:hover { color: var(--fgColor-accent); text-decoration-style: solid; }
.ListItem-metadata { display: flex; flex-flow: wrap; grid-area: metadata; gap: var(--base-size-8); align-items: center; padding: 0 var(--base-size-16) var(--base-size-8) 0; }
@media (min-width: 544px) { .ListItem-metadata { padding-bottom: 0; } }
.ListItem-count { display: inline-flex; gap: var(--base-size-4); align-items: center; font-size: var(--text-body-size-small); color: var(--fgColor-muted); }
.ListItem-actions { display: flex; grid-area: actions; gap: var(--base-size-4); align-items: center; padding-right: var(--base-size-16); }
.ListItem-actions:not(:has(*)) { display: none; }
.ListItem-actions .Button { min-width: max-content; }
/* GitHub's list has no buttons in its rows; on phones ours takes a line of its own under the description */
@media (max-width: 543.98px) {
  .ListItem:has(> .ListItem-actions > *) { grid-template-rows: repeat(4, auto); grid-template-areas: "selection status primary ." "selection status metadata ."
    "selection status main-content ." "selection status actions ."; }
  .ListItem-actions { padding-bottom: var(--base-size-8); }
}
/* a pull request's labels: filled with the label's colour, text black or white by its lightness (Primer's IssueLabel) */
.IssueLabelToken { --perceived-lightness: calc(var(--label-r) * .2126 / 255 + var(--label-g) * .7152 / 255 + var(--label-b) * .0722 / 255);
  --lightness-switch: max(0, min(calc(1 / (var(--lightness-threshold) - var(--perceived-lightness))), 1));
  position: relative; display: inline-flex; align-items: center; height: var(--base-size-20); padding: 0 var(--base-size-8); font-size: var(--text-body-size-small);
  font-weight: var(--base-text-weight-semibold); line-height: 1; white-space: nowrap; text-decoration: none; border: var(--borderWidth-thin) solid;
  border-radius: var(--borderRadius-full, 624.938rem); }
a.IssueLabelToken:hover { text-decoration: none; box-shadow: var(--shadow-resting-medium); }
@media (prefers-color-scheme: light) {
  [data-color-mode=auto][data-light-theme*=light] .IssueLabelToken { --lightness-threshold: .453; --border-threshold: .96;
    --border-alpha: max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1)); background: rgb(var(--label-r), var(--label-g), var(--label-b));
    border-color: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-alpha));
    color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%)); }
  [data-color-mode=auto][data-light-theme*=light] a.IssueLabelToken:hover { background-image: linear-gradient(#00000026, #00000026),
    linear-gradient(rgb(var(--label-r), var(--label-g), var(--label-b)), rgb(var(--label-r), var(--label-g), var(--label-b))); }
}
@media (prefers-color-scheme: dark) {
  [data-color-mode=auto][data-dark-theme*=dark] .IssueLabelToken { --lightness-threshold: .6; --background-alpha: .18; --border-alpha: .3;
    --lighten-by: calc((var(--lightness-threshold) - var(--perceived-lightness)) * 100 * var(--lightness-switch));
    background: rgb(var(--label-r), var(--label-g), var(--label-b), var(--background-alpha));
    border-color: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%), var(--border-alpha));
    color: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%)); }
  [data-color-mode=auto][data-dark-theme*=dark] a.IssueLabelToken:hover { background: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + 10) * 1%), .3); }
}
/* the density switch: Primer React's SegmentedControl, a 32px track with a white knob on the selected button */
.ListBox-density { position: relative; display: inline-flex; flex: none; height: var(--base-size-32); padding: 0; margin: 0;
  font-size: var(--text-body-size-medium); list-style: none; background-color: var(--controlTrack-bgColor-rest);
  border: var(--borderWidth-thin) solid var(--controlTrack-borderColor-rest, transparent); border-radius: var(--borderRadius-medium); }
.ListBox-density > li { position: relative; display: block; flex-grow: 1; margin-block: calc(var(--borderWidth-thin) * -1); }
.ListBox-density > li:first-child { margin-left: calc(var(--borderWidth-thin) * -1); }
.ListBox-density > li:last-child { margin-right: calc(var(--borderWidth-thin) * -1); }
.ListBox-density > li:not(:last-child) { margin-right: var(--borderWidth-thin); }
.ListBox-density > li:not(:last-child)::after { position: absolute; top: var(--base-size-8); right: calc(var(--base-size-2) * -1); bottom: var(--base-size-8);
  width: 1px; content: ""; background-color: var(--borderColor-default); }
.ListBox-density > li.is-selected::after, .ListBox-density > li:has(+ .is-selected)::after { background-color: transparent; }
.ListBox-densityButton { width: var(--base-size-32); height: 100%; padding: var(--base-size-4); color: currentcolor; cursor: pointer; background: transparent;
  border: 0; border-radius: var(--borderRadius-medium); }
.ListBox-densityButton .octicon { color: var(--fgColor-muted); fill: var(--fgColor-muted); }
.ListBox-densityContent { display: grid; place-items: center; height: 100%; border: var(--borderWidth-thin) solid transparent;
  border-radius: calc(var(--borderRadius-medium) - var(--base-size-4) / 2); transition: background-color .2s; }
.ListBox-density .is-selected .ListBox-densityButton { padding: 0; }
.ListBox-density .is-selected .ListBox-densityContent { background-color: var(--controlKnob-bgColor-rest); border-color: var(--controlKnob-borderColor-rest);
  border-radius: var(--borderRadius-medium); }
.ListBox-densityButton[aria-pressed=false]:hover .ListBox-densityContent { background-color: var(--controlTrack-bgColor-hover); }
.ListBox-densityButton[aria-pressed=false]:active .ListBox-densityContent { background-color: var(--controlTrack-bgColor-active); }
.ListBox-densityButton:focus-visible { outline: var(--base-size-2) solid var(--fgColor-accent); outline-offset: -1px; box-shadow: none; }
/* compact rows: a 14px title with the description beside it, its parts between bullets, and the counts in 72px cells
   from 768px; the title keeps to one line from 544px */
.ListBox[data-density=compact] .ListItem { grid-template-rows: repeat(2, auto); grid-template-areas: "selection status primary main-content actions"
  "selection status metadata metadata actions"; grid-template-columns: min-content min-content minmax(2em, max-content) minmax(0, auto) minmax(min-content, max-content) min-content;
  min-height: 1rem; }
.ListBox[data-density=compact] .ListItem-primary { font-size: var(--text-body-size-medium); line-height: var(--text-body-lineHeight-medium); }
.ListBox[data-density=compact] .ListItem-title { font-size: var(--text-body-size-medium); font-weight: var(--base-text-weight-normal); line-height: var(--text-body-lineHeight-medium); }
.ListBox[data-density=compact] .ListItem-status .octicon { margin-top: 10.5px; }
.ListBox[data-density=compact] .ListItem-main { align-items: center; padding-bottom: 0; }
.ListBox[data-density=compact] .ListItem-description { display: block; margin-bottom: 0; white-space: nowrap; }
.ListBox[data-density=compact] .ListItem-description > * { white-space: nowrap; }
.ListBox[data-density=compact] .ListItem-description > * + *::before { content: "\2022"; }
.ListBox[data-density=compact] .ListItem-metadata { display: none; justify-content: center; padding: 0; }
.ListBox[data-density=compact] .ListItem-count { flex: 0 0 72px; min-width: 72px; }
@media (min-width: 544px) {
  .ListBox[data-density=compact] .ListItem { grid-template-rows: auto; grid-template-areas: "selection status primary main-content metadata actions"; }
  .ListBox[data-density=compact] .ListItem-primary { padding-bottom: var(--base-size-8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 768px) { .ListBox[data-density=compact] .ListItem-metadata { display: flex; } }
@media (max-width: 543.98px) {
  .ListBox[data-density=compact] .ListItem:has(> .ListItem-actions > *) { grid-template-rows: repeat(3, auto);
    grid-template-areas: "selection status primary main-content . ." "selection status metadata metadata . ." "selection status actions actions . ."; }
}

/* --- a page with a sidebar, laid out as github.com lays out a repository's Code tab: 32px margins and a 272px
   sidebar 40px off from 1012px, a 224px one 32px off below with margins of 16px and 24px, one column below 768px ---- */
.PageColumns { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: var(--base-size-40); align-items: start; }
.SidebarSection { padding: var(--base-size-16) 0; border-top: var(--borderWidth-thin) solid var(--borderColor-default); }
.SidebarSection:first-child { padding-top: 0; border-top: 0; }
.SidebarSection-title { margin-bottom: var(--base-size-12); }
.SidebarSection details > summary { cursor: pointer; list-style: none; }
.SidebarSection details > summary::-webkit-details-marker { display: none; }
@media (max-width: 1011.98px) { .PageColumns { grid-template-columns: minmax(0, 1fr) 224px; gap: var(--base-size-32); padding-right: var(--base-size-8); } }
@media (max-width: 767.98px) {
  .PageColumns { display: flex; flex-direction: column; gap: 0; align-items: stretch; padding-right: 0; }
  .PageColumns-sidebar { display: contents; }
  .SidebarSection--top { order: -1; }
  .PageColumns-main { margin: var(--base-size-24) 0; }
}

/* --- dashboard ------------------------------------------------------------------------------------ */
.reviewer-state { display: inline-flex; align-items: center; }
.steps li { display: flex; gap: var(--base-size-8); margin-bottom: var(--base-size-12); font-size: var(--text-body-size-small); color: var(--fgColor-muted); }
.steps strong { color: var(--fgColor-default); }
.steps code { white-space: nowrap; }
.steps .step-icon { flex: none; margin-top: 2px; }
.steps .done .step-icon { color: var(--fgColor-success); }
.clone-box { max-width: 560px; }
.clone-box .octicon-check, .clone-box .done .octicon-copy { display: none; }
.clone-box .done .octicon-check { display: inline-block; }

/* --- select buttons: GitHub's single-select menus (Primer ActionMenu) ------------------------------- */
.SelectButton { flex: none; }
.SelectButton-overlay { position: absolute; inset: calc(100% + var(--base-size-4)) 0 auto auto; z-index: 100; width: 320px;
  max-width: calc(100vw - 2rem); max-height: min(480px, 100vh - 2rem); margin: 0; overflow-y: auto; }
.SelectButton-overlay .ActionListContent { cursor: pointer; }
.SelectButton-overlay .ActionListContent:hover { background-color: var(--control-transparent-bgColor-hover); }
.SelectButton-overlay .ActionListItem-label { line-height: 20px; }
.SelectButton-overlay .ActionListItem-description { line-height: 16px; }
.SelectButton--invalid > summary { border-color: var(--borderColor-danger-emphasis); }

/* --- new task: github.com/new, two numbered steps ------------------------------------------------------ */
.NewTask { max-width: 768px; margin-right: auto; margin-left: auto; }
.NewTask-title { font-size: var(--text-title-size-medium, 20px); font-weight: var(--base-text-weight-semibold); line-height: 1.625; }
.NewTask-steps { margin: var(--base-size-24) 0 0; padding: 0; list-style: none; }
@media (min-width: 1012px) { .NewTask-steps { margin-left: calc(var(--base-size-40) * -1); } }
.NewTask-step { position: relative; display: flex; margin-left: var(--base-size-16); }
.NewTask-step + .NewTask-step { padding-top: var(--base-size-24); }
.NewTask-step::before { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; content: ""; background: var(--borderColor-muted); }
.NewTask-stepNumber { position: relative; display: grid; flex: none; place-items: center; width: var(--base-size-32); height: var(--base-size-32);
  margin: 0 var(--base-size-8) 0 -15px; color: var(--fgColor-muted); background: var(--bgColor-muted);
  border: 2px solid var(--bgColor-default); border-radius: 50%; }
.NewTask-stepBody { flex: 1 1 auto; min-width: 0; margin-top: 5px; }
.NewTask-stepTitle { margin-bottom: var(--base-size-12); font-size: var(--text-title-size-small, 16px); font-weight: var(--base-text-weight-semibold); line-height: 1.5; }
.NewTask-ownerName { display: flex; gap: var(--base-size-8); align-items: flex-start; min-width: 0; padding: 0; margin: 0; border: 0; }
.NewTask-slash { margin-top: 21px; font-size: 24px; line-height: 36px; color: var(--fgColor-muted); }
.NewTask-owner { cursor: default; }
.NewTask-owner:hover { background-color: var(--button-default-bgColor-rest); border-color: var(--button-default-borderColor-rest); }
.NewTask-owner .avatar { border-radius: var(--borderRadius-small); }
.NewTask-settings { margin-top: var(--base-size-12); border: var(--borderWidth-thin) solid var(--borderColor-muted); border-radius: var(--borderRadius-medium); }
.NewTask-settings + .NewTask-settings { margin-top: var(--base-size-16); }
.NewTask-setting { position: relative; display: flex; gap: var(--base-size-16); align-items: center; padding: var(--base-size-12) var(--base-size-16); }
.NewTask-setting + .NewTask-setting::before { position: absolute; top: 0; right: var(--base-size-4); left: var(--base-size-4); height: var(--borderWidth-thin);
  content: ""; background: var(--borderColor-muted); }
.NewTask-settingText { flex: 1 1 auto; min-width: 0; }
.NewTask-settingTitle { font-size: var(--text-body-size-medium); font-weight: var(--base-text-weight-semibold); line-height: 1.5; }
.NewTask-settingDescription { margin: 2px 0 0; font-size: var(--text-body-size-small); line-height: 1.5; color: var(--fgColor-muted); }
.NewTask .FormControl-caption { line-height: 1.5; }  /* a React form's caption, not Primer CSS's 1.25 */
/* a refused field, as github.com/new draws one: its reason on 16px lines, and a red focus ring, not the blue one */
.NewTask .FormControl-inlineValidation { line-height: 16px; }
.NewTask .FormControl-input[invalid=true]:focus { border-color: var(--control-borderColor-danger); outline: 2px solid var(--control-borderColor-danger);
  outline-offset: -1px; box-shadow: var(--shadow-inset); }
.NewTask-referral { flex: none; width: 200px; }
/* the form on its way: a section of github.com's merge box, as it checks a pull request (a 32px spinner, then a heading and a note) */
.NewTask-status { display: flex; align-items: flex-start; padding: var(--base-size-16); margin-top: var(--base-size-24);
  border: var(--borderWidth-thin) solid var(--borderColor-default); border-radius: var(--borderRadius-medium); }
.NewTask-statusIcon { display: flex; flex: none; align-items: center; justify-content: center; width: var(--base-size-32);
  height: var(--base-size-32); margin-right: var(--base-size-8); }
.NewTask-statusTitle { font-size: var(--text-body-size-large); font-weight: var(--base-text-weight-semibold); line-height: 1.5; }
.NewTask-statusNote { margin: 0; color: var(--fgColor-muted); }
.NewTask [aria-disabled=true].Button { cursor: default; }
@media (max-width: 767.98px) { .NewTask-setting { flex-wrap: wrap; } }
@media (max-width: 543.98px) {
  .NewTask-ownerName { flex-wrap: wrap; }
  .NewTask-ownerName > .flex-auto { flex-basis: 100%; }
  .NewTask-slash { display: none; }
}

/* --- dialogs: Primer React's Dialog, as github.com opens it to edit a repository's details: 640px (480 for a
   confirmation, 320 to delete), a header under a rule, a 16px body that scrolls (ruled off from the footer only then)
   and a footer --- */
dialog.Dialog { display: flex; flex-direction: column; width: var(--dialog-width, 640px); min-width: 296px; max-width: calc(100dvw - 64px);
  height: fit-content; max-height: calc(100dvh - 64px); padding: 0; margin: auto; overflow: hidden; color: var(--fgColor-default);
  background-color: var(--overlay-bgColor); border: 0; border-radius: var(--borderRadius-large); box-shadow: var(--shadow-floating-small); }
dialog.Dialog:not([open]) { display: none; }
dialog.Dialog[data-width=large] { --dialog-width: 480px; }
dialog.Dialog[data-width=medium] { --dialog-width: 320px; }  /* Primer React's ConfirmationDialog, as for "Delete comment" */
@media (prefers-reduced-motion: no-preference) { dialog.Dialog[open] { animation: Overlay--motion-scaleFade .2s cubic-bezier(.33, 1, .68, 1) 1ms; } }
.Dialog-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; margin: 0; }
.Dialog-header { z-index: 1; display: flex; flex-shrink: 0; max-height: 35vh; padding: var(--base-size-8); overflow-y: auto;
  box-shadow: 0 1px 0 var(--borderColor-default); }
.Dialog-headerContent { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; padding: var(--base-size-6) var(--base-size-8); }
.Dialog-title { margin: 0; font-size: var(--text-body-size-medium); font-weight: var(--base-text-weight-semibold); line-height: 1.5; }
.Dialog-subtitle { margin: var(--base-size-4) 0 0; font-size: var(--text-body-size-small); font-weight: var(--base-text-weight-normal); line-height: 1.5;
  color: var(--fgColor-muted); }
.Dialog-body { flex-grow: 1; padding: var(--base-size-16); overflow: auto; border-bottom: var(--borderWidth-thin) solid var(--borderColor-default); }
@supports (animation-timeline: scroll(self)) {
  .Dialog-body { --can-scroll: 0; border-bottom-width: calc(var(--borderWidth-thin) * var(--can-scroll)); animation: Dialog-scrolls linear;
    animation-timeline: scroll(self); }
}
@keyframes Dialog-scrolls { from, to { --can-scroll: 1; } }
.Dialog-footer { z-index: 1; display: flex; flex-flow: wrap; flex-shrink: 0; gap: var(--base-size-8); justify-content: flex-end; padding: var(--base-size-16); }
/* its fields, spaced as in "Edit repository details": labels on 1.5 lines, options in regular weight, 8px apart */
.Dialog-fields { display: flex; flex-direction: column; gap: var(--base-size-16); }
.Dialog-fields > * + * { margin-top: var(--base-size-12); }
.Dialog-body .FormControl-label { line-height: 1.5; }
.Dialog-options { display: flex; flex-direction: column; min-width: 0; padding: 0; margin-inline: 0; border: 0; }
.Dialog-options > legend { padding: 0; margin-bottom: var(--base-size-8); }
.Dialog-options > div + div { margin-top: var(--base-size-8); }
.Dialog-options :is(.FormControl-radio-wrap, .FormControl-checkbox-wrap) .FormControl-label { font-weight: var(--base-text-weight-normal); }

/* --- admin and dialogs ------------------------------------------------------------------------------- */
.actions, .assign, .setting { gap: var(--base-size-8); }
@media (min-width: 1012px) { .Layout--settings { --Layout-sidebar-width: 280px; --Layout-gutter: 40px; } }
.FormControl-textarea { min-height: var(--base-size-80); padding: var(--base-size-6) var(--base-size-12); line-height: var(--base-size-20); resize: vertical; }

/* --- admin ---------------------------------------------------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--base-size-16); }
.stat { display: flex; flex-direction: column; padding: var(--base-size-16); color: var(--fgColor-default); }
.stat:hover { text-decoration: none; background: var(--bgColor-muted); }
.stat-label { font-size: var(--text-body-size-small); font-weight: 600; color: var(--fgColor-muted); }
.stat-value { margin: var(--base-size-4) 0; font-size: 32px; font-weight: 600; line-height: 1.25; }
.stat-note { font-size: var(--text-body-size-small); color: var(--fgColor-muted); }
.filter { width: 260px; max-width: 100%; }
.task-admin-row { gap: var(--base-size-8) var(--base-size-16); }
.reviewer { display: inline-flex; align-items: center; height: var(--base-size-24); padding: 0 var(--base-size-2) 0 var(--base-size-6);
  margin: 0 var(--base-size-8) var(--base-size-4) 0; border: var(--borderWidth-thin) solid var(--borderColor-default); border-radius: 2em; }
.reviewer-remove { display: inline-grid; place-items: center; width: var(--base-size-20); height: var(--base-size-20); padding: 0;
  margin-left: var(--base-size-2); color: var(--fgColor-muted); cursor: pointer; background: none; border: 0; border-radius: 50%; }
.reviewer-remove:hover { color: var(--fgColor-danger); background: var(--bgColor-danger-muted); }
.assign .form-control { width: 160px; }
.step-name { flex: none; width: 200px; }
details.Box > summary { cursor: pointer; list-style: none; }
details.Box > summary::-webkit-details-marker { display: none; }
details.Box:not([open]) > summary { border-bottom: 0; border-radius: var(--borderRadius-medium); }
/* Admin -> Applications: a welcome email as it is sent (plain text, wrapped to the box). */
.email-preview { margin: 0; font-size: var(--text-body-size-small); white-space: pre-wrap; overflow-wrap: anywhere; }

/* --- profile --------------------------------------------------------------------------------------- */
/* An answer on the application form: the question, and beside it from 768px what was answered. */
.profile-answer { display: grid; gap: var(--base-size-4) var(--base-size-16); }
@media (min-width: 768px) { .profile-answer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* The picture beside the profile, as github.com's profile settings show it: 200px and round, but never wider than its
   column (github.com's overflows it from 768 to 1011px and scrolls the page sideways). */
.profile-picture { max-width: 100%; height: auto; }

/* --- page loads ------------------------------------------------------------------------------------ */
/* The bar github.com shows at the top of the window while a page loads (Turbo's progress bar, drawn the way GitHub's
   own stylesheet draws it): app.js shows it 99 ms after a click, and it creeps on until the next page comes. */
.turbo-progress-bar {
  position: fixed; display: block; top: 0; left: 0; height: 3px; background: #0076ff; z-index: 2147483647;
  transition: width 300ms ease-out, opacity 150ms 150ms ease-in; transform: translate3d(0, 0, 0);
}
.turbo-progress-bar[data-render-mode=transform] {
  width: 100%; transform: scaleX(var(--turbo-progress-bar-scale, 0)); transform-origin: 0;
  transition: transform var(--base-duration-300) var(--base-easing-easeOut),
    opacity calc(var(--base-duration-300) / 2) calc(var(--base-duration-300) / 2) var(--base-easing-easeIn);
}
