html,
body {
  height: 100%;
  width: 100%;
}
body {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  margin: 0;
  font: 10pt sans-serif;
}
#error-modal .modal-body {
  margin-bottom: 0;
}
#help-modal img {
  display: block;
  margin: 0 auto;
  border: 1px solid #dddddd;
}
#header-bar {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0 16px;
  height: 46px;
  background: #2a2a2a;
  color: #ccc;
  font-size: 10pt;
  border-bottom: 2px solid #1a1a1a;
  flex-shrink: 0;
}
#header-bar .header-repo {
  color: #fff;
}
#header-bar .header-path {
  color: #aaa;
}
#header-bar .header-branch {
  color: #8bc34a;
}
#header-bar .hdr-label {
  color: #888;
}
#header-bar .hdr-value {
  color: #fff;
}
#header-bar .header-remote-url {
  color: #aaa;
}
#header-bar .header-email {
  color: #aaa;
}
#header-bar .header-status {
  margin-left: auto;
  color: #ffa726;
}
#message-box .alert {
  margin: 0;
}
#global-container {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
#sidebar {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  width: 14em;
  background-color: #333333;
}
#sidebar #sidebar-icon-bar {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 6px 0 4px;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}
#sidebar .sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  cursor: pointer;
  opacity: 0.35;
  border-radius: 4px;
  transition: opacity 0.15s, background 0.15s;
}
#sidebar .sidebar-icon:hover {
  background: rgba(255,255,255,0.08);
}
#sidebar .sidebar-icon.active {
  opacity: 1;
}
#sidebar .sidebar-icon img {
  display: block;
  width: 22px;
  height: 22px;
}
#sidebar #sidebar-logo-link {
  margin-top: auto;
  display: block;
  text-align: center;
}
#sidebar #sidebar-logo {
  display: block;
  margin: 8px auto;
  height: 2em;
}
#sidebar .branch-current {
  font-weight: bold;
}
#sidebar #sidebar-content {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow-x: hidden;
  overflow-y: auto;
  cursor: default;
  border-top: 1px solid #1a1a1a;
  color: #eeeeee;
}
#sidebar #sidebar-content > :first-child {
  border-top: 1px solid #5e5e5e;
}
#sidebar #sidebar-content h4:before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin: 0px 5px 5px 8px;
}
#sidebar #sidebar-content h4 {
  vertical-align: baseline;
  margin: 0.5em 0 0 0;
}
#sidebar #sidebar-content > section h4 {
  font-size: 110%;
  cursor: pointer;
  padding: 10px 0;
}
#sidebar #sidebar-content #sidebar-workspace h4:before {
  background-image: url(/img/computer.svg?v=2);
}
#sidebar #sidebar-content #sidebar-repo-root h4:before {
  background-image: url(/img/settings.svg?v=1);
}
#sidebar #sidebar-content #sidebar-local-branches h4:before {
  background-image: url(/img/local-branches.svg?v=2);
}
#sidebar #sidebar-content #sidebar-remote-branches h4:before {
  background-image: url(/img/remote-branches.svg?v=2);
}
#sidebar #sidebar-content #sidebar-tags h4:before {
  background-image: url(/img/tag.svg?v=2);
}
#sidebar #sidebar-content section.repo-dependent {
  display: none;
}
#sidebar #sidebar-content section.section-empty ul {
  display: none;
}
#sidebar #sidebar-content section.section-empty h4 {
  opacity: 0.6;
}
#sidebar #sidebar-content ul {
  margin: 0;
  padding: 0;
}
#sidebar #sidebar-content li:before {
  content: "\2022";
  margin: 12px;
}
#sidebar #sidebar-content li {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 0;
}
#sidebar #sidebar-content li .branch-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 11pt;
}
#sidebar #sidebar-content li .branch-action {
  display: none;
  align-items: center;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 3px;
  flex-shrink: 0;
}
#sidebar #sidebar-content li:hover .branch-action {
  display: inline-flex;
}
#sidebar #sidebar-content li .branch-action:last-child {
  margin-right: 10px;
}
#sidebar #sidebar-content li .branch-action:hover {
  background: rgba(255,255,255,0.15);
}
#sidebar #sidebar-content li .branch-action-icon {
  width: 14px;
  height: 14px;
  display: block;
  position: relative;
  top: 0px;
}
#sidebar #sidebar-content #sidebar-local-branches h4 {
  display: flex;
  align-items: center;
}
#sidebar #sidebar-content #sidebar-local-branches h4 .section-title {
  flex: 1;
  min-width: 0;
}
#sidebar #sidebar-content #sidebar-local-branches h4 .branch-add {
  display: none;
  align-items: center;
  padding: 4px 6px;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 3px;
  flex-shrink: 0;
}
#sidebar #sidebar-content #sidebar-local-branches h4:hover .branch-add {
  display: inline-flex;
}
#sidebar #sidebar-content #sidebar-local-branches h4 .branch-add:hover {
  background: rgba(255,255,255,0.15);
}
#sidebar #sidebar-content #sidebar-local-branches h4 .section-action-icon {
  width: 14px;
  height: 14px;
  display: block;
}
#sidebar #sidebar-content .active {
  background-color: #428bca;
}
#sidebar .modal-dialog .list-group-item {
  border: 0;
}
#main-content-area {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
#main-view {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  border-top: 1px solid #fff;
}
#main-view .jumbotron {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  margin: 0;
}
#main-view .jumbotron h1 {
  font-size: 36pt;
  margin-top: 0;
}
#history-view {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
#log-view {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow-y: auto;
  cursor: default;
  margin-bottom: 0;
  border-right: 1px #dddddd solid;
  position: relative;
}
#log-view svg {
  position: absolute;
  top: 0;
  left: 0;
}
#log-view svg path {
  stroke-width: 2;
  fill: none;
}
#log-view svg circle {
  stroke: none;
  fill: #555555;
}
#log-view .log-entry {
  padding: 5px 10px;
  background-color: transparent;
  margin: 0;
  border-top-width: 0;
}
#log-view .log-entry:hover {
  background-color: rgba(244, 244, 244, 0.9);
}
#log-view .log-entry.active {
  background-color: rgba(46, 127, 197, 0.9);
}
#log-view .log-entry.active header h6 a {
  color: #ffffff;
}
#log-view .log-entry header {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  align-items: baseline;
  -webkit-align-items: baseline;
}
#log-view .log-entry header h6 {
  font-weight: bold;
  margin-top: 0;
}
#log-view .log-entry header h6 a {
  color: #777777;
}
#log-view .log-entry header .badge {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
#log-view .log-entry header .log-entry-date {
  margin-left: auto;
}
#log-view .log-entry .list-group-item-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#log-view .log-entry-more {
  padding: 10px 16px;
}
#log-view .log-entry-more a {
  display: block;
  text-align: center;
}
#commit-view {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
#commit-view #commit-view-header {
  border: solid #dddddd;
  border-width: 0 0 1px 0;
}
#commit-view #commit-view-content {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  flex-direction: column;
  -webkit-flex-direction: column;
}
.file-list-view {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
.file-list-view .file-list-container {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow: auto;
}
.file-list-view .file-list-container .file-list-left-container {
  border: solid #dddddd;
  border-width: 0 1px 0 0;
}
.file-list-view .file-list-container .file-list-right-container,
.file-list-view .file-list-container .file-list-left-container {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow: auto;
}
.file-list-view .file-list-container .list-group {
  display: table;
  margin: 0;
  width: 100%;
}
.file-list-view .file-list-container .list-group .list-group-item:first-child {
  border-top: 0;
}
.file-list-view .file-list-container .list-group .list-group-item {
  padding: 5px 10px;
  border-left: 0;
  border-right: 0;
  white-space: nowrap;
}
.diff-view-container {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  border: 0;
  margin: 0;
}
.diff-view-container .panel-heading {
  margin: 0;
  padding: 5px 16px;
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
}
.diff-view-container .panel-heading .btn-group {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  align-items: baseline;
  -webkit-align-items: baseline;
}
.diff-view-container .panel-heading .btn-group span {
  padding-left: 5px;
}
.diff-view-container .panel-heading .diff-selection-buttons {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  align-items: flex-end;
  justify-content: flex-end;
}
.diff-view-container .panel-body {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  padding: 0;
}
.diff-view-container .panel-body:before {
  display: block;
}
.diff-view-container .panel-body .diff-view {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow: auto;
}
.diff-view-container .panel-body .diff-view:nth-child(2) {
  border: solid #dddddd;
  border-width: 0 0 0 1px;
}
.diff-view-container .panel-body .diff-view .diff-view-lines {
  display: table;
  width: 100%;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-view-line {
  margin: 0;
  padding: 0 0.3em 0 0.3em;
  background-color: white;
  border: 0;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-view-line.active {
  background-color: #428bca;
  color: white;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-header {
  font-weight: bold;
  background-color: #eeeeee;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-phantom {
  background-color: #eeeeee;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-header.diff-line-add {
  background-color: #eeeeee;
  color: #669900;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-header.diff-line-del {
  background-color: #eeeeee;
  color: #cc0000;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-header.diff-line-offset {
  background-color: #eeeeee;
  color: #9933cc;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-add {
  background-color: #c5e26d;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-del {
  background-color: #ff9494;
}
.diff-view-container .panel-body .diff-view .diff-view-lines .diff-line-offset {
  background-color: #d6adeb;
}
#tree-view {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
}
#tree-view .breadcrumb {
  padding: 10px 16px;
  margin-bottom: 0;
  border-bottom: 1px #dddddd solid;
}
#tree-view #tree-view-tree-content {
  overflow: auto;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  margin: 0;
}
#tree-view #tree-view-blob-content {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  width: 100%;
}
#tree-view #tree-view-blob-content iframe {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  border: 0;
}
#tree-view .list-group-item {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  cursor: pointer;
  border: 0;
  padding: 5px 10px;
}
#tree-view .list-group-item > :first-child {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
#tree-view .list-group-item > :last-child {
  width: 2em;
}
#tree-view .tree-item-tree:before {
  content: url(/img/folder.svg);
  vertical-align: middle;
  margin: 0.3em;
}
#tree-view .tree-item-blob:before {
  content: url(/img/file.svg);
  vertical-align: middle;
  margin: 0.3em;
}
#tree-view .tree-item-symlink {
  font-style: italic;
}
#workspace-view,
#commit-explorer-view {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
}
#workspace-view #workspace-diff-view,
#commit-explorer-view #workspace-diff-view,
#workspace-view #commit-explorer-diff-view,
#commit-explorer-view #commit-explorer-diff-view {
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex: 2 2 0;
  -webkit-flex: 2 2 0;
  overflow: auto;
}
#workspace-view #workspace-editor,
#commit-explorer-view #workspace-editor,
#workspace-view #commit-explorer-navigator-view,
#commit-explorer-view #commit-explorer-navigator-view {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  align-items: stretch;
  -webkit-align-items: stretch;
  border: solid #dddddd;
  border-width: 1px 0 0 0;
  cursor: default;
}
#workspace-view #workspace-editor #working-copy-view,
#commit-explorer-view #workspace-editor #working-copy-view,
#workspace-view #commit-explorer-navigator-view #working-copy-view,
#commit-explorer-view #commit-explorer-navigator-view #working-copy-view,
#workspace-view #workspace-editor #staging-area-view,
#commit-explorer-view #workspace-editor #staging-area-view,
#workspace-view #commit-explorer-navigator-view #staging-area-view,
#commit-explorer-view #commit-explorer-navigator-view #staging-area-view {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  flex: 2 2 0;
  -webkit-flex: 2 2 0;
}
#workspace-view #workspace-editor #working-copy-view .file-list-container,
#commit-explorer-view #workspace-editor #working-copy-view .file-list-container,
#workspace-view #commit-explorer-navigator-view #working-copy-view .file-list-container,
#commit-explorer-view #commit-explorer-navigator-view #working-copy-view .file-list-container,
#workspace-view #workspace-editor #staging-area-view .file-list-container,
#commit-explorer-view #workspace-editor #staging-area-view .file-list-container,
#workspace-view #commit-explorer-navigator-view #staging-area-view .file-list-container,
#commit-explorer-view #commit-explorer-navigator-view #staging-area-view .file-list-container {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow: auto;
}
#workspace-view #workspace-editor #working-copy-view .file-list-container .list-group,
#commit-explorer-view #workspace-editor #working-copy-view .file-list-container .list-group,
#workspace-view #commit-explorer-navigator-view #working-copy-view .file-list-container .list-group,
#commit-explorer-view #commit-explorer-navigator-view #working-copy-view .file-list-container .list-group,
#workspace-view #workspace-editor #staging-area-view .file-list-container .list-group,
#commit-explorer-view #workspace-editor #staging-area-view .file-list-container .list-group,
#workspace-view #commit-explorer-navigator-view #staging-area-view .file-list-container .list-group,
#commit-explorer-view #commit-explorer-navigator-view #staging-area-view .file-list-container .list-group {
  display: table;
  margin: 0;
  width: 100%;
}
#workspace-view #workspace-editor #working-copy-view .file-list-container .list-group .list-group-item:first-child,
#commit-explorer-view #workspace-editor #working-copy-view .file-list-container .list-group .list-group-item:first-child,
#workspace-view #commit-explorer-navigator-view #working-copy-view .file-list-container .list-group .list-group-item:first-child,
#commit-explorer-view #commit-explorer-navigator-view #working-copy-view .file-list-container .list-group .list-group-item:first-child,
#workspace-view #workspace-editor #staging-area-view .file-list-container .list-group .list-group-item:first-child,
#commit-explorer-view #workspace-editor #staging-area-view .file-list-container .list-group .list-group-item:first-child,
#workspace-view #commit-explorer-navigator-view #staging-area-view .file-list-container .list-group .list-group-item:first-child,
#commit-explorer-view #commit-explorer-navigator-view #staging-area-view .file-list-container .list-group .list-group-item:first-child {
  border-top: 0;
}
#workspace-view #workspace-editor #working-copy-view .file-list-container .list-group .list-group-item,
#commit-explorer-view #workspace-editor #working-copy-view .file-list-container .list-group .list-group-item,
#workspace-view #commit-explorer-navigator-view #working-copy-view .file-list-container .list-group .list-group-item,
#commit-explorer-view #commit-explorer-navigator-view #working-copy-view .file-list-container .list-group .list-group-item,
#workspace-view #workspace-editor #staging-area-view .file-list-container .list-group .list-group-item,
#commit-explorer-view #workspace-editor #staging-area-view .file-list-container .list-group .list-group-item,
#workspace-view #commit-explorer-navigator-view #staging-area-view .file-list-container .list-group .list-group-item,
#commit-explorer-view #commit-explorer-navigator-view #staging-area-view .file-list-container .list-group .list-group-item {
  padding: 5px 10px;
  border-left: 0;
  border-right: 0;
  white-space: nowrap;
}
#workspace-view #workspace-editor #commit-message-view,
#commit-explorer-view #workspace-editor #commit-message-view,
#workspace-view #commit-explorer-navigator-view #commit-message-view,
#commit-explorer-view #commit-explorer-navigator-view #commit-message-view {
  flex: 3 3 0;
  -webkit-flex: 3 3 0;
}
#workspace-view #workspace-editor #commit-message-view textarea,
#commit-explorer-view #workspace-editor #commit-message-view textarea,
#workspace-view #commit-explorer-navigator-view #commit-message-view textarea,
#commit-explorer-view #commit-explorer-navigator-view #commit-message-view textarea {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  resize: none;
  margin: 0;
  border: 0;
  outline: none;
  padding: 0.3em;
}
#workspace-view #workspace-editor #commit-message-view input.commit-message-subject,
#commit-explorer-view #workspace-editor #commit-message-view input.commit-message-subject,
#workspace-view #commit-explorer-navigator-view #commit-message-view input.commit-message-subject,
#commit-explorer-view #commit-explorer-navigator-view #commit-message-view input.commit-message-subject {
  flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #ddd;
  outline: none;
  padding: 0.5em 0.3em;
  font-weight: bold;
}
#workspace-view #workspace-editor .panel,
#commit-explorer-view #workspace-editor .panel,
#workspace-view #commit-explorer-navigator-view .panel,
#commit-explorer-view #commit-explorer-navigator-view .panel {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  margin: 0;
  border-width: 0 1px 0 0;
  border-style: solid;
  border-color: #dddddd;
}
#workspace-view #workspace-editor .panel .panel-heading,
#commit-explorer-view #workspace-editor .panel .panel-heading,
#workspace-view #commit-explorer-navigator-view .panel .panel-heading,
#commit-explorer-view #commit-explorer-navigator-view .panel .panel-heading {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 5px 10px;
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
  align-items: center;
  -webkit-align-items: center;
}
#workspace-view #workspace-editor .panel .panel-heading h5,
#commit-explorer-view #workspace-editor .panel .panel-heading h5,
#workspace-view #commit-explorer-navigator-view .panel .panel-heading h5,
#commit-explorer-view #commit-explorer-navigator-view .panel .panel-heading h5 {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  margin: 0;
}
#workspace-view #workspace-editor .panel:last-child,
#commit-explorer-view #workspace-editor .panel:last-child,
#workspace-view #commit-explorer-navigator-view .panel:last-child,
#commit-explorer-view #commit-explorer-navigator-view .panel:last-child {
  border-width: 0;
}
#workspace-view .diff-line-add,
#workspace-view .diff-line-del,
#workspace-view .diff-line-offset {
  cursor: pointer;
}
#commit-message-view .commit-mode-toggle {
  display: inline-flex;
  border: 1px solid #9d9d9d;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  margin-left: auto;
}
#commit-message-view .commit-mode-btn {
  border: 0;
  background: transparent;
  color: #333;
  padding: 3px 14px;
  font-size: 9pt;
  line-height: 1.4;
  cursor: pointer;
  outline: none;
  border-radius: 11px;
  margin: 1px;
}
#commit-message-view .commit-mode-btn + .commit-mode-btn {
  border-left: 1px solid transparent;
}
#commit-message-view .commit-mode-btn.active {
  background: #428bca;
  color: #fff;
  border-radius: 11px;
}
#commit-explorer-view #commit-explorer-navigator-view .panel .panel-body {
  flex: 1 1 0;
  -webkit-flex: 1 1 0;
  overflow: auto;
}

