/* Git view (#323, js/git.js): the commit graph as a virtualised grid (rows absolutely placed inside
   .git-rows, only the visible ones in the DOM), one inline SVG per row's graph cell, the commit
   detail on the right, its width draggable (#511). The grid scrolls both ways; at phone width the graph and the
   detail are two tabs (#511). */
.git-view {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}

.git-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  flex: none;
  min-height: 26px;
  font-size: 12px;
  color: var(--muted);
}
.git-summary { color: var(--text); font-weight: 600; }
.git-toolbar-gap { flex: 1; }
.git-push-note { flex: none; }
.git-refs-filter {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 6px;
  font-size: 12px;
}

.git-body { flex: 1; min-height: 0; display: flex; gap: 8px; position: relative; }
.git-main { flex: 1; min-width: 0; display: flex; }
.git-scroll {
  flex: 1;
  min-width: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.git-scroll:focus { outline: none; }
.git-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.git-table {
  --git-refs-w: 190px;
  --git-graph-w: 34px;
  /* the graph column is at least as wide as its "Graph" heading; the date column fits "14 Oct 08:17 (4h ago)" (#706) */
  --git-version-w: 76px;
  --git-cols: var(--git-refs-w) max(64px, var(--git-graph-w)) minmax(320px, 1fr) 150px 160px var(--git-version-w) 76px;
  position: relative;
  min-width: calc(var(--git-refs-w) + max(64px, var(--git-graph-w)) + 320px + 150px + 160px + var(--git-version-w) + 76px);
}
.git-header, .git-row { display: grid; grid-template-columns: var(--git-cols); align-items: center; }
.git-header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.git-rows { position: relative; }
.git-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  cursor: pointer;
  font-size: 13px;
  --lane: var(--muted);
}
.git-row:hover { background: var(--panel); }
.git-row.selected { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.git-row.is-head .git-subject { font-weight: 600; }

.git-cell { min-width: 0; padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.git-row .git-author, .git-row .git-date { color: var(--muted); }
.git-row .git-sha { color: var(--muted-2); font-size: 12px; }
/* the version (#705): where it changed against the first parent it stands out, a repeat is dimmed */
.git-row .git-version { font-size: 12px; color: var(--muted); }
.git-row .git-version.is-bump { color: var(--text); font-weight: 700; }
.git-row .git-version.is-same { color: var(--muted-2); opacity: 0.7; }
.git-graph { padding: 0; height: 30px; }
.git-header .git-graph { padding: 0 8px; height: auto; overflow: visible; }
.git-graph-svg { display: block; overflow: hidden; }

/* GitKraken's band: the message cell carries its lane's colour */
.git-row .git-msg {
  height: 24px;
  line-height: 24px;
  border-left: 3px solid var(--lane);
  background: color-mix(in srgb, var(--lane) 7%, transparent);
}
.git-body-preview { color: var(--muted-2); margin-left: 10px; }

/* the graph */
.git-edge { fill: none; stroke-width: 2; stroke-linecap: round; }
.git-node { stroke: var(--bg); stroke-width: 1.5; }
.git-node-merge { stroke-width: 1; }
.git-node-text {
  fill: #0d1117;
  font: 700 8px system-ui, sans-serif;
  text-anchor: middle;
  pointer-events: none;
}
.git-node-head { fill: none; stroke: var(--text); stroke-width: 2; }

/* ref labels */
.git-refs { display: flex; align-items: center; gap: 4px; }
.git-ref {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--lane, var(--accent)) 30%, var(--panel));
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.git-ref.current { background: color-mix(in srgb, var(--lane, var(--accent)) 65%, #000); font-weight: 600; }
.git-ref-check { margin-right: 4px; }
.git-ref-remote {
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--lane, var(--accent)) 70%, transparent);
  font-style: italic;
}
.git-ref-tag { background: var(--panel-2); border-color: var(--border); }
.git-ref-tag::before { content: "◆ "; color: var(--warn); font-size: 10px; }
.git-ref-head { background: var(--warn); color: #000; font-weight: 600; }
.git-ref-more {
  flex: none;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 11px;
  line-height: 16px;
}

.git-hint { padding: 18px; color: var(--muted); text-align: center; font-size: 12px; }
.git-more { padding: 10px; text-align: center; }
.git-muted { color: var(--muted); }

/* the commit detail */
.git-detail, .git-compare {
  flex: 1 1 0;
  min-width: 0;
  overflow: auto;
  padding: 10px 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: 13px;
}
.git-detail[hidden], .git-compare[hidden] { display: none; }
.git-detail-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.git-detail-close { margin-left: auto; }
.git-detail-subject { margin: 6px 0 8px; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.git-detail-body { margin-bottom: 12px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.git-detail-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 0; }
.git-detail-meta dt { color: var(--muted); }
.git-detail-meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.git-person-email { color: var(--muted); }
.git-person-date { color: var(--muted-2); font-size: 12px; }
.git-parents { display: flex; flex-wrap: wrap; gap: 4px; }
.git-parent {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
}
.git-parent:disabled { color: var(--muted); cursor: default; }
.git-detail-refs { display: flex; flex-wrap: wrap; gap: 4px; }
.git-detail-fullsha { font-size: 12px; color: var(--muted); }
.git-files-head { margin-top: 14px; padding: 10px 0 6px; border-top: 1px solid var(--border); font-weight: 600; }
.git-file {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
}
.git-file { cursor: pointer; }
.git-file:hover, .git-file:focus-visible { background: color-mix(in srgb, var(--accent) 14%, transparent); outline: none; }
.git-file-path { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.git-file-stat { flex: none; display: flex; gap: 6px; font-family: ui-monospace, monospace; }
.git-file-add { color: var(--ok); }
.git-file-del { color: var(--danger); }
.git-file-bin { flex: none; color: var(--muted); }
.git-files-cut { margin-top: 6px; font-size: 12px; }
.git-detail-loading, .git-detail-error { padding: 12px 0; color: var(--muted); }
.git-detail-error { color: var(--danger); }

/* a file's diff (diff.css) in the pane: it gets wider so a side-by-side diff has room, and the diff scrolls
   inside it; the list on the left shrinks (it scrolls sideways). On a wide screen the pane is --git-pane-w wide
   (the user's, set by the divider; js/git.js) or 380px, 960px / 70% with a diff; the list keeps 240px of the row. */
@media (min-width: 761px) {
  .git-detail, .git-compare { flex: 0 0 min(var(--git-pane-w, 380px), calc(100% - 248px)); }
  .git-view.has-diff .git-detail, .git-view.has-compare-diff .git-compare {
    flex-basis: min(var(--git-pane-w, min(960px, 70%)), calc(100% - 248px));
  }
}
.git-detail.is-diff, .git-compare.is-diff { display: flex; flex-direction: column; overflow: hidden; }
.git-detail:focus, .git-compare:focus { outline: none; }
.git-diff-nav { display: flex; align-items: center; gap: 6px; padding: 6px 0 0; }
.git-diff-pos { margin-left: 4px; font-size: 12px; }

/* the divider (#511): 8px, in the gap before the pane (the body's 8px gaps minus its own -8px margins); it shows
   with a pane. A wide hit area, a thin line that lights up on hover, on focus and while dragging. */
.git-resizer {
  flex: none;
  width: 8px;
  margin: 0 -8px;
  position: relative;
  z-index: 1;
  cursor: col-resize;
  touch-action: none;
  display: none;
}
.git-view.has-detail .git-resizer, .git-view.has-compare .git-resizer { display: block; }
.git-resizer::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 3px;
  width: 2px;
  border-radius: 1px;
  background: transparent;
  transition: background 0.12s;
}
.git-resizer:hover::after, .git-resizer:focus-visible::after, .git-view.resizing .git-resizer::after { background: var(--accent); }
.git-resizer:focus { outline: none; }
.git-view.resizing { user-select: none; cursor: col-resize; }
.git-view.resizing .git-scroll, .git-view.resizing .git-detail, .git-view.resizing .git-compare { pointer-events: none; }

/* the narrow tabs (#511): only at phone width, see the media query below */
.git-tabs { display: none; }
.git-pane-empty { display: none; }

/* compare a branch with its base (#407) */
.git-compare-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  flex: none;
  font-size: 12px;
  color: var(--muted);
}
.git-compare-form[hidden] { display: none; }
.git-compare-form label { display: inline-flex; align-items: center; gap: 6px; }
.git-compare-form input {
  width: 240px;
  max-width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 6px;
  font-size: 12px;
}
.git-compare-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--panel)); border-color: var(--accent); }
/* the button on a branch label: it shows on hover / focus (always on a touch screen) */
.git-ref-compare {
  flex: none;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
  cursor: pointer;
  opacity: 0;
}
.git-ref-compare::before { content: "⇄"; }
.git-row:hover .git-ref-compare, .git-detail-refs .git-ref-compare, .git-ref-compare:focus-visible { opacity: 1; }
.git-ref-compare:hover { color: var(--text); border-color: var(--accent); }
@media (hover: none) { .git-ref-compare { opacity: 0.8; } }

