/* Repo pages: shared head, tabs, meta rows. */
.hs-crumb {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}
.hs-repo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.hs-repo-head .title {
  margin-bottom: 0;
}
.hs-repo-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hs-repo-title .title {
  margin-bottom: 0;
}
/* Branch + latest commit line under the repo title. */
.hs-repo-sub {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--bulma-text-weak);
  flex-basis: 100%;
  margin-top: 0.25rem;
}
.hs-tabs {
  margin-bottom: 0;
  flex: 1;
}
/* Tab bar with actions docked on the other side (clone + download). */
.hs-tabbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--bulma-border);
}
.hs-tabbar .tabs {
  margin-bottom: -1px;
  border-bottom: 0;
}
.hs-tabbar-actions {
  padding-bottom: 0.4rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
#download-dropdown .dropdown-menu {
  min-width: 11rem;
}
/* README rendered on the overview page. */
.hs-readme {
  border: 1px solid var(--bulma-border-weak);
  border-radius: var(--bulma-radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.hs-readme-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bulma-text-weak);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--bulma-border-weak);
  background-color: var(--bulma-scheme-main-bis);
  margin: 0;
}
.hs-readme-body {
  padding: 1rem 1.25rem;
}
.hs-readme-body h1,
.hs-readme-body h2,
.hs-readme-body h3 {
  margin-top: 1.25em;
}
.hs-readme-body h1:first-child,
.hs-readme-body h2:first-child,
.hs-readme-body h3:first-child {
  margin-top: 0;
}
.hs-readme-body pre {
  padding: 0.9rem 1rem;
  overflow-x: auto;
}
.hs-readme-body table {
  display: block;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.hs-readme-body img {
  max-width: 100%;
}
.hs-clone-field {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
}
.hs-meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.hs-meta-key {
  color: var(--bulma-text-weak);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hs-dot {
  color: var(--bulma-text-weak);
}

/* Branch picker in repo heads and the tab bar. */
.hs-branch-select select {
  max-width: 12rem;
}

/* Tree: flat file rows. */
.hs-file-table {
  background: transparent;
}
.hs-file-table td {
  vertical-align: middle;
  border-bottom: 1px solid var(--bulma-border-weak);
}
.hs-col-kind {
  width: 3.5rem;
}
.hs-dir,
.hs-file {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bulma-text-weak);
}
.hs-dir {
  color: var(--bulma-link);
}
.hs-entry-name {
  font-weight: 500;
}
.hs-col-sha {
  width: 4.5rem;
  text-align: right;
}

/* Commits: stacked rows instead of a table. */
.hs-commits {
  display: flex;
  flex-direction: column;
}
.hs-commit {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--bulma-border-weak);
  align-items: baseline;
}
.hs-commit-body {
  min-width: 0;
}
.hs-commit-msg {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs-flash-shell {
  padding-top: 1rem;
  padding-bottom: 0;
}
/* Visibility row on the repo settings tab. */
.hs-visibility-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hs-login {
  margin-top: 3rem;
}
.hs-error {
  text-align: center;
  padding: 4rem 1rem;
}