/* =====================================================================
 * Tab bar + command bar layout
 * ===================================================================== */
#tab-bar {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 42px;
  background: #2f2f2f;
  border-bottom: 2px solid #1a1a1a;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}
#tab-bar .tab {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  color: #ccc;
  font-size: 11pt;
  cursor: pointer;
  border-right: 1px solid #1a1a1a;
  transition: background 0.15s, color 0.15s;
  overflow: hidden;
}
#tab-bar .tab:hover {
  background: #3a3a3a;
}
#tab-bar .tab.active {
  background: #428bca;
  color: #fff;
  font-weight: bold;
}
#tab-bar .tab .tab-label {
  white-space: nowrap;
}
#tab-bar .tab .tab-branch-select {
  max-width: 130px;
  font-size: 9pt;
  padding: 2px 4px;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  background: #fff;
  color: #333;
  cursor: pointer;
}
#tab-bar .tab.disabled {
  opacity: 0.5;
  cursor: default;
}
#flow-strip {
  height: 24px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
#flow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}
#command-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0;
}
#command-bar #command-flow-label {
  color: #666;
  font-style: italic;
}
#command-bar #command-hint {
  color: #c09853;
  font-size: 9pt;
  font-style: italic;
}
#command-bar .command-bar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
#command-bar #command-select {
  padding: 3px 6px;
  min-width: 140px;
}