.git-compare-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; }
.git-compare-ref { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.git-compare-stats { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.git-compare-ahead { color: var(--ok); }
.git-compare-behind { color: var(--warn); }
.git-compare-empty { margin-top: 12px; padding: 14px 10px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); text-align: center; }
.git-compare-commits { display: flex; flex-direction: column; }
.git-compare-commit {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 8px;
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.git-compare-commit:hover, .git-compare-commit:focus-visible { background: color-mix(in srgb, var(--accent) 14%, transparent); outline: none; }
.git-compare-sha { grid-row: 1 / 3; color: var(--accent); }
.git-compare-subject { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.git-compare-meta { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.git-compare-note { margin-top: 6px; font-size: 12px; }
.git-compare-note:empty { display: none; }
/* a branch a link asked to show (#409): its label is ringed, its row is highlighted like a selected one */
.git-ref.focused { outline: 2px solid var(--accent); outline-offset: 1px; }
.git-ref-note { margin: 0 0 6px; font-size: 12px; }
.git-ref-note:empty { display: none; }

/* the files section of both panes (#815, js/git_files.js): Changed / All files and List / Tree as two segmented
   toggles under the head line, the list (the rows above) or the tree, a breadcrumb over the tree */
.git-files-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0 0 6px; }
.git-seg { display: inline-flex; }
.git-seg .git-seg-btn { border-radius: 0; }
.git-seg .git-seg-btn:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.git-seg .git-seg-btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; margin-left: -1px; }
.git-seg-btn.active { background: color-mix(in srgb, var(--accent) 22%, var(--panel)); border-color: var(--accent); color: var(--text); position: relative; }
.git-files-chip { color: var(--accent); }
.git-files-branch { font-weight: 400; color: var(--muted); }
.git-files-truncated { font-weight: 400; color: var(--warn); }
.git-files-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding: 0 0 4px; font-size: 12px; }
.git-files-crumbs[hidden] { display: none; }
.git-crumb, .file-crumb {
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.git-crumb:hover, .file-crumb:hover { text-decoration: underline; }
.git-crumb-sep, .file-crumb-sep { color: var(--muted-2); }
.git-file-size { flex: none; color: var(--muted); font-family: ui-monospace, monospace; }
/* the 📄 "Open file" at the end of a Changed row (#817, js/git_files.js): the path takes the room, the button stays right */
.git-file > .git-file-path { flex: 1; }
.git-file-open { flex: none; padding: 0 2px; border: 0; border-radius: 3px; background: none; font: inherit; line-height: 1; cursor: pointer; opacity: 0.65; }
.git-file-open:hover, .git-file-open:focus-visible { opacity: 1; outline: 1px solid var(--accent); }
.git-file-open::before { content: "\1F4C4"; }
.git-file-chip {
  flex: none;
  padding: 0 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
}
.git-files-tree .git-file, .git-tree-dir { padding-left: calc(var(--depth, 0) * 14px + 18px); }
.git-tree-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: calc(var(--depth, 0) * 14px);
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
  cursor: pointer;
}
.git-tree-dir:hover, .git-tree-dir:focus-visible { background: color-mix(in srgb, var(--accent) 14%, transparent); outline: none; }
.git-tree-twisty { flex: none; width: 12px; color: var(--muted); }
.git-tree-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.git-tree-count { flex: none; font-size: 11px; }

/* the reader (#815, js/file_view.js): in the pane like a diff - the bar, a head, then the lines with a sticky gutter */
.file-view { display: flex; flex-direction: column; min-height: 0; min-width: 0; flex: 1; font-size: 12px; }
.file-head { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; min-width: 0; }
.file-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; font-weight: 600; overflow-wrap: anywhere; }
.file-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.file-head-gap { flex: 1; }
.file-commit { color: var(--accent); }
.file-branch { color: var(--muted); }
.file-wrap.active { background: color-mix(in srgb, var(--accent) 22%, var(--panel)); border-color: var(--accent); }
.file-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.file-body:focus { outline: none; }
.file-banner { padding: 4px 8px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--warn) 14%, var(--panel)); color: var(--text); }
.file-code {
  min-width: max-content;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 18px;
  tab-size: 4;
}
.file-line { display: flex; }
.file-num {
  position: sticky;
  left: 0;
  flex: none;
  min-width: 5ch;
  padding: 0 8px 0 6px;
  text-align: right;
  color: var(--muted-2);
  background: var(--panel);
  user-select: none;
  cursor: pointer;
}
.file-num:hover { color: var(--accent); }
.file-text { flex: 1; padding: 0 8px; white-space: pre; }
.file-line.is-marked, .file-line.is-marked .file-num { background: color-mix(in srgb, var(--warn) 22%, var(--bg)); }
.file-line.is-marked .file-num { color: var(--text); }
.file-view.is-wrap .file-code { min-width: 0; }
.file-view.is-wrap .file-text { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.file-error { color: var(--danger); }

/* the finder, the bookmarks and the Project rules (#816, js/git_files.js, js/git_bookmarks.js) */
.git-find { padding: 0 0 6px; }
.git-find[hidden], .git-quick[hidden] { display: none; }
.git-find-input {
  width: 100%;
  box-sizing: border-box;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.git-find-input:focus { outline: none; border-color: var(--accent); }
.git-find-hit { color: var(--accent); font-weight: 700; }
.git-find-row.is-active { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.git-find-none { padding: 6px 4px; }
.git-quick { display: flex; flex-direction: column; gap: 6px; padding: 0 0 8px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.git-quick-head { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 4px 2px; }
.git-quick-item.is-absent .git-file-path { color: var(--muted); }
.file-star { min-width: 28px; }
.file-star.active { color: var(--warn); border-color: var(--warn); }
.file-star[hidden] { display: none; }
.file-missing-actions { padding: 0 12px 12px; display: flex; justify-content: center; }
.git-bm { position: relative; display: inline-flex; }
.git-bm-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--panel)); border-color: var(--accent); }
.git-bm-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  width: max-content;
  min-width: 220px;
  max-width: min(420px, calc(100vw - 24px));
  max-height: min(60vh, 480px);
  overflow: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.git-bm-menu[hidden] { display: none; }
.git-bm-head { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 6px 2px; }
.git-bm-item, .git-bm-rules-toggle {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.git-bm-item:hover, .git-bm-item:focus-visible, .git-bm-rules-toggle:hover, .git-bm-rules-toggle:focus-visible {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  outline: none;
}
.git-bm-name { flex: none; font-weight: 600; }
.git-bm-dir { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.git-bm-rules-toggle { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.git-bm-empty { padding: 4px 6px; }

/* the reader's colouring (#818, js/code_highlight.js): the token colours are custom properties, so a theme only sets
   them; Boxer's theme is dark only, these values are GitHub-dark's */
.file-view {
  --tok-comment: #8b949e;
  --tok-string: #a5d6ff;
  --tok-number: #79c0ff;
  --tok-keyword: #ff7b72;
  --tok-key: #7ee787;
  --tok-heading: #d2a8ff;
}
.tok-comment { color: var(--tok-comment); font-style: italic; }
.tok-string { color: var(--tok-string); }
.tok-number { color: var(--tok-number); }
.tok-keyword { color: var(--tok-keyword); }
.tok-key { color: var(--tok-key); }
.tok-heading { color: var(--tok-heading); font-weight: 600; }
/* a .md file: Rendered | Source, and the rendered text (util.renderMarkdown, the post styles of .post-body) */
.file-md-mode[hidden] { display: none; }
.file-md { padding: 8px 14px; max-width: 900px; }
.file-md .md-h { margin: 12px 0 6px; }

@media (max-width: 760px) {
  .git-view { padding: 6px; }
  /* the files section and the reader sit in the changes tab (#815): touch-sized tree rows, the toggles wrap */
  .git-tree-dir, .git-files-tree .git-file { min-height: 36px; align-items: center; }
  .git-files-bar .git-seg { flex: 1 1 auto; }
  .git-files-bar .git-seg-btn { flex: 1; }
  .git-find-input { padding: 8px 10px; font-size: 16px; } /* 16 px: no zoom on focus in a phone browser */
  .git-find-row, .git-quick-item, .git-bm-item { min-height: 36px; align-items: center; }
  .git-bm-menu { left: 0; right: auto; width: calc(100vw - 24px); max-width: none; } /* under its button, the screen wide */
  /* the graph and the changes are two tabs (#511): the one not chosen stays laid out, so the graph keeps its
     scroll position, but is neither seen nor reachable */
  .git-tabs { display: flex; flex: none; gap: 4px; border-bottom: 1px solid var(--border); }
  .git-tab {
    flex: 1;
    padding: 7px 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .git-tab.active { color: var(--text); border-bottom-color: var(--accent); }
  .git-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .git-view.tab-changes .git-main,
  .git-view.tab-graph .git-detail, .git-view.tab-graph .git-compare {
    position: absolute;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .git-view.tab-changes:not(.has-detail):not(.has-compare) .git-pane-empty {
    display: flex; flex: 1; align-items: center; justify-content: center; padding: 18px; text-align: center;
  }
  .git-resizer { display: none !important; }
  .git-compare-form input { width: 100%; }
  .git-compare-form label { flex: 1 1 100%; }
  .git-ref-compare { opacity: 0.8; }
}