/* =====================================================================
 * Workspace tab (working tree)
 * ===================================================================== */
#workspace-tree-view {
  flex: 1 1 0;
  display: flex;
  display: -webkit-flex;
  min-height: 0;
  min-width: 0;
}
#workspace-tree-view .workspace-pane {
  min-height: 0;
  min-width: 0;
}
#workspace-tree {
  width: 38%;
  min-width: 240px;
  overflow: auto;
  border-right: 1px solid #ddd;
  background: #fafafa;
  padding: 8px 0;
}
#workspace-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 14px;
}
#workspace-tree > ul {
  padding-left: 6px;
}
#workspace-tree li {
  white-space: nowrap;
}
#workspace-tree a {
  display: inline-block;
  padding: 1px 4px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
}
#workspace-tree a:hover {
  background: #e8e8e8;
}
#workspace-tree li.tree-folder > a {
  font-weight: bold;
}
#workspace-tree li.tree-folder > a:before {
  content: "\25B8 ";
  color: #888;
}
#workspace-tree li.tree-folder.expanded > a:before {
  content: "\25BE ";
}
#workspace-tree li.tree-selected > a {
  background: #428bca;
  color: #fff;
}
#workspace-tree li.tree-selected > a:hover {
  background: #428bca;
}
#workspace-tree li.tree-changed > a {
  background: #fff3cd;
  color: #856404;
}
#workspace-tree li.tree-changed.tree-selected > a {
  background: #428bca;
  color: #fff;
}
#workspace-tree .tree-status {
  color: #cc0000;
  font-size: 8pt;
  font-weight: bold;
  margin-left: 4px;
}
#workspace-tree .tree-empty {
  padding: 16px;
  color: #888;
}
#workspace-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
#workspace-content iframe {
  flex: 1 1 0;
  width: 100%;
  border: 0;
}
#workspace-content .workspace-content-placeholder {
  padding: 20px;
  color: #999;
  text-align: center;
}

/* =====================================================================
 * Local Repo / Remote Repo tab bodies
 * ===================================================================== */
.branch-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.branch-tab-body {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.branch-tab-body #history-view {
  flex: 1 1 0;
}

/* =====================================================================
 * Header extras
 * ===================================================================== */
#header-bar .header-settings {
  margin-left: 8px;
  cursor: pointer;
  opacity: 0.7;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.1s ease, border-color 0.1s ease;
}
#header-bar .header-settings:hover {
  opacity: 1;
  border-color: #fff;
}
#header-bar .header-settings img {
  width: 14px;
  height: 14px;
  display: block;
}
#header-bar .header-help {
  margin-left: 10px;
  cursor: pointer;
  color: #aaa;
  font-weight: bold;
  font-size: 12pt;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#header-bar .header-help:hover {
  color: #fff;
  border-color: #fff;
}
